/* =====================================================================
   GIB ING EXPERTISE — FEUILLE DE STYLE PARTAGEE (DESIGN SYSTEM)
   ---------------------------------------------------------------------
   CE FICHIER EST LE VERROU DU SITE. Toutes les pages le chargent via :
       <link rel="stylesheet" href="styles.css">
   Ne JAMAIS recopier de CSS dans les pages : tout vit ici.

   ORGANISATION :
   [PARTAGE / DESIGN SYSTEM]  tokens, reset, base, conteneur, boutons,
                              marquee haut, navigation, menu mobile,
                              CTA final, footer, responsive, animations.
                              -> Reutilise tel quel sur TOUTES les pages.
   [PAGE : ACCUEIL]           hero, bandeau confiance, marquee vert, KPIs,
                              services, difference, benefices, temoignages,
                              references. -> Specifique a index.html.
                              Les pages 2..N ajoutent ici leurs propres
                              sections, sous un commentaire [PAGE : XXX].
   ===================================================================== */

:root {
  --navy-900: #0A1F2E;
  --navy-800: #112A3D;
  --navy-700: #1B3A52;
  --navy-50: #EAF0F5;
  --green: #4CB76C;
  --green-dark: #2E8B47;
  --green-light: #E8F5ED;
  --grey-900: #1A1A1A;
  --grey-700: #404040;
  --grey-500: #737373;
  --grey-300: #D4D4D4;
  --grey-100: #F5F5F5;
  --white: #FFFFFF;
  --cream: #FAF7F2;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --max-width: 1280px;
  --side-padding: 80px;
  --nav-height: 80px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--grey-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
}

/* ============ MARQUEE HAUT ============ */
.top-marquee {
  background: var(--cream);
  border-bottom: 1px solid rgba(10,31,46,0.08);
  padding: 12px 0;
  overflow: hidden;
}
.top-marquee-track {
  display: flex; white-space: nowrap;
  animation: scrollLeft 32s linear infinite;
  gap: 0;
}
.top-marquee-item {
  font-size: 13px; letter-spacing: 0.02em;
  color: var(--grey-700); font-weight: 500;
  display: flex; align-items: center; gap: 40px;
  flex-shrink: 0; padding-right: 40px;
}
.top-marquee-item.accent { color: var(--green-dark); font-weight: 600; }
.top-marquee-item::after { content: '·'; color: var(--green); font-weight: 700; }
@keyframes scrollLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ NAVIGATION ============ */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 31, 46, 0.06);
  z-index: 100;
  height: var(--nav-height);
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 22px;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 40px; height: 40px;
  background: var(--navy-900);
  border-radius: 6px;
  display: grid; place-items: center;
  overflow: hidden;
}
.nav-logo-mark svg { width: 24px; height: 24px; }

/* Menu */
.nav-menu {
  display: flex;
  gap: 28px;
  flex-wrap: nowrap;
  align-items: center;
}
.nav-menu > a,
.nav-dropdown > .nav-dropdown-trigger {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-700);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  background: none; border: none;
}
.nav-menu > a:hover,
.nav-dropdown:hover > .nav-dropdown-trigger { color: var(--green-dark); }
.nav-menu > a.active { color: var(--navy-900); }
.nav-menu > a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--green); border-radius: 2px;
}

/* Icône calendrier — Planning */
.nav-cal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: none;
  color: var(--navy-700);
  text-decoration: none;
  transition: color 0.22s ease;
  position: relative;
}
.nav-cal svg { width: 20px; height: 20px; }
.nav-cal:hover {
  color: var(--green);
}
.nav-cal::after {
  content: "Planning";
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--navy-900); color: var(--white);
  font-size: 11px; font-weight: 600; letter-spacing: 0.03em; line-height: 1.4;
  padding: 5px 10px; border-radius: 6px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: all 0.22s ease;
}
.nav-cal:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }
/* Page Planning : pastille verte discrète, sans le soulignement des autres liens */
.nav-cal.active { background: var(--green-light); color: var(--green-dark); border-radius: 8px; }
.nav-menu > a.nav-cal.active::after { content: none; }

/* Dropdown Services */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger svg { width: 13px; height: 13px; transition: transform 0.25s ease; }
.nav-dropdown:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 18px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border: 1px solid rgba(10,31,46,0.08);
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(10,31,46,0.14);
  padding: 10px;
  min-width: 280px;
  opacity: 0; visibility: hidden;
  transition: all 0.25s ease;
  z-index: 110;
}
.nav-dropdown::before {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 24px;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 16px; border-radius: 8px;
  text-decoration: none; transition: background 0.2s ease;
}
.nav-dropdown-item:hover { background: var(--cream); }
.nav-dropdown-item-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--green-light); color: var(--green-dark);
  border-radius: 8px; display: grid; place-items: center;
}
.nav-dropdown-item-icon svg { width: 20px; height: 20px; }
.nav-dropdown-item-title {
  display: block;
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  color: var(--navy-900); margin-bottom: 2px; letter-spacing: -0.01em;
}
.nav-dropdown-item-desc { display: block; font-size: 12.5px; color: var(--grey-500); line-height: 1.4; }

.nav-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: 6px;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(76,183,108,0.28); }
.nav-cta .arrow { transition: transform 0.25s ease; }
.nav-cta:hover .arrow { transform: translate(3px,-3px); }

/* Burger */
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(10,31,46,0.12);
  border-radius: 8px; background: none; cursor: pointer;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-burger span { width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: all 0.3s ease; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(86vw, 360px);
  background: var(--white);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  padding: 28px 28px 40px;
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(10,31,46,0.2);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-overlay {
  position: fixed; inset: 0; background: rgba(10,31,46,0.5);
  z-index: 150; opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-close { background: none; border: none; font-size: 28px; cursor: pointer; color: var(--navy-900); line-height: 1; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 20px; font-weight: 500;
  color: var(--navy-900); text-decoration: none; padding: 14px 0;
  border-bottom: 1px solid rgba(10,31,46,0.07);
  display: flex; align-items: center; gap: 12px;
}
.mobile-menu a svg { width: 20px; height: 20px; }
.mobile-menu .mobile-sub { font-size: 16px; padding-left: 16px; color: var(--grey-700); }
.mobile-menu .mobile-cta {
  margin-top: 28px; background: var(--navy-900); color: var(--white);
  border-radius: 8px; justify-content: center; border-bottom: none;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; padding: 16px;
}

/* ============ HERO ============ */
.hero {
  padding-top: 40px;
  background:
    radial-gradient(ellipse at 78% 30%, rgba(76, 183, 108, 0.08) 0%, transparent 52%),
    linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10, 31, 46, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 31, 46, 0.022) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.hero-glow-a {
  position: absolute; top: -220px; right: -160px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(76,183,108,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
  padding-top: 64px;
  padding-bottom: 72px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600;
  color: var(--green-dark);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.8s 0.05s ease forwards;
}
.hero-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--green); }
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(46px, 5.4vw, 74px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  margin-bottom: 30px;
  opacity: 0; animation: fadeUp 0.85s 0.15s ease forwards;
}
.hero-title em { font-style: normal; font-weight: 600; color: var(--green-dark); }
.hero-subtitle {
  font-size: 19px; line-height: 1.65;
  color: var(--grey-700);
  margin-bottom: 40px; max-width: 560px;
  opacity: 0; animation: fadeUp 0.85s 0.25s ease forwards;
}
.hero-ctas {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px;
  opacity: 0; animation: fadeUp 0.85s 0.35s ease forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 18px 32px; border-radius: 6px;
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: all 0.25s ease;
  border: none; letter-spacing: -0.01em;
}
.btn-primary { background: var(--navy-900); color: var(--white); }
.btn-primary:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10, 31, 46, 0.18); }
.btn-secondary { background: var(--green); color: var(--white); }
.btn-secondary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(76, 183, 108, 0.3); }
.btn-ghost { background: transparent; color: var(--navy-900); border: 1.5px solid var(--navy-900); }
.btn-ghost:hover { background: var(--navy-900); color: var(--white); transform: translateY(-2px); }
.btn-arrow { transition: transform 0.25s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.hero-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 14px; color: var(--grey-500);
  opacity: 0; animation: fadeUp 0.85s 0.45s ease forwards;
}
.hero-meta-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.2); } }

/* Visuel hero + pastilles flottantes */
.hero-visual { position: relative; height: 540px; opacity: 0; animation: fadeUp 0.9s 0.3s ease forwards; }
.hero-image {
  width: 100%; height: 100%; border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(10,31,46,0.15) 45%, rgba(10,31,46,0.78) 100%),
    radial-gradient(ellipse at 70% 28%, rgba(76,183,108,0.28) 0%, transparent 55%),
    linear-gradient(135deg, var(--navy-700) 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  position: relative; overflow: hidden;
  border: 1px solid rgba(76,183,108,0.18);
}
.hero-image::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(76,183,108,0.07) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(76,183,108,0.07) 39px 40px);
}
.hero-image::after {
  content: "⛑"; position: absolute; top: 46%; right: 9%;
  transform: translateY(-50%); font-size: clamp(6rem, 12vw, 9rem);
  opacity: 0.12; line-height: 1;
}
.hero-image-caption {
  position: absolute; bottom: 24px; left: 24px; right: 24px; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
}
.hero-image-caption h4 {
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  color: var(--white); line-height: 1.2; margin-bottom: 4px;
}
.hero-image-caption p { font-size: 13px; color: rgba(255,255,255,0.72); }
.hero-image-tag {
  background: var(--green); color: var(--navy-900);
  padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  white-space: nowrap;
}
.pill-tag {
  position: absolute; z-index: 3;
  background: var(--white);
  border: 1px solid rgba(10,31,46,0.08);
  color: var(--navy-900);
  padding: 9px 16px; border-radius: 100px;
  font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 9px;
  box-shadow: 0 10px 28px rgba(10,31,46,0.14);
  animation: floatPill 3.4s ease-in-out infinite;
}
.pill-tag .pill-dot {
  width: 18px; height: 18px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--green); color: var(--white);
  font-size: 11px; font-weight: 700;
}
.pill-tag.tag-1 { top: 30px; left: -30px; animation-delay: 0s; }
.pill-tag.tag-2 { bottom: 70px; right: -24px; animation-delay: 1.4s; }
.pill-tag.tag-2 .pill-dot { background: var(--navy-900); }
@keyframes floatPill { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ============ BANDEAU CONFIANCE ============ */
.trust-bar { background: var(--navy-900); padding: 28px 0; position: relative; }
.trust-container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--side-padding); }
.trust-label {
  text-align: center; font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.5); text-transform: uppercase;
  letter-spacing: 0.15em; margin-bottom: 20px;
}
.trust-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px; align-items: center; }
.trust-logo {
  height: 44px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 6px;
  transition: all 0.25s ease; letter-spacing: 0.02em;
}
.trust-logo:hover { color: var(--white); border-color: var(--green); background: rgba(76,183,108,0.08); }

