/* ==========================================================================
   Mangwa Landing Page — Charte Graphique & Système de Design Responsive
   Conforme aux standards modernes du Web (CSS Grid, Flexbox, Clamp, Container Queries)
   ========================================================================== */

:root {
  --mangwa-night: #0D1F2D;
  --mangwa-night-soft: #143046;
  --mangwa-emerald: #1B4D3E;
  --mangwa-emerald-light: #236350;
  --mangwa-gold: #E5A93C;
  --mangwa-gold-bright: #F2C166;
  --mangwa-gold-dark: #C88D22;
  --mangwa-sand: #EFF3F6;
  --mangwa-surface: #FFFFFF;
  --mangwa-surface-muted: #F8FAFC;
  --mangwa-text: #0D1F2D;
  --mangwa-text-muted: #475569;
  --mangwa-border: rgba(13, 31, 45, 0.1);
  --mangwa-shadow-sm: 0 4px 16px rgba(13, 31, 45, 0.06);
  --mangwa-shadow-md: 0 12px 32px rgba(13, 31, 45, 0.1);
  --mangwa-shadow-lg: 0 20px 48px rgba(13, 31, 45, 0.14);
  --mangwa-shadow-gold: 0 8px 24px rgba(229, 169, 60, 0.28);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html.dark {
  --mangwa-sand: #0B1420;
  --mangwa-surface: #132436;
  --mangwa-surface-muted: #0F1D2C;
  --mangwa-text: #F1F5F9;
  --mangwa-text-muted: #94A3B8;
  --mangwa-border: rgba(255, 255, 255, 0.1);
  --mangwa-shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.3);
  --mangwa-shadow-md: 0 12px 36px rgba(0, 0, 0, 0.45);
  --mangwa-shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--mangwa-sand);
  color: var(--mangwa-text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Accessibilité : anneaux de focus WCAG 2.1 AA */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(229, 169, 60, 0.65);
  border-radius: 0.5rem;
}

/* Motif géométrique africain subtil */
.pattern-african {
  background-image:
    linear-gradient(30deg, rgba(229, 169, 60, 0.04) 12%, transparent 12.5%, transparent 87%, rgba(229, 169, 60, 0.04) 87.5%, rgba(229, 169, 60, 0.04)),
    linear-gradient(150deg, rgba(229, 169, 60, 0.04) 12%, transparent 12.5%, transparent 87%, rgba(229, 169, 60, 0.04) 87.5%, rgba(229, 169, 60, 0.04)),
    linear-gradient(30deg, rgba(229, 169, 60, 0.04) 12%, transparent 12.5%, transparent 87%, rgba(229, 169, 60, 0.04) 87.5%, rgba(229, 169, 60, 0.04)),
    linear-gradient(150deg, rgba(229, 169, 60, 0.04) 12%, transparent 12.5%, transparent 87%, rgba(229, 169, 60, 0.04) 87.5%, rgba(229, 169, 60, 0.04));
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px;
}

/* Conteneur principal fluide et large pour les écrans PC / Ordinateur */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 3.5vw, 2.5rem);
}

@media (min-width: 1440px) {
  .container {
    max-width: 1380px;
  }
}

@media (min-width: 1920px) {
  .container {
    max-width: 1480px;
  }
}

/* Optimisation de rendu pour les sections sous la ligne de flottaison */
.deferred-section {
  content-visibility: auto;
  contain-intrinsic-size: auto none auto 480px;
}

/* ==========================================================================
   Navigation Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 31, 45, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(4rem, 6dvh, 4.75rem);
  gap: 1.25rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: #FFFFFF;
  transition: opacity 0.15s ease;
}

.brand-link:hover {
  opacity: 0.95;
}

.brand-logo-wrap {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--mangwa-gold-bright) 0%, var(--mangwa-gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(229, 169, 60, 0.4);
  flex-shrink: 0;
}

.brand-logo-wrap img {
  width: 1.6rem;
  height: 1.6rem;
  filter: brightness(0);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  color: #FFFFFF;
}

.nav-links {
  display: none;
  align-items: center;
  gap: clamp(1.25rem, 2vw, 2.25rem);
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-links a:hover {
  color: var(--mangwa-gold-bright);
  background-color: rgba(255, 255, 255, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(229, 169, 60, 0.5);
  transform: rotate(12deg);
}

/* Bouton "Ouvrir App" dans le header */
.btn-header-app .btn-text-compact {
  display: none;
}

