/* ==========================================================
   RESET & BASE
   ========================================================== */
html {
  margin: 0; 
  padding: 0;
  background-color: #060B16;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  padding: 0;
  background-color: #060B16;
  overflow-x: hidden;
}

/* ==========================================================
   VARIABLES (thème sombre par défaut)
   ========================================================== */
.ab-site-wrap {
  /* Fonds */
  --ab-bg: #060B16;
  --ab-surface: rgba(15, 23, 42, 0.75);
  --ab-surface-hover: rgba(22, 33, 56, 0.95);
  --ab-card-bg: #0B111D;
  --ab-footer-bg: #040810;
  --ab-nav-bg: rgba(6, 11, 22, 0.88);
  --ab-mobile-menu-bg: #0B1325;
  --ab-brand-box-bg: #0F172A;
  --ab-topstrip-alt: #060B16;

  /* Textes */
  --ab-text: #F1F5F9;
  --ab-text-soft: #CBD5E1;
  --ab-heading: #FFFFFF;
  --ab-muted: #94A3B8;
  --ab-muted-soft: #64748B;

  /* Accents */
  --ab-amber: #F5A524;
  --ab-amber-glow: #FFC55C;
  --ab-amber-text: #F5A524;
  --ab-blue: #2563EB;
  --ab-blue-light: #38BDF8;
  --ab-blue-text: #38BDF8;

  /* Bordures */
  --ab-border: rgba(56, 189, 248, 0.14);
  --ab-border-hover: rgba(56, 189, 248, 0.4);

  /* Overlays (images de fond) */
  --ab-hero-overlay-1: rgba(6, 11, 22, 0.65);
  --ab-hero-overlay-2: rgba(6, 11, 22, 0.95);
  --ab-section-overlay-1: rgba(6, 11, 22, 0.5);
  --ab-section-overlay-2: rgba(6, 11, 22, 0.92);

  position: relative;
  background-color: var(--ab-bg);
  color: var(--ab-text);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow: hidden;
  width: 100%;
}
.ab-site-wrap * { box-sizing: border-box; margin: 0; padding: 0; }
.ab-site-wrap a { text-decoration: none; color: inherit; }
.ab-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ==========================================================
   TRAME DE FOND & LUMIÈRES
   ========================================================== */
.ab-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(56,189,248,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}
.ab-top-strip {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    135deg,
    var(--ab-amber) 0 14px,
    var(--ab-topstrip-alt) 14px 28px
  );
}
.ab-light-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.ab-light-orb--blue     { width: 500px; height: 500px; background: #1D4ED8; opacity: 0.22; top: -100px; left: -100px; }
.ab-light-orb--amber    { width: 400px; height: 400px; background: #D97706; opacity: 0.15; top: 25%; right: -100px; }
.ab-light-orb--blue-mid { width: 450px; height: 450px; background: #0284C7; opacity: 0.12; top: 60%; left: -80px; }

/* ==========================================================
   HEADER / NAV
   ========================================================== */
.ab-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--ab-border);
  backdrop-filter: blur(14px);
  background: var(--ab-nav-bg);
  transition: background 0.3s ease;
}
.ab-nav__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.ab-brand { display: flex; align-items: center; gap: 12px; }
.ab-brand__box {
  width: 42px;
  height: 42px;
  background: var(--ab-brand-box-bg);
  border: 1px solid var(--ab-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ab-brand__img { max-height: 32px; max-width: 32px; object-fit: contain; }
.ab-brand__title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--ab-heading);
}
.ab-brand__subtitle {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ab-amber-text);
  display: block;
}
.ab-menu { display: flex; align-items: center; gap: 26px; }
.ab-link {
  color: var(--ab-muted);
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.2s;
  position: relative;
}
.ab-link:hover,
.ab-link--active { color: var(--ab-heading); }
.ab-link--active { color: var(--ab-blue-text); }
.ab-link--active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--ab-blue-text);
  border-radius: 2px;
}
.ab-nav__actions { display: flex; align-items: center; gap: 12px; }
.ab-call-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid var(--ab-border);
  background: rgba(30, 58, 138, 0.2);
  font-size: 13px;
  font-weight: 600;
  color: var(--ab-heading);
  transition: 0.2s;
}
.ab-call-pill svg { color: var(--ab-amber); }
.ab-call-pill:hover {
  background: rgba(37, 99, 235, 0.35);
  border-color: var(--ab-blue-light);
}
.ab-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.ab-burger span {
  width: 24px;
  height: 2px;
  background: var(--ab-heading);
  border-radius: 2px;
  transition: 0.3s;
}

/* ==========================================================
   HERO
   ========================================================== */
.ab-hero {
  position: relative;
  z-index: 10;
  padding: clamp(75px, 9vw, 115px) 24px 50px;
  overflow: hidden;
}
.ab-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1920&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.22;
  z-index: 0;
}
.ab-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    var(--ab-hero-overlay-1) 0%,
    var(--ab-hero-overlay-2) 100%
  );
}
.ab-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ab-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 99px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #BAE6FD;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.ab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ab-amber);
  box-shadow: 0 0 8px var(--ab-amber);
}
.ab-hero__title {
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ab-heading);
  margin-bottom: 22px;
}
.ab-hero__hl {
  background: linear-gradient(105deg, var(--ab-amber-glow) 0%, var(--ab-amber) 40%, var(--ab-blue-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ab-hero__lead {
  max-width: 720px;
  font-size: clamp(15px, 1.4vw, 17.5px);
  line-height: 1.7;
  color: var(--ab-text-soft);
  margin-bottom: 36px;
}
.ab-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 60px;
}

/* ==========================================================
   BOUTONS
   ========================================================== */
.ab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}
.ab-btn--primary {
  background: linear-gradient(135deg, var(--ab-amber-glow), var(--ab-amber));
  color: #060B16;
  box-shadow: 0 12px 28px -8px rgba(245, 165, 36, 0.6);
}
.ab-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(245, 165, 36, 0.85);
}
.ab-btn--wa {
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.5);
  color: #4ADE80;
}
.ab-btn--wa:hover {
  background: rgba(37, 211, 102, 0.25);
  border-color: #4ADE80;
  transform: translateY(-2px);
}
.ab-btn--lg { padding: 16px 30px; font-size: 15px; }

/* ==========================================================
   MÉTRIQUES
   ========================================================== */
.ab-metrics {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.ab-metrics__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ab-metric-card {
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  border-radius: 12px;
  padding: 22px 20px;
  backdrop-filter: blur(10px);
  transition: 0.25s ease;
}
.ab-metric-card:hover {
  border-color: var(--ab-border-hover);
  background: var(--ab-surface-hover);
  transform: translateY(-3px);
}
.ab-metric-card__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--ab-heading);
  margin-bottom: 6px;
}
.ab-metric-card__text strong {
  display: block;
  font-size: 13.5px;
  color: var(--ab-blue-text);
  margin-bottom: 4px;
}
.ab-metric-card__text span {
  display: block;
  font-size: 12px;
  color: var(--ab-muted);
  line-height: 1.4;
}

