/* ==========================================================================
   ED France Pro - Feuille de style principale
   Conseil en optimisation de marge - produits de comptoir
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables & réglages globaux
   -------------------------------------------------------------------------- */
:root {
  /* Palette */
  --edf-navy-900: #061225;
  --edf-navy-800: #0b1f3a;
  --edf-navy-700: #12305a;
  --edf-navy-600: #1c4478;
  --edf-gold: #e0a526;
  --edf-gold-600: #c78d16;
  --edf-gold-100: #fdf3dd;
  --edf-cream: #fbf8f2;
  --edf-gray-50: #f5f8fc;
  --edf-gray-100: #eaeff6;
  --edf-gray-200: #d9e1ec;
  --edf-text: #16202c;
  --edf-muted: #5a6b7d;
  --edf-success: #1f9d63;
  --edf-white: #ffffff;

  /* Typographie */
  --edf-font-title: "Manrope", "Segoe UI", system-ui, sans-serif;
  --edf-font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Divers */
  --edf-radius: 16px;
  --edf-radius-sm: 10px;
  --edf-radius-lg: 26px;
  --edf-shadow-sm: 0 2px 10px rgba(11, 31, 58, .06);
  --edf-shadow: 0 12px 34px rgba(11, 31, 58, .09);
  --edf-shadow-lg: 0 26px 70px rgba(11, 31, 58, .16);
  --edf-header-h: 84px;
  --edf-transition: .35s cubic-bezier(.22, .61, .36, 1);
}

* { scroll-behavior: smooth; }

html { scroll-padding-top: calc(var(--edf-header-h) + 12px); }

body {
  font-family: var(--edf-font-body);
  color: var(--edf-text);
  background: var(--edf-white);
  font-size: 1.0325rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-title {
  font-family: var(--edf-font-title);
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.14;
  color: var(--edf-navy-800);
}

h1 { font-size: clamp(2.15rem, 4.6vw, 3.65rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); }

p { color: var(--edf-muted); }

a { text-decoration: none; transition: color var(--edf-transition); }

::selection { background: var(--edf-gold); color: var(--edf-navy-900); }

/* Barre de défilement (navigateurs compatibles) */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--edf-gray-50); }
::-webkit-scrollbar-thumb { background: var(--edf-navy-600); border-radius: 8px; border: 3px solid var(--edf-gray-50); }
::-webkit-scrollbar-thumb:hover { background: var(--edf-navy-800); }

/* --------------------------------------------------------------------------
   2. Utilitaires maison
   -------------------------------------------------------------------------- */
.section { padding: clamp(64px, 8vw, 116px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 78px) 0; }
.bg-soft { background: var(--edf-gray-50); }
.bg-cream { background: var(--edf-cream); }
.bg-navy { background: var(--edf-navy-800); }

.text-gold { color: var(--edf-gold) !important; }
.text-muted-2 { color: var(--edf-muted) !important; }
.fw-800 { font-weight: 800; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--edf-font-title);
  font-size: .765rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--edf-gold-600);
  background: var(--edf-gold-100);
  border: 1px solid rgba(224, 165, 38, .28);
  padding: .45rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.eyebrow--light {
  color: var(--edf-gold);
  background: rgba(224, 165, 38, .12);
  border-color: rgba(224, 165, 38, .32);
}

.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--edf-gold);
  box-shadow: 0 0 0 4px rgba(224, 165, 38, .22);
}

.section-title { margin-bottom: 1rem; }

.section-lead {
  font-size: 1.1rem;
  max-width: 44rem;
  margin-inline: auto;
}

.lead-left { margin-inline: 0; }

/* Trait décoratif */
.rule {
  width: 62px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--edf-gold), var(--edf-gold-600));
  margin: 0 auto 1.6rem;
}
.rule--start { margin-left: 0; }

/* --------------------------------------------------------------------------
   3. Boutons
   -------------------------------------------------------------------------- */
.btn {
  font-family: var(--edf-font-title);
  font-weight: 700;
  border-radius: 100px;
  padding: .92rem 1.9rem;
  letter-spacing: -.01em;
  border-width: 2px;
  transition: transform var(--edf-transition), box-shadow var(--edf-transition),
              background-color var(--edf-transition), color var(--edf-transition),
              border-color var(--edf-transition);
}

