@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap");

* {
  box-sizing: border-box;
}

.fs-antennes-container {
  font-family: "Montserrat", sans-serif;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px;
}

.fs-antennes-header {
  text-align: center;
  margin-bottom: 30px;
  animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fs-antennes-header h2 {
  font-size: 3rem;
  color: #606c38;
  margin-bottom: 10px;
  font-weight: 700;
}

.fs-antennes-header p {
  font-size: 1.2rem;
  color: #bc6c25;
}

.fs-stats-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fs-stat {
  text-align: center;
  padding: 25px 50px;
  background: linear-gradient(135deg, #606c38 0%, #4a5429 100%);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(96, 108, 56, 0.3);
}

.fs-stat-number {
  display: block;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fefae0;
  line-height: 1;
}

.fs-stat-label {
  display: block;
  font-size: 1rem;
  color: #bc6c25;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fs-map-wrapper {
  position: relative;
  background: linear-gradient(135deg, #fefae0 0%, #f5f1d9 100%);
  border-radius: 25px;
  padding: 20px;
  box-shadow: 0 15px 50px rgba(96, 108, 56, 0.15);
  animation: fadeIn 1s ease;
  margin-bottom: 50px;
}

#fs-antennes-map {
  height: 650px;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(96, 108, 56, 0.2);
}

/* Personnalisation des popups Leaflet */
.leaflet-popup-content-wrapper {
  border-radius: 15px;
  padding: 5px;
  font-family: "Montserrat", sans-serif;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  max-width: 350px;
}

.leaflet-popup-content {
  margin: 15px 20px;
  font-size: 14px;
  line-height: 1.6;
}

.fs-popup-header {
  margin: -15px -20px 15px -20px;
  padding: 15px 20px;
  border-radius: 12px 12px 0 0;
  color: #fefae0;
}

.fs-popup-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fefae0;
}

.fs-popup-content p {
  margin: 10px 0;
  color: #333;
}

.fs-popup-content strong {
  color: #606c38;
  font-weight: 700;
}

.fs-popup-section {
  margin: 15px 0;
  padding: 12px;
  background: #fefae0;
  border-radius: 8px;
  border-left: 3px solid #bc6c25;
}

.fs-popup-contact {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px solid #e9edc9;
}

.fs-popup-contact a {
  color: #bc6c25;
  text-decoration: none;
  font-weight: 600;
}

.fs-popup-contact a:hover {
  text-decoration: underline;
}

.leaflet-popup-tip {
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
}

.fs-antennes-list {
  margin-top: 50px;
  padding: 40px;
  background: #ebe8cd;
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(96, 108, 56, 0.12);
  animation: fadeInUp 1s ease 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fs-antennes-list h3 {
  color: #606c38;
  font-size: 1.8rem;
  margin-bottom: 30px;
  font-weight: 700;
}

.fs-antennes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
}

.fs-antenne-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(96, 108, 56, 0.15);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.fs-antenne-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(96, 108, 56, 0.25);
  border-color: #bc6c25;
}

.fs-antenne-header-card {
  padding: 25px;
  color: #fefae0;
  text-align: center;
}

.fs-antenne-header-card h4 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fefae0;
}

.fs-antenne-body {
  padding: 25px;
}

.fs-antenne-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.fs-antenne-cities {
  background: #fefae0;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  border-left: 3px solid #bc6c25;
}

.fs-antenne-cities strong {
  color: #606c38;
  display: block;
  margin-bottom: 8px;
}

.fs-antenne-cities p {
  margin: 0;
  color: #666;
  line-height: 1.5;
}

.fs-antenne-trees {
  background: #e8f5e9;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  border-left: 3px solid #606c38;
}

.fs-antenne-trees strong {
  color: #606c38;
  display: block;
  margin-bottom: 8px;
}

.fs-antenne-trees p {
  margin: 0;
  color: #666;
  line-height: 1.5;
}

.fs-antenne-percentage {
  background: #fff8e1;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  border-left: 3px solid #bc6c25;
}

.fs-antenne-percentage strong {
  color: #606c38;
  display: block;
  margin-bottom: 10px;
}

.fs-percentage-bar {
  height: 30px;
  background: #e0e0e0;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  margin-bottom: 5px;
}

.fs-percentage-fill {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  transition: width 1s ease;
}

.fs-antenne-percentage small {
  color: #666;
  font-style: italic;
}

.fs-antenne-radius {
  padding: 10px 0;
  color: #666;
  font-size: 0.95rem;
}

.fs-antenne-contact {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #e9edc9;
}

.fs-antenne-contact strong {
  color: #606c38;
  display: block;
  margin-bottom: 10px;
}

.fs-antenne-contact p {
  margin: 5px 0;
  color: #666;
}

.fs-antenne-contact a {
  color: #bc6c25;
  text-decoration: none;
  font-weight: 600;
}

.fs-antenne-contact a:hover {
  text-decoration: underline;
}

.fs-antenne-btn {
  width: 100%;
  margin-top: 20px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #606c38 0%, #4a5429 100%);
  color: #fefae0;
  border: none;
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.fs-antenne-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(96, 108, 56, 0.4);
  background: linear-gradient(135deg, #bc6c25 0%, #a85f20 100%);
}

.fs-no-antennes {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 20px;
  margin-top: 30px;
  box-shadow: 0 10px 35px rgba(96, 108, 56, 0.12);
}

.fs-no-antennes p {
  font-size: 1.3rem;
  color: #bc6c25;
  margin: 10px 0;
}

/* Effet radar pulsant - DÉSACTIVÉ */
@keyframes radarPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
}

/* Pas d'animation par défaut */
.radar-zone {
  /* animation: none; */
}

/* Style du bouton plein écran */
.leaflet-control-fullscreen a {
  background: #606c38 !important;
  color: #fefae0 !important;
  border-radius: 4px !important;
  font-weight: bold !important;
}

.leaflet-control-fullscreen a:hover {
  background: #bc6c25 !important;
}

/* Style de la carte en plein écran */
.leaflet-container:-webkit-full-screen {
  width: 100% !important;
  height: 100% !important;
}

.leaflet-container:-moz-full-screen {
  width: 100% !important;
  height: 100% !important;
}

.leaflet-container:fullscreen {
  width: 100% !important;
  height: 100% !important;
}

/* Ajustements pour le plein écran */
.leaflet-fullscreen-on .leaflet-control-container {
  display: block !important;
}

.leaflet-fullscreen-on .leaflet-control-zoom {
  margin-top: 10px !important;
}

/* Responsive */
@media (max-width: 768px) {
  .fs-antennes-header h2 {
    font-size: 2rem;
  }

  .fs-stats-bar {
    gap: 20px;
  }

  .fs-stat {
    padding: 20px 30px;
  }

  .fs-stat-number {
    font-size: 2.5rem;
  }

  #fs-antennes-map {
    height: 450px;
  }

  .fs-antennes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .fs-antennes-container {
    padding: 30px 15px;
  }

  .fs-stats-bar {
    flex-direction: column;
    gap: 15px;
  }

  .fs-antennes-header h2 {
    font-size: 1.6rem;
  }

  #fs-antennes-map {
    height: 400px;
  }

  .fs-antennes-list {
    padding: 20px;
  }
}