/* ============ MARQUEE VERT ANIMÉ ============ */
.star-marquee { background: var(--green); padding: 30px 0; overflow: hidden; position: relative; }
.star-marquee::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 16px, rgba(10,31,46,0.04) 16px 17px);
  pointer-events: none;
}
.star-marquee-track { display: flex; white-space: nowrap; animation: scrollLeft 26s linear infinite; align-items: center; }
.star-marquee-item { display: flex; align-items: center; gap: 32px; flex-shrink: 0; padding-right: 32px; }
.star-marquee-text {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(22px, 3.2vw, 36px);
  letter-spacing: -0.02em; color: var(--navy-900);
}
.star-marquee-text.outlined {
  -webkit-text-stroke: 1.4px var(--navy-900);
  -webkit-text-fill-color: transparent; color: transparent;
}
.star-marquee-icon {
  width: clamp(24px, 3vw, 34px); height: clamp(24px, 3vw, 34px);
  fill: var(--navy-900); flex-shrink: 0; animation: spin 9s linear infinite;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ============ KPIs ============ */
.kpis { padding: 100px 0; background: var(--cream); position: relative; }
.kpis-header { text-align: center; margin-bottom: 60px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; color: var(--green-dark);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 20px;
}
.section-eyebrow::before, .section-eyebrow::after { content: ""; width: 32px; height: 1px; background: var(--green); }
.section-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(36px, 4vw, 52px); line-height: 1.15;
  letter-spacing: -0.02em; color: var(--navy-900);
  max-width: 720px; margin: 0 auto;
}
.kpis-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(10, 31, 46, 0.1);
  border-top: 1px solid rgba(10, 31, 46, 0.1);
  border-bottom: 1px solid rgba(10, 31, 46, 0.1);
}
.kpi { background: var(--cream); padding: 48px 32px; text-align: center; }
.kpi-number {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(46px, 5.2vw, 78px); line-height: 1;
  letter-spacing: -0.04em; color: var(--navy-900); margin-bottom: 16px;
}
.kpi-number em { font-style: normal; font-weight: 500; color: var(--green-dark); }
.kpi-label { font-size: 14px; line-height: 1.5; color: var(--grey-700); max-width: 200px; margin: 0 auto; }

/* ============ SERVICES ============ */
.services { padding: 120px 0; background: var(--white); }
.services-header { text-align: center; margin-bottom: 64px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid rgba(10, 31, 46, 0.08);
  border-radius: 14px; padding: 48px 40px;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  position: relative; cursor: pointer;
  display: flex; flex-direction: column; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(76,183,108,0.4); box-shadow: 0 26px 54px rgba(10, 31, 46, 0.1); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px; border-radius: 12px;
  background: var(--green-light); display: grid; place-items: center;
  margin-bottom: 30px; color: var(--green-dark);
  transition: all 0.4s ease;
}
.service-card:hover .service-icon { background: var(--green); color: var(--white); transform: rotate(-4deg) scale(1.05); }
.service-icon svg { width: 32px; height: 32px; }
.service-number {
  position: absolute; top: 32px; right: 32px;
  font-family: var(--font-display); font-size: 14px; font-weight: 500;
  color: var(--grey-300); letter-spacing: 0.05em;
}
.service-title {
  font-family: var(--font-display); font-weight: 600; font-size: 25px;
  line-height: 1.2; letter-spacing: -0.02em; color: var(--navy-900); margin-bottom: 16px;
}
.service-description { font-size: 15px; line-height: 1.65; color: var(--grey-700); margin-bottom: 30px; flex-grow: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--navy-900);
  text-decoration: none; transition: gap 0.25s ease;
}
.service-card:hover .service-link { gap: 12px; color: var(--green-dark); }
.service-link-arrow { transition: transform 0.25s ease; }

/* ============ DIFFÉRENCE ============ */
.difference { padding: 120px 0; background: var(--navy-900); color: var(--white); position: relative; overflow: hidden; }
.difference::before {
  content: ""; position: absolute; top: 0; right: 0; width: 50%; height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(76, 183, 108, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.difference-container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.difference-content .section-eyebrow { color: var(--green); }
.difference-content .section-eyebrow::before, .difference-content .section-eyebrow::after { background: var(--green); }
.difference-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(36px, 4vw, 52px); line-height: 1.15;
  letter-spacing: -0.02em; margin-bottom: 32px;
}
.difference-title em { font-style: normal; font-weight: 500; color: var(--green); }
.difference-text { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.75); margin-bottom: 24px; }
.difference-text:last-of-type { margin-bottom: 40px; }
.difference-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 32px; background: var(--green); color: var(--white);
  border-radius: 6px; font-size: 16px; font-weight: 600;
  text-decoration: none; transition: all 0.25s ease;
}
.difference-cta:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(76, 183, 108, 0.3); }
.difference-image {
  position: relative; height: 520px; border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(76, 183, 108, 0.15), rgba(76, 183, 108, 0.05)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 60px),
    var(--navy-800);
  display: grid; place-items: center; border: 1px solid rgba(76, 183, 108, 0.2);
}
.difference-image::after { content: "⛑"; font-size: 7rem; opacity: 0.14; }
.difference-stat {
  position: absolute; bottom: 32px; left: 32px; right: 32px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
  border-radius: 8px; padding: 24px;
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center;
}
.difference-stat-number { font-family: var(--font-display); font-size: 44px; font-weight: 500; color: var(--navy-900); line-height: 1; letter-spacing: -0.03em; }
.difference-stat-label { font-size: 13px; line-height: 1.45; color: var(--grey-700); }

/* ============ BÉNÉFICES — CARTES EMPILÉES (anim. vidéo) ============ */
.benefits { background: var(--cream); padding: 110px 0 40px; position: relative; }
.benefits-header { text-align: center; margin-bottom: 56px; }
.benefits-stack { position: relative; }
.benefit-card {
  position: sticky;
  top: 110px;
  background: var(--white);
  border: 1px solid rgba(10,31,46,0.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(10,31,46,0.12);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 440px;
  margin-bottom: 40px;
  transform-origin: center top;
  will-change: transform, opacity;
}
.benefit-card:last-child { margin-bottom: 0; }

/* Panneau visuel gauche */
.benefit-visual {
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10,31,46,0.1) 45%, rgba(10,31,46,0.7) 100%),
    radial-gradient(ellipse at 35% 35%, rgba(76,183,108,0.32) 0%, transparent 58%),
    linear-gradient(135deg, var(--navy-700) 0%, var(--navy-800) 50%, var(--navy-900) 100%);
}
.benefit-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(76,183,108,0.08) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(76,183,108,0.08) 39px 40px);
}
.benefit-visual-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 140px; height: 140px; border-radius: 50%;
  background: rgba(255,255,255,0.96);
  display: grid; place-items: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.benefit-visual-icon svg { width: 64px; height: 64px; color: var(--green-dark); }
.benefit-visual-tag {
  position: absolute; bottom: 26px; left: 26px; z-index: 2;
  background: var(--green); color: var(--navy-900);
  padding: 8px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
}

/* Contenu droit */
.benefit-content { padding: 56px 56px; display: flex; flex-direction: column; justify-content: center; }
.benefit-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--green-dark);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 18px;
}
.benefit-eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--green); }
.benefit-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 3vw, 40px); line-height: 1.12;
  letter-spacing: -0.025em; color: var(--navy-900); margin-bottom: 20px;
}
.benefit-title em { font-style: normal; font-weight: 600; color: var(--green-dark); }
.benefit-desc { font-size: 16.5px; line-height: 1.65; color: var(--grey-700); margin-bottom: 30px; max-width: 480px; }
.benefit-checks { display: flex; flex-direction: column; gap: 14px; }
.benefit-check { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 500; color: var(--navy-900); }
.benefit-check-mark {
  width: 26px; height: 26px; flex-shrink: 0;
  background: var(--green-light); color: var(--green-dark);
  border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.benefit-num {
  position: absolute; top: 28px; right: 32px;
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  color: var(--grey-300); letter-spacing: 0.06em; z-index: 2;
}

/* ============ TÉMOIGNAGES — BENTO ============ */
.testimonials { padding: 120px 0; background: var(--white); }
.testimonials-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.testimonials-subtitle { font-size: 18px; line-height: 1.6; color: var(--grey-700); margin-top: 18px; }
.testimonials-subtitle strong { color: var(--green-dark); font-weight: 600; }

.testimonials-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 20px; margin-bottom: 48px; }

.t-card {
  border-radius: 18px; padding: 32px; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid rgba(10,31,46,0.08);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.t-card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(10,31,46,0.1); border-color: rgba(76,183,108,0.4); }

