/* =========================================
   RVSA Consulting - services.css
   Page Services harmonisée au style global
   ========================================= */

/* ===== HERO ===== */
.services-hero {
  text-align: center;
  padding: 5rem 1rem 4rem;
  margin: 2rem auto;
  border-radius: 25px;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  max-width: 1100px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  background-image:
    linear-gradient(rgba(37,99,235,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,211,238,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridMove 24s linear infinite;
}

@keyframes gridMove {
  from { background-position: 0 0; }
  to   { background-position: 48px 48px; }
}

.services-hero h1 {
  font-size: clamp(2.2rem, 5vw, 2.9rem);
  margin-bottom: 1rem;
  font-weight: 800;
}

.services-hero p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.15rem;
}

/* ===== GRID DES SERVICES ===== */
.services-section {
  text-align: center;
  padding: 5rem 1rem;
  max-width: 1300px;
  margin: 0 auto;
}

.services-section h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 3rem;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

.service-card {
  background: color-mix(in oklab, var(--card) 96%, transparent);
  border-radius: 22px;
  border: 1px solid color-mix(in oklab, var(--text) 10%, transparent);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  padding: 2rem 1.7rem;
  text-align: center;
  flex: 1 1 320px;
  max-width: 360px;
  min-height: 330px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.32);
}

.service-card .icon {
  font-size: 2.7rem;
  margin-bottom: 1.1rem;
  text-shadow: 0 0 10px rgba(37,99,235,0.4);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
  color: var(--text);
}

.service-card p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 1.05rem;
  max-width: 90%;
  margin: 0 auto;
}

/* ===== PROCESS ===== */
.process-section {
  text-align: center;
  padding: 5rem 1rem;
  max-width: 1300px;
  margin: 0 auto;
}

.process-section h2 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

.step {
  background: color-mix(in oklab, var(--card) 96%, transparent);
  border-radius: 22px;
  border: 1px solid color-mix(in oklab, var(--text) 10%, transparent);
  padding: 2rem 1.8rem;
  max-width: 330px;
  flex: 1 1 300px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  transition: transform 0.25s ease;
}

.step:hover {
  transform: translateY(-8px);
}

.step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 14px rgba(37,99,235,0.6);
}

.step h3 {
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.step p {
  color: var(--muted);
}

/* ===== CTA ===== */
.cta-services {
  margin: 5rem auto 3rem;
  text-align: center;
  max-width: 1100px;
  padding: 3.5rem 1rem;
  background: linear-gradient(135deg, #2563eb, #22d3ee);
  border-radius: 22px;
  color: white;
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
}

.cta-services h2 {
  font-size: clamp(1.7rem, 4vw, 2.2rem);
}

.cta-services p {
  margin: 1rem auto 2.2rem;
  max-width: 700px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.95);
}

.cta-services .btn.primary {
  background: white;
  color: #2563eb;
  padding: 0.9rem 1.6rem;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
  text-decoration: none;
  transition: transform 0.25s ease;
}

.cta-services .btn.primary:hover {
  transform: translateY(-3px);
  background: #f2f2f6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .services-grid,
  .process-steps {
    flex-direction: column;
    align-items: center;
  }
}
