/* ===== Styles pour les pages de navigation ===== */

h1{
    text-align: center;
}

/* Texte d'introduction */
.intro-text {
  max-width: 800px;
  margin: 2rem auto 3rem;
  text-align: center;
  font-size: 1.1rem;
  color: var(--muted);
}

/* Processus en étapes */
.process-steps {
  max-width: 900px;
  margin: 0 auto 4rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 2rem;
  top: 3rem;
  bottom: 3rem;
  width: 2px;
  background: linear-gradient(180deg, 
    rgba(46,196,182,0.4) 0%, 
    rgba(124,58,237,0.4) 50%, 
    rgba(244,184,96,0.4) 100%
  );
}

.step {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #3A5974, #1F3A4B);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(58, 89, 116, 0.3);
  position: relative;
  z-index: 1;
}

.step-content {
  flex: 1;
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(15,23,42,0.08);
  border: 1px solid rgba(216,225,234,0.8);
  transition: transform .2s ease, box-shadow .2s ease;
}

.step-content:hover {
  transform: translateX(5px);
  box-shadow: 0 12px 32px rgba(15,23,42,0.12);
}

.step-content h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: var(--primary);
}

.step-content p {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.step-content p:last-child {
  margin-bottom: 0;
}

.step-highlight {
  color: var(--primary-dark);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(216,225,234,0.6);
}

/* Section tarifs/pricing */
.pricing-section {
  max-width: 800px;
  margin: 4rem auto;
  text-align: center;
}

.pricing-section h2 {
  margin-bottom: 2rem;
}

.pricing-section p {
  text-align: justify;
  margin-bottom: 1.5rem;
}

.pricing-section p:last-of-type {
  margin-bottom: 2.5rem;
}

/* Catégories de projets */
.project-category {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.category-title {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: currentColor;
  opacity: 0.15;
}

.category-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--text-muted, #666);
}

/* Style 1: Liste numérotée (Projets Web) */
.project-list {
  max-width: 900px;
  margin: 0 auto;
}

.project-item {
  position: relative;
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 2rem;
  border-left: 2px solid rgba(58, 89, 116, 0.3);
  background: rgba(255, 255, 255, 0.86);
  border-radius: var(--radius, 22px);
  box-shadow: 0 10px 30px rgba(15,23,42,0.10);
  border: 1px solid rgba(216,225,234,0.95);
  border-left: 2px solid rgba(58, 89, 116, 0.3);
  overflow: hidden;
  transition: box-shadow .15s ease, transform .15s ease;
}

.project-item::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg,
    rgba(46,196,182,0.55),
    rgba(124,58,237,0.30),
    rgba(244,184,96,0.28)
  );
  z-index: -1;
  border-radius: calc(var(--radius, 22px) + 2px);
  opacity: 0;
  transition: opacity .15s ease;
}

.project-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 60px rgba(15,23,42,0.12);
}

.project-item:hover::before {
  opacity: .26;
}

.project-number {
  font-size: 2.5rem;
  font-weight: 400;
  opacity: 0.12;
  line-height: 1;
  flex-shrink: 0;
  transition: opacity .15s ease;
}

.project-item:hover .project-number {
  opacity: 0.18;
}

.project-content h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.project-content p {
  margin-bottom: 1rem;
  color: var(--muted, #55657A);
  line-height: 1.6;
}

.project-tech {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--muted, #55657A);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid rgba(216, 225, 234, 0.8);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  float: right;
}

.project-link:hover {
  background: linear-gradient(135deg, #2563EB, #5B21B6);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.project-content::after {
  content: "";
  display: table;
  clear: both;
}

/* Style 2: Grille avec icônes (Formation) */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-box {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.project-box:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.project-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.project-box h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.3rem;
}

.project-box p {
  color: var(--text-muted, #666);
  font-size: 0.95rem;
}

/* Style 3: Showcase asymétrique (Développement sur mesure) */
.project-showcase {
  max-width: 1000px;
  margin: 0 auto;
}

.showcase-item {
  padding: 2rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.showcase-item:hover {
  border-color: currentColor;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.showcase-featured {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.05) 100%);
  border-width: 3px;
}

.showcase-item h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.showcase-item p {
  color: var(--text-muted, #666);
  margin-bottom: 1rem;
}

.showcase-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.showcase-tags span {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

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

/* ===== Page Équipe ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

.member-card {
  position: relative;
  background: rgba(255, 255, 255, 0.86);
  border-radius: var(--radius, 22px);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(15,23,42,0.10);
  border: 1px solid rgba(216,225,234,0.95);
  overflow: hidden;
  transition: box-shadow .15s ease, transform .15s ease;
}

.member-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg,
    rgba(46,196,182,0.55),
    rgba(124,58,237,0.30),
    rgba(244,184,96,0.28)
  );
  z-index: -1;
  border-radius: calc(var(--radius, 22px) + 2px);
  opacity: 0;
  transition: opacity .15s ease;
}

.member-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 60px rgba(15,23,42,0.12);
}

.member-card:hover::before {
  opacity: .26;
}

.member-image {
  width: 100%;
  max-width: 280px;
  height: 320px;
  margin: 0 auto 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(46,196,182,0.1), rgba(124,58,237,0.1));
  box-shadow: 0 8px 24px rgba(15,23,42,0.12);
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.member-content {
  text-align: center;
}

.member-content h2 {
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
}

.member-role {
  color: var(--muted, #55657A);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.member-description {
  text-align: left;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: var(--text, #0F172A);
}

.member-skills {
  text-align: left;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(216,225,234,0.7);
}

.member-skills h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  color: var(--muted, #55657A);
  font-weight: 600;
}

.member-skills ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
}

.member-skills li {
  padding: 0.4rem 0.8rem;
  background: rgba(46,196,182,0.08);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text, #0F172A);
  text-align: center;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .project-list {
    max-width: 100%;
  }
  
  .project-item {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .project-number {
    font-size: 2rem;
    text-align: center;
  }
  
  .member-image {
    max-width: 220px;
    height: 260px;
  }
  
  .pricing-section {
    padding: 0 1rem;
  }
  
  .member-skills ul {
    grid-template-columns: 1fr 1fr;
  }
  
  .category-title {
    font-size: 1.5rem;
  }
  
  .category-intro {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .project-number {
    font-size: 1.5rem;
  }
  
  .member-image {
    max-width: 180px;
    height: 220px;
  }
  
  .member-card {
    padding: 1.5rem;
  }
  
  .member-skills ul {
    grid-template-columns: 1fr;
  }
}
