/* ============================================================
   NOVACOURT — Site institutionnel (novacourt.fr)
   Autonome : reprend les tokens du design system (tokens/*.css)
   et la couche marketing de vitrine/assets/vitrine.css.
   ============================================================ */
:root {
  --emerald: #2DBE78;
  --emerald-light: #3DD68C;
  --emerald-dark: #22A366;
  --emerald-50: #EDFAF4;
  --emerald-100: #D0F5E4;
  --mint: #66D9A5;
  --mint-light: #A8ECC8;
  --prussian: #1A3D5D;
  --prussian-light: #2A5580;
  --prussian-50: #EBF1F8;
  --prussian-100: #C8D9EC;
  --navy: #0F2540;
  --navy-light: #162F50;
  --gray-50: #F7F9FB;
  --gray-100: #EEF2F6;
  --gray-200: #DCE4ED;
  --gray-300: #C5D0DC;
  --gray-400: #9AAFC5;
  --gray-500: #7A92A8;
  --gray-600: #5A7491;
  --violet: #7C5BF2;
  --violet-bg: #F3EFFE;

  --surface-app: #F7F9FB;
  --text-primary: #1A3D5D;
  --text-secondary: #5A7491;
  --text-tertiary: #9AAFC5;
  --border-default: #EEF2F6;
  --border-strong: #C5D0DC;

  --shadow-1: 0 1px 3px rgba(26,61,93,.06), 0 4px 16px -4px rgba(26,61,93,.08);
  --shadow-2: 0 4px 12px rgba(26,61,93,.08), 0 18px 40px -12px rgba(26,61,93,.16);

  --ease-default: cubic-bezier(.4,0,.2,1);
  --ease-spring: cubic-bezier(.34,1.2,.64,1);
  --ease-out-expo: cubic-bezier(.16,1,.3,1);

  --font-sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-sans); color: var(--text-primary); background: var(--surface-app); overflow-x: hidden; line-height: 1.5; }
a { color: var(--emerald-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--emerald); }
img { max-width: 100%; display: block; }
p { margin: 0; }
::selection { background: var(--emerald-100); color: var(--prussian); }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 4px; }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Type ───────────────────────────────────────────────── */
h1, h2, h3 { margin: 0; letter-spacing: -.01em; font-weight: 600; line-height: 1.12; text-wrap: balance; }
.display { font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: -.02em; line-height: 1.06; }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.015em; }
.h3 { font-size: clamp(1.15rem, 1.6vw, 1.3rem); letter-spacing: -.005em; line-height: 1.3; }
.lead { font-size: clamp(1.04rem, 1.35vw, 1.18rem); line-height: 1.65; color: var(--text-secondary); font-weight: 400; text-wrap: pretty; }
.on-dark { color: #fff; }
.lead.on-dark { color: rgba(255,255,255,.72); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald-dark); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--emerald); border-radius: 2px; }
.eyebrow.on-dark { color: var(--mint); }
.grad { color: var(--mint); }

/* ── Buttons ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: inherit; font-size: 1rem; font-weight: 600; cursor: pointer; padding: 14px 24px; border-radius: 10px; border: 1px solid transparent; transition: transform .18s var(--ease-spring), box-shadow .25s, background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--emerald); color: #fff; box-shadow: 0 10px 30px -8px rgba(45,190,120,.6); }
.btn-primary:hover { background: var(--emerald-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(45,190,120,.7); }
.btn-primary:active { transform: translateY(0) scale(.98); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 10px 16px; font-size: .9rem; }

/* ── Pills ──────────────────────────────────────────────── */
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.pill-live { background: rgba(102,217,165,.12); color: var(--mint-light); border: 1px solid rgba(102,217,165,.3); }
.pill-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(102,217,165,.6); animation: livePulse 2s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(102,217,165,.6); } 70% { box-shadow: 0 0 0 8px rgba(102,217,165,0); } 100% { box-shadow: 0 0 0 0 rgba(102,217,165,0); } }
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--emerald-50); color: var(--emerald-dark); }
.tag.prussian { background: var(--prussian-50); color: var(--prussian-light); }
.tag.violet { background: var(--violet-bg); color: var(--violet); }

