/* ============================================================
   EXE CONSEIL - Design System
   Inspiré de : Payzen (dark hero) + NI Banking (bento/bold)
   ============================================================ */

/* ─── Skeleton loading ─────────────────────────────────────── */
@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, #e8eaed 25%, #f3f4f6 37%, #e8eaed 63%) !important;
  background-size: 200% 100% !important;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}
.skeleton-dark {
  background: linear-gradient(90deg, #222 25%, #2e3030 37%, #222 63%) !important;
  background-size: 200% 100% !important;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}
/* Masquer les enfants tant que le skeleton est actif */
.skeleton > *, .skeleton-dark > * { opacity: 0; transition: opacity .3s; }
.skeleton.loaded > *, .skeleton-dark.loaded > * { opacity: 1; }


/* ─── Variables ─────────────────────────────────────────────── */
:root {
  /* Palette de marque */
  --dark:           #191919;
  --dark-2:         #191919;
  --dark-3:         #2a2c2c;
  --primary:        #52B774;
  --primary-hover:  #45a365;
  --primary-light:  #76ce91;
  --lime:           #52B774;
  --lime-dark:      #45a365;
  --lime-muted:     #e8f5ec;

  /* Neutres */
  --white:          #FFFFFF;
  --gray-50:        #F9FAFB;
  --gray-100:       #F3F4F6;
  --gray-200:       #E5E7EB;
  --gray-300:       #D1D5DB;
  --gray-400:       #9CA3AF;
  --gray-500:       #6B7280;
  --gray-600:       #4B5563;
  --gray-700:       #374151;
  --gray-800:       #1F2937;
  --gray-900:       #111827;

  /* Typography */
  --font-heading:   'Plus Jakarta Sans', sans-serif;
  --font-body:      'Inter', sans-serif;

  /* Spacing */
  --section-py:     96px;
  --section-py-sm:  64px;
  --container:      1200px;
  --container-px:   24px;

  /* Radius */
  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(0,0,0,.06);
  --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
  --shadow-md:  0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 48px rgba(0,0,0,.12);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.14);

  /* Transitions */
  --t:      .2s ease;
  --t-slow: .4s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ─── Container ─────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ─── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 800;
  color: var(--gray-900);
}

