/* ============================================
   BGFIBank RDC — Premium Institutional Design
   Version 2.0 — Inspired by BGFIBank Europe
   ============================================ */

/* Nimbus Sans Novus - Charte BGFIBank officielle */
@font-face {
  font-family: 'Nimbus Sans Novus';
  src: local('Nimbus Sans'), local('NimbusSansNovus'), local('Nimbus Sans L');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ---- CSS Variables — Charte Harmonisation BGFIBank ---- */
:root {
  /* Couleurs principales (Charte officielle) */
  --primary: #003a74;
  --navy: #003a74;
  --navy-deep: #002b56;
  --navy-light: #003a74;
  --blue-accent: #0d91d0;
  --sage: #a8b088;
  --sage-light: #c7d4a9;
  --sage-dark: #8a9470;
  --gold: #a8b088;
  --gold-light: #c7d4a9;
  --teal: #12bcbd;
  --teal-dark: #367880;

  /* Couleurs secondaires (Charte) */
  --secondary-green: #7dcaa5;
  --secondary-navy: #003666;
  --secondary-blue-light: #3f84b6;
  --secondary-blue-mid: #3098c8;

  /* Couleurs produits et services */
  --product-pink: #b03058;
  --product-green: #40a860;
  --product-orange: #e86828;
  --product-red: #e04038;
  --product-purple: #982878;

  /* Aliases pour compatibilite des pages */
  --primary: #003a74;
  --primary-dark: #002b56;
  --primary-light: #3f84b6;
  --accent-green: #a8b088;
  --accent-blue: #0d91d0;
  --light-gray: #f5f6f8;
  --mid-gray: #e8e9eb;
  --dark-gray: #333333;
  --text-gray: #bababa;
  --text-dark: #222222;
  --text-body: #444444;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-family: var(--font-body);
  --container-max: 1400px;
  --transition: all 0.3s ease;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #F8F7F4;
  --cream: #F2F0EB;
  --gray-100: #EDECEA;
  --gray-200: #D8D6D2;
  --gray-300: #B5B2AD;
  --gray-400: #8A8784;
  --gray-500: #6B6866;
  --gray-600: #4A4845;
  --gray-700: #333231;
  --gray-800: #1E1D1C;
  --black: #111111;

  /* Semantic */
  --text-primary: #1E1D1C;
  --text-secondary: #6B6866;
  --text-muted: #8A8784;
  --text-on-dark: #F8F7F4;
  --text-on-dark-muted: rgba(248,247,244,0.65);

  /* Typography — Charte: Nimbus Sans Novus */
  --font-heading: 'Nimbus Sans Novus', 'Nimbus Sans', 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Nimbus Sans Novus', 'Nimbus Sans', 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 140px;

  /* Layout — Charte: conteneur 1400px, nav 35.5px, raccourcis 76px */
  --container-max: 1400px;
  --container-wide: 1400px;
  --nav-height: 76px;
  --topbar-height: 35.5px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 700ms;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.16);
  --shadow-glow: 0 0 40px rgba(13,145,208,0.15);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width:100%; height:auto; display:block; }
a { color: inherit; text-decoration: none; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }
ul, ol { list-style:none; }

/* ---- Utilities ---- */
.container { max-width:var(--container-max); margin:0 auto; padding:0 var(--space-lg); }
.container--wide { max-width:var(--container-wide); }
.text-center { text-align:center; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.2rem; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--sage);
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform var(--duration-normal) var(--ease-out);
}

.btn:hover::after { transform: translateX(0); }

.btn--primary {
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
}
.btn--primary:hover { background: var(--navy-light); box-shadow: var(--shadow-lg); transform: translateY(-1px); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-deep);
  border: none;
}
.btn--gold:hover { box-shadow: 0 8px 30px rgba(168,176,136,0.35); transform: translateY(-1px); }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-200);
}
.btn--outline:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn--outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn--white {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--white);
}
.btn--white:hover { background: var(--off-white); box-shadow: var(--shadow-lg); transform: translateY(-1px); }

.btn--sm { padding: 10px 20px; font-size: 13px; }
.btn--lg { padding: 18px 36px; font-size: 15px; }

.btn--online {
  background: var(--sage);
  color: white;
  border: 1px solid var(--sage);
}
.btn--online:hover { background: var(--sage-dark); border-color: var(--sage-dark); }

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
  height: var(--topbar-height);
  background: #003a74;          /* Charte: #003a74 */
  color: var(--text-on-dark-muted);
  font-size: 13px;              /* Charte: 13px */
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1001;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.topbar__segments {
  display: flex;
  gap: 0;
}

.topbar__seg {
  padding: 0 16px;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  font-weight: 500;
  transition: all var(--duration-fast);
  border-bottom: 2px solid transparent;
  color: var(--text-on-dark-muted);
}

.topbar__seg:hover,
.topbar__seg.active {
  color: var(--white);
  background: #002b56;           /* Charte: element selectionne #002b56 */
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar__social {
  display: flex;
  align-items: center;
  gap: 4px;
}

.topbar__social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark-muted);
  transition: all var(--duration-fast);
  font-size: 12px;
  text-decoration: none;
}

.topbar__social a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.topbar__social a i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
}

/* ============================================
   MAIN NAVIGATION
   ============================================ */
.navbar {
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--duration-normal) var(--ease-out);
}

.navbar.scrolled {
  height: 64px;
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar__logo {
  height: 48px;
  width: auto;
  transition: height var(--duration-normal) var(--ease-out);
}

.navbar.scrolled .navbar__logo { height: 38px; }

.navbar__slogan {
  font-size: 11px;
  color: var(--blue-accent);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-left: 1px solid var(--gray-200);
  padding-left: 12px;
  line-height: 1.3;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar__link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--duration-fast);
  border-radius: var(--radius-sm);
  position: relative;
}

.navbar__link:hover { color: var(--navy); background: var(--gray-100); }

.navbar__link.active {
  color: var(--navy);
  font-weight: 600;
}

.navbar__link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.navbar__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar__search {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all var(--duration-fast);
}