.t-featured { grid-column: span 1; grid-row: span 2; background: var(--cream); justify-content: space-between; }
.t-wide { grid-column: span 2; }
.t-dark { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.t-dark:hover { box-shadow: 0 22px 48px rgba(10,31,46,0.45); border-color: var(--green); }
.t-stat { background: var(--green-light); border-color: rgba(76,183,108,0.25); justify-content: center; align-items: center; text-align: center; }
.t-rating { background: var(--green); border-color: var(--green); justify-content: center; align-items: center; text-align: center; }
.t-rating:hover { box-shadow: 0 22px 48px rgba(76,183,108,0.4); border-color: var(--green-dark); }

.t-quote-mark { font-family: var(--font-display); font-weight: 700; font-size: 58px; line-height: 0.4; color: var(--green); height: 26px; margin-bottom: 24px; }
.t-headline { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; color: var(--navy-900); margin-bottom: 14px; }
.t-text { font-size: 15px; line-height: 1.6; color: var(--grey-700); }
.t-featured .t-text { flex-grow: 1; }
.t-dark .t-headline { color: var(--white); }
.t-dark .t-text { color: rgba(255,255,255,0.85); font-family: var(--font-display); font-weight: 500; font-size: 19px; line-height: 1.5; }

.t-footer { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.t-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--green-light); color: var(--green-dark); display: grid; place-items: center; flex-shrink: 0; }
.t-avatar svg { width: 20px; height: 20px; }
.t-dark .t-avatar { background: rgba(76,183,108,0.18); color: var(--green); }
.t-author { font-size: 14px; font-weight: 600; color: var(--navy-900); }
.t-context { font-size: 12.5px; color: var(--grey-500); }
.t-dark .t-author { color: var(--white); }
.t-dark .t-context { color: rgba(255,255,255,0.55); }

.t-stars { display: flex; gap: 3px; margin-top: 18px; }
.t-stars svg { width: 18px; height: 18px; color: var(--green); }

.t-stat-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 4vw, 58px); line-height: 1; letter-spacing: -0.03em; color: var(--navy-900); margin-bottom: 12px; }
.t-stat-num .suf { color: var(--green-dark); }
.t-stat-label { font-size: 14px; line-height: 1.45; color: var(--grey-700); max-width: 190px; }

.t-rating-stars { display: flex; gap: 5px; justify-content: center; margin-bottom: 14px; }
.t-rating-stars svg { width: 26px; height: 26px; color: var(--navy-900); }
.t-rating-score { font-family: var(--font-display); font-weight: 600; font-size: 42px; color: var(--navy-900); line-height: 1; margin-bottom: 6px; }
.t-rating-label { font-size: 13.5px; font-weight: 600; color: var(--navy-900); opacity: 0.82; }

/* stagger d'apparition */
.testimonials.reveal .t-card { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.testimonials.reveal.visible .t-card { opacity: 1; transform: translateY(0); }
.testimonials.visible .t-card:nth-child(2) { transition-delay: 0.08s; }
.testimonials.visible .t-card:nth-child(3) { transition-delay: 0.16s; }
.testimonials.visible .t-card:nth-child(4) { transition-delay: 0.24s; }
.testimonials.visible .t-card:nth-child(5) { transition-delay: 0.32s; }
.testimonials.visible .t-card:nth-child(6) { transition-delay: 0.40s; }

.testimonials-link { display: flex; justify-content: center; }
.testimonials-link a {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 600; color: var(--navy-900);
  text-decoration: none; padding: 16px 28px;
  border: 1.5px solid var(--navy-900); border-radius: 6px; transition: all 0.25s ease;
}
.testimonials-link a:hover { background: var(--navy-900); color: var(--white); gap: 16px; }

/* ============ RÉFÉRENCES ============ */
.references { padding: 80px 0; background: var(--cream); border-top: 1px solid rgba(10, 31, 46, 0.06); }
.references-label { text-align: center; font-size: 12px; font-weight: 600; color: var(--green-dark); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 12px; }
.references-title { text-align: center; font-family: var(--font-display); font-weight: 500; font-size: 28px; color: var(--navy-900); margin-bottom: 40px; letter-spacing: -0.02em; }
.references-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.reference {
  height: 80px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: var(--grey-500); border: 1px solid rgba(10, 31, 46, 0.08);
  border-radius: 8px; background: var(--white); text-align: center;
  padding: 12px 16px; transition: all 0.25s ease; line-height: 1.2;
}
.reference:hover { color: var(--navy-900); border-color: var(--green); transform: translateY(-3px); box-shadow: 0 8px 16px rgba(10, 31, 46, 0.06); }

/* ============ CTA FINAL ============ */
.cta-final { padding: 120px 0; background: var(--navy-900); color: var(--white); position: relative; overflow: hidden; }
.cta-final::before { content: ""; position: absolute; top: -100px; left: -100px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(76, 183, 108, 0.12) 0%, transparent 60%); pointer-events: none; }
.cta-container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.cta-content .section-eyebrow { color: var(--green); }
.cta-content .section-eyebrow::before, .cta-content .section-eyebrow::after { background: var(--green); }
.cta-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 4vw, 52px); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 24px; }
.cta-subtitle { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.75); margin-bottom: 40px; }
.cta-guarantees { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.cta-guarantee { display: flex; align-items: center; gap: 16px; font-size: 16px; color: rgba(255,255,255,0.9); }
.cta-guarantee-check { width: 24px; height: 24px; background: var(--green); border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; color: var(--white); font-weight: 700; font-size: 12px; }
.cta-contact { display: flex; flex-direction: column; gap: 16px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.cta-contact-item { display: flex; align-items: center; gap: 16px; font-family: var(--font-body); font-size: 15px; color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.22s ease; }
.cta-contact-item:hover { color: var(--white); }
.cta-contact-item:hover .cta-contact-icon { border-color: var(--green); color: var(--green); }
.cta-contact-item:hover strong { color: var(--green); }
.cta-contact-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.85); border-radius: 50%;
  background: transparent; color: var(--white);
  display: grid; place-items: center;
  transition: border-color 0.22s ease, color 0.22s ease;
}
.cta-contact-icon svg { width: 13px; height: 13px; }
.cta-contact-item strong { font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--white); }
.cta-form-wrapper { background: var(--white); color: var(--navy-900); border-radius: 14px; padding: 48px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25); }
.cta-form-title { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.cta-form-subtitle { font-size: 14px; color: var(--grey-500); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--navy-900); margin-bottom: 8px; letter-spacing: -0.01em; }
.form-input, .form-select { width: 100%; padding: 14px 16px; border: 1px solid var(--grey-300); border-radius: 6px; font-family: var(--font-body); font-size: 15px; color: var(--navy-900); background: var(--white); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.form-input:focus, .form-select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(76, 183, 108, 0.12); }
.form-submit { width: 100%; padding: 18px; background: var(--navy-900); color: var(--white); border: none; border-radius: 6px; font-family: var(--font-body); font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.25s ease; margin-top: 12px; }
.form-submit:hover { background: var(--green-dark); transform: translateY(-2px); }
.form-rgpd { margin-top: 16px; font-size: 12px; color: var(--grey-500); text-align: center; line-height: 1.5; }

