/* ============================================================
   Rezo6tem — Design System
   Charte alignée sur SaadikERP : marine profond + émeraude
   ============================================================ */

:root {
  /* Couleurs de marque */
  --navy-900: #0f172a;
  --navy-800: #111c32;
  --navy-700: #1e3a6e;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --gold: #fbbf24;
  --brand-red: #e11d2a;

  /* Neutres */
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* Dégradés */
  --grad-hero: linear-gradient(135deg, #0f172a 0%, #1e3a6e 100%);
  --grad-emerald: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --grad-blue: linear-gradient(135deg, #2563eb 0%, #1e3a6e 100%);

  /* Rayons & ombres */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
  --shadow: 0 8px 24px rgba(15, 23, 42, .10);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .18);

  --container: 1180px;
  --header-h: 74px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--navy-900); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.text-center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--emerald-500); border-radius: 2px; }
.eyebrow.center { justify-content: center; }

.section-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.section-lead { font-size: 18px; color: var(--slate-500); max-width: 640px; }
.section-lead.center { margin: 0 auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 40px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: none; transition: transform .18s ease, box-shadow .18s ease, background .18s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad-emerald); color: #fff; box-shadow: 0 8px 20px rgba(16, 185, 129, .3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(16, 185, 129, .4); }
.btn-blue { background: var(--grad-blue); color: #fff; box-shadow: 0 8px 20px rgba(37, 99, 235, .3); }
.btn-blue:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(37, 99, 235, .4); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--navy-900); border: 2px solid var(--slate-200); }
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-600); transform: translateY(-3px); }
.btn-lg { padding: 17px 34px; font-size: 16px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .72); backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(226, 232, 240, .6); transition: box-shadow .25s, border-color .25s, background .25s, height .25s;
}
.site-header.scrolled { height: 66px; background: rgba(255, 255, 255, .95); box-shadow: 0 4px 24px rgba(15, 23, 42, .08); border-color: var(--slate-200); }
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; }

/* --- Marque : icône + mot-symbole --- */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { height: 42px; width: auto; transition: transform .25s ease; }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 22px; font-weight: 900; color: var(--navy-900); letter-spacing: -.02em; }
.brand-name .six { color: var(--brand-red); }
.brand-text small { font-size: 9.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--slate-600); margin-top: 4px; white-space: nowrap; }
.brand-text small .sep { color: var(--brand-red); font-weight: 900; }

/* --- Liens de navigation --- */
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; padding: 9px 17px; border-radius: 10px; font-size: 15px; font-weight: 600;
  letter-spacing: .01em; color: var(--slate-600);
  transition: color .2s ease, transform .2s ease, background .2s ease;
}
.nav-links a::after {
  content: ''; position: absolute; left: 17px; right: 17px; bottom: 3px; height: 2.5px; border-radius: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--emerald-500));
  box-shadow: 0 2px 8px rgba(16, 185, 129, .35);
  transform: scaleX(0); transform-origin: center; transition: transform .25s cubic-bezier(.4, 0, .2, 1);
}
.nav-links a:hover { color: var(--blue-600); transform: translateY(-2px); }
.nav-links a:hover::after { transform: scaleX(.6); }
.nav-links a.active { color: var(--navy-900); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--navy-900); cursor: pointer; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; padding: calc(var(--header-h) + 80px) 0 90px;
  background: var(--grad-hero); color: #fff; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -30%; right: -10%; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(16,185,129,.22), transparent 65%); pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -40%; left: -10%; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(37,99,235,.25), transparent 65%); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); line-height: 1.08; }
