/* Page Sous-traitance pour les agences (/sous-traitance)
   Complète service.css et projects.css sans les modifier. */

.st-section {
  border-top: 1px solid var(--border);
}

/* Encadré « Ce que je ne fais pas » */
.st-callout {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.2rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
}

.st-callout-icon {
  color: var(--accent-2);
  font-size: 1rem;
  line-height: 1.6;
  flex-shrink: 0;
}

.st-callout-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.st-callout-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* « Comment je travaille » : la 5e carte prend toute la largeur */
.st-work-grid .include-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* En 4 étapes */
.st-steps {
  list-style: none;
  padding: 0;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.st-step {
  background: var(--surface);
  padding: 2rem 1.8rem;
  transition: background var(--transition);
}

.st-step:hover {
  background: var(--surface-2);
}

.st-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(126, 34, 206, 0.2);
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent-2);
}

.st-step-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Mon parcours */
.st-parcours {
  max-width: 720px;
  margin-top: 2rem;
}

.st-parcours p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.82;
  margin-bottom: 0.9rem;
}

.st-parcours a {
  color: var(--accent-2);
}

.st-parcours a:hover {
  text-decoration: underline;
}

.st-subtitle {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-top: 3rem;
}

/* Réalisations : 2 cartes au lieu de 3 colonnes */
.projects-grid.st-projects-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .st-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .projects-grid.st-projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .st-steps {
    grid-template-columns: 1fr;
  }

  .st-callout {
    padding: 1.1rem 1.2rem;
  }
}