/* ==========================================================
   SECTIONS GLOBALES
   ========================================================== */
.ab-section {
  padding: clamp(75px, 8vw, 115px) 0;
  position: relative;
  z-index: 2;
}
.ab-section--alt {
  background: rgba(10, 16, 28, 0.6);
  border-top: 1px solid var(--ab-border);
  border-bottom: 1px solid var(--ab-border);
}
.ab-sec-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}
.ab-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ab-amber-text);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ab-sec-title {
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ab-heading);
  margin-bottom: 16px;
}
.ab-sec-sub {
  font-size: 15px;
  color: var(--ab-muted);
  line-height: 1.7;
}

/* ==========================================================
   CARTES MÉTIERS
   ========================================================== */
.ab-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.ab-service-card {
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  border-radius: 14px;
  overflow: hidden;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
}
.ab-service-card:hover {
  border-color: var(--ab-border-hover);
  background: var(--ab-surface-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}
.ab-service-card__media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-bottom: 1px solid var(--ab-border);
}
.ab-service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.85);
}
.ab-service-card:hover .ab-service-card__media img {
  transform: scale(1.06);
  filter: brightness(1);
}
.ab-service-card__pill {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: rgba(6, 11, 22, 0.85);
  border: 1px solid var(--ab-border);
  color: var(--ab-amber);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.ab-service-card__body {
  padding: 26px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ab-service-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ab-heading);
  margin-bottom: 10px;
}
.ab-service-card__desc {
  font-size: 14px;
  color: var(--ab-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}
.ab-service-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px dashed var(--ab-border);
  padding-top: 14px;
}
.ab-service-card__list li {
  font-size: 13px;
  color: var(--ab-text-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ab-service-card__list li::before {
  content: "✓";
  color: var(--ab-amber-text);
  font-weight: 800;
}

/* ==========================================================
   RÉALISATIONS
   ========================================================== */
.ab-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ab-project-card {
  background: var(--ab-card-bg);
  border: 1px solid var(--ab-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}
.ab-project-card:hover {
  border-color: var(--ab-border-hover);
  transform: translateY(-4px);
}
.ab-project-card__visual {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ab-border);
  background: var(--ab-card-bg);
}
.ab-project-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.9);
}
.ab-project-card:hover .ab-project-visual-img {
  transform: scale(1.06);
  filter: brightness(1.02);
}
.ab-project-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: rgba(6, 11, 22, 0.85);
  border: 1px solid var(--ab-border);
  color: var(--ab-amber);
  padding: 5px 10px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}
.ab-project-card__content {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ab-project-loc {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ab-blue-text);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ab-project-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ab-heading);
  margin-bottom: 10px;
  line-height: 1.35;
}
.ab-project-card__desc {
  font-size: 13px;
  color: var(--ab-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}
.ab-project-stats {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ab-text-soft);
  padding-top: 14px;
  border-top: 1px solid var(--ab-border);
}
.ab-project-stats strong { color: var(--ab-amber-text); }

/* ==========================================================
   PARC MATÉRIEL
   ========================================================== */
.ab-fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ab-fleet-item {
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  border-radius: 12px;
  overflow: hidden;
  padding-bottom: 20px;
  transition: 0.25s ease;
  position: relative;
  z-index: 2;
}
.ab-fleet-item:hover {
  border-color: var(--ab-border-hover);
  transform: translateY(-3px);
}
.ab-fleet-item__thumb {
  aspect-ratio: 16/10;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--ab-border);
  margin-bottom: 16px;
}
.ab-fleet-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ab-fleet-item:hover .ab-fleet-item__thumb img { transform: scale(1.08); }
.ab-fleet-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ab-heading);
  margin: 0 18px 8px;
}
.ab-fleet-item p {
  font-size: 13px;
  color: var(--ab-muted);
  line-height: 1.6;
  margin: 0 18px;
}

/* ==========================================================
   SECTIONS AVEC IMAGE DE FOND
   ========================================================== */
.ab-section--with-bg {
  position: relative;
  overflow: hidden;
}
.ab-section-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.ab-section-bg--materiel {
  background-image: url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?w=1920&q=80&auto=format&fit=crop');
  opacity: 0.15;
}
.ab-section-bg--hse {
  background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1920&q=80&auto=format&fit=crop');
  opacity: 0.16;
}
.ab-section-bg--cta {
  background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1920&q=80&auto=format&fit=crop');
  opacity: 0.18;
}
.ab-section--with-bg .ab-section-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--ab-section-overlay-1) 0%,
    var(--ab-section-overlay-2) 100%
  );
}

/* ==========================================================
   HSE BOX
   ========================================================== */
.ab-hse-box {
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.4) 0%,
    rgba(15, 23, 42, 0.9) 100%
  );
  border: 1px solid var(--ab-border-hover);
  border-radius: 16px;
  padding: clamp(30px, 5vw, 56px);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(6px);
}
.ab-hse-title {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--ab-heading);
  margin-bottom: 16px;
}
.ab-hse-text {
  font-size: 15px;
  color: var(--ab-text-soft);
  line-height: 1.7;
  max-width: 820px;
  margin-bottom: 32px;
}
.ab-hse-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ab-hse-p {
  border-left: 2px solid var(--ab-amber);
  padding-left: 16px;
}
.ab-hse-p strong {
  display: block;
  font-size: 15px;
  color: var(--ab-heading);
  margin-bottom: 6px;
}
.ab-hse-p span {
  font-size: 13px;
  color: var(--ab-muted);
  line-height: 1.5;
  display: block;
}

/* ==========================================================
   CTA BANNIÈRE
   ========================================================== */
.ab-cta-banner {
  padding: 40px 0 80px;
  position: relative;
  overflow: hidden;
}
.ab-cta-box {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.94) 0%,
    rgba(30, 41, 59, 0.94) 100%
  );
  border: 1px solid var(--ab-border-hover);
  border-radius: 16px;
  padding: clamp(32px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(8px);
}
.ab-cta-text { max-width: 660px; }
.ab-cta-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--ab-heading);
  margin-bottom: 14px;
}
.ab-cta-sub {
  font-size: 14.5px;
  color: var(--ab-text-soft);
  line-height: 1.65;
  margin-bottom: 22px;
}
.ab-cta-contacts { display: flex; flex-wrap: wrap; gap: 20px; }
.ab-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ab-blue-text);
  transition: 0.2s;
}
.ab-contact-link:hover { color: var(--ab-heading); }
.ab-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 250px;
}

/* ==========================================================
   FOOTER — VERSION COMPLÈTE
   ========================================================== */