.display-1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -.02em; }
.display-2 { font-size: clamp(2rem, 4vw, 3rem);   letter-spacing: -.02em; }
.h1  { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.h2  { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.h3  { font-size: 1.25rem; }
.h4  { font-size: 1.125rem; }

.lead  { font-size: 1.125rem; color: var(--gray-600); line-height: 1.7; }
.small { font-size: 0.875rem; }
.muted { color: var(--gray-500); }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: var(--t);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-lime {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-lime:hover {
  background: var(--lime-dark);
  border-color: var(--lime-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(82,183,116,.35);
}

.btn-dark {
  background: var(--dark-2);
  color: var(--white);
  border-color: var(--dark-2);
}
.btn-dark:hover {
  background: var(--dark-3);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--dark-2);
  border-color: var(--dark-2);
}
.btn-outline:hover {
  background: var(--dark-2);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

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

.btn-sm  { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg  { padding: 18px 36px; font-size: 1.0625rem; }
.btn-xl  { padding: 22px 44px; font-size: 1.125rem; }
.btn-icon { padding: 14px; border-radius: 50%; }

/* ─── Badge ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-heading);
}
.badge-lime   { background: var(--lime-muted); color: var(--dark-2); }
.badge-dark   { background: rgba(255,255,255,.12); color: var(--white); }
.badge-green  { background: rgba(61,139,74,.12); color: var(--primary); }

/* ─── Navigation ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.navbar-transparent { background: transparent; }
.navbar-scrolled,
.navbar-light {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.navbar-logo { display: flex; align-items: center; flex-shrink: 0; }

/* Logo image officielle */
.navbar-logo-img {
  height: 40px;
  width: auto;
  display: block;
  transition: filter .3s ease;
}

/* Transparent (hero sombre) → logo couleur naturelle */
.navbar-transparent .navbar-logo-img {
  mix-blend-mode: normal;
  filter: none;
}

/* Scrolled / light (fond blanc) → multiply efface le fond blanc du PNG */
.navbar-scrolled .navbar-logo-img,
.navbar-light    .navbar-logo-img {
  mix-blend-mode: multiply;
  filter: none;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);          /* texte sombre par défaut (fond clair) */
  transition: var(--t);
  position: relative;
}
.nav-link:hover { color: var(--gray-900); background: rgba(0,0,0,.05); }
.nav-link.active { color: var(--primary); font-weight: 700; }

/* Scrolled & light - identique (même fond blanc) */
.navbar-scrolled .nav-link,
.navbar-light    .nav-link { color: var(--gray-700); }
.navbar-scrolled .nav-link:hover,
.navbar-light    .nav-link:hover { color: var(--gray-900); background: var(--gray-100); }

/* Menu toggle - toujours visible */
.menu-toggle { color: var(--gray-800); }
.navbar-transparent .menu-toggle,
.navbar-scrolled    .menu-toggle,
.navbar-light       .menu-toggle { color: var(--gray-800); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  /* Reset complet des styles navigateur sur <button> */
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.nav-dropdown-toggle:focus        { outline: none; }
.nav-dropdown-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: var(--r-sm); }
.nav-dropdown-toggle svg { transition: var(--t); }
.nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  /* --mega-shift est ajusté par JS pour ne pas déborder du bord gauche du logo */
  transform: translateX(calc(-50% + var(--mega-shift, 0px))) translateY(-6px);
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  /* Délai à la fermeture : laisse 200ms pour franchir le gap */
  transition: opacity 0.18s ease, visibility 0s 0.2s, transform 0.18s ease;
  pointer-events: none;
  z-index: 100;
}
/* Pont invisible au-dessus du dropdown pour combler le gap de 8px */
.nav-dropdown-menu::after {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(calc(-50% + var(--mega-shift, 0px))) translateY(0);
  /* Apparition immédiate */
  transition: opacity 0.18s ease, visibility 0s 0s, transform 0.18s ease;
  pointer-events: auto;
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  color: var(--gray-700);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--t);
}
.nav-dropdown-item:hover {
  background: rgba(82,183,116,.07);
  color: var(--primary);
}
/* Icônes Material Symbols dans les dropdowns */
.nav-dropdown-item .material-symbols-outlined {
  font-size: 18px;
  color: var(--primary);
  flex-shrink: 0;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}
/* Ligne "Création offerte" mise en avant */
.nav-dropdown-item--highlight em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(82,183,116,.12);
  padding: 1px 7px;
  border-radius: 99px;
  margin-left: 4px;
}
.nav-dropdown-mega {
  min-width: 640px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.nav-dropdown-mega-3 {
  min-width: 920px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 20px 12px 0;
  border-radius: 20px;
  background: linear-gradient(180deg,#fff 0%,#fafafa 100%);
  box-shadow: 0 24px 60px -12px rgba(15,23,42,.22), 0 4px 12px rgba(15,23,42,.06);
  border: 1px solid rgba(15,23,42,.06);
  overflow: hidden;
}
.nav-mega-col { padding: 8px 14px; position: relative; }
.nav-mega-col + .nav-mega-col::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(15,23,42,.08) 30%, rgba(15,23,42,.08) 70%, transparent 100%);
}
.nav-mega-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #191919;
  padding: 4px 10px 12px;
  margin-bottom: 4px;
}
.nav-mega-head::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #52B774;
  box-shadow: 0 0 0 3px rgba(82,183,116,.15);
  flex-shrink: 0;
}
.nav-dropdown-mega-3 .nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 500;
  color: #1f2937;
  transition: background .18s ease, transform .18s ease, color .18s ease;
}
.nav-dropdown-mega-3 .nav-dropdown-item .material-symbols-outlined {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(82,183,116,.08);
  color: #52B774;
  border-radius: 8px;
  font-size: 18px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
  flex-shrink: 0;
}
.nav-dropdown-mega-3 .nav-dropdown-item:hover {
  background: rgba(82,183,116,.07);
  color: #191919;
  transform: translateX(2px);
}
.nav-dropdown-mega-3 .nav-dropdown-item:hover .material-symbols-outlined {
  background: #52B774;
  color: #fff;
  transform: scale(1.06);
}
/* Version "rich" : sous-titre sous le label + footer CTA pleine largeur */
.nav-dropdown-mega-3.nav-mega-rich {
  padding: 24px 14px 0;
  grid-template-columns: repeat(3, 1fr);
}
.nav-dropdown-mega-3.nav-mega-rich .nav-dropdown-item {
  align-items: flex-start;
  padding: 10px 10px;
}
.nav-dropdown-mega-3.nav-mega-rich .nav-dropdown-item .material-symbols-outlined {
  margin-top: 1px;
}
.nav-mega-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}
.nav-mega-label {
  font-size: .88rem;
  font-weight: 600;
  color: #191919;
  line-height: 1.25;
}
.nav-mega-caption {
  font-size: .72rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-mega-pop {
  display: inline-block;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #52B774;
  background: rgba(82,183,116,.12);
  padding: 1px 7px;
  border-radius: 99px;
  margin-left: 6px;
  vertical-align: 2px;
}
.nav-mega-footer {
  grid-column: 1 / -1;
  margin: 12px -14px -1px;
  padding: 16px 24px;
  background: linear-gradient(180deg, rgba(250,250,250,0) 0%, rgba(82,183,116,.05) 50%, rgba(82,183,116,.08) 100%);
  border-top: 1px solid rgba(15,23,42,.06);
  border-radius: 0 0 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.nav-mega-footer-text { display: flex; flex-direction: column; gap: 2px; }
.nav-mega-footer-text strong { font-size: .88rem; color: #191919; font-weight: 700; }
.nav-mega-footer-text span { font-size: .78rem; color: #64748b; line-height: 1.4; }
.nav-mega-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #191919;
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
  white-space: nowrap;
}
.nav-mega-footer-cta:hover { background: #52B774; color: #fff; transform: translateX(2px); }
.nav-mega-footer-cta .material-symbols-outlined {
  font-size: 16px;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  color: inherit !important;
}

/* ─── Zone promo Services 360° - megamenu "Nos services" ───────── */
.nav-mega-360 {
  grid-column: 1 / -1;
  margin: 16px -14px -1px;
  padding: 22px 28px;
  background:
    radial-gradient(600px 200px at 0% 0%, rgba(59,130,246,.18) 0%, transparent 70%),
    radial-gradient(500px 260px at 100% 100%, rgba(236,72,153,.14) 0%, transparent 65%),
    radial-gradient(420px 320px at 55% 40%, rgba(139,92,246,.12) 0%, transparent 70%),
    linear-gradient(135deg, #0b1738 0%, #1a1e4a 50%, #2b1a47 100%);
  border-radius: 0 0 20px 20px;
  color: #fff;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(0, 2.2fr) auto;
  gap: 26px;
  align-items: center;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  transition: transform .3s ease, box-shadow .3s ease;
}
.nav-mega-360::before,
.nav-mega-360::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(30px);
}
.nav-mega-360::before {
  top: -40px; right: 8%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(96,165,250,.35) 0%, transparent 65%);
}
.nav-mega-360::after {
  bottom: -80px; left: 30%;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(236,72,153,.22) 0%, transparent 65%);
}

/* Colonne gauche : badge + tagline */
.nav-mega-360-intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.nav-mega-360-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 10px;
  background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 55%, #EC4899 100%);
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 8px 24px -8px rgba(59,130,246,.55), inset 0 1px 0 rgba(255,255,255,.25);
  align-self: flex-start;
}
.nav-mega-360-badge .material-symbols-outlined {
  font-size: 13px;
  font-variation-settings: 'FILL' 1;
}
.nav-mega-360-tagline {
  font-family: var(--font-headline, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -.01em;
  margin: 0;
}
.nav-mega-360-tagline em {
  font-style: normal;
  background: linear-gradient(90deg, #60a5fa 0%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-mega-360-sub {
  font-size: .75rem;
  color: rgba(255,255,255,.58);
  line-height: 1.4;
  margin: 2px 0 0;
}

/* Grille items */
.nav-mega-360-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  position: relative;
  z-index: 1;
}
.nav-mega-360-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.nav-mega-360:hover .nav-mega-360-item {
  background: rgba(255,255,255,.06);
}
.nav-mega-360-item-icon {
  width: 32px; height: 32px;
  min-width: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px !important;
  font-variation-settings: 'FILL' 1;
  background: linear-gradient(135deg, rgba(96,165,250,.28) 0%, rgba(59,130,246,.14) 100%);
  color: #bfdbfe;
  box-shadow: inset 0 0 0 1px rgba(96,165,250,.25), 0 2px 8px -2px rgba(59,130,246,.4);
}
.nav-mega-360-items > .nav-mega-360-item:nth-child(2) .nav-mega-360-item-icon {
  background: linear-gradient(135deg, rgba(236,72,153,.28) 0%, rgba(219,39,119,.14) 100%);
  color: #fbcfe8;
  box-shadow: inset 0 0 0 1px rgba(236,72,153,.3), 0 2px 8px -2px rgba(236,72,153,.4);
}
.nav-mega-360-items > .nav-mega-360-item:nth-child(3) .nav-mega-360-item-icon {
  background: linear-gradient(135deg, rgba(139,92,246,.28) 0%, rgba(124,58,237,.14) 100%);
  color: #ddd6fe;
  box-shadow: inset 0 0 0 1px rgba(139,92,246,.3), 0 2px 8px -2px rgba(139,92,246,.4);
}
.nav-mega-360-items > .nav-mega-360-item:nth-child(4) .nav-mega-360-item-icon {
  background: linear-gradient(135deg, rgba(45,212,191,.28) 0%, rgba(20,184,166,.14) 100%);
  color: #99f6e4;
  box-shadow: inset 0 0 0 1px rgba(45,212,191,.3), 0 2px 8px -2px rgba(45,212,191,.4);
}
.nav-mega-360-item-label {
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(255,255,255,.92);
}
.nav-mega-360-item-hint {
  display: block;
  font-size: .66rem;
  font-weight: 400;
  color: rgba(255,255,255,.5);
  margin-top: 2px;
  line-height: 1.3;
}

/* CTA */
.nav-mega-360-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px 11px 20px;
  background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
  color: #1e1b4b;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .01em;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 24px -6px rgba(96,165,250,.45), inset 0 1px 0 rgba(255,255,255,.6);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
  z-index: 1;
}
.nav-mega-360-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -6px rgba(96,165,250,.6), inset 0 1px 0 rgba(255,255,255,.7);
  color: #1e1b4b;
}
.nav-mega-360-cta .material-symbols-outlined {
  font-size: 15px;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  color: inherit !important;
  transition: transform .2s ease;
}
.nav-mega-360-cta:hover .material-symbols-outlined { transform: translateX(3px); }

