/* ===================================================
   ALPHA OMEGA PROJECTS — REDESIGN BUREAU D'ÉTUDES
   Thème : Navy & Or | Blueprint | Verre dépoli
   =================================================== */

:root {
  --primary: #0B1D3A;
  --primary-light: #132D54;
  --primary-lighter: #1A3D6B;
  --accent: #1B7A45;
  --accent-light: #2EA861;
  --accent-dark: #0F5A30;
  --accent-red: #C1292E;
  --accent-glow: rgba(27, 122, 69, 0.3);
  --dark: #070D1A;
  --light: #F4F6FB;
  --white: #FFFFFF;
  --gray: #8892A8;
  --gray-light: #CBD0DC;
  --gray-dark: #5A6577;
  --bg-section: #F0F2F7;
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary-lighter) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  --gradient-hero: linear-gradient(160deg, #080F1E 0%, #0B1D3A 30%, #132D54 60%, #1A3D6B 100%);
  --gradient-card: linear-gradient(135deg, rgba(11, 29, 58, 0.03) 0%, rgba(27, 122, 69, 0.03) 100%);
  --font-heading: 'DM Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --header-height: 80px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 12px rgba(11, 29, 58, 0.06);
  --shadow: 0 8px 32px rgba(11, 29, 58, 0.08);
  --shadow-lg: 0 20px 60px rgba(11, 29, 58, 0.12);
  --shadow-glow: 0 8px 32px rgba(0, 0, 0, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px rgba(11, 29, 58, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --max-width: 1200px;
}

.aop-name {
  white-space: nowrap;
  display: inline;
  letter-spacing: 0.5px;
}
.aop-alpha,
.aop-omega,
.aop-projects {
  color: #ffffff;
  font-weight: 900;
}

.section-dark .aop-alpha,
.section-dark .aop-omega,
.section-dark .aop-projects,
.strength-section .aop-alpha,
.strength-section .aop-omega,
.strength-section .aop-projects,
.cta-section .aop-alpha,
.cta-section .aop-omega,
.cta-section .aop-projects,
.page-banner .aop-alpha,
.page-banner .aop-omega,
.page-banner .aop-projects,
.site-header .aop-alpha,
.site-header .aop-omega,
.site-header .aop-projects {
  color: #ffffff;
}

.hero .aop-alpha,
.hero .aop-omega,
.hero .aop-projects {
  color: #fff;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

body {
  font-family: var(--font-body);
  color: var(--primary);
  background: linear-gradient(180deg, #F0F4FA 0%, #E8EDF5 50%, #F4F6FB 100%);
  line-height: 1.7;
  padding-top: var(--header-height);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.015'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent); }

ul { list-style: none; }

::selection {
  background: var(--accent);
  color: var(--white);
}

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

/* ================================================
   BLUEPRINT GRID BACKGROUND — AMÉLIORÉ
   ================================================ */
#particlesCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
}

.blueprint-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(27, 122, 69, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 122, 69, 0.12) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Old hero glow elements — hidden in redesign */
.hero-glow-1, .hero-glow-2 { display: none; }

.blueprint-bg::before {
  content: '';
  position: absolute;
  top: 10%; left: 5%;
  width: 300px; height: 300px;
  border: 1px solid rgba(27, 122, 69, 0.12);
  border-radius: 50%;
}

.blueprint-bg::after {
  content: '';
  position: absolute;
  bottom: 15%; right: 8%;
  width: 200px; height: 200px;
  border: 1px solid rgba(27, 122, 69, 0.1);
  border-radius: 50%;
}

/* Lignes diagonales décoratives */
.blueprint-bg .bp-diagonal {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(27, 122, 69, 0.04) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(27, 122, 69, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
}

/* Repères d'axe type plan bleu */
.blueprint-bg .bp-tick {
  position: absolute;
  background: rgba(27, 122, 69, 0.06);
}
.blueprint-bg .bp-tick--h { width: 100%; height: 1px; top: 50%; }
.blueprint-bg .bp-tick--v { width: 1px; height: 100%; left: 50%; }
.blueprint-bg .bp-tick--dot {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(27, 122, 69, 0.08);
}
.blueprint-bg .bp-tick--dot:nth-child(5) { top: 25%; left: 25%; }
.blueprint-bg .bp-tick--dot:nth-child(6) { top: 25%; right: 25%; }
.blueprint-bg .bp-tick--dot:nth-child(7) { bottom: 25%; left: 25%; }
.blueprint-bg .bp-tick--dot:nth-child(8) { bottom: 25%; right: 25%; }

/* Glow accent sur blueprint */
.blueprint-glow {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
}
.blueprint-glow--1 {
  top: -10%; left: -5%;
  width: 500px; height: 500px;
  background: rgba(27, 122, 69, 0.04);
}
.blueprint-glow--2 {
  bottom: -10%; right: -5%;
  width: 400px; height: 400px;
  background: rgba(11, 29, 58, 0.03);
}

/* ================================================
   TYPOGRAPHIE
   ================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

h1 { font-size: clamp(1.8rem, 5vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 3.5vw, 2.25rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.05rem, 2vw, 1.35rem); }
h4 { font-size: clamp(0.95rem, 1.5vw, 1.1rem); }

p { margin-bottom: 1rem; color: var(--gray-dark); }

.gradient-text {
  color: var(--primary);
  font-weight: 700;
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: var(--gradient-accent);
}

.section-title span {
  color: var(--primary);
}

.section-dark .section-title span,
.strength-section .section-title span,
.cta-section .section-title span {
  color: var(--white);
}

.section-subtitle {
  text-align: center;
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 600px;
  margin: -2rem auto 3rem;
  font-weight: 400;
}

/* ================================================
   EN-TÊTE (Header)
   ================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(11, 29, 58, 0.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(27, 122, 69, 0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition);
}

.site-header.scrolled {
  background: rgba(7, 13, 26, 0.92);
  border-bottom-color: rgba(27, 122, 69, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white);
}

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

.logo-img {
  height: 46px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(27, 122, 69, 0.15);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text .sub {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
  gap: 4px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
  letter-spacing: 0.3px;
}

.main-nav a .lucide {
  width: 0.85rem;
  height: 0.85rem;
  transition: transform var(--transition);
}

.main-nav a:hover .lucide {
  transform: translateY(-1px);
}

.main-nav a.active .lucide {
  color: var(--accent-light);
}

.main-nav a:hover {
  color: var(--white);
  background: rgba(27, 122, 69, 0.08);
}

.main-nav a.active {
  color: var(--white);
  background: rgba(27, 122, 69, 0.12);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================================
   SECTION HÉRO
   ================================================ */
.hero {
  background: url('images/pexels-40037226-7255882.jpg') center / cover no-repeat;
  color: var(--white);
  padding: 140px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 122, 69, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 122, 69, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(27, 122, 69, 0.04) 0%, transparent 60%);
  animation: heroOrb 20s ease-in-out infinite;
}

@keyframes heroOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 30px) scale(1.05); }
  66% { transform: translate(20px, -40px) scale(0.95); }
}

/* Hero decorative elements */
.hero-line {
  position: absolute;
  background: rgba(27, 122, 69, 0.06);
}

.hero-line-1 {
  top: 15%; left: 5%;
  width: 1px; height: 200px;
}

.hero-line-2 {
  bottom: 20%; right: 8%;
  width: 120px; height: 1px;
}

.hero-line-3 {
  top: 30%; right: 15%;
  width: 60px; height: 60px;
  border: 1px solid rgba(27, 122, 69, 0.06);
  border-radius: 50%;
  background: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
  color: #fff;
  font-weight: 700;
}

/* ================================================
   HERO SPLIT (text left, slideshow right)
   ================================================ */
.hero-split {
  padding: 0;
  min-height: 90vh;
  text-align: center;
  position: relative;
}

.hero-split::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 30%, #4DD0A0 60%, var(--accent) 100%);
  z-index: 4;
  opacity: 0.8;
}