.navbar__search:hover { background: var(--gray-100); color: var(--navy); }

/* Mobile toggle */
.navbar__toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--navy);
}

/* ============================================
   SUB-NAVIGATION (Services menu)
   ============================================ */
.subnav {
  background: #003666;           /* Charte: #003666 */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.subnav::-webkit-scrollbar { display:none; }

.subnav .container {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: max-content;
}

.subnav__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  transition: all var(--duration-fast);
  border-bottom: 2px solid transparent;
}

.subnav__link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.subnav__link.active {
  color: var(--white);
  border-bottom-color: var(--gold);
}

.subnav__link i { font-size: 14px; opacity: 0.8; }

.subnav__divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.15);
  margin: 0 4px;
  flex-shrink: 0;
}

/* ============================================
   BGFI STAR — Decorative element global
   ============================================ */

/* Star on hero and page-hero — VISIBLE */
.hero::after,
.page-hero::after {
  content: '';
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  background: url('../images/bgfi-star.png') center/contain no-repeat;
  opacity: 0.6;
  z-index: 2;
  pointer-events: none;
  animation: starPulse 8s ease-in-out infinite;
}

.hero--small::after {
  width: 250px;
  height: 250px;
  right: 8%;
  opacity: 0.5;
}

/* Star on parallax sections */
.parallax-section::after,
.parallax::after {
  content: '';
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  background: url('../images/bgfi-star.png') center/contain no-repeat;
  opacity: 0.1;
  z-index: 1;
  pointer-events: none;
}

/* Star on sections with dark/gray bg */
.section--dark::after,
.section--gray::after {
  content: '';
  position: absolute;
  right: 3%;
  bottom: 10%;
  width: 200px;
  height: 200px;
  background: url('../images/bgfi-star.png') center/contain no-repeat;
  opacity: 0.3;
  pointer-events: none;
}

.section--dark,
.section--gray {
  position: relative;
  overflow: hidden;
}

/* Star watermark on cards */
.service-card::before,
.feature-card::before,
.cert-card::before {
  content: '';
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 100px;
  height: 100px;
  background: url('../images/bgfi-star.png') center/contain no-repeat;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.service-card,
.feature-card,
.cert-card {
  position: relative;
  overflow: hidden;
}

/* Star on simulator */
.simulator::before {
  content: '';
  position: absolute;
  right: -10px;
  top: -10px;
  width: 150px;
  height: 150px;
  background: url('../images/bgfi-star.png') center/contain no-repeat;
  opacity: 0.45;
  pointer-events: none;
}

/* Star on info-box */
.info-box {
  position: relative;
  overflow: hidden;
}

.info-box::before {
  content: '';
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 80px;
  height: 80px;
  background: url('../images/bgfi-star.png') center/contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
}

/* Star on footer */
.footer::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -40px;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background: url('../images/bgfi-star.png') center/contain no-repeat;
  opacity: 0.3;
  pointer-events: none;
}

.footer {
  position: relative;
}

/* Subtle star pulse animation */
@keyframes starPulse {
  0%, 100% { opacity: 0.35; transform: translateY(-50%) scale(1); }
  50% { opacity: 0.45; transform: translateY(-50%) scale(1.08); }
}

/* ============================================
   HERO PRINCIPAL — Redesigned
   ============================================ */
.hero-main {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-main__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  will-change: transform;
  transform: scale(1.05);
}

.hero-main__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,27,58,0.75) 0%, rgba(0,43,86,0.5) 50%, rgba(0,58,116,0.4) 100%);
}

.hero-main__star {
  position: absolute;
  right: -5%;
  bottom: -10%;
  width: 500px;
  height: 500px;
  opacity: 0.08;
  z-index: 1;
  pointer-events: none;
}

.hero-main__grid {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 650px;
}

.hero-main__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  color: var(--sage-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(10px);
}