.btn-lg { padding: 1.08rem 2.35rem; font-size: 1.055rem; }
.btn-sm { padding: .6rem 1.25rem; font-size: .9rem; }

.btn-gold {
  background: linear-gradient(135deg, var(--edf-gold) 0%, var(--edf-gold-600) 100%);
  border-color: transparent;
  color: var(--edf-navy-900);
  box-shadow: 0 10px 26px rgba(224, 165, 38, .34);
}
.btn-gold:hover, .btn-gold:focus-visible {
  color: var(--edf-navy-900);
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(224, 165, 38, .46);
}
.btn-gold:active { transform: translateY(-1px); }

.btn-navy {
  background: var(--edf-navy-800);
  border-color: var(--edf-navy-800);
  color: #fff;
  box-shadow: 0 10px 26px rgba(11, 31, 58, .22);
}
.btn-navy:hover, .btn-navy:focus-visible {
  background: var(--edf-navy-700);
  border-color: var(--edf-navy-700);
  color: #fff;
  transform: translateY(-3px);
}

.btn-outline-navy {
  border-color: var(--edf-gray-200);
  color: var(--edf-navy-800);
  background: #fff;
}
.btn-outline-navy:hover, .btn-outline-navy:focus-visible {
  background: var(--edf-navy-800);
  border-color: var(--edf-navy-800);
  color: #fff;
  transform: translateY(-3px);
}

.btn-outline-light-2 {
  border-color: rgba(255, 255, 255, .32);
  color: #fff;
  background: rgba(255, 255, 255, .04);
}
.btn-outline-light-2:hover, .btn-outline-light-2:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--edf-navy-800);
  transform: translateY(-3px);
}

/* Effet de brillance au survol */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  transition: left .75s ease;
}
.btn-shine:hover::after { left: 140%; }

/* --------------------------------------------------------------------------
   4. En-tête / navigation
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--edf-navy-900);
  color: rgba(255, 255, 255, .82);
  font-size: .845rem;
  padding: .5rem 0;
}
.topbar a { color: rgba(255, 255, 255, .82); }
.topbar a:hover { color: var(--edf-gold); }
.topbar .sep { color: rgba(255, 255, 255, .22); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--edf-gray-100);
  transition: box-shadow var(--edf-transition), padding var(--edf-transition);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(11, 31, 58, .09); }

.navbar { padding-top: .85rem; padding-bottom: .85rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-mark {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--edf-navy-700), var(--edf-navy-900));
  color: var(--edf-gold);
  display: grid; place-items: center;
  font-family: var(--edf-font-title);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -.03em;
  box-shadow: var(--edf-shadow-sm);
  flex: 0 0 auto;
}
.brand-text { line-height: 1.05; }
.brand-name {
  display: block;
  font-family: var(--edf-font-title);
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--edf-navy-800);
  letter-spacing: -.03em;
}
.brand-tag {
  display: block;
  font-size: .665rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--edf-muted);
  font-weight: 600;
}

.navbar-nav .nav-link {
  font-family: var(--edf-font-title);
  font-weight: 600;
  font-size: .96rem;
  color: var(--edf-navy-800);
  padding: .55rem .95rem !important;
  position: relative;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: .95rem; right: .95rem; bottom: .3rem;
  height: 2px; border-radius: 2px;
  background: var(--edf-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--edf-transition);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-nav .nav-link:hover { color: var(--edf-navy-600); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .5rem .95rem .5rem .55rem;
  border-radius: 100px;
  border: 1px solid var(--edf-gray-200);
  background: #fff;
  transition: var(--edf-transition);
}
.header-phone:hover {
  border-color: var(--edf-gold);
  box-shadow: 0 8px 22px rgba(224, 165, 38, .2);
  transform: translateY(-2px);
}
.header-phone .icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--edf-gold-100);
  color: var(--edf-gold-600);
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.header-phone .label {
  display: block;
  font-size: .655rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--edf-muted);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 2px;
}
.header-phone .number {
  display: block;
  font-family: var(--edf-font-title);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--edf-navy-800);
  line-height: 1.1;
  white-space: nowrap;
}

.navbar-toggler { border: 0; padding: .35rem .5rem; }
.navbar-toggler:focus { box-shadow: none; }
.burger { width: 26px; height: 18px; position: relative; display: block; }
.burger span {
  position: absolute; left: 0;
  width: 100%; height: 2.5px; border-radius: 3px;
  background: var(--edf-navy-800);
  transition: var(--edf-transition);
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 8px; width: 70%; }
.burger span:nth-child(3) { top: 16px; }
.navbar-toggler[aria-expanded="true"] .burger span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .burger span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

/* Barre de progression de lecture */
.read-progress {
  position: absolute;
  bottom: -1px; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--edf-gold), var(--edf-gold-600));
  transition: width .12s linear;
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 620px at 82% 6%, rgba(28, 68, 120, .55), transparent 62%),
    linear-gradient(158deg, var(--edf-navy-900) 0%, var(--edf-navy-800) 48%, #0d2647 100%);
  color: #fff;
  padding: clamp(60px, 7vw, 108px) 0 clamp(76px, 8vw, 124px);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at 30% 40%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 30% 40%, #000 0%, transparent 72%);
  z-index: -1;
}