/* ============ FOOTER ============ */
.footer { background: #061520; color: rgba(255,255,255,0.7); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand .nav-logo { color: var(--white); margin-bottom: 20px; }
.footer-tagline { font-family: var(--font-display); font-style: italic; font-size: 15px; color: rgba(255,255,255,0.7); margin-bottom: 24px; line-height: 1.5; }
.footer-address { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer-col-title { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 20px; letter-spacing: 0.02em; text-transform: uppercase; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--green); }
.footer-certs { display: flex; flex-direction: column; gap: 12px; }
.footer-cert { padding: 10px 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; font-size: 12px; color: rgba(255,255,255,0.7); font-weight: 500; }
.footer-bottom { padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s ease; }
.footer-legal a:hover { color: var(--white); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  :root { --side-padding: 40px; }
  .nav-menu, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero-container { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { height: 420px; }
  .pill-tag.tag-1 { left: 12px; }
  .pill-tag.tag-2 { right: 12px; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .t-featured { grid-column: span 2; grid-row: span 1; }
  .t-wide { grid-column: span 2; }
  .difference-container { grid-template-columns: 1fr; gap: 48px; }
  .cta-container { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .references-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-card { grid-template-columns: 1fr; min-height: 0; }
  .benefit-visual { min-height: 220px; }
  .benefit-content { padding: 40px; }
}

@media (max-width: 640px) {
  :root { --side-padding: 24px; }
  .nav { height: 64px; }
  .hero-title { font-size: 38px; }
  .hero-subtitle { font-size: 16px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .hero-visual { height: 300px; }
  .trust-logos { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .kpis { padding: 64px 0; }
  .kpis-grid { grid-template-columns: repeat(2, 1fr); }
  .services, .difference, .testimonials, .cta-final { padding: 64px 0; }
  .testimonials-bento { grid-template-columns: 1fr; }
  .t-featured, .t-wide { grid-column: span 1; }
  .benefits { padding: 64px 0 24px; }
  .benefit-card { position: relative; top: 0 !important; transform: none !important; opacity: 1 !important; }
  .benefit-content { padding: 32px 24px; }
  .service-card { padding: 32px 28px; }
  .cta-form-wrapper { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ============ ANIMATIONS AU SCROLL ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =====================================================================
   [PAGE : SERVICES]  — styles propres a services.html
   Demonstration : une page 2..N peut ajouter son propre bloc ici,
   sous un commentaire clair, sans toucher au design system partage.
   ===================================================================== */
.page-head { padding: 140px 0 70px; background: var(--cream); border-bottom: 1px solid rgba(10,31,46,0.06); }
.page-head-title { font-family: var(--font-display); font-size: 52px; line-height: 1.08; color: var(--navy-900); letter-spacing: -0.02em; margin-top: 14px; }
.page-head-title em { font-style: normal; color: var(--green-dark); }
.page-head-lead { font-size: 19px; color: var(--grey-700); max-width: 640px; margin-top: 20px; }
.page-head-ctas { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

.svc-pillar { padding: 88px 0; border-bottom: 1px solid rgba(10,31,46,0.06); }
.svc-pillar.alt { background: var(--grey-100); }
.svc-pillar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.svc-pillar-title { font-family: var(--font-display); font-size: 34px; color: var(--navy-900); margin: 12px 0 16px; }
.svc-pillar-desc { font-size: 17px; color: var(--grey-700); margin-bottom: 24px; }
.svc-list { list-style: none; display: grid; gap: 14px; }
.svc-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: var(--grey-900); padding: 16px 18px; background: var(--white); border: 1px solid rgba(10,31,46,0.08); border-radius: 12px; }
.svc-pillar.alt .svc-list li { background: var(--white); }
.svc-list li::before { content: "✓"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--green-light); color: var(--green-dark); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.svc-list li strong { display: block; color: var(--navy-900); margin-bottom: 2px; }
.svc-list li span { color: var(--grey-500); font-size: 14.5px; }

@media (max-width: 1024px) {
  .svc-pillar-grid { grid-template-columns: 1fr; gap: 36px; }
  .page-head-title { font-size: 40px; }
}
@media (max-width: 640px) {
  .page-head { padding: 110px 0 56px; }
  .page-head-title { font-size: 32px; }
  .svc-pillar { padding: 56px 0; }
}


/* =====================================================================
   [PAGE : FORMATIONS-AMIANTE]  — styles propres a formations-amiante.html
   Reutilise tokens + .container + .btn + .section-eyebrow/.section-title
   + tout le bloc .cta-final / .form-* du design system partage.
   ===================================================================== */
.fa-breadcrumb { font-size: 13px; color: var(--grey-500); }
.fa-breadcrumb a { color: var(--grey-500); text-decoration: none; }
.fa-breadcrumb a:hover { color: var(--green-dark); }

/* Hero de page interieure */
.fa-hero { background: var(--cream); border-bottom: 1px solid rgba(10,31,46,0.06); padding: 56px 0 72px; text-align: center; }
.fa-hero .container { display: flex; flex-direction: column; align-items: center; }
.fa-hero .fa-breadcrumb { align-self: flex-start; margin-bottom: 48px; }
.fa-hero-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(38px, 6vw, 72px); line-height: 1.05; letter-spacing: -0.02em; color: var(--navy-900); margin: 14px 0 0; }
.fa-hero-sub { font-size: 20px; line-height: 1.6; color: var(--grey-700); max-width: 720px; margin: 24px auto 0; }
.fa-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.fa-badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 100px; border: 1px solid rgba(10,31,46,0.12); background: var(--white); font-size: 14px; font-weight: 500; color: var(--navy-700); }
.fa-badge::before { content: "✓"; color: var(--green-dark); font-weight: 700; }

/* Sections generiques de la page */
.fa-section { padding: 96px 0; }
.fa-section.alt { background: var(--cream); }
.fa-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.fa-head .section-title { margin-top: 14px; }
.fa-head p { font-size: 18px; color: var(--grey-700); margin-top: 18px; }

/* Section 2 — cadre reglementaire (45 / 55) */
.fa-reg-grid { display: grid; grid-template-columns: 45% 1fr; gap: 56px; align-items: start; }
.fa-reg-intro { font-size: 18px; line-height: 1.65; color: var(--grey-700); margin-top: 28px; }
.fa-reg-ref { font-size: 14px; font-style: italic; color: var(--grey-500); margin-top: 16px; }
.fa-reg-cards { display: grid; gap: 16px; }
.fa-reg-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; background: var(--white); border: 1px solid rgba(10,31,46,0.08); border-radius: 12px; transition: transform .2s, box-shadow .2s; }
.fa-reg-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(10,31,46,0.08); }
.fa-reg-card .fa-ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; background: var(--green-light); color: var(--green-dark); display: grid; place-items: center; }
.fa-reg-card .fa-ico svg { width: 22px; height: 22px; }
.fa-reg-card h3 { font-size: 16px; color: var(--navy-900); margin-bottom: 4px; }
.fa-reg-card p { font-size: 14px; color: var(--grey-500); line-height: 1.55; }

/* Section 3 — catalogue 2x2 */
.fa-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fa-formation-card { background: var(--white); border: 1px solid rgba(10,31,46,0.1); border-radius: 14px; padding: 36px; transition: transform .2s, box-shadow .2s; }
.fa-formation-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(10,31,46,0.1); }
.fa-formation-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.fa-ss-badge { flex-shrink: 0; min-width: 56px; height: 32px; padding: 0 12px; border-radius: 8px; display: grid; place-items: center; color: var(--white); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; }
.fa-ss-badge.ss3 { background: var(--navy-700); }
.fa-ss-badge.ss4 { background: var(--green-dark); }
.fa-formation-card h3 { font-family: var(--font-display); font-size: 23px; color: var(--navy-900); }
.fa-formation-sub { font-size: 15px; color: var(--grey-700); line-height: 1.55; }
.fa-formation-feats { list-style: none; display: grid; gap: 12px; margin: 24px 0; }
.fa-formation-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--grey-900); }
.fa-formation-feats li svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--green-dark); margin-top: 2px; }
.fa-cat-note { display: flex; gap: 16px; align-items: center; margin-top: 40px; padding: 22px 26px; background: var(--green-light); border-radius: 12px; font-size: 15px; color: var(--navy-800); line-height: 1.55; }
.fa-cat-note svg { flex-shrink: 0; width: 28px; height: 28px; color: var(--green-dark); }

/* Section 4 — plateau technique (fond sombre) */
.fa-plateau { background: var(--navy-900); color: var(--white); padding: 100px 0; }
.fa-plateau-grid { display: grid; grid-template-columns: 40% 1fr; gap: 64px; align-items: center; }
.fa-plateau h2 { font-family: var(--font-display); font-weight: 600; font-size: 40px; line-height: 1.1; margin: 14px 0 24px; }
.fa-plateau p { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,0.78); margin-bottom: 28px; }
.fa-plateau-list { list-style: none; display: grid; gap: 16px; }
.fa-plateau-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: rgba(255,255,255,0.92); }
.fa-plateau-list li::before { content: "✓"; flex-shrink: 0; color: var(--green); font-weight: 700; }
.fa-gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 420px; }
.fa-gallery .ph { border-radius: 10px; background: linear-gradient(135deg, var(--navy-700), var(--navy-800)); border: 1px dashed rgba(255,255,255,0.25); display: grid; place-items: center; color: rgba(255,255,255,0.5); font-size: 13px; text-align: center; padding: 12px; }
.fa-gallery .ph.main { grid-row: span 2; }

/* Section 5 — vocabulaire (chips) */
.fa-vocab-grid { display: grid; grid-template-columns: 38% 1fr; gap: 56px; align-items: center; }
.fa-vocab p { font-size: 16px; color: var(--grey-700); margin-top: 18px; line-height: 1.6; }
.fa-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.fa-chip { padding: 9px 16px; background: var(--grey-100); border: 1px solid rgba(10,31,46,0.1); border-radius: 100px; font-size: 13.5px; color: var(--grey-700); transition: all .18s; }
.fa-chip:hover { border-color: var(--green); background: var(--green-light); color: var(--green-dark); }

/* Section 6 — financement 2x2 */
.fa-fin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fa-fin-card { background: var(--white); border: 1px solid rgba(10,31,46,0.1); border-radius: 14px; padding: 32px; transition: transform .2s, box-shadow .2s; }
.fa-fin-card:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(10,31,46,0.08); }
.fa-fin-card .fa-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--green-light); color: var(--green-dark); display: grid; place-items: center; margin-bottom: 20px; }
.fa-fin-card .fa-ico svg { width: 24px; height: 24px; }
.fa-fin-card h3 { font-size: 20px; color: var(--navy-900); margin-bottom: 10px; }
.fa-fin-card p { font-size: 15px; color: var(--grey-700); line-height: 1.6; }
.fa-fin-note { margin-top: 32px; padding: 22px 26px; background: var(--green-light); border-radius: 12px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: center; font-size: 15px; color: var(--navy-800); text-align: center; }
.fa-fin-note a { color: var(--green-dark); font-weight: 600; text-decoration: none; }
.fa-fin-note a:hover { text-decoration: underline; }

/* Section 7 — temoignages amiante */
.fa-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fa-testi-card { background: var(--white); border: 1px solid rgba(10,31,46,0.08); border-radius: 14px; padding: 32px; transition: transform .2s, box-shadow .2s; }
.fa-testi-card:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(10,31,46,0.08); }
.fa-testi-stars { color: var(--green); font-size: 16px; letter-spacing: 2px; margin-bottom: 16px; }
.fa-testi-card blockquote { font-size: 16px; line-height: 1.6; color: var(--navy-800); margin-bottom: 20px; }
.fa-testi-id { font-size: 13px; color: var(--grey-500); border-top: 1px solid rgba(10,31,46,0.08); padding-top: 16px; }
.fa-testi-stats { margin-top: 40px; padding: 26px; background: var(--grey-100); border-radius: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; font-size: 15px; font-weight: 500; color: var(--navy-800); }
.fa-testi-stats span { display: inline-flex; align-items: center; gap: 12px; }
.fa-testi-stats span:not(:last-child)::after { content: "·"; color: var(--green); font-weight: 700; margin-left: 28px; }

/* Responsive */
@media (max-width: 1024px) {
  .fa-reg-grid, .fa-cat-grid, .fa-plateau-grid, .fa-vocab-grid, .fa-fin-grid { grid-template-columns: 1fr; gap: 36px; }
  .fa-testi-grid { grid-template-columns: 1fr; }
  .fa-gallery { height: 340px; }
}
@media (max-width: 640px) {
  .fa-section, .fa-plateau { padding: 60px 0; }
  .fa-hero { padding: 40px 0 52px; }
  .fa-badges { gap: 8px; }
  .fa-plateau h2 { font-size: 30px; }
}