.hero-main__title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.hero-main__title span {
  background: linear-gradient(135deg, var(--sage), var(--sage-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-main__desc {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: var(--space-md);
}

.hero-main__desc strong { color: rgba(255,255,255,0.95); }

.hero-main__certs {
  display: flex;
  gap: 16px;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.hero-main__certs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--sage-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-main__certs span i {
  font-size: 12px;
  opacity: 0.7;
}

.hero-main__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Carte stats droite */
.hero-main__stat-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
}

.hero-main__stat {
  text-align: center;
  padding: 20px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  border-right: 1px solid rgba(255,255,255,0.06);
}

.hero-main__stat:nth-child(even) { border-right: none; }
.hero-main__stat:nth-last-child(-n+2) { border-bottom: none; }

.hero-main__stat--wide {
  grid-column: span 1;
}

.hero-main__stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-main__stat-label {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Bottom stats bar */
.hero-main__bottom-stats {
  position: relative;
  z-index: 3;
  background: rgba(0,27,58,0.5);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: var(--space-xl);
}

.hero-main__bottom-stats-inner {
  display: flex;
  justify-content: center;
}

.hero-main__bstat {
  text-align: center;
  padding: 18px 36px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.hero-main__bstat:last-child { border-right: none; }

.hero-main__bstat-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 2px;
}

.hero-main__bstat-label {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Mobile hero main */
@media (max-width: 768px) {
  .hero-main { padding: 40px 0 0; }
  .hero-main__grid { max-width: 100%; }
  .hero-main__title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .hero-main__desc { font-size: 13px; }
  .hero-main__star { display: none; }
  .hero-main__actions .btn { padding: 10px 18px; font-size: 13px; }
  .hero-main__certs { gap: 10px; }
  .hero-main__certs span { font-size: 10px; }
  .hero-main__bottom-stats-inner { flex-wrap: wrap; }
  .hero-main__bstat { padding: 12px 20px; flex: 1 1 33%; }
  .hero-main__bstat-num { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .hero-main__actions { flex-direction: column; }
  .hero-main__actions .btn { width: 100%; justify-content: center; }
  .hero-main__bstat { flex: 1 1 50%; }
}

/* ============================================
   HERO — PARALLAX (legacy)
   ============================================ */
.hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  transform: scale(1.1);
  transition: transform 0.1s linear;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,27,58,0.85) 0%, rgba(0,43,86,0.7) 40%, rgba(0,58,116,0.5) 100%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
}

.hero__compass {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  opacity: 0.18;
  z-index: 2;
  pointer-events: none;
  animation: starPulse 8s ease-in-out infinite;
}

@keyframes compassSpin { to { transform: translateY(-50%) rotate(360deg); } }

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: var(--space-4xl) 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  color: var(--sage-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(10px);
}

.hero__badge i { font-size: 10px; }

.hero__title {
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
}

.hero__title em {
  font-style: italic;
  color: var(--sage-light);
}

.hero__title span {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 17px;
  color: var(--text-on-dark-muted);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Stats Bar */
.hero__stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: rgba(0,27,58,0.6);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero__stats-inner {
  display: flex;
  justify-content: center;
  gap: 0;
}

.hero-stat {
  padding: 24px 48px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.hero-stat:last-child { border-right: none; }

.hero-stat__number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat__label {
  font-size: 12px;
  color: var(--text-on-dark-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease-in-out);
}

.hero-slide.active { opacity: 1; }

.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--space-3xl) 0;
  /* Auto-contain content when no .container child */
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.section .container {
  /* Reset when container is present */
  max-width: var(--container-max);
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.section--sm { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }
.section--lg { padding-top: var(--space-4xl); padding-bottom: var(--space-4xl); }
.section--dark { background: var(--navy-deep); color: var(--text-on-dark); max-width: none; }
.section--gray { background: var(--off-white); max-width: none; }
.section--cream { background: var(--cream); max-width: none; }

.section--dark > *:not(.container),
.section--gray > *:not(.container),
.section--cream > *:not(.container) {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

.section__header {
  margin-bottom: var(--space-2xl);
}

.section__header h2 { margin-bottom: var(--space-md); }

/* ============================================
   PROMO BANNER
   ============================================ */
.promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  background: linear-gradient(135deg, var(--blue-accent), var(--teal));
  border-radius: var(--radius-lg);
  color: white;
  gap: 24px;
}

.promo-banner__content h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.promo-banner__content p {
  font-size: 13px;
  opacity: 0.9;
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.cards-grid {
  display: grid;
  gap: var(--space-lg);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card__visual {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.service-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  color: white;
}

.service-card__badge--popular { background: var(--navy); }
.service-card__badge--new { background: var(--gold); color: var(--navy-deep); }
.service-card__badge--international { background: var(--teal-dark); }

.service-card__body {
  padding: var(--space-lg);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy);
}

.service-card__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.service-card__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  transition: gap var(--duration-fast);
}

.service-card__action:hover { gap: 10px; color: var(--blue-accent); }
.service-card__action i { font-size: 11px; }

/* ============================================
   FEATURE CARDS (Espaces)
   ============================================ */
.feature-card {
  display: block;
  padding: var(--space-xl) var(--space-lg);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy);
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto var(--space-md);
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.feature-card__text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   PARALLAX SECTIONS
   ============================================ */
.parallax-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.parallax-section--sm { min-height: 350px; }
.parallax-section--lg { min-height: 600px; }

.parallax-section__bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.parallax-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,27,58,0.9) 0%, rgba(0,43,86,0.75) 100%);
}

.parallax-section__overlay--gold {
  background: linear-gradient(135deg, rgba(0,27,58,0.92) 0%, rgba(54,120,128,0.8) 100%);
}

.parallax-section__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--space-3xl) var(--space-lg);
}

.parallax-section__compass {
  position: absolute;
  width: 300px;
  height: 300px;
  opacity: 0.06;
  z-index: 1;
  animation: compassSpin 90s linear infinite;
}

.parallax-section__compass--left { left: 5%; top: 50%; transform: translateY(-50%); }
.parallax-section__compass--right { right: 5%; top: 50%; transform: translateY(-50%); }

/* ============================================
   CERTIFICATIONS
   ============================================ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.cert-card {
  text-align: center;
  padding: var(--space-xl);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all var(--duration-normal) var(--ease-out);
}

.cert-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.cert-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(168,176,136,0.2);
  border: 1px solid rgba(168,176,136,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 24px;
  color: var(--sage-light);
}

.cert-card__title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.cert-card__text {
  font-size: 14px;
  color: var(--text-on-dark-muted);
  line-height: 1.6;
}

/* ============================================
   SIMULATOR
   ============================================ */
.simulator {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  color: white;
}

.simulator__title {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: 10px;
}

.simulator__title i { color: var(--gold); }

.simulator__row {
  margin-bottom: var(--space-md);
}

.simulator__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}

.simulator__input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: white;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  transition: border-color var(--duration-fast);
}

.simulator__input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
}

.simulator__range {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.15);
  margin-top: 8px;
}

.simulator__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(168,176,136,0.4);
}

.simulator__result {
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  background: linear-gradient(135deg, rgba(168,176,136,0.15), rgba(168,176,136,0.05));
  border: 1px solid rgba(168,176,136,0.3);
  border-radius: var(--radius-lg);
}

.simulator__result-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sage-light);
  font-weight: 600;
  margin-bottom: 4px;
}

.simulator__result-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
}

/* ============================================
   NEWS CARDS
   ============================================ */
.news-card {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.news-card__image {
  width: 240px;
  min-height: 160px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
}

.news-card__body { flex: 1; }

.news-card__date {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.news-card__excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--duration-fast);
}

.card__link:hover { gap: 10px; color: var(--blue-accent); }

/* ============================================
   PARALLAX CTA
   ============================================ */
.parallax-cta {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.parallax-cta h2 {
  color: white;
  margin-bottom: var(--space-md);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.parallax-cta p {
  color: var(--text-on-dark-muted);
  font-size: 16px;
  margin-bottom: var(--space-lg);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #333333;           /* Charte: #333333 */
  color: #bababa;                /* Charte: #bababa */
  padding: var(--space-2xl) 0 0;
  min-height: 246px;             /* Charte: 246px */
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__column h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}

.footer__link {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--gray-400);
  transition: color var(--duration-fast);
}

.footer__link:hover { color: var(--white); }

.footer__contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  align-items: flex-start;
}