.hero .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .38;
  z-index: -1;
  animation: float 16s ease-in-out infinite;
}
.hero .blob-1 { width: 420px; height: 420px; background: #1c4478; top: -140px; right: -90px; }
.hero .blob-2 { width: 340px; height: 340px; background: rgba(224, 165, 38, .55); bottom: -150px; left: -110px; animation-delay: -6s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -28px) scale(1.08); }
}

.hero h1 { color: #fff; }
/* Pas de « white-space: nowrap » ici : la phrase est plus large que la colonne
   dès que l'écran se réduit, le texte débordait alors hors de l'écran. */
.hero h1 .accent {
  color: var(--edf-gold);
  position: relative;
}
.hero-lead {
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1.03rem, 1.35vw, 1.16rem);
  max-width: 36rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-assur {
  display: flex; flex-wrap: wrap;
  gap: .45rem 1.5rem;
  color: rgba(255, 255, 255, .66);
  font-size: .885rem;
}
.hero-assur span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-assur svg { color: var(--edf-gold); flex: 0 0 auto; }

/* Visuel du hero */
.hero-visual { position: relative; }
.hero-visual .frame {
  position: relative;
  border-radius: var(--edf-radius-lg);
  overflow: hidden;
  box-shadow: var(--edf-shadow-lg);
  border: 1px solid rgba(255, 255, 255, .12);
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
  transition: transform .8s cubic-bezier(.22, .61, .36, 1);
}
.hero-visual:hover .frame { transform: perspective(1400px) rotateY(-2deg) rotateX(0); }
.hero-visual .frame img { width: 100%; height: auto; display: block; }
.hero-visual .frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(6, 18, 37, 0) 35%, rgba(6, 18, 37, .62) 100%);
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, .97);
  border-radius: var(--edf-radius);
  padding: .95rem 1.15rem;
  box-shadow: var(--edf-shadow-lg);
  display: flex;
  align-items: center;
  gap: .85rem;
  animation: bob 5.5s ease-in-out infinite;
  z-index: 3;
}
.float-card .fc-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.float-card .fc-val {
  font-family: var(--edf-font-title);
  font-weight: 800;
  font-size: 1.22rem;
  color: var(--edf-navy-800);
  line-height: 1.1;
}
.float-card .fc-lbl {
  font-size: .755rem;
  color: var(--edf-muted);
  font-weight: 600;
  line-height: 1.25;
}
.float-card--tl { top: 8%; left: -6%; }
.float-card--br { bottom: 9%; right: -5%; animation-delay: -2.6s; }

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

/* --------------------------------------------------------------------------
   6. Bandeau de chiffres
   -------------------------------------------------------------------------- */
.stats-band {
  margin-top: -58px;
  position: relative;
  z-index: 5;
}
.stats-card {
  background: #fff;
  border-radius: var(--edf-radius-lg);
  box-shadow: var(--edf-shadow);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid var(--edf-gray-100);
}
.stat { text-align: center; padding: .6rem .5rem; }
.stat + .stat { border-left: 1px solid var(--edf-gray-100); }
.stat-num {
  font-family: var(--edf-font-title);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.1vw, 2.55rem);
  color: var(--edf-navy-800);
  line-height: 1;
  letter-spacing: -.04em;
}
.stat-num .suffix { color: var(--edf-gold); }
.stat-lbl {
  margin-top: .5rem;
  font-size: .875rem;
  color: var(--edf-muted);
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .stat + .stat { border-left: 0; }
  .stats-band { margin-top: -34px; }
}

