/* =====================================================
   VARIABLES & BASE
   ===================================================== */
:root {
  --esp-primary:   #C8102E;   /* rouge Espaces */
  --esp-dark:      var(--color-services);   /* #1a1a2e, défini dans tokens.css */
  --esp-light:     #f8f5f0;
  --esp-border:    #e2ddd8;
  --esp-muted:     #6b6560;
  --esp-stat-bg:   #fff9f0;
}
[data-bs-theme="dark"] {
  --esp-light:     var(--bs-gray-800);
  --esp-border:    var(--bs-gray-700);
  --esp-muted:     var(--bs-gray-400);
  --esp-stat-bg:   var(--bs-gray-800);
}

/* =====================================================
   HERO
   ===================================================== */
.hero-marches {
  background: var(--esp-dark);
  color: #fff;
  padding: 3.5rem 2rem;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}
.hero-marches::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(200,16,46,.35) 0%, transparent 60%);
  pointer-events: none;
}
.hero-marches .badge-leader {
  display: inline-block;
  background: rgba(200,16,46,.18);
  color: #f7a8b5;
  border: 1px solid rgba(200,16,46,.4);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
}
.hero-marches h1 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: .75rem;
}
.hero-marches h1 span { color: #f7a8b5; }
.hero-marches .hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 1rem;
  line-height: 1.65;
}
.hero-marches .hero-types {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 2rem;
}
.hero-marches .hero-types strong {
  color: rgba(255,255,255,.65);
  font-weight: 500;
}
.btn-hero-mp {
  background: var(--esp-primary);
  color: #fff;
  border: none;
  padding: .9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: .5rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: background .2s, transform .15s;
}
.btn-hero-mp:hover {
  background: #a50d26;
  color: #fff;
  transform: translateY(-1px);
}
.btn-hero-outline-mp {
  background: transparent;
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.3);
  padding: .9rem 1.5rem;
  font-size: 1rem;
  border-radius: .5rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: border-color .2s, color .2s;
}
.btn-hero-outline-mp:hover {
  border-color: rgba(255,255,255,.7);
  color: #fff;
}
.hero-reassurance {
  margin-top: 1.5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

/* =====================================================
   STATS CHIFFRÉES
   ===================================================== */
.stats-band {
  background: var(--esp-stat-bg);
  border: 1px solid var(--esp-border);
  border-radius: .75rem;
  padding: 2rem 1.5rem;
  margin-bottom: 2.5rem;
}
.stat-item { text-align: center; padding: .75rem 1rem; }
.stat-item .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--esp-primary);
  line-height: 1.1;
  display: block;
}
.stat-item .stat-label {
  font-size: .82rem;
  color: var(--esp-muted);
  margin-top: .3rem;
  line-height: 1.4;
}

/* =====================================================
   BÉNÉFICES
   ===================================================== */
.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  background: var(--surface-page);
  border: 1px solid var(--esp-border);
  border-radius: .65rem;
  height: 100%;
}
.benefit-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #fdeef1;
  color: var(--esp-primary);
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.benefit-item h3 {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: .2rem;
  color: var(--text-accent);
}
.benefit-item p {
  font-size: .85rem;
  color: var(--esp-muted);
  margin: 0;
  line-height: 1.5;
}

/* =====================================================
   TYPES D'ANNONCES
   ===================================================== */
