/* Styles pour la page Recrutement */

/* Hero Section Recrutement */
.recrutement-hero {
  height: 70vh;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(59, 130, 246, 0.8) 100%),
    url("https://via.placeholder.com/1200x800/2563eb/ffffff?text=Recrutement+SODIMAPRO") center / cover;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.recrutement-hero::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)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.recrutement-hero::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 70%, rgba(96, 165, 250, 0.3) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2rem;
  font-size: 1rem;
  opacity: 0.9;
}

.breadcrumb a {
  color: #bfdbfe;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: white;
  transform: translateY(-2px);
}

.recrutement-hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  font-weight: 300;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-stat {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.hero-stat:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(255, 255, 255, 0.2);
}

.hero-stat .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  color: #60a5fa;
}

.hero-stat .stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* Pourquoi nous rejoindre */
.pourquoi-rejoindre {
  padding: 5rem 0;
  background: #f8fafc;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1rem;
  position: relative;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.2rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

.avantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.avantage-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  border-left: 4px solid transparent;
}

.avantage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.05), transparent);
  transition: left 0.5s;
}

.avantage-card:hover::before {
  left: 100%;
}

.avantage-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  border-left-color: #2563eb;
}

.avantage-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
}

.avantage-card:hover .avantage-icon {
  transform: scale(1.1) rotate(10deg);
}

.avantage-icon i {
  font-size: 2rem;
  color: white;
}

.avantage-card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1e3a8a;
  margin-bottom: 1rem;
}

.avantage-card p {
  color: #374151;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.avantage-details {
  list-style: none;
}

.avantage-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
  color: #374151;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s;
}

.avantage-card:hover .avantage-details li {
  opacity: 1;
  transform: translateX(0);
}

.avantage-details li:nth-child(1) {
  transition-delay: 0.1s;
}
.avantage-details li:nth-child(2) {
  transition-delay: 0.2s;
}
.avantage-details li:nth-child(3) {
  transition-delay: 0.3s;
}

.avantage-details i {
  color: #10b981;
  font-size: 0.9rem;
}

/* Nos Valeurs */
.nos-valeurs {
  padding: 5rem 0;
  background: white;
}

.valeurs-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.valeurs-text h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.valeurs-intro {
  font-size: 1.2rem;
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.valeurs-list {
  display: grid;
  gap: 1.5rem;
}

.valeur-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 15px;
  transition: all 0.3s;
  border-left: 4px solid transparent;
}

.valeur-item:hover {
  background: #e5e7eb;
  border-left-color: #2563eb;
  transform: translateX(10px);
}

.valeur-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.valeur-item:hover .valeur-icon {
  transform: scale(1.1);
}

.valeur-icon i {
  font-size: 1.5rem;
  color: white;
}

.valeur-content h4 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #1e3a8a;
  margin-bottom: 0.5rem;
}

.valeur-content p {
  color: #6b7280;
  line-height: 1.5;
}

.valeurs-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.valeurs-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem;
}

.overlay-content h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.overlay-content p {
  opacity: 0.9;
}

/* Offres d'emploi */
.offres-emploi {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e5e7eb 100%);
}

.offres-grid {
  display: grid;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.offre-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  position: relative;
}

.offre-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.offre-header {
  padding: 2rem;
  background: linear-gradient(135deg, #f8fafc, #e5e7eb);
  position: relative;
}

.offre-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

.offre-badge.urgent {
  background: #dc2626;
  color: white;
}

.offre-badge.nouveau {
  background: #059669;
  color: white;
}

.offre-badge.formation {
  background: #7c3aed;
  color: white;
}

.offre-header h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1e3a8a;
  margin-bottom: 1rem;
  margin-right: 100px;
}

.offre-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.offre-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #6b7280;
  font-size: 0.9rem;
}

.offre-meta i {
  color: #2563eb;
}

.offre-content {
  padding: 2rem;
}

.offre-content p {
  color: #374151;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.offre-skills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.skill-tag {
  background: #dbeafe;
  color: #1e3a8a;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.offre-avantages h4 {
  color: #1e3a8a;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.offre-avantages ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.3rem;
}

.offre-avantages li {
  color: #374151;
  font-size: 0.9rem;
  position: relative;
  padding-left: 15px;
}

.offre-avantages li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

.offre-footer {
  padding: 1.5rem 2rem;
  background: #f8fafc;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.offre-btn {
  flex: 1;
}