.hero-split .hero-content {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  padding: 120px 20px 100px;
}

.hero-split .hero-float {
  z-index: 3;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
}

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

.hero-slide.zooming {
  animation: kenBurns 2.5s ease-out forwards;
}

@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(7, 13, 26, 0.55);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(27, 122, 69, 0.15);
  border: 1px solid rgba(46, 168, 97, 0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInDown 1s ease, badgePulse 3s ease-in-out infinite 1s;
  backdrop-filter: blur(10px);
}

@keyframes badgePulse {
  0%, 100% { border-color: rgba(46, 168, 97, 0.3); background: rgba(27, 122, 69, 0.15); }
  50% { border-color: rgba(77, 208, 160, 0.5); background: rgba(27, 122, 69, 0.25); }
}

.hero-badge .lucide {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--accent-light);
}

.hero h1 {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 0.75rem;
  animation: fadeInUp 1s ease;
  line-height: 1.15;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3), 0 0 60px rgba(27, 122, 69, 0.15);
}

.hero h1 .aop-alpha,
.hero h1 .aop-omega {
  display: inline-block;
}

.hero .slogan {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 2rem;
  font-weight: 400;
  animation: fadeInUp 1s ease 0.2s both;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero .hero-sub {
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 2.5rem;
  letter-spacing: 1px;
  font-weight: 400;
  text-transform: uppercase;
}

.hero-sub-icon {
  color: var(--accent-light);
  margin-right: 6px;
}

.hero-sub-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--accent-light);
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 12px;
}

.hero .btn {
  animation: fadeInUp 1s ease 0.4s both;
  margin: 0 8px 12px;
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.hero .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* ================================================
   ÉLÉMENTS FLOTTANTS DU HERO
   ================================================ */
.hero-float {
  --float-r: 255;
  --float-g: 255;
  --float-b: 255;
  position: absolute;
  color: rgba(var(--float-r), var(--float-g), var(--float-b), 0.15);
  font-size: 3rem;
  pointer-events: none;
  z-index: 1;
  animation: heroFloat 20s ease-in-out infinite;
  transition: color 1.2s ease;
}

.float-1 { top: 15%; left: 8%; animation-delay: 0s; font-size: 2.5rem; }
.float-2 { top: 25%; right: 10%; animation-delay: -4s; font-size: 2rem; }
.float-3 { bottom: 25%; left: 12%; animation-delay: -8s; font-size: 3.5rem; }
.float-4 { bottom: 15%; right: 8%; animation-delay: -12s; font-size: 2.8rem; }
.float-5 { top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: -16s; font-size: 5rem; opacity: 0.03; }

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-20px); }
  50% { transform: translateY(-10px); }
  75% { transform: translateY(-25px); }
}

/* hero-float hidden on mobile — see responsive section */

/* ================================================
   EMOJI ICONS (évite l'italique par défaut de <i>)
   ================================================ */
.emoji-icon { font-style: normal; }

/* ================================================
   STAT ICONS
   ================================================ */
.stat-icon {
  display: block;
  width: 3rem;
  height: 3rem;
  font-size: 2.5rem;
  color: var(--accent-light);
  margin: 0 auto 0.5rem;
  opacity: 0.7;
}

.stat-item:hover .stat-icon {
  animation: statPulse 0.6s ease;
}

@keyframes statPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
}