.types-section {
  background: var(--esp-light);
  border: 1px solid var(--esp-border);
  border-radius: .75rem;
  padding: 2rem 1.75rem;
  margin-bottom: 2.5rem;
}
.types-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .35rem;
}
.types-section .section-sub {
  font-size: .9rem;
  color: var(--esp-muted);
  margin-bottom: 1.5rem;
}
.type-tag {
  display: inline-block;
  background: var(--surface-page);
  border: 1px solid var(--esp-border);
  color: var(--esp-primary);
  font-size: .8rem;
  font-weight: 500;
  padding: .35rem .85rem;
  border-radius: 2rem;
  margin: .25rem;
}
.type-tag-main {
  background: var(--esp-primary);
  color: #fff;
  border-color: var(--esp-primary);
}
.sectors-label {
  font-size: .8rem;
  color: var(--esp-muted);
  margin-top: 1rem;
  margin-bottom: .5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.sector-tag {
  display: inline-block;
  background: #fdeef1;
  color: var(--esp-primary);
  font-size: .78rem;
  padding: .25rem .7rem;
  border-radius: 2rem;
  margin: .2rem;
}

/* =====================================================
   TARIF & DÉLAIS
   ===================================================== */
.tarif-card {
  border: 2px solid var(--esp-primary);
  border-radius: .75rem;
  overflow: hidden;
  height: 100%;
}
.tarif-card-header {
  background: var(--esp-primary);
  color: #fff;
  padding: 1.25rem 1.75rem;
}
.tarif-card-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 .2rem;
}
.tarif-card-header p {
  font-size: .82rem;
  opacity: .8;
  margin: 0;
}
.tarif-card-body {
  padding: 1.75rem;
  background: var(--surface-page);
}
.tarif-price-block {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-bottom: .5rem;
}
.tarif-price-main {
  font-size: 3rem;
  font-weight: 800;
  color: var(--esp-primary);
  line-height: 1;
}
.tarif-price-detail {
  font-size: .85rem;
  color: var(--esp-muted);
  line-height: 1.5;
}
.tarif-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}
.tarif-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .88rem;
  color: #333;
  padding: .4rem 0;
  border-bottom: 1px solid #f0ece8;
}
.tarif-list li:last-child { border-bottom: none; }
.tarif-list li i { color: #1a9e6e; font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

.delais-card {
  background: var(--esp-light);
  border: 1px solid var(--esp-border);
  border-radius: .75rem;
  padding: 1.75rem;
  height: 100%;
}
.delais-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-accent);
}
.delai-item {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.delai-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #fdeef1;
  color: var(--esp-primary);
  border-radius: .4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.delai-item h3 {
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: .15rem;
  color: var(--text-accent);
}
.delai-item p {
  font-size: .83rem;
  color: var(--esp-muted);
  margin: 0;
  line-height: 1.55;
}
.chorus-notice {
  margin-top: 1.25rem;
  background: var(--surface-page);
  border: 1px solid var(--esp-border);
  border-radius: .5rem;
  padding: .75rem 1rem;
  font-size: .82rem;
  color: var(--esp-muted);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}

/* =====================================================
   PROCÉDURE (étapes)
   ===================================================== */
.procedure-section { margin-bottom: 2.5rem; }
.procedure-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .35rem;
}
.procedure-section .section-sub {
  font-size: .9rem;
  color: var(--esp-muted);
  margin-bottom: 1.75rem;
}
.step-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1rem;
}
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--esp-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 700;
  margin-top: .1rem;
}
.step-content {
  background: var(--surface-page);
  border: 1px solid var(--esp-border);
  border-radius: .6rem;
  padding: 1rem 1.25rem;
  flex: 1;
}
.step-content h3 {
  font-size: .93rem;
  font-weight: 600;
  margin-bottom: .2rem;
  color: var(--text-accent);
}
.step-content p {
  font-size: .84rem;
  color: var(--esp-muted);
  margin: 0;
  line-height: 1.55;
}
.step-highlight {
  border-left: 3px solid var(--esp-primary);
}

/* =====================================================
   DIFFUSION
   ===================================================== */
.diffusion-section {
  background: var(--esp-light);
  border: 1px solid var(--esp-border);
  border-radius: .75rem;
  padding: 2rem 1.75rem;
  margin-bottom: 2.5rem;
}
.diffusion-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .35rem;
}
.diffusion-section .section-sub {
  font-size: .9rem;
  color: var(--esp-muted);
  margin-bottom: 1.5rem;
}
.channel-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1rem;
  background: var(--surface-page);
  border-radius: .5rem;
  border: 1px solid var(--esp-border);
  margin-bottom: .75rem;
}
.channel-icon { color: var(--esp-primary); font-size: 1.2rem; flex-shrink: 0; }
.channel-item strong { font-size: .9rem; display: block; margin-bottom: .1rem; }
.channel-item span { font-size: .8rem; color: var(--esp-muted); }

/* =====================================================
   CTA FINAL
   ===================================================== */
.cta-final-mp {
  background: var(--esp-dark);
  color: #fff;
  border-radius: .75rem;
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}
.cta-final-mp::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(200,16,46,.4) 0%, transparent 65%);
  pointer-events: none;
}
.cta-final-mp h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: .75rem; }
.cta-final-mp p {
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.btn-cta-mp {
  background: var(--esp-primary);
  color: #fff;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: .5rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  transition: background .2s, transform .15s;
}
.btn-cta-mp:hover {
  background: #a50d26;
  color: #fff;
  transform: translateY(-2px);
}
.cta-modes {
  margin-top: 1.25rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.btn-devis-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  text-decoration: none;
  margin-top: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.2);
  padding-bottom: 1px;
  transition: color .2s;
}
.btn-devis-link:hover { color: rgba(255,255,255,.9); }

/* sections communes */
.section-title { font-size: 1.4rem; font-weight: 700; margin-bottom: .35rem; color: var(--text-accent); }
.section-sub { font-size: .9rem; color: var(--esp-muted); margin-bottom: 1.5rem; }

/* mode sombre — cas isolés */
[data-bs-theme="dark"] .tarif-list li {
  color: var(--bs-gray-300);
  border-bottom-color: var(--bs-gray-700);
}
