/* ================================================================
   PRINCIPIUM PARTNERS SARL — Feuille de style principale
   Version 1.0 | Design premium institutionnel
   ================================================================ */

/* ----------------------------------------------------------------
   1. VARIABLES GLOBALES
   ---------------------------------------------------------------- */
:root {
  /* Couleurs de la marque */
  --green:        #16A300;
  --green-dark:   #0B6D00;
  --green-deep:   #084d00;
  --green-light:  #1FC500;
  --green-pale:   #eaf6e7;
  --green-pale2:  #f0fced;
  --white:        #FFFFFF;
  --gray-50:      #F9FAFB;
  --gray-100:     #F5F7FA;
  --gray-200:     #E5E7EB;
  --gray-300:     #D1D5DB;
  --gray-400:     #9CA3AF;
  --gray-500:     #6B7280;
  --gray-dark:    #4B5563;
  --anthracite:   #1F2937;
  --black:        #111827;
  --hero-bg:      #0a1f0a;

  /* Typographie */
  --font-sans:   'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-serif:  Georgia, 'Times New Roman', serif;

  /* Layout */
  --nav-h:       80px;
  --max-w:       1200px;
  --sec-py:      100px;
  --sec-py-sm:   60px;

  /* Ombres */
  --sh-xs: 0 1px 2px rgba(0,0,0,.06);
  --sh-sm: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --sh-md: 0 4px 6px rgba(0,0,0,.07), 0 10px 15px rgba(0,0,0,.06);
  --sh-lg: 0 10px 25px rgba(0,0,0,.08), 0 20px 50px rgba(0,0,0,.05);
  --sh-xl: 0 25px 60px rgba(0,0,0,.12);
  --sh-green: 0 8px 30px rgba(22,163,0,.28);

  /* Bordures */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;

  /* Transitions */
  --tr:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--anthracite);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; transition: var(--tr); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

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

.section { padding: var(--sec-py) 0; }

.sec-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  padding: 4px 14px;
  background: var(--green-pale);
  border-radius: 100px;
  margin-bottom: 16px;
}
.sec-label.light {
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.15);
}

.sec-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--anthracite);
  line-height: 1.2;
  margin-bottom: 16px;
}

.sec-sub {
  font-size: 1.05rem;
  color: var(--gray-dark);
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   4. BOUTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: var(--tr);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--sh-green);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--green);
  color: #fff;
  padding: 10px 22px;
  font-size: .87rem;
}
.btn-nav:hover {
  background: var(--green-dark);
  box-shadow: var(--sh-green);
}

.btn-hero-primary {
  background: var(--green);
  color: #fff;
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: var(--r-sm);
}
.btn-hero-primary:hover {
  background: var(--green-light);
  box-shadow: 0 12px 40px rgba(22,163,0,.4);
  transform: translateY(-3px);
}

.btn-hero-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.3);
  padding: 16px 32px;
  font-size: 1rem;
  backdrop-filter: blur(4px);
}
.btn-hero-ghost:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-3px);
}

.btn-svc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .87rem;
  font-weight: 600;
  color: var(--green);
  padding: 10px 0;
  border-bottom: 2px solid var(--green-pale);
  transition: var(--tr);
}
.btn-svc:hover { color: var(--green-dark); border-color: var(--green); gap: 12px; }

.btn-svc-featured {
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.btn-svc-featured:hover { color: #fff; border-color: rgba(255,255,255,.8); }

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

.btn-sm-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: var(--r-sm);
  transition: var(--tr);
}
.btn-sm-ghost:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* ----------------------------------------------------------------
   5. NAVIGATION
   ---------------------------------------------------------------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: var(--tr-slow);
}
#navbar.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