/* --------------------------------------------------------------------------
   7. Cartes génériques
   -------------------------------------------------------------------------- */
.card-soft {
  background: #fff;
  border: 1px solid var(--edf-gray-100);
  border-radius: var(--edf-radius);
  padding: 2rem 1.75rem;
  height: 100%;
  transition: transform var(--edf-transition), box-shadow var(--edf-transition), border-color var(--edf-transition);
  position: relative;
  overflow: hidden;
}
.card-soft:hover {
  transform: translateY(-7px);
  box-shadow: var(--edf-shadow);
  border-color: transparent;
}
.card-soft h3 { font-size: 1.16rem; margin-bottom: .6rem; }
.card-soft p { margin-bottom: 0; font-size: .965rem; }

.icon-box {
  width: 56px; height: 56px;
  border-radius: 15px;
  display: grid; place-items: center;
  margin-bottom: 1.2rem;
  transition: transform var(--edf-transition);
}
.card-soft:hover .icon-box { transform: rotate(-6deg) scale(1.06); }
.icon-box--gold { background: var(--edf-gold-100); color: var(--edf-gold-600); }
.icon-box--navy { background: #e8eefa; color: var(--edf-navy-600); }
.icon-box--green { background: #e4f6ec; color: var(--edf-success); }
.icon-box--red { background: #fdeaea; color: #c8392f; }

/* Cartes « problème » */
.pain-card { border-left: 4px solid #e8b4ae; }
.pain-card::before {
  content: attr(data-idx);
  position: absolute;
  top: -12px; right: 10px;
  font-family: var(--edf-font-title);
  font-size: 5.2rem;
  font-weight: 800;
  color: var(--edf-gray-50);
  line-height: 1;
  pointer-events: none;
}
.pain-card:hover { border-left-color: #c8392f; }

/* --------------------------------------------------------------------------
   8. Piliers de la solution
   -------------------------------------------------------------------------- */
.pillar {
  background: #fff;
  border-radius: var(--edf-radius-lg);
  border: 1px solid var(--edf-gray-100);
  overflow: hidden;
  height: 100%;
  transition: transform var(--edf-transition), box-shadow var(--edf-transition);
}
.pillar:hover { transform: translateY(-8px); box-shadow: var(--edf-shadow-lg); }
/* 16/9 : format natif des photos fournies, donc aucun recadrage à l'affichage. */
.pillar-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.pillar-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s cubic-bezier(.22, .61, .36, 1);
}
.pillar:hover .pillar-media img { transform: scale(1.08); }
.pillar-media .badge-num {
  position: absolute; left: 1.15rem; bottom: 1.15rem;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--edf-gold);
  color: var(--edf-navy-900);
  display: grid; place-items: center;
  font-family: var(--edf-font-title);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(6, 18, 37, .3);
}
.pillar-body { padding: 1.6rem 1.55rem 1.85rem; }
.pillar-body h3 { font-size: 1.2rem; margin-bottom: .55rem; }
.pillar-body p { font-size: .96rem; margin-bottom: 1rem; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: .55rem;
  font-size: .93rem;
  color: var(--edf-text);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .42em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--edf-gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c78d16'%3E%3Cpath d='M13.5 4.5l-7 7L3 8l1.1-1.1 2.4 2.4 5.9-5.9z'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list--light li { color: rgba(255, 255, 255, .86); }
.check-list--light li::before { background-color: rgba(224, 165, 38, .18); }

/* --------------------------------------------------------------------------
   9. Section catalogue (lead magnet)
   -------------------------------------------------------------------------- */
.catalog-visual { position: relative; }
.catalog-visual .cover {
  border-radius: var(--edf-radius-lg);
  overflow: hidden;
  box-shadow: var(--edf-shadow-lg);
  transform: rotate(-3deg);
  transition: transform var(--edf-transition);
  border: 8px solid #fff;
}
.catalog-visual:hover .cover { transform: rotate(0deg) scale(1.02); }
/* « height: auto » est indispensable : sans lui, l'attribut height du HTML
   s'applique comme hauteur fixe et l'image est étirée verticalement. */
.catalog-visual .cover img { width: 100%; height: auto; display: block; }

.catalog-stamp {
  position: absolute;
  top: -18px; right: -8px;
  background: var(--edf-gold);
  color: var(--edf-navy-900);
  font-family: var(--edf-font-title);
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .02em;
  padding: .7rem 1.15rem;
  border-radius: 100px;
  box-shadow: 0 12px 28px rgba(224, 165, 38, .4);
  transform: rotate(6deg);
  z-index: 2;
}

.catalog-item {
  display: flex;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px dashed var(--edf-gray-200);
}
.catalog-item:last-child { border-bottom: 0; }
.catalog-item .ci-num {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--edf-navy-800);
  color: var(--edf-gold);
  display: grid; place-items: center;
  font-family: var(--edf-font-title);
  font-weight: 800;
  font-size: .88rem;
}
.catalog-item strong { display: block; color: var(--edf-navy-800); font-family: var(--edf-font-title); font-size: 1.02rem; }
.catalog-item span { font-size: .93rem; color: var(--edf-muted); }

/* --------------------------------------------------------------------------
   10. Méthode / étapes
   -------------------------------------------------------------------------- */
.steps { position: relative; }
.steps::before {
  content: "";
  position: absolute;
  top: 34px; left: 8%; right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--edf-gray-200) 0 10px, transparent 10px 20px);
  z-index: 0;
}
@media (max-width: 991.98px) { .steps::before { display: none; } }

.step { position: relative; z-index: 1; text-align: center; padding: 0 .6rem; }
.step-num {
  width: 68px; height: 68px;
  border-radius: 20px;
  margin: 0 auto 1.25rem;
  background: #fff;
  border: 2px solid var(--edf-gray-200);
  color: var(--edf-navy-800);
  display: grid; place-items: center;
  font-family: var(--edf-font-title);
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: var(--edf-shadow-sm);
  transition: var(--edf-transition);
}
.step:hover .step-num {
  background: var(--edf-navy-800);
  border-color: var(--edf-navy-800);
  color: var(--edf-gold);
  transform: translateY(-6px);
  box-shadow: var(--edf-shadow);
}
.step h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.step p { font-size: .935rem; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   11. Avantages (bloc sombre)
   -------------------------------------------------------------------------- */
.perks-section {
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(28, 68, 120, .5), transparent 60%),
    linear-gradient(160deg, var(--edf-navy-900), var(--edf-navy-800));
  color: #fff;
}
.perks-section h2, .perks-section h3 { color: #fff; }
.perks-section p { color: rgba(255, 255, 255, .72); }

.perk {
  display: flex;
  gap: 1.05rem;
  padding: 1.35rem;
  border-radius: var(--edf-radius);
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .09);
  height: 100%;
  transition: var(--edf-transition);
}
.perk:hover {
  background: rgba(255, 255, 255, .085);
  border-color: rgba(224, 165, 38, .38);
  transform: translateY(-5px);
}
.perk .p-icon {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(224, 165, 38, .14);
  color: var(--edf-gold);
  display: grid; place-items: center;
}
.perk h3 { font-size: 1.03rem; margin-bottom: .3rem; }
.perk p { font-size: .915rem; margin-bottom: 0; line-height: 1.6; }

/* --------------------------------------------------------------------------
   12. Témoignages
   -------------------------------------------------------------------------- */
.testimonial {
  background: #fff;
  border: 1px solid var(--edf-gray-100);
  border-radius: var(--edf-radius);
  padding: 2rem 1.8rem 1.6rem;
  height: 100%;
  position: relative;
  transition: var(--edf-transition);
}
.testimonial:hover { box-shadow: var(--edf-shadow); transform: translateY(-6px); }
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 6px; right: 22px;
  font-family: Georgia, serif;
  font-size: 5.5rem;
  color: var(--edf-gold-100);
  line-height: 1;
}
.stars { color: var(--edf-gold); font-size: .95rem; letter-spacing: .14em; margin-bottom: .85rem; }
.testimonial q { font-style: normal; quotes: none; color: var(--edf-text); font-size: 1rem; display: block; margin-bottom: 1.4rem; }
.t-author { display: flex; align-items: center; gap: .8rem; border-top: 1px solid var(--edf-gray-100); padding-top: 1.1rem; }
.t-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: center top; }
.t-author strong { display: block; font-family: var(--edf-font-title); color: var(--edf-navy-800); font-size: .98rem; }
.t-author span { font-size: .82rem; color: var(--edf-muted); }