@keyframes titleReveal {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes titleRevealSpan {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ================================================
   TYPING CURSOR
   ================================================ */
.cursor {
  display: inline-block;
  width: 3px;
  height: 1.4em;
  background: var(--accent-light);
  animation: blink 0.8s step-end infinite;
  vertical-align: text-bottom;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ================================================
   SHIMMER EFFECT
   ================================================ */
.section-title span, .strength-highlight h2 span {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

.section-dark .section-title span {
  background: linear-gradient(90deg, var(--accent-light) 0%, #fff 50%, var(--accent-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

.section-dark .stats-title span:first-child {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: var(--accent) !important;
  background-clip: unset !important;
  animation: none !important;
  color: var(--accent) !important;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

/* ================================================
   BOUTONS AVEC ICÔNES
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.btn .lucide {
  width: 0.95rem;
  height: 0.95rem;
  transition: transform var(--transition);
}

.btn:hover .lucide {
  transform: translateX(3px);
}

.btn-primary .lucide, .btn-secondary .lucide {
  color: var(--primary);
}

.btn-outline .lucide {
  color: var(--accent);
}

.btn-outline:hover .lucide {
  color: var(--primary);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(27, 122, 69, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(27, 122, 69, 0.35);
  color: var(--white);
  background: var(--accent-dark);
}

.btn-secondary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(11, 29, 58, 0.2);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(11, 29, 58, 0.3);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(27, 122, 69, 0.2);
}

/* ================================================
   BANNIÈRE DE PAGE
   ================================================ */
.page-banner {
  background: var(--gradient-hero);
  color: var(--white);
  padding: 100px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 122, 69, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 122, 69, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.page-banner h1 {
  color: var(--white);
  font-size: 2.6rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.15);
}

.page-banner h1 span { color: var(--white); }

.page-banner p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  margin-top: 0.75rem;
  position: relative;
  z-index: 1;
}

/* ================================================
   SECTIONS
   ================================================ */
section {
  padding: 90px 0;
  position: relative;
}

.section-light {
  background: var(--white);
  position: relative;
}

.section-light::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(27, 122, 69, 0.08), transparent);
}

.section-dark {
  background: var(--gradient-primary);
  color: var(--white);
  position: relative;
}

.section-dark::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.section-dark .section-title,
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark .section-title span {
  color: var(--white);
}

.section-muted {
  background: var(--bg-section);
}

/* ================================================
   GRILLES & CARTES
   ================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }

.card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(27, 122, 69, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.card:hover .card-icon {
  animation: statPulse 0.6s ease;
}

.card-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  font-size: 1.8rem;
  color: var(--white);
  margin: 0 auto 1rem auto;
}

.card-icon .lucide {
  width: 1.5rem;
  height: 1.5rem;
}

.card-icon.gold { background: var(--gradient-accent); }
.card-icon.navy { background: var(--gradient-primary); }
.card-icon.blue { background: linear-gradient(135deg, #2563EB, #3B82F6); }
.card-icon.red { background: linear-gradient(135deg, #D94A4A, #E87373); }
.card-icon.green { background: #1B7A45; }
.card-icon.dark { background: linear-gradient(135deg, #0B1D3A, #1A3D6B); }

.card-body { padding: 28px; text-align: center; }
.card-body h3 { margin-bottom: 0.6rem; font-size: 1.1rem; }
.card-body p { font-size: 0.92rem; color: var(--gray); margin-bottom: 0; line-height: 1.7; }

/* ================================================
   SECTION À PROPOS (Accueil)
   ================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  transition: all var(--transition);
}
.about-text:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(27, 122, 69, 0.15);
  background: rgba(255, 255, 255, 0.95);
}
.about-text h2 {
  color: var(--primary);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 10px;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gradient-accent);
}

.about-text h2:last-of-type {
  margin: 1.5rem 0 1rem 0;
}
.about-text p {
  line-height: 1.8;
}
.about-text p:not(:last-of-type) {
  margin-bottom: 1.2rem;
}
.about-text .btn {
  margin-top: auto;
  align-self: flex-start;
}
.about-image-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
}
.about-image-block img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 100%;
  transition: transform 0.6s ease;
}
.about-image-block:hover img {
  transform: scale(1.08);
}
.about-image-block p {
  margin-top: 0.75rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
}

.about-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(27, 122, 69, 0.15);
  border-radius: var(--radius-lg);
  z-index: 1;
  pointer-events: none;
}

.about-image::after {
  content: '';
  position: absolute;
  top: -10px; left: -10px;
  width: 100%; height: 100%;
  border: 2px solid rgba(27, 122, 69, 0.08);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================================
   STRENGTH / POURQUOI NOUS
   ================================================ */
.strength-section {
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.strength-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 122, 69, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 122, 69, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.strength-item {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.strength-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.strength-item:hover .strength-icon {
  animation: statPulse 0.6s ease;
}

.strength-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1rem;
  background: rgba(27, 122, 69, 0.1);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}

.strength-icon .lucide {
  width: 1.7rem;
  height: 1.7rem;
  color: var(--accent-light);
}

.strength-item h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.6rem; }
.strength-item p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.5); margin-bottom: 0; }

.strength-highlight {
  max-width: 750px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 1;
}

.strength-highlight h2 { color: var(--white); font-size: 2.2rem; margin-bottom: 1rem; position: relative; padding-bottom: 10px; }
.strength-highlight h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; height: 1px; background: var(--gradient-accent); }
.strength-highlight h2 span { color: var(--white); }
.strength-highlight p { font-size: 1.05rem; color: rgba(255, 255, 255, 0.5); }

/* ================================================
   STATISTIQUES
   ================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

/* Stats section title — couleurs logo */
.section-dark .stats-title {
  color: var(--white);
}
.section-dark .stats-title .aop-alpha { color: var(--accent-red); }
.section-dark .stats-title .aop-omega { color: var(--accent); }
.section-dark .stats-title .aop-projects { color: var(--white); }
.section-dark .stats-title > span { color: var(--accent); }
.stats-title.visible {
  animation: titleReveal 0.8s ease forwards;
}
.stats-title.visible > span {
  animation: titleRevealSpan 0.8s ease 0.3s forwards;
  opacity: 0;
}

.stat-item:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(27, 122, 69, 0.15);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
  font-weight: 500;
}

/* ================================================
   TÉMOIGNAGE
   ================================================ */
.testimonial {
  padding: 70px 0;
  background: var(--white);
}

.testimonial-card {
  max-width: 700px; margin: 0 auto;
  text-align: center; padding: 50px 40px;
  background: var(--bg-section);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(27, 122, 69, 0.1);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute; top: 10px; left: 30px;
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.08;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--primary);
  margin-bottom: 1.2rem;
  position: relative; z-index: 1;
  line-height: 1.8;
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.testimonial-card cite .aop-alpha,
.testimonial-card cite .aop-omega,
.testimonial-card cite .aop-projects {
  color: #000000;
}

.testimonial-card cite::before {
  content: '— ';
}

.quran-verse {
  display: block;
  font-size: 1.35rem;
  color: var(--primary);
  direction: rtl;
  font-family: 'Traditional Arabic', 'Scheherazade', serif;
  line-height: 1.8;
  margin: 0.6rem 0;
  padding: 0.6rem 0.8rem;
  background: rgba(27, 122, 69, 0.05);
  border-radius: 8px;
  border-right: 3px solid var(--accent);
}

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section {
  text-align: center;
  padding: 80px 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 122, 69, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 122, 69, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  padding-bottom: 10px;
}

.cta-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: var(--gradient-accent);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.5);
  max-width: 550px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

.cta-section .btn {
  position: relative;
  z-index: 1;
  animation: ctaPulse 2.5s ease-in-out infinite;
}

.cta-section .btn:hover {
  animation: none;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(27, 122, 69, 0.25); }
  50% { box-shadow: 0 4px 40px rgba(27, 122, 69, 0.5), 0 0 60px rgba(27, 122, 69, 0.15); }
}

/* ================================================
   CLIENTS CAROUSEL
   ================================================ */
.client-carousel-section {
  overflow: hidden;
  padding: 50px 0;
  background: var(--white);
}

.client-carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.client-carousel-track {
  display: flex;
  gap: 40px;
  animation: scrollClients 40s linear infinite;
  width: max-content;
}

.client-carousel-track:hover { animation-play-state: paused; }

@keyframes scrollClients {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-carousel-item {
  flex-shrink: 0; width: 220px;
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
  padding: 28px 22px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  cursor: default;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.client-carousel-item:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
  border-color: rgba(27, 122, 69, 0.15);
}

.client-carousel-item .client-logo-box {
  border-radius: 8px;
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 80px;
}

.client-carousel-item .client-logo-box img {
  height: auto; width: auto;
  max-width: 160px; max-height: 60px;
  object-fit: contain;
  filter: saturate(0.8);
  transition: filter var(--transition);
}

.client-carousel-item:hover .client-logo-box img {
  filter: saturate(1);
}

.client-carousel-item .client-name {
  font-family: var(--font-heading);
  font-size: 0.8rem; font-weight: 600;
  color: var(--gray);
  text-align: center; line-height: 1.3;
}

.client-carousel-item .client-placeholder {
  width: 55px; height: 55px;
  border-radius: 50%;
  background: rgba(27, 122, 69, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--accent); font-weight: 700;
}

/* ================================================
   CLIENTS SHOWCASE — BANDE DÉFILANTE
   ================================================ */
.clients-showcase {
  overflow: hidden;
  padding: 20px 0 40px;
  width: 100%;
}

.clients-carousel {
  overflow: hidden;
  width: 100%;
}

.clients-track {
  display: flex;
  gap: 30px;
  width: max-content;
  background: #fff;
  animation: scrollClients 40s linear infinite;
}

.clients-track:hover {
  animation-play-state: paused;
}

@keyframes scrollClients {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

.clients-slide {
  flex-shrink: 0;
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  cursor: default;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.clients-slide:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
  border-color: rgba(27, 122, 69, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.clients-slide .client-logo-card {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 70px;
}

.clients-slide .client-logo-card img {
  height: auto;
  width: auto;
  max-width: 220px;
  max-height: 80px;
  object-fit: contain;
  filter: saturate(0.8);
  transition: filter var(--transition);
}

.clients-slide:hover .client-logo-card img {
  filter: saturate(1);
}

.clients-slide .client-name {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray);
  text-align: center;
  line-height: 1.3;
}

/* ================================================
   GRILLE CLIENTS (statique)
   ================================================ */
.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 25px; align-items: center;
}

.client-logo-item {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 30px 25px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  min-height: 160px;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.client-logo-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(27, 122, 69, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.client-logo-item .client-logo-box {
  border-radius: 8px;
  padding: 15px 20px;
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 90px;
}

.client-logo-item .client-logo-box img {
  height: auto; width: auto;
  max-width: 160px; max-height: 65px;
  object-fit: contain;
}

.client-logo-item .client-logo-name {
  font-size: 0.8rem; font-weight: 600;
  color: var(--gray); text-align: center;
  margin-top: 2px;
}

.client-logo-item .logo-placeholder {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 1rem;
  color: var(--gray); text-align: center;
}

/* ================================================
   CLIENTS PAGE
   ================================================ */
.client-logo-card {
  border-radius: 8px;
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 80px;
}

.client-logo-card img {
  height: auto; width: auto;
  max-width: 220px; max-height: 90px;
  object-fit: contain;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
}
.clients-grid .client-card:nth-child(1) { transition-delay: 0s; }
.clients-grid .client-card:nth-child(2) { transition-delay: 0.05s; }
.clients-grid .client-card:nth-child(3) { transition-delay: 0.1s; }
.clients-grid .client-card:nth-child(4) { transition-delay: 0.15s; }
.clients-grid .client-card:nth-child(5) { transition-delay: 0.2s; }
.clients-grid .client-card:nth-child(6) { transition-delay: 0.25s; }
.clients-grid .client-card:nth-child(7) { transition-delay: 0.3s; }
.clients-grid .client-card:nth-child(8) { transition-delay: 0.35s; }
.clients-grid .client-card:nth-child(9) { transition-delay: 0.4s; }
.clients-grid .client-card:nth-child(10) { transition-delay: 0.45s; }

.client-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 35px 25px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  min-height: 200px;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(27, 122, 69, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.client-card-logo {
  padding: 15px 25px;
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 110px;
}

.client-card-logo img {
  height: auto; width: auto;
  max-width: 260px; max-height: 110px;
  object-fit: contain;
}

.client-card-large .client-card-logo img {
  max-width: 320px;
  max-height: 140px;
}

.client-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  line-height: 1.4;
  padding: 8px 4px 4px;
  border-top: 2px solid rgba(27, 122, 69, 0.1);
  width: 100%;
}

.clients-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.clients-why-grid .client-why-item:nth-child(1) { transition-delay: 0s; }
.clients-why-grid .client-why-item:nth-child(2) { transition-delay: 0.08s; }
.clients-why-grid .client-why-item:nth-child(3) { transition-delay: 0.16s; }
.clients-why-grid .client-why-item:nth-child(4) { transition-delay: 0.24s; }

.client-why-item {
  text-align: center;
  padding: 35px 25px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.client-why-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(27, 122, 69, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.client-why-icon {
  width: 60px; height: 60px;
  margin: 0 auto 15px;
  background: #fff;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.client-why-icon .lucide {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--accent);
  transition: color var(--transition);
}

.client-why-item:hover .client-why-icon {
  background: var(--gradient-accent);
  transform: scale(1.1) rotate(3deg);
}

.client-why-item:hover .client-why-icon .lucide { color: var(--primary); }

.client-why-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; }
.client-why-item p { font-size: 0.88rem; color: var(--gray); margin-bottom: 0; line-height: 1.6; }

/* ================================================
   SERVICES CARDS
   ================================================ */
.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.services-cards-grid .service-card:nth-child(1) { transition-delay: 0s; }
.services-cards-grid .service-card:nth-child(2) { transition-delay: 0.04s; }
.services-cards-grid .service-card:nth-child(3) { transition-delay: 0.08s; }
.services-cards-grid .service-card:nth-child(4) { transition-delay: 0.12s; }
.services-cards-grid .service-card:nth-child(5) { transition-delay: 0.16s; }
.services-cards-grid .service-card:nth-child(6) { transition-delay: 0.2s; }
.services-cards-grid .service-card:nth-child(7) { transition-delay: 0.24s; }
.services-cards-grid .service-card:nth-child(8) { transition-delay: 0.28s; }

.service-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 38px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(27, 122, 69, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.service-card:hover .service-card-icon {
  animation: statPulse 0.6s ease;
}

.service-card-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1rem;
  background: rgba(27, 122, 69, 0.08);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}

.service-card-icon .lucide {
  width: 1.8rem;
  height: 1.8rem;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 0;
  line-height: 1.7;
}

/* ================================================
   ACCORDÉON SERVICES
   ================================================ */
.accordion-services {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-left: 3px solid transparent;
}

.accordion-item:hover {
  box-shadow: var(--shadow-glow);
}

.accordion-item.active {
  border-left-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.accordion-header {
  display: flex; align-items: center;
  padding: 20px 24px; cursor: pointer;
  font-family: var(--font-heading); font-weight: 600;
  font-size: 1rem; transition: all var(--transition);
  user-select: none; gap: 14px; border: none; width: 100%;
  background: var(--white); color: var(--primary);
}

.accordion-header:hover {
  background: rgba(27, 122, 69, 0.03);
}

.accordion-item.active .accordion-header {
  background: rgba(27, 122, 69, 0.04);
  color: var(--primary);
}

.accordion-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-section);
  border-radius: 10px;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all var(--transition);
}

.accordion-icon .lucide {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--accent);
  transition: color var(--transition);
}

.accordion-item.active .accordion-icon {
  background: var(--gradient-accent);
  transform: scale(1.05);
}

.accordion-item.active .accordion-icon .lucide {
  color: var(--primary);
}

.accordion-title { flex: 1; text-align: left; }

.accordion-arrow {
  display: inline-block;
  width: 10px; height: 10px;
  border-right: 2px solid var(--gray);
  border-bottom: 2px solid var(--gray);
  transform: rotate(45deg);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-top: -4px;
}

.accordion-item.active .accordion-arrow { transform: rotate(-135deg); border-color: var(--primary); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-item.active .accordion-body {
  max-height: 800px;
  padding: 0 24px 24px;
}

.accordion-body ul { padding: 0; margin: 0; }

.accordion-body li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.6;
  border-bottom: 1px solid var(--bg-section);
}

.accordion-body li:last-child { border-bottom: none; }

.accordion-body li::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.4;
}

.accordion-body p { font-size: 0.92rem; color: var(--gray); margin-bottom: 0; }

.accordion-subtitle {
  font-size: 0.95rem;
  color: var(--primary);
  margin: 16px 0 8px;
  font-weight: 600;
}

/* ================================================
   PROJETS FILTER
   ================================================ */
.filter-bar, .filtres-projets {
  display: flex; gap: 10px;
  justify-content: center; margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn, .btn-filtre {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid var(--gray-light);
  background: var(--white);
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  transition: all var(--transition);
  color: var(--gray-dark);
}

.btn-filtre-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-filtre.actif .btn-filtre-icon,
.btn-filtre:hover .btn-filtre-icon {
  color: var(--primary);
}

.filter-btn.active, .filter-btn:hover,
.btn-filtre.actif, .btn-filtre:hover {
  border-color: var(--accent);
  background: var(--gradient-accent);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(27, 122, 69, 0.15);
}

.sous-categorie {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-left: 3px solid var(--accent);
  transition: all var(--transition);
}
.sous-categorie:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(27, 122, 69, 0.15);
  background: rgba(255, 255, 255, 0.95);
}
.sous-categorie-header {
  background: rgba(27, 122, 69, 0.04);
}
.sous-categorie-titre {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  margin: 0;
  border: none;
}
.sous-categorie-titre-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-accent);
  border-radius: 10px;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.sous-categorie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  padding: 20px 24px 24px;
}

/* ================================================
   PROJETS GRID
   ================================================ */
.grille-projets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.projet-card {
  display: flex;
}

.projet-card .fiche-projet {
  width: 100%;
}

.section-header {
  grid-column: 1 / -1;
  padding: 10px 0 0;
  margin-bottom: 0;
}

.section-header h2 {
  font-size: 1.6rem;
  margin: 0;
  color: var(--primary);
  position: relative;
  padding-bottom: 12px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
}



.sub-header {
  grid-column: 1 / -1;
  padding: 5px 0 0;
  margin-bottom: 0;
}

.sub-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--accent);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(27, 122, 69, 0.1);
}

.fiche-projet {
  display: block;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: inherit;
  cursor: pointer;
}

.fiche-projet:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(27, 122, 69, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.fiche-projet-image {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.fiche-projet-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.fiche-projet:hover .fiche-projet-image img {
  transform: scale(1.08);
}

.fiche-projet-body {
  padding: 18px 20px;
  background: var(--white);
}

.fiche-projet-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fiche-projet:hover .fiche-projet-body h3 {
  color: var(--accent);
}

/* ================================================
   PROJET DETAIL
   ================================================ */
.page-banner--small {
  padding: 80px 0 50px;
}

.projet-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.projet-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: sticky;
  top: 120px;
}

.projet-detail-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.projet-detail-info h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.projet-detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 2rem;
}

.projet-detail-meta-item {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}
.projet-detail-meta-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(27, 122, 69, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.projet-detail-meta-item .meta-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.projet-detail-meta-item .meta-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

.projet-detail-description {
  margin-bottom: 2rem;
}

.projet-detail-description p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-dark);
}

/* projet-detail responsive — see responsive section */

/* ================================================
   PROJET GALERIE
   ================================================ */
.projet-galerie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.projet-galerie-item {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.6);
  aspect-ratio: 4 / 3;
}

.projet-galerie-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(27, 122, 69, 0.15);
}

.projet-galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.projet-galerie-item:hover img {
  transform: scale(1.08);
}

/* ================================================
   ORGANISATION
   ================================================ */
.org-chart {
  text-align: center;
  padding: 2rem 0;
}

.org-niveau {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.org-arrow {
  font-size: 1.5rem;
  color: var(--accent);
  opacity: 0.4;
  margin: 0.5rem 0;
}

.org-boite {
  padding: 20px 32px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  transition: all var(--transition);
  min-width: 180px;
}

.org-boite:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(27, 122, 69, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.org-boite small {
  display: block;
  font-weight: 400;
  color: var(--gray);
  font-size: 0.8rem;
  margin-top: 4px;
}

.org-dir {
  border-top: 3px solid var(--accent);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
}

.org-dir small { color: rgba(255, 255, 255, 0.6); }

.org-serv { border-top: 3px solid var(--accent); }
.org-equipe { border-top: 2px solid var(--gray-light); min-width: 150px; padding: 14px 20px; font-size: 0.82rem; }

/* ================================================
   QUI-SOMMES-NOUS
   ================================================ */
.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.section-intro p {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.8;
}

.presentation-texte {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 35px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.presentation-texte:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(27, 122, 69, 0.15);
  background: rgba(255, 255, 255, 0.95);
}
.presentation-texte p {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.grille-valeurs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.carte-valeur {
  text-align: center; padding: 35px 25px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.carte-valeur:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(27, 122, 69, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.carte-valeur-icone {
  width: 60px; height: 60px;
  margin: 0 auto 15px;
  background: rgba(27, 122, 69, 0.08);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  transition: all var(--transition);
}

.carte-valeur-icone .lucide {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--accent);
  transition: color var(--transition);
}

.carte-valeur:hover .carte-valeur-icone {
  background: var(--gradient-accent);
  transform: scale(1.1) rotate(3deg);
}

.carte-valeur:hover .carte-valeur-icone .lucide {
  color: var(--primary);
}

.carte-valeur h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.carte-valeur p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }

.chiffres-cles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px; text-align: center;
}

.chiffre-carte {
  padding: 35px 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.chiffre-carte:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(27, 122, 69, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.chiffre-carte .metrique-icone {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 2.5rem;
}

.chiffre-carte .metrique-icone .lucide {
  width: 2rem;
  height: 2rem;
}

.chiffre-carte:hover .metrique-icone {
  animation: statPulse 0.6s ease;
}

.chiffre-carte .metrique-valeur {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 6px;
}

.chiffre-carte .stat-number {
  color: var(--primary);
  font-size: inherit;
}
.chiffre-carte .metrique-label {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 500;
}
.chiffre-carte:nth-child(1) { transition-delay: 0s; }
.chiffre-carte:nth-child(2) { transition-delay: 0.1s; }
.chiffre-carte:nth-child(3) { transition-delay: 0.2s; }

.pourquoi-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.pourquoi-item {
  display: flex; gap: 16px; padding: 25px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11, 29, 58, 0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
}
.pourquoi-item::before {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(27,122,69,0.3), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.pourquoi-item:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 12px 40px rgba(11, 29, 58, 0.12);
  border-color: rgba(27, 122, 69, 0.2);
}
.pourquoi-item:hover::before { opacity: 1; }

.pourquoi-item:nth-child(1) { transition-delay: 0s; }
.pourquoi-item:nth-child(2) { transition-delay: 0.05s; }
.pourquoi-item:nth-child(3) { transition-delay: 0.1s; }
.pourquoi-item:nth-child(4) { transition-delay: 0.15s; }
.pourquoi-item:nth-child(5) { transition-delay: 0.2s; }
.pourquoi-item:nth-child(6) { transition-delay: 0.25s; }

.pourquoi-numero {
  flex-shrink: 0; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-weight: 800; font-size: 1.1rem;
}
.why-img { width: 28px; height: 28px; object-fit: contain; display: block; }

.pourquoi-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.pourquoi-item p { color: var(--gray); font-size: 0.88rem; line-height: 1.6; }

/* ================================================
   CONTACT FORM
   ================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-form-col h2,
.contact-info-col h2 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

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

.form-group label .required {
  color: var(--accent);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition);
  background: var(--white);
  color: var(--primary);
}

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group textarea:-webkit-autofill,
.form-group textarea:-webkit-autofill:hover,
.form-group textarea:-webkit-autofill:focus,
.form-group select:-webkit-autofill,
.form-group select:-webkit-autofill:hover,
.form-group select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--white) inset !important;
  -webkit-text-fill-color: var(--primary) !important;
  transition: background-color 9999s ease-in-out 0s !important;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(27, 122, 69, 0.08);
}

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

.form-group input.error,
.form-group textarea.error {
  border-color: #DC2626;
}

.form-error {
  font-size: 0.8rem;
  color: #DC2626;
  margin-top: 4px;
  display: none;
}

.form-group.error .form-error {
  display: block;
}

.form-success, .form-confirmation {
  display: none;
  padding: 30px;
  background: rgba(27, 122, 69, 0.05);
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: 1.5rem;
  border: 1px solid rgba(27, 122, 69, 0.15);
}

.form-success.show, .form-confirmation.show {
  display: block;
  animation: fadeInUp 0.5s ease;
}

.form-success h3, .form-confirmation h3 {
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
}

.form-success p, .form-confirmation p {
  color: var(--gray);
}

.file-input-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
}

.file-input-wrapper input[type="file"] {
  position: absolute;
  left: 0; top: 0;
  opacity: 0;
  width: 100%; height: 100%;
  cursor: pointer;
  z-index: 2;
}

.file-input-label {
  display: block;
  padding: 14px 16px;
  border: 2px dashed var(--gray-light);
  border-radius: var(--radius);
  background: var(--bg-section);
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray);
  transition: all var(--transition);
  cursor: pointer;
}

.file-input-wrapper:hover .file-input-label {
  border-color: var(--accent);
  background: rgba(27, 122, 69, 0.05);
  color: var(--accent);
}

.file-input-name {
  display: none;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  word-break: break-all;
}

.file-input-wrapper.has-file .file-input-label {
  display: none;
}

.file-input-wrapper.has-file .file-input-name {
  display: block;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background: rgba(27, 122, 69, 0.05);
}

.btn-block {
  width: 100%;
  padding: 16px 32px;
  font-size: 1rem;
  justify-content: center;
}

.info-card {
  display: flex;
  gap: 16px;
  margin-bottom: 1rem;
  padding: 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
  align-items: flex-start;
}

.info-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(27, 122, 69, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.info-icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  background: transparent;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
}

.info-icon .lucide {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--accent);
  transition: color var(--transition);
}

.info-icon .info-icon-img {
  width: 1.6rem;
  height: 1.6rem;
  object-fit: contain;
  filter: brightness(0);
}

.info-card:hover .info-icon {
  background: transparent;
  transform: scale(1.1);
}

.info-card:hover .info-icon .lucide {
  color: var(--primary);
}

.info-card:hover .info-icon .info-icon-img {
  filter: brightness(0);
}

.info-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.info-card p {
  font-size: 0.88rem;
  color: var(--gray-dark);
  margin-bottom: 0;
  line-height: 1.5;
}

.info-card a {
  color: var(--primary);
  font-weight: 600;
}

.info-card a:hover {
  color: var(--accent);
}

.candidature-intro {
  margin-bottom: 1.5rem;
}

.candidature-intro p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ================================================
   PIED DE PAGE
   ================================================ */
.site-footer {
  background: linear-gradient(180deg, #0A0F1F 0%, #060B14 100%);
  color: var(--gray);
  padding: 70px 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 122, 69, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 122, 69, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.site-footer::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(27, 122, 69, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
}

.footer-col h4 {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.6rem;
  font-weight: 700;
}

.footer-col h4::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--accent-light);
  border-radius: 1px;
}

.footer-col p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.45); margin-bottom: 0.5rem; line-height: 1.7; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  transition: all var(--transition);
  display: inline-block;
  position: relative;
}
.footer-col ul li a:hover {
  color: var(--accent-light);
  transform: translateX(4px);
}

.footer-col .footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-col .footer-logo .aop-alpha,
.footer-col .footer-logo .aop-omega,
.footer-col .footer-logo .aop-projects {
  color: #ffffff;
}

.footer-col .footer-slogan {
  font-size: 0.82rem;
  color: #d3d3d3;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition);
  align-items: center;
}

.footer-contact-item:hover {
  transform: translateX(4px);
  color: var(--white);
}
.footer-contact-item .fc-icon {
  color: var(--accent-light);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
}
.footer-contact-item:hover .fc-icon {
  transform: scale(1.15);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.25);
  position: relative;
  z-index: 1;
}

.footer-bottom a { color: rgba(255, 255, 255, 0.3); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--accent-light); }

/* ================================================
   SCROLL TO TOP
   ================================================ */
.scroll-to-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  background: var(--gradient-accent);
  color: var(--primary);
  border: none; border-radius: 50%;
  cursor: pointer; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(27, 122, 69, 0.25);
}

.scroll-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(27, 122, 69, 0.35);
}

/* ================================================
   ANIMATIONS
   ================================================ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ================================================
   SCROLL PROGRESS BAR
   ================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
  background-size: 200% 100%;
  animation: shimmer 2s ease-in-out infinite;
  z-index: 10001;
  transition: width 0.1s linear;
}

/* ================================================
   ANIMATED GRADIENT BORDER (CARTES)
   ================================================ */


@keyframes borderSpin {
  to { rotate: 360deg; }
}

/* ================================================
   MAGNETIC BUTTON GLOW
   ================================================ */
.btn-magnetic {
  transition: transform 0.2s ease-out;
}

/* ================================================
   ICON FLOATING ANIMATION
   ================================================ */
.info-icon .lucide,
.carte-valeur-icone .lucide,
.client-why-icon .lucide {
  animation: iconFloat 3s ease-in-out infinite;
}

.carte-valeur-icone .lucide { animation-delay: 0.2s; }
.client-why-icon .lucide { animation-delay: 0.5s; }
.info-icon .lucide { animation-delay: 0.8s; }

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ================================================
   STAT COUNTER ENHANCED
   ================================================ */
.stat-number {
  position: relative;
  display: inline-block;
}

.stat-number::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 1s ease;
}

.stat-number.visible::after {
  width: 40px;
}

/* ================================================
   SMOOTH SECTION DIVIDER (wave)
   ================================================ */
.section-wave-top {
  position: relative;
}

.section-wave-top::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 33%, transparent 33%),
              linear-gradient(225deg, var(--primary) 33%, transparent 33%);
  background-size: 40px 40px;
  opacity: 0.03;
  pointer-events: none;
}

/* ================================================
   RESPONSIVE — Très petit mobile (max 375px)
   ================================================ */
@media (max-width: 375px) {
  .container { padding: 0 16px; }
  section { padding: 40px 0; }
  .hero { padding: 80px 0 40px; min-height: auto; }
  .hero h1 { font-size: clamp(1.4rem, 7vw, 1.8rem); }
  .hero .slogan { font-size: 0.9rem; }
  .btn { padding: 12px 24px; font-size: 0.82rem; }
  .page-banner h1 { font-size: 1.3rem; }
  .page-banner { padding: 60px 0 40px; }
  .hamburger span { width: 22px; }
  .card-body { padding: 20px; }
  .service-card { padding: 28px 20px; }
  .grille-projets { grid-template-columns: 1fr; }
  .fiche-projet-image { height: 180px; }
  .stats-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr; }
  .chiffres-cles { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .logo-text .sub { display: none; }
  .admin-table { font-size: 0.75rem; }
  .admin-table th, .admin-table td { padding: 6px 8px; }
  .modal-box { padding: 1.2rem; max-height: 90vh; }
  .modal-box h2 { font-size: 1.1rem; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-bar select { min-width: auto; width: 100%; }
}

/* ================================================
   RESPONSIVE — Tablette (max 1024px)
   ================================================ */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.6rem; }
  .hero { padding: 120px 0 80px; min-height: auto; }
  .hero-split { min-height: auto; }
  .hero-split .hero-content { padding: 100px 20px 80px; }
  .grid-3, .strength-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .page-banner h1 { font-size: 2.2rem; }
  .page-banner { padding: 80px 0 60px; }
  .grille-projets { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  .services-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-why-grid { grid-template-columns: repeat(2, 1fr); }
  .projet-detail-layout { grid-template-columns: 1fr; gap: 30px; }
  .projet-detail-image { position: static; }
  .projet-detail-info h2 { font-size: 1.4rem; }
  .projet-detail-meta { grid-template-columns: 1fr 1fr; }
  .admin-table { font-size: 0.8rem; }
}

/* ================================================
   RESPONSIVE — Mobile (max 768px)
   ================================================ */