.ab-footer {
  border-top: 1px solid var(--ab-border);
  background: var(--ab-footer-bg);
  padding: 70px 0 30px;
  position: relative;
  z-index: 2;
  transition: background 0.3s ease;
}

/* Grille 4 colonnes */
.ab-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 50px;
}

/* Colonne marque */
.ab-footer-col--brand { max-width: 380px; }

.ab-brand--footer {
  margin-bottom: 18px;
  display: inline-flex;
}

.ab-footer-desc {
  font-size: 13.5px;
  color: var(--ab-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Réseaux sociaux */
.ab-footer-socials {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.ab-footer-social {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  color: var(--ab-muted);
  transition: all 0.2s ease;
}
.ab-footer-social:hover {
  color: var(--ab-amber-text);
  border-color: var(--ab-amber);
  background: rgba(245, 165, 36, 0.1);
  transform: translateY(-2px);
}

/* Toggle thème intégré */
.ab-footer-theme {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--ab-border);
}
.ab-footer-theme__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ab-muted);
  text-transform: uppercase;
}
.ab-site-wrap button.ab-theme-toggle--footer {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  margin: 0 !important;
}
.ab-site-wrap button.ab-theme-toggle--footer svg {
  width: 17px !important;
  height: 17px !important;
}

/* Liens de colonnes */
.ab-footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ab-heading);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.ab-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 0;
  margin: 0;
}
.ab-footer-links a {
  color: var(--ab-muted);
  font-size: 13.5px;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}
.ab-footer-links a:hover {
  color: var(--ab-amber-text);
  padding-left: 4px;
}

/* Bloc contact */
.ab-footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.ab-footer-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ab-muted);
  line-height: 1.55;
}
.ab-footer-info-icon {
  color: var(--ab-amber-text);
  flex-shrink: 0;
  margin-top: 2px;
}
.ab-footer-contact-link {
  color: var(--ab-muted);
  transition: color 0.2s;
  word-break: break-word;
}
.ab-footer-contact-link:hover { color: var(--ab-amber-text); }

/* Bouton WhatsApp footer */
.ab-footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ab-wa-bg);
  border: 1px solid var(--ab-wa-border);
  color: var(--ab-wa-text);
  font-size: 13px;
  font-weight: 600;
  transition: 0.2s;
}
.ab-footer-wa:hover {
  background: rgba(34, 197, 94, 0.22);
  border-color: #16A34A;
  transform: translateY(-2px);
}

