


/* Screen reader only - RGAA accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip to content - RGAA accessibility */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--color-primary, #0F172A);
  color: var(--color-accent-light, #5DD83D);
  padding: 0.75rem 1.5rem;
  z-index: 100000;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-bottom-right-radius: 0.5rem;
  transition: top 0.2s ease;
}

.skip-to-content:focus {
  top: 0;
  outline: 3px solid var(--color-accent, #5DD83D);
  outline-offset: 2px;
}

/* Reset et base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ============================================================
   PALETTE PRÉCÉDENTE (Navy+Gold) — archivée pour rollback
   git diff main -- assets/styles/app.css pour revoir les valeurs
   Pivot vers OKLCH plum + vert électrique pour sortir du cliché
   "Corporate Trust Banking Palette".
   ============================================================ */
:root {
  /* Plum drenched + Electric green - OKLCH Fintech Modern Palette */
  --color-primary: oklch(18% 0.025 290);
  --color-primary-light: oklch(28% 0.035 290);
  --color-primary-dark: oklch(12% 0.02 290);
  --color-primary-rgb: 26, 19, 38;

  --color-secondary: oklch(35% 0.04 290);
  --color-secondary-light: oklch(45% 0.05 290);
  --color-secondary-dark: oklch(28% 0.035 290);
  --color-secondary-rgb: 70, 50, 90;

  --color-accent: oklch(78% 0.19 145);
  --color-accent-hover: oklch(72% 0.18 145);
  --color-accent-light: oklch(85% 0.16 145);
  --color-accent-dark: oklch(68% 0.18 145);
  --color-accent-on-light: oklch(42% 0.14 145);
  --color-accent-rgb: 145, 230, 100;

  /* Backgrounds */
  --color-background: oklch(98% 0.005 290);
  --color-background-light: oklch(96% 0.007 290);
  --color-background-secondary: oklch(93% 0.01 290);
  --color-surface: oklch(99% 0.003 290);
  --color-hover: oklch(96% 0.007 290);

  /* States */
  --color-success: oklch(65% 0.14 155);
  --color-success-light: oklch(72% 0.15 155);
  --color-success-dark: oklch(55% 0.13 155);
  --color-success-rgb: 30, 165, 110;

  --color-error:   oklch(58% 0.20 25);
  --color-error-light: oklch(68% 0.20 25);
  --color-error-dark: oklch(50% 0.20 25);
  --color-error-rgb: 220, 60, 50;

  --color-warning: oklch(75% 0.15 75);
  --color-warning-light: oklch(82% 0.14 75);
  --color-warning-dark: oklch(65% 0.15 75);
  --color-warning-rgb: 230, 165, 60;

  --color-info:    oklch(62% 0.13 235);
  --color-info-light: oklch(72% 0.13 235);
  --color-info-dark: oklch(52% 0.14 235);
  --color-info-rgb: 60, 140, 220;

  /* Text */
  --color-text: oklch(18% 0.015 290);
  --color-text-light: oklch(50% 0.012 290);
  --color-text-secondary: oklch(50% 0.012 290);
  --color-text-muted: oklch(60% 0.012 290);
  --color-text-disabled: oklch(75% 0.01 290);

  /* Borders */
  --color-border: oklch(90% 0.01 290);
  --color-border-light: oklch(95% 0.008 290);
  --color-border-dark: oklch(82% 0.012 290);

  /* Banking colors — repointés vers la nouvelle palette plum/vert */
  --color-banking-blue: oklch(35% 0.04 290);
  --color-banking-green: oklch(65% 0.14 155);
  --color-banking-red: oklch(58% 0.20 25);
  --color-banking-purple: oklch(35% 0.04 290);
  --color-banking-orange: oklch(75% 0.15 75);

  /* Grays — tintés plum 290° pour cohérence avec la palette principale */
  --color-gray-50:  oklch(98% 0.005 290);
  --color-gray-100: oklch(95% 0.008 290);
  --color-gray-200: oklch(90% 0.01 290);
  --color-gray-300: oklch(82% 0.012 290);
  --color-gray-400: oklch(70% 0.012 290);
  --color-gray-500: oklch(58% 0.012 290);
  --color-gray-600: oklch(45% 0.015 290);
  --color-gray-700: oklch(35% 0.018 290);
  --color-gray-800: oklch(25% 0.02 290);
  --color-gray-900: oklch(18% 0.022 290);

  /* Overlays - Navy based */
  --color-overlay: rgba(15, 23, 42, 0.6);
  --color-overlay-light: rgba(15, 23, 42, 0.3);
  --color-overlay-dark: rgba(15, 23, 42, 0.8);

  --color-white-alpha-10: rgba(255, 255, 255, 0.1);
  --color-white-alpha-15: rgba(255, 255, 255, 0.15);
  --color-white-alpha-20: rgba(255, 255, 255, 0.2);
  --color-white-alpha-50: rgba(255, 255, 255, 0.5);

  --color-black-alpha-5: rgba(15, 23, 42, 0.05);
  --color-black-alpha-10: rgba(15, 23, 42, 0.1);
  --color-black-alpha-15: rgba(15, 23, 42, 0.15);
  --color-black-alpha-25: rgba(15, 23, 42, 0.25);

  /* Typography - Corporate Trust */
  --font-family-heading: 'Departure Mono', ui-monospace, 'SF Mono', Menlo, Monaco, monospace;
  --font-family-base: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-family-mono: 'Departure Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Spacing (4px system) */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;

  /* Border radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows - Navy based, elegant */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 16px 48px rgba(15, 23, 42, 0.12);
  --shadow-2xl: 0 24px 64px rgba(15, 23, 42, 0.16);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;

  /* Échelle modulaire ratio 1.25 (major third) - Impeccable */
  --text-xs:   0.75rem;   /* 12px - mentions légales, micro-labels */
  --text-sm:   0.875rem;  /* 14px - secondary text */
  --text-base: 1rem;      /* 16px - body */
  --text-lg:   1.25rem;   /* 20px - lead */
  --text-xl:   1.5rem;    /* 24px - h3 */
  --text-2xl:  1.875rem;  /* 30px - h2 */
  --text-3xl:  2.5rem;    /* 40px - h1 */
  --text-4xl:  clamp(2.5rem, 4vw + 1rem, 4rem); /* hero h1 fluide */

  /* Lecture confortable */
  --measure: 65ch;

  /* ============================================================
     SPACING FLUIDE - clamp(min, fluide, max)
     Utilisable pour padding section, gap grid, marges responsive
     sans media queries.
     ============================================================ */
  --space-3xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.375rem);   /* 4-6px */
  --space-2xs: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);      /* 8-12px */
  --space-xs:  clamp(0.75rem, 0.6rem + 0.75vw, 1rem);       /* 12-16px */
  --space-sm:  clamp(1rem, 0.8rem + 1vw, 1.5rem);            /* 16-24px */
  --space-md:  clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);       /* 24-36px */
  --space-lg:  clamp(2rem, 1.5rem + 2.5vw, 3.5rem);          /* 32-56px */
  --space-xl:  clamp(3rem, 2rem + 5vw, 6rem);                /* 48-96px */
  --space-2xl: clamp(4rem, 2.5rem + 7.5vw, 9rem);            /* 64-144px */

  /* ============================================================
     BREAKPOINTS - mobile-first (utiliser via @media (min-width: ...))
     Aussi exposés en custom-media si PostCSS plus tard.
     ============================================================ */
  --bp-sm: 640px;    /* Phone large */
  --bp-md: 768px;    /* Tablet portrait */
  --bp-lg: 1024px;   /* Tablet landscape / small laptop */
  --bp-xl: 1280px;   /* Desktop */
  --bp-2xl: 1536px;  /* Large desktop */

  /* ============================================================
     CONTAINER WIDTHS
     ============================================================ */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  --container-2xl: 1440px;

  /* ============================================================
     ASPECT RATIOS communs
     ============================================================ */
  --ratio-square: 1 / 1;
  --ratio-portrait: 3 / 4;
  --ratio-landscape: 4 / 3;
  --ratio-widescreen: 16 / 9;
  --ratio-cinematic: 21 / 9;
  --ratio-golden: 1.618 / 1;

  /* ============================================================
     TOUCH TARGETS - WCAG 2.5.5 minimum 44×44px
     ============================================================ */
  --touch-target-min: 44px;
}