/* ── Backgrounds ────────────────────────────────────────── */
.navy-bg { position: relative; background: linear-gradient(150deg, var(--navy) 0%, var(--prussian) 58%, #163b5a 100%); color: #fff; overflow: hidden; isolation: isolate; }
.navy-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; z-index: -1; }
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora span { position: absolute; width: 55%; height: 170%; filter: blur(60px); opacity: .4; border-radius: 50%; mix-blend-mode: screen; }
.aurora .a1 { top: -30%; left: -15%; background: linear-gradient(180deg, var(--emerald), transparent 70%); animation: auroraDrift1 20s ease-in-out infinite; }
.aurora .a2 { top: -30%; left: 55%; background: linear-gradient(180deg, var(--mint), transparent 70%); opacity: .32; animation: auroraDrift2 24s ease-in-out infinite; }
.aurora .a3 { bottom: -30%; left: 60%; background: linear-gradient(180deg, transparent 30%, var(--prussian-light)); opacity: .34; animation: auroraDrift1 28s ease-in-out infinite reverse; }
@keyframes auroraDrift1 { 0%,100% { transform: translate(0,0) scaleY(1); } 50% { transform: translate(18%,6%) scaleY(1.25); } }
@keyframes auroraDrift2 { 0%,100% { transform: translate(0,0) scaleY(1.05); } 50% { transform: translate(-22%,-5%) scaleY(.9); } }
.orbs { position: absolute; inset: -15%; z-index: -1; pointer-events: none; filter: blur(76px); }
.orb { position: absolute; border-radius: 50%; opacity: .5; will-change: transform; }
.orb.a { width: 46vw; height: 46vw; left: -8vw; top: -10vw; background: radial-gradient(circle, var(--emerald) 0%, transparent 68%); animation: breathe1 16s ease-in-out infinite; }
.orb.b { width: 40vw; height: 40vw; right: -6vw; top: 6vw; background: radial-gradient(circle, var(--mint) 0%, transparent 66%); opacity: .36; animation: breathe2 20s ease-in-out infinite; }
.orb.c { width: 34vw; height: 34vw; left: 34vw; bottom: -14vw; background: radial-gradient(circle, var(--prussian-light) 0%, transparent 70%); animation: breathe1 22s ease-in-out infinite reverse; }
@keyframes breathe1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(4%,3%) scale(1.16); } }
@keyframes breathe2 { 0%,100% { transform: translate(0,0) scale(1.05); } 50% { transform: translate(-4%,-3%) scale(1.2); } }
.mesh-light { position: relative; overflow: hidden; isolation: isolate; }

/* Transitions douces entre sections navy et claires.
   Le voile ::before fond le haut et/ou le bas de la section vers la couleur voisine
   (courbe adoucie à plusieurs paliers pour éviter les effets de bande). */
.fade-edges { --fade-top: transparent; --fade-bottom: transparent; --fade-h: 160px; }
.fade-edges::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(to bottom,
      var(--fade-top) 0,
      color-mix(in srgb, var(--fade-top) 82%, transparent) calc(var(--fade-h) * .18),
      color-mix(in srgb, var(--fade-top) 55%, transparent) calc(var(--fade-h) * .4),
      color-mix(in srgb, var(--fade-top) 26%, transparent) calc(var(--fade-h) * .65),
      color-mix(in srgb, var(--fade-top) 8%, transparent) calc(var(--fade-h) * .85),
      transparent var(--fade-h)),
    linear-gradient(to top,
      var(--fade-bottom) 0,
      color-mix(in srgb, var(--fade-bottom) 82%, transparent) calc(var(--fade-h) * .18),
      color-mix(in srgb, var(--fade-bottom) 55%, transparent) calc(var(--fade-h) * .4),
      color-mix(in srgb, var(--fade-bottom) 26%, transparent) calc(var(--fade-h) * .65),
      color-mix(in srgb, var(--fade-bottom) 8%, transparent) calc(var(--fade-h) * .85),
      transparent var(--fade-h));
}
.fade-edges > .wrap { position: relative; z-index: 1; }
.hero.fade-edges { padding-bottom: 150px; }
.partners.fade-edges { padding-block: calc(clamp(80px, 11vw, 130px) + 90px); }
.legal-hero.fade-edges { padding-bottom: 140px; --fade-h: 130px; }
.legal-hero.fade-edges + .section { padding-top: 0 !important; }