.hero h1 .accent { background: linear-gradient(120deg, #34d399, #6ee7b7); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { font-size: 19px; color: rgba(255,255,255,.8); margin: 22px 0 32px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px; margin-bottom: 24px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 40px; font-size: 13px; font-weight: 600; color: #a7f3d0;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-500); box-shadow: 0 0 0 4px rgba(16,185,129,.25); }
.hero-stats { display: flex; gap: 32px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats .stat .num { font-size: 30px; font-weight: 800; color: #fff; }
.hero-stats .stat .lbl { font-size: 13px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .05em; }

/* Carte flottante produit (hero visuel) */
.hero-visual { position: relative; }
.product-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}
.product-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.product-card-head img { height: 46px; width: auto; }
.product-card-head .pc-title { font-size: 18px; font-weight: 800; color: #fff; }
.product-card-head .pc-sub { font-size: 12px; color: rgba(255,255,255,.6); }
.pc-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pc-mod {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 14px 8px; text-align: center; transition: transform .2s, background .2s;
}
.pc-mod:hover { transform: translateY(-4px); background: rgba(16,185,129,.14); }
.pc-mod i { font-size: 20px; color: #6ee7b7; margin-bottom: 8px; }
.pc-mod span { display: block; font-size: 11px; color: rgba(255,255,255,.75); line-height: 1.3; }

/* Grille de points décorative sur le hero */
.hero .dot-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
}

/* Composition visuelle en couches (hero) */
.hero-visual { position: relative; }
.hero-visual .glow-ring {
  position: absolute; inset: -8% -6%; border-radius: 30px;
  background: conic-gradient(from 120deg, rgba(16,185,129,.35), rgba(37,99,235,.25), rgba(16,185,129,.35));
  filter: blur(38px); opacity: .55; z-index: 0; animation: spin 16s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-visual .product-card { position: relative; z-index: 2; }

/* Cartes flottantes secondaires */
.float-card {
  position: absolute; z-index: 3; background: rgba(255,255,255,.95); color: var(--navy-900);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; backdrop-filter: blur(6px);
  animation: floaty 5s ease-in-out infinite;
}
.float-card .fc-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 16px; flex-shrink: 0; }
.float-card .fc-num { font-size: 18px; font-weight: 800; line-height: 1; }
.float-card .fc-lbl { font-size: 11px; color: var(--slate-500); }
.float-card.top { top: -22px; right: 8%; animation-delay: .4s; }
.float-card.bottom { bottom: -22px; left: -14px; animation-delay: 1.4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Bande de confiance — marquee animé */
.trust { padding: 22px 0; background: var(--slate-50); border-bottom: 1px solid var(--slate-100); overflow: hidden; }
.trust .marquee { display: flex; gap: 44px; white-space: nowrap; animation: marquee 26s linear infinite; width: max-content; }
.trust .marquee span { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--slate-400); }
.trust .marquee i { color: var(--emerald-500); font-size: 13px; }
.trust:hover .marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Cartes / grilles génériques
   ============================================================ */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 30px; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-blue); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card::after {
  content: ''; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.06), transparent 70%); opacity: 0; transition: opacity .3s;
}
.card:hover::after { opacity: 1; }
.card-icon {
  position: relative; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  font-size: 23px; color: #fff; margin-bottom: 20px; background: var(--grad-blue);
  box-shadow: 0 8px 18px rgba(37,99,235,.28); transition: transform .25s ease;
}
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }
.card-icon.emerald { background: var(--grad-emerald); box-shadow: 0 8px 18px rgba(16,185,129,.28); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--slate-500); }
.card-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-weight: 600; font-size: 14px; color: var(--blue-600); }
.card-link i { transition: transform .18s; }
.card:hover .card-link i { transform: translateX(4px); }

/* ============================================================
   Section SaadikERP (mise en avant produit phare)
   ============================================================ */
.erp-feature { background: var(--slate-50); }
.erp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.erp-badge-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 40px;
  background: rgba(16,185,129,.1); color: var(--emerald-600); font-size: 13px; font-weight: 700; margin-bottom: 18px;
}
.erp-feature h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 18px; }
.erp-feature .lead { font-size: 18px; color: var(--slate-500); margin-bottom: 26px; }
.erp-checklist { display: grid; gap: 14px; margin-bottom: 30px; }
.erp-checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--slate-700); }
.erp-checklist i { color: var(--emerald-500); margin-top: 4px; flex-shrink: 0; }