/* Logo */
.nav-logo, .footer-logo { display: inline-flex; align-items: center; }

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon-box {
  width: 44px; height: 44px;
  background: var(--green);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(22,163,0,.3);
}
.logo-icon-box.sm { width: 38px; height: 38px; }
.logo-icon-box span {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.logo-text-box {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.lt-primary {
  font-size: .93rem;
  font-weight: 800;
  color: var(--anthracite);
  letter-spacing: .04em;
  transition: var(--tr);
}
.lt-secondary {
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--gray-500);
  text-transform: uppercase;
}

#navbar:not(.scrolled) .lt-primary { color: #fff; }
#navbar:not(.scrolled) .lt-secondary { color: rgba(255,255,255,.6); }

/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: var(--tr);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 12px; right: 12px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform .25s ease;
  border-radius: 2px;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

#navbar.scrolled .nav-link { color: var(--gray-dark); }
#navbar.scrolled .nav-link:hover { color: var(--green); }
.nav-link:hover { color: #fff; }
#navbar.scrolled .nav-link:hover { background: var(--green-pale); color: var(--green); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px; height: 32px;
  justify-content: center;
  align-items: flex-end;
}
.hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--tr);
}
.hamburger span:nth-child(1) { width: 28px; }
.hamburger span:nth-child(2) { width: 20px; }
.hamburger span:nth-child(3) { width: 24px; }
#navbar.scrolled .hamburger span { background: var(--anthracite); }

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 28px; }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 28px; }

/* ----------------------------------------------------------------
   NAVIGATION — RESPONSIVE MOBILE
   ---------------------------------------------------------------- */
@media (max-width: 768px) {

  /* Réduire la hauteur de navbar si besoin */
  #navbar {
    height: 64px;
  }

  /* Réduire le logo image (le 150px en HTML écrase tout) */
  .nav-logo img {
    height: 44px;
    width: auto;
  }

  /* Afficher le hamburger */
  .hamburger {
    display: flex;
  }

  /* Masquer le menu et le faire apparaître en dropdown */
  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #0a2e1a;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
  }

  #navbar.scrolled .nav-menu {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
  }

  /* Menu ouvert via JS */
  .nav-menu.open {
    display: flex;
  }

  /* Links en colonne */
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    border-radius: 0;
  }

  #navbar.scrolled .nav-links .nav-link {
    border-bottom-color: rgba(0,0,0,.06);
  }

  /* Bouton CTA en bas du menu */
  .btn-nav {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
  }
}

/* ----------------------------------------------------------------
   6. HERO
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--hero-bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Dégradé fond */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(22,163,0,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(11,109,0,.25) 0%, transparent 55%),
    linear-gradient(135deg, #071507 0%, #0a1f0a 40%, #0d2a0d 100%);
}

/* Grille de points */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: .7;
}

/* Formes décoratives */
.hero-shapes { position: absolute; inset: 0; overflow: hidden; }

.hs {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(22,163,0,.18);
  animation: rotateShape 20s linear infinite;
}
.hs-1 { width: 600px; height: 600px; top: -200px; right: -150px; animation-duration: 30s; }
.hs-2 { width: 400px; height: 400px; bottom: -100px; left: -80px; animation-duration: 25s; animation-direction: reverse; border-color: rgba(255,255,255,.06); }
.hs-3 { width: 250px; height: 250px; top: 30%; right: 15%; animation-duration: 20s; border-color: rgba(22,163,0,.12); }
.hs-4 { width: 180px; height: 180px; bottom: 20%; left: 30%; animation-duration: 35s; animation-direction: reverse; border-color: rgba(255,255,255,.04); }