/* --------------------------------------------------------------------------
   13. Bandeau CTA intermédiaire
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--edf-gold) 0%, #eab944 55%, var(--edf-gold-600) 100%);
  border-radius: var(--edf-radius-lg);
  padding: clamp(2rem, 4vw, 3.2rem);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}
.cta-band h2, .cta-band p { color: var(--edf-navy-900); position: relative; z-index: 1; }
.cta-band p { opacity: .82; }

/* --------------------------------------------------------------------------
   14. FAQ
   -------------------------------------------------------------------------- */
.faq .accordion-item {
  border: 1px solid var(--edf-gray-100);
  border-radius: var(--edf-radius) !important;
  margin-bottom: .85rem;
  overflow: hidden;
  background: #fff;
  transition: var(--edf-transition);
}
.faq .accordion-item:hover { border-color: var(--edf-gray-200); box-shadow: var(--edf-shadow-sm); }
.faq .accordion-button {
  font-family: var(--edf-font-title);
  font-weight: 700;
  font-size: 1.03rem;
  color: var(--edf-navy-800);
  padding: 1.25rem 1.4rem;
  background: #fff;
  box-shadow: none !important;
}
.faq .accordion-button:not(.collapsed) { background: var(--edf-gold-100); color: var(--edf-navy-800); }
.faq .accordion-button::after {
  width: 1.1rem; height: 1.1rem;
  background-size: 1.1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2312305a'%3E%3Cpath d='M8 2a1 1 0 0 1 1 1v4h4a1 1 0 1 1 0 2H9v4a1 1 0 1 1-2 0V9H3a1 1 0 0 1 0-2h4V3a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
  transition: transform var(--edf-transition);
}
.faq .accordion-button:not(.collapsed)::after { transform: rotate(135deg); }
.faq .accordion-body { padding: 0 1.4rem 1.4rem; color: var(--edf-muted); font-size: .975rem; }

