/* CSS pour la page Recherche Militaire */

/* ========================================
   SECTION PRINCIPALE RECHERCHE MILITAIRE
======================================== */

.recherche-militaire-section {
  background: #f8fafc;
  padding: 3rem 0;
  min-height: 60vh;
}

.recherche-militaire-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.intro-text {
  text-align: center;
  margin-bottom: 3rem;
}

.intro-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1rem;
}

.intro-text p {
  font-size: 1.1rem;
  color: #4a5568;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   GRILLE DES OUTILS MILITAIRES
======================================== */

.outils-militaires-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.outil-militaire-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.outil-militaire-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #a76107 0%, #f4a261 100%);
  transition: height 0.3s ease;
}

.outil-militaire-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.outil-militaire-card:hover::before {
  height: 6px;
}

/* États spéciaux */
.outil-militaire-card.coming-soon {
  opacity: 0.7;
  background: #f7fafc;
}

.outil-militaire-card.coming-soon::before {
  background: linear-gradient(135deg, #718096 0%, #a0aec0 100%);
}

.outil-militaire-card.coming-soon:hover {
  transform: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* ========================================
   CONTENU DES CARTES
======================================== */

.outil-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.outil-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.outil-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: #a76107;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.outil-description {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  flex-grow: 1;
}

/* ========================================
   TAGS ET BOUTONS
======================================== */

.outil-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.tag {
  background: #edf2f7;
  color: #4a5568;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.outil-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #a76107 0%, #d4822a 100%);
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  margin-top: auto;
}

.outil-btn:hover {
  background: linear-gradient(135deg, #975a06 0%, #c77824 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(167, 97, 7, 0.3);
}

.disabled-btn {
  background: #e2e8f0 !important;
  color: #718096 !important;
  cursor: not-allowed;
}

.disabled-btn:hover {
  background: #e2e8f0 !important;
  transform: none !important;
  box-shadow: none !important;
}

.btn-text {
  font-weight: 600;
}

.btn-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.outil-btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 768px) {
  .recherche-militaire-section {
    padding: 2rem 0;
  }
  
  .intro-text h2 {
    font-size: 1.5rem;
  }
  
  .intro-text p {
    font-size: 1rem;
  }
  
  .outils-militaires-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .outil-militaire-card {
    padding: 1.5rem;
  }
  
  .outil-icon {
    font-size: 2.5rem;
  }
  
  .outil-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .recherche-militaire-container {
    padding: 0 0.5rem;
  }
  
  .outil-militaire-card {
    padding: 1rem;
  }
  
  .intro-text {
    margin-bottom: 2rem;
  }
}


