/* ========================================
   CONSTRUCTION PAGE STYLES - SIMECO.CI
   Styles pour les pages en construction
   ======================================== */

.construction-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #080054 0%, #1a1a7a 50%, #080054 100%);
  color: white;
  text-align: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.construction-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="90" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

.construction-content {
  max-width: 700px;
  background: rgba(255, 255, 255, 0.1);
  padding: 4rem;
  border-radius: 30px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 2;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.construction-icon {
  font-size: 5rem;
  color: #ff9100;
  margin-bottom: 2rem;
  animation: pulse 2s infinite;
  text-shadow: 0 0 30px rgba(255, 145, 0, 0.5);
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1); 
    text-shadow: 0 0 30px rgba(255, 145, 0, 0.5);
  }
  50% { 
    transform: scale(1.1); 
    text-shadow: 0 0 50px rgba(255, 145, 0, 0.8);
  }
}

.construction-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #ff9100, #ffffff, #ff9100);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 3s ease-in-out infinite;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.construction-subtitle {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  font-weight: 600;
}

.construction-text {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0.9;
  font-weight: 400;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.construction-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  min-width: 120px;
}

.feature-item:hover {
  background: rgba(255, 145, 0, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 145, 0, 0.3);
}

.feature-item i {
  font-size: 2rem;
  color: #ff9100;
  margin-bottom: 0.5rem;
}

.feature-item span {
  font-size: 1rem;
  font-weight: 600;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, #ff9100, #ff6b35);
  color: #080054;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 25px rgba(255, 145, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.back-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.back-btn:hover::before {
  left: 100%;
}

.back-btn:hover {
  background: linear-gradient(135deg, #ffffff, #ff9100);
  color: #080054;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(255, 145, 0, 0.6);
}

.construction-progress {
  margin: 2rem 0;
  text-align: center;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
  margin: 1rem 0;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff9100, #ff6b35);
  border-radius: 3px;
  animation: progress 3s ease-in-out infinite;
}

@keyframes progress {
  0% { width: 0%; }
  50% { width: 75%; }
  100% { width: 0%; }
}

.progress-text {
  font-size: 0.9rem;
  opacity: 0.8;
  font-style: italic;
}

/* ===== RESPONSIVE DESIGN ===== */

/* TRÈS PETIT MOBILE (0px - 360px) */
@media (max-width: 360px) {
  .construction-page {
    min-height: calc(100vh - 50px);
    padding: 0.5rem;
  }
  
  .construction-content {
    padding: 1rem;
    margin: 0.25rem;
    border-radius: 15px;
  }
  
  .construction-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }
  
  .construction-title {
    font-size: 1.4rem;
    line-height: 1.2;
  }
  
  .construction-subtitle {
    font-size: 1rem;
  }
  
  .construction-text {
    font-size: 0.8rem;
    line-height: 1.5;
  }
  
  .back-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    max-width: 100%;
  }
  
  .feature-item {
    padding: 0.625rem;
  }
  
  .feature-item i {
    font-size: 1.25rem;
  }
  
  .feature-item span {
    font-size: 0.75rem;
  }
}

/* MOBILE PETIT (0px - 480px) */
@media (max-width: 480px) {
  .construction-page {
    min-height: calc(100vh - 60px);
    padding: 0.75rem;
  }
  
  .construction-content {
    padding: 1.25rem;
    margin: 0.25rem;
    border-radius: 20px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  
  .construction-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .construction-title {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }
  
  .construction-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .construction-text {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .construction-features {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0;
  }
  
  .feature-item {
    width: 100%;
    max-width: 100%;
    padding: 0.875rem;
    min-width: auto;
  }
  
  .feature-item i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }
  
  .feature-item span {
    font-size: 0.8rem;
  }
  
  .back-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    max-width: 280px;
    box-sizing: border-box;
  }
  
  .progress-bar {
    height: 4px;
    margin: 0.75rem 0;
  }
  
  .progress-text {
    font-size: 0.8rem;
  }
  
  .construction-progress {
    margin: 1.5rem 0;
  }
}

/* MOBILE (481px - 650px) */
@media (min-width: 481px) and (max-width: 650px) {
  .construction-page {
    min-height: calc(100vh - 70px);
    padding: 1rem;
  }
  
  .construction-content {
    padding: 1.75rem;
    margin: 0.5rem;
    border-radius: 25px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  
  .construction-icon {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
  }
  
  .construction-title {
    font-size: 1.9rem;
    line-height: 1.3;
    margin-bottom: 0.875rem;
  }
  
  .construction-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
  }
  
  .construction-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
  }
  
  .construction-features {
    gap: 0.875rem;
    margin: 1.75rem 0;
    flex-wrap: wrap;
  }
  
  .feature-item {
    min-width: 45%;
    max-width: 48%;
    padding: 1rem;
    flex: 0 0 45%;
  }
  
  .feature-item i {
    font-size: 1.6rem;
    margin-bottom: 0.375rem;
  }
  
  .feature-item span {
    font-size: 0.875rem;
  }
  
  .back-btn {
    padding: 0.95rem 1.9rem;
    font-size: 0.95rem;
    max-width: 300px;
  }
  
  .progress-bar {
    height: 5px;
    margin: 0.875rem 0;
  }
  
  .progress-text {
    font-size: 0.85rem;
  }
  
  .construction-progress {
    margin: 1.75rem 0;
  }
}

/* TABLETTE (651px - 1024px) */
@media (min-width: 651px) and (max-width: 1024px) {
  .construction-content {
    padding: 3rem;
    max-width: 650px;
  }
  
  .construction-icon {
    font-size: 4.5rem;
  }
  
  .construction-title {
    font-size: 2.8rem;
  }
  
  .construction-subtitle {
    font-size: 1.6rem;
  }
  
  .construction-text {
    font-size: 1.1rem;
  }
  
  .construction-features {
    gap: 1.5rem;
  }
  
  .feature-item {
    min-width: 110px;
  }
  
  .back-btn {
    padding: 1.1rem 2.2rem;
    font-size: 1.05rem;
  }
}

/* DESKTOP (1025px et plus) */
@media (min-width: 1025px) {
  .construction-content {
    padding: 4rem;
    max-width: 700px;
  }
  
  .construction-icon {
    font-size: 5rem;
  }
  
  .construction-title {
    font-size: 3rem;
  }
  
  .construction-subtitle {
    font-size: 1.8rem;
  }
  
  .construction-text {
    font-size: 1.2rem;
  }
  
  .construction-features {
    gap: 2rem;
  }
  
  .feature-item {
    min-width: 120px;
  }
  
  .back-btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
  }
}