/* --------------------------------------------------------------------------
   15. Formulaire (lead magnet)
   -------------------------------------------------------------------------- */
.form-section {
  background:
    radial-gradient(800px 480px at 88% 12%, rgba(28, 68, 120, .55), transparent 62%),
    linear-gradient(160deg, var(--edf-navy-800), var(--edf-navy-900));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.form-section h2, .form-section h3 { color: #fff; }
.form-section p { color: rgba(255, 255, 255, .74); }

.lead-card {
  background: #fff;
  border-radius: var(--edf-radius-lg);
  padding: clamp(1.7rem, 3.4vw, 2.7rem);
  box-shadow: var(--edf-shadow-lg);
}
.lead-card h3 { color: var(--edf-navy-800); font-size: 1.42rem; }

/* La carte est posée sur le fond marine de la section : on rétablit
   explicitement les couleurs sombres, sinon les paragraphes héritent du
   blanc défini par « .form-section p » (blanc sur blanc). */
.lead-card p,
.lead-card li,
.lead-card .form-note { color: var(--edf-muted); }
.lead-card .form-note a { color: var(--edf-navy-600); }
.lead-card label { color: var(--edf-navy-800); }

.form-label {
  font-family: var(--edf-font-title);
  font-weight: 700;
  font-size: .875rem;
  color: var(--edf-navy-800);
  margin-bottom: .38rem;
}
.form-label .opt { font-weight: 500; color: var(--edf-muted); font-size: .78rem; text-transform: none; letter-spacing: 0; }
.req { color: #c8392f; }

.form-control, .form-select {
  border: 1.5px solid var(--edf-gray-200);
  border-radius: var(--edf-radius-sm);
  padding: .82rem 1rem;
  font-size: .975rem;
  background: var(--edf-gray-50);
  transition: var(--edf-transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--edf-gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(224, 165, 38, .16);
}
.form-control::placeholder { color: #9aa8b8; }
.form-control.is-invalid, .form-select.is-invalid { border-color: #c8392f; background-image: none; }
.invalid-feedback { font-size: .82rem; font-weight: 600; }

.form-note {
  font-size: .8rem;
  color: var(--edf-muted);
  line-height: 1.55;
}
.form-note a { color: var(--edf-navy-600); text-decoration: underline; }

.form-trust {
  display: flex; flex-wrap: wrap; gap: .5rem 1.35rem;
  font-size: .83rem; color: var(--edf-muted); font-weight: 600;
}
.form-trust span { display: inline-flex; align-items: center; gap: .4rem; }
.form-trust svg { color: var(--edf-success); }

.contact-mini {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--edf-radius);
  padding: 1.1rem 1.25rem;
}
/* « object-position: top » garde le visage dans le cercle même si la photo
   est remplacée un jour par un portrait en pied. */
.contact-mini img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex: 0 0 auto;
}
.contact-mini strong { color: #fff; display: block; font-family: var(--edf-font-title); }
.contact-mini a { color: var(--edf-gold); font-weight: 700; }

/* --------------------------------------------------------------------------
   16. Pied de page
   -------------------------------------------------------------------------- */
.site-footer { background: var(--edf-navy-900); color: rgba(255, 255, 255, .62); padding: clamp(48px, 6vw, 76px) 0 0; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-tag { color: rgba(255, 255, 255, .45); }
.site-footer h4 {
  color: #fff;
  font-family: var(--edf-font-title);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1.15rem;
  letter-spacing: -.01em;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .58rem; }
.footer-links a { color: rgba(255, 255, 255, .62); font-size: .945rem; }
.footer-links a:hover { color: var(--edf-gold); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  margin-top: 2.6rem;
  padding: 1.5rem 0;
  font-size: .86rem;
}
.footer-bottom a { color: rgba(255, 255, 255, .7); }
.footer-bottom a:hover { color: var(--edf-gold); }

/* --------------------------------------------------------------------------
   17. Barre d'action mobile + retour haut de page
   -------------------------------------------------------------------------- */
.mobile-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1040;
  display: none;
  gap: .55rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--edf-gray-100);
  box-shadow: 0 -8px 26px rgba(11, 31, 58, .1);
}
.mobile-bar .btn { flex: 1; padding: .8rem .6rem; font-size: .93rem; }

@media (max-width: 767.98px) {
  .mobile-bar { display: flex; }
  body.has-mobile-bar { padding-bottom: 74px; }
}

.to-top {
  position: fixed;
  right: 20px; bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--edf-navy-800);
  color: var(--edf-gold);
  display: grid; place-items: center;
  box-shadow: var(--edf-shadow);
  opacity: 0; visibility: hidden;
  transform: translateY(14px);
  transition: var(--edf-transition);
  z-index: 1035;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--edf-gold); color: var(--edf-navy-900); }

@media (max-width: 767.98px) { .to-top { bottom: 88px; right: 14px; } }

/* --------------------------------------------------------------------------
   18. Animations d'apparition
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22, .61, .36, 1), transform .8s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-34px); }
.reveal--right { transform: translateX(34px); }
.reveal--zoom { transform: scale(.94); }

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

/* --------------------------------------------------------------------------
   19. Pages internes (mentions légales, remerciement)
   -------------------------------------------------------------------------- */
.page-head {
  background: linear-gradient(158deg, var(--edf-navy-900), var(--edf-navy-800));
  color: #fff;
  padding: clamp(56px, 7vw, 92px) 0;
}
.page-head h1 { color: #fff; }
.page-head p { color: rgba(255, 255, 255, .74); margin-bottom: 0; }
.page-head .breadcrumb-mini { font-size: .86rem; color: rgba(255, 255, 255, .55); margin-bottom: 1rem; }
.page-head .breadcrumb-mini a { color: rgba(255, 255, 255, .75); }
.page-head .breadcrumb-mini a:hover { color: var(--edf-gold); }

.legal { font-size: .995rem; }
.legal h2 { font-size: 1.45rem; margin-top: 2.6rem; margin-bottom: 1rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6rem; margin-bottom: .6rem; }
.legal p, .legal li { color: var(--edf-muted); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .4rem; }

.legal-table { width: 100%; border-collapse: collapse; margin-bottom: 1.4rem; }
.legal-table th, .legal-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--edf-gray-100); text-align: left; vertical-align: top; }
.legal-table th {
  width: 38%;
  font-family: var(--edf-font-title);
  font-weight: 700;
  color: var(--edf-navy-800);
  font-size: .93rem;
  background: var(--edf-gray-50);
}
.legal-table td { color: var(--edf-muted); font-size: .95rem; }
@media (max-width: 575.98px) {
  .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table th { border-bottom: 0; border-radius: var(--edf-radius-sm) var(--edf-radius-sm) 0 0; }
}

.legal-toc {
  background: var(--edf-gray-50);
  border: 1px solid var(--edf-gray-100);
  border-radius: var(--edf-radius);
  padding: 1.5rem 1.6rem;
  position: sticky;
  top: calc(var(--edf-header-h) + 20px);
}
.legal-toc h4 {
  font-family: var(--edf-font-title);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--edf-muted);
  margin-bottom: 1rem;
}
.legal-toc ol { list-style: none; counter-reset: toc; padding: 0; margin: 0; }
.legal-toc li { counter-increment: toc; margin-bottom: .55rem; }
.legal-toc a {
  color: var(--edf-navy-800);
  font-size: .91rem;
  font-weight: 600;
  display: block;
  padding-left: 1.7rem;
  position: relative;
}
.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute; left: 0;
  color: var(--edf-gold-600);
  font-weight: 800;
  font-size: .8rem;
}
.legal-toc a:hover { color: var(--edf-gold-600); }