html {
  scroll-behavior: smooth;
}

/* Typographie raffinée - hiérarchie poids+taille, chiffres alignés, balance */
body {
  font-feature-settings: "kern", "liga", "calt";
  font-kerning: normal;
}

h1, h2, h3 {
  text-wrap: balance;
  letter-spacing: -0.02em;
}

article p,
.home__hero-description,
.home__simulation-description,
.section-description {
  text-wrap: pretty;
  max-width: var(--measure);
}

/* Chiffres alignés (stats, taux, montants, prix) */
.tabular,
.home__hero-stat-number,
.home__simulation-card-features,
.home__credit-rate-value,
.home__credit-card-amount,
.credit-highlight__value,
.credit-detail-hero__title,
.benefit-card__value,
.home__simulation-cta-content {
  font-variant-numeric: tabular-nums;
}

body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-family-base);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   UTILITAIRES RESPONSIVE
   ============================================================ */

/* Conteneur fluide standard */
.container-fluid {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--space-sm);
  max-width: var(--container-xl);
}

@media (min-width: 1280px) {
  .container-fluid { padding-inline: var(--space-md); }
}

/* Stack vertical fluide (utile pour les sections) */
.stack-fluid > * + * {
  margin-block-start: var(--space-md);
}

/* Cluster horizontal flex avec wrap */
.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