/* [PAGE : FORMATIONS-AMIANTE] — ajustements iteration 1 */
.section-title em, .fa-hero-title em { font-style: normal; color: var(--green-dark); }
.fa-plateau h2 em { font-style: normal; color: var(--green); }
.fa-comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fa-comp-grid .fa-formation-card { background: var(--cream); border-color: transparent; }
.fa-ss-badge.strat { background: var(--navy-900); }
.fa-ss-badge.init  { background: var(--grey-500); }
.fa-ss-badge.valid { background: var(--green-dark); }
@media (max-width: 1024px) { .fa-comp-grid { grid-template-columns: 1fr; } }

/* [PAGE : FORMATIONS-AMIANTE] — iteration 2 : alignement des cartes & titres */

/* Titres : equilibrage des lignes (evite les mots orphelins type "loin") */
.section-title, .fa-hero-title { text-wrap: balance; }
.section-title em.nb { white-space: nowrap; }
.fa-formation-card h3 { text-wrap: balance; }

/* Cartes catalogue (SS3/SS4) : colonne flex, bouton toujours en bas,
   descriptions de hauteur egale -> les listes demarrent au meme niveau */
.fa-formation-card { display: flex; flex-direction: column; }
.fa-formation-card .service-link { margin-top: auto; }
@media (min-width: 1025px) {
  .fa-cat-grid .fa-formation-sub { min-height: 3.2em; }
}

/* Cartes complementaires : badge empile au-dessus du titre (titres longs)
   + alignement PARFAIT de chaque ligne via subgrid */
.fa-comp-grid .fa-formation-head { display: block; }
.fa-comp-grid .fa-formation-head .fa-ss-badge { margin-bottom: 14px; }
.fa-comp-grid .fa-formation-card h3 { font-size: 21px; }
@media (min-width: 1025px) {
  .fa-comp-grid { grid-template-rows: auto auto auto auto; }
  .fa-comp-grid .fa-formation-card { display: grid; grid-template-rows: subgrid; grid-row: span 4; }
  .fa-comp-grid .fa-formation-head { margin-bottom: 0; }
  .fa-comp-grid .fa-formation-feats { margin: 0; }
}

/* [PAGE : FORMATIONS-AMIANTE] — iteration 3 : badge compact (cartes complementaires) */
.fa-comp-grid .fa-formation-head .fa-ss-badge { display: inline-grid; }

/* =====================================================================
   [PAGE : DIAGNOSTIC-EXPERTISE] — styles propres a diagnostic-expertise.html
   Reutilise : .fa-hero/.fa-breadcrumb/.fa-badges/.fa-badge (hero),
   .fa-section/.fa-head, .section-title/.section-eyebrow, .cta-final/.form-*.
   ===================================================================== */

/* Section 2 — 6 prestations (grille 3x2) */
.dx-presta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dx-presta-card { background: var(--white); border: 1px solid rgba(10,31,46,0.1); border-radius: 14px; padding: 32px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.dx-presta-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(10,31,46,0.1); }
.dx-presta-ico { width: 52px; height: 52px; border-radius: 12px; background: var(--green-light); color: var(--green-dark); display: grid; place-items: center; margin-bottom: 20px; }
.dx-presta-ico svg { width: 26px; height: 26px; }
.dx-presta-card h3 { font-family: var(--font-display); font-size: 20px; color: var(--navy-900); line-height: 1.25; margin-bottom: 10px; }
.dx-presta-card p { font-size: 14.5px; color: var(--grey-700); line-height: 1.6; text-align: left; }
.dx-presta-meta { margin-top: auto; padding-top: 16px; margin-top: 20px; border-top: 1px solid rgba(10,31,46,0.08); font-size: 12.5px; font-style: italic; color: var(--grey-500); }
.dx-presta-card { } /* meta pinned via margin-top:auto on a spacer below */
.dx-presta-card p + .dx-presta-meta { margin-top: auto; }

/* Section 3 — Expertise judiciaire (fond sombre, 55/45) */
.dx-jud { background: var(--navy-900); color: var(--white); padding: 100px 0; }
.dx-jud-grid { display: grid; grid-template-columns: 55% 1fr; gap: 56px; align-items: center; }
.dx-jud h2 { font-family: var(--font-display); font-weight: 600; font-size: 40px; line-height: 1.1; margin: 14px 0 24px; }
.dx-jud h2 em { font-style: normal; color: var(--green); }
.dx-jud p { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,0.78); }
.dx-jud-block { margin-top: 28px; }
.dx-jud-block h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); margin-bottom: 12px; }
.dx-jud-list { list-style: none; display: grid; gap: 10px; }
.dx-jud-list li { display: flex; gap: 12px; font-size: 16px; color: rgba(255,255,255,0.92); }
.dx-jud-list li::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-top: 9px; }
.dx-jud-visual { background: var(--navy-800); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 48px 40px; text-align: center; }
.dx-jud-visual svg { width: 64px; height: 64px; color: var(--green); margin-bottom: 20px; }
.dx-jud-stat { font-family: var(--font-display); font-size: 52px; line-height: 1; color: var(--white); }
.dx-jud-stat-label { color: rgba(255,255,255,0.7); font-size: 15px; margin-top: 10px; }

/* Section 4 — Processus en 5 etapes (timeline) */
.dx-timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 56px; }
.dx-step { text-align: center; position: relative; }
.dx-step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--white); font-weight: 700; font-size: 22px; display: grid; place-items: center; margin: 0 auto 18px; position: relative; z-index: 1; }
.dx-step h4 { font-size: 16px; color: var(--navy-900); margin-bottom: 8px; }
.dx-step p { font-size: 13.5px; color: var(--grey-500); line-height: 1.5; }
.dx-step:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: calc(50% + 36px); right: calc(-50% + 36px); height: 2px; background: rgba(10,31,46,0.12); z-index: 0; }

/* Section 5 — Equipement (50/50) */
.dx-equip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.dx-equip-visual { height: 380px; border-radius: 14px; background: linear-gradient(135deg, var(--navy-700), var(--navy-800)); border: 1px dashed rgba(255,255,255,0.25); display: grid; place-items: center; color: rgba(255,255,255,0.5); font-size: 13px; text-align: center; padding: 16px; }
.dx-equip-list { list-style: none; display: grid; gap: 14px; margin: 20px 0 28px; }
.dx-equip-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--grey-900); }
.dx-equip-list li::before { content: "✓"; flex-shrink: 0; color: var(--green-dark); font-weight: 700; }

/* Section 6 — References institutionnelles (40/60) */
.dx-ref-grid { display: grid; grid-template-columns: 40% 1fr; gap: 56px; align-items: start; }
.dx-ref-intro p { font-size: 15px; color: var(--grey-700); margin-top: 18px; line-height: 1.6; }
.dx-ref-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dx-ref-card { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid rgba(10,31,46,0.08); border-radius: 10px; padding: 14px 18px; transition: transform .2s, box-shadow .2s; }
.dx-ref-card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(10,31,46,0.07); }
.dx-ref-logo { flex-shrink: 0; width: 44px; height: 44px; border-radius: 8px; background: var(--navy-700); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.dx-ref-card h4 { font-size: 14.5px; color: var(--navy-900); }
.dx-ref-card span { display: block; font-size: 12.5px; color: var(--grey-500); margin-top: 2px; }

/* Responsive */
@media (max-width: 1024px) {
  .dx-presta-grid { grid-template-columns: 1fr 1fr; }
  .dx-jud-grid, .dx-equip-grid, .dx-ref-grid { grid-template-columns: 1fr; gap: 40px; }
  .dx-timeline { grid-template-columns: 1fr; gap: 28px; }
  .dx-step:not(:last-child)::after { display: none; }
  .dx-ref-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dx-presta-grid { grid-template-columns: 1fr; }
  .dx-jud, .dx-jud h2 { }
  .dx-jud h2 { font-size: 30px; }
  .dx-equip-visual { height: 240px; }
}

/* [PAGE : DIAGNOSTIC-EXPERTISE] — iteration 1 : alignements */

/* Cartes prestations : alignement PARFAIT ligne par ligne (subgrid).
   Chaque carte = icone / titre / description / separateur+meta. */
@media (min-width: 1025px) {
  /* 4 rangees alignees : icone / titre / description / meta.
     La description occupe TOUTE la rangee 3 (extensible), donc la rangee 4
     (meta + son separateur) demarre au meme niveau dans chaque carte. */
  .dx-presta-grid { grid-template-rows: auto auto 1fr auto; }
  .dx-presta-grid .dx-presta-card { display: grid; grid-template-rows: subgrid; grid-row: span 4; }
  .dx-presta-card p { margin: 0; text-align: left; }            /* la description remplit sa rangee */
  .dx-presta-card .dx-presta-foot { margin: 0; align-self: end; }
}

/* Bloc expertise judiciaire : juridictions & specialites cote a cote */
.dx-jud-cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px 48px; margin-top: 28px; }
.dx-jud-cols .dx-jud-block { margin-top: 0; }

/* Cartes references : sans carre d'initiales */
.dx-ref-card { padding: 16px 20px; }
.dx-ref-card h4 { font-size: 15px; }

@media (max-width: 640px) {
  .dx-jud-cols { grid-template-columns: 1fr; gap: 24px; }
}

/* =====================================================================
   [PAGE : AUTRES-FORMATIONS] — styles propres a autres-formations.html
   Catalogue HSE par categories. Reutilise hero (.fa-hero/.fa-badge),
   .fa-section/.fa-head, .section-title/.section-eyebrow, .cta-final.
   ===================================================================== */

/* Mini-stat sous le hero */
.af-hero-stat { margin-top: 32px; display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; background: var(--white); border: 1px solid rgba(10,31,46,0.1); border-radius: 100px; font-size: 14px; color: var(--navy-800); }
.af-hero-stat svg { width: 18px; height: 18px; color: var(--green-dark); }
.af-hero-stat b { color: var(--navy-900); }
.af-hero-stat .sep { color: rgba(10,31,46,0.2); }