@media (max-width: 640px) {
  .btn-header-app .btn-text-full {
    display: none;
  }
  .btn-header-app .btn-text-compact {
    display: inline;
  }
  .btn-header-app {
    padding: 0.55rem 0.85rem;
    font-size: 0.88rem;
  }
}

/* Bouton Hamburger pour mobile et tablette (<1024px) */
.mobile-menu-btn {
  display: none; /* Toujours masqué par défaut sur Desktop */
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  cursor: pointer;
  transition: background-color 0.15s ease;
  position: relative;
  flex-shrink: 0;
}

@media (max-width: 1023px) {
  .mobile-menu-btn {
    display: inline-flex !important;
  }
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none !important;
  }
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.mobile-menu-btn .icon-close {
  display: none;
}

.mobile-menu-btn.is-active .icon-hamburger {
  display: none;
}

.mobile-menu-btn.is-active .icon-close {
  display: block;
}

.w-full {
  width: 100% !important;
}

/* Tiroir Mobile */
.mobile-drawer {
  display: none !important;
  background: rgba(13, 31, 45, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  backdrop-filter: blur(20px);
}

@media (max-width: 1023px) {
  .mobile-drawer.open {
    display: block !important;
    animation: slideDown 0.2s ease-out;
  }
}

@media (min-width: 1024px) {
  .mobile-drawer {
    display: none !important;
  }
}

.mobile-drawer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-drawer li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-drawer a {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.65rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.mobile-drawer a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--mangwa-gold-bright);
}

.mobile-drawer-cta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.7rem 1.35rem;
  border-radius: 0.85rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-gold {
  background: linear-gradient(135deg, var(--mangwa-gold-bright) 0%, var(--mangwa-gold) 100%);
  color: var(--mangwa-night);
  box-shadow: var(--mangwa-shadow-gold);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #F8D38D 0%, #EAB551 100%);
  box-shadow: 0 10px 28px rgba(229, 169, 60, 0.42);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.btn-nav-contact {
  display: none;
}

.btn-lg {
  font-size: 1.02rem;
  padding: 0.95rem 1.85rem;
  border-radius: 1rem;
}

/* ==========================================================================
   Hero Section (Adaptée aux grands écrans PC & Ultra-wide)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--mangwa-night) 0%, var(--mangwa-night-soft) 55%, var(--mangwa-emerald) 100%);
  color: #FFFFFF;
  padding: clamp(3.5rem, 8dvh, 7rem) 0 clamp(4rem, 9dvh, 7.5rem);
}

.hero-glow-top {
  position: absolute;
  top: -10rem;
  right: -8rem;
  width: clamp(24rem, 40vw, 38rem);
  height: clamp(24rem, 40vw, 38rem);
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(229, 169, 60, 0.26) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow-bottom {
  position: absolute;
  bottom: -12rem;
  left: -8rem;
  width: clamp(26rem, 45vw, 42rem);
  height: clamp(26rem, 45vw, 42rem);
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(27, 77, 62, 0.5) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.55rem;
  padding: 0.45rem 1.05rem;
  border-radius: 9999px;
  background: rgba(229, 169, 60, 0.15);
  border: 1px solid rgba(229, 169, 60, 0.4);
  color: var(--mangwa-gold-bright);
  font-size: clamp(0.75rem, 1.2vw, 0.84rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.35rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.8vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.35rem;
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--mangwa-gold-bright) 0%, var(--mangwa-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 42rem;
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  font-size: clamp(0.82rem, 1.1vw, 0.92rem);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.hero-trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-trust-list svg {
  color: var(--mangwa-gold-bright);
  flex-shrink: 0;
}

/* ==========================================================================
   Aperçu Application (Dashboard Mockup sur PC et Desktop)
   ========================================================================== */
.app-preview-card {
  background: rgba(19, 36, 54, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.75rem;
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 36px 85px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(229, 169, 60, 0.3);
}

.preview-window-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 9999px;
}
.window-dot-red { background: #FF5F56; }
.window-dot-yellow { background: #FFBD2E; }
.window-dot-green { background: #27C93F; }

.window-title {
  margin-left: auto;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.preview-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.15rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 0.75rem;
}

.preview-assoc {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.preview-assoc-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(229, 169, 60, 0.2);
  color: var(--mangwa-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.preview-assoc-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
}

.preview-assoc-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

.status-pill-online {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.16);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.35);
  flex-shrink: 0;
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.preview-metric-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.1rem;
  padding: 1rem;
  transition: background-color 0.2s ease;
}

.preview-metric-box:hover {
  background: rgba(255, 255, 255, 0.08);
}

.preview-metric-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.preview-metric-value {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.preview-metric-value.gold {
  color: var(--mangwa-gold-bright);
}

.preview-metric-sub {
  font-size: 0.74rem;
  color: #6EE7B7;
  margin-top: 0.25rem;
  font-weight: 600;
}

.preview-quorum-box {
  background: linear-gradient(135deg, rgba(27, 77, 62, 0.6) 0%, rgba(13, 31, 45, 0.85) 100%);
  border: 1px solid rgba(229, 169, 60, 0.35);
  border-radius: 1.15rem;
  padding: 1.05rem 1.15rem;
}

.preview-quorum-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--mangwa-gold-bright);
  margin-bottom: 0.75rem;
}

.preview-signers {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.preview-signer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.55rem 0.75rem;
  border-radius: 0.7rem;
}

.signer-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.22);
  color: #6EE7B7;
}