/* Bottom bar */
.ab-footer-bottom {
  border-top: 1px solid var(--ab-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.ab-footer-copy {
  font-size: 12.5px;
  color: var(--ab-muted-soft);
  margin: 0;
}
.ab-footer-copy strong { color: var(--ab-text-soft); }

.ab-footer-legal {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}
.ab-footer-legal a {
  font-size: 12px;
  color: var(--ab-muted-soft);
  transition: color 0.2s;
}
.ab-footer-legal a:hover { color: var(--ab-amber-text); }

/* Back to top */
.ab-back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  color: var(--ab-muted);
  transition: 0.2s;
}
.ab-back-to-top:hover {
  background: var(--ab-amber);
  border-color: var(--ab-amber);
  color: #060B16;
  transform: translateY(-2px);
}

/* Responsive footer */
@media (max-width: 1024px) {
  .ab-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .ab-footer-col--brand { max-width: none; grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .ab-footer-grid { grid-template-columns: 1fr; }
  .ab-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .ab-footer-legal { flex-wrap: wrap; gap: 12px; }
}

/* ==========================================================
   ANIMATIONS AU SCROLL
   ========================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.ab-cards-grid .animate-on-scroll:nth-child(2)    { transition-delay: 0.1s; }
.ab-cards-grid .animate-on-scroll:nth-child(3)    { transition-delay: 0.2s; }
.ab-cards-grid .animate-on-scroll:nth-child(4)    { transition-delay: 0.3s; }
.ab-projects-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.ab-projects-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.ab-fleet-grid .animate-on-scroll:nth-child(2)    { transition-delay: 0.1s; }
.ab-fleet-grid .animate-on-scroll:nth-child(3)    { transition-delay: 0.2s; }
.ab-fleet-grid .animate-on-scroll:nth-child(4)    { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .ab-cards-grid    { grid-template-columns: 1fr; }
  .ab-projects-grid { grid-template-columns: 1fr; }
  .ab-fleet-grid    { grid-template-columns: repeat(2, 1fr); }
  .ab-hse-points    { grid-template-columns: 1fr; }
  .ab-cta-box       { flex-direction: column; align-items: flex-start; }
  .ab-footer-grid   { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 980px) {
  .ab-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ab-mobile-menu-bg);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--ab-border);
  }
  .ab-menu.ab-menu--open { display: flex; }
  .ab-burger { display: flex; }
  .ab-burger.ab-burger--open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .ab-burger.ab-burger--open span:nth-child(2) { opacity: 0; }
  .ab-burger.ab-burger--open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .ab-metrics__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .ab-metrics__inner { grid-template-columns: 1fr; }
  .ab-fleet-grid { grid-template-columns: 1fr; }
  .ab-call-pill span { display: none; }
  .ab-btn { width: 100%; justify-content: center; }
  .ab-cta-actions { width: 100%; }
}

/* ==========================================================
   BOUTON THÈME (reset ciblé, sans "all: unset")
   ========================================================== */
.ab-site-wrap button.ab-theme-toggle {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  padding: 0 !important;
  margin: 0 0 0 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #F1F5F9 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  line-height: 0 !important;
  font: inherit !important;
  text-decoration: none !important;
  box-shadow: none !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.15s !important;
}
.ab-site-wrap button.ab-theme-toggle:hover {
  background: rgba(245, 165, 36, 0.15) !important;
  border-color: #F5A524 !important;
  color: #F5A524 !important;
}
.ab-site-wrap button.ab-theme-toggle:focus-visible {
  outline: 2px solid #F5A524 !important;
  outline-offset: 2px !important;
}
.ab-site-wrap button.ab-theme-toggle svg {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  stroke: currentColor !important;
  fill: none !important;
  pointer-events: none !important;
}
/* Mode sombre (défaut) → on affiche le soleil */
.ab-site-wrap button.ab-theme-toggle .icon-sun  { display: block !important; }
.ab-site-wrap button.ab-theme-toggle .icon-moon { display: none  !important; }
/* Mode clair → on affiche la lune */
.ab-site-wrap.light-mode button.ab-theme-toggle .icon-moon { display: block !important; }
.ab-site-wrap.light-mode button.ab-theme-toggle .icon-sun  { display: none  !important; }
/* Couleurs du bouton en mode clair */
.ab-site-wrap.light-mode button.ab-theme-toggle {
  border-color: rgba(15, 23, 42, 0.15) !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
}
.ab-site-wrap.light-mode button.ab-theme-toggle:hover {
  border-color: #F5A524 !important;
  color: #F5A524 !important;
}

/* ==========================================================
   MODE CLAIR — OVERRIDES COMPLETS
   ========================================================== */
.ab-site-wrap.light-mode {
  /* Fonds */
  --ab-bg: #F8FAFC;
  --ab-surface: #FFFFFF;
  --ab-surface-hover: #F1F5F9;
  --ab-card-bg: #FFFFFF;
  --ab-footer-bg: #F1F5F9;
  --ab-nav-bg: rgba(248, 250, 252, 0.9);
  --ab-mobile-menu-bg: #FFFFFF;
  --ab-brand-box-bg: #FFFFFF;
  --ab-topstrip-alt: #F8FAFC;

  /* Textes */
  --ab-text: #0F172A;
  --ab-text-soft: #334155;
  --ab-heading: #0F172A;
  --ab-muted: #475569;
  --ab-muted-soft: #64748B;

  /* Accents adaptés au contraste sur fond clair */
  --ab-amber-text: #B45309;
  --ab-blue-text: #2563EB;

  /* Bordures */
  --ab-border: rgba(15, 23, 42, 0.1);
  --ab-border-hover: rgba(37, 99, 235, 0.3);

  /* Overlays images */
  --ab-hero-overlay-1: rgba(248, 250, 252, 0.7);
  --ab-hero-overlay-2: rgba(248, 250, 252, 0.95);
  --ab-section-overlay-1: rgba(248, 250, 252, 0.5);
  --ab-section-overlay-2: rgba(248, 250, 252, 0.95);
}

/* Force le fond clair sur <html> pour éviter le "flash" sombre au scroll */
html:has(.ab-site-wrap.light-mode) {
  background-color: #F8FAFC !important;
}
/* Fallback si :has() n'est pas supporté */
body.ab-site-wrap.light-mode {
  background-color: #F8FAFC !important;
}

/* Trame de fond plus discrète en clair */
.ab-site-wrap.light-mode .ab-grid-bg {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
}
/* Orbes très discrets en clair */
.ab-site-wrap.light-mode .ab-light-orb { opacity: 0.07 !important; }
/* Bandeau haut : un peu atténué */
.ab-site-wrap.light-mode .ab-top-strip { opacity: 0.6; }

/* Cartes : ombre légère pour décoller du fond clair */
.ab-site-wrap.light-mode .ab-service-card,
.ab-site-wrap.light-mode .ab-project-card,
.ab-site-wrap.light-mode .ab-fleet-item,
.ab-site-wrap.light-mode .ab-metric-card,
.ab-site-wrap.light-mode .ab-hse-box,
.ab-site-wrap.light-mode .ab-cta-box {
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* Hero : badge plus lisible sur fond clair */
.ab-site-wrap.light-mode .ab-hero__badge {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.35);
  color: #1E40AF;
}

/* Titre gradient hero : plus contrasté en clair */
.ab-site-wrap.light-mode .ab-hero__hl {
  background: linear-gradient(105deg, #D97706 0%, #B45309 40%, #2563EB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Bouton WhatsApp : vert plus foncé en clair */
.ab-site-wrap.light-mode .ab-btn--wa {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.4);
  color: #15803D;
}
.ab-site-wrap.light-mode .ab-btn--wa:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: #16A34A;
}

/* Section alt : fond plus clair cohérent */
.ab-site-wrap.light-mode .ab-section--alt {
  background: rgba(241, 245, 249, 0.7);
}

/* HSE Box : gradient clair */
.ab-site-wrap.light-mode .ab-hse-box {
  background: linear-gradient(
    135deg,
    rgba(219, 234, 254, 0.6) 0%,
    rgba(248, 250, 252, 0.95) 100%
  );
}

/* CTA Box : gradient clair */
.ab-site-wrap.light-mode .ab-cta-box {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(241, 245, 249, 0.98) 100%
  );
}

/* Pills et badges sur images : on conserve le fond sombre
   (ils sont posés sur des photos, pas sur le fond de page) */
.ab-site-wrap.light-mode .ab-service-card__pill,
.ab-site-wrap.light-mode .ab-project-badge {
  color: #F5A524;
}

/* Call pill header : fond bleu plus doux en clair */
.ab-site-wrap.light-mode .ab-call-pill {
  background: rgba(37, 99, 235, 0.08);
}


/* ==========================================================
   PAGE CONTACT
   ========================================================== */
.ab-hero--contact {
  padding: 140px 24px 80px;
}

/* Grille 2 colonnes responsive */
.ab-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 900px) {
  .ab-contact-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Carte contact */
.ab-contact-card {
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
}

.ab-contact-card__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ab-heading);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.ab-contact-card__intro {
  font-size: 14px;
  color: var(--ab-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.ab-contact-empty {
  color: var(--ab-muted);
  font-size: 14px;
  padding: 20px;
  border: 1px dashed var(--ab-border);
  border-radius: 8px;
}

/* Liste coordonnées */
.ab-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ab-contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--ab-border);
}
.ab-contact-item:last-child { border-bottom: none; }

.ab-contact-item__icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
  filter: grayscale(0.3);
}

.ab-contact-item__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ab-amber-text);
  margin-bottom: 6px;
}

.ab-contact-item__value {
  display: block;
  font-size: 15px;
  color: var(--ab-heading);
  line-height: 1.5;
  transition: color 0.2s;
}
.ab-contact-item__value:hover { color: var(--ab-amber-text); }

.ab-contact-item__value--lg {
  font-size: 18px;
  font-weight: 700;
}
.ab-contact-item__value--sm {
  font-size: 13px;
  color: var(--ab-muted);
  margin-top: 2px;
}

/* Bouton WhatsApp dans la carte */
.ab-contact-card__wa {
  margin-top: 24px;
  align-self: flex-start;
}

/* Réassurance */
.ab-reassurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .ab-reassurance-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .ab-reassurance-grid { grid-template-columns: 1fr; }
}

/* Carte Google Maps */
.ab-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ab-border);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 2;
  background: var(--ab-surface);
}
.ab-map iframe {
  display: block;
  filter: grayscale(0.15);
  transition: filter 0.3s;
}
.ab-map:hover iframe { filter: grayscale(0); }
.ab-site-wrap.dark-mode .ab-map iframe { filter: invert(0.9) hue-rotate(180deg) grayscale(0.2); }
.ab-site-wrap.dark-mode .ab-map:hover iframe { filter: invert(0.9) hue-rotate(180deg) grayscale(0); }

