/* ─────────────────────────── LEERIS — landing v2 ───────────────────────────
   Palette dérivée du logo : bleu marine + vert feuille. */
:root {
  --blue: #16418c;
  --blue-deep: #0e2f6b;
  --blue-ink: #0b2350;
  --green: #5cb531;
  --green-dark: #3f8c1e;
  --green-soft: #eaf6e2;
  --teal: #0e8f83;
  --teal-soft: #e2f4f2;
  --ink: #16233c;
  --muted: #5b6b84;
  --line: #e4e9f2;
  --bg: #ffffff;
  --bg-tint: #f5f8fc;
  --radius: 16px;
  --shadow: 0 10px 34px rgba(14, 47, 107, 0.10);
  --shadow-lg: 0 24px 60px rgba(14, 47, 107, 0.16);
  --font: 'Manrope', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1160px, 92%); margin-inline: auto; }
.container.narrow { width: min(820px, 92%); }

/* ── Typo ── */
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.2; font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; font-weight: 700; }
.accent { color: var(--green); }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue);
  background: #e8eefb; border-radius: 999px; padding: 6px 14px; margin-bottom: 18px;
}
.eyebrow-light { color: #cde9bb; background: rgba(255,255,255,0.08); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 40rem; }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 0.98rem; border-radius: 12px; padding: 14px 26px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s;
  border: 0; cursor: pointer; font-family: inherit;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(92, 181, 49, 0.35); }