/* Catégorie */
.af-cat { padding: 72px 0; }
.af-cat.alt { background: var(--cream); }
.af-cat-head { max-width: 760px; margin-bottom: 40px; }
.af-cat-num { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--green-dark); text-transform: uppercase; }
.af-cat-title { font-family: var(--font-display); font-size: 32px; color: var(--navy-900); margin: 10px 0 12px; }
.af-cat-title em { font-style: normal; color: var(--green-dark); }
.af-cat-desc { font-size: 16px; color: var(--grey-700); line-height: 1.6; }

/* Grilles de cartes : 2 ou 3 colonnes */
.af-grid { display: grid; gap: 20px; }
.af-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.af-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Cartes formations : titre colle a sa description (petit espace fixe).
   Les cartes d'une meme rangee gardent la meme hauteur (bordures alignees),
   mais on n'aligne plus les descriptions au pixel — pas de vide artificiel. */
.af-card h3 { margin-bottom: 8px; }

/* Carte formation */
.af-card { background: var(--white); border: 1px solid rgba(10,31,46,0.1); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.af-meta { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(10,31,46,0.08); display: grid; gap: 9px; }
.af-meta-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--grey-700); line-height: 1.4; }
.af-meta-row svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--green-dark); margin-top: 1px; }
.af-meta-row b { color: var(--navy-900); font-weight: 600; }
.af-card p { margin-bottom: 20px; }
.af-cat.alt .af-card { background: var(--white); }
.af-card:hover { transform: translateY(-2px) scale(1.005); box-shadow: 0 14px 36px rgba(10,31,46,0.09); }
.af-card:hover .af-ico { background: var(--green); color: var(--white); }
.af-ico { width: 48px; height: 48px; border-radius: 11px; background: var(--green-light); color: var(--green-dark); display: grid; place-items: center; margin-bottom: 16px; transition: background .2s, color .2s; }
.af-ico svg { width: 24px; height: 24px; }
.af-card h3 { font-size: 17px; color: var(--navy-900); line-height: 1.3; margin-bottom: 8px; }
.af-card p { font-size: 14px; color: var(--grey-700); line-height: 1.55; }

/* Section modalités (fond sombre) */
.af-mod { background: var(--navy-900); color: var(--white); padding: 90px 0; }
.af-mod-grid { display: grid; grid-template-columns: 35% 1fr; gap: 56px; align-items: start; }
.af-mod h2 { font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1.15; margin: 14px 0 16px; }
.af-mod h2 em { font-style: normal; color: var(--green); }
.af-mod p { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.6; }
.af-mod-cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
.af-mod-card { display: grid; grid-template-columns: 56px 1fr; gap: 6px 22px; align-items: center; padding: 24px 28px; }
.af-mod-card .af-ico { flex-shrink: 0; margin-bottom: 0; grid-row: span 2; align-self: start; }
.af-mod-card { background: var(--navy-800); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 26px; }
.af-mod-card .af-ico { background: rgba(76,183,108,0.15); color: var(--green); }
.af-mod-card h4 { font-size: 17px; color: var(--white); margin-bottom: 0; }
.af-mod-card p { font-size: 15px; color: rgba(255,255,255,0.72); line-height: 1.55; }

/* CTA personnalisation (fond crème, sobre) */
.af-cta { background: var(--cream); padding: 96px 0; text-align: center; }
.af-cta-inner { max-width: 720px; margin: 0 auto; }
.af-cta h2 { font-family: var(--font-display); font-weight: 500; font-size: 40px; line-height: 1.1; color: var(--navy-900); margin: 14px 0 20px; }
.af-cta h2 em { font-style: normal; color: var(--green-dark); }
.af-cta p { font-size: 17px; color: var(--grey-700); line-height: 1.65; max-width: 640px; margin: 0 auto; }
.af-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 36px 0 18px; }
.af-cta-note { font-size: 13px; font-style: italic; color: var(--grey-500); }

@media (max-width: 1024px) {
  .af-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .af-mod-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .af-grid.cols-2, .af-grid.cols-3 { grid-template-columns: 1fr; }
  .af-mod-cards { grid-template-columns: 1fr; }
  .af-cat { padding: 48px 0; }
  .af-cta h2, .af-mod h2 { font-size: 28px; }
  .af-cta-btns .btn { width: 100%; }
}

/* =====================================================================
   [PAGE : APROPOS] — styles propres a apropos.html
   Reutilise hero (.fa-hero), .fa-section/.fa-head, .section-title/-eyebrow,
   .service-link, .btn. Sections : histoire, equipe, plateau, certifs, zone.
   ===================================================================== */

/* Section histoire (50/50) */
.ap-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ap-split p { font-size: 16px; color: var(--grey-700); line-height: 1.7; margin-top: 16px; }
.ap-visual { border-radius: 12px; background: linear-gradient(135deg, var(--grey-100), var(--cream)); border: 1px dashed rgba(10,31,46,0.18); display: grid; place-items: center; color: var(--grey-500); font-size: 13px; text-align: center; padding: 16px; min-height: 360px; }

/* Equipe */
.ap-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.ap-member { text-align: left; }
.ap-photo { position: relative; width: 100%; aspect-ratio: 1; border-radius: 14px; overflow: hidden; margin-bottom: 18px; background: linear-gradient(135deg, var(--navy-700), var(--navy-800)); display: grid; place-items: center; color: rgba(255,255,255,0.5); font-size: 12px; text-align: center; transition: transform .2s, box-shadow .2s; }
.ap-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.ap-photo-fallback { position: absolute; inset: 0; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 40px; letter-spacing: 0.02em; color: #fff; background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.ap-member:hover .ap-photo { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 36px rgba(10,31,46,0.14); }
.ap-member h3 { font-size: 19px; color: var(--navy-900); }
.ap-member .ap-role { font-size: 14px; font-weight: 600; color: var(--green-dark); margin: 2px 0 12px; }
.ap-member p { font-size: 15px; color: var(--grey-700); line-height: 1.6; }
.ap-member .ap-certs { font-size: 13px; font-style: italic; color: var(--grey-500); margin-top: 14px; line-height: 1.5; }

/* Plateau (galerie 60 / texte 40) */
.ap-plateau-grid { display: grid; grid-template-columns: 60% 1fr; gap: 48px; align-items: start; }
.ap-gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-auto-rows: 1fr; gap: 12px; height: 420px; }
.ap-gallery .ph { border-radius: 8px; background: linear-gradient(135deg, var(--grey-100), var(--cream)); border: 1px dashed rgba(10,31,46,0.18); display: grid; place-items: center; color: var(--grey-500); font-size: 12px; text-align: center; padding: 10px; transition: transform .2s; }
.ap-gallery .ph:hover { transform: scale(1.02); }
.ap-gallery .ph.main { grid-row: span 2; }
.ap-plateau-text p { font-size: 15px; color: var(--grey-700); line-height: 1.7; margin-bottom: 14px; }

/* Certifications (fond sombre, 3x3) */
.ap-certs-sec { background: var(--navy-900); color: var(--white); padding: 96px 0; }
.ap-certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.ap-cert-card { background: var(--navy-800); border: 1px solid rgba(76,183,108,0.3); border-radius: 8px; padding: 24px; transition: border-color .2s, box-shadow .2s; }
.ap-cert-card:hover { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 12px 30px rgba(0,0,0,0.3); }
.ap-cert-ico { width: 40px; height: 40px; border-radius: 9px; background: rgba(76,183,108,0.15); color: var(--green); display: grid; place-items: center; margin-bottom: 16px; }
.ap-cert-ico svg { width: 21px; height: 21px; }
.ap-cert-card h4 { font-size: 16px; color: var(--white); margin-bottom: 6px; }
.ap-cert-card p { font-size: 12.5px; color: rgba(255,255,255,0.65); line-height: 1.55; }

/* Zone d'intervention (50/50) */
.ap-zone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ap-zone-list { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.ap-zone-list li { display: flex; gap: 12px; align-items: center; font-size: 16px; color: var(--navy-900); }
.ap-zone-list li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--green-dark); }
.ap-map { min-height: 340px; border-radius: 12px; background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); display: grid; place-items: center; color: rgba(255,255,255,0.5); font-size: 13px; text-align: center; padding: 16px; }

/* CTA chaleureux (fond creme) */
.ap-cta { background: var(--cream); padding: 90px 0; text-align: center; }
.ap-cta-inner { max-width: 640px; margin: 0 auto; }
.ap-cta h2 { font-family: var(--font-display); font-weight: 500; font-size: 40px; color: var(--navy-900); margin: 14px 0 18px; }
.ap-cta h2 em { font-style: normal; color: var(--green-dark); }
.ap-cta p { font-size: 17px; color: var(--grey-700); line-height: 1.65; }
.ap-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 32px 0 20px; }
.ap-cta-coord { font-size: 14px; color: var(--grey-500); }

@media (max-width: 1024px) {
  .ap-split, .ap-plateau-grid, .ap-zone-grid { grid-template-columns: 1fr; gap: 36px; }
  .ap-team { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .ap-certs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ap-team, .ap-certs-grid { grid-template-columns: 1fr; }
  .ap-gallery { height: 320px; }
  .ap-cta h2 { font-size: 28px; }
  .ap-cta-btns .btn { width: 100%; }
}

/* [PAGE : APROPOS] — effet hover/active sur les liens .service-link hors carte */
.service-link { transition: color .2s ease, gap .2s ease; cursor: pointer; }
.service-link:hover { color: var(--green-dark); gap: 12px; }
.service-link:hover .service-link-arrow { transform: translateX(4px); }
.service-link:active { transform: translateY(1px); }

/* =====================================================================
   [PAGE : REFERENCES] — styles propres a references.html
   Mur de logos par secteur + chiffres cles. Reutilise hero (.fa-hero),
   .fa-section/.fa-head, .section-title/-eyebrow, .cta-final, .btn.
   ===================================================================== */

/* Bande chiffres cles */
.rf-stats { background: var(--navy-900); color: var(--white); padding: 56px 0; }
.rf-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.rf-stat-num { font-family: var(--font-display); font-size: 46px; line-height: 1; color: var(--white); }
.rf-stat-num em { font-style: normal; color: var(--green); }
.rf-stat-label { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 10px; line-height: 1.4; }

/* Groupe sectoriel */
.rf-group { margin-bottom: 56px; }
.rf-group:last-child { margin-bottom: 0; }
.rf-group-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid rgba(10,31,46,0.1); }
.rf-group-title { font-family: var(--font-display); font-size: 24px; color: var(--navy-900); }
.rf-group-count { font-size: 13px; color: var(--grey-500); }