/* FAQ */
.ab-faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ab-faq__item {
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  border-radius: 12px;
  padding: 18px 22px;
  transition: 0.25s;
}
.ab-faq__item:hover {
  border-color: var(--ab-border-hover);
}
.ab-faq__item[open] {
  border-color: var(--ab-border-hover);
  background: var(--ab-surface-hover);
}
.ab-faq__item summary {
  font-size: 15px;
  font-weight: 700;
  color: var(--ab-heading);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ab-faq__item summary::-webkit-details-marker { display: none; }
.ab-faq__item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--ab-amber-text);
  line-height: 1;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.ab-faq__item[open] summary::after {
  transform: rotate(45deg);
}
.ab-faq__item p {
  font-size: 14px;
  color: var(--ab-muted);
  line-height: 1.65;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--ab-border);
}

/* ==========================================================
   STYLISATION CONTACT FORM 7 (mode clair / sombre compatible)
   ========================================================== */
.ab-site-wrap .wpcf7 {
  width: 100%;
}

.ab-site-wrap .wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ab-site-wrap .wpcf7 p {
  margin: 0;
}

.ab-site-wrap .wpcf7 label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ab-text-soft);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.ab-site-wrap .wpcf7 input[type="text"],
.ab-site-wrap .wpcf7 input[type="email"],
.ab-site-wrap .wpcf7 input[type="tel"],
.ab-site-wrap .wpcf7 input[type="url"],
.ab-site-wrap .wpcf7 input[type="number"],
.ab-site-wrap .wpcf7 textarea,
.ab-site-wrap .wpcf7 select {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ab-heading);
  background: var(--ab-bg);
  border: 1px solid var(--ab-border);
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.ab-site-wrap .wpcf7 input:focus,
.ab-site-wrap .wpcf7 textarea:focus,
.ab-site-wrap .wpcf7 select:focus {
  border-color: var(--ab-amber);
  background: var(--ab-surface);
  box-shadow: 0 0 0 3px rgba(245, 165, 36, 0.15);
}

.ab-site-wrap .wpcf7 textarea {
  min-height: 130px;
  resize: vertical;
}

.ab-site-wrap .wpcf7 ::placeholder {
  color: var(--ab-muted-soft);
  opacity: 0.8;
}

.ab-site-wrap .wpcf7 input[type="submit"],
.ab-site-wrap .wpcf7 button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 700;
  color: #060B16;
  background: linear-gradient(135deg, var(--ab-amber-glow), var(--ab-amber));
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 10px 24px -10px rgba(245, 165, 36, 0.6);
  align-self: flex-start;
}

.ab-site-wrap .wpcf7 input[type="submit"]:hover,
.ab-site-wrap .wpcf7 button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(245, 165, 36, 0.9);
}

/* Message de confirmation / erreur */
.ab-site-wrap .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  border: 1px solid var(--ab-border);
  background: var(--ab-surface);
  color: var(--ab-text-soft);
}
.ab-site-wrap .wpcf7 form.sent .wpcf7-response-output {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.1);
  color: #15803D;
}
.ab-site-wrap .wpcf7 form.invalid .wpcf7-response-output,
.ab-site-wrap .wpcf7 form.failed .wpcf7-response-output {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.1);
  color: #B91C1C;
}

.ab-site-wrap .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #DC2626;
  margin-top: 4px;
}

.ab-site-wrap .wpcf7-spinner {
  margin-left: 12px;
}

/* Message de succès en mode sombre (couleurs plus claires) */
.ab-site-wrap.dark-mode .wpcf7 form.sent .wpcf7-response-output {
  color: #4ADE80;
}
.ab-site-wrap.dark-mode .wpcf7 form.invalid .wpcf7-response-output,
.ab-site-wrap.dark-mode .wpcf7 form.failed .wpcf7-response-output {
  color: #F87171;
}

/* ==========================================================
   PAGE À PROPOS
   ========================================================== */
.ab-hero--about {
  padding: 140px 24px 80px;
}

/* Bloc histoire + image */
.ab-about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.ab-about-text p {
  font-size: 15.5px;
  color: var(--ab-muted);
  line-height: 1.85;
  margin-bottom: 18px;
}
.ab-about-text p strong {
  color: var(--ab-heading);
  font-weight: 700;
}
.ab-about-media img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--ab-border);
  box-shadow:
    0 20px 40px -15px rgba(0, 0, 0, 0.15),
    0 4px 6px -1px rgba(0, 0, 0, 0.05);
  display: block;
}
@media (max-width: 900px) {
  .ab-about-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Timeline */
.ab-timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  padding-left: 32px;
  max-width: 820px;
  margin: 0 auto;
}
.ab-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--ab-amber) 0%,
    var(--ab-blue) 100%
  );
  opacity: 0.4;
  border-radius: 2px;
}
.ab-timeline__item {
  position: relative;
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  border-radius: 12px;
  padding: 20px 24px;
  transition: 0.25s;
}
.ab-timeline__item:hover {
  border-color: var(--ab-border-hover);
  transform: translateX(4px);
}
.ab-timeline__item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 24px;
  width: 18px;
  height: 18px;
  background: var(--ab-amber);
  border: 3px solid var(--ab-bg);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(245, 165, 36, 0.2);
}
.ab-timeline__year {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ab-amber-text);
  margin-bottom: 8px;
}
.ab-timeline__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ab-heading);
  margin-bottom: 8px;
}
.ab-timeline__desc {
  font-size: 14px;
  color: var(--ab-muted);
  line-height: 1.65;
}
.ab-timeline__note {
  text-align: center;
  margin-top: 32px;
  font-size: 12.5px;
  color: var(--ab-muted-soft);
}

/* Icônes valeurs */
.ab-value-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ab-amber), var(--ab-amber-glow));
  color: #060B16;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px -8px rgba(245, 165, 36, 0.5);
}

/* Équipe */
.ab-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .ab-team-grid { grid-template-columns: 1fr; }
}
.ab-team-card {
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  transition: 0.25s;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
}
.ab-team-card:hover {
  border-color: var(--ab-border-hover);
  transform: translateY(-3px);
}
.ab-team-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ab-blue), var(--ab-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px -8px rgba(37, 99, 235, 0.5);
}
.ab-team-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ab-heading);
  margin-bottom: 4px;
}
.ab-team-card__role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ab-amber-text);
  margin-bottom: 12px;
}
.ab-team-card__bio {
  font-size: 13px;
  color: var(--ab-muted);
  line-height: 1.6;
}

/* Certifications */
.ab-certif-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .ab-certif-grid { grid-template-columns: 1fr; }
}
.ab-certif-card {
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: 0.25s;
}
.ab-certif-card:hover {
  border-color: var(--ab-border-hover);
  transform: translateY(-2px);
}
.ab-certif-card__icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.ab-certif-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ab-heading);
  margin-bottom: 8px;
}
.ab-certif-card__desc {
  font-size: 13px;
  color: var(--ab-muted);
  line-height: 1.6;
}


/* ==========================================================
   BREADCRUMB
   ========================================================== */