@keyframes rotateShape {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Contenu hero */
.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 80px;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.18);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -.01em;
}
.text-accent {
  font-style: italic;
  color: var(--green-light);
  display: inline;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

/* KPIs hero */
.hero-kpis {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 20px 28px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  backdrop-filter: blur(8px);
  max-width: 560px;
}
.hkpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
  flex: 1;
}
.hkpi strong {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.hkpi span {
  font-size: .72rem;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hkpi-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.15);
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-mouse {
  width: 26px; height: 40px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-dot-inner {
  width: 4px; height: 8px;
  background: rgba(255,255,255,.6);
  border-radius: 2px;
  animation: scrollAnim 2s infinite;
}
@keyframes scrollAnim {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ----------------------------------------------------------------
   7. ABOUT
   ---------------------------------------------------------------- */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-left .sec-title {
  margin-bottom: 20px;
}
.about-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--anthracite);
  line-height: 1.7;
  margin-bottom: 16px;
}
.about-body {
  font-size: .97rem;
  color: var(--gray-dark);
  line-height: 1.75;
  margin-bottom: 32px;
}

.mv-cards { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.mv-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--gray-100);
  border-radius: var(--r-md);
  border-left: 4px solid var(--green);
  transition: var(--tr);
}
.mv-card:hover { background: var(--green-pale); transform: translateX(4px); }
.mv-icon {
  width: 40px; height: 40px;
  background: var(--green);
  color: #fff;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.mv-card h4 { font-size: .95rem; font-weight: 700; color: var(--anthracite); margin-bottom: 4px; }
.mv-card p  { font-size: .87rem; color: var(--gray-dark); line-height: 1.55; }

/* Experts bar */
.experts-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.eb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--green-pale2);
  border-radius: var(--r-sm);
  font-size: .82rem;
  font-weight: 600;
  color: var(--green-dark);
}
.eb-item i { font-size: .9rem; }

/* Values */
.about-right {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}
.vals-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--anthracite);
  margin-bottom: 24px;
}
.vals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.val-item {
  display: flex;
  gap: 12px;
  padding: 18px;
  background: var(--gray-50);
  border-radius: var(--r-md);
  border: 1px solid var(--gray-200);
  transition: var(--tr);
}
.val-item:hover {
  background: var(--white);
  box-shadow: var(--sh-md);
  border-color: var(--green-pale);
  transform: translateY(-3px);
}
.val-icon {
  width: 36px; height: 36px;
  background: var(--green-pale);
  color: var(--green);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}
.val-item:hover .val-icon { background: var(--green); color: #fff; }
.val-item h4 { font-size: .87rem; font-weight: 700; color: var(--anthracite); margin-bottom: 2px; }
.val-item p  { font-size: .78rem; color: var(--gray-500); line-height: 1.4; }

/* ----------------------------------------------------------------
   8. SERVICES
   ---------------------------------------------------------------- */
.services-sec { background: var(--gray-100); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.svc-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  border: 1px solid var(--gray-200);
  transition: var(--tr-slow);
  position: relative;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--sh-xl); }

.svc-card.svc-featured {
  background: var(--green-dark);
  border-color: transparent;
  transform: scale(1.03);
  box-shadow: var(--sh-green);
}
.svc-card.svc-featured:hover { transform: scale(1.03) translateY(-8px); }

.svc-badge {
  position: absolute;
  top: 16px; right: 16px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--green-light);
  color: var(--hero-bg);
  padding: 4px 12px;
  border-radius: 100px;
}

.svc-head {
  padding: 36px 28px 28px;
  text-align: center;
}
.svc-conseil { background: linear-gradient(135deg, var(--gray-50), #e8f5e3); }
.svc-etudes  { background: linear-gradient(135deg, rgba(11,109,0,.15), rgba(22,163,0,.05)); }
.svc-form    { background: linear-gradient(135deg, var(--gray-50), #eef9eb); }

.svc-icon-wrap {
  width: 64px; height: 64px;
  background: var(--green);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 8px 20px rgba(22,163,0,.25);
}
.svc-featured .svc-icon-wrap { background: rgba(255,255,255,.2); }

.svc-head h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--anthracite);
  margin-bottom: 6px;
}
.svc-featured .svc-head h3 { color: #fff; }

.svc-head p {
  font-size: .87rem;
  color: var(--gray-dark);
}
.svc-featured .svc-head p { color: rgba(255,255,255,.65); }

.svc-body { padding: 24px 28px 32px; }

.svc-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.svc-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .87rem;
  color: var(--gray-dark);
  line-height: 1.45;
}
.svc-list li i {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: .85rem;
}
.svc-featured .svc-list li { color: rgba(255,255,255,.75); }
.svc-featured .svc-list li i { color: var(--green-light); }

/* ----------------------------------------------------------------
   9. POURQUOI NOUS
   ---------------------------------------------------------------- */
.why-sec { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  padding: 32px 28px;
  background: var(--gray-50);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
  transition: var(--tr-slow);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}
.why-card:hover { background: var(--white); box-shadow: var(--sh-lg); transform: translateY(-6px); border-color: transparent; }
.why-card:hover::before { transform: scaleX(1); }

.why-icon {
  width: 56px; height: 56px;
  background: var(--green-pale);
  color: var(--green);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  transition: var(--tr);
}
.why-card:hover .why-icon { background: var(--green); color: #fff; box-shadow: var(--sh-green); }

.why-card h4 {
  font-size: 1.03rem;
  font-weight: 700;
  color: var(--anthracite);
  margin-bottom: 10px;
}
.why-card p { font-size: .9rem; color: var(--gray-dark); line-height: 1.65; }

/* ----------------------------------------------------------------
   10. STATS
   ---------------------------------------------------------------- */
.stats-sec {
  position: relative;
  padding: var(--sec-py) 0;
  overflow: hidden;
}

.stats-bg-wrap {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--hero-bg) 60%, var(--anthracite) 100%);
  z-index: 0;
}
.stats-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.stats-bg-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(22,163,0,.15), transparent 65%);
}

.stats-sec .container { position: relative; z-index: 1; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
}

.stat-box {
  padding: 48px 32px;
  text-align: center;
  background: rgba(255,255,255,.04);
  transition: var(--tr);
  position: relative;
}
.stat-box::after {
  content: '';
  position: absolute;
  bottom: 0; left: 20%; right: 20%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform .4s ease;
  border-radius: 2px;
}
.stat-box:hover { background: rgba(255,255,255,.08); }
.stat-box:hover::after { transform: scaleX(1); }

.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-lbl {
  font-size: .92rem;
  font-weight: 700;
  color: var(--green-light);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.stat-desc {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  line-height: 1.4;
}

/* ----------------------------------------------------------------
   11. FORMATIONS
   ---------------------------------------------------------------- */
.form-sec { background: var(--gray-100); }

.form-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.form-type-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: var(--tr-slow);
}
.form-type-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--green-pale); }

.ft-icon {
  width: 60px; height: 60px;
  background: var(--green-pale);
  color: var(--green);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 18px;
  transition: var(--tr);
}
.form-type-card:hover .ft-icon { background: var(--green); color: #fff; box-shadow: var(--sh-green); }

.form-type-card h4 {
  font-size: .97rem;
  font-weight: 700;
  color: var(--anthracite);
  margin-bottom: 10px;
}
.form-type-card p {
  font-size: .85rem;
  color: var(--gray-dark);
  line-height: 1.6;
  margin-bottom: 16px;
}

.ft-tags { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.ftag {
  font-size: .72rem;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--green-pale);
  padding: 3px 10px;
  border-radius: 100px;
}

/* Formation highlight */
.form-highlight {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin-bottom: 48px;
  box-shadow: var(--sh-sm);
  border-left: 5px solid var(--green);
}
.fhl-icon {
  width: 52px; height: 52px;
  background: var(--green-pale);
  color: var(--green);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.fhl-text { flex: 1; }
.fhl-text h4 { font-size: .97rem; font-weight: 700; color: var(--anthracite); margin-bottom: 4px; }
.fhl-text p  { font-size: .87rem; color: var(--gray-dark); }
.fhl-btn { flex-shrink: 0; }

/* Thèmes */
.form-themes h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--anthracite);
  margin-bottom: 20px;
  text-align: center;
}
.themes-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.theme-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  font-size: .83rem;
  font-weight: 500;
  color: var(--anthracite);
  transition: var(--tr);
  cursor: default;
}
.theme-chip i { color: var(--green); font-size: .8rem; }
.theme-chip:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: var(--sh-green);
  transform: translateY(-2px);
}
.theme-chip:hover i { color: #fff; }

/* ----------------------------------------------------------------
   12. PROCESSUS
   ---------------------------------------------------------------- */
.process-sec { background: var(--white); }

.process-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.pt-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.pt-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 16px;
  transition: var(--tr);
}
.pt-step:hover .pt-num { color: var(--green-pale); }

.pt-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 28px 20px;
  width: 100%;
  transition: var(--tr-slow);
}
.pt-step:hover .pt-card {
  background: var(--white);
  box-shadow: var(--sh-lg);
  border-color: var(--green-pale);
  transform: translateY(-4px);
}

.pt-icon {
  width: 48px; height: 48px;
  background: var(--green-pale);
  color: var(--green);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin: 0 auto 14px;
  transition: var(--tr);
}
.pt-step:hover .pt-icon { background: var(--green); color: #fff; box-shadow: var(--sh-green); }

.pt-card h4 { font-size: .95rem; font-weight: 700; color: var(--anthracite); margin-bottom: 8px; }
.pt-card p  { font-size: .82rem; color: var(--gray-dark); line-height: 1.55; }

.pt-line {
  flex-shrink: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--green-pale), var(--green));
  margin-top: 72px;
  position: relative;
}
.pt-line::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--green);
}

/* ----------------------------------------------------------------
   13. TÉMOIGNAGES
   ---------------------------------------------------------------- */
.testi-sec { background: var(--gray-100); }

.testi-wrapper {
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  overflow: hidden;
  padding: 48px 52px;
  border: 1px solid var(--gray-200);
}

.testi-slider { position: relative; overflow: hidden; min-height: 240px; }

.testi-slide {
  display: none;
  animation: fadeInSlide .5s ease;
}
.testi-slide.active { display: block; }

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

.testi-quote {
  font-size: 2.5rem;
  color: var(--green-pale);
  margin-bottom: 20px;
  line-height: 1;
}
.testi-text {
  font-size: 1.06rem;
  font-style: italic;
  color: var(--anthracite);
  line-height: 1.8;
  margin-bottom: 28px;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testi-avatar {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testi-info { flex: 1; }
.testi-info strong { display: block; font-size: .92rem; font-weight: 700; color: var(--anthracite); }
.testi-info span   { font-size: .8rem; color: var(--gray-500); }
.testi-stars { color: #f59e0b; font-size: .82rem; display: flex; gap: 2px; }

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}
.tc-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  color: var(--gray-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  transition: var(--tr);
}
.tc-btn:hover { background: var(--green); color: #fff; border-color: var(--green); }

.testi-dots { display: flex; gap: 8px; }
.tdot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  transition: var(--tr);
  cursor: pointer;
}
.tdot.active { background: var(--green); transform: scale(1.3); }

/* ----------------------------------------------------------------
   14. BLOG
   ---------------------------------------------------------------- */
.blog-sec { background: var(--white); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--sh-sm);
  transition: var(--tr-slow);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }

.blog-img {
  height: 220px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px 20px;
}
.blog-img-1 { background: linear-gradient(135deg, #0B6D00 0%, #1F2937 100%); }
.blog-img-2 { background: linear-gradient(135deg, #1F2937 0%, #16A300 100%); }
.blog-img-3 { background: linear-gradient(135deg, #4B5563 0%, #0B6D00 100%); }

.blog-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

.blog-cat {
  position: relative;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(22,163,0,.8);
  padding: 4px 12px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.blog-body { padding: 24px 24px 28px; }
.blog-meta { display: flex; gap: 16px; margin-bottom: 12px; }
.blog-meta span {
  font-size: .77rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 5px;
}
.blog-body h4 {
  font-size: .97rem;
  font-weight: 700;
  color: var(--anthracite);
  line-height: 1.4;
  margin-bottom: 10px;
  transition: var(--tr);
}
.blog-card:hover .blog-body h4 { color: var(--green); }
.blog-body p {
  font-size: .87rem;
  color: var(--gray-dark);
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .83rem;
  font-weight: 600;
  color: var(--green);
  transition: var(--tr);
}
.blog-link:hover { gap: 10px; color: var(--green-dark); }

.blog-cta { text-align: center; }

/* ----------------------------------------------------------------
   15. CONTACT
   ---------------------------------------------------------------- */
.contact-sec { background: var(--gray-100); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.ci-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 36px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--sh-md);
  margin-bottom: 20px;
}
.ci-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--anthracite); margin-bottom: 24px; }

.ci-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}
.ci-item:last-of-type { border-bottom: none; }

.ci-icon {
  width: 36px; height: 36px;
  background: var(--green-pale);
  color: var(--green);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}
.ci-icon.ci-wa { background: #e8f8ef; color: #25D366; }

.ci-item strong { display: block; font-size: .82rem; font-weight: 700; color: var(--anthracite); margin-bottom: 2px; }
.ci-item p, .ci-item a { font-size: .87rem; color: var(--gray-dark); }
.ci-item a:hover { color: var(--green); }

.ci-hours {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--green-pale2);
  border-radius: var(--r-md);
  margin-top: 16px;
  margin-bottom: 20px;
}
.ci-hours i { color: var(--green); margin-top: 2px; }
.ci-hours strong { display: block; font-size: .82rem; font-weight: 700; color: var(--green-dark); margin-bottom: 2px; }
.ci-hours p { font-size: .82rem; color: var(--gray-dark); }

.ci-social { display: flex; gap: 10px; }
.cs-btn {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  color: #fff;
  transition: var(--tr);
}
.cs-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.cs-li { background: #0077b5; }
.cs-fb { background: #1877f2; }
.cs-tw { background: #000; }
.cs-wa { background: #25d366; }

/* Map box */
.map-box {
  height: 180px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-dark), #1a2e1a);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid var(--gray-200);
}
.map-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 20px 20px;
}
.map-inner {
  position: relative;
  text-align: center;
  color: #fff;
}
.map-inner i { font-size: 2rem; color: var(--green-light); margin-bottom: 10px; display: block; }
.map-inner p { font-size: .82rem; color: rgba(255,255,255,.7); margin-bottom: 14px; line-height: 1.4; }

/* Formulaire */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 40px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--sh-md);
}

.cform-header { margin-bottom: 28px; }
.cform-header h3 { font-size: 1.15rem; font-weight: 700; color: var(--anthracite); margin-bottom: 4px; }
.cform-header p  { font-size: .82rem; color: var(--gray-500); }

.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform-group { margin-bottom: 20px; }

.cform-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--anthracite);
  margin-bottom: 6px;
}

.cform-group input,
.cform-group select,
.cform-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-size: .9rem;
  color: var(--anthracite);
  background: var(--gray-50);
  transition: var(--tr);
  outline: none;
  appearance: none;
}
.cform-group input:focus,
.cform-group select:focus,
.cform-group textarea:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(22,163,0,.1);
}
.cform-group input.error,
.cform-group select.error,
.cform-group textarea.error {
  border-color: #ef4444;
  background: #fef2f2;
}
.cerr { display: block; font-size: .77rem; color: #ef4444; margin-top: 4px; min-height: 18px; }
.cform-group textarea { resize: vertical; min-height: 130px; }

/* Checkbox */
.cform-check .check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: .83rem;
  color: var(--gray-dark);
  line-height: 1.5;
}
.cform-check input[type="checkbox"] { display: none; }
.check-box {
  width: 20px; height: 20px;
  border: 1.5px solid var(--gray-300);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
  transition: var(--tr);
  display: flex; align-items: center; justify-content: center;
}
.cform-check input:checked + .check-box {
  background: var(--green);
  border-color: var(--green);
}
.cform-check input:checked + .check-box::after {
  content: '✓';
  color: #fff;
  font-size: .75rem;
}
.cform-check a { color: var(--green); text-decoration: underline; }

.cform-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--green-pale);
  border-radius: var(--r-md);
  margin-top: 16px;
  border: 1px solid var(--green-pale);
}
.cform-success.visible { display: flex; }
.cform-success i { font-size: 1.4rem; color: var(--green); flex-shrink: 0; }
.cform-success p { font-size: .87rem; color: var(--green-dark); font-weight: 500; }

/* ----------------------------------------------------------------
   16. FOOTER
   ---------------------------------------------------------------- */
.footer { background: var(--anthracite); }

.footer-top { padding: 72px 0 40px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.f-brand p {
  font-size: .87rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin: 20px 0 24px;
  max-width: 300px;
}

.f-brand .footer-logo .lt-primary  { color: #fff; }
.f-brand .footer-logo .lt-secondary { color: rgba(255,255,255,.4); }

.f-social { display: flex; gap: 10px; }
.f-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.6);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: .83rem;
  transition: var(--tr);
}
.f-social a:hover { background: var(--green); border-color: var(--green); color: #fff; }

.f-col h4 {
  font-size: .87rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.f-col ul { display: flex; flex-direction: column; gap: 10px; }
.f-col ul li a {
  font-size: .87rem;
  color: rgba(255,255,255,.5);
  transition: var(--tr);
}
.f-col ul li a:hover { color: var(--green-light); padding-left: 4px; }

.f-contact { display: flex; flex-direction: column; gap: 12px; }
.f-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.f-contact li i { color: var(--green); margin-top: 2px; flex-shrink: 0; font-size: .83rem; }
.f-contact li a { color: rgba(255,255,255,.5); }
.f-contact li a:hover { color: var(--green-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.fb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.fb-inner p { font-size: .82rem; color: rgba(255,255,255,.35); }
.fb-legal { display: flex; gap: 20px; }
.fb-legal a {
  font-size: .77rem;
  color: rgba(255,255,255,.35);
  transition: var(--tr);
}
.fb-legal a:hover { color: var(--green-light); }

/* ----------------------------------------------------------------
   17. ÉLÉMENTS FLOTTANTS
   ---------------------------------------------------------------- */

/* Bouton back-to-top */
.btt {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 44px; height: 44px;
  background: var(--anthracite);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  box-shadow: var(--sh-lg);
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--tr);
  pointer-events: none;
}
.btt.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.btt:hover { background: var(--green); transform: translateY(-3px); }

/* Bouton WhatsApp flottant */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px; height: 54px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 24px rgba(37,211,102,.4);
  z-index: 999;
  transition: var(--tr-bounce);
}
.wa-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,.5);
  color: #fff;
}
.wa-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37,211,102,.2);
  animation: waPulse 2.5s infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.wa-tip {
  position: absolute;
  right: 64px;
  white-space: nowrap;
  font-size: .78rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0,0,0,.8);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  opacity: 0;
  pointer-events: none;
  transition: var(--tr);
}
.wa-tip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: rgba(0,0,0,.8);
}
.wa-float:hover .wa-tip { opacity: 1; }

/* ----------------------------------------------------------------
   18. ANIMATIONS
   ---------------------------------------------------------------- */

/* Entrées initiales (hero) */
.anim-fade {
  animation: animFade .8s ease forwards;
  opacity: 0;
}
.anim-up {
  animation: animUp .8s ease forwards;
  opacity: 0;
}
.delay-1 { animation-delay: .2s; }
.delay-2 { animation-delay: .4s; }
.delay-3 { animation-delay: .6s; }
.delay-4 { animation-delay: .8s; }

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