/* Auto-fit grid responsive (cards) */
.auto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--space-md);
}

/* Visually-hidden on mobile, visible on desktop */
.show-on-md {
  display: none;
}
@media (min-width: 768px) {
  .show-on-md { display: revert; }
}

/* Visible mobile, hidden desktop */
.hide-on-md {
  display: revert;
}
@media (min-width: 768px) {
  .hide-on-md { display: none; }
}

/* Touch target garanti */
.touch-target {
  min-height: var(--touch-target-min);
  min-width: var(--touch-target-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Aspect ratio helpers */
.ratio-square { aspect-ratio: var(--ratio-square); }
.ratio-portrait { aspect-ratio: var(--ratio-portrait); }
.ratio-landscape { aspect-ratio: var(--ratio-landscape); }
.ratio-widescreen { aspect-ratio: var(--ratio-widescreen); }
.ratio-cinematic { aspect-ratio: var(--ratio-cinematic); }

/* Container queries support (modern browsers) */
.container-cq {
  container-type: inline-size;
}

/* WCAG 2.5.5 - touch targets ≥44×44px sur tous les CTA */
button,
.btn,
[class*="__btn"]:not([class*="__btn-icon"]),
[class*="-btn"]:not([class*="-btn-icon"]) {
  min-height: var(--touch-target-min);
}

/* Sécurité fluid - empêche débordement */
img, picture, video, svg {
  max-width: 100%;
  height: auto;
}

/* Liens cliquables touch-friendly sur mobile */
@media (max-width: 768px) {
  .footer__link,
  .header__nav-link {
    padding-block: 0.5rem;
  }
}

/* WCAG 2.5.5 - cibles tactiles ≥44px sur la nav mobile + CTA header */
@media (max-width: 1024px) {
  .header__nav-link,
  .header__cta,
  .header__login-btn,
  .header__mobile-link,
  .header__mobile-toggle,
  .header__mobile-sublink,
  .header__mobile-login,
  .header__mobile-apply {
    padding-block: 0.75rem;
    min-height: var(--touch-target-min, 44px);
    display: inline-flex;
    align-items: center;
  }
  /* Préserve la disposition centrée des CTAs mobiles */
  .header__mobile-apply,
  .header__mobile-login {
    justify-content: center;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: inherit;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  padding: 0;
}

/* Header is sticky, no padding-top needed */

a {
  text-decoration: none;
  color: var(--color-secondary);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-on-light, #2D7335);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-name: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html {
    scroll-behavior: auto;
  }
  /* Désactive les keyframes décoratives (float, slideUp, fadeInUp) */
  .home__hero-bg-circle--1,
  .home__hero-bg-circle--2,
  .home__hero-floating-card {
    animation: none !important;
    transform: none !important;
  }
}

/* ===== HEADER - Corporate Trust ===== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: 72px;
}

.header__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  height: 100%;
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--spacing-xl);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}

.header__logo-icon {
  display: flex;
  align-items: center;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.header__logo-name {
  font-family: var(--font-family-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.15em;
}

.header__logo-tagline {
  font-size: 0.5625rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.3em;
  margin-top: 2px;
}

.header__logo:hover .header__logo-name {
  color: var(--color-accent);
}

.header__logo-img {
  height: 44px;
  width: auto;
  min-width: 140px;
  display: block;
}

/* Desktop Navigation */
.header__nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.header__dropdown {
  position: relative;
}

.header__nav-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-family-base);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.header__nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

/* IA: Active state for top nav (matches current section) */
.header__nav-link--active {
  position: relative;
  color: #FFFFFF;
}
.header__nav-link--active::after {
  content: '';
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: -2px;
  height: 2px;
  background: var(--color-accent, #5DD83D);
  border-radius: 2px;
}

.header__nav-icon {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.header__nav-chevron {
  width: 14px;
  height: 14px;
  opacity: 0.5;
  transition: transform var(--transition-fast);
}

.header__dropdown:hover .header__nav-chevron {
  transform: rotate(180deg);
}

.header__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  margin-top: 0.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  min-width: 220px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.header__dropdown:hover .header__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.header__dropdown-item {
  display: block;
  padding: 0.625rem 1rem;
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.header__dropdown-item:hover {
  background: var(--color-background);
  color: var(--color-secondary);
}

/* Header Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.header__login-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.header__login-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.header__login-icon {
  width: 18px;
  height: 18px;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-family-heading);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  text-decoration: none;
  cursor: pointer;
}

.header__cta:hover {
  background: var(--color-accent-hover);
  color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(93, 216, 61, 0.3);
}

.header__cta-icon {
  width: 16px;
  height: 16px;
}

/* Hamburger */
.header__mobile-btn {
  display: none;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.header__hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Overlay */
.header__mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: var(--z-modal-backdrop);
}

.header__mobile-overlay.active {
  display: block;
}

/* Mobile Menu */
.header__mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: var(--color-primary);
  z-index: var(--z-modal);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
}

.header__mobile-menu.active {
  transform: translateX(0);
}

.header__mobile-content {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.header__mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--spacing-lg);
}

.header__mobile-logo {
  height: 32px;
  width: auto;
}

.header__mobile-close {
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: white;
}

.header__mobile-close-icon {
  width: 20px;
  height: 20px;
  color: white;
}

/* Mobile Nav */
.header__mobile-nav {
  flex: 1;
}

.header__mobile-dropdown {
  margin-bottom: 0.25rem;
}

.header__mobile-link,
.header__mobile-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  font-weight: 500;
  background: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.header__mobile-link:hover,
.header__mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.header__mobile-icon {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

.header__mobile-text {
  flex: 1;
}

.header__mobile-chevron {
  margin-left: auto;
  transition: transform var(--transition-fast);
}

.header__mobile-chevron svg,
.header__mobile-chevron .header__mobile-chevron-icon {
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

.header__mobile-submenu {
  display: none;
  padding-left: 2.5rem;
}

.header__mobile-submenu.active {
  display: block;
}

.header__mobile-sublink {
  display: block;
  padding: 0.625rem 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.header__mobile-sublink:hover {
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.05);
}

/* Mobile CTA */
.header__mobile-cta {
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.header__mobile-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-weight: 500;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.header__mobile-login:hover {
  background: rgba(255, 255, 255, 0.1);
}

.header__mobile-login-icon {
  width: 20px;
  height: 20px;
}

.header__mobile-apply {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem;
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-family-heading);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.header__mobile-apply:hover {
  background: var(--color-accent-dark);
}

/* Responsive Header */
@media (max-width: 1024px) {
  .header__nav {
    display: none;
  }

  .header__login-btn {
    display: none;
  }

  .header__mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
  }

  .header {
    height: 64px;
  }
}

/* CTA mobile compact : icône seule, libère la place pour le hamburger */
@media (max-width: 768px) {
  .header__cta {
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    justify-content: center;
    flex-shrink: 0;
  }
  .header__cta-text {
    display: none;
  }
  .header__cta-icon {
    width: 18px;
    height: 18px;
  }
}

/* Force-hide mobile menu on desktop (defensive: empêche un état .active résiduel d'apparaître) */
@media (min-width: 1025px) {
  .header__mobile-menu,
  .header__mobile-menu.active,
  .header__mobile-overlay,
  .header__mobile-overlay.active {
    display: none !important;
    visibility: hidden !important;
    transform: translateX(100%) !important;
  }
}

/* Sélecteur de langue flottant */
.translate-floating {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 9999;
}

.translate-container {
  position: relative;
}

.translate-button {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  border: none;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all var(--transition-slow);
}

.translate-button:hover {
  background: var(--color-accent);
  color: var(--color-background);
}

.translate-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), 0.1);
}

.flag-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
}

