:root {
  --bg-main: #FFFFFF;
  --bg-secondary: #F4F6F8;
  --text-primary: #1A1D20;
  --text-muted: #68737D;
  --accent-silver: #A0AAB5;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.1);
  --card-border: rgba(0,0,0,0.04);
  --btn-primary-bg: linear-gradient(135deg, #1A1D20 0%, #3A4148 100%);
  --btn-primary-text: #FFFFFF;
  --radius: 16px;
  --check-color: #27ae60;
}

html.dark-mode {
  --bg-main: #0D0F12;
  --bg-secondary: #16191D;
  --text-primary: #FFFFFF;
  --text-muted: #A0AAB5;
  --accent-silver: #4A525A;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.6);
  --card-border: rgba(255,255,255,0.05);
  --btn-primary-bg: linear-gradient(135deg, #FFFFFF 0%, #E0E0E0 100%);
  --btn-primary-text: #1A1D20;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

.recrutement-container {
  max-width: 1200px;
  margin: clamp(30px, 5vw, 60px) auto;
  padding: 0 clamp(15px, 4vw, 30px);
  flex: 1;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 5vw, 50px);
}

.page-header {
  text-align: center;
}

.page-header h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--text-primary);
  margin-bottom: 15px;
  font-weight: 800;
  letter-spacing: -1px;
}

.page-header p {
  color: var(--text-muted);
  font-size: clamp(1rem, 3vw, 1.1rem);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.page-header p strong {
  color: var(--text-primary);
}

.intro-card {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 40px);
  text-align: center;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
}

.intro-card .icon-wrapper {
  width: 60px;
  height: 60px;
  background: var(--bg-main);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.intro-card p {
  font-size: clamp(0.95rem, 3vw, 1.05rem);
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 auto 15px auto;
  max-width: 900px;
}

.intro-card p:last-child {
  margin-bottom: 0;
}

.intro-card p strong {
  color: var(--text-primary);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 4vw, 30px);
}

.info-card {
  background-color: var(--bg-main);
  border-radius: var(--radius);
  padding: clamp(25px, 4vw, 35px);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--card-border);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--btn-primary-bg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.info-card:hover::before {
  transform: scaleX(1);
}

.info-card h3 {
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  margin: 0 0 25px 0;
  color: var(--text-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
}

.info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-card li {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.text-green {
  color: var(--check-color);
  margin-top: 4px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.cta-section {
  text-align: center;
  margin-top: 10px;
}

.btn-main {
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.reveal-up { opacity: 0; transform: translateY(30px); transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-up.active { opacity: 1; transform: translate(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@media (max-width: 576px) {
  .btn-main { 
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}