.ab-breadcrumb {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}
.ab-breadcrumb__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  font-size: 12px;
  color: var(--ab-muted);
}
.ab-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ab-breadcrumb__item:not(:last-child)::after {
  content: "/";
  color: var(--ab-muted-soft);
  margin-left: 4px;
}
.ab-breadcrumb__item a {
  color: var(--ab-muted);
  transition: color 0.2s;
}
.ab-breadcrumb__item a:hover { color: var(--ab-amber-text); }
.ab-breadcrumb__item [aria-current="page"] {
  color: var(--ab-heading);
  font-weight: 600;
}

/* ==========================================================
   INTRO / TEXTE SEO
   ========================================================== */
.ab-section-intro-text {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.8;
  color: var(--ab-muted);
}
.ab-section-intro-text strong {
  color: var(--ab-heading);
  font-weight: 700;
}

/* ==========================================================
   CARTE SERVICE — TALON CTA "Découvrir"
   ========================================================== */
.ab-service-card {
  position: relative;
  cursor: pointer;
}
.ab-service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--ab-border);
  font-size: 13px;
  font-weight: 700;
  color: var(--ab-amber-text);
  transition: gap 0.25s ease;
}
.ab-service-card:hover .ab-service-card__cta {
  gap: 12px;
}
.ab-service-card__cta svg {
  transition: transform 0.25s ease;
}
.ab-service-card:hover .ab-service-card__cta svg {
  transform: translateX(2px);
}

/* Placeholder si pas de thumbnail */
.ab-service-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ab-surface), var(--ab-surface-hover));
  color: var(--ab-muted);
}

/* ==========================================================
   PAGINATION
   ========================================================== */
.ab-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
.ab-pagination ul {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.ab-pagination li a,
.ab-pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  color: var(--ab-text-soft);
  font-size: 13px;
  font-weight: 600;
  transition: 0.2s;
  text-decoration: none;
}
.ab-pagination li a:hover {
  border-color: var(--ab-amber);
  color: var(--ab-amber-text);
}
.ab-pagination li .current {
  background: var(--ab-amber);
  border-color: var(--ab-amber);
  color: #060B16;
}

/* ==========================================================
   EMPTY STATE
   ========================================================== */
.ab-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--ab-surface);
  border: 1px dashed var(--ab-border);
  border-radius: 12px;
  color: var(--ab-muted);
}
.ab-empty-state a {
  color: var(--ab-amber-text);
  font-weight: 600;
}

/* ==========================================================
   QUICK LINKS (maillage interne)
   ========================================================== */
.ab-quicklinks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .ab-quicklinks { grid-template-columns: 1fr; }
}
.ab-quicklink {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  border-radius: 12px;
  transition: 0.25s ease;
  color: var(--ab-heading);
}
.ab-quicklink:hover {
  border-color: var(--ab-amber);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -10px rgba(245, 165, 36, 0.3);
}
.ab-quicklink__icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}
.ab-quicklink strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--ab-heading);
}
.ab-quicklink span:not(.ab-quicklink__icon) {
  font-size: 12.5px;
  color: var(--ab-muted);
}

/* ==========================================================
   ARCHIVE RÉALISATIONS — Filtres + Expertise tag
   ========================================================== */
.ab-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.ab-filter {
  appearance: none;
  border: 1px solid var(--ab-border);
  background: var(--ab-surface);
  color: var(--ab-text-soft);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ab-filter:hover {
  border-color: var(--ab-amber);
  color: var(--ab-amber-text);
}
.ab-filter.is-active {
  background: var(--ab-amber);
  border-color: var(--ab-amber);
  color: #060B16;
}

/* Expertise tag sur les cartes */
.ab-project-expertise {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--ab-border);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ab-amber-text);
  width: 100%;
}

/* ==========================================================
   SINGLE RÉALISATION — Layout + Sidebar
   ========================================================== */
.ab-project-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .ab-project-layout { grid-template-columns: 1fr; gap: 32px; }
}

.ab-project-main { min-width: 0; }

.ab-project-hero-img {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 40px;
  border: 1px solid var(--ab-border);
}

.ab-project-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ab-muted);
}
.ab-project-content h2,
.ab-project-content h3 {
  color: var(--ab-heading);
  margin-top: 32px;
  margin-bottom: 14px;
  line-height: 1.3;
}
.ab-project-content h2 { font-size: 22px; font-weight: 800; }
.ab-project-content h3 { font-size: 18px; font-weight: 700; }
.ab-project-content p { margin-bottom: 16px; }
.ab-project-content strong { color: var(--ab-heading); font-weight: 700; }
.ab-project-content ul,
.ab-project-content ol {
  margin: 16px 0;
  padding-left: 22px;
}
.ab-project-content li { margin-bottom: 8px; }

/* Expertise liée — bloc en bas du contenu */
.ab-project-expertise-box {
  margin-top: 40px;
  padding: 24px;
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  border-left: 3px solid var(--ab-amber);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ab-project-expertise-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ab-heading);
  transition: color 0.2s, gap 0.2s;
}
.ab-project-expertise-link:hover {
  color: var(--ab-amber-text);
  gap: 12px;
}

/* Bouton retour */
.ab-project-back { margin-top: 40px; }

/* Sidebar */
.ab-project-sidebar { position: sticky; top: 100px; }
@media (max-width: 900px) {
  .ab-project-sidebar { position: static; }
}

.ab-project-sidebar__title {
  color: var(--ab-heading);
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 800;
}

.ab-project-techlist {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}
.ab-project-techrow {
  padding: 14px 0;
  border-bottom: 1px solid var(--ab-border);
}
.ab-project-techrow:last-child { border-bottom: none; }
.ab-project-techrow dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ab-amber-text);
  margin-bottom: 4px;
}
.ab-project-techrow dd {
  margin: 0;
  font-size: 15px;
  color: var(--ab-heading);
  font-weight: 500;
}
.ab-project-techrow dd a {
  color: var(--ab-amber-text);
  transition: color 0.2s;
}
.ab-project-techrow dd a:hover { color: var(--ab-heading); text-decoration: underline; }

.ab-project-sidebar__cta {
  width: 100%;
  justify-content: center;
  margin-top: 24px;
}


/* ==========================================================
   HOMEPAGE — CTA de section (bouton centré sous grille)
   ========================================================== */
.ab-sec-cta {
  text-align: center;
  margin-top: 48px;
}

/* ==========================================================
   HOMEPAGE — Section "Pourquoi nous"
   ========================================================== */
.ab-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .ab-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .ab-why-grid { grid-template-columns: 1fr; }
}

.ab-why-card {
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: 0.25s ease;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}
.ab-why-card:hover {
  border-color: var(--ab-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(245, 165, 36, 0.15);
}

.ab-why-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ab-amber), var(--ab-amber-glow));
  color: #060B16;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px -8px rgba(245, 165, 36, 0.5);
  flex-shrink: 0;
}