.chevron-icon {
  width: 1rem;
  height: 1rem;
}

.translate-dropdown {
  position: absolute;
  right: 0;
  bottom: 100%;
  margin-bottom: var(--spacing-sm);
  width: 10rem;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-dropdown);
  opacity: 1;
  visibility: visible;
  transition: all var(--transition-base);
}

.translate-dropdown.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.translate-dropdown a {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 0.75rem;
  color: var(--color-text);
  text-decoration: none;
  transition: background-color var(--transition-base);
}

.translate-dropdown a:hover {
  background: var(--color-background-light);
}

.translate-dropdown a:first-child {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.translate-dropdown a:last-child {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* ===== FOOTER - Corporate Trust ===== */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.8);
  padding-top: var(--spacing-4xl);
}

.footer__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: var(--spacing-2xl);
  padding-bottom: var(--spacing-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand {
  padding-right: var(--spacing-xl);
}

.footer__logo {
  display: inline-block;
  margin-bottom: var(--spacing-md);
}

.footer__logo-img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__description {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-lg);
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

.footer__social-icon {
  width: 18px;
  height: 18px;
}

.footer__title {
  font-family: var(--font-family-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: white;
  margin-bottom: var(--spacing-lg);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.footer__link:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer__contact-icon {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__contact-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.footer__contact-value {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Footer Bottom */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg) 0;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer__copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer__reg {
  color: rgba(255, 255, 255, 0.8);
}

.footer__certs {
  display: flex;
  gap: var(--spacing-lg);
}

.footer__cert {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer__cert-icon {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}

/* Footer Responsive */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== ICON SYMFONY UX ===== */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
  color: currentColor;
}

.icon--large {
  width: 2rem;
  height: 2rem;
}

.icon--small {
  width: 1rem;
  height: 1rem;
  margin-right: 0.25rem;
}

/* Icônes dans les titres */
h1 .icon,
h2 .icon,
h3 .icon {
  margin-right: 0.75rem;
  color: var(--color-primary);
}

/* Icônes dans les boutons */
.btn .icon {
  margin-right: 0.5rem;
}

.btn--primary .icon {
  color: white;
}

.btn--secondary .icon {
  color: var(--color-primary);
}

/* Icônes dans les éléments de confirmation */
.credit-confirmation__success-icon .icon {
  width: 3rem;
  height: 3rem;
  color: var(--color-success);
}

.credit-confirmation__timeline-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-primary);
}

/* Animation subtile pour les icônes interactives */
.icon--interactive {
  transition: transform 0.2s ease, color 0.2s ease;
}

.icon--interactive:hover {
  transform: scale(1.1);
}

.inline-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
}

/* Smooth scroll and transitions */
.section-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   IA — Global breadcrumb (Task 4)
   Rendered between header and main on every page except home.
   ============================================================ */
.breadcrumb {
  background: transparent;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border, rgba(0,0,0,0.06));
}

.breadcrumb__container {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

.breadcrumb__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm, 0.875rem);
  margin: 0;
  padding: 0;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb__item:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: var(--color-text-muted, #9ca3af);
  user-select: none;
}

.breadcrumb__link {
  color: var(--color-text-secondary, #6b7280);
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumb__link:hover {
  color: var(--color-accent-on-light, #2D7335);
  text-decoration: underline;
}

.breadcrumb__link--static {
  cursor: default;
}
.breadcrumb__link--static:hover {
  text-decoration: none;
  color: var(--color-text-secondary, #6b7280);
}

.breadcrumb__item--current {
  color: var(--color-text, #111827);
  font-weight: 500;
}

@media (max-width: 480px) {
  .breadcrumb {
    padding: 0.5rem 0;
  }
  .breadcrumb__container {
    padding-inline: 1rem;
  }
  .breadcrumb__list {
    font-size: 0.8125rem;
  }
}