/* Page de remerciement */
.thanks-icon {
  width: 104px; height: 104px;
  border-radius: 50%;
  background: rgba(31, 157, 99, .12);
  color: var(--edf-success);
  display: grid; place-items: center;
  margin: 0 auto 1.8rem;
  animation: pop .7s cubic-bezier(.18, .89, .32, 1.28) both;
}
@keyframes pop {
  0% { transform: scale(.3); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* --------------------------------------------------------------------------
   20. Ajustements responsives
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .float-card--tl { left: -2%; }
  .float-card--br { right: -2%; }
}

@media (max-width: 991.98px) {
  :root { --edf-header-h: 76px; }
  .navbar-collapse {
    background: #fff;
    margin-top: .9rem;
    padding: 1rem;
    border-radius: var(--edf-radius);
    border: 1px solid var(--edf-gray-100);
    box-shadow: var(--edf-shadow);
  }
  .navbar-nav .nav-link { padding: .65rem .4rem !important; }
  .navbar-nav .nav-link::after { left: .4rem; right: auto; width: 26px; }
  .hero-visual { margin-top: 3rem; }
  .hero-visual .frame { transform: none; }
}

@media (max-width: 767.98px) {
  body { font-size: .995rem; }
  .section { padding: 56px 0; }
  .float-card { padding: .7rem .9rem; }
  .float-card .fc-val { font-size: 1.05rem; }
  .float-card--tl { top: 4%; left: -8px; }
  .float-card--br { bottom: 5%; right: -8px; }
  .catalog-stamp { top: -12px; right: -4px; font-size: .8rem; padding: .55rem .9rem; }
  .hero-actions .btn { width: 100%; }

  /* Le carré « ED » est retiré sur mobile : la place manque à côté du bouton
     d'appel et du menu, le nom du site suffit à identifier la marque. */
  .site-header .brand-mark { display: none; }
}

@media (max-width: 400px) {
  .float-card { display: none; }
}

/* --------------------------------------------------------------------------
   21. Anti-débordement horizontal
   Sans ces règles, la page est plus large que l'écran sur mobile et l'on peut
   faire défiler vers la droite.
   -------------------------------------------------------------------------- */

/* 1. Animations d'apparition : sous 992 px les colonnes occupent toute la
      largeur, un décalage horizontal de 34 px les fait donc sortir de l'écran
      tant que le bloc n'est pas révélé. On garde l'effet, en vertical. */
@media (max-width: 991.98px) {
  .reveal--left,
  .reveal--right { transform: translateY(28px); }
}

/* 2. Gouttières « g-5 » : Bootstrap applique à la ligne une marge négative de
      24 px de chaque côté, alors que le conteneur ne réserve que 12 px de
      marge interne. En dessous de 576 px le conteneur occupe toute la largeur :
      les 12 px excédentaires débordent. Les colonnes y sont empilées, donc la
      gouttière horizontale ne sert à rien : on rétablit sa valeur par défaut
      sans toucher à l'espacement vertical. */
@media (max-width: 575.98px) {
  .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }
}

/* 3. Filet de sécurité : certains éléments décoratifs dépassent volontairement
      de leur colonne (couverture inclinée du catalogue, blocs décalés avant
      leur apparition). On les rogne au bord de la section.
      « clip » et non « hidden » : « hidden » créerait une zone de défilement
      qui désactiverait l'en-tête collant et le sommaire des mentions légales. */
.section { overflow-x: clip; }
