/* ════════════════════════════════════════════════════════════════
   GÉNÉRATION NUMÉRIQUE — core design system (shared across pages)
   ════════════════════════════════════════════════════════════════ */

:root {
  --brand-blue: #1B5FBE;
  --brand-blue-deep: #133e7d;
  --brand-orange: #F39200;
  --brand-orange-soft: #FFB347;
  --bg: #0A1628;
  --bg-2: #0E1B30;
  --bg-card: #131F36;
  --text: #F5F2EA;
  --text-dim: #BFB8A8;
  --border: rgba(245, 242, 234, 0.08);
  --border-strong: rgba(245, 242, 234, 0.16);
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme="light"] {
  --bg: #F7F4EC;
  --bg-2: #ECE8DC;
  --bg-card: #FFFFFF;
  --text: #0A1628;
  --text-dim: #4A5568;
  --border: rgba(10, 22, 40, 0.08);
  --border-strong: rgba(10, 22, 40, 0.16);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
@media (pointer: fine) { body, body a, body button { cursor: none; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; color: inherit; }

/* TYPE UTILITIES */
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; font-size: 11px; color: var(--text-dim); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  background: color-mix(in oklab, var(--bg-card) 70%, transparent);
  backdrop-filter: blur(10px);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-orange); box-shadow: 0 0 12px var(--brand-orange); flex-shrink: 0; }
.italic-accent {
  font-style: italic; font-weight: 700;
  color: var(--brand-orange);
}

/* LAYOUT */
.gn-container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .gn-container { padding: 0 20px; } }
section.gn { padding: 110px 0; position: relative; }
@media (max-width: 768px) { section.gn { padding: 72px 0; } }

/* PRE-LOADER */
#preloader { position: fixed; inset: 0; z-index: 9999; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 60px; }
#preloader .pl-logo {
  width: min(440px, 70vw); height: clamp(140px, 22vw, 240px);
  background-image: url("gn-logo-mono.png");
  background-repeat: no-repeat; background-position: center; background-size: contain;
  font-size: 0; color: transparent;
}
[data-theme="light"] #preloader .pl-logo {
  background-image: url("gn-logo-color.png");
}
#preloader .pl-logo span { display: none; }
#preloader .pl-bar { width: min(560px, 70vw); height: 2px; background: var(--border); position: relative; overflow: hidden; }
#preloader .pl-bar > i { position: absolute; inset: 0; width: 0%; background: linear-gradient(90deg, var(--brand-blue), var(--brand-orange)); display: block; }
#preloader .pl-meta { display: flex; justify-content: space-between; width: min(560px, 70vw); font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--text-dim); }
#preloader .pl-meta b { color: var(--text); font-weight: 500; }
body.loaded #preloader { clip-path: inset(0 0 100% 0); transition: clip-path 0.5s var(--ease); pointer-events: none; }