/* Mur de logos */
.rf-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rf-logo { height: 120px; border: 1px solid rgba(10,31,46,0.1); border-radius: 12px; background: var(--white); display: grid; place-items: center; padding: 18px; text-align: center; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.rf-logo:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(10,31,46,0.1); border-color: rgba(76,183,108,0.4); }
.rf-logo-name { font-size: 15px; font-weight: 600; color: var(--navy-800); line-height: 1.35; }
.rf-logo img { max-width: 80%; max-height: 72px; width: auto; height: auto; object-fit: contain; filter: grayscale(100%); opacity: .72; transition: filter .25s, opacity .25s; }
.rf-logo:hover img { filter: grayscale(0%); opacity: 1; }
.rf-logo-ph { font-size: 11px; font-style: italic; color: var(--grey-500); margin-top: 8px; }
/* Emplacement "+ autres" */
.rf-logo.more { border-style: dashed; background: var(--grey-100); color: var(--grey-500); }
.rf-logo.more:hover { transform: none; box-shadow: none; }
.rf-logo.more span { font-size: 14px; font-weight: 500; color: var(--grey-500); }

/* Bandeau citation / engagement */
.rf-quote { background: var(--cream); padding: 80px 0; }
.rf-quote-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.rf-quote blockquote { font-family: var(--font-display); font-size: 30px; line-height: 1.35; color: var(--navy-900); font-style: italic; }
.rf-quote blockquote em { font-style: italic; color: var(--green-dark); }
.rf-quote-author { margin-top: 24px; font-size: 14px; color: var(--grey-500); }

@media (max-width: 1024px) {
  .rf-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .rf-logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .rf-logos { grid-template-columns: repeat(2, 1fr); }
  .rf-stat-num { font-size: 36px; }
  .rf-quote blockquote { font-size: 22px; }
}

/* =====================================================================
   [PAGE : CONTACT] — styles propres a contact.html
   2 colonnes : coordonnees (gauche) + formulaire Formspree (droite).
   Reutilise hero (.fa-hero), .form-* du design system, .section-eyebrow.
   ===================================================================== */
.ct-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }

/* Colonne coordonnees */
.ct-info > p { font-size: 16px; color: var(--grey-700); line-height: 1.65; margin: 14px 0 32px; }
.ct-items { display: grid; gap: 22px; }
.ct-item { display: flex; gap: 16px; align-items: flex-start; }
.ct-item-ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 11px; background: var(--green-light); color: var(--green-dark); display: grid; place-items: center; }
.ct-item-ico svg { width: 22px; height: 22px; }
.ct-item-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--grey-500); margin-bottom: 3px; }
.ct-item a, .ct-item span { font-size: 16px; color: var(--navy-900); text-decoration: none; line-height: 1.5; }
.ct-item a:hover { color: var(--green-dark); }
.ct-item .ct-sub { font-size: 14px; color: var(--grey-500); }

/* Bouton WhatsApp */
.ct-whatsapp { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 13px 22px; border-radius: 10px; background: #25D366; color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; transition: transform .15s, box-shadow .2s; }
.ct-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37,211,102,0.35); }
.ct-whatsapp svg { width: 20px; height: 20px; }

/* Carte formulaire */
.ct-form-card { background: var(--white); border: 1px solid rgba(10,31,46,0.1); border-radius: 16px; padding: 36px; box-shadow: 0 20px 50px rgba(10,31,46,0.06); }
.ct-form-card h2 { font-family: var(--font-display); font-size: 24px; color: var(--navy-900); margin-bottom: 6px; }
.ct-form-card .ct-form-sub { font-size: 14px; color: var(--grey-500); margin-bottom: 24px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-textarea { width: 100%; padding: 13px 16px; border: 1px solid rgba(10,31,46,0.15); border-radius: 10px; font-family: var(--font-body); font-size: 15px; color: var(--navy-900); background: var(--white); resize: vertical; min-height: 120px; transition: border-color .2s, box-shadow .2s; }
.form-textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(76,183,108,0.15); }
.ct-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

@media (max-width: 1024px) {
  .ct-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .ct-row { grid-template-columns: 1fr; }
  .ct-form-card { padding: 24px; }
}

/* [PAGE : CONTACT] — carte Google Maps pleine largeur */
.ct-map-sec { padding-top: 8px; }
.ct-map-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.ct-map-bar .ct-map-addr { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--navy-900); }
.ct-map-bar .ct-map-addr svg { width: 18px; height: 18px; color: var(--green-dark); flex-shrink: 0; }
.ct-map-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--green-dark); text-decoration: none; }
.ct-map-link:hover { gap: 11px; }
.ct-map-frame { position: relative; width: 100%; height: 420px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(10,31,46,0.1); box-shadow: 0 16px 40px rgba(10,31,46,0.08); }
.ct-map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(20%); }
@media (max-width: 640px) { .ct-map-frame { height: 300px; } }

/* =====================================================================
   [PAGE : PLANNING] — styles propres a planning.html
   Intro "comment ca marche" + Google Agenda integre (cadre) + CTA intra.
   Reutilise hero (.fa-hero), .fa-section, .section-eyebrow/-title, .btn.
   ===================================================================== */

/* Etapes "comment ca marche" */
.pl-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.pl-step { background: var(--white); border: 1px solid rgba(10,31,46,0.1); border-radius: 12px; padding: 28px; }
.pl-step-num { width: 38px; height: 38px; border-radius: 9px; background: var(--green-light); color: var(--green-dark); font-family: var(--font-display); font-size: 19px; display: grid; place-items: center; margin-bottom: 16px; }
.pl-step h3 { font-size: 17px; color: var(--navy-900); margin-bottom: 8px; }
.pl-step p { font-size: 14px; color: var(--grey-700); line-height: 1.55; }

/* Barre d'info au-dessus du calendrier */
.pl-cal-note { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--grey-500); margin-bottom: 18px; }
.pl-cal-note svg { width: 17px; height: 17px; color: var(--green-dark); flex-shrink: 0; }

/* Cadre du Google Agenda */
.pl-cal-frame { position: relative; width: 100%; height: 620px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(10,31,46,0.12); box-shadow: 0 16px 40px rgba(10,31,46,0.08); background: var(--white); }
.pl-cal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* CTA intra (bande creme) */
.pl-cta { background: var(--cream); border-radius: 16px; padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; margin-top: 64px; }
.pl-cta-text { max-width: 560px; }
.pl-cta-text h2 { font-family: var(--font-display); font-weight: 500; font-size: 28px; color: var(--navy-900); margin-bottom: 10px; }
.pl-cta-text h2 em { font-style: normal; color: var(--green-dark); }
.pl-cta-text p { font-size: 16px; color: var(--grey-700); line-height: 1.6; }

@media (max-width: 1024px) { .pl-steps { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 640px) {
  .pl-cal-frame { height: 520px; }
  .pl-cta { padding: 32px; }
  .pl-cta .btn { width: 100%; text-align: center; }
}

/* =====================================================================
   [PAGE : LEGAL] — mentions-legales.html & confidentialite.html
   Colonne de lecture etroite, typographie de document. Reutilise fa-hero.
   ===================================================================== */
.lg-section { padding: 72px 0 96px; }
.lg-content { max-width: 820px; margin: 0 auto; }
.lg-content > p.lg-updated { font-size: 14px; color: var(--grey-500); margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid rgba(10,31,46,0.1); }
.lg-block { margin-bottom: 40px; }
.lg-block h2 { font-family: var(--font-display); font-weight: 500; font-size: 24px; color: var(--navy-900); margin-bottom: 16px; }
.lg-block h2 .lg-num { color: var(--green-dark); margin-right: 10px; }
.lg-block h3 { font-size: 16px; font-weight: 600; color: var(--navy-900); margin: 22px 0 8px; }
.lg-block p { font-size: 15.5px; color: var(--grey-700); line-height: 1.7; margin-bottom: 12px; }
.lg-block a { color: var(--green-dark); text-decoration: none; }
.lg-block a:hover { text-decoration: underline; }
.lg-block ul { list-style: none; display: grid; gap: 8px; margin: 8px 0 12px; }
.lg-block ul li { position: relative; padding-left: 22px; font-size: 15.5px; color: var(--grey-700); line-height: 1.6; }
.lg-block ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
/* tableau d'identite (definition list) */
.lg-dl { display: grid; grid-template-columns: 220px 1fr; gap: 4px 20px; margin: 8px 0; }
.lg-dl dt { font-size: 15px; font-weight: 600; color: var(--navy-900); padding: 8px 0; }
.lg-dl dd { font-size: 15px; color: var(--grey-700); padding: 8px 0; margin: 0; }
.lg-todo { background: rgba(217,160,40,0.1); color: #8a6d1f; padding: 1px 7px; border-radius: 4px; font-size: 13px; font-weight: 600; }
@media (max-width: 640px) {
  .lg-dl { grid-template-columns: 1fr; gap: 0; }
  .lg-dl dt { padding-bottom: 0; }
  .lg-dl dd { padding-top: 2px; padding-bottom: 12px; border-bottom: 1px solid rgba(10,31,46,0.06); }
}

/* =====================================================================
   [PAGE : PLAN DU SITE] — plan-du-site.html
   Colonnes de groupes de liens. Reutilise fa-hero, .lg-section.
   ===================================================================== */
.sm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 980px; margin: 0 auto; }
.sm-group h2 { font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--navy-900); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(10,31,46,0.1); }
.sm-group ul { list-style: none; display: grid; gap: 10px; }
.sm-group li a { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; color: var(--grey-700); text-decoration: none; transition: color .2s, gap .2s; }
.sm-group li a::before { content: "›"; color: var(--green-dark); font-size: 17px; line-height: 1; }
.sm-group li a:hover { color: var(--green-dark); gap: 11px; }
@media (max-width: 768px) { .sm-grid { grid-template-columns: 1fr; gap: 32px; } }