@media (max-width: 768px) {
  /* --- Header & Navigation --- */
  .hamburger { display: flex; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; }

  .main-nav {
    position: fixed; top: var(--header-height);
    left: 0; right: 0;
    background: rgba(7, 13, 26, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .main-nav.open { max-height: 70vh; overflow-y: auto; }

  .main-nav ul { flex-direction: column; padding: 10px 20px 20px; gap: 0; }
  .main-nav a {
    padding: 16px 14px;
    min-height: 44px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
  }
  .main-nav a::after { display: none; }
  .main-nav a.active { color: var(--white); background: transparent; }

  .logo a { gap: 10px; font-size: 1.1rem; }
  .logo-img { height: 38px; }
  .logo-text .sub { font-size: 0.5rem; letter-spacing: 1px; }

  /* --- Hero --- */
  .hero { padding: 100px 0 60px; }
  .hero-float { display: none; }
  .hero-split { padding: 0; flex-direction: column; text-align: center; }
  .hero-split .hero-content { width: 100%; max-width: 100%; padding: 100px 20px 60px; }
  .hero-split .hero-slideshow { width: 100%; }
  .hero-split .hero-overlay { background: rgba(7, 13, 26, 0.55); }
  .hero h1 { font-size: clamp(1.6rem, 6vw, 2rem); }
  .hero .slogan { font-size: 1rem; }
  .hero .btn { margin: 0 4px 8px; }
  .hero-badge { font-size: 0.65rem; padding: 6px 14px; }

  /* --- Grids --- */
  .grid-3, .grid-4, .strength-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .strength-highlight h2 { font-size: 1.6rem; }

  /* --- Sections --- */
  section { padding: 60px 0; }
  .page-banner { padding: 70px 0 50px; }
  .page-banner h1 { font-size: clamp(1.3rem, 4vw, 1.6rem); }
  .section-title { margin-bottom: 2rem; }
  .section-subtitle { margin: -1rem auto 2rem; font-size: 1rem; }

  /* --- Filters --- */
  .filter-bar, .filtres-projets { gap: 6px; flex-wrap: wrap; }
  .filter-btn, .btn-filtre { padding: 8px 16px; font-size: 0.8rem; min-height: 44px; }

  /* --- Projects --- */
  .grille-projets { grid-template-columns: 1fr; }
  .fiche-projet-image { height: 200px; }
  .projet-detail-meta { grid-template-columns: 1fr; }
  .projet-galerie { grid-template-columns: 1fr 1fr; }

  /* --- Accordion --- */
  .accordion-header { padding: 16px 18px; font-size: 0.9rem; gap: 10px; min-height: 44px; }
  .accordion-icon { width: 36px; height: 36px; font-size: 1.1rem; }
  .accordion-item.active .accordion-body { padding: 0 18px 18px; }
  .accordion-body li { font-size: 0.85rem; padding: 6px 0 6px 20px; }

  /* --- Services & Clients --- */
  .services-cards-grid { grid-template-columns: 1fr; }
  .clients-why-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .client-card { padding: 25px 15px; min-height: 160px; }

  /* --- Values & Stats --- */
  .grille-valeurs { grid-template-columns: 1fr; }
  .chiffres-cles { grid-template-columns: repeat(2, 1fr); }
  .pourquoi-grille { grid-template-columns: 1fr; }

  /* --- About --- */
  .about-grid { grid-template-columns: 1fr; gap: 30px; }

  /* --- Buttons --- */
  .btn { padding: 14px 28px; }
  .btn-block { padding: 14px 28px; }

  /* --- Forms --- */
  .form-group input, .form-group textarea, .form-group select { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .info-card { flex-direction: column; text-align: center; align-items: center; }

  /* --- Organisation --- */
  .org-niveau { gap: 1rem; flex-direction: column; align-items: center; }
  .org-boite { min-width: 140px; padding: 16px 20px; width: 100%; max-width: 280px; }

  /* --- Admin Panel --- */
  .admin-table { width: 100%; font-size: 0.78rem; display: block; overflow-x: auto; }
  .admin-table thead { display: none; }
  .admin-table tbody, .admin-table tr { display: block; width: 100%; }
  .admin-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 12px;
    margin-bottom: 10px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255,255,255,0.6);
  }
  .admin-table td {
    padding: 4px 0;
    border-bottom: none;
    font-size: 0.8rem;
  }
  .admin-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    font-size: 0.7rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
  }
  .admin-table td:last-child {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding-top: 8px;
    border-top: 1px solid var(--gray-light);
  }
  .msg-preview { max-height: 40px; font-size: 0.75rem; }
  .tab-nav a { padding: 10px 16px; font-size: 0.82rem; }
  .btn-voir, .btn-delete { padding: 6px 10px; font-size: 0.72rem; }

  /* --- Modal --- */
  .modal-overlay { padding: 10px; }
  .modal-box { padding: 1.5rem; max-width: 100%; max-height: 85vh; }
  .modal-box h2 { font-size: 1.1rem; margin-bottom: 1rem; }
  .modal-field label { font-size: 0.7rem; }
  .modal-field .value { font-size: 0.88rem; }

  /* --- Candidature Info Cards --- */
  .info-card { padding: 16px; }
  .info-icon { width: 44px; height: 44px; }

  /* --- Footer --- */
  .footer-col h4 { font-size: 0.9rem; }
  .footer-col p, .footer-col ul li a { font-size: 0.82rem; }
  .footer-contact-item { font-size: 0.82rem; }
}

/* ================================================
   RESPONSIVE — Paysage mobile (hauteur limitée)
   ================================================ */
@media (max-height: 500px) and (orientation: landscape) {
  .site-header { --header-height: 60px; }
  .hero { min-height: auto; padding: 80px 0 40px; }
  .hero-split { min-height: auto; }
  .hero-split .hero-content { padding: 80px 0 40px 4vw; }
  .hero h1 { font-size: 1.4rem; }
  .hero .slogan { font-size: 0.85rem; margin-bottom: 1rem; }
  .hero .hero-sub { display: none; }
}


/* ================================================
   LIGHTBOX
   ================================================ */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(7, 13, 26, 0.92);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;
  font-size: 2.8rem;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: color var(--transition);
  line-height: 1;
  z-index: 1;
}

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

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.4rem;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 20px;
  transition: all var(--transition);
  user-select: none;
  z-index: 1;
}

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

.lightbox-prev {
  left: 10px;
}

.lightbox-next {
  right: 10px;
}

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .lightbox-image {
    max-width: 96vw;
    max-height: 70vh;
  }

  .lightbox-nav {
    font-size: 1.6rem;
    padding: 12px;
  }

  .lightbox-prev {
    left: 4px;
  }

  .lightbox-next {
    right: 4px;
  }

  .lightbox-close {
    top: 16px;
    right: 20px;
    font-size: 2rem;
  }
}