/* CURSOR */
.gn-cursor-dot, .gn-cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 10000; transform: translate(-50%, -50%); mix-blend-mode: difference; }
.gn-cursor-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.gn-cursor-ring { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid #fff; transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease); }
.gn-cursor-ring.hover { width: 64px; height: 64px; background: rgba(243,146,0,0.18); border-color: var(--brand-orange); mix-blend-mode: normal; }
@media (pointer: coarse) { .gn-cursor-dot, .gn-cursor-ring { display: none; } body { cursor: auto; } }

/* NAV */
.gn-nav { position: fixed; top: 18px; left: 0; right: 0; z-index: 100; }
.gn-nav-inner {
  max-width: 1320px; margin-left: 24px; margin-right: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: color-mix(in oklab, var(--bg-card) 65%, transparent);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 10px 12px 10px 22px;
}
@media (min-width: 1380px) { .gn-nav-inner { margin-left: auto; margin-right: auto; } }
.gn-logo-row { display: inline-flex; align-items: center; gap: 10px; }
.gn-logo {
  width: 132px; height: 40px;
  border-radius: 0; background: transparent; color: transparent;
  background-image: url("gn-logo-mono.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  font-size: 0;
  flex-shrink: 0;
  overflow: hidden;
  text-indent: -9999px;
}
[data-theme="light"] .gn-logo {
  background-image: url("gn-logo-color.png");
}
.gn-logo-row b { display: none; }
.gn-nav-links { display: flex; align-items: center; gap: 4px; }
.gn-nav-links a { padding: 8px 14px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; color: var(--text); opacity: 0.85; transition: opacity 0.2s, background 0.2s; white-space: nowrap; }
.gn-nav-links a:hover { opacity: 1; background: color-mix(in oklab, var(--text) 6%, transparent); }
.gn-nav-links a.is-active { color: var(--brand-orange); opacity: 1; }
.gn-nav-right { display: inline-flex; align-items: center; gap: 8px; }
.gn-icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center; color: var(--text); transition: all 0.25s var(--ease); flex-shrink: 0; }
.gn-icon-btn:hover { border-color: var(--brand-orange); color: var(--brand-orange); }
.gn-btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: var(--brand-orange); color: #0A1628; border-radius: var(--r-pill); font-weight: 600; font-size: 14px; transition: all 0.25s var(--ease); white-space: nowrap; }
.gn-btn-primary:hover { background: var(--brand-orange-soft); }
.gn-btn-primary .ico { width: 24px; height: 24px; border-radius: 50%; background: #0A1628; color: var(--brand-orange); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
/* HAMBURGER + MOBILE NAV DROPDOWN */
.gn-hamburger { display: none; }
.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(10,22,40,0.45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  z-index: 96; opacity: 0; pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
@media (max-width: 1080px) {
  .gn-hamburger { display: inline-flex; }
  .gn-btn-primary { display: none; }
  .gn-nav-links {
    display: flex !important;
    position: fixed;
    top: 76px;
    left: 12px; right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: color-mix(in oklab, var(--bg-card) 96%, transparent);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-lg);
    padding: 10px;
    z-index: 97;
    opacity: 0;
    transform: translateY(-12px) scale(0.97);
    transform-origin: top center;
    pointer-events: none;
    transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out);
    box-shadow: 0 24px 64px -10px rgba(0,0,0,0.55);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  }
  .gn-nav.nav-open .gn-nav-links {
    opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
  }
  .gn-nav-links a {
    font-size: 15px; font-weight: 600;
    padding: 12px 16px; border-radius: var(--r-md);
    opacity: 1; letter-spacing: -0.01em;
    display: flex; align-items: center; gap: 10px;
  }
  .gn-nav-links a::before {
    content: ""; width: 5px; height: 5px; border-radius: 50%;
    background: var(--border-strong); flex-shrink: 0;
    transition: background 0.2s;
  }
  .gn-nav-links a.is-active {
    color: var(--brand-orange);
    background: color-mix(in oklab, var(--brand-orange) 9%, transparent);
  }
  .gn-nav-links a.is-active::before { background: var(--brand-orange); }
  .gn-nav-links a:hover { background: color-mix(in oklab, var(--text) 6%, transparent); }
  .gn-hamburger.is-open { color: var(--brand-orange); border-color: var(--brand-orange); }
}

/* ── FLOAT CONTROLS (widget thème + langue) ─────────────────── */
.float-controls {
  position: fixed;
  bottom: 32px; right: 28px;
  z-index: 200;
  display: flex; align-items: center;
  background: color-mix(in oklab, var(--bg-card) 88%, transparent);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  box-shadow: 0 8px 32px rgba(0,0,0,0.40), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
  animation: fcIn 0.5s 1.5s var(--ease-out) both;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.float-controls:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.50), 0 0 0 1px rgba(243,146,0,0.22), inset 0 1px 0 rgba(255,255,255,0.07);
}
@keyframes fcIn {
  from { opacity: 0; transform: translateY(24px) scale(0.88); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.fc-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px;
  background: transparent; border: none;
  color: var(--text-dim); font-family: var(--mono); font-size: 11px;
  font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: color 0.22s var(--ease), background 0.22s var(--ease);
}
.fc-btn i { font-size: 14px; line-height: 1; transition: transform 0.4s var(--ease-out); }
.fc-btn:hover { color: var(--brand-orange); background: color-mix(in oklab, var(--brand-orange) 9%, transparent); }
.fc-btn:hover i { transform: rotate(22deg) scale(1.18); }
.fc-sep { width: 1px; height: 20px; background: var(--border-strong); flex-shrink: 0; }
/* Icône active selon le thème */
[data-theme="dark"]  .fc-theme .bi-sun-fill           { display: none; }
[data-theme="dark"]  .fc-theme .bi-moon-stars-fill     { display: inline-block; }
[data-theme="light"] .fc-theme .bi-sun-fill            { display: inline-block; }
[data-theme="light"] .fc-theme .bi-moon-stars-fill     { display: none; }
.fc-theme .bi-sun-fill           { display: none; }
.fc-theme .bi-moon-stars-fill    { display: inline-block; }
/* Float responsive */
@media (max-width: 768px) {
  .float-controls { bottom: 22px; right: 16px; }
  .fc-btn { padding: 11px 15px; }
}
@media (max-width: 480px) {
  .float-controls { bottom: 16px; right: 12px; }
  .fc-btn { padding: 10px 12px; font-size: 10px; gap: 6px; }
  .fc-btn i { font-size: 13px; }
  .fc-sep { height: 16px; }
}
/* ── NAV RESPONSIVE (breakpoints fins) ──────────────────────── */
@media (max-width: 768px) {
  .gn-nav { top: 12px; }
  .gn-nav-inner { margin-left: 12px; margin-right: 12px; padding: 8px 8px 8px 16px; gap: 10px; }
  .gn-logo { width: 110px; height: 36px; }
  .gn-nav-links { top: 66px; left: 12px; right: 12px; }
}
@media (max-width: 480px) {
  .gn-nav { top: 10px; }
  .gn-nav-inner { margin-left: 10px; margin-right: 10px; padding: 7px 7px 7px 12px; gap: 6px; }
  .gn-logo { width: 88px; height: 28px; }
  .gn-icon-btn { width: 34px; height: 34px; }
  .gn-nav-links { top: 57px; left: 10px; right: 10px; }
  .gn-nav-links a { padding: 13px 16px; min-height: 48px; }
}

/* BUTTONS */
.gn-btn-lg { display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 24px; background: var(--brand-orange); color: #0A1628; border-radius: var(--r-pill); font-weight: 600; font-size: 15px; transition: all 0.25s var(--ease); box-shadow: 0 12px 32px -8px rgba(243,146,0,0.45); }
.gn-btn-lg:hover { background: var(--brand-orange-soft); transform: translateY(-2px); }
.gn-btn-lg .ico { width: 36px; height: 36px; border-radius: 50%; background: #0A1628; color: var(--brand-orange); display: inline-flex; align-items: center; justify-content: center; }
.gn-btn-ghost { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; background: transparent; color: var(--text); border: 1px solid var(--border-strong); border-radius: var(--r-pill); font-weight: 500; font-size: 14px; transition: all 0.25s var(--ease); }
.gn-btn-ghost:hover { border-color: var(--brand-orange); color: var(--brand-orange); }

/* PAGE HERO (inner pages) */
.page-hero {
  padding: 200px 0 110px;
  position: relative;
  isolation: isolate;
  overflow: visible;
  background-color: #0A1628;
  background-size: cover;
  background-position: center;
}
/* Hero background image — <img> absolue, fiable cross-browser */
.page-hero .hero-img-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0; pointer-events: none; user-select: none;
  display: block;
}
/* Dark overlay via ::before — léger pour laisser passer les photos */
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(135deg, rgba(10,22,40,0.62) 0%, rgba(19,31,54,0.50) 50%, rgba(10,22,40,0.68) 100%);
}
/* Canvas dot-grid */
.page-hero canvas.hero-dots {
  position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: 0.82;
}
/* Decorative rays */
.page-hero .rays-bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 3;
}
.page-hero .rays-bg::before, .page-hero .rays-bg::after { content: ""; position: absolute; width: 70%; height: 130%; filter: blur(60px); transform-origin: top; }
.page-hero .rays-bg::before { top: -10%; left: -10%; transform: rotate(-18deg); background: linear-gradient(180deg, rgba(243,146,0,0.14), transparent 70%); }
.page-hero .rays-bg::after { top: -10%; right: -10%; transform: rotate(18deg); background: linear-gradient(180deg, rgba(27,95,190,0.18), transparent 70%); }
/* Content toujours au-dessus des couches déco */
.page-hero .gn-container { position: relative; z-index: 5; }
/* Séparateur bas */
.page-hero::after {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 6; pointer-events: none;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--brand-orange) 30%, var(--brand-blue) 70%, transparent 100%);
}
.page-hero .breadcrumb-mini { display: inline-flex; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(245,242,234,0.55); margin-bottom: 20px; }
.page-hero .breadcrumb-mini a { color: rgba(245,242,234,0.55); }
.page-hero .breadcrumb-mini a:hover { color: var(--brand-orange); }
.page-hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(48px, 7vw, 96px); line-height: 1.06; letter-spacing: -0.045em; margin: 0 0 28px; max-width: 1000px; color: #F5F2EA; }
.page-hero h1 .italic-accent { color: var(--brand-orange); }
.page-hero .lede { font-size: 19px; line-height: 1.55; max-width: 640px; margin: 0; color: rgba(245,242,234,0.72); }