/* Hover sur la zone entière : lift subtil */
a.nav-mega-360:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 44px -12px rgba(0,0,0,.3);
}

@media (max-width: 1100px) {
  .nav-mega-360 {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 20px;
  }
  .nav-mega-360-cta { justify-self: flex-start; }
  .nav-mega-360-items { grid-template-columns: repeat(2, 1fr); }
}

.nav-dropdown-mega-3 .nav-dropdown-item--highlight {
  background: linear-gradient(135deg, rgba(82,183,116,.12) 0%, rgba(82,183,116,.04) 100%);
  color: #191919;
  font-weight: 700;
}
.nav-dropdown-mega-3 .nav-dropdown-item--highlight .material-symbols-outlined {
  background: #52B774;
  color: #fff;
}

/* ─── Bouton plateforme (rond noir ↗) ──────────────────────── */
.navbar-platform-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #191919;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .2s ease, background .2s ease;
}
.navbar-platform-btn:hover {
  background: #333;
  transform: scale(1.08);
}
.navbar-platform-btn svg {
  display: block;
  transition: transform .25s ease;
}
.navbar-platform-btn:hover svg {
  transform: rotate(45deg);
}

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

/* Rond téléphone mobile (à gauche du portail) - caché en desktop */
.navbar-phone-circle {
  display: none;
  width: 38px; height: 38px; border-radius: 50%;
  background: #52B774;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .2s ease, background .2s ease;
  text-decoration: none;
}
.navbar-phone-circle:hover { background: #45a365; transform: scale(1.08); }
.navbar-phone-circle svg { display: block; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--r-sm);
  color: var(--white);
}
.navbar-scrolled .menu-toggle,
.navbar-light .menu-toggle { color: var(--gray-900); }

/* ─── Backdrop menu mobile ───────────────────────────────────── */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ─── Menu mobile - slide-in droite avec animation ouverture ET fermeture ── */
.mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(340px, 88vw);
  /* Fond sombre semi-transparent façon verre */
  background: rgba(14, 16, 16, 0.72);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(calc(100% + 24px));
  /* Transition sur transform + delay sur visibility à la fermeture */
  transition: transform .34s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0s linear .34s;
  visibility: hidden;
  box-shadow: -20px 0 60px rgba(0,0,0,.45);
  border-radius: 1.5rem 0 0 1.5rem;
}
.mobile-nav.open {
  transform: translateX(0);
  /* À l'ouverture : visibility immédiate, pas de délai */
  transition: transform .34s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0s linear 0s;
  visibility: visible;
}

/* En-tête panel */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}
.mobile-nav-logo {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
}
.mobile-nav-close {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.09);
  border: none;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8);
  cursor: pointer;
  transition: background .15s;
  flex-shrink: 0;
}
.mobile-nav-close:hover { background: rgba(255,255,255,.16); }

/* Corps - scrollable */
.mobile-nav-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0 16px;
}

/* Lien simple */
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  color: rgba(255,255,255,.82);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .975rem;
  text-decoration: none;
  transition: background .15s, color .15s;
  background: none;
  border: none;
  width: 100%;
  cursor: pointer;
  list-style: none;
}
.mobile-nav-link:hover,
.mobile-nav-link--simple:hover { background: rgba(255,255,255,.05); color: var(--lime); }

/* Accordéon details/summary */
.mobile-nav-details { border-bottom: 1px solid rgba(255,255,255,.06); }
/* Forcer flex sur summary (override display:list-item natif) */
.mobile-nav-details > summary {
  display: flex !important;
  list-style: none;
  -webkit-appearance: none;
  appearance: none;
}
.mobile-nav-details summary::-webkit-details-marker,
.mobile-nav-details summary::marker { display: none; content: ''; }
.mobile-nav-chevron {
  transition: transform .22s ease;
  opacity: .45;
  flex-shrink: 0;
}
.mobile-nav-details[open] > summary .mobile-nav-chevron { transform: rotate(180deg); opacity: .8; }

/* Sous-menu */
.mobile-nav-sub {
  padding: 4px 20px 10px 32px;
  border-left: 2px solid rgba(82,183,116,.25);
  margin: 2px 20px 8px;
  border-radius: 0 0 0 4px;
}
.mobile-nav-sub a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  font-weight: 500;
  border-radius: .5rem;
  text-decoration: none;
  transition: color .15s, background .15s;
}
.mobile-nav-sub a:hover { color: var(--lime); background: rgba(82,183,116,.07); }
.mobile-nav-sub-highlight { color: var(--lime) !important; }
.mobile-nav-sub-head {
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(82,183,116,.8);
  padding: 14px 10px 6px;
  margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.mobile-nav-sub-head:first-child { border-top: none; margin-top: 0; padding-top: 4px; }
.mobile-nav-link--simple {
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Pied panel - CTAs */
.mobile-nav-footer {
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
/* Bouton téléphone - style btn-outline-white du site */
.mobile-nav-cta-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 9999px;
  border: 1.5px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: border-color .2s, background .2s, color .2s;
  background: rgba(255,255,255,.04);
}
.mobile-nav-cta-phone:hover {
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.09);
  color: #fff;
}
/* Bouton RDV - style btn-lime pill du site */
.mobile-nav-cta-rdv {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border-radius: 9999px;
  background: var(--lime);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .925rem;
  text-decoration: none;
  transition: background .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(82,183,116,.35);
}
.mobile-nav-cta-rdv:hover {
  background: var(--lime-dark);
  box-shadow: 0 6px 20px rgba(82,183,116,.45);
}

/* ─── Homepage background ──────────────────────────────────── */
body.page-home { background: #F4F4F4; }

/* ─── Logo inline SVG - barres contour (stroke) + chevrons remplis ─── */
/* Transition fluide */
.logo-bar          { transition: stroke .25s ease; fill: none; }
.logo-chev-l       { transition: fill .25s ease; }
.logo-chev-r       { transition: fill .25s ease; }
.logo-text-expertise,
.logo-text-conseil { transition: fill .25s ease; }

/* Couleurs marque (navbar claire / scrolled / transparent sur fond clair) */
.logo-bar           { stroke: #4a5e52; fill: none; }
.logo-chev-l        { fill: #52B774; }   /* chevron > vert */
.logo-chev-r        { fill: #4a5e52; }   /* chevron < gris foncé */
.logo-text-expertise{ fill: #52B774; }
.logo-text-conseil  { fill: #4a5e52; }

/* ─── Navbar pill container ─────────────────────────────────── */
.navbar-pill-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.navbar-pill-wrap .navbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px 12px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 9999px;
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex: unset;
  transition: background .35s ease, border-color .35s ease;
}
/* Transparent (haut de page) : pill légèrement visible sur fond clair */
.navbar-transparent .navbar-pill-wrap .navbar-nav {
  border-color: rgba(0,0,0,.08);
  background: rgba(255,255,255,.50);
}
/* Scrolled / light : pill plus opaque */
.navbar-scrolled .navbar-pill-wrap .navbar-nav,
.navbar-light    .navbar-pill-wrap .navbar-nav {
  border-color: rgba(0,0,0,.10);
  background: rgba(255,255,255,.80);
}

/* ─── Boutons navbar - adaptation contexte clair ─────────────── */
/* Bouton téléphone (btn-outline-white) sur fond clair */
.navbar-transparent .btn-outline-white,
.navbar-scrolled    .btn-outline-white,
.navbar-light       .btn-outline-white {
  color: var(--gray-700);
  border-color: var(--gray-300);
  background: transparent;
}
.navbar-transparent .btn-outline-white:hover,
.navbar-scrolled    .btn-outline-white:hover,
.navbar-light       .btn-outline-white:hover {
  background: var(--gray-100);
  color: var(--gray-900);
  border-color: var(--gray-400);
}

/* ─── Hero (NI Banking split layout) ───────────────────────── */
.hero {
  padding: calc(72px + 20px) 20px 0;
  background: transparent;
}

.hero-inner {
  display: grid;
  grid-template-columns: 56% 44%;
  min-height: calc(100vh - 112px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.08);
}

/* Left panel */
.hero-left {
  background: #fff;
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--gray-100);
  border-radius: var(--r-full);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 28px;
  width: fit-content;
}

.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: .6; }
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.75rem, 5vw, 4.75rem);
  letter-spacing: -.04em;
  line-height: 1.0;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.hero-accent { color: var(--primary); font-style: normal; }

.hero-sub {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-circle-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--dark-2);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
  flex-shrink: 0;
  text-decoration: none;
}
.hero-circle-btn:hover { background: var(--primary); transform: scale(1.06); }

.hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-100);
}

.hero-proof-avatars { display: flex; }

.proof-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 3px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-left: -10px;
  flex-shrink: 0;
}
.proof-avatar:first-child { margin-left: 0; }

.hero-proof-stat {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--gray-900);
}
.hero-proof-label { font-size: .8125rem; color: var(--gray-500); margin-top: 2px; }

/* Right panel */
.hero-right {
  background: var(--dark-2);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}

.hero-right-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 40%, rgba(61,139,74,.3) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(197,230,60,.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-right-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Dashboard mockup */
.hero-dashboard {
  position: relative; z-index: 1;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px;
  padding: 24px;
  width: 100%; max-width: 320px;
}

.hd-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.hd-greeting { font-size: .8125rem; color: rgba(255,255,255,.5); margin-bottom: 2px; }
.hd-company  { font-size: .9375rem; font-weight: 700; color: #fff; }

.hd-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-weight: 700; font-size: .8125rem;
  display: flex; align-items: center; justify-content: center;
}

.hd-kpi-label {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .08em;
  color: rgba(255,255,255,.45); margin-bottom: 6px;
}
.hd-kpi-value {
  font-family: var(--font-heading); font-weight: 800; font-size: 2.25rem;
  color: var(--lime); letter-spacing: -.03em; line-height: 1; margin-bottom: 4px;
}
.hd-kpi-sub { font-size: .8rem; color: rgba(255,255,255,.4); margin-bottom: 20px; }

.hd-actions {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 8px;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.hd-action { text-align: center; }
.hd-action-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; margin: 0 auto 5px;
}
.hd-action-label { font-size: .7rem; color: rgba(255,255,255,.45); }

.hd-list-title { font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.6); margin-bottom: 12px; }
.hd-list { display: flex; flex-direction: column; gap: 10px; }
.hd-item { display: flex; align-items: center; gap: 10px; }

.hd-item-ico {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,.07); color: rgba(255,255,255,.65);
  font-weight: 700; font-size: .65rem; font-family: var(--font-heading);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hd-item-info { flex: 1; min-width: 0; }
.hd-item-name {
  font-size: .8125rem; font-weight: 600; color: rgba(255,255,255,.85);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hd-item-date { font-size: .7rem; color: rgba(255,255,255,.4); }
.hd-item-amt  { font-size: .875rem; font-weight: 700; color: var(--lime); white-space: nowrap; flex-shrink: 0; }

/* ─── Bento Bottom (NI Banking style) ──────────────────────── */
.bento-bottom {
  padding: 20px 20px 0;
  background: transparent;
}

.bb-grid {
  display: grid;
  grid-template-columns: 2fr 1.15fr 1fr;
  gap: 16px;
}

.bb-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  overflow: hidden;
  position: relative;
}

.bb-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 700;
  color: var(--gray-900); margin-bottom: 16px; line-height: 1.25;
}

.bb-card-eyebrow {
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--gray-400); margin-bottom: 6px;
}

/* Profiles card */
.bb-list { display: flex; flex-direction: column; gap: 4px; }
.bb-list-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 8px; border-radius: 10px;
  transition: var(--t); color: inherit; text-decoration: none;
}
.bb-list-item:hover { background: var(--gray-50); }

.bb-list-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gray-100); display: flex;
  align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.bb-list-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.bb-list-name { font-size: .875rem; font-weight: 600; color: var(--gray-900); }
.bb-list-sub  { font-size: .75rem; color: var(--gray-400); }

.bb-list-plus {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gray-100); display: flex;
  align-items: center; justify-content: center;
  font-size: .9rem; color: var(--gray-500); flex-shrink: 0; transition: var(--t);
}
.bb-list-item:hover .bb-list-plus { background: var(--primary); color: #fff; }

/* Dark phygital card */
.bb-dark { background: var(--dark-2); }
.bb-dark h3 { color: #fff; }
.bb-dark p  { color: rgba(255,255,255,.55); font-size: .875rem; margin-bottom: 16px; }

.bb-badges { display: flex; flex-direction: column; gap: 6px; }
.bb-badges span {
  display: inline-block; padding: 5px 12px;
  background: rgba(255,255,255,.09); border-radius: var(--r-full);
  font-size: .8rem; color: rgba(255,255,255,.75); width: fit-content;
}

.bb-big-text {
  position: absolute; bottom: -12px; right: -8px;
  font-size: 5rem; font-weight: 900;
  color: rgba(255,255,255,.04); font-family: var(--font-heading);
  user-select: none; letter-spacing: -.1em; pointer-events: none;
}

/* Offer card */
.bb-offer-tag {
  display: inline-block; padding: 4px 12px;
  background: var(--lime-muted); color: var(--dark-2);
  border-radius: var(--r-full); font-size: .75rem; font-weight: 700;
  transform: rotate(-4deg); transform-origin: left center; margin-bottom: 16px;
}
.bb-offer-icon { font-size: 2.5rem; margin-bottom: 12px; }
.bb-offer h3 { font-size: 1.25rem; margin-bottom: 8px; }
.bb-offer p  { font-size: .8125rem; color: var(--gray-500); margin-bottom: 16px; }
.bb-offer-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .875rem; font-weight: 700; color: var(--primary); transition: var(--t);
}
.bb-offer-link:hover { gap: 10px; }

/* Trust bar adjusted for light page bg */
/* ─── Trust bar ─────────────────────────────────────────────── */
.trust-bar {
  background: var(--dark);
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-bar-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: rgba(197,230,60,.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.trust-bar-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--lime);
  line-height: 1;
}

.trust-bar-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.5);
}

.trust-bar-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.08);
}

/* ─── Section styles ────────────────────────────────────────── */
.section { padding: var(--section-py) 0; }
.section-sm { padding: var(--section-py-sm) 0; }

.section-dark { background: var(--dark-2); }
.section-dark * { color: inherit; }

.section-gray { background: var(--gray-50); }

.section-header { margin-bottom: 64px; }
.section-header-center { text-align: center; }
.section-header-center .lead { max-width: 560px; margin: 16px auto 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--lime);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  letter-spacing: -.02em;
  color: var(--gray-900);
  line-height: 1.15;
}

.section-dark .section-title { color: var(--white); }
.section-dark .section-label { color: var(--lime); }
.section-dark .lead           { color: rgba(255,255,255,.65); }

/* ─── Service Cards ─────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 32px;
  transition: var(--t);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--lime));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--t);
}

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

.service-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: rgba(61,139,74,.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--t);
}
.service-link:hover { gap: 10px; color: var(--primary-light); }

/* ─── Bento Grid (NI Banking style) ────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 20px;
}

.bento-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 32px;
  border: 1px solid var(--gray-200);
  transition: var(--t);
}
.bento-card:hover { box-shadow: var(--shadow-md); }

.bento-wide  { grid-column: span 2; }
.bento-tall  { grid-row: span 2; }
.bento-dark  { background: var(--dark-2); border-color: var(--dark-2); }
.bento-lime  { background: var(--lime); border-color: var(--lime); }
.bento-green { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); border: none; }

.bento-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: var(--lime);
  margin-bottom: 8px;
}
.bento-dark .bento-number { color: var(--lime); }
.bento-lime .bento-number { color: var(--dark-2); }

.bento-card h3 { color: var(--white); font-size: 1.125rem; margin-bottom: 8px; }
.bento-dark h3, .bento-green h3 { color: var(--white); }
.bento-lime h3 { color: var(--dark-2); }
.bento-card p  { font-size: 0.875rem; }
.bento-dark p, .bento-green p { color: rgba(255,255,255,.65); }
.bento-lime p { color: rgba(26,46,34,.75); }

/* ─── Testimonials ──────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 28px;
  transition: var(--t);
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #FBBF24;
}

.review-text {
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--lime));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--white);
  flex-shrink: 0;
}

.review-name { font-weight: 700; font-size: 0.9rem; color: var(--gray-900); }
.review-role { font-size: 0.8125rem; color: var(--gray-500); }

.google-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 600;
}

/* ─── Pricing ───────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 36px;
  position: relative;
  transition: var(--t);
}

.pricing-card.featured {
  background: var(--dark-2);
  border-color: var(--dark-2);
  transform: scale(1.03);
}

.pricing-card:hover:not(.featured) {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lime);
  color: var(--dark-2);
  padding: 4px 16px;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}

.pricing-plan { font-size: 0.875rem; font-weight: 600; color: var(--gray-500); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; }
.featured .pricing-plan { color: rgba(255,255,255,.6); }

.pricing-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--gray-900);
  line-height: 1;
  margin-bottom: 4px;
}
.featured .pricing-price { color: var(--lime); }

.pricing-desc { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--gray-200); }
.featured .pricing-desc { color: rgba(255,255,255,.5); border-color: rgba(255,255,255,.1); }

.pricing-features { margin-bottom: 32px; }
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--gray-700);
}
.featured .pricing-feature { color: rgba(255,255,255,.8); }
.pricing-feature svg { flex-shrink: 0; color: var(--primary); margin-top: 2px; }
.featured .pricing-feature svg { color: var(--lime); }

/* ─── Blog ──────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--t);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.blog-card-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--dark-2), var(--primary));
  overflow: hidden;
  position: relative;
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--t-slow); }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }

.blog-card-category {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--lime);
  color: var(--dark-2);
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.blog-card-body { padding: 24px; }
.blog-card-meta { display: flex; gap: 16px; font-size: 0.8125rem; color: var(--gray-500); margin-bottom: 12px; }
.blog-card h3   { font-size: 1.0625rem; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; line-height: 1.4; }
.blog-card p    { font-size: 0.875rem; color: var(--gray-600); line-height: 1.65; }

/* ─── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  background: var(--dark-2);
  border-radius: var(--r-xl);
  padding: 64px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

@keyframes cta-blob-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(-24px, 18px) scale(1.08); }
  70%       { transform: translate(12px, -12px) scale(0.96); }
}
@keyframes cta-blob-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  35%       { transform: translate(20px, -22px) scale(1.06); }
  65%       { transform: translate(-14px, 10px) scale(0.94); }
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,230,60,.15) 0%, transparent 70%);
  animation: cta-blob-a 9s ease-in-out infinite;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61,139,74,.2) 0%, transparent 70%);
  animation: cta-blob-b 11s ease-in-out infinite;
}

.cta-banner h2 { color: var(--white); font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 16px; position: relative; z-index: 1; }
.cta-banner p  { color: rgba(255,255,255,.65); font-size: 1.0625rem; margin-bottom: 36px; position: relative; z-index: 1; }
.cta-banner .btn { position: relative; z-index: 1; }

/* ─── CTA Vert (index.php section 8) ───────────────────────── */
.cta-green { position: relative; overflow: hidden; }
.cta-green > * { position: relative; z-index: 1; }
.cta-green::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.32) 0%, rgba(255,255,255,.08) 40%, transparent 70%);
  animation: cta-blob-a 9s ease-in-out infinite;
  pointer-events: none;
}
.cta-green::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.24) 0%, rgba(255,255,255,.06) 40%, transparent 70%);
  animation: cta-blob-b 11s ease-in-out infinite;
  pointer-events: none;
}

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

/* Séparateurs entre colonnes */
.footer-col {
  padding-left: 32px;
  border-left: 1px solid rgba(255,255,255,.07);
}

.footer-brand .footer-logo { height: 44px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,.55); max-width: 280px; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-link {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
  padding: 5px 0;
  transition: var(--t);
}
.footer-link:hover { color: var(--lime); }

.footer-link-icon {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-link-icon .material-symbols-outlined {
  font-size: 15px;
  flex-shrink: 0;
  opacity: .5;
  font-variation-settings: 'FILL' 0, 'wght' 300;
  transition: var(--t);
}
.footer-link-icon:hover .material-symbols-outlined { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.4);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: var(--t);
}
.social-link:hover { background: var(--lime); border-color: var(--lime); color: var(--dark-2); }

/* ─── Forms ─────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--gray-900);
  background: var(--white);
  transition: var(--t);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(61,139,74,.12);
}
.form-control::placeholder { color: var(--gray-400); }

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

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

/* ─── Cards générique ───────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 28px;
}

.card-hover { transition: var(--t); cursor: pointer; }
.card-hover:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

/* ─── Process steps ─────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--lime));
  z-index: 0;
}

.process-step { text-align: center; position: relative; z-index: 1; }
.process-number {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  margin: 0 auto 20px;
}
.process-step:last-child .process-number { background: var(--lime); border-color: var(--lime); color: var(--dark-2); }
.process-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.process-step p  { font-size: 0.875rem; color: var(--gray-600); }

/* ─── Profils grid ──────────────────────────────────────────── */
.profils-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.profil-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 20px;
  text-align: center;
  transition: var(--t);
  cursor: pointer;
}
.profil-card:hover {
  border-color: var(--primary);
  background: rgba(61,139,74,.04);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.profil-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: rgba(61,139,74,.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  color: var(--primary);
  font-size: 1.5rem;
}
.profil-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--gray-900); }
.profil-card p  { font-size: 0.8rem; color: var(--gray-500); margin-top: 4px; }

/* ─── Booking calendar ──────────────────────────────────────── */
.booking-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

/* Desktop : calendrier centré par défaut, panneau droit masqué */
@media (min-width: 1025px) {
  .booking-container > div:first-child {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
  }
  .booking-container > div:last-child {
    display: none;
  }
  .booking-container.has-selection {
    grid-template-columns: 1fr 1fr;
  }
  .booking-container.has-selection > div:first-child {
    max-width: none;
    margin: 0;
  }
  .booking-container.has-selection > div:last-child {
    display: block;
    animation: slideInRight .3s ease;
  }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--t);
  border: 1.5px solid transparent;
}
.cal-day.available { cursor: pointer; }
.cal-day.available:not(.selected):hover { background: var(--gray-100); border-color: var(--primary); color: var(--gray-900); }
.cal-day.selected:hover { background: #3a9e5f; }
.cal-day.selected { background: var(--primary); color: var(--white); }
.cal-day.today    { font-weight: 700; color: var(--primary); }
.cal-day.disabled { color: var(--gray-300); cursor: not-allowed; }
.cal-day.past     { color: var(--gray-300); cursor: not-allowed; }
.cal-day-label    { font-size: 0.75rem; font-weight: 600; color: var(--gray-500); text-align: center; padding: 6px; }

.cal-day-skeleton {
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 300% 100%;
  animation: cal-shimmer 1.5s infinite ease-in-out;
}
@keyframes cal-shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.slot-btn {
  padding: 10px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--t);
  text-align: center;
}
.slot-btn:hover  { border-color: var(--primary); color: var(--primary); background: rgba(61,139,74,.04); }
.slot-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.slot-btn-skeleton {
  padding: 10px;
  border-radius: var(--r-sm);
  height: 38px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 300% 100%;
  animation: cal-shimmer 1.5s infinite ease-in-out;
}

/* ─── Admin ─────────────────────────────────────────────────── */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: var(--gray-50);
}

.admin-sidebar {
  width: 260px;
  background: var(--dark-2);
  flex-shrink: 0;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 100;
}

.admin-content {
  margin-left: 260px;
  flex: 1;
  padding: 32px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: rgba(255,255,255,.65);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--r-sm);
  transition: var(--t);
  margin: 2px 12px;
}
.admin-nav-link:hover, .admin-nav-link.active {
  background: rgba(255,255,255,.08);
  color: var(--white);
}
.admin-nav-link.active { color: var(--lime); }

.admin-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--gray-200);
}

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--gray-100); }
.admin-table th { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-500); background: var(--gray-50); }
.admin-table tr:hover td { background: var(--gray-50); }

/* AI Generator */
.ai-prompt-area { min-height: 120px; }
.ai-output {
  min-height: 300px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 20px;
  white-space: pre-wrap;
  background: var(--white);
}