/* Processus de recrutement */
.processus-recrutement {
  padding: 5rem 0;
  background: white;
}

.processus-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.processus-timeline::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 10%;
  right: 10%;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 2px;
}

.processus-step {
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
  transition: all 0.3s;
}

.processus-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
}

.step-content h3 {
  font-size: 1.3rem;
  font-weight: bold;
  color: #1e3a8a;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.step-duration {
  background: #f3f4f6;
  color: #374151;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: bold;
  display: inline-block;
}

/* Candidature spontanée */
.candidature-spontanee {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e5e7eb 100%);
}

.candidature-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.candidature-info h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.candidature-intro {
  font-size: 1.2rem;
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.candidature-avantages {
  margin-bottom: 3rem;
}

.avantage-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  transition: all 0.3s;
}

.avantage-item:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.avantage-item i {
  font-size: 1.5rem;
  color: #2563eb;
  margin-top: 0.2rem;
}

.avantage-item h4 {
  font-weight: bold;
  color: #1e3a8a;
  margin-bottom: 0.3rem;
}

.avantage-item p {
  color: #6b7280;
  font-size: 0.9rem;
}

.contact-rh {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-rh h4 {
  font-size: 1.3rem;
  font-weight: bold;
  color: #1e3a8a;
  margin-bottom: 1rem;
}

.rh-info {
  display: grid;
  gap: 0.8rem;
}

.rh-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #374151;
}

.rh-item i {
  color: #2563eb;
  width: 20px;
}

/* Formulaire de candidature */
.candidature-form {
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.form-header {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: white;
  padding: 2rem;
  text-align: center;
}

.form-header h3 {
  font-size: 1.5rem;
  font-weight: bold;
}

.form-candidature {
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.file-upload {
  position: relative;
}

.file-input-wrapper {
  position: relative;
  cursor: pointer;
}

.file-input-wrapper input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-input-display {
  border: 2px dashed #e5e7eb;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.file-input-display:hover {
  border-color: #2563eb;
  background: #f8fafc;
}

.file-input-display i {
  font-size: 2rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
  display: block;
}

.file-input-display span {
  color: #6b7280;
  font-weight: 500;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #e5e7eb;
  border-radius: 4px;
  position: relative;
  transition: all 0.3s;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: #2563eb;
  border-color: #2563eb;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 0.8rem;
}

.btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.btn-submit::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.5s;
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* Contact Icons */
.contact-icons {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 100;
}

.contact-icon-btn {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  position: relative;
  overflow: hidden;
}

.contact-icon-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.contact-icon-btn:hover::before {
  opacity: 1;
}

.contact-icon-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

/* Navigation active */
.nav-menu a.active {
  color: #2563eb;
  font-weight: 600;
  position: relative;
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: #2563eb;
  border-radius: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-icons {
    position: static;
    flex-direction: row;
    justify-content: center;
    padding: 1rem 0;
    background: #f8fafc;
    transform: none;
    left: auto;
    top: auto;
  }

  .recrutement-hero {
    height: 60vh;
  }

  .recrutement-hero h1 {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .avantages-grid {
    grid-template-columns: 1fr;
  }

  .valeurs-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .candidature-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .processus-timeline {
    flex-direction: column;
    gap: 2rem;
  }

  .processus-timeline::before {
    display: none;
  }

  .offre-avantages ul {
    grid-template-columns: 1fr;
  }

  .offre-footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .recrutement-hero h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .avantage-card,
  .candidature-form {
    padding: 1.5rem;
  }

  .contact-icon-btn {
    width: 50px;
    height: 50px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.avantage-card {
  animation: fadeInUp 0.6s ease-out;
}

.avantage-card:nth-child(even) {
  animation-delay: 0.1s;
}

.avantage-card:nth-child(3n) {
  animation-delay: 0.2s;
}

.offre-card {
  animation: fadeInUp 0.8s ease-out;
}

.processus-step {
  animation: fadeInUp 0.6s ease-out;
}

.processus-step:nth-child(2) {
  animation-delay: 0.1s;
}
.processus-step:nth-child(3) {
  animation-delay: 0.2s;
}
.processus-step:nth-child(4) {
  animation-delay: 0.3s;
}
.processus-step:nth-child(5) {
  animation-delay: 0.4s;
}