.footer__contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  color: var(--sage);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-md);
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--gray-400);
  transition: all var(--duration-fast);
  text-decoration: none;
}

.footer__social a:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__social a i {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  font-size: 13px;
  color: var(--gray-500);
}

.footer__bottom a { color: var(--gray-400); transition: color var(--duration-fast); }
.footer__bottom a:hover { color: var(--white); }

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

/* ============================================
   FLOATING ACTIONS
   ============================================ */
.fab-group {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  box-shadow: var(--shadow-lg);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
}

.fab:hover { transform: scale(1.08); }

.fab--chat { background: var(--blue-accent); }
.fab--chat:hover { box-shadow: 0 8px 30px rgba(13,145,208,0.4); }

.fab--top {
  background: var(--navy);
  width: 44px;
  height: 44px;
  font-size: 16px;
  opacity: 0;
  pointer-events: none;
  transition: all var(--duration-normal) var(--ease-out);
}

.fab--top.visible { opacity: 1; pointer-events: auto; }

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(30,29,28,0.95);
  backdrop-filter: blur(20px);
  color: white;
  padding: 18px 30px;
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.3);
}

.cookie-banner p { font-size: 14px; flex: 1; }
.cookie-banner a { color: var(--sage-light); text-decoration: underline; }

.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ============================================
   PAGE CONTENT (for inner pages)
   ============================================ */
.page-hero {
  position: relative;
  padding: var(--space-3xl) 0 var(--space-2xl);
  background: var(--navy-deep);
  overflow: visible;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

/* Overlay bleu sur page-hero */
.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,43,86,0.7), rgba(0,27,58,0.6));
}

.page-hero__content {
  position: relative;
  z-index: 3;
}

/* z-index de l'etoile gere dans la section BGFI STAR en haut du CSS */

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-on-dark-muted);
  margin-bottom: var(--space-md);
}

.page-hero__breadcrumb a { transition: color var(--duration-fast); }
.page-hero__breadcrumb a:hover { color: var(--white); }
.page-hero__breadcrumb span { color: var(--sage-light); }

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

.page-hero p {
  color: var(--text-on-dark-muted);
  font-size: 16px;
  max-width: 600px;
}

/* Page Content Grid */
.page-content {
  padding: var(--space-2xl) 0;
}

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

.content-grid--sidebar {
  grid-template-columns: 260px 1fr;
  gap: var(--space-2xl);
}

/* Content blocks */
.content-block {
  margin-bottom: var(--space-xl);
}

.content-block h2 {
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
  color: var(--navy);
}

.content-block h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
  color: var(--navy);
}

.content-block p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
  line-height: 1.7;
}

.content-block ul {
  margin-bottom: var(--space-md);
  padding-left: 0;
}

.content-block ul li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text-secondary);
  font-size: 14px;
}

.content-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

/* Info boxes */
.info-box {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  background: var(--off-white);
  margin-bottom: var(--space-lg);
}

.info-box--highlight {
  background: linear-gradient(135deg, rgba(0,43,86,0.03), rgba(13,145,208,0.03));
  border-color: rgba(0,43,86,0.1);
}

.info-box h4 {
  color: var(--navy);
  margin-bottom: 8px;
}

/* Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-lg);
}

.data-table th {
  background: var(--navy);
  color: white;
  padding: 14px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.data-table th:first-child { border-radius: var(--radius-md) 0 0 0; }
.data-table th:last-child { border-radius: 0 var(--radius-md) 0 0; }

.data-table td {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--text-secondary);
}

.data-table tr:hover td { background: var(--off-white); }

/* FAQ */
.faq-item {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: border-color var(--duration-fast);
}

.faq-item:hover { border-color: var(--gray-200); }
.faq-item.active { border-color: var(--navy); }

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--space-lg);
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  transition: background var(--duration-fast);
}

.faq-item__question:hover { background: var(--off-white); }

.faq-item__question i {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform var(--duration-normal) var(--ease-out);
}

.faq-item.active .faq-item__question { background: var(--navy); color: white; }
.faq-item.active .faq-item__question i { transform: rotate(180deg); color: var(--sage-light); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out);
}

.faq-item.active .faq-item__answer { max-height: 500px; }

.faq-item__answer-inner {
  padding: var(--space-lg);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Contact Form */
.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  transition: border-color var(--duration-fast);
  background: var(--white);
}

.form-input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,43,86,0.08);
}

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

/* Map / Agences */
.agency-card {
  padding: var(--space-lg);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
}

.agency-card:hover { box-shadow: var(--shadow-md); border-color: var(--navy); }

.agency-card h4 { color: var(--navy); margin-bottom: 4px; }
.agency-card p { font-size: 13px; color: var(--text-secondary); }

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.fade-in.visible { opacity: 1; }

.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.slide-left.visible { opacity: 1; transform: translateX(0); }

.slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.slide-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger animation */
.stagger > *:nth-child(1) { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 100ms; }
.stagger > *:nth-child(3) { transition-delay: 200ms; }
.stagger > *:nth-child(4) { transition-delay: 300ms; }
.stagger > *:nth-child(5) { transition-delay: 400ms; }
.stagger > *:nth-child(6) { transition-delay: 500ms; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid--sidebar { grid-template-columns: 1fr; }
  .hero-stat { padding: 20px 32px; }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 64px;
    --space-4xl: 80px;
  }

  .topbar { display: none; }

  .navbar__menu { display: none; }
  .navbar__toggle { display: flex; }
  .navbar__slogan { display: none; }

  .navbar__menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-lg);
    padding: var(--space-md);
  }

  .navbar__menu.open .navbar__link {
    padding: 14px 16px;
    width: 100%;
  }

  .navbar__cta .btn--sm { display: none; }

  .subnav .container { padding: 0 var(--space-md); }

  .hero { min-height: auto; flex-direction: column; }
  .hero__title { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .hero__subtitle { font-size: 14px; margin-bottom: var(--space-md); }
  .hero__content { padding: var(--space-xl) 0 var(--space-lg); }
  .hero__badge { font-size: 10px; padding: 6px 12px; margin-bottom: var(--space-md); }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { padding: 12px 20px; font-size: 13px; }

  /* Hero star hidden on mobile */
  .hero__compass,
  .hero::after,
  .page-hero::after,
  .bgfi-star-hero { display: none !important; }

  /* Stats - position relative instead of absolute on mobile */
  .hero__stats {
    position: relative !important;
    bottom: auto !important;
  }

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

  .hero-stat { padding: 14px 16px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .hero-stat__number { font-size: 1.6rem; }
  .hero-stat__label { font-size: 10px; }

  .cards-grid--2,
  .cards-grid--3,
  .cards-grid--4 { grid-template-columns: 1fr; }

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

  .news-card { flex-direction: column; }
  .news-card__image { width: 100%; min-height: 200px; }

  .footer__grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer__bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
  .footer__bottom-links { justify-content: center; }

  .promo-banner { flex-direction: column; text-align: center; }
  .promo-banner .btn { width: 100%; justify-content: center; }

  /* Split sections mobile */
  .split-section { grid-template-columns: 1fr !important; gap: var(--space-lg); }

  /* Section padding mobile */
  .section { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

  /* Page hero mobile */
  .page-hero { padding: var(--space-xl) 0 var(--space-lg); }
  .page-hero h1 { font-size: clamp(1.4rem, 6vw, 2rem); }
  .page-hero p { font-size: 14px; }

  /* Navbar mobile */
  .navbar { height: 60px; }
  .navbar__logo { height: 36px; }
  .navbar__cta { gap: 6px; }

  /* Subnav scroll mobile */
  .subnav__link { padding: 10px 14px; font-size: 12px; }

  /* Simulator mobile */
  .simulator { padding: var(--space-lg); }
  .simulator__result-value { font-size: 1.4rem; }

  .fab-group { bottom: 16px; right: 16px; }
  .fab { width: 44px; height: 44px; font-size: 18px; }
}

@media (max-width: 480px) {
  .hero__stats-inner { grid-template-columns: repeat(2, 1fr); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* Footer compact */
  .footer__grid { gap: var(--space-md); }
  .footer__column h4 { font-size: 1rem; margin-bottom: var(--space-sm); }
}

/* ============================================
   PAGE SPECIFIC — Two column layout
   ============================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.split-section--reverse { direction: rtl; }
.split-section--reverse > * { direction: ltr; }

@media (max-width: 768px) {
  .split-section { grid-template-columns: 1fr; }
  .split-section--reverse { direction: ltr; }
}

/* Advantage list */
.advantage-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.advantage-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.advantage-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: white;
}

.advantage-item__icon--navy { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.advantage-item__icon--sage { background: linear-gradient(135deg, var(--sage), var(--sage-light)); }
.advantage-item__icon--teal { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); }
.advantage-item__icon--gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); }

.advantage-item strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.advantage-item span {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Newsletter section */
.newsletter-section {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: var(--font-body);
  background: rgba(255,255,255,0.08);
  color: white;
  backdrop-filter: blur(10px);
  transition: border-color var(--duration-fast);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--sage);
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }

/* Tabs */
.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--gray-100);
}

.tab-btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  transition: all var(--duration-fast);
  margin-bottom: -1px;
}

.tab-btn:hover { color: var(--navy); }

.tab-btn.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

/* Governance */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.team-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
}

.team-card:hover { box-shadow: var(--shadow-md); }

.team-card__photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gray-100);
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--gray-300);
  overflow: hidden;
}

.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }

.team-card h4 { color: var(--navy); margin-bottom: 4px; }
.team-card p { font-size: 13px; color: var(--text-secondary); }

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

/* ============================================
   COMPATIBILITY — Classes used by internal pages
   ============================================ */

/* Hero small variant for inner pages */
.hero--small {
  min-height: 280px;
  padding: var(--space-3xl) 0 var(--space-2xl);
  position: relative;
}

.hero--small .container {
  position: relative;
  z-index: 2;
}

.hero--small .hero__content {
  padding: var(--space-xl) 0;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

/* BEM aliases used by internal pages */
.section__header { margin-bottom: var(--space-2xl); }
.section__header h2 { margin-bottom: var(--space-md); }
.section__label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sage-dark); margin-bottom: var(--space-md); }
.section__label::before { content: ''; width: 24px; height: 1px; background: var(--sage); }
.section__title { font-family: var(--font-heading); font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.01em; margin-bottom: var(--space-md); color: var(--text-primary); }
.section__desc { font-size: 16px; color: var(--text-secondary); max-width: 600px; line-height: 1.7; }

.hero__breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: var(--space-md); }
.hero__breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.hero__breadcrumb a:hover { color: white; }
.hero__breadcrumb span { color: rgba(255,255,255,0.9); }

.hero__subtitle { font-size: 17px; color: rgba(255,255,255,0.7); line-height: 1.7; max-width: 560px; }

.main-content { min-height: 60vh; }