/* ==========================================================================
   Bandeau Chiffres & Garanties Clés
   ========================================================================== */
.highlights-strip {
  background: var(--mangwa-surface);
  border-bottom: 1px solid var(--mangwa-border);
  padding: clamp(2rem, 4vw, 3rem) 0;
  box-shadow: var(--mangwa-shadow-sm);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
}

.highlight-item {
  text-align: center;
  padding: clamp(1rem, 2vw, 1.5rem);
  background: var(--mangwa-surface-muted);
  border: 1px solid var(--mangwa-border);
  border-radius: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.highlight-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--mangwa-shadow-sm);
}

.highlight-val {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.85rem);
  font-weight: 800;
  color: var(--mangwa-emerald);
  line-height: 1.15;
}

html.dark .highlight-val {
  color: var(--mangwa-gold-bright);
}

.highlight-label {
  font-size: clamp(0.85rem, 1.1vw, 0.98rem);
  font-weight: 700;
  color: var(--mangwa-text);
  margin-top: 0.4rem;
}

.highlight-sub {
  font-size: 0.8rem;
  color: var(--mangwa-text-muted);
  margin-top: 0.2rem;
}

/* ==========================================================================
   Sections Génériques
   ========================================================================== */
.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section-muted {
  background-color: var(--mangwa-surface-muted);
  border-top: 1px solid var(--mangwa-border);
  border-bottom: 1px solid var(--mangwa-border);
}

.section-header {
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
  margin-block-end: clamp(2.5rem, 5vw, 4rem);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mangwa-emerald);
  background: rgba(27, 77, 62, 0.1);
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  margin-bottom: 0.95rem;
}

html.dark .section-eyebrow {
  color: var(--mangwa-gold-bright);
  background: rgba(229, 169, 60, 0.16);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--mangwa-text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Grille des 6 Piliers Fonctionnels
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2.2vw, 2rem);
}

.feature-card {
  background: var(--mangwa-surface);
  border: 1px solid var(--mangwa-border);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  box-shadow: var(--mangwa-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mangwa-shadow-md);
  border-color: rgba(229, 169, 60, 0.5);
}

.feature-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(27, 77, 62, 0.14) 0%, rgba(229, 169, 60, 0.2) 100%);
  color: var(--mangwa-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  flex-shrink: 0;
}

html.dark .feature-icon {
  color: var(--mangwa-gold-bright);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 0.65rem;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--mangwa-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.feature-tag {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.28rem 0.7rem;
  border-radius: 9999px;
  background: var(--mangwa-sand);
  color: var(--mangwa-text-muted);
  border: 1px solid var(--mangwa-border);
}

/* ==========================================================================
   Section Gouvernance & Sécurité (2 Colonnes spacieuses sur PC)
   ========================================================================== */
.security-banner {
  background: linear-gradient(135deg, var(--mangwa-night) 0%, var(--mangwa-night-soft) 60%, var(--mangwa-emerald) 100%);
  color: #FFFFFF;
  border-radius: 2rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  box-shadow: var(--mangwa-shadow-lg);
  position: relative;
  overflow: hidden;
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.security-intro {
  display: flex;
  flex-direction: column;
}

.security-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  list-style: none;
}

.security-list-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  padding: 1.35rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.security-list-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(229, 169, 60, 0.35);
}

.security-list-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.8rem;
  background: rgba(229, 169, 60, 0.22);
  color: var(--mangwa-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-list-title {
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.security-list-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

/* ==========================================================================
   Section Étapes (Comment ça marche)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  position: relative;
}

.step-card {
  background: var(--mangwa-surface);
  border: 1px solid var(--mangwa-border);
  border-radius: 1.5rem;
  padding: clamp(1.75rem, 2.5vw, 2.25rem);
  position: relative;
  box-shadow: var(--mangwa-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mangwa-shadow-md);
}

.step-number {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: var(--mangwa-gold);
  color: var(--mangwa-night);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 14px rgba(229, 169, 60, 0.4);
}

/* ==========================================================================
   Section FAQ (<details name="faq-accordion">)
   ========================================================================== */
.faq-list {
  max-width: 54rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--mangwa-surface);
  border: 1px solid var(--mangwa-border);
  border-radius: 1.15rem;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(229, 169, 60, 0.35);
}

.faq-item[open] {
  border-color: rgba(229, 169, 60, 0.6);
  box-shadow: var(--mangwa-shadow-sm);
}

.faq-summary {
  list-style: none;
  padding: 1.35rem 1.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--mangwa-gold-dark);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.6rem 1.5rem;
  font-size: 0.96rem;
  color: var(--mangwa-text-muted);
  border-top: 1px solid var(--mangwa-border);
  padding-top: 1.1rem;
  line-height: 1.65;
}

/* ==========================================================================
   Section d'Appel à l'Action Final (High-Impact CTA Banner)
   ========================================================================== */
.final-cta {
  background: linear-gradient(135deg, var(--mangwa-night) 0%, var(--mangwa-emerald) 100%);
  color: #FFFFFF;
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
  position: relative;
  overflow: hidden;
}

.final-cta-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2rem;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
  max-width: 58rem;
  margin-inline: auto;
  box-shadow: var(--mangwa-shadow-lg);
  backdrop-filter: blur(20px);
}

.final-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.final-cta-title .accent {
  color: var(--mangwa-gold-bright);
}

.final-cta-desc {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ==========================================================================
   Pied de page (Footer)
   ========================================================================== */
.site-footer {
  background: var(--mangwa-night);
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(3.5rem, 6vw, 4.5rem) 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 2vw, 2rem);
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--mangwa-gold-bright);
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.58);
}

/* ==========================================================================
   Media Queries — Responsive pour PC, Ordinateurs, Tablettes et Mobiles
   ========================================================================== */

/* 0. Écrans Mobiles Compacts (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding-inline: 1rem;
  }

  .header-inner {
    gap: 0.5rem;
  }

  .brand-link {
    gap: 0.5rem;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-logo-wrap {
    width: 2.2rem;
    height: 2.2rem;
  }

  .brand-logo-wrap img {
    width: 1.35rem;
    height: 1.35rem;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .theme-toggle,
  .mobile-menu-btn {
    width: 2.25rem;
    height: 2.25rem;
  }

  .btn-header-app {
    padding: 0.5rem 0.7rem;
    font-size: 0.82rem;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .preview-metrics {
    grid-template-columns: 1fr;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .final-cta-buttons {
    flex-direction: column;
  }

  .final-cta-buttons .btn {
    width: 100%;
  }

  .header-actions .btn-gold span {
    font-size: 0.85rem;
  }
}

/* 1. Écrans Tablettes et plus grands (>= 768px) */
@media (min-width: 768px) {
  .highlights-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .step-card {
    position: relative;
  }

  .step-card:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 2.35rem;
    right: -1.15rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--mangwa-gold);
    opacity: 0.7;
    z-index: 2;
  }

  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* 2. Écrans Ordinateurs Portables et PC (>= 1024px) */
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }

  .mobile-menu-btn {
    display: none !important;
  }

  .mobile-drawer {
    display: none !important;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.95fr;
    gap: clamp(3rem, 5vw, 5rem);
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .security-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
  }
}

/* 2b. Affichage de l'action secondaire dans le header sur écrans suffisamment larges (>= 1180px) */
@media (min-width: 1180px) {
  .btn-nav-contact {
    display: inline-flex;
  }
}

/* 3. Grands Écrans PC et Moniteurs Larges (>= 1280px) */
@media (min-width: 1280px) {
  .hero-title {
    font-size: 3.75rem;
  }

  .section-title {
    font-size: 2.65rem;
  }

  .features-grid {
    gap: 2rem;
  }

  .feature-card {
    min-height: 280px;
  }
}

/* 4. Écrans Ultra-Wide (>= 1536px) */
@media (min-width: 1536px) {
  .hero-title {
    font-size: 4.25rem;
  }
}