/* [NAV] — Logo image (remplace l'icone + texte). Repli texte si le fichier manque. */
.nav-logo-img { height: 56px; width: auto; display: block; }
.nav-logo-fallback { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: 0.01em; color: var(--navy-900); }
.footer-brand .nav-logo-img { height: 48px; }
.footer-brand .nav-logo-fallback { color: var(--white); }
@media (max-width: 640px) { .nav-logo-img { height: 48px; } }

/* =====================================================================
   [COMPOSANT : MODAL] — popup "En savoir plus" des pages Services
   ===================================================================== */
.fa-more {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  color: var(--green-dark); transition: gap .2s;
}
.fa-more:hover { gap: 11px; }
.fa-more svg { width: 15px; height: 15px; flex-shrink: 0; }
.fa-card-actions { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin-top: auto; }
.af-card .fa-card-actions { margin-top: 18px; width: 100%; }

.dx-presta-foot { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; }
.dx-presta-foot .dx-presta-meta { margin-top: 0; width: 100%; text-align: left; }

.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,31,46,0.55); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; transition: opacity .22s ease;
}
.modal-overlay:not([hidden]) { opacity: 1; }
.modal-overlay[hidden] { display: none; }
.modal {
  background: var(--white); border-radius: 16px; max-width: 640px; width: 100%;
  max-height: 88vh; overflow-y: auto; padding: 40px; position: relative;
  box-shadow: 0 30px 80px rgba(10,31,46,0.3);
  transform: translateY(12px) scale(.98); transition: transform .22s ease;
}
.modal-overlay:not([hidden]) .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 18px; right: 18px; width: 36px; height: 36px;
  border: none; background: var(--grey-100); border-radius: 8px; cursor: pointer;
  font-size: 22px; line-height: 1; color: var(--grey-700); transition: background .2s, color .2s;
}
.modal-close:hover { background: var(--green-light); color: var(--green-dark); }
.modal-badge {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 6px; margin-bottom: 14px;
  background: var(--green-light); color: var(--green-dark);
}
.modal-badge.ss3 { background: rgba(10,31,46,0.08); color: var(--navy-900); }
.modal-badge.ss4 { background: var(--green-light); color: var(--green-dark); }
.modal-title { font-family: var(--font-display); font-weight: 600; font-size: 27px; color: var(--navy-900); line-height: 1.2; margin-bottom: 10px; padding-right: 40px; }
.modal-sub { font-size: 15.5px; color: var(--grey-700); line-height: 1.6; margin-bottom: 24px; }
.modal-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.modal-meta:empty { display: none; }
.modal-meta-item { display: flex; align-items: center; gap: 8px; background: var(--grey-100); border-radius: 8px; padding: 9px 14px; font-size: 13.5px; color: var(--navy-900); }
.modal-meta-item svg { width: 16px; height: 16px; color: var(--green-dark); flex-shrink: 0; }
.modal-section { margin-bottom: 24px; }
.modal-section h3 { font-size: 15px; font-weight: 700; color: var(--navy-900); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid rgba(10,31,46,0.08); }
.modal-section p, .modal-section li { font-size: 14.5px; color: var(--grey-700); line-height: 1.65; }
.modal-section ul { list-style: none; display: grid; gap: 8px; }
.modal-section ul li { position: relative; padding-left: 20px; }
.modal-section ul li::before { content: ""; position: absolute; left: 3px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.modal-todo { background: rgba(217,160,40,0.1); color: #8a6d1f; padding: 1px 7px; border-radius: 4px; font-size: 13px; font-weight: 600; }
.modal-prix { font-size: 18px; font-weight: 600; color: var(--navy-900); }
.modal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(10,31,46,0.08); }
@media (max-width: 640px) {
  .modal { padding: 28px 22px; }
  .modal-title { font-size: 22px; }
  .modal-actions .btn { width: 100%; text-align: center; }
}

/* ===== Formulaire contact : message de confirmation / erreur ===== */
.ct-success { text-align: center; padding: 44px 28px; border-radius: 16px; background: var(--green-light); border: 1px solid rgba(46,125,79,0.25); }
.ct-success-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--green); color: #fff; font-size: 30px; line-height: 56px; font-weight: 700; }
.ct-success h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--navy-900); margin-bottom: 8px; }
.ct-success p { color: var(--grey-700); font-size: 15px; }
.ct-error { color: #b3261e; font-size: 14px; margin-top: 4px; }

/* ====================================================================
   WHATSAPP — bouton flottant (toutes pages) + bouton section contact
   ==================================================================== */
/* Bouton flottant : bulle verte en bas à droite */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 140;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.45), 0 4px 12px rgba(0,0,0,0.15);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.wa-float svg { width: 34px; height: 34px; position: relative; z-index: 1; }
.wa-float:hover { transform: scale(1.06); background: #1ebe5d; box-shadow: 0 14px 38px rgba(37,211,102,0.55); }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; z-index: 0; animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.5; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { opacity: 0; }
}
.wa-float .wa-tip {
  position: absolute; right: calc(100% + 14px); top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--navy-900); color: #fff;
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  white-space: nowrap; padding: 9px 14px; border-radius: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 8px 24px rgba(10,31,46,0.18); z-index: 1;
}
.wa-float .wa-tip::after {
  content: ""; position: absolute; left: 100%; top: 50%;
  transform: translateY(-50%); border: 6px solid transparent; border-left-color: var(--navy-900);
}
.wa-float:hover .wa-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* Bouton WhatsApp dans la section contact */
.btn-whatsapp {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; margin-top: 24px; border-radius: 8px;
  background: #25D366; color: #fff; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 16px; font-weight: 600; text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(37,211,102,0.4); }
.btn-whatsapp svg { width: 22px; height: 22px; }

@media (max-width: 640px) {
  .wa-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; }
  .wa-float svg { width: 31px; height: 31px; }
  .wa-float .wa-tip { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wa-float::after { animation: none; } }

/* ====================================================================
   PHOTOS — integration des visuels reels
   Principe : on ajoute la classe .has-photo au conteneur et une <img class="photo">
   a l'interieur. Le degrade / voile reste par-dessus pour la lisibilite du texte.
   ==================================================================== */
.hero-image, .difference-image, .benefit-visual,
.fa-gallery .ph, .ap-gallery .ph,
.ap-visual, .ap-map, .dx-equip-visual { position: relative; overflow: hidden; }

.photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block; z-index: 0;
}

/* --- Accueil : hero --- */
.hero-image.has-photo::before,
.hero-image.has-photo::after { content: none; }
.hero-image.has-photo { background: var(--navy-900); }
.hero-image.has-photo .photo-veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,31,46,0.15) 40%, rgba(10,31,46,0.88) 100%);
}
.hero-image.has-photo .hero-image-caption { z-index: 2; }

/* --- Accueil : section "seul centre" --- */
.difference-image.has-photo::after { content: none; }
.difference-image.has-photo { background: var(--navy-900); }
.difference-image.has-photo .photo-veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,31,46,0.20) 35%, rgba(10,31,46,0.72) 100%);
}
.difference-image.has-photo .difference-stat { z-index: 2; }

/* --- Accueil : cartes benefices --- */
.benefit-visual.has-photo::before { content: none; }
.benefit-visual.has-photo { background: var(--navy-900); }
.benefit-visual.has-photo .photo-veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,31,46,0.30) 30%, rgba(10,31,46,0.70) 100%);
}
.benefit-visual.has-photo .benefit-visual-icon,
.benefit-visual.has-photo .benefit-visual-tag { z-index: 2; }

/* --- Galeries (Formations + A propos) --- */
.fa-gallery .ph.has-photo,
.ap-gallery .ph.has-photo {
  border: none; padding: 0; background: var(--navy-900); font-size: 0;
}

/* --- A propos : visuel locaux --- */
.ap-visual.has-photo { border: none; padding: 0; background: var(--navy-900); font-size: 0; border-radius: 12px; }

/* --- A propos : carte Antilles-Guyane (image detouree, on la laisse entiere) --- */
.ap-map.has-photo {
  background: transparent; padding: 0; min-height: 0; margin: 0;
  display: grid; place-items: center; overflow: visible; border-radius: 0;
}
.ap-map.has-photo .photo {
  position: relative; inset: auto;
  width: 100%; max-width: 530px; height: auto;
  object-fit: contain; padding: 0; background: transparent;
}
@media (max-width: 1024px) {
  .ap-map.has-photo .photo { max-width: 420px; margin: 0 auto; }
}

/* --- Diagnostic : equipement de mesure --- */
.dx-equip-visual.has-photo { border: none; padding: 0; background: var(--navy-900); font-size: 0; }

/* Chargement progressif discret */
.photo { background: var(--navy-800); }

/* ==== Formulaire accueil : messages succès / erreur ==== */
.form-error {
  margin-top: 14px; padding: 12px 16px; border-radius: 6px;
  background: #FDECEC; color: #B4231F; font-size: 13.5px; line-height: 1.5;
  border: 1px solid #F5C6C4;
}
.form-success { text-align: center; padding: 24px 8px; }
.form-success-check {
  width: 56px; height: 56px; margin: 0 auto 18px;
  background: var(--green); color: #fff; border-radius: 50%;
  display: grid; place-items: center; font-size: 28px; font-weight: 700;
}
.form-success h3 {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  color: var(--navy-900); margin-bottom: 8px; letter-spacing: -0.01em;
}
.form-success p { font-size: 15px; color: var(--grey-700); line-height: 1.6; }