/* Old class aliases */
.main-nav { height: var(--topbar-height); background: #003a74; display: flex; align-items: center; }
.main-nav .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.main-nav__menu { display: flex; gap: 0; }
.main-nav__item { display: flex; }
.main-nav__link { padding: 0 16px; height: var(--topbar-height); display: flex; align-items: center; font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 500; transition: all 0.2s; }
.main-nav__link:hover, .main-nav__link.active { color: white; background: #002b56; }
.main-nav__social { display: flex; gap: 12px; }
.main-nav__social a { color: rgba(255,255,255,0.7); font-size: 13px; transition: color 0.2s; }
.main-nav__social a:hover { color: white; }
.mobile-toggle { display: none; color: white; font-size: 20px; background: none; border: none; cursor: pointer; }

.shortcut-bar { height: var(--nav-height); background: white; border-bottom: 1px solid var(--gray-100); display: flex; align-items: center; position: sticky; top: 0; z-index: 1000; }
.shortcut-bar .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.shortcut-bar__brand { display: flex; align-items: center; gap: 12px; }
.shortcut-bar__logo { height: 48px; width: auto; }
.shortcut-bar__slogan { font-size: 11px; color: var(--blue-accent); font-weight: 500; border-left: 1px solid var(--gray-200); padding-left: 12px; }
.shortcut-bar__actions { display: flex; align-items: center; gap: 10px; }
.shortcut-bar__search { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius-full); }
.shortcut-bar__search svg { width: 16px; height: 16px; color: var(--gray-400); }
.shortcut-bar__search input { border: none; outline: none; font-size: 13px; width: 140px; font-family: var(--font-body); }

.sub-nav { background: #003666; overflow-x: auto; scrollbar-width: none; }
.sub-nav::-webkit-scrollbar { display: none; }
.sub-nav .container { display: flex; align-items: center; gap: 0; min-width: max-content; }
.sub-nav__item { display: flex; }
.sub-nav__link { display: flex; align-items: center; gap: 8px; padding: 14px 20px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.7); white-space: nowrap; transition: all 0.2s; border-bottom: 2px solid transparent; }
.sub-nav__link:hover { color: white; background: rgba(255,255,255,0.05); }
.sub-nav__link.active { color: white; border-bottom-color: var(--sage); }
.sub-nav__link i { font-size: 14px; opacity: 0.8; }
.sub-nav__divider { width: 1px; height: 20px; background: rgba(255,255,255,0.15); margin: 0 4px; }

/* Old button classes */
.btn-primary { background: var(--navy); color: white; border: 1px solid var(--navy); }
.btn-primary:hover { background: var(--navy-light); }
.btn-online { background: var(--blue-accent); color: white; border: 1px solid var(--blue-accent); }
.btn-online:hover { background: #0b7db5; }
.btn-accent { background: var(--sage); color: var(--navy-deep); }
.btn-accent:hover { background: var(--sage-dark); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--gray-200); }
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: white; }
.btn-white { background: white; color: var(--navy); border: 1px solid white; }
.btn-white:hover { background: var(--off-white); }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 18px 36px; font-size: 15px; }

/* inst-section alias */
.inst-section { padding: var(--space-3xl) 0; }
.inst-section__container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-lg); }
.inst-section__header { margin-bottom: var(--space-2xl); }
.inst-section__label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sage-dark); margin-bottom: var(--space-md); }
.inst-section__title { font-family: var(--font-heading); font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: var(--space-md); }
.inst-section__desc { font-size: 16px; color: var(--text-secondary); max-width: 600px; line-height: 1.7; }

/* Old floating actions */
.floating-actions { position: fixed; right: 24px; bottom: 100px; z-index: 998; display: flex; flex-direction: column; gap: 10px; }
.floating-btn { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; box-shadow: var(--shadow-lg); cursor: pointer; transition: all 0.3s; font-size: 16px; border: none; }
.floating-btn--particuliers { background: var(--navy); }
.floating-btn--entreprises { background: var(--product-orange); }
.floating-btn--pro { background: var(--teal); }
.floating-btn--prive { background: var(--product-purple); }
.floating-btn--chat { background: var(--blue-accent); position: fixed; bottom: 24px; right: 24px; width: 52px; height: 52px; font-size: 20px; z-index: 998; }
.floating-btn__tooltip { display: none; }

/* Parallax compat */
.parallax { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 400px; background-size: cover; background-position: center; background-attachment: fixed; }
.parallax--medium { min-height: 500px; }
.parallax--small { min-height: 300px; }
.parallax__overlay { position: absolute; inset: 0; }
.parallax__overlay--dark { background: linear-gradient(135deg, rgba(0,27,58,0.9), rgba(0,43,86,0.75)); }
.parallax__content { position: relative; z-index: 2; width: 100%; padding: var(--space-3xl) var(--space-lg); }
.parallax__compass { position: absolute; width: 300px; height: 300px; opacity: 0.06; }
.parallax__compass--left { left: 5%; top: 50%; transform: translateY(-50%); }
.parallax__compass--right { right: 5%; top: 50%; transform: translateY(-50%); }

/* Promo banner old class */
.promo-banner__content h3 { font-family: var(--font-body); }

/* Cards grid old classes */
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.stagger > *:nth-child(1) { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 100ms; }
.stagger > *:nth-child(3) { transition-delay: 200ms; }

/* Slide animations */
.slide-in-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.slide-in-left.visible { opacity: 1; transform: translateX(0); }
.slide-in-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.slide-in-right.visible { opacity: 1; transform: translateX(0); }

/* Old footer aliases */
.footer__column h4 { color: var(--white); font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: var(--space-md); }

/* Stat cards used in some pages */
.stat__number { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; color: var(--navy); }
.stat__number[data-target] { font-family: var(--font-heading); }

@media (max-width: 768px) {
  .main-nav__menu { display: none; }
  .mobile-toggle { display: block; }
  .shortcut-bar__search { display: none; }
  .shortcut-bar__slogan { display: none; }
  .floating-actions { display: none; }
}

/* ============================================
   RESPONSIVE GLOBAL — Corrections completes
   ============================================ */