/* FOOTER */
footer.gn-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 72px 0 28px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 56px; }
@media (max-width: 991px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 575px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-grid h6 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--text-dim); text-transform: uppercase; margin: 0 0 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 10px; font-size: 14px; opacity: 0.9; }
.footer-grid ul li a { transition: color 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.footer-grid ul li a:hover { color: var(--brand-orange); }
.footer-grid ul li i { color: var(--brand-orange); font-size: 13px; }
.footer-brand p { color: var(--text-dim); font-size: 14px; margin: 16px 0 18px; max-width: 280px; line-height: 1.55; }
.newsletter { display: flex; gap: 8px; }
.newsletter input { flex: 1; padding: 12px 14px; border-radius: var(--r-pill); border: 1px solid var(--border-strong); background: transparent; color: var(--text); font-size: 14px; font-family: var(--body); }
.newsletter input::placeholder { color: var(--text-dim); }
.newsletter button { padding: 12px 18px; border-radius: var(--r-pill); background: var(--brand-orange); color: #0A1628; font-weight: 600; font-size: 14px; }
.newsletter-tip { font-size: 12px; color: var(--text-dim); margin-top: 12px; }
.newsletter-tip a { color: var(--brand-orange); }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center; transition: all 0.2s; }
.social-row a:hover { background: var(--brand-orange); border-color: var(--brand-orange); color: #0A1628; }
.sub-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); gap: 24px; flex-wrap: wrap; }
.sub-footer span, .sub-footer a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--text-dim); text-transform: uppercase; }
.sub-footer .right { display: flex; gap: 24px; align-items: center; }
/* Big wordmark at end of footer — use brand logo instead */
.brand-mark {
  width: 100%;
  height: clamp(120px, 18vw, 240px);
  background-image: url("gn-logo-mono.png");
  background-repeat: no-repeat; background-position: center; background-size: contain;
  margin: 56px 0 0;
  opacity: 0.5;
  font-size: 0; color: transparent;
  -webkit-text-stroke: 0;
  user-select: none;
}
[data-theme="light"] .brand-mark {
  background-image: url("gn-logo-color.png");
}