/* Le fondu fait déjà office de respiration : on réduit la marge des sections voisines */
.fade-edges + .section { padding-top: clamp(40px, 6vw, 72px); }
.section:has(+ .fade-edges) { padding-bottom: clamp(40px, 6vw, 72px); }

/* Passages entre les deux tons clairs */
.tint-in { background: linear-gradient(to bottom, var(--surface-app) 0, var(--gray-100) 160px); }
.tint-out { background: linear-gradient(to bottom, var(--gray-100) 0, var(--gray-100) calc(100% - 160px), var(--surface-app) 100%); }
.tint-both { background: linear-gradient(to bottom, var(--surface-app) 0, var(--gray-100) 160px, var(--gray-100) calc(100% - 160px), var(--surface-app) 100%); }
.mesh-light .orbs { filter: blur(90px); }
.mesh-light .orb { opacity: .13; }

.sky, .shoots { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.tw { position: absolute; background: #fff; border-radius: 50%; animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity: .15; } 50% { opacity: .9; } }
.shoot { position: absolute; width: 0; height: 0; }
.shoot::before { content: ""; position: absolute; top: 0; left: 0; width: 2px; height: 2px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px rgba(255,255,255,.9); }
.shoot::after { content: ""; position: absolute; top: 1px; left: 2px; width: 140px; height: 1px; transform-origin: left center; background: linear-gradient(90deg, rgba(255,255,255,.85), transparent); }
@keyframes shootAcross { 0% { opacity: 0; transform: rotate(var(--ang)) translateX(0); } 6% { opacity: 1; } 75% { opacity: .7; } 100% { opacity: 0; transform: rotate(var(--ang)) translateX(-320px); } }

/* ── Navbar ─────────────────────────────────────────────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 18px 0; border-bottom: 1px solid transparent; transition: background .3s, padding .3s, border-color .3s; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { height: 30px; width: auto; }
.nav-logo .dark { display: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: rgba(255,255,255,.78); font-weight: 600; font-size: .93rem; }
.nav-links a:not(.btn):hover { color: #fff; }
.nav.scrolled { background: rgba(255,255,255,.82); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); border-bottom-color: var(--border-default); padding: 11px 0; }
.nav.scrolled .nav-logo .light { display: none; }
.nav.scrolled .nav-logo .dark { display: block; }
.nav.scrolled .nav-links a:not(.btn) { color: var(--text-secondary); }
.nav.scrolled .nav-links a:not(.btn):hover { color: var(--prussian); }
.nav.scrolled .btn-ghost { color: var(--prussian); border-color: var(--border-strong); background: #fff; }
.nav.scrolled .btn-ghost:hover { background: var(--emerald-50); color: var(--emerald-dark); }

/* ── Hero ───────────────────────────────────────────────── */
.hero { min-height: min(100svh, 920px); display: flex; flex-direction: column; justify-content: center; padding: 140px 0 72px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.hero h1 { margin: 26px 0 24px; max-width: 18ch; }
.hero .lead { max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-mark { position: relative; justify-self: center; width: min(300px, 70vw); aspect-ratio: 1; display: grid; place-items: center; }
.hero-mark::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(45,190,120,.32), transparent 66%); animation: glow 5s ease-in-out infinite; }
.hero-mark .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); }
.hero-mark .ring.r2 { inset: 15%; border-style: dashed; border-color: rgba(102,217,165,.22); animation: spin 60s linear infinite; }
.hero-mark .ring.r3 { inset: 30%; border-color: rgba(255,255,255,.08); }
.hero-mark .sat { position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px 2px rgba(102,217,165,.7); }
.hero-mark .sat.s1 { animation: orbit 14s linear infinite; --r: 150px; }
.hero-mark .sat.s2 { animation: orbit 22s linear infinite reverse; --r: 105px; width: 6px; height: 6px; margin: -3px; background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.8); }
.hero-mark img { position: relative; width: 44%; filter: drop-shadow(0 20px 40px rgba(45,190,120,.45)); animation: hover 6s ease-in-out infinite; }
@keyframes glow { 0%,100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orbit { from { transform: rotate(0deg) translateX(var(--r)) rotate(0deg); } to { transform: rotate(360deg) translateX(var(--r)) rotate(-360deg); } }
@keyframes hover { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 14px; height: 14px; color: var(--mint); }

/* ── Sections ───────────────────────────────────────────── */
.section { padding: clamp(80px, 11vw, 130px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; }
.section-head .h2 { margin: 16px 0 18px; }

/* Constat */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split .h2 { margin: 16px 0 20px; }
.split .lead + .lead { margin-top: 16px; }
.pains { display: grid; gap: 14px; }
.pain { display: flex; gap: 16px; padding: 20px 22px; border-radius: 14px; background: #fff; border: 1px solid var(--border-default); box-shadow: var(--shadow-1); transition: transform .25s var(--ease-default), box-shadow .25s; }
.pain:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.pain h3 { font-size: 1.02rem; margin-bottom: 4px; }
.pain p { color: var(--text-secondary); font-size: .95rem; line-height: 1.55; }
.icon-chip { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--emerald-50); color: var(--emerald-dark); }
.icon-chip svg { width: 20px; height: 20px; }
.icon-chip.prussian { background: var(--prussian-50); color: var(--prussian-light); }
.icon-chip.violet { background: var(--violet-bg); color: var(--violet); }
.icon-chip.amber { background: #FFFBEB; color: #D97706; }

/* Suite */
.suite-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.brick { position: relative; padding: 30px 30px 28px; border-radius: 18px; background: rgba(255,255,255,.78); backdrop-filter: blur(22px) saturate(155%); -webkit-backdrop-filter: blur(22px) saturate(155%); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow-1); overflow: hidden; transition: transform .3s var(--ease-default), box-shadow .3s; }
.brick:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.brick::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--emerald), var(--mint)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out-expo); }
.brick:hover::after { transform: scaleX(1); }
.brick-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.brick-num { font-family: var(--font-mono); font-size: 12px; color: var(--text-tertiary); letter-spacing: .1em; }
.brick h3 { margin-bottom: 10px; }
.brick p { color: var(--text-secondary); line-height: 1.6; }
.spine { margin-top: 20px; padding: 22px 28px; border-radius: 18px; background: var(--navy); color: rgba(255,255,255,.78); display: flex; align-items: center; gap: 18px; position: relative; overflow: hidden; }
.spine::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(102,217,165,.16), transparent); transform: translateX(-100%); animation: sheen 6s ease-in-out infinite; }
@keyframes sheen { 0%, 40% { transform: translateX(-100%); } 70%, 100% { transform: translateX(100%); } }
.spine img { width: 34px; flex: none; position: relative; }
.spine p { position: relative; font-size: .98rem; }
.spine b { color: #fff; }

/* Partenaires */
.partners .split { align-items: center; }
.ask-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 34px; padding: 0; list-style: none; }
.ask-list li { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: rgba(255,255,255,.82); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); padding: 8px 14px; border-radius: 999px; transition: border-color .2s, background .2s; }
.ask-list li:hover { border-color: rgba(102,217,165,.45); background: rgba(102,217,165,.08); }
.ask-list svg { width: 15px; height: 15px; color: var(--mint); }
.gives { display: grid; gap: 16px; }
.give { display: flex; gap: 14px; }
.give .ic { flex: none; width: 36px; height: 36px; border-radius: 10px; background: rgba(102,217,165,.14); display: grid; place-items: center; color: var(--mint); }
.give .ic svg { width: 18px; height: 18px; }
.give h3 { font-size: 1rem; color: #fff; margin: 2px 0 4px; }
.give p { font-size: .93rem; color: rgba(255,255,255,.62); line-height: 1.55; }

.hub { position: relative; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 1; }
.hub svg { width: 100%; height: 100%; overflow: visible; }
.hub .link { stroke: rgba(255,255,255,.14); stroke-width: 1.2; fill: none; }
.hub .flow { stroke: var(--mint); stroke-width: 1.6; fill: none; stroke-dasharray: 4 14; stroke-linecap: round; animation: flow 2.4s linear infinite; opacity: .8; }
.hub .flow.rev { animation-direction: reverse; stroke: #fff; opacity: .35; }
@keyframes flow { to { stroke-dashoffset: -36; } }
.hub .node rect { fill: rgba(21,47,80,.72); stroke: rgba(255,255,255,.16); }
.hub .node text { fill: #fff; font: 600 13px var(--font-sans); }
.hub .node .sub { fill: rgba(255,255,255,.5); font: 500 10px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.hub .core-ring { fill: none; stroke: rgba(102,217,165,.35); stroke-dasharray: 3 6; transform-origin: 260px 260px; animation: spin 40s linear infinite; }
.hub .core-glow { fill: url(#coreGlow); animation: glow 5s ease-in-out infinite; transform-origin: 260px 260px; }
.hub .core { fill: var(--navy); stroke: rgba(102,217,165,.5); stroke-width: 1.5; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(56px, 8vw, 88px); counter-reset: step; }
.step { position: relative; padding: 22px 22px 24px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: border-color .25s, transform .25s; }
.step:hover { border-color: rgba(102,217,165,.4); transform: translateY(-2px); }
.step .n { font-family: var(--font-mono); font-size: 12px; color: var(--mint); letter-spacing: .1em; }
.step h3 { font-size: 1.02rem; color: #fff; margin: 12px 0 6px; }
.step p { font-size: .9rem; color: rgba(255,255,255,.6); line-height: 1.55; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 33px; right: -17px; width: 18px; height: 1px; background: linear-gradient(90deg, rgba(102,217,165,.6), transparent); }

/* Confiance */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust { padding: 26px 24px; border-radius: 18px; background: rgba(255,255,255,.8); backdrop-filter: blur(22px) saturate(155%); -webkit-backdrop-filter: blur(22px) saturate(155%); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow-1); transition: transform .3s var(--ease-default), box-shadow .3s; }
.trust:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.trust-k { display: block; margin: 20px 0 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--emerald-dark); }
.trust h3 { font-size: 1.08rem; line-height: 1.25; margin-bottom: 8px; }
.trust p { color: var(--text-secondary); font-size: .93rem; line-height: 1.6; }
.dora { margin-top: 18px; display: flex; align-items: center; gap: 22px; padding: 22px 26px; border-radius: 18px; background: var(--navy); color: rgba(255,255,255,.72); position: relative; overflow: hidden; isolation: isolate; }
.dora::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, transparent, rgba(102,217,165,.14), transparent); transform: translateX(-100%); animation: sheen 7s ease-in-out infinite; }
.dora-k { flex: none; font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em; color: var(--mint); padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(102,217,165,.35); background: rgba(102,217,165,.08); }
.dora p { font-size: .95rem; line-height: 1.6; }
.dora b { color: #fff; font-weight: 600; }
.dora-link { flex: none; display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font-weight: 600; font-size: .92rem; white-space: nowrap; }
.dora-link:hover { color: #fff; }
.dora-link svg { width: 16px; height: 16px; transition: transform .2s; }
.dora-link:hover svg { transform: translateX(3px); }
.facts.words b { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; }

/* Équipe */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 980px; margin-inline: auto; }
.founder { padding: 32px; border-radius: 20px; background: #fff; border: 1px solid var(--border-default); box-shadow: var(--shadow-1); display: flex; flex-direction: column; transition: transform .3s var(--ease-default), box-shadow .3s; }
.founder:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.founder-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.avatar { flex: none; width: 76px; height: 76px; border-radius: 50%; padding: 3px; background: linear-gradient(135deg, var(--emerald), var(--mint), var(--prussian-light)); }
.avatar > * { width: 100%; height: 100%; border-radius: 50%; border: 2px solid #fff; object-fit: cover; }
.avatar .initials { display: grid; place-items: center; background: var(--navy); color: var(--mint); font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; }
.founder h3 { font-size: 1.3rem; }
.founder .role { color: var(--emerald-dark); font-weight: 500; font-size: .92rem; margin-top: 4px; }
.founder > p { color: var(--text-secondary); line-height: 1.65; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0; }
.fact { padding: 14px 12px; border-radius: 12px; background: var(--gray-50); border: 1px solid var(--border-default); }
.fact b { display: block; font-family: var(--font-mono); font-size: 1.3rem; font-weight: 500; color: var(--prussian); letter-spacing: -.01em; }
.fact span { display: block; font-size: .78rem; color: var(--text-secondary); line-height: 1.35; margin-top: 4px; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; }
.founder-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border-default); }
.founder-links > a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .93rem; min-width: 0; }
.founder-links svg { width: 16px; height: 16px; flex: none; }
.founder-actions { display: inline-flex; align-items: center; gap: 8px; }
.founder-ln { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; color: var(--prussian-light); background: var(--prussian-50); transition: background .2s, color .2s; }
.founder-ln:hover { background: var(--prussian); color: #fff; }
.founder-card { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 9px; font-weight: 600; font-size: .88rem; color: var(--emerald-dark); background: var(--emerald-50); transition: background .2s, color .2s; }
.founder-card:hover { background: var(--emerald); color: #fff; }
.founder-card svg { transition: transform .2s; }
.founder-card:hover svg { transform: translateX(3px); }
.duo { max-width: 980px; margin: 24px auto 0; display: grid; grid-template-columns: repeat(3, auto) 1fr; align-items: center; gap: 18px 34px; padding: 24px 30px; border-radius: 20px; background: var(--navy); color: rgba(255,255,255,.7); position: relative; overflow: hidden; isolation: isolate; }
.duo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, transparent, rgba(102,217,165,.14), transparent); transform: translateX(-100%); animation: sheen 8s ease-in-out infinite; }
.duo-item b { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 1.5rem; color: var(--mint); letter-spacing: -.01em; }
.duo-item span { display: block; font-size: .82rem; line-height: 1.35; max-width: 16ch; }
.duo-txt { font-size: .95rem; line-height: 1.6; padding-left: 30px; border-left: 1px solid rgba(255,255,255,.14); }
.duo-txt b { color: #fff; font-weight: 600; }
@media (max-width: 860px) { .duo { grid-template-columns: repeat(3, 1fr); } .duo-txt { grid-column: 1 / -1; padding-left: 0; border-left: 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); } }
.team-note { max-width: 760px; margin: 40px auto 0; text-align: center; color: var(--text-secondary); font-size: 1rem; line-height: 1.65; }

/* Contact */
.contact-band { border-radius: 28px; padding: clamp(44px, 7vw, 80px); text-align: center; }
.contact-band .h2 { max-width: 20ch; margin: 18px auto 16px; }
.contact-band .lead { max-width: 56ch; margin: 0 auto; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 760px; margin: 40px auto 0; text-align: left; }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; transition: background .2s, border-color .2s, transform .2s; min-width: 0; }
.contact-row:hover { background: rgba(255,255,255,.1); border-color: rgba(102,217,165,.4); transform: translateY(-2px); color: #fff; }
.contact-row .ic { flex: none; width: 40px; height: 40px; border-radius: 10px; background: rgba(102,217,165,.16); display: grid; place-items: center; color: var(--mint); }
.contact-row .ic svg { width: 18px; height: 18px; }
.contact-row .txt { min-width: 0; }
.contact-row .lbl { display: block; font-size: .72rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.contact-row .val { display: block; font-size: .95rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-row .go { margin-left: auto; flex: none; width: 18px; height: 18px; color: rgba(255,255,255,.4); transition: transform .2s, color .2s; }
.contact-row:hover .go { transform: translateX(3px); color: var(--mint); }

/* Footer */
.footer { padding: 40px 0 44px; border-top: 1px solid var(--border-default); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.footer img { height: 26px; width: auto; }
.footer p, .footer a { font-size: .86rem; color: var(--text-secondary); }
.footer a:hover { color: var(--emerald-dark); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* Bandeau de consentement */
.consent { position: fixed; z-index: 300; left: 50%; bottom: 20px; width: min(760px, calc(100% - 32px)); transform: translate(-50%, 24px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 22px; padding: 18px 20px 18px 24px; border-radius: 18px;
  background: rgba(15,37,64,.92); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 24px 60px -20px rgba(0,0,0,.55); color: rgba(255,255,255,.75);
  transition: opacity .3s, transform .4s var(--ease-spring); }
.consent.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.consent-txt b { display: block; color: #fff; font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
.consent-txt p { font-size: .86rem; line-height: 1.55; }
.consent-txt a { color: var(--mint); text-decoration: underline; text-underline-offset: 2px; }
.consent-btns { display: flex; gap: 10px; flex: none; }
.consent-btn { font: inherit; font-weight: 600; font-size: .92rem; min-width: 112px; padding: 11px 18px; border-radius: 10px; cursor: pointer; border: 1px solid rgba(255,255,255,.85); background: #fff; color: var(--prussian); transition: background .2s, color .2s, transform .18s var(--ease-spring); }
.consent-btn:hover { background: var(--emerald-50); transform: translateY(-1px); }
.footer-links button.linklike { font: inherit; font-size: .86rem; color: var(--text-secondary); background: none; border: 0; padding: 0; cursor: pointer; }
.footer-links button.linklike:hover { color: var(--emerald-dark); }
@media (max-width: 640px) {
  .consent { flex-direction: column; align-items: stretch; gap: 14px; bottom: 12px; padding: 18px; }
  .consent-btns .consent-btn { flex: 1; }
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

/* Legal page */
.legal-hero { padding: 150px 0 64px; }
.legal-hero h1 { margin-top: 16px; }
.legal { max-width: 760px; }
.legal h2 { font-size: 1.3rem; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--text-secondary); line-height: 1.7; }
.legal p + p { margin-top: 10px; }
.legal dl { display: grid; grid-template-columns: 200px 1fr; gap: 8px 20px; margin: 0; }
.legal dt { font-weight: 600; font-size: .9rem; }
.legal dd { margin: 0; color: var(--text-secondary); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner, .split { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .steps, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .dora { flex-direction: column; align-items: flex-start; gap: 14px; }
  .step::after { display: none; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 760px) {
  .suite-grid, .team, .contact-cards { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .founder { padding: 26px 22px; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
}
@media (max-width: 760px) {
  .fade-edges { --fade-h: 110px; }
  .hero.fade-edges { padding-bottom: 100px; }
  .partners.fade-edges { padding-block: calc(72px + 60px); }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 32px); }
  .steps, .trust-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-cta .btn { width: 100%; }
  .nav-logo img { height: 26px; }
  .brick, .contact-band { padding-inline: 22px; }
  .spine { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