/* ---- Tablette (1024px) ---- */
@media (max-width: 1024px) {
  .hero-main__grid { max-width: 100%; }
  .hero-main__bottom-stats-inner { flex-wrap: wrap; }
  .hero-main__bstat { flex: 1 1 33%; }

  /* Grids inline avec grid-template-columns */
  [style*="grid-template-columns: repeat(5"] { grid-template-columns: repeat(3, 1fr) !important; }
  [style*="grid-template-columns: repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
  [style*="grid-template-columns:repeat(5"] { grid-template-columns: repeat(3, 1fr) !important; }
  [style*="grid-template-columns:repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }

  /* Article a la une */
  [style*="grid-template-columns:1fr 1fr;gap:0"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: 1fr 1fr; gap: 0"] { grid-template-columns: 1fr !important; }

  /* Split section */
  [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: 3fr 2fr"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:3fr 2fr"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: 2fr 1fr"] { grid-template-columns: 1fr !important; }
}

/* ---- Mobile (768px) ---- */
@media (max-width: 768px) {
  /* Container */
  .container { padding: 0 16px; }

  /* Section spacing */
  .section { padding-top: 40px !important; padding-bottom: 40px !important; }

  /* Topbar hidden */
  .topbar { display: none; }

  /* Navbar */
  .navbar { height: 60px; }
  .navbar__logo { height: 36px; }
  .navbar__slogan { display: none; }
  .navbar__menu { display: none; }
  .navbar__toggle { display: flex; }
  .navbar__cta .btn--sm { display: none; }
  .navbar__cta .btn--online { display: none; }
  .navbar__menu.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: white; border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-lg); padding: 8px;
    z-index: 999;
  }
  .navbar__menu.open .navbar__link { padding: 14px 16px; width: 100%; }

  /* Subnav compact */
  .subnav__link { padding: 10px 12px; font-size: 11px; }
  .subnav__link i { display: none; }

  /* Hero main */
  .hero-main { padding: 40px 0 0; }
  .hero-main__title { font-size: clamp(1.4rem, 6vw, 2rem); }
  .hero-main__desc { font-size: 13px; }
  .hero-main__star { display: none; }
  .hero-main__badge { font-size: 9px; padding: 5px 10px; }
  .hero-main__certs { gap: 8px; }
  .hero-main__certs span { font-size: 9px; }
  .hero-main__actions .btn { padding: 10px 16px; font-size: 12px; }
  .hero-main__bottom-stats-inner { flex-wrap: wrap; }
  .hero-main__bstat { flex: 1 1 33%; padding: 12px 8px; }
  .hero-main__bstat-num { font-size: 1.2rem; }
  .hero-main__bstat-label { font-size: 8px; }
  .hero-main__bg { opacity: 0.3; }

  /* Page hero */
  .page-hero { padding: 32px 0 24px; }
  .page-hero h1 { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .page-hero p { font-size: 13px; }
  .bgfi-star-hero { display: none !important; }
  .hero__compass { display: none !important; }
  .hero::after, .page-hero::after { display: none !important; }

  /* Grids */
  .cards-grid--2, .cards-grid--3, .cards-grid--4 { grid-template-columns: 1fr !important; }
  .cert-grid { grid-template-columns: 1fr !important; }
  .team-grid { grid-template-columns: 1fr !important; }
  .split-section { grid-template-columns: 1fr !important; }

  /* ALL inline grids force to 1 column */
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }

  /* Tables scroll */
  .data-table { display: block; overflow-x: auto; }
  [style*="overflow-x: auto"] { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }

  /* News cards */
  .news-card { flex-direction: column; }
  .news-card__image { width: 100% !important; min-height: 180px; }

  /* Promo banner */
  .promo-banner { flex-direction: column; text-align: center; gap: 16px; }
  .promo-banner .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr !important; gap: 24px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer__bottom-links { justify-content: center; flex-wrap: wrap; }

  /* FAB */
  .fab-group { bottom: 12px; right: 12px; }
  .fab { width: 40px; height: 40px; font-size: 16px; }

  /* Simulator */
  .simulator { padding: 20px; }
  .simulator__result-value { font-size: 1.3rem; }

  /* Parallax sections */
  .parallax-section { min-height: 300px; }
  .parallax-section--sm { min-height: 250px; }
  .parallax-section__compass { display: none; }
  .parallax-cta h2 { font-size: 1.3rem; }
  .parallax-cta p { font-size: 13px; }

  /* Newsletter */
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { width: 100%; }

  /* Feature cards */
  .feature-card { padding: 20px 16px; }
  .feature-card__icon { width: 48px; height: 48px; font-size: 18px; }

  /* Service cards */
  .service-card__visual { height: 160px; }

  /* Info box */
  .info-box { padding: 16px; }

  /* Agency cards */
  .agency-card { padding: 16px; }

  /* Form */
  .form-input { padding: 10px 14px; font-size: 14px; }

  /* Typography */
  h1 { font-size: clamp(1.4rem, 5vw, 2rem) !important; }
  h2 { font-size: clamp(1.2rem, 4vw, 1.6rem) !important; }
  h3 { font-size: clamp(1rem, 3vw, 1.3rem) !important; }

  /* Content images */
  img { max-width: 100%; height: auto; }

  /* Inline flex/grid fix */
  [style*="display:flex"][style*="gap:32px"] { gap: 16px !important; }
  [style*="display:flex"][style*="gap:40px"] { gap: 16px !important; }
  [style*="display: flex"][style*="gap: 40px"] { gap: 16px !important; }
  [style*="padding:40px"] { padding: 20px !important; }
  [style*="padding: 40px"] { padding: 20px !important; }
  [style*="padding:48px"] { padding: 24px !important; }
  [style*="padding: 48px"] { padding: 24px !important; }
}

/* ---- Petit mobile (480px) ---- */
@media (max-width: 480px) {
  .hero-main__actions { flex-direction: column; }
  .hero-main__actions .btn { width: 100%; justify-content: center; }
  .hero-main__bstat { flex: 1 1 50%; }
  .hero-main__certs { flex-direction: column; gap: 4px; }

  .footer__social { justify-content: center; }

  /* Store buttons */
  [style*="min-width:170px"] { min-width: 140px !important; }

  .section-label { font-size: 10px; }
  .section-desc { font-size: 13px; }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  .topbar, .navbar, .subnav, .fab-group, .cookie-banner, .footer, .main-nav, .shortcut-bar, .sub-nav { display: none !important; }
  .hero, .hero-main { min-height: auto; padding: 40px 0; }
  body { font-size: 12px; color: black; }
}

/* ============================================
   SITE_RDC_1 — KINSHASA MODERN
   Overrides for unique design
   ============================================ */

/* ---- Topbar: gradient ---- */
.topbar { background: linear-gradient(90deg, #002b56, #003a74); height: 38px; }
.topbar__seg { font-size: 13px; font-weight: 600; }
.topbar__seg.active { background: rgba(168,176,136,0.2); border-radius: 20px; }

/* ---- Navbar: frosted glass ---- */
.navbar { background: rgba(255,255,255,0.85); backdrop-filter: blur(20px); border-bottom: none; box-shadow: 0 2px 20px rgba(0,0,0,0.06); height: 72px; }
.navbar.scrolled { background: rgba(255,255,255,0.95); box-shadow: 0 4px 30px rgba(0,0,0,0.1); }
.navbar__link { border-radius: 20px; }
.navbar__link:hover { background: rgba(0,58,116,0.06); }
.navbar__link.active::after { border-radius: 10px; height: 3px; background: #0d91d0; }

/* ---- Subnav: sky blue gradient ---- */
.subnav { background: linear-gradient(90deg, #003a74, #0d91d0); }
.subnav__link { font-weight: 600; }
.subnav__link.active { border-bottom-color: white; }

/* ---- Buttons: fully rounded ---- */
.btn { border-radius: 50px !important; font-weight: 700; letter-spacing: 0.02em; }
.btn--gold { background: linear-gradient(135deg, #a8b088, #c7d4a9); color: #002b56; }
.btn--gold:hover { box-shadow: 0 8px 25px rgba(168,176,136,0.4); transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, #003a74, #0d91d0); border: none; }
.btn--primary:hover { box-shadow: 0 8px 25px rgba(0,58,116,0.3); }
.btn--outline { border-radius: 50px !important; border-width: 2px; }
.btn--online { background: var(--sage); border: 1px solid var(--sage); color: white; }

/* ---- Hero: cinematic full-screen ---- */
.hero-main { padding: 100px 0 80px; }
.hero-main__bg { opacity: 0.7; }
.hero-main__overlay { background: linear-gradient(to right, rgba(0,27,58,0.95) 0%, rgba(0,27,58,0.7) 40%, rgba(0,58,116,0.3) 70%, transparent 100%); }
.hero-main__title { font-size: clamp(2.5rem, 5vw, 3.8rem); font-weight: 800; }
.hero-main__title span { background: linear-gradient(135deg, #0d91d0, #12bcbd); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-main__badge { border-radius: 50px; background: rgba(13,145,208,0.15); border-color: rgba(13,145,208,0.3); }
.hero-main__certs span { color: #0d91d0; }
.hero-main__bottom-stats { background: rgba(0,27,58,0.7); backdrop-filter: blur(30px); border-top: 2px solid rgba(13,145,208,0.3); }
.hero-main__bstat-num { font-size: 2rem; }

/* ---- Section labels: blue accent ---- */
.section-label { color: #0d91d0; }
.section-label::before { background: #0d91d0; width: 32px; height: 2px; }

/* ---- Cards: rounded with blue shadow ---- */
.service-card { border-radius: 20px; border: none; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.service-card:hover { box-shadow: 0 12px 40px rgba(13,145,208,0.2); transform: translateY(-8px); }
.service-card__visual { border-radius: 20px 20px 0 0; }
.service-card__badge { border-radius: 50px; }

.feature-card { border-radius: 20px; border: none; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.feature-card:hover { box-shadow: 0 12px 40px rgba(13,145,208,0.15); border-color: transparent; transform: translateY(-6px); }
.feature-card__icon { border-radius: 16px; }

/* ---- News cards: rounded with date badge ---- */
.news-card { border-radius: 20px; border: none; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.news-card:hover { box-shadow: 0 12px 40px rgba(13,145,208,0.15); }
.news-card__image { border-radius: 16px; }

/* ---- Certifications: numbered ---- */
.cert-card { border-radius: 20px; background: rgba(255,255,255,0.1); border: 1px solid rgba(13,145,208,0.2); }
.cert-card:hover { background: rgba(13,145,208,0.1); border-color: rgba(13,145,208,0.4); }
.cert-card__icon { background: rgba(13,145,208,0.2); border-color: rgba(13,145,208,0.3); }

/* ---- Simulator: centered rounded ---- */
.simulator { border-radius: 24px; background: linear-gradient(135deg, #003a74, #002b56); }
.simulator__input { border-radius: 12px; }
.simulator__result { border-radius: 16px; }
.simulator__range::-webkit-slider-thumb { background: #0d91d0; }

/* ---- Page hero: taller, gradient bottom ---- */
.page-hero { padding: 80px 0 60px; }
.page-hero__bg { opacity: 0.4; }
.page-hero__bg::after { background: linear-gradient(to top, rgba(0,27,58,0.9) 0%, rgba(0,43,86,0.5) 50%, transparent 100%); }

/* ---- Parallax: blue tint ---- */
.parallax-section__overlay { background: linear-gradient(135deg, rgba(0,43,86,0.85), rgba(13,145,208,0.7)); }

/* ---- Tables: rounded ---- */
.data-table { border-radius: 16px; overflow: hidden; }
.data-table th:first-child { border-radius: 0; }
.data-table th:last-child { border-radius: 0; }

/* ---- Footer: dark navy with sky blue accent ---- */
.footer { background: #001a2e; }
.footer::before { display: none; }
.footer::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #003a74, #0d91d0, #a8b088); }
.footer__social a { border-radius: 12px; }
.footer__social a:hover { background: #0d91d0; }

/* ---- Promo banner: rounded ---- */
.promo-banner { border-radius: 24px; background: linear-gradient(135deg, #0d91d0, #12bcbd); }

/* ---- FAQ: rounded ---- */
.faq-item { border-radius: 12px; }
.faq-item.active .faq-item__question { background: linear-gradient(135deg, #003a74, #0d91d0); border-radius: 12px 12px 0 0; }

/* ---- Info boxes: rounded ---- */
.info-box { border-radius: 20px; }

/* ---- Cookie banner ---- */
.cookie-banner { border-radius: 16px 16px 0 0; }

@media (max-width: 768px) {
  .hero-main { padding: 50px 0 40px; }
  .navbar { backdrop-filter: blur(10px); }
}