/* Reveal au scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }
.reveal.delay-4 { transition-delay: .4s; }

/* ----------------------------------------------------------------
   19. RESPONSIVE
   ---------------------------------------------------------------- */

/* Tablette large — ≤1100px */
@media (max-width: 1100px) {
  .about-grid        { grid-template-columns: 1fr; gap: 48px; }
  .about-right       { position: static; }
  .services-grid     { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .svc-card.svc-featured { transform: none; }
  .svc-card.svc-featured:hover { transform: translateY(-8px); }
  .stats-grid        { grid-template-columns: repeat(2, 1fr); }
  .form-types-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid       { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Tablette — ≤ 900px */
@media (max-width: 900px) {
  :root { --sec-py: 72px; }

  .why-grid      { grid-template-columns: 1fr 1fr; }
  .process-timeline { flex-direction: column; align-items: stretch; }
  .pt-step       { flex-direction: row; text-align: left; gap: 20px; }
  .pt-num        { font-size: 2rem; min-width: 56px; text-align: center; }
  .pt-card       { flex: 1; }
  .pt-line       { width: 2px; height: 24px; margin: 0 auto; background: var(--green-pale); align-self: center; }
  .pt-line::after { top: 100%; left: 50%; transform: translateX(-50%); right: auto; border: none; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid var(--green); }
  .contact-grid  { grid-template-columns: 1fr; }
  .blog-grid     { grid-template-columns: 1fr 1fr; }
  .form-highlight { flex-direction: column; text-align: center; }
  .fhl-btn       { width: 100%; justify-content: center; }
}

/* Mobile — ≤ 700px */
@media (max-width: 700px) {
  :root { --nav-h: 64px; --sec-py: 56px; }

  /* Nav mobile */
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    box-shadow: var(--sh-xl);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 0 24px;
    transform: translateY(-110%);
    transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }
  .nav-menu.open { transform: translateY(0); }

  .nav-links { flex-direction: column; gap: 0; }
  .nav-link {
    color: var(--anthracite) !important;
    padding: 14px 24px;
    border-radius: 0;
    font-size: .95rem;
  }
  .nav-link::after { display: none; }
  .nav-link:hover { background: var(--green-pale); color: var(--green) !important; }

  .btn-nav { margin: 16px 24px 0; align-self: flex-start; }

  /* Hero */
  .hero-inner    { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 60px; }
  .hero-ctas     { flex-direction: column; }
  .btn-hero-primary, .btn-hero-ghost { width: 100%; justify-content: center; }
  .hero-kpis     { padding: 16px 12px; }
  .hkpi          { padding: 0 10px; }
  .hkpi strong   { font-size: 1.3rem; }

  /* Sections */
  .vals-grid           { grid-template-columns: 1fr; }
  .experts-bar         { grid-template-columns: 1fr 1fr; }
  .why-grid            { grid-template-columns: 1fr; }
  .stats-grid          { grid-template-columns: 1fr 1fr; }
  .form-types-grid     { grid-template-columns: 1fr; }
  .blog-grid           { grid-template-columns: 1fr; }
  .cform-row           { grid-template-columns: 1fr; }
  .footer-grid         { grid-template-columns: 1fr; gap: 28px; }
  .fb-inner            { flex-direction: column; text-align: center; }
  .testi-wrapper       { padding: 32px 24px; }
  .contact-form-wrap   { padding: 28px 24px; }
  .ci-card             { padding: 24px; }
  .sec-header          { margin-bottom: 40px; }
}

/* Très petit — ≤ 420px */
@media (max-width: 420px) {
  .hkpi-sep { display: none; }
  .hero-kpis { gap: 16px; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .experts-bar { grid-template-columns: 1fr; }
}
