/* ============================================================
   StratPilote.com — Feuille de styles principale
   Redesign inspiré d'edrawsoft.com/fr/
   Typographie : Poppins (titres) + DM Sans (corps)
   Palette : Orange #E8621C → #F68D2C, Accent #1AB5C5
   Auteur : frontend-developer agent
   Version : 2.0.0 — 2026-02-17
   ============================================================ */


/* ============================================================
   1. GOOGLE FONTS — Chargées via <link> dans le HTML
   (pas d'@import ici pour éviter le blocage du rendu)
   ============================================================ */


/* ============================================================
   2. VARIABLES CSS — SYSTÈME DE DESIGN
   ============================================================ */

/* --- Mode clair (défaut) --- */
:root {
  /* Couleurs principales — StratPilote (gradient orange logo) */
  --color-primary:       #E8621C;
  --color-primary-dark:  #C53030;
  --color-primary-light: #F68D2C;
  --color-secondary:     #F68D2C;
  --color-accent:        #1AB5C5;
  --color-accent-light:  #5ECDD8;

  /* Fond & surfaces */
  --color-bg:            #FFFFFF;
  --color-bg-subtle:     #F8FAFC;
  --color-bg-muted:      #F1F5F9;
  --color-surface:       #FFFFFF;
  --color-surface-raised:#FFFFFF;

  /* Texte */
  --color-text:          #1E293B;
  --color-text-secondary:#64748B;
  --color-text-muted:    #94A3B8;
  --color-text-inverse:  #FFFFFF;

  /* Bordures */
  --color-border:        #E2E8F0;
  --color-border-strong: #CBD5E1;

  /* Ombres */
  --shadow-xs:  0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm:  0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md:  0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg:  0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl:  0 20px 25px -5px rgba(15, 23, 42, 0.10), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  --shadow-primary: 0 8px 24px rgba(232, 98, 28, 0.25);
  --shadow-primary-lg: 0 16px 40px rgba(232, 98, 28, 0.35);

  /* CTA Orange/Jaune (favicon) */
  --color-cta:          #F27D0C;
  --color-cta-dark:     #D4520A;
  --color-cta-light:    #F5B731;
  --color-cta-glow:     #FFD95C;
  --shadow-cta:         0 8px 24px rgba(242, 125, 12, 0.35);
  --shadow-cta-lg:      0 16px 40px rgba(242, 125, 12, 0.45);

  /* Typographie */
  --font-heading: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  /* Tailles de police */
  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  1.875rem;   /* 30px */
  --text-4xl:  2.25rem;    /* 36px */
  --text-5xl:  3rem;       /* 48px */
  --text-6xl:  3.5rem;     /* 56px */
  --text-7xl:  4rem;       /* 64px */

  /* Espacements */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;
  --space-section: 7.5rem;  /* 120px — espacement généreux entre sections */

  /* Rayons de bordure */
  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.25rem;
  --radius-3xl:  1.5rem;
  --radius-card: 1.5rem;   /* 24px pour les cartes */
  --radius-full: 9999px;

  /* Navigation */
  --nav-height: 96px;

  /* Transition thème */
  --transition-theme: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  --transition-fast:  all 0.15s ease;
  --transition-base:  all 0.2s ease;
  --transition-slow:  all 0.35s ease;

  /* Conteneur max */
  --container-max: 1200px;
  --container-wide: 1400px;
  --container-padding: 1.5rem;
}

/* --- Mode sombre --- */
[data-theme="dark"] {
  /* Fond & surfaces */
  --color-bg:            #0B1120;
  --color-bg-subtle:     #111827;
  --color-bg-muted:      #1E293B;
  --color-surface:       #151D2E;
  --color-surface-raised:#1A2540;

  /* Texte */
  --color-text:          #F1F5F9;
  --color-text-secondary:#94A3B8;
  --color-text-muted:    #64748B;
  --color-text-inverse:  #0B1120;

  /* Bordures */
  --color-border:        #1E293B;
  --color-border-strong: #334155;

  /* Ombres — plus intenses sur fond sombre */
  --shadow-xs:  0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md:  0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg:  0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  --shadow-xl:  0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  --shadow-primary: 0 8px 24px rgba(232, 98, 28, 0.4);
  --shadow-primary-lg: 0 16px 40px rgba(232, 98, 28, 0.5);
}


/* ============================================================
   3. RESET & BASE
   ============================================================ */

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: var(--transition-theme);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Sélection de texte */
::selection {
  background-color: var(--color-primary);
  color: #fff;
}

/* Focus visible accessible */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Liens */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Images */
img,
svg {
  display: block;
  max-width: 100%;
}

/* Listes */
ul,
ol {
  list-style: none;
}

/* Boutons */
button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

/* Typographie de base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  transition: color 0.3s ease;
}

p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  transition: color 0.3s ease;
}


/* ============================================================
   4. CONTENEUR & GRILLE
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.container--wide {
  max-width: var(--container-wide);
}

.grid {
  display: grid;
  gap: var(--space-6);
}

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


/* ============================================================
   5. TYPOGRAPHIE — CLASSES UTILITAIRES
   ============================================================ */

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-subtle {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* En-têtes de section */
.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  line-height: 1.15;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.65;
  font-weight: 400;
}


/* ============================================================
   6. BOUTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-base);
  white-space: nowrap;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

/* Tailles */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
}

.btn-md {
  padding: 0.75rem 1.5rem;
  font-size: var(--text-base);
}

.btn-lg {
  padding: 1.125rem 2.25rem;
  font-size: var(--text-lg);
}

.btn-xl {
  padding: 1.375rem 3rem;
  font-size: var(--text-xl);
  border-radius: var(--radius-xl);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Variante principale — gradient orange/jaune (favicon) */
.btn-primary {
  background: linear-gradient(135deg, var(--color-cta) 0%, var(--color-cta-light) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-cta);
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-cta-dark) 0%, var(--color-cta) 100%);
  border-color: transparent;
  box-shadow: var(--shadow-cta-lg);
  transform: translateY(-2px);
  color: #fff;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-cta);
}

/* Variante contour */
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border-strong);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background: rgba(232, 98, 28, 0.06);
  transform: translateY(-1px);
}

/* Variante CTA avec lueur — orange/jaune */
.btn-cta-glow {
  background: linear-gradient(135deg, var(--color-cta) 0%, var(--color-cta-light) 100%);
  color: #fff;
  border-color: transparent;
  font-weight: 700;
  animation: pulse-glow-orange 2.5s ease-in-out infinite;
}

.btn-cta-glow:hover {
  background: linear-gradient(135deg, var(--color-cta-dark) 0%, var(--color-cta) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(242, 125, 12, 0.45);
  color: #fff;
}

/* Bouton icône */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--color-bg-muted);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  transition: var(--transition-base);
  cursor: pointer;
  flex-shrink: 0;
}

.btn-icon:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}


/* ============================================================
   7. BADGES & TAGS
   ============================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-body);
}

.badge--trust {
  background: rgba(232, 98, 28, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(232, 98, 28, 0.2);
}

[data-theme="dark"] .badge--trust {
  background: rgba(232, 98, 28, 0.2);
  border-color: rgba(232, 98, 28, 0.35);
}

/* Tags des modules */
.module-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-bg-muted);
  color: var(--color-text-secondary);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  border: 1px solid var(--color-border);
  transition: var(--transition-fast);
}

.module-tag:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.modules-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}


/* ============================================================
   8. ANIMATIONS KEYFRAMES
   ============================================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-12px) rotate(1deg); }
  66%       { transform: translateY(-6px) rotate(-1deg); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%       { transform: translateY(-20px) scale(1.02); }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4),
                0 8px 24px rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0),
                0 12px 40px rgba(255, 255, 255, 0.2);
  }
}

@keyframes pulse-glow-orange {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(242, 125, 12, 0.4),
                0 8px 24px rgba(242, 125, 12, 0.25);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(242, 125, 12, 0),
                0 12px 40px rgba(245, 183, 49, 0.3);
  }
}

@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes blob-morph {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50%       { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes page-enter {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Classe pour les éléments animés au scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll--delay-1 { transition-delay: 0.1s; }
.animate-on-scroll--delay-2 { transition-delay: 0.2s; }
.animate-on-scroll--delay-3 { transition-delay: 0.3s; }
.animate-on-scroll--delay-4 { transition-delay: 0.4s; }


/* ============================================================
   9. CONTENEUR DE CAPTURE D'ÉCRAN (placeholder)
   ============================================================ */

.screenshot-container {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
}

/* Barre du navigateur */
.screenshot-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.screenshot-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.screenshot-dot--red    { background: #FF5F57; }
.screenshot-dot--yellow { background: #FEBC2E; }
.screenshot-dot--green  { background: #28C840; }

.screenshot-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-left: 8px;
}

/* Zone de contenu */
.screenshot-body {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
}

.screenshot-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Placeholder quand pas de capture d'écran */
.screenshot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-8);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.screenshot-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
  stroke: currentColor;
}


/* ============================================================
   10. NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

/* Navigation avec fond au scroll */
.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--color-border), var(--shadow-sm);
}

[data-theme="dark"] .nav.scrolled {
  background: rgba(11, 17, 32, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05), var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  height: 100%;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* Logo */
.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
  height: 80px;
}
.nav__logo img { height: 100%; width: auto; object-fit: contain; }

.nav__logo:hover {
  opacity: 0.85;
}

/* Logo light/dark switching */
.nav__logo .logo-dark { display: none; }
.nav__logo .logo-light { display: block; }

[data-theme="dark"] .nav__logo .logo-dark { display: block; }
[data-theme="dark"] .nav__logo .logo-light { display: none; }

/* Liens desktop */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-left: auto;
  list-style: none;
}

.nav__link {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  text-decoration: none;
}

.nav__link:hover {
  color: var(--color-text);
  background: var(--color-bg-muted);
}

.nav__link.active {
  color: var(--color-primary);
  background: rgba(232, 98, 28, 0.08);
}

/* Actions */
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-left: var(--space-4);
  flex-shrink: 0;
}

/* Bouton hamburger mobile */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  margin-left: auto;
  transition: var(--transition-fast);
}

.nav__burger:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.nav__burger:hover .burger__line {
  background: #fff;
}

.burger__line {
  width: 18px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition-base);
}

/* État actif hamburger */
.nav__burger[aria-expanded="true"] .burger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger[aria-expanded="true"] .burger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__burger[aria-expanded="true"] .burger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu mobile */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4) var(--container-padding) var(--space-6);
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 99;
}

.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.mobile-menu__link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  text-decoration: none;
}

.mobile-menu__link:hover {
  color: var(--color-primary);
  background: rgba(232, 98, 28, 0.06);
}

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}


/* ============================================================
   11. SECTION PARTAGÉE — ESPACEMENT
   ============================================================ */

.section {
  padding-block: var(--space-section);
  position: relative;
}

.section--sm {
  padding-block: 4rem;
}

.section--lg {
  padding-block: 9rem;
}


/* ============================================================
   12. SECTION HÉRO
   ============================================================ */

.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + 5rem);
  padding-bottom: 6rem;
  overflow: hidden;
  background: var(--color-bg);
}

/* Fond dégradé héro */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% -20%, rgba(232, 98, 28, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Motif de points en arrière-plan */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--color-border) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

[data-theme="dark"] .hero::before {
  background:
    radial-gradient(ellipse 80% 70% at 50% -20%, rgba(232, 98, 28, 0.2) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(6, 182, 212, 0.12) 0%, transparent 60%);
}

[data-theme="dark"] .hero::after {
  opacity: 0.3;
}

/* Orbes décoratifs */
.hero__orb {
  position: absolute;
  border-radius: var(--radius-full);
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  animation: float-slow 8s ease-in-out infinite;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 98, 28, 0.15) 0%, transparent 70%);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  top: 20%;
  right: -5%;
  animation-delay: 3s;
}

.hero__orb--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.10) 0%, transparent 70%);
  bottom: 10%;
  left: 40%;
  animation-delay: 6s;
}

/* Mise en page héro */
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

/* Colonne texte */
.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  animation: fadeInLeft 0.8s ease both;
}

.hero__badge {
  display: flex;
}

/* Titre héro */
.hero__title {
  font-size: var(--text-6xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-text);
}

/* Sous-titre héro */
.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 520px;
  font-weight: 400;
}

/* Boutons CTA héro */
.hero__cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Statistiques de confiance */
.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.trust-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.trust-stat__value {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.trust-stat__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}

.trust-stat__divider {
  width: 1px;
  height: 36px;
  background: var(--color-border);
  flex-shrink: 0;
}

/* Colonne visuelle héro */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease 0.2s both;
}

/* Carte visuelle principale */
.hero__visual-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  transition: var(--transition-slow);
}

.hero__visual-card--main {
  width: 100%;
  max-width: 520px;
  transform: perspective(1200px) rotateY(-3deg) rotateX(2deg);
}

.hero__visual-card--main:hover {
  transform: perspective(1200px) rotateY(-1deg) rotateX(1deg);
}

/* Carte secondaire SWOT mini — sur la capture d'écran */
.hero__visual-card--secondary {
  position: absolute;
  bottom: 24px;
  right: -24px;
  width: 180px;
  padding: var(--space-3);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

/* En-tête de carte visuelle */
.visual-card__header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--color-bg-muted);
  border-bottom: 1px solid var(--color-border);
}

.visual-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.visual-card__dot:nth-child(1) { background: #FF5F57; }
.visual-card__dot:nth-child(2) { background: #FEBC2E; }
.visual-card__dot:nth-child(3) { background: #28C840; }

/* Contenu carte visuelle */
.visual-card__content {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  min-height: 280px;
}

.visual-card__node {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
}

.visual-card__node--center {
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-size: var(--text-base);
  box-shadow: var(--shadow-primary);
}

.visual-card__branches {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

.visual-card__branch {
  display: flex;
}

.visual-card__node--l1 {
  background: rgba(232, 98, 28, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(232, 98, 28, 0.2);
}

/* Carte mini SWOT */
.visual-mini__label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.visual-mini__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.visual-mini__cell {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  font-family: var(--font-heading);
  color: #fff;
}

.visual-mini__cell--s { background: #22C55E; }
.visual-mini__cell--w { background: #F59E0B; }
.visual-mini__cell--o { background: #3B82F6; }
.visual-mini__cell--t { background: #EF4444; }


/* ============================================================
   13. TRUST BANNER
   ============================================================ */

.trust-banner {
  background: var(--color-bg-subtle);
  border-block: 1px solid var(--color-border);
  padding-block: var(--space-10);
  transition: var(--transition-theme);
}

.trust-banner__title {
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-8);
}

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text-secondary);
  transition: var(--transition-fast);
}

.trust-badge:hover {
  color: var(--color-primary);
}

.trust-badge__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-primary);
  transition: var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.trust-badge:hover .trust-badge__icon {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.trust-badge__text {
  font-weight: 600;
  font-size: var(--text-sm);
  white-space: nowrap;
}


/* ============================================================
   14. CAS D'USAGE (USE CASES)
   ============================================================ */

.use-cases {
  background: var(--color-bg);
}

.use-cases__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

/* Carte de cas d'usage */
.use-case-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

/* Bordure supérieure animée au hover */
.use-case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.use-case-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-xl);
  border-color: rgba(232, 98, 28, 0.2);
}

.use-case-card:hover::before {
  opacity: 1;
}

.use-case-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 98, 28, 0.08);
  border-radius: var(--radius-xl);
  flex-shrink: 0;
  transition: var(--transition-base);
}

.use-case-card:hover .use-case-card__icon {
  background: rgba(232, 98, 28, 0.15);
  transform: scale(1.05);
}

.use-case-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.use-case-card__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.65;
  flex: 1;
}

.use-case-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-primary);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  margin-top: auto;
  transition: var(--transition-fast);
}

.use-case-card__link:hover {
  gap: var(--space-3);
}

.use-case-card__link svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.use-case-card__link:hover svg {
  transform: translateX(3px);
}


/* ============================================================
   15. FEATURES (layout alterné)
   ============================================================ */

.features {
  background: var(--color-bg-subtle);
}

/* Bloc feature */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
  margin-bottom: var(--space-section);
}

.feature:last-child {
  margin-bottom: 0;
}

/* Alternance RTL — image à gauche, texte à droite */
.feature--rtl {
  direction: rtl;
}

.feature--rtl > * {
  direction: ltr;
}

/* Colonne texte */
.feature__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

/* Tag de module */
.feature__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  background: rgba(232, 98, 28, 0.1);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  width: fit-content;
  border: 1px solid rgba(232, 98, 28, 0.2);
}

.feature__title {
  font-size: var(--text-4xl);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--color-text);
}

.feature__text {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Colonne visuelle */
.feature__visual {
  position: relative;
}

/* Mockup applicatif */
.feature__mockup {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  transition: var(--transition-slow);
}

.feature__mockup:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 64px -16px rgba(15, 23, 42, 0.18);
}

[data-theme="dark"] .feature__mockup:hover {
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.6);
}

/* En-tête du mockup */
.mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--color-bg-muted);
  border-bottom: 1px solid var(--color-border);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FEBC2E; }
.mockup-dot:nth-child(3) { background: #28C840; }

.mockup-title {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
  margin-left: var(--space-2);
}

/* Corps des mockups */
.mockup-body {
  padding: var(--space-6);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Mind Map mockup --- */
.mockup-body--mindmap {
  align-items: center;
  gap: var(--space-6);
  background: var(--color-bg);
}

[data-theme="dark"] .mockup-body--mindmap {
  background: #0D1526;
}

.mm-center {
  background: var(--color-primary);
  color: #fff;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--text-base);
  font-family: var(--font-heading);
  box-shadow: var(--shadow-primary);
  white-space: nowrap;
}

.mm-branches {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

.mm-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.mm-node {
  background: rgba(232, 98, 28, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(232, 98, 28, 0.25);
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
}

.mm-sub {
  background: var(--color-bg-muted);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  white-space: nowrap;
}

/* Couleurs distinctes par branche */
.mm-branch--1 .mm-node { background: rgba(232, 98, 28, 0.1);  color: #E8621C; border-color: rgba(232, 98, 28, 0.25); }
.mm-branch--2 .mm-node { background: rgba(6, 182, 212, 0.1);   color: #0891B2; border-color: rgba(6, 182, 212, 0.25); }
.mm-branch--3 .mm-node { background: rgba(246, 141, 44, 0.1);  color: #F68D2C; border-color: rgba(246, 141, 44, 0.25); }

/* --- SWOT mockup --- */
.mockup-body--swot {
  padding: var(--space-4);
}

.swot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.swot-cell {
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.swot-cell--s { background: rgba(34, 197, 94, 0.1);  border: 1px solid rgba(34, 197, 94, 0.2); }
.swot-cell--w { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.2); }
.swot-cell--o { background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.2); }
.swot-cell--t { background: rgba(239, 68, 68, 0.1);  border: 1px solid rgba(239, 68, 68, 0.2); }

[data-theme="dark"] .swot-cell--s { background: rgba(34, 197, 94, 0.08); }
[data-theme="dark"] .swot-cell--w { background: rgba(245, 158, 11, 0.08); }
[data-theme="dark"] .swot-cell--o { background: rgba(59, 130, 246, 0.08); }
[data-theme="dark"] .swot-cell--t { background: rgba(239, 68, 68, 0.08); }

.swot-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.swot-cell--s .swot-label { color: #16A34A; }
.swot-cell--w .swot-label { color: #D97706; }
.swot-cell--o .swot-label { color: #2563EB; }
.swot-cell--t .swot-label { color: #DC2626; }

.swot-item {
  height: 8px;
  background: currentColor;
  border-radius: 4px;
  opacity: 0.2;
  width: 100%;
}

.swot-item--short {
  width: 70%;
}

/* --- Gantt mockup --- */
.mockup-body--gantt {
  gap: var(--space-3);
  justify-content: flex-start;
}

.gantt-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.gantt-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-secondary);
  width: 60px;
  flex-shrink: 0;
}

.gantt-bar-wrapper {
  flex: 1;
  height: 20px;
  background: var(--color-bg-muted);
  border-radius: var(--radius-full);
  position: relative;
  overflow: visible;
}

.gantt-bar {
  position: absolute;
  height: 100%;
  border-radius: var(--radius-full);
  top: 0;
}

.gantt-bar--done    { background: linear-gradient(90deg, #22C55E, #16A34A); }
.gantt-bar--active  { background: linear-gradient(90deg, var(--color-primary), var(--color-secondary)); }
.gantt-bar--pending { background: var(--color-border-strong); opacity: 0.6; }

.gantt-milestone {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #EF4444;
  border: 2px solid var(--color-surface);
  border-radius: 3px;
  transform: rotate(45deg) translate(-50%, -50%);
  top: 50%;
  box-shadow: var(--shadow-sm);
}


/* ============================================================
   16. TÉMOIGNAGES
   ============================================================ */

.testimonials {
  background: var(--color-bg);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transition: var(--transition-slow);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-3px);
  border-color: rgba(232, 98, 28, 0.15);
}

[data-theme="dark"] .testimonial-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.testimonial-card__quote-icon {
  flex-shrink: 0;
}

.testimonial-card__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-card__name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}


/* ============================================================
   17. RESSOURCES / ARTICLES
   ============================================================ */

.resources {
  background: var(--color-bg-subtle);
}

.resources__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.resource-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-slow);
}

.resource-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: rgba(232, 98, 28, 0.15);
}

/* Lien image */
.resource-card__image-link {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.resource-card__image {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.resource-card:hover .resource-card__image {
  transform: scale(1.04);
}

/* Dégradés colorés en placeholder d'images */
.resource-card__image--1 {
  background: linear-gradient(135deg, rgba(232, 98, 28, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%),
              repeating-linear-gradient(
                45deg,
                rgba(232, 98, 28, 0.04) 0px,
                rgba(232, 98, 28, 0.04) 1px,
                transparent 1px,
                transparent 20px
              );
}

.resource-card__image--2 {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(239, 68, 68, 0.08) 100%),
              repeating-linear-gradient(
                -45deg,
                rgba(124, 58, 237, 0.04) 0px,
                rgba(124, 58, 237, 0.04) 1px,
                transparent 1px,
                transparent 20px
              );
}

.resource-card__image--3 {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(34, 197, 94, 0.1) 100%),
              repeating-linear-gradient(
                0deg,
                rgba(6, 182, 212, 0.04) 0px,
                rgba(6, 182, 212, 0.04) 1px,
                transparent 1px,
                transparent 20px
              );
}

[data-theme="dark"] .resource-card__image--1 {
  background: linear-gradient(135deg, rgba(232, 98, 28, 0.25) 0%, rgba(6, 182, 212, 0.15) 100%);
}

[data-theme="dark"] .resource-card__image--2 {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25) 0%, rgba(239, 68, 68, 0.12) 100%);
}

[data-theme="dark"] .resource-card__image--3 {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25) 0%, rgba(34, 197, 94, 0.15) 100%);
}

.resource-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.resource-card__category {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: rgba(232, 98, 28, 0.1);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}

.resource-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
}

.resource-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.resource-card__title a:hover {
  color: var(--color-primary);
}

.resource-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.65;
  flex: 1;
}

.resource-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.resource-card__readtime {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
}


/* ============================================================
   18. CTA FINAL
   ============================================================ */

.cta-final {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a0f05 0%, #2d1a08 40%, #3d2410 70%, #1a0f05 100%);
  background-size: 200% 200%;
  animation: gradient-shift 12s ease infinite;
  padding-block: var(--space-section);
}

/* Motif de points */
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.cta-final__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-8);
}

.cta-final__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  max-width: 700px;
}

.cta-final__title {
  font-size: var(--text-5xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.15;
}

.cta-final__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.cta-final__reassurance {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

/* Orbes décoratifs */
.cta-final__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.cta-final__orb--1 {
  width: 400px;
  height: 400px;
  background: rgba(242, 125, 12, 0.2);
  top: -20%;
  left: -10%;
  animation: float-slow 10s ease-in-out infinite;
}

.cta-final__orb--2 {
  width: 300px;
  height: 300px;
  background: rgba(245, 183, 49, 0.15);
  bottom: -10%;
  right: -5%;
  animation: float-slow 8s ease-in-out 4s infinite;
}


/* ============================================================
   19. CONTENU SEO (accordéon)
   ============================================================ */

.seo-content {
  background: var(--color-bg-subtle);
  padding-bottom: var(--space-12);
}

.seo-content__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.seo-content__text {
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease;
  max-height: 4.5rem;
  opacity: 0.8;
  position: relative;
}

.seo-content__text[data-collapsed="true"]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3rem;
  background: linear-gradient(to bottom, transparent, var(--color-bg-subtle));
  pointer-events: none;
}

.seo-content__text.is-expanded {
  max-height: 5000px;
  opacity: 1;
}

.seo-content__text.is-expanded::after {
  display: none;
}

/* Typographie du contenu SEO */
.seo-content__text p {
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.seo-content__text h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

/* Bouton "Voir plus" */
.seo-content__toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  color: var(--color-primary);
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

.seo-content__toggle:hover {
  color: var(--color-primary-dark);
}

.seo-toggle-icon {
  transition: transform 0.3s ease;
}

.seo-content__toggle[aria-expanded="true"] .seo-toggle-icon {
  transform: rotate(180deg);
}


/* ============================================================
   20. FOOTER
   ============================================================ */

.footer {
  background: #0B1120;
  color: #E2E8F0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-block: var(--space-16);
}

/* Colonne marque */
.footer__col--brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.footer__logo {
  display: inline-flex;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.footer__logo:hover {
  opacity: 0.85;
}

.footer__tagline {
  font-size: var(--text-sm);
  color: #94A3B8;
  line-height: 1.6;
  max-width: 260px;
}

/* Colonnes standard */
.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #F1F5F9;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
}

.footer__links a {
  font-size: var(--text-sm);
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: #fff;
}

/* Barre inférieure */
.footer__bottom {
  border-top: 1px solid #1E293B;
  padding-block: var(--space-6);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.footer__copy {
  font-size: var(--text-sm);
  color: #64748B;
}

/* Icônes sociales */
.footer__socials {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: #1E293B;
  color: #94A3B8;
  border: 1px solid #334155;
  transition: var(--transition-fast);
  text-decoration: none;
}

.footer__social-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}


/* ============================================================
   21. BANDEAU COOKIES
   ============================================================ */

.cookie-banner {
  position: fixed;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 1000;
  max-width: 640px;
  width: calc(100% - 3rem);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: var(--space-5) var(--space-6);
}

[data-theme="dark"] .cookie-banner {
  background: rgba(21, 29, 46, 0.95);
}

.cookie-banner.is-visible {
  transform: translateX(-50%) translateY(0);
}

.cookie-banner__content {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cookie-banner__content p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  flex: 1;
  min-width: 200px;
  line-height: 1.5;
  margin: 0;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}


/* ============================================================
   22. SECTION "COMMENT ÇA MARCHE" (How It Works)
   ============================================================ */

.how-it-works {
  background: var(--color-bg);
}

.how-it-works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
  padding-top: var(--space-8);
}

/* Ligne de connexion entre les étapes */
.how-it-works__grid::before {
  content: '';
  position: absolute;
  top: 64px;
  left: calc(16.67% + 28px);
  right: calc(16.67% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0.3;
  pointer-events: none;
}

.how-it-works__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-5);
  position: relative;
}

.step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: var(--shadow-primary);
  position: relative;
  z-index: 1;
}

.step__icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-2xl);
  background: rgba(232, 98, 28, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(232, 98, 28, 0.15);
  margin-bottom: var(--space-2);
}

.step__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.step__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.65;
}


/* ============================================================
   23. UTILITAIRES DIVERS
   ============================================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-center { text-align: center; }
.mx-auto     { margin-inline: auto; }
.mt-auto     { margin-top: auto; }

.decorative-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  margin-block: var(--space-8);
}

/* Liste avec puces en coche */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.check-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  border: 1.5px solid rgba(34, 197, 94, 0.3);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2322C55E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Lien avec flèche */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.link-arrow:hover {
  gap: var(--space-3);
}

/* Skip link accessibilité */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s ease;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}


/* ============================================================
   24. THÈME TOGGLE (bouton soleil / lune)
   ============================================================ */

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--color-bg-muted);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: var(--transition-base);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: scale(1.05);
}

/* Icônes soleil et lune */
.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Mode clair : afficher icône lune (pour indiquer qu'on peut passer en dark) */
.theme-toggle .icon-sun  { opacity: 0; transform: rotate(45deg) scale(0.8); }
.theme-toggle .icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }

/* Mode sombre : afficher icône soleil */
[data-theme="dark"] .theme-toggle .icon-sun  { opacity: 1; transform: rotate(0deg) scale(1); }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 0; transform: rotate(-45deg) scale(0.8); }


/* ============================================================
   25. SCROLLBAR PERSONNALISÉE
   ============================================================ */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border-strong);
  border-radius: var(--radius-full);
  border: 2px solid var(--color-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-muted);
}


/* ============================================================
   26. TRANSITIONS GLOBALES DU THÈME
   ============================================================ */

body,
.nav,
.trust-banner,
.use-case-card,
.feature__mockup,
.testimonial-card,
.resource-card,
.cookie-banner,
.mobile-menu,
.trust-badge__icon,
.badge--trust,
.seo-content,
.mockup-header,
.mockup-body,
.swot-cell,
.gantt-bar-wrapper,
.module-tag,
.btn-outline,
.btn-icon,
.theme-toggle {
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}


/* ============================================================
   27. ÉTATS DYNAMIQUES (JavaScript)
   ============================================================ */

body.menu-open {
  overflow: hidden;
}

body.theme-loading * {
  transition: none !important;
}

.is-loading {
  opacity: 0.5;
  pointer-events: none;
  cursor: wait;
}

/* Séquence d'animation pour les grilles de cartes */
.use-cases__grid .use-case-card:nth-child(1) { transition-delay: 0.05s; }
.use-cases__grid .use-case-card:nth-child(2) { transition-delay: 0.10s; }
.use-cases__grid .use-case-card:nth-child(3) { transition-delay: 0.15s; }
.use-cases__grid .use-case-card:nth-child(4) { transition-delay: 0.20s; }

.testimonials__grid .testimonial-card:nth-child(1) { transition-delay: 0.05s; }
.testimonials__grid .testimonial-card:nth-child(2) { transition-delay: 0.15s; }
.testimonials__grid .testimonial-card:nth-child(3) { transition-delay: 0.25s; }

.resources__grid .resource-card:nth-child(1) { transition-delay: 0.05s; }
.resources__grid .resource-card:nth-child(2) { transition-delay: 0.15s; }
.resources__grid .resource-card:nth-child(3) { transition-delay: 0.25s; }

/* Animation d'entrée page */
html {
  animation: page-enter 0.2s ease-out;
}


/* ============================================================
   28. FOCUS AVANCÉ (accessibilité)
   ============================================================ */

.nav__link:focus-visible,
.btn:focus-visible,
.footer__links a:focus-visible,
.use-case-card__link:focus-visible,
.resource-card__title a:focus-visible,
.mobile-menu__link:focus-visible,
.theme-toggle:focus-visible,
.seo-content__toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}


/* ============================================================
   29. IMPRESSION
   ============================================================ */

@media print {
  .nav,
  .cookie-banner,
  .mobile-menu,
  .cta-final,
  .seo-content__toggle,
  .hero__orb,
  .cta-final__orb {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section {
    padding-block: 2rem;
    break-inside: avoid;
  }
}


/* ============================================================
   30. RÉDUCTION DES MOUVEMENTS (accessibilité)
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero__orb,
  .cta-final__orb,
  .hero__visual-card--secondary {
    animation: none;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }

  html {
    animation: none;
  }
}


/* ============================================================
   31. PRÉFÉRENCE COULEURS DU SYSTÈME
   (fallback si JS désactivé, pas de data-theme)
   ============================================================ */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    --color-bg:            #0B1120;
    --color-bg-subtle:     #111827;
    --color-bg-muted:      #1E293B;
    --color-surface:       #151D2E;
    --color-surface-raised:#1A2540;
    --color-text:          #F1F5F9;
    --color-text-secondary:#94A3B8;
    --color-text-muted:    #64748B;
    --color-text-inverse:  #0B1120;
    --color-border:        #1E293B;
    --color-border-strong: #334155;
    --shadow-xs:  0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md:  0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg:  0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-xl:  0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    --shadow-primary: 0 8px 24px rgba(232, 98, 28, 0.4);
    --shadow-primary-lg: 0 16px 40px rgba(232, 98, 28, 0.5);
  }
}


/* ============================================================
   32. RESPONSIVE — TABLETTE (≤ 1024px)
   ============================================================ */

@media (max-width: 1024px) {

  :root {
    --space-section: 5rem;
    --container-padding: 1.25rem;
  }

  /* Typographie réduite */
  .hero__title    { font-size: var(--text-5xl); }
  .section-title  { font-size: var(--text-3xl); }
  .feature__title { font-size: var(--text-3xl); }
  .cta-final__title { font-size: var(--text-4xl); }

  /* Hero — colonne unique */
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: center;
  }

  .hero__content {
    align-items: center;
  }

  .hero__subtitle {
    max-width: 600px;
    text-align: center;
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__visual {
    justify-content: center;
  }

  .hero__visual-card--main {
    max-width: 480px;
    transform: none;
  }

  .hero__visual-card--main:hover {
    transform: none;
  }

  /* Navigation — masquer les liens et actions sur tablette */
  .nav__links   { display: none; }
  .nav__actions { display: none; }

  .nav__burger {
    display: flex;
    margin-left: auto;
  }

  /* Use Cases — 2 colonnes */
  .use-cases__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Features — colonne unique */
  .feature {
    grid-template-columns: 1fr;
    gap: var(--space-10);
    margin-bottom: var(--space-16);
  }

  .feature--rtl {
    direction: ltr;
  }

  /* Témoignages — 2 colonnes */
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Ressources — 2 colonnes */
  .resources__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* How it works — vertical */
  .how-it-works__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .how-it-works__grid::before {
    display: none;
  }

  .how-it-works__step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: var(--space-5);
  }

  /* Footer — 2 colonnes */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer__col--brand {
    grid-column: 1 / -1;
  }
}


/* ============================================================
   33. RESPONSIVE — TABLETTE PORTRAIT (641px - 1024px)
   ============================================================ */

@media (min-width: 641px) and (max-width: 1024px) {

  .use-case-card {
    padding: var(--space-8);
  }

  /* Aligner les features au centre */
  .feature {
    max-width: 700px;
    margin-inline: auto;
  }

  /* Ressources — centrer sur une colonne */
  .resources__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }
}


/* ============================================================
   34. RESPONSIVE — MOBILE (≤ 640px)
   ============================================================ */

@media (max-width: 640px) {

  :root {
    --space-section: 3.5rem;
    --container-padding: 1rem;
    --nav-height: 80px;
  }

  /* Typographie mobile */
  .hero__title     { font-size: var(--text-4xl); }
  .section-title   { font-size: var(--text-2xl); }
  .section-subtitle { font-size: var(--text-base); }
  .feature__title  { font-size: var(--text-2xl); }
  .cta-final__title { font-size: var(--text-3xl); }

  /* Héro mobile */
  .hero {
    padding-top: calc(var(--nav-height) + 2.5rem);
    padding-bottom: 3rem;
  }

  .hero__title br { display: none; }

  .hero__badge {
    justify-content: center;
  }

  .hero__cta {
    flex-direction: column;
    width: 100%;
  }

  .hero__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__trust {
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
  }

  .trust-stat__divider { display: none; }

  /* Trust banner — vertical */
  .trust-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-5);
    padding-inline: var(--space-4);
  }

  /* Use Cases — colonne unique */
  .use-cases__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .use-case-card {
    padding: var(--space-6);
  }

  /* Features mobile */
  .feature {
    margin-bottom: var(--space-12);
  }

  /* Témoignages — colonne unique */
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  /* Ressources — colonne unique */
  .resources__grid {
    grid-template-columns: 1fr;
  }

  /* How it works — vertical */
  .how-it-works__step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* CTA Final */
  .btn-xl {
    padding: 1rem 2rem;
    font-size: var(--text-lg);
    width: 100%;
    justify-content: center;
  }

  /* Footer mobile */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding-block: var(--space-10);
  }

  .footer__col--brand {
    grid-column: auto;
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-4);
  }

  /* Cookie banner mobile */
  .cookie-banner {
    bottom: var(--space-4);
    width: calc(100% - 2rem);
  }

  .cookie-banner__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .btn {
    flex: 1;
  }

  /* Modules tags mobile */
  .modules-tags {
    gap: var(--space-1) var(--space-2);
  }

  /* Carte secondaire SWOT — masquée sur très petit écran */
  .hero__visual-card--secondary {
    display: none;
  }
}


/* ============================================================
   35. RESPONSIVE — LARGE (≥ 1400px)
   ============================================================ */

@media (min-width: 1400px) {
  :root {
    --container-max: 1320px;
    --space-section: 9rem;
  }

  .hero__title      { font-size: var(--text-7xl); }
  .section-title    { font-size: 2.75rem; }
  .feature__title   { font-size: 2.75rem; }

  .hero__visual-card--main {
    max-width: 600px;
  }

  .use-cases__grid {
    gap: var(--space-8);
  }
}


/* ============================================================
   36. COMPATIBILITÉ — FALLBACKS
   ============================================================ */

/* Fallback aspect-ratio pour vieux navigateurs */
@supports not (aspect-ratio: 16 / 9) {
  .screenshot-container,
  .resource-card__image-link {
    padding-bottom: 56.25%;
    height: 0;
    position: relative;
  }

  .screenshot-container > *,
  .resource-card__image-link > * {
    position: absolute;
    inset: 0;
  }
}

/* Fallback CSS custom properties */
@supports not (color: var(--color-primary)) {
  body {
    font-family: system-ui, sans-serif;
    color: #1E293B;
    background: #fff;
  }

  .btn-primary {
    background: #E8621C;
    color: #fff;
  }
}

/* Fallback gap en flexbox pour Safari < 14 */
@supports not (gap: 1rem) {
  .hero__cta > * + *,
  .nav__links > * + *,
  .trust-badges > * + *,
  .footer__socials > * + * {
    margin-left: 1rem;
  }
}


/* ============================================================
   FIN DU FICHIER style.css
   StratPilote.com — Redesign v2.0.0
   Inspiré d'edrawsoft.com/fr/
   2600+ lignes — Design complet, accessible, responsive
   ============================================================ */