.btn-primary:hover { background: #4fa328; box-shadow: 0 10px 28px rgba(92, 181, 49, 0.45); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--blue-ink); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--blue-deep); }
.btn-light:hover { background: var(--green-soft); }
.btn-sm { padding: 10px 16px; font-size: 0.9rem; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border 0.2s, box-shadow 0.2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11, 35, 80, 0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 72px; }
.brand img { height: 30px; width: auto; }
.main-nav { display: flex; gap: 26px; font-weight: 600; font-size: 0.94rem; color: var(--muted); }
.main-nav a:hover { color: var(--blue); }
.nav-spaces-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--blue-ink); margin: 5px 0; border-radius: 2px; transition: 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dropdown Mon espace */
.spaces-menu { position: relative; }
.spaces-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); width: 300px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 8px; display: none; z-index: 60;
}
.spaces-dropdown.open { display: block; animation: pop 0.18s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } }
.spaces-dropdown a {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 10px;
}
.spaces-dropdown a:hover { background: var(--bg-tint); }
.spaces-dropdown strong { display: block; font-size: 0.95rem; color: var(--blue-ink); }
.spaces-dropdown small { color: var(--muted); font-size: 0.8rem; }
.sd-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; flex-shrink: 0; }
.sd-green { background: var(--green); }
.sd-blue { background: var(--blue); }
.sd-teal { background: var(--teal); }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); }
.hero-grid {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero-copy h1 { margin-bottom: 20px; color: var(--blue-ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.tick-sm {
  width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark);
  display: grid; place-items: center; font-size: 0.7rem; font-weight: 800; flex-shrink: 0;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.blob-blue { width: 480px; height: 480px; background: #cfdcf7; top: -140px; right: -120px; }
.blob-green { width: 380px; height: 380px; background: #ddf3cc; bottom: -160px; left: -100px; }
.grid-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(22, 65, 140, 0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 75%);
}

/* Visuel produit du hero */
.hero-visual { position: relative; min-height: 420px; }
.hv-ring {
  position: absolute; inset: 6% 4% 10% 8%;
  border: 2px dashed rgba(22, 65, 140, 0.18); border-radius: 32px; transform: rotate(-3deg);
}
.hv-card {
  position: absolute; top: 8%; left: 6%; width: min(330px, 78%);
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-ink) 70%);
  color: #fff; border-radius: 20px; padding: 22px 24px; box-shadow: var(--shadow-lg);
  animation: floaty 7s ease-in-out infinite;
}
.hv-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.hv-card-logo { height: 20px; width: auto; background: #fff; border-radius: 6px; padding: 3px 8px; }
.hv-card-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #9db4dd; }
.hv-chip {
  width: 40px; height: 30px; border-radius: 6px; margin-bottom: 14px;
  background: linear-gradient(135deg, #f2d377, #d9ab3c);
  position: relative;
}
.hv-chip::after { content: ''; position: absolute; inset: 7px 5px; border: 1px solid rgba(120, 84, 12, 0.5); border-radius: 3px; }
.hv-card-name { font-weight: 700; font-size: 1.1rem; letter-spacing: 0.02em; }
.hv-card-row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.hv-card-num { font-family: ui-monospace, monospace; font-size: 0.85rem; color: #b7c8e8; letter-spacing: 0.06em; }
.hv-card-badge {
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  background: rgba(92, 181, 49, 0.22); color: #9fe07a; border: 1px solid rgba(92, 181, 49, 0.5);
  padding: 4px 10px; border-radius: 999px;
}
.hv-qr {
  position: absolute; right: 20px; bottom: 20px; width: 46px; height: 46px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px;
  background: #fff; padding: 5px; border-radius: 6px;
}
.hv-qr span { background: var(--blue-ink); border-radius: 1px; }
.hv-qr span:nth-child(2n) { background: transparent; }
.hv-qr span:nth-child(7n) { background: var(--blue-ink); }

.hv-toast {
  position: absolute; right: 2%; top: 34%; display: flex; gap: 12px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px;
  box-shadow: var(--shadow-lg); animation: floaty 6s ease-in-out 0.8s infinite;
}
.hv-toast-icon {
  width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font-weight: 800;
}
.hv-toast-title { font-weight: 800; font-size: 0.92rem; color: var(--blue-ink); }
.hv-toast-sub { font-size: 0.78rem; color: var(--muted); }

.hv-panel {
  position: absolute; left: 12%; bottom: 2%; width: min(250px, 60%);
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
  box-shadow: var(--shadow-lg); animation: floaty 8s ease-in-out 1.6s infinite;
}
.hv-panel-title { font-size: 0.8rem; font-weight: 800; color: var(--blue-ink); margin-bottom: 10px; }
.hv-bars { display: flex; align-items: flex-end; gap: 7px; height: 64px; }
.hv-bars i {
  flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px;
  background: linear-gradient(to top, var(--blue), #4d76c4);
}
.hv-bars i:nth-child(2n) { background: linear-gradient(to top, var(--green-dark), var(--green)); }
.hv-panel-foot { margin-top: 10px; }
.hv-pill {
  font-size: 0.7rem; font-weight: 800; color: var(--green-dark); background: var(--green-soft);
  border-radius: 999px; padding: 3px 10px;
}
.hv-badge-float {
  position: absolute; right: 8%; bottom: 18%; display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; color: var(--blue);
  background: #e8eefb; border-radius: 999px; padding: 8px 14px;
  animation: floaty 7s ease-in-out 2.4s infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Bandeau points forts */
.strengths {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; position: relative; z-index: 1;
}
.strength { padding: 22px 26px; border-left: 1px solid var(--line); }
.strength:first-child { border-left: 0; }
.strength strong { display: block; font-size: 1.15rem; font-weight: 800; color: var(--blue-ink); }
.strength span { font-size: 0.86rem; color: var(--muted); }

/* ── Sections ── */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head h2 { color: var(--blue-ink); }
.section-sub { color: var(--muted); margin-top: 14px; }
.section-tint { background: var(--bg-tint); }

/* ── Espaces ── */
.spaces-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.space-card {
  --tone: var(--blue); --tone-soft: #e8eefb;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px;
  display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s;
}
.space-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: var(--tone);
}
.space-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.space-green { --tone: var(--green); --tone-soft: var(--green-soft); }
.space-blue  { --tone: var(--blue); --tone-soft: #e8eefb; }
.space-teal  { --tone: var(--teal); --tone-soft: var(--teal-soft); }
.space-illu {
  width: 84px; height: 84px; border-radius: 22px; background: var(--tone-soft); color: var(--tone);
  display: grid; place-items: center;
}
.space-illu svg { width: 52px; height: 52px; }
.space-card h3 { font-size: 1.3rem; color: var(--blue-ink); }
.space-card > p { color: var(--muted); font-size: 0.95rem; }
.space-card ul { display: grid; gap: 8px; margin: 4px 0 8px; }
.space-card li { position: relative; padding-left: 24px; font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.space-card li::before {
  content: '✓'; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--tone-soft); color: var(--tone); font-size: 0.62rem; font-weight: 800;
  display: grid; place-items: center;
}
.btn-space { margin-top: auto; background: var(--tone); color: #fff; }
.btn-space:hover { filter: brightness(1.08); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }

/* ── Cards solutions ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.card h3 { color: var(--blue-ink); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; }
.card-icon svg { width: 26px; height: 26px; }
.icon-blue { background: #e8eefb; color: var(--blue); }
.icon-green { background: var(--green-soft); color: var(--green-dark); }
.card-link { font-weight: 700; font-size: 0.9rem; color: var(--blue); }
.card-link:hover { color: var(--green); }

/* ── Parcours ── */
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; align-items: stretch; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px;
  position: relative; transition: transform 0.2s, box-shadow 0.25s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  position: absolute; top: 18px; right: 20px; font-size: 2.4rem; font-weight: 800;
  color: var(--line); line-height: 1;
}
.step-illu { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; }
.step-illu svg { width: 30px; height: 30px; }
.step-illu-green { background: var(--green-soft); color: var(--green-dark); }
.step-illu-blue { background: #e8eefb; color: var(--blue); }
.step h3 { color: var(--blue-ink); margin-bottom: 8px; font-size: 1.08rem; }
.step p { color: var(--muted); font-size: 0.92rem; }
.step-arrow { align-self: center; font-size: 1.6rem; font-weight: 800; color: var(--green); }

/* ── Mission ── */
.section-dark {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-ink) 65%);
  color: #f4f8ff;
}
.mission-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.section-dark h2 { color: #fff; margin-bottom: 18px; }
.mission-text { color: #c6d4ef; font-size: 1.05rem; }
.values-inline { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.value-chip strong { display: block; color: #9fe07a; margin-bottom: 4px; }
.value-chip span { font-size: 0.88rem; color: #b6c6e6; }
.mission-points { display: grid; gap: 16px; }
.mission-point {
  display: flex; align-items: center; gap: 14px; font-weight: 600;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 16px 18px;
}
.tick {
  width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font-size: 0.8rem; flex-shrink: 0;
}

/* ── Entreprises ── */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-text h2 { margin-bottom: 18px; }
.split-text p { color: var(--muted); margin-bottom: 14px; }
.check-list { display: grid; gap: 14px; }
.check-list li {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px 16px 52px; font-weight: 600; position: relative;
}
.check-list li::before {
  content: '✓'; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark);
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 800;
}

/* ── FAQ ── */
.faq {
  border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px;
  background: #fff; overflow: hidden; transition: box-shadow 0.2s;
}
.faq[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 1.02rem; color: var(--blue-ink);
}
.faq summary::-webkit-details-marker { display: none; }
.chev {
  width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg); transition: transform 0.25s; flex-shrink: 0;
}
.faq[open] .chev { transform: rotate(-135deg); }
.faq-body { padding: 0 24px 22px; color: var(--muted); }
.faq-body p + p { margin-top: 10px; }

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(120deg, var(--green) 0%, #4fa328 100%);
  padding: clamp(56px, 7vw, 84px) 0; color: #fff; text-align: center;
}
.cta-inner h2 { color: #fff; margin-bottom: 12px; }
.cta-inner p { color: #edf9e4; margin-bottom: 28px; }

/* ── Footer ── */
.site-footer { background: var(--blue-ink); color: #b9c7e2; padding: 56px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 34px;
}
.footer-brand img { height: 28px; width: auto; background: #fff; border-radius: 8px; padding: 4px 10px; }
.footer-brand p { margin-top: 14px; font-size: 0.92rem; max-width: 22rem; }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }
.footer-title { font-weight: 800; color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.footer-copy { font-size: 0.82rem; color: #7d90b8; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; }

/* ── Reveal animation ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hv-card, .hv-toast, .hv-panel, .hv-badge-float { animation: none; }
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 380px; margin-top: 8px; }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { transform: rotate(90deg); justify-self: center; }
  .mission-inner, .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column;
    padding: 18px 6vw 26px; gap: 16px; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform 0.25s ease; box-shadow: 0 18px 30px rgba(11,35,80,0.08);
  }
  .main-nav.open { transform: none; }
  .nav-toggle { display: block; }
  .spaces-menu { display: none; }
  .nav-spaces-mobile { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
  .nav-spaces-mobile p { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue); }
  .values-inline { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hv-toast { right: 0; top: 30%; }
  .hv-panel { left: 4%; }
}