.erp-modules-panel {
  background: var(--grad-hero); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg);
}
.erp-modules-panel h4 { color: #fff; font-size: 15px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.erp-modules-panel h4 .cnt { margin-left: auto; font-size: 12px; background: rgba(16,185,129,.2); color: #6ee7b7; padding: 3px 10px; border-radius: 20px; }
.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mod-chip {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
  padding: 14px 10px; text-align: center; transition: transform .18s, background .18s;
}
.mod-chip:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.mod-chip i { font-size: 19px; color: #6ee7b7; }
.mod-chip span { display: block; margin-top: 8px; font-size: 10.5px; color: rgba(255,255,255,.72); line-height: 1.35; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { background: var(--grad-hero); color: #fff; border-radius: var(--radius-lg); padding: 56px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(16,185,129,.25), transparent 55%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 4vw, 38px); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.8); font-size: 18px; margin-bottom: 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Conformité (SYSCOHADA / SYCEBNL)
   ============================================================ */
.conformity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.conf-card {
  position: relative; display: flex; gap: 20px; align-items: flex-start;
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 28px; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.conf-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.conf-seal {
  flex-shrink: 0; width: 66px; height: 66px; border-radius: 16px; display: grid; place-items: center;
  color: #fff; font-size: 26px; background: var(--grad-emerald); box-shadow: 0 8px 18px rgba(16,185,129,.3);
}
.conf-card.blue .conf-seal { background: var(--grad-blue); box-shadow: 0 8px 18px rgba(37,99,235,.3); }
.conf-card h4 { font-size: 18px; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.conf-card .conf-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--emerald-600); margin-bottom: 8px; }
.conf-card.blue .conf-tag { color: var(--blue-600); }
.conf-card p { font-size: 14px; color: var(--slate-500); line-height: 1.6; }

/* Puce de conformité (badge inline réutilisable) */
.norm-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.norm-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px; border-radius: 40px;
  background: rgba(16,185,129,.1); color: var(--emerald-600); font-weight: 700; font-size: 14px;
}
.norm-badge i { font-size: 15px; }
.norm-badge.on-dark { background: rgba(255,255,255,.1); color: #6ee7b7; border: 1px solid rgba(255,255,255,.18); }

@media (max-width: 720px) { .conformity-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Bandeau de page (sous-pages)
   ============================================================ */
.page-hero {
  position: relative; background: var(--grad-hero); color: #fff; overflow: hidden;
  padding: calc(var(--header-h) + 64px) 0 72px; text-align: center;
}
.page-hero .dot-grid { position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 30%, transparent 75%); }
.page-hero .container { position: relative; }
.page-hero .eyebrow { color: #6ee7b7; justify-content: center; }
.page-hero .eyebrow::before { background: #6ee7b7; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); margin-bottom: 16px; }
.page-hero p { font-size: 19px; color: rgba(255,255,255,.8); max-width: 680px; margin: 0 auto; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; margin-bottom: 22px; font-size: 13px; color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: #6ee7b7; }

/* ============================================================
   Grille de modules (page SaadikERP)
   ============================================================ */
.modules-full { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.module-tile {
  position: relative; background: #fff; border: 1px solid var(--slate-200); border-radius: 14px;
  padding: 22px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.module-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.module-tile .m-ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 19px;
  color: #fff; background: var(--grad-blue); margin-bottom: 14px;
}
.module-tile.erp .m-ico { background: var(--grad-emerald); }
.module-tile h4 { font-size: 15px; margin-bottom: 6px; }
.module-tile p { font-size: 13px; color: var(--slate-500); line-height: 1.5; }
.module-tile .m-tag { position: absolute; top: 16px; right: 16px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--emerald-600); }

/* Liste de fonctionnalités */
.feature-list { display: grid; gap: 18px; }
.feature-row { display: flex; gap: 16px; align-items: flex-start; }
.feature-row .fr-ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 18px; background: var(--grad-blue); }
.feature-row .fr-ico.em { background: var(--grad-emerald); }
.feature-row h4 { font-size: 17px; margin-bottom: 4px; }
.feature-row p { font-size: 14px; color: var(--slate-500); }

/* ============================================================
   Encadré de téléchargement + étapes
   ============================================================ */
.download-box {
  background: var(--grad-hero); color: #fff; border-radius: var(--radius-lg); padding: 40px;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden;
}
.download-box::before { content: ''; position: absolute; top: -30%; right: -5%; width: 380px; height: 380px; background: radial-gradient(circle, rgba(16,185,129,.28), transparent 65%); pointer-events: none; }
.download-box > * { position: relative; }
.download-box h3 { color: #fff; font-size: 26px; margin-bottom: 10px; }
.download-box p { color: rgba(255,255,255,.8); font-size: 15px; margin-bottom: 18px; max-width: 460px; }
.dl-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 6px; }
.dl-meta div { font-size: 13px; color: rgba(255,255,255,.7); }
.dl-meta b { display: block; color: #fff; font-size: 18px; font-weight: 800; }
.dl-action { text-align: center; }
.dl-action .btn { font-size: 16px; padding: 18px 30px; }
.dl-note { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 12px; }

.steps { display: grid; gap: 20px; counter-reset: step; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step .step-num {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; font-size: 18px; color: #fff; background: var(--grad-blue); box-shadow: 0 6px 14px rgba(37,99,235,.28);
}
.step h4 { font-size: 17px; margin-bottom: 5px; }
.step p { font-size: 14px; color: var(--slate-500); }
.step code { background: var(--navy-900); color: #6ee7b7; padding: 3px 9px; border-radius: 6px; font-size: 13px; }

.prereq-box { background: var(--slate-50); border: 1px solid var(--slate-200); border-left: 4px solid var(--emerald-500); border-radius: 12px; padding: 22px 26px; }
.prereq-box h4 { font-size: 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.prereq-box ul { display: grid; gap: 8px; }
.prereq-box li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--slate-600); }
.prereq-box i { color: var(--emerald-500); margin-top: 4px; }

/* ============================================================
   À propos
   ============================================================ */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img-card { background: var(--grad-hero); border-radius: var(--radius-lg); padding: 40px; color: #fff; box-shadow: var(--shadow-lg); }
.about-img-card .big-logo { height: 64px; margin-bottom: 24px; filter: brightness(0) invert(1); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-box { text-align: center; padding: 28px 16px; background: #fff; border: 1px solid var(--slate-200); border-radius: 16px; transition: transform .2s, box-shadow .2s; }
.stat-box:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat-box .sb-num { font-size: 38px; font-weight: 900; background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-box .sb-lbl { font-size: 14px; color: var(--slate-500); margin-top: 6px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ============================================================
   Contact
   ============================================================ */
.contact-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.contact-form { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--slate-700); margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 15px; border: 2px solid var(--slate-200); border-radius: 12px;
  font-family: var(--font); font-size: 15px; color: var(--navy-900); background: var(--slate-50); transition: border-color .15s, background .15s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--blue-600); background: #fff; }
.form-group textarea { resize: vertical; min-height: 130px; }
.contact-info-card { background: var(--grad-hero); color: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); }
.contact-info-card h3 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.contact-info-card > p { color: rgba(255,255,255,.75); font-size: 14px; margin-bottom: 26px; }
.ci-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1); }
.ci-item:first-of-type { border-top: none; }
.ci-item .ci-ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; font-size: 17px; background: rgba(255,255,255,.1); color: #6ee7b7; }
.ci-item .ci-lbl { font-size: 12px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .05em; }
.ci-item .ci-val { font-size: 15px; color: #fff; font-weight: 600; }
.form-alert { padding: 14px 18px; border-radius: 12px; font-size: 14px; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.form-alert.ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.form-alert.err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* Carte de localisation */
.map-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--slate-200); line-height: 0; }
.map-wrap iframe { width: 100%; height: 440px; border: 0; display: block; filter: saturate(1.05); }
.map-pill {
  position: absolute; left: 20px; bottom: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-lg); max-width: calc(100% - 40px);
}
.map-pill .mp-ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; color: #fff; font-size: 17px; background: var(--grad-emerald); }
.map-pill .mp-lbl { font-size: 12px; color: var(--slate-500); }
.map-pill .mp-val { font-size: 14px; font-weight: 700; color: var(--navy-900); line-height: 1.3; }
.map-pill a.mp-link { font-size: 13px; font-weight: 600; color: var(--blue-600); white-space: nowrap; }
.map-pill a.mp-link:hover { text-decoration: underline; }
@media (max-width: 560px) {
  .map-wrap iframe { height: 360px; }
  .map-pill { flex-wrap: wrap; gap: 8px; left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; }
  .map-pill a.mp-link { flex-basis: 100%; }
}

@media (max-width: 960px) {
  .modules-full { grid-template-columns: repeat(2, 1fr); }
  .download-box { grid-template-columns: 1fr; text-align: center; }
  .download-box p { margin-left: auto; margin-right: auto; }
  .dl-meta { justify-content: center; }
  .about-split, .contact-split { grid-template-columns: 1fr; gap: 36px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .modules-full { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo img { height: 46px; width: auto; }
.footer-logo span { font-size: 25px; font-weight: 900; color: #fff; letter-spacing: -.02em; }
.footer-logo .six { color: #ff5a63; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.55); max-width: 280px; }
.footer-col h5 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.6); padding: 6px 0; transition: color .15s; }
.footer-col a:hover { color: #6ee7b7; }
.footer-contact li { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; padding: 6px 0; color: rgba(255,255,255,.6); }
.footer-contact i { color: var(--emerald-500); margin-top: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.7); transition: background .18s, transform .18s;
}
.footer-social a:hover { background: var(--emerald-600); color: #fff; transform: translateY(-3px); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.45); }

/* ============================================================
   Animations au scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid, .erp-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff;
    padding: 12px 20px 20px; box-shadow: var(--shadow); border-top: 1px solid var(--slate-100);
  }
  .grid-2, .grid-3, .grid-4, .pc-modules, .mod-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .hero-stats { gap: 24px; }
  .brand-mark { height: 38px; }
  .brand-name { font-size: 20px; }
}
@media (max-width: 400px) {
  .brand-text small { display: none; }
}