.ab-why-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ab-heading);
  margin-bottom: 10px;
  line-height: 1.35;
}

.ab-why-card__desc {
  font-size: 13.5px;
  color: var(--ab-muted);
  line-height: 1.65;
  flex: 1;
}

/* ==========================================================
   PAGE RECRUTEMENT
   ========================================================== */
.ab-hero--recrutement {
  padding: 140px 24px 80px;
}

/* ── Cartes "Postes ouverts" ── */
.ab-jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .ab-jobs-grid { grid-template-columns: 1fr; }
}

.ab-job-card {
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: 0.25s ease;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
}
.ab-job-card:hover {
  border-color: var(--ab-border-hover);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -15px rgba(245, 165, 36, 0.15);
}

.ab-job-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.ab-job-card__type {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--ab-amber), var(--ab-amber-glow));
  color: #060B16;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.ab-job-card__loc {
  font-size: 12px;
  color: var(--ab-muted);
  font-weight: 600;
}

.ab-job-card__title {
  font-size: 19px;
  font-weight: 800;
  color: var(--ab-heading);
  line-height: 1.3;
  margin-top: 4px;
}

.ab-job-card__desc {
  font-size: 14px;
  color: var(--ab-muted);
  line-height: 1.65;
  flex: 1;
}

.ab-job-card__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 4px 0 0;
}
.ab-job-card__tags li {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ab-text-soft);
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--ab-surface-hover);
  border: 1px solid var(--ab-border);
}

.ab-job-card__cta {
  margin-top: 12px;
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 13px;
}

.ab-jobs-note {
  font-size: 14px;
  color: var(--ab-muted);
  margin-bottom: 18px;
  text-align: center;
}

/* ── Timeline horizontale (processus) ── */
.ab-timeline--horizontal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 0;
  list-style: none;
}
.ab-timeline--horizontal::before {
  display: none; /* pas de ligne verticale en mode horizontal */
}
@media (max-width: 900px) {
  .ab-timeline--horizontal {
    grid-template-columns: 1fr;
    padding-left: 32px;
  }
  .ab-timeline--horizontal::before {
    display: block;
    left: 8px;
    top: 8px;
    bottom: 8px;
    right: auto;
    width: 2px;
    height: auto;
  }
}
.ab-timeline--horizontal .ab-timeline__item {
  position: relative;
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  border-radius: 12px;
  padding: 24px 20px;
}
.ab-timeline--horizontal .ab-timeline__item::before {
  display: none;
}
@media (max-width: 900px) {
  .ab-timeline--horizontal .ab-timeline__item::before {
    display: block;
    position: absolute;
    left: -32px;
    top: 24px;
    width: 18px;
    height: 18px;
    background: var(--ab-amber);
    border: 3px solid var(--ab-bg);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(245, 165, 36, 0.2);
  }
}

/* ── Profils recherchés ── */
.ab-profiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .ab-profiles-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ab-profiles-grid { grid-template-columns: 1fr; }
}

.ab-profile {
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  border-left: 3px solid var(--ab-amber);
  border-radius: 10px;
  padding: 18px 20px;
  transition: 0.2s;
}
.ab-profile:hover {
  border-left-color: var(--ab-blue-light);
  transform: translateX(3px);
}
.ab-profile strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ab-heading);
  margin-bottom: 6px;
}
.ab-profile span {
  display: block;
  font-size: 12.5px;
  color: var(--ab-muted);
  line-height: 1.6;
}

/* ==========================================================
   PAGE ACTUALITÉS (BLOG)
   ========================================================== */
.ab-hero--actualites {
  padding: 140px 24px 80px;
}

/* ── Article à la une ── */
.ab-featured-section {
  padding-bottom: 40px;
}

.ab-featured-post {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s ease;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
  text-decoration: none;
}
.ab-featured-post:hover {
  border-color: var(--ab-border-hover);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
}

@media (max-width: 900px) {
  .ab-featured-post { grid-template-columns: 1fr; }
}

.ab-featured-post__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--ab-card-bg);
}
@media (max-width: 900px) {
  .ab-featured-post__media { aspect-ratio: 16/9; }
}
.ab-featured-post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ab-featured-post:hover .ab-featured-post__media img {
  transform: scale(1.04);
}
.ab-featured-post__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--ab-amber);
  color: #060B16;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 4px;
}

.ab-featured-post__content {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
@media (max-width: 900px) {
  .ab-featured-post__content { padding: 28px 24px; }
}

.ab-featured-post__meta {
  font-size: 12px;
  color: var(--ab-muted);
  font-weight: 600;
  letter-spacing: 0.03em;
  display: flex;
  gap: 8px;
  align-items: center;
}

.ab-featured-post__title {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 800;
  color: var(--ab-heading);
  line-height: 1.25;
  transition: color 0.2s;
}
.ab-featured-post:hover .ab-featured-post__title {
  color: var(--ab-amber-text);
}

.ab-featured-post__excerpt {
  font-size: 14.5px;
  color: var(--ab-muted);
  line-height: 1.7;
}

.ab-featured-post__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ab-amber-text);
  transition: gap 0.25s ease;
}
.ab-featured-post:hover .ab-featured-post__cta {
  gap: 12px;
}

/* ── Filtres catégories ── */
.ab-filters .ab-filter {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ab-filter__count {
  opacity: 0.6;
  font-weight: 600;
  font-size: 11px;
}

/* ── Grille articles ── */
.ab-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .ab-posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .ab-posts-grid { grid-template-columns: 1fr; }
}

/* ── Carte article ── */
.ab-post-card {
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s ease;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}
.ab-post-card:hover {
  border-color: var(--ab-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
}
.ab-post-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.ab-post-card__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-bottom: 1px solid var(--ab-border);
  background: var(--ab-card-bg);
}
.ab-post-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.95);
}
.ab-post-card:hover .ab-post-card__img {
  transform: scale(1.06);
  filter: brightness(1.02);
}
.ab-post-card__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ab-badge-bg);
  border: 1px solid var(--ab-border);
  color: var(--ab-badge-text);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}
.ab-post-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ab-surface), var(--ab-surface-hover));
  color: var(--ab-muted);
}

.ab-post-card__body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ab-post-card__meta {
  font-size: 11.5px;
  color: var(--ab-muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ab-post-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ab-heading);
  line-height: 1.35;
  transition: color 0.2s;
}
.ab-post-card:hover .ab-post-card__title {
  color: var(--ab-amber-text);
}
.ab-post-card__desc {
  font-size: 13px;
  color: var(--ab-muted);
  line-height: 1.6;
  flex: 1;
}
.ab-post-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px dashed var(--ab-border);
  font-size: 12px;
  font-weight: 700;
  color: var(--ab-amber-text);
  transition: gap 0.25s ease;
}
.ab-post-card:hover .ab-post-card__cta {
  gap: 10px;
}