/* FORMS */
.gn-form { display: grid; gap: 18px; }
.gn-field { display: flex; flex-direction: column; gap: 8px; }
.gn-field label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--text-dim); text-transform: uppercase; }
.gn-field input, .gn-field textarea, .gn-field select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: color-mix(in oklab, var(--bg-card) 80%, transparent);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s;
}
.gn-field input:focus, .gn-field textarea:focus, .gn-field select:focus { outline: none; border-color: var(--brand-orange); }
.gn-field textarea { min-height: 140px; resize: vertical; }
.gn-field .hint { font-size: 12px; color: var(--text-dim); }
.gn-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 575px) { .gn-grid-2 { grid-template-columns: 1fr; } }

/* GENERIC CARD */
.gn-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 28px; transition: border-color 0.3s, transform 0.3s; }
.gn-card:hover { border-color: var(--brand-orange); transform: translateY(-4px); }

/* STATS ROW — sections chiffres clés */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  overflow: hidden;
  position: relative;
}
.stats-row::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: linear-gradient(135deg, rgba(27,95,190,0.10) 0%, rgba(243,146,0,0.08) 100%);
}
.stat-cell {
  padding: 40px 28px 36px;
  border-right: 1px solid var(--border);
  position: relative; z-index: 1;
  transition: background 0.35s var(--ease);
  overflow: hidden;
}
.stat-cell:last-child { border-right: none; }
.stat-cell::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-blue));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.stat-cell:hover::before { transform: scaleX(1); }
.stat-cell:hover { background: color-mix(in oklab, var(--brand-orange) 5%, transparent); }
.stat-cell .sv {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(40px, 5.5vw, 68px);
  letter-spacing: -0.05em; line-height: 1;
  color: var(--text); margin-bottom: 12px;
  display: flex; align-items: baseline; gap: 3px;
}
.stat-cell .sv em { font-style: normal; font-size: 0.6em; font-weight: 700; color: var(--brand-orange); }
.stat-cell .sl {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim); line-height: 1.45;
}
@media (max-width: 900px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-cell { border-bottom: 1px solid var(--border); }
  .stat-cell:nth-child(2n) { border-right: none; }
}
@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; }
  .stat-cell:last-child { border-bottom: none; }
}

/* ENGAGEMENTS GRID (formations) */
.aqss-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.aqss-head h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 46px);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 20px 0 0;
  color: var(--text);
}
.aqss-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.aqss-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.aqss-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.aqss-card:hover::before { transform: scaleX(1); }
.aqss-card:hover { border-color: var(--brand-orange); transform: translateY(-3px); }
.ag-let {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--brand-orange) 15%, transparent);
  border: 1px solid color-mix(in oklab, var(--brand-orange) 35%, transparent);
  color: var(--brand-orange);
  font-size: 15px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.aqss-card h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--text);
}
.aqss-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
}
@media (max-width: 991px) {
  .aqss-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 575px) {
  .aqss-cards { grid-template-columns: 1fr; }
}

/* REVEAL */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out); will-change: opacity, transform; }
[data-reveal].in { opacity: 1; transform: translateY(0); will-change: auto; }
/* Fallback no-JS / prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }
