/* ==========================================================================
   NOVRAKA — STYLE OFFICIEL
   Site vitrine fintech premium
   Identité de marque : "On avance, vous avancez"
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs Officielles Novraka (Charte Graphique) */
  --novraka-blue: #0A2A66;
  --novraka-green: #1FCB7A;
  --novraka-light-blue: #E8EEF9;
  --novraka-text: #1E293B;
  --white: #FFFFFF;

  /* Teintes dérivées et neutres */
  --novraka-blue-dark: #061B44;
  --novraka-blue-light: #16408F;
  --novraka-green-hover: #19B66D;
  --novraka-green-light: rgba(31, 203, 122, 0.12);
  --novraka-blue-subtle: rgba(10, 42, 102, 0.04);
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --bg-page: #FFFFFF;
  --bg-surface: #F8FAFC;
  --border-light: rgba(10, 42, 102, 0.08);
  --border-card: rgba(10, 42, 102, 0.06);

  /* Typographies */
  --font-heading: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Espacements & Rayons */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Ombres Fintech Premium */
  --shadow-xs: 0 1px 3px rgba(10, 42, 102, 0.05);
  --shadow-sm: 0 4px 12px rgba(10, 42, 102, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(10, 42, 102, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(10, 42, 102, 0.12);
  --shadow-xl: 0 30px 60px -15px rgba(10, 42, 102, 0.18);
  --shadow-green: 0 10px 25px rgba(31, 203, 122, 0.35);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Conteneur */
  --container-max: 1220px;
  --container-padding: clamp(1.25rem, 4vw, 2.5rem);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--novraka-text);
  background-color: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--novraka-green);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHIE
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--novraka-blue);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 5vw + 0.5rem, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw + 0.25rem, 2.85rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.25rem, 2vw + 0.1rem, 1.5rem);
  font-weight: 600;
}

p {
  color: var(--novraka-text);
  font-size: clamp(1rem, 1vw + 0.2rem, 1.125rem);
}

.text-muted {
  color: var(--text-muted);
}

.text-green {
  color: var(--novraka-green);
}

.text-blue {
  color: var(--novraka-blue);
}

.text-white {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   4. LAYOUT & UTILITAIRES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding-top: clamp(4.5rem, 8vw, 7.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 7.5rem);
  position: relative;
}

.section-light {
  background-color: var(--bg-surface);
}

.section-blue {
  background-color: var(--novraka-blue);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background-color: var(--novraka-light-blue);
  color: var(--novraka-blue);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.section-badge.on-dark {
  background-color: rgba(232, 238, 249, 0.15);
  color: #C6D7F6;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.section-badge .chevron-mini {
  color: var(--novraka-green);
  font-weight: 800;
  display: inline-block;
  transform: translateX(1px);
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
}

.section-blue .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

/* Motif de chevrons subtil en arrière-plan */
.chevron-pattern-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.chevron-pattern-bg svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.04;
}

.chevron-pattern-dark svg {
  opacity: 0.06;
}

/* Séparateur élégant bicolore bleu + vert */
.brand-divider {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 1.25rem auto;
  width: 60px;
  height: 4px;
}

.brand-divider .bar-blue {
  flex: 2;
  height: 100%;
  background-color: var(--novraka-blue);
  border-radius: 2px;
}

.brand-divider .bar-green {
  flex: 3;
  height: 100%;
  background-color: var(--novraka-green);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   5. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  z-index: 1000;
  border-bottom: 1px solid rgba(10, 42, 102, 0.06);
  transition: box-shadow var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(10, 42, 102, 0.08);
  border-bottom-color: rgba(10, 42, 102, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Logo officiel */
.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.header-logo:hover img {
  transform: scale(1.02);
}

/* Navigation principale */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--novraka-text);
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--novraka-green);
  border-radius: 2px;
  transition: width var(--transition-smooth);
}

.nav-link:hover {
  color: var(--novraka-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--novraka-blue);
  font-weight: 600;
}

/* Header Actions CTA */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Hamburger pour mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border-radius: var(--radius-sm);
  z-index: 1001;
  transition: background-color var(--transition-fast);
}

.nav-toggle:hover {
  background-color: var(--novraka-light-blue);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--novraka-blue);
  border-radius: 2px;
  transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

/* État hamburger ouvert */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(10px);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. BOUTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.65rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
  position: relative;
  cursor: pointer;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Bouton principal Vert Novraka */
.btn-primary {
  background-color: var(--novraka-green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(31, 203, 122, 0.35);
  border: 1px solid var(--novraka-green);
}

.btn-primary:hover {
  background-color: var(--novraka-green-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(31, 203, 122, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Bouton secondaire Contour Bleu */
.btn-secondary {
  background-color: transparent;
  color: var(--novraka-blue);
  border: 1.5px solid var(--novraka-blue);
}

.btn-secondary:hover {
  background-color: var(--novraka-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 42, 102, 0.15);
}

/* Bouton secondaire sur fond sombre */
.btn-secondary-light {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary-light:hover {
  background-color: var(--white);
  color: var(--novraka-blue);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.05rem 2rem;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   7. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 85% 20%, rgba(232, 238, 249, 0.7) 0%, rgba(255, 255, 255, 1) 60%);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
}

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

.hero-content {
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  background-color: var(--novraka-light-blue);
  color: var(--novraka-blue);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-xs);
}

.hero-badge .chevrons-icon {
  display: inline-flex;
  color: var(--novraka-green);
  font-size: 0.95rem;
  letter-spacing: -2px;
}

.hero-title {
  margin-bottom: 1.25rem;
}

.hero-title .text-green {
  color: var(--novraka-green);
}

.hero-lead {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 600;
  color: var(--novraka-blue);
  margin-bottom: 1.15rem;
  line-height: 1.35;
}

.hero-description {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-reassurance {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-reassurance-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--novraka-green-light);
  color: var(--novraka-green);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Zone visuelle droite du Hero */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-showcase {
  position: relative;
  width: 100%;
  max-width: 480px;
}

/* Cadre pour la maquette smartphone de l'application Novraka */
.hero-mockup-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(10, 42, 102, 0.22);
  border: 1px solid rgba(10, 42, 102, 0.08);
  background: #f8fafc;
}

.hero-mockup-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Cible le quadrant supérieur droit de D.jpeg : smartphone tenu en main avec l'application Novraka */
  object-position: 88% 12%;
  transition: transform var(--transition-slow);
}

.hero-mockup-frame:hover img {
  transform: scale(1.03);
}

/* Cartes flottantes animées autour du Hero */
.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px -8px rgba(10, 42, 102, 0.16);
  border: 1px solid rgba(10, 42, 102, 0.08);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 2;
  animation: floatAnimation 6s ease-in-out infinite alternate;
}

.hero-float-card.card-facture {
  top: -24px;
  right: -20px;
  animation-delay: 0s;
}

.hero-float-card.card-dossier {
  bottom: -20px;
  left: -24px;
  animation-delay: 1.5s;
}

.hero-float-card.card-financement {
  bottom: 42px;
  right: -28px;
  animation-delay: 3s;
}

.float-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

.float-icon.icon-blue {
  background-color: var(--novraka-light-blue);
  color: var(--novraka-blue);
}

.float-icon.icon-green {
  background-color: var(--novraka-green-light);
  color: var(--novraka-green);
}

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

.float-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.float-value {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--novraka-blue);
}

.float-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--novraka-green);
  margin-top: 1px;
}

@keyframes floatAnimation {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-8px);
  }
}

/* --------------------------------------------------------------------------
   8. ARGUMENTS CLÉS (RAPIDE, SIMPLE, SÉCURISÉ)
   -------------------------------------------------------------------------- */
.arguments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.arg-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 3vw, 2.75rem) clamp(1.5rem, 2.5vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-card);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.arg-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--novraka-blue), var(--novraka-green));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.arg-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 42, 102, 0.12);
}

.arg-card:hover::before {
  opacity: 1;
}

.arg-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background-color: var(--novraka-light-blue);
  color: var(--novraka-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.arg-card:hover .arg-icon-wrapper {
  background-color: var(--novraka-green);
  color: var(--white);
  transform: scale(1.05);
}

.arg-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.arg-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--novraka-blue);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.arg-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. SECTION PROBLÈME & COMPARAISON
   -------------------------------------------------------------------------- */
.problem-card-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-card);
}

.problem-lead-text {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(2.5rem, 4vw, 3.5rem);
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  color: var(--novraka-text);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.comparison-box {
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
}

.comparison-box.box-problem {
  background: #FFF5F5;
  border: 1.5px solid #FED7D7;
}

.comparison-box.box-solution {
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
}

.comparison-box-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
}

.status-indicator.red {
  background-color: #FEE2E2;
  color: #DC2626;
}

.status-indicator.green {
  background-color: #DCFCE7;
  color: #16A34A;
}

.comparison-box-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.box-problem .comparison-box-title {
  color: #991B1B;
}

.box-solution .comparison-box-title {
  color: var(--novraka-blue);
}

/* Étapes du flux visuel comparatif */
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.flow-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.flow-step-item strong {
  font-family: var(--font-heading);
  display: block;
  margin-bottom: 0.15rem;
}

.flow-arrow-down {
  display: flex;
  justify-content: center;
  color: var(--text-light);
  font-weight: 700;
}

.box-solution .flow-step-item {
  border-left: 3px solid var(--novraka-green);
}

.box-problem .flow-step-item {
  border-left: 3px solid #EF4444;
}

/* --------------------------------------------------------------------------
   10. COMMENT ÇA MARCHE (TIMELINE)
   -------------------------------------------------------------------------- */
.timeline-wrapper {
  position: relative;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  position: relative;
}

/* Ligne horizontale reliant les étapes sur desktop */
.timeline-steps::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--novraka-blue), var(--novraka-green));
  z-index: 0;
  opacity: 0.35;
}

.timeline-step {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--novraka-blue);
  border: 3px solid var(--novraka-light-blue);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  transition: all var(--transition-smooth);
}

.timeline-step:hover .step-number {
  background-color: var(--novraka-blue);
  color: var(--white);
  border-color: var(--novraka-green);
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(10, 42, 102, 0.2);
}

.step-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-xs);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.timeline-step:hover .step-card {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 42, 102, 0.12);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--novraka-blue);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.timeline-cta {
  text-align: center;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   11. AVANTAGES
   -------------------------------------------------------------------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.benefit-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 2.5vw, 2.25rem);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-card);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 203, 122, 0.3);
}

.benefit-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background-color: var(--novraka-light-blue);
  color: var(--novraka-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.benefit-card:hover .benefit-icon {
  background-color: var(--novraka-green-light);
  color: var(--novraka-green);
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
}

.benefit-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--novraka-blue);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.benefit-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   12. SECTION CONFIANCE & SCHÉMA DES FLUX
   -------------------------------------------------------------------------- */
.trust-architecture {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-card);
  margin-top: 2rem;
}

.flow-diagram-title {
  text-align: center;
  font-size: 1.25rem;
  color: var(--novraka-blue);
  margin-bottom: 2rem;
}

/* Grille du schéma des flux */
.flow-diagram {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: center;
  position: relative;
  margin-bottom: 2.5rem;
}

.flow-node {
  background-color: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--border-card);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-xs);
}

.flow-node.node-novraka {
  background: linear-gradient(145deg, #F0F4FC, #FFFFFF);
  border: 2px solid var(--novraka-blue);
  box-shadow: var(--shadow-sm);
}

.flow-node.node-partner {
  background: linear-gradient(145deg, #F0FDF4, #FFFFFF);
  border: 2px solid var(--novraka-green);
  box-shadow: var(--shadow-sm);
}

.node-role-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.node-role-badge.badge-neutral {
  background-color: #E2E8F0;
  color: #475569;
}

.node-role-badge.badge-blue {
  background-color: var(--novraka-light-blue);
  color: var(--novraka-blue);
}

.node-role-badge.badge-green {
  background-color: var(--novraka-green-light);
  color: var(--novraka-green);
}

.node-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--novraka-blue);
  margin-bottom: 0.35rem;
}

.node-description {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* Bannière d'explication du flux financier direct */
.direct-flow-callout {
  background: linear-gradient(135deg, rgba(31, 203, 122, 0.08) 0%, rgba(10, 42, 102, 0.05) 100%);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--novraka-green);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.direct-flow-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.direct-flow-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--novraka-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.direct-flow-text h4 {
  font-size: 1.05rem;
  color: var(--novraka-blue);
  margin-bottom: 0.25rem;
}

.direct-flow-text p {
  font-size: 0.925rem;
  color: var(--text-muted);
}

.direct-flow-badge {
  background-color: var(--novraka-blue);
  color: var(--white);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Mentions légales de confiance */
.trust-disclaimer {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   13. CTA FINAL
   -------------------------------------------------------------------------- */
.cta-banner {
  background-color: var(--novraka-blue);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0.08;
}

.cta-banner-bg svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  margin-bottom: 2.25rem;
}

.cta-banner-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.cta-banner-reassurance {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

/* --------------------------------------------------------------------------
   14. FOOTER COMMUN
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--novraka-blue);
  color: var(--white);
  padding-top: clamp(4rem, 6vw, 5.5rem);
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 3.5rem;
}

.footer-brand {
  max-width: 380px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 1.25rem;
}

/* Conteneur stylisé pour logo blanc footer */
.footer-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-logo-chevrons {
  display: flex;
  align-items: center;
}

.footer-logo-chevrons svg {
  height: 28px;
  width: auto;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer-slogan {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--novraka-green);
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--novraka-green);
  transform: translateX(4px);
}

.footer-domain {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--novraka-green);
  margin-bottom: 0.75rem;
  display: inline-block;
}

/* Avertissement légal réglementaire */
.footer-disclaimer-box {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2.5rem;
}

.footer-disclaimer-box p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  text-align: center;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* --------------------------------------------------------------------------
   15. PAGES SECONDAIRES & COMPOSANTS SPÉCIFIQUES
   -------------------------------------------------------------------------- */
.subpage-hero {
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
  background: radial-gradient(circle at 80% 20%, rgba(232, 238, 249, 0.7) 0%, rgba(255, 255, 255, 1) 60%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.subpage-hero h1 {
  margin-bottom: 1.25rem;
}

.subpage-hero p {
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.6;
}

/* Grille pour profils d'entreprises (solutions.html) */
.targets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2rem);
}

.target-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-card);
  transition: all var(--transition-smooth);
}

.target-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 42, 102, 0.15);
}

.target-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background-color: var(--novraka-light-blue);
  color: var(--novraka-blue);
  margin-bottom: 1.25rem;
}

.target-card h3 {
  font-size: 1.25rem;
  color: var(--novraka-blue);
  margin-bottom: 0.75rem;
}

.target-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Grille Ce que Novraka fait vs Ce que Novraka ne fait pas (solutions.html) */
.scope-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.scope-card {
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 3.5vw, 3rem);
  box-shadow: var(--shadow-sm);
}

.scope-card.scope-yes {
  background-color: #F0FDF4;
  border: 1.5px solid #BBF7D0;
}

.scope-card.scope-no {
  background-color: #FFF5F5;
  border: 1.5px solid #FED7D7;
}

.scope-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.scope-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
}

.scope-yes .scope-icon-badge {
  background-color: #DCFCE7;
  color: #16A34A;
}

.scope-no .scope-icon-badge {
  background-color: #FEE2E2;
  color: #DC2626;
}

.scope-header h3 {
  font-size: 1.35rem;
}

.scope-yes .scope-header h3 {
  color: var(--novraka-blue);
}

.scope-no .scope-header h3 {
  color: #991B1B;
}

.scope-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.scope-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.98rem;
  line-height: 1.55;
}

.scope-bullet {
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.scope-yes .scope-bullet {
  color: var(--novraka-green);
}

.scope-no .scope-bullet {
  color: #EF4444;
}

/* Timeline complète 7 étapes (comment-ca-marche.html) */
.full-process-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 920px;
  margin: 0 auto;
}

.process-step-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-smooth);
  position: relative;
}

.process-step-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 42, 102, 0.12);
}

.process-step-badge {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  background-color: var(--novraka-light-blue);
  color: var(--novraka-blue);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.process-step-item:hover .process-step-badge {
  background-color: var(--novraka-blue);
  color: var(--white);
}

.process-step-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.process-step-actor {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--novraka-green);
  margin-bottom: 0.35rem;
}

.process-step-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--novraka-blue);
  margin-bottom: 0.5rem;
}

.process-step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Grilles À Propos (a-propos.html) */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.vision-card {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 3.5vw, 3rem);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-card);
  position: relative;
  overflow: hidden;
}

.vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--novraka-blue), var(--novraka-green));
}

.vision-card h3 {
  font-size: 1.4rem;
  color: var(--novraka-blue);
  margin-bottom: 1rem;
}

.vision-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.value-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-smooth);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 203, 122, 0.3);
}

.value-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--novraka-light-blue);
  color: var(--novraka-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.2rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.value-card:hover .value-icon {
  background-color: var(--novraka-green);
  color: var(--white);
}

.value-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--novraka-blue);
  margin-bottom: 0.5rem;
}

.value-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Carte TECHLEARN SARL Institutionnelle */
.company-spotlight-card {
  background: linear-gradient(135deg, var(--white) 0%, #F8FAFC 100%);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border-light);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.spotlight-content h3 {
  font-size: 1.6rem;
  color: var(--novraka-blue);
  margin-bottom: 1.25rem;
}

.spotlight-content p {
  color: var(--novraka-text);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.spotlight-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-card);
}

.spotlight-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Formulaire Contact Fintech (contact.html) */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.contact-info-panel {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 3.5vw, 3rem);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-card);
}

.contact-info-panel h3 {
  font-size: 1.4rem;
  color: var(--novraka-blue);
  margin-bottom: 1rem;
}

.contact-info-panel p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.contact-guarantees {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.guarantee-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--novraka-green-light);
  color: var(--novraka-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
  margin-top: 2px;
}

.guarantee-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--novraka-blue);
  margin-bottom: 0.15rem;
}

.guarantee-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Carte du formulaire */
.contact-form-card {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-card);
}

.contact-form-card h2 {
  font-size: 1.65rem;
  color: var(--novraka-blue);
  margin-bottom: 0.5rem;
}

.contact-form-card .form-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--novraka-blue);
}

.form-label .required {
  color: #DC2626;
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--novraka-text);
  background-color: var(--bg-surface);
  border: 1.5px solid rgba(10, 42, 102, 0.12);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background-color: var(--white);
  border-color: var(--novraka-blue);
  box-shadow: 0 0 0 3px rgba(10, 42, 102, 0.1);
  outline: none;
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

/* Checkbox de consentement */
.consent-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.consent-checkbox {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--novraka-green);
  cursor: pointer;
  flex-shrink: 0;
}

.consent-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.form-submit-btn {
  width: 100%;
  padding: 1.05rem;
  font-size: 1.05rem;
}

.form-disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   16. ANIMATIONS & INTERSECTION OBSERVER
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

.reveal-delay-3 {
  transition-delay: 0.36s;
}

/* Respect de l'accessibilité : prefers-reduced-motion */
@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;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-float-card {
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   17. RESPONSIVE DESIGN (MOBILE-FIRST BREAKPOINTS)
   -------------------------------------------------------------------------- */

/* Tablette & petits écrans (max 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-showcase {
    max-width: 440px;
  }

  .timeline-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .timeline-steps::before {
    display: none;
  }

  .flow-diagram {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

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

  .arguments-grid .arg-card:last-child {
    grid-column: span 2;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: span 2;
    max-width: 100%;
  }
}

/* Mobile & Tablettes en portrait (max 768px) */
@media (max-width: 768px) {
  .header-container {
    height: 70px;
  }

  .header-logo img {
    height: 40px;
  }

  /* Hamburger toggle */
  .nav-toggle {
    display: flex;
  }

  /* Menu Mobile en tiroir */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem var(--container-padding);
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.15rem;
    font-weight: 600;
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
  }

  .header-actions .btn {
    display: none; /* Déplacé à l'intérieur du menu mobile pour smartphone */
  }

  .nav-menu-cta {
    display: block !important;
    width: 100%;
    margin-top: 1rem;
    text-align: center;
  }

  .hero-mockup-frame {
    aspect-ratio: 16 / 12;
  }

  .hero-float-card {
    padding: 0.65rem 0.9rem;
  }

  .hero-float-card.card-facture {
    top: -12px;
    right: -10px;
  }

  .hero-float-card.card-dossier {
    bottom: -15px;
    left: -10px;
  }

  .hero-float-card.card-financement {
    display: none; /* Évite la surcharge visuelle sur mobile étroit */
  }

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

  .arguments-grid .arg-card:last-child {
    grid-column: span 1;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .flow-diagram {
    grid-template-columns: 1fr;
  }

  .direct-flow-callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-banner-buttons {
    flex-direction: column;
    width: 100%;
  }

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

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

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

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .scope-comparison-grid {
    grid-template-columns: 1fr;
  }

  .vision-mission-grid {
    grid-template-columns: 1fr;
  }

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

  .company-spotlight-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .form-group.full-width {
    grid-column: span 1;
  }

  .process-step-item {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
    padding: 1.25rem 1rem;
  }

  .process-step-badge {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }
}

/* Petits smartphones (max 430px & 375px & 320px) */
@media (max-width: 430px) {
  :root {
    --container-padding: 1.15rem;
  }

  .hero-mockup-frame {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
  }

  .hero-float-card {
    scale: 0.9;
  }

  .btn {
    padding: 0.8rem 1.4rem;
    font-size: 0.9rem;
  }
}