/* ── Empty state amélioré ── */
.ab-empty-state__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--ab-muted);
  opacity: 0.6;
}
.ab-empty-state__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ab-heading);
  margin-bottom: 8px;
}
.ab-empty-state__desc {
  font-size: 14px;
  line-height: 1.65;
}
.ab-empty-state__desc a {
  color: var(--ab-amber-text);
  font-weight: 600;
  text-decoration: underline;
}


/* ==========================================================
   SINGLE ARTICLE (Blog)
   ========================================================== */
.ab-hero--article { padding: 120px 24px 60px; }

/* ── Métadonnées dans le hero ── */
.ab-article-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--ab-muted);
}
.ab-article-meta__author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ab-article-meta__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ab-border);
}
.ab-article-meta__name strong {
  color: var(--ab-heading);
  font-weight: 700;
}
.ab-article-meta__reading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ab-muted);
}
.ab-article-meta__reading svg {
  color: var(--ab-amber-text);
}

/* ── Layout article + sidebar ── */
.ab-article-section { padding-top: 40px; }
.ab-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .ab-article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.ab-article-main { min-width: 0; }

.ab-article-cover {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 36px;
  border: 1px solid var(--ab-border);
}

/* ── Contenu article (typo) ── */
.ab-article-content {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ab-text-soft);
}
.ab-article-content > * + * { margin-top: 1.1em; }
.ab-article-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--ab-heading);
  line-height: 1.3;
  margin-top: 2em;
  letter-spacing: -0.015em;
}
.ab-article-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ab-heading);
  margin-top: 1.6em;
  line-height: 1.35;
}
.ab-article-content p {
  color: var(--ab-text-soft);
}
.ab-article-content strong {
  color: var(--ab-heading);
  font-weight: 700;
}
.ab-article-content a {
  color: var(--ab-amber-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.ab-article-content a:hover { color: var(--ab-heading); }
.ab-article-content ul,
.ab-article-content ol {
  padding-left: 24px;
  color: var(--ab-text-soft);
}
.ab-article-content li { margin-bottom: 8px; }
.ab-article-content blockquote {
  border-left: 3px solid var(--ab-amber);
  padding: 8px 20px;
  margin: 24px 0;
  background: var(--ab-surface);
  border-radius: 6px;
  font-style: italic;
  color: var(--ab-muted);
}
.ab-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--ab-border);
}
.ab-article-content figure { margin: 24px 0; }
.ab-article-content figcaption {
  font-size: 13px;
  color: var(--ab-muted);
  text-align: center;
  margin-top: 8px;
}

/* ── Tags ── */
.ab-article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--ab-border);
}
.ab-article-tags__label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ab-muted);
  letter-spacing: 0.05em;
  margin-right: 6px;
}
.ab-article-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  color: var(--ab-text-soft);
  font-size: 12px;
  font-weight: 600;
  transition: 0.2s;
}
.ab-article-tag:hover {
  border-color: var(--ab-amber);
  color: var(--ab-amber-text);
}

/* ── Partage social ── */
.ab-article-share {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 20px 0;
  border-top: 1px dashed var(--ab-border);
  border-bottom: 1px dashed var(--ab-border);
  flex-wrap: wrap;
}
.ab-article-share__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ab-muted);
}
.ab-article-share__buttons {
  display: flex;
  gap: 10px;
}
.ab-share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ab-border);
  background: var(--ab-surface);
  color: var(--ab-text-soft);
  transition: 0.2s;
}
.ab-share-btn:hover {
  transform: translateY(-2px);
  color: #FFF;
}
.ab-share-btn--wa:hover { background: #25D366; border-color: #25D366; }
.ab-share-btn--li:hover { background: #0A66C2; border-color: #0A66C2; }
.ab-share-btn--fb:hover { background: #1877F2; border-color: #1877F2; }
.ab-share-btn--mail:hover { background: var(--ab-amber); border-color: var(--ab-amber); color: #060B16; }

/* ── Bio auteur ── */
.ab-article-author {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding: 24px;
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  border-radius: 12px;
}
@media (max-width: 600px) {
  .ab-article-author { flex-direction: column; align-items: flex-start; }
}
.ab-article-author__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ab-border);
  flex-shrink: 0;
}
.ab-article-author__body { flex: 1; }
.ab-article-author__label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ab-amber-text);
  margin-bottom: 4px;
}
.ab-article-author__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ab-heading);
  margin-bottom: 8px;
}
.ab-article-author__bio {
  font-size: 13.5px;
  color: var(--ab-muted);
  line-height: 1.65;
}

/* ── Navigation prev/next ── */
.ab-article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--ab-border);
}
@media (max-width: 600px) {
  .ab-article-nav { grid-template-columns: 1fr; }
}
.ab-article-nav__link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  border-radius: 10px;
  transition: 0.2s;
  text-decoration: none;
}
.ab-article-nav__link:hover {
  border-color: var(--ab-amber);
  transform: translateY(-2px);
}
.ab-article-nav__link--next { text-align: right; }
.ab-article-nav__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ab-amber-text);
}
.ab-article-nav__link--next .ab-article-nav__label {
  justify-content: flex-end;
}
.ab-article-nav__title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ab-heading);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ab-article-back {
  margin-top: 32px;
  text-align: center;
}

/* ── Sidebar ── */
.ab-article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 900px) {
  .ab-article-sidebar { position: static; }
}

.ab-article-cta {
  padding: 28px 24px;
  background: linear-gradient(135deg, var(--ab-hse-bg, var(--ab-surface)) 0%, var(--ab-surface) 100%);
  border: 1px solid var(--ab-border-hover);
  border-radius: 14px;
  backdrop-filter: blur(6px);
}
.ab-article-cta__title {
  font-size: 19px;
  font-weight: 800;
  color: var(--ab-heading);
  line-height: 1.3;
  margin-bottom: 10px;
}
.ab-article-cta__desc {
  font-size: 13.5px;
  color: var(--ab-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.ab-article-recent {
  padding: 24px;
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  border-radius: 14px;
}
.ab-article-recent__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ab-heading);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ab-border);
}
.ab-article-recent__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ab-article-recent__item:not(:last-child) {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ab-border);
}
.ab-article-recent__link {
  display: flex;
  gap: 12px;
  text-decoration: none;
  transition: 0.2s;
}
.ab-article-recent__link:hover .ab-article-recent__heading {
  color: var(--ab-amber-text);
}
.ab-article-recent__thumb {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ab-card-bg);
}
.ab-article-recent__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ab-article-recent__body { flex: 1; min-width: 0; }
.ab-article-recent__date {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ab-muted);
  margin-bottom: 4px;
}
.ab-article-recent__heading {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ab-heading);
  line-height: 1.4;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}