/* === Page Zone d'intervention === */
body.zone-page { background: #07090C; overflow-x: hidden; }

/* ================================================
   HERO ZONE — SPLIT 45/55
================================================ */
.zone-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 45% 55%;
  position: relative;
}

/* ---- GAUCHE ---- */
.zh-left {
  padding: 150px 70px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.zh-left::before {
  content: '';
  position: absolute;
  top: 20%; left: -30%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.zh-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--tp-orange);
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(20px);
}
.zh-eyebrow::before {
  content: '';
  width: 40px; height: 2px;
  background: var(--tp-orange);
  flex-shrink: 0;
}

.zh-title {
  font-size: clamp(52px, 5.5vw, 88px);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -4px;
  color: #FFF;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(30px);
}
.zh-title em {
  font-style: normal;
  -webkit-text-stroke: 2px var(--tp-orange);
  color: transparent;
}

.zh-desc {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.42);
  max-width: 400px;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateY(20px);
}

.zh-stats {
  display: flex;
  gap: 0;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateY(20px);
}
.zh-stat {
  flex: 1;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.zh-stat::after {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 2px;
  background: var(--tp-orange);
  transition: width 1.5s ease 0.5s;
}
.zh-stat.animated::after { width: 100%; }
.zh-stat:not(:last-child) { margin-right: 30px; }

.zh-stat-num {
  display: block;
  font-size: 52px;
  font-weight: 900;
  font-family: var(--font-heading);
  color: #FFF;
  line-height: 1;
  letter-spacing: -3px;
}
.zh-stat-unit {
  font-size: 22px;
  letter-spacing: 0;
  font-weight: 700;
  color: var(--tp-orange);
}
.zh-stat small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-top: 8px;
  display: block;
}

.zh-zones {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
}

.zh-zone-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.zh-zone-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--tp-orange);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s ease;
}
.zh-zone-item:hover::before,
.zh-zone-item.zone-active::before { transform: scaleY(1); }

.zh-zone-item:hover,
.zh-zone-item.zone-active {
  background: rgba(255,255,255,0.055);
  border-color: rgba(255,90,0,0.25);
  transform: translateX(5px);
}
.zh-zone-item.main-zone {
  border-color: rgba(255,90,0,0.18);
  background: rgba(255,90,0,0.04);
}

.zh-zone-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.zh-zone-dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  animation: pulseDot 2.5s ease infinite;
  color: inherit;
  opacity: 0;
}
@keyframes pulseDot {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}
.dot-orange { background: var(--tp-orange); color: var(--tp-orange); }
.dot-white  { background: rgba(255,255,255,0.6); color: rgba(255,255,255,0.4); }
.dot-green  { background: var(--en-green); color: var(--en-green); }

.zh-zone-info { flex: 1; }
.zh-zone-name {
  font-size: 14px;
  font-weight: 600;
  color: #FFF;
  display: block;
}

.zh-zone-bar {
  margin-top: 6px;
  height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.zh-zone-bar-fill {
  height: 100%;
  background: var(--tp-orange);
  border-radius: 2px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.6s ease;
}
.zh-zone-item:hover .zh-zone-bar-fill,
.zh-zone-item.zone-active .zh-zone-bar-fill { transform: scaleX(1); }

.zh-zone-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.zh-zone-badge {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.3);
}
.zh-zone-item.main-zone .zh-zone-badge {
  border-color: rgba(255,90,0,0.35);
  color: var(--tp-orange);
}
.zh-zone-dist {
  font-size: 11px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: rgba(255,255,255,0.22);
}

/* ---- DROITE CARTE ---- */
.zh-right { position: relative; }
.zh-map-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
}
#map { width: 100%; height: 100%; }
.zh-map-fade {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 140px;
  background: linear-gradient(to right, #07090C 0%, transparent 100%);
  z-index: 400;
  pointer-events: none;
}
.zh-map-fade-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, #07090C 0%, transparent 100%);
  z-index: 400;
  pointer-events: none;
}
.zh-map-label {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  background: rgba(14,18,24,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  pointer-events: none;
}
.zh-map-label span { color: var(--tp-orange); }

.leaflet-popup-content-wrapper {
  background: #0C0F16 !important;
  border: 1px solid rgba(255,90,0,0.3) !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,90,0,0.1) !important;
  backdrop-filter: blur(20px) !important;
}
.leaflet-popup-tip-container { display: none; }
.leaflet-popup-close-button { color: rgba(255,255,255,0.4) !important; top: 8px !important; right: 10px !important; }
.leaflet-popup-content { color: #FFF !important; margin: 18px 22px !important; }
.popup-title {
  font-size: 13px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--tp-orange); display: block; margin-bottom: 4px;
}
.popup-sub { font-size: 12px; color: rgba(255,255,255,0.45); }

.marker-issoire { width: 20px; height: 20px; position: relative; }
.mi-core {
  width: 20px; height: 20px;
  background: var(--tp-orange);
  border-radius: 50%;
  border: 3px solid #FFF;
  box-shadow: 0 0 0 4px rgba(255,90,0,0.3), 0 4px 20px rgba(255,90,0,0.5);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}
.mi-ring1, .mi-ring2 {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,90,0,0.5);
  animation: mapPulse 2.5s ease infinite;
}
.mi-ring2 { animation-delay: 1.25s; }
@keyframes mapPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3.5); opacity: 0; }
}

.marker-city {
  width: 12px; height: 12px;
  background: rgba(255,255,255,0.75);
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow: 0 0 10px rgba(255,255,255,0.3);
  transition: all 0.3s ease;
}
.marker-city.active-marker {
  background: var(--tp-orange);
  border-color: var(--tp-orange);
  box-shadow: 0 0 20px rgba(255,90,0,0.6);
  transform: scale(1.5);
}

/* ================================================
   SECTION COMMUNES
================================================ */
.communes-section {
  background: #07090C;
  padding: 120px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.communes-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  margin-bottom: 60px;
  gap: 40px;
}

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

.commune-card {
  padding: 18px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(15px);
}
.commune-card.visible { opacity: 1; transform: translateY(0); }
.commune-card:hover {
  background: rgba(255,90,0,0.06);
  border-color: rgba(255,90,0,0.2);
  transform: translateY(-3px);
}
.commune-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--tp-orange);
  flex-shrink: 0;
}
.commune-card span { font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 500; }

/* ================================================
   SECTION CTA PREMIUM
================================================ */
.zone-cta { background: #07090C; padding: 80px 0 130px; }

.zone-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 70px 80px;
  background: linear-gradient(135deg, rgba(255,90,0,0.06) 0%, rgba(255,90,0,0.02) 100%);
  border: 1px solid rgba(255,90,0,0.18);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.zone-cta-inner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.zone-cta-text h3 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -2px;
  color: #FFF;
  margin-bottom: 10px;
}
.zone-cta-text p { color: rgba(255,255,255,0.4); font-size: 15px; }

.zone-cta-actions { display: flex; gap: 14px; flex-shrink: 0; position: relative; z-index: 1; }

.btn-orange-solid {
  padding: 18px 40px;
  background: var(--tp-orange);
  color: #FFF;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 8px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-orange-solid:hover { background: #E04800; transform: translateY(-3px); box-shadow: 0 15px 35px rgba(255,90,0,0.35); }

.btn-outline-white {
  padding: 18px 36px;
  background: transparent;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-outline-white:hover { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.04); }

/* Responsive */
@media (max-width: 1100px) {
  .zone-hero { grid-template-columns: 1fr; }
  .zh-right { order: -1; }
  .zh-map-wrap { position: relative; height: 55vh; }
  .zh-left { padding: 50px 30px 60px; }
  .communes-grid { grid-template-columns: repeat(2, 1fr); }
  .communes-intro { grid-template-columns: 1fr; }
  .zone-cta-inner { flex-direction: column; padding: 50px 30px; text-align: center; }
  .zone-cta-actions { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .communes-grid { grid-template-columns: 1fr; }
  .zh-stats { flex-wrap: wrap; gap: 20px; }
}