.spinner {
  display: inline-block;
  width: 20px; height: 20px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Alerts ─────────────────────────────────────────────────── */
.alert {
  padding: 14px 20px;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.alert-info    { background: #DBEAFE; color: #1E40AF; border: 1px solid #BFDBFE; }

/* ─── Utilities ─────────────────────────────────────────────── */
.flex          { display: flex; }
.flex-col      { flex-direction: column; }
.items-center  { align-items: center; }
.items-start   { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-4         { gap: 16px; }
.gap-6         { gap: 24px; }
.gap-8         { gap: 32px; }
.gap-12        { gap: 48px; }
.text-center   { text-align: center; }
.text-white    { color: var(--white); }
.text-lime     { color: var(--lime); }
.text-primary  { color: var(--primary); }
.font-bold     { font-weight: 700; }
.font-black    { font-weight: 800; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* ─── Animations ─────────────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

.stagger-1 { transition-delay: .1s; }
.stagger-2 { transition-delay: .2s; }
.stagger-3 { transition-delay: .3s; }
.stagger-4 { transition-delay: .4s; }

/* ─── Hero & Bento Bottom responsive ───────────────────────── */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero-left  { padding: 60px 40px; }
  .bb-grid    { grid-template-columns: 1fr 1fr; }
  .bb-offer   { display: none; }
}

@media (max-width: 768px) {
  .hero                  { padding: 82px 10px 0; }
  .hero-inner            { grid-template-columns: 1fr; min-height: auto; border-radius: 18px; }
  .hero-right            { min-height: 380px; padding: 40px 24px; }
  .hero-left             { padding: 48px 28px; }
  .bento-bottom          { padding: 16px 10px 0; }
  .bb-grid               { grid-template-columns: 1fr; }
  .bb-dark, .bb-offer    { display: none; }
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .navbar-nav    { display: none; }
  .navbar-pill-wrap { display: none; }
  .menu-toggle   { display: flex; }
  .bento-grid  { grid-template-columns: 1fr 1fr; }
  .bento-wide  { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
  .hero-visual { display: none; }
  .admin-sidebar { display: none; }
  .admin-content { margin-left: 0; }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; --section-py-sm: 40px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .hero-content { padding: 120px 0 80px; }
  .cta-banner { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .process-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .profils-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar-sep { display: none; }
  .trust-bar-inner { gap: 16px; justify-content: center; }
  .hero-stats { gap: 24px; }
  .navbar-actions .btn-sm { display: none; }
  .navbar-phone-circle { display: flex; }

  /* Footer compact - accordéon */
  .footer { padding: 40px 0 24px; }
  .footer-brand { padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 0; }
  .footer-col {
    padding-left: 0;
    border-left: none;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .footer-col-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
  }
  .footer-col-toggle h4 { margin-bottom: 0; }
  .footer-col-arrow {
    color: rgba(255,255,255,.4);
    transition: transform .22s ease;
    flex-shrink: 0;
  }
  .footer-col-toggle[aria-expanded="true"] .footer-col-arrow { transform: rotate(180deg); }
  .footer-col-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height .3s ease, padding .3s ease;
    padding-bottom: 0;
  }
  .footer-col-body.open {
    max-height: 500px;
    padding-bottom: 16px;
  }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* Desktop : bouton → heading passif, corps toujours visible */
@media (min-width: 769px) {
  .footer-col-toggle {
    background: none;
    border: none;
    padding: 0;
    width: 100%;
    cursor: default;
    pointer-events: none;
    display: block;
    text-align: left;
  }
  .footer-col-toggle h4 { margin-bottom: 20px; }
  .footer-col-arrow  { display: none; }
  .footer-col-body   { max-height: none !important; overflow: visible !important; padding-bottom: 0 !important; }
}

@media (max-width: 480px) {
  .profils-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2rem; }
  .slots-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Page intérieure (sous-hero) ───────────────────────────── */
.page-hero {
  background: var(--dark-2);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(61,139,74,.2) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .lead { color: rgba(255,255,255,.7); max-width: 600px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--lime); }
.breadcrumb-sep { opacity: .4; }

/* ─── Skeleton shimmer ───────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.sim-shimmer {
  background: linear-gradient(90deg, #ececec 25%, #f5f5f5 50%, #ececec 75%);
  background-size: 1200px 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}

/* ─── Scroll reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .72s cubic-bezier(0.16, 1, 0.3, 1),
              transform .72s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Variante montée plus douce pour les grands blocs */
.reveal-up {
  opacity: 0;
  transform: translateY(56px);
  transition: opacity .85s cubic-bezier(0.16, 1, 0.3, 1),
              transform .85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Animation téléphone vibreur (driiiing) ─────────────────── */
@keyframes phone-ring {
  0%   { transform: rotate(0deg); }
  5%   { transform: rotate(-20deg); }
  10%  { transform: rotate(18deg); }
  15%  { transform: rotate(-16deg); }
  20%  { transform: rotate(13deg); }
  25%  { transform: rotate(-9deg); }
  30%  { transform: rotate(5deg); }
  35%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}
.phone-ring {
  animation: phone-ring 2.6s ease-in-out infinite;
  transform-origin: 50% 80%;
  display: inline-flex;
}

/* ─── Fixed action buttons (phone mobile / scroll-top desktop) ── */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--lime);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: var(--t);
  z-index: 500;
  border: none;
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.scroll-top.visible { opacity: 1; transform: none; }
.scroll-top svg { transition: transform .3s ease; }
.scroll-top:hover { background: var(--lime-dark); }
.scroll-top:hover svg { transform: translateY(-3px); animation: scroll-top-bounce .6s ease infinite; }
@keyframes scroll-top-bounce {
  0%,100% { transform: translateY(-3px); }
  50% { transform: translateY(-7px); }
}

/* Scroll-to-top: tablet + desktop only */
#btn-scroll-top { display: flex; }
@media (max-width: 767px) {
  #btn-scroll-top { display: none !important; }
}

/* ─── Sticky CTA - animation d'entrée ───────────────────────── */
@keyframes sticky-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
#sticky-cta[style*="block"] {
  animation: sticky-in .35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ─── Responsive mobile/tablette ─────────────────────────────── */
@media (max-width: 1024px) {
  /* Images dans les bentos : cadrer au centre sur tablette + mobile */
  img[style*="object-fit:cover"], img[style*="object-fit: cover"] {
    object-position: center center !important;
  }
}
@media (max-width: 768px) {
  /* Navbar plus compacte sur mobile */
  .navbar-inner { height: 56px; gap: 12px; }

  /* Touch targets minimum 44px */
  .mobile-nav-close { width: 44px !important; height: 44px !important; }

  /* Image heights réduites */
  [style*="min-height:280px"] { min-height: 180px !important; }
  [style*="min-height:400px"] { min-height: 240px !important; }

  /* Alert banner compact sur mobile */
  #alert-banner-wrap { padding: 2px 12px 4px !important; }
  #alert-banner { padding: 4px 10px !important; font-size: .7rem !important; }

  /* Admin bar compact sur mobile */
  #admin-bar { height: 28px !important; font-size: 10px !important; padding: 0 10px !important; }

  /* Titres H2 : text-4xl (36px) → 24px sur mobile pour éviter débordement */
  .font-extrabold.text-4xl { font-size: 1.5rem !important; }
  .font-extrabold.text-5xl { font-size: 1.75rem !important; }

  /* Masquer les images de fond des bentos sur mobile */
  [style*="background-image"]:not(#hero-placeholder):not([role="img"]) {
    background-image: none !important;
  }

  /* Réduire l'espace entre articles et CTA banner */
  .section-sm { padding-top: 0 !important; padding-bottom: 16px !important; }
  section.mb-8:last-of-type { margin-bottom: 0 !important; }
  .cta-banner { padding: 28px 20px !important; margin-top: 0 !important; }
  section.blog-section { margin-bottom: 0 !important; padding-bottom: 0 !important; }
}

@media (max-width: 480px) {
  /* Titres encore plus petits sur très petit mobile */
  .font-extrabold.text-4xl { font-size: 1.35rem !important; }
  .font-extrabold.text-5xl { font-size: 1.5rem !important; }
}

@media (max-width: 480px) {
  /* Très petits écrans */
  .navbar-inner { height: 48px; }

  /* Email input min-width réduite */
  input[style*="min-width:260px"] { min-width: 180px !important; }
}

/* ─── Facture électronique : bloc landing ───────────────────── */
.facture-bloc-inner {
  display: flex;
  flex-direction: column;
}
.facture-bloc-dates { border-left: none; border-top: 1px solid rgba(255,255,255,.07); }

@media (min-width: 1024px) {
  .facture-bloc-inner       { flex-direction: row; }
  .facture-bloc-text        { flex: 1; }
  .facture-bloc-dates       { width: 540px; flex-shrink: 0; border-left: 2px solid #d1fae5; border-top: none; }
}

/* ─── Simulateurs : layout côte à côte sur desktop ─────────── */
.simulateurs-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 10;
}
@media (min-width: 1024px) {
  .simulateurs-inner { flex-direction: row; }
  .simulateurs-left  { width: 50%; }
  .simulateurs-right { width: 50%; }
}

/* ── Lazy rendering : sections below-the-fold ───────────────────────
   content-visibility:auto laisse le navigateur sauter le rendu des sections
   hors viewport. contain-intrinsic-size réserve un espace approximatif
   pour éviter le CLS lors du défilement. */
.cv-auto { content-visibility: auto; contain-intrinsic-size: auto 800px; }
