/* ==========================================================================
   /a-propos-expertise — la feuille de la page, portée depuis l'original.

   **Pourquoi elle n'existait pas.** La page d'origine ne passait pas par un
   module CSS : elle portait ses styles DANS son propre fichier, en deux blocs
   en ligne — un `<style jsx>` (l. 340) et un
   `<style dangerouslySetInnerHTML>` (l. 578) de
   `NEXJTS/pages/a-propos-expertise.js`. La conversion a repris le balisage,
   mot pour mot, mais pas ces deux blocs : la page chargeait `a-propos.css`,
   la feuille de l'AUTRE page « À propos », et vingt-quatre de ses
   trente-quatre classes n'avaient aucune règle nulle part.

   Les deux blocs sont ici, tels quels : aucune valeur n'est changée, seule
   l'indentation est reprise. Le `<style jsx>` de Next portait des sélecteurs
   de classes ordinaires et un balisage identique : servi comme feuille
   globale, il rend la même chose.

   Porté le 12/10/2026. Cf. `compte-rendu-vitrines.txt`.
   ========================================================================== */

/* --- Bloc 1 : `<style jsx>` de la page d'origine, l. 340 --------------- */

.image-container {
  position: relative;
  width: 100%;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.roles-cles {
  padding: 7rem 2rem;
  background-color: var(--cream);
  position: relative;
  overflow: hidden;
}

.roles-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(184, 134, 11, 0.03) 0%, transparent 25%),
    radial-gradient(circle at 80% 80%, rgba(153, 101, 21, 0.03) 0%, transparent 25%),
    linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 50%, var(--cream-dark) 100%);
  z-index: 0;
}

.roles-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.roles-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.header-ornament {
  height: 2px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--gold));
  position: relative;
}

.header-ornament.left {
  margin-right: 2rem;
  transform: scaleX(-1);
}

.header-ornament.right {
  margin-left: 2rem;
}

.header-ornament::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--gold);
}

.roles-title {
  font-family: 'Antic Didone', serif;
  font-size: 2.6rem;
  text-align: center;
  color: var(--gold-dark);
  position: relative;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.roles-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  font-size: 1.15rem;
  color: var(--gray-600);
  line-height: 1.7;
  position: relative;
}

.roles-intro::after {
  content: '';
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

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

.center-card {
  width: 100%;
  max-width: 400px;
  margin: 3rem auto 0;
}

.softskill-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.card-content {
  padding: 2.5rem 2rem 2rem;
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-hover-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(250, 249, 246, 0.6) 0%, rgba(245, 244, 241, 0.6) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.softskill-card:hover .card-hover-effect {
  opacity: 1;
}

.softskill-card:hover .softskill-icon {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(184, 134, 11, 0.15);
}

.softskill-icon-wrapper {
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(184, 134, 11, 0.15);
}

.softskill-icon {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 600;
  font-family: 'Antic Didone', serif;
  box-shadow: 0 5px 15px rgba(184, 134, 11, 0.1);
  transition: all 0.4s ease;
}

.softskill-card h4 {
  font-family: 'Antic Didone', serif;
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.softskill-card p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.7;
  flex-grow: 1;
}

.softskill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(184, 134, 11, 0.1);
}

@media screen and (max-width: 768px) {
  .roles-cles {
    padding: 5rem 1.5rem;
  }

  .roles-title {
    font-size: 2.2rem;
  }

  .header-ornament {
    width: 40px;
  }

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

  .softskill-card {
    max-width: 450px;
    margin: 0 auto;
  }

  .center-card {
    max-width: 450px;
    margin: 3rem auto 0;
  }
}

/* --- Bloc 2 : `<style dangerouslySetInnerHTML>`, l. 578 ---------------- */

.stat-card {
  text-align: center;
  background: rgba(255,255,255,0.1);
  padding: 2rem 1.5rem;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.3s ease;
  cursor: pointer;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  background: rgba(255,255,255,0.15);
}

.stat-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #B8860B, #DAA520);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(184,134,11,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover + .stat-icon,
.stat-card:hover ~ .stat-icon,
.stat-icon:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 5px 15px rgba(184,134,11,0.6);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #DAA520, #FFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s ease;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.stat-card:hover .stat-number {
  transform: scale(1.05);
}

@media (max-width: 992px) {
  #stats-desktop-timeline {
    display: none;
  }
  #stats-mobile-timeline {
    display: flex;
  }
}

@media (min-width: 993px) {
  #stats-desktop-timeline {
    display: flex;
  }
  #stats-mobile-timeline {
    display: none;
  }
}

@media (max-width: 600px) {
  .mobile-stat-container {
    justify-content: flex-start !important;
    padding-left: 3rem !important;
  }

  .stat-icon-mobile {
    left: 0 !important;
  }
}

/* --- Bloc 3 : la section des chiffres ------------------------------------
   L'original ne lui donnait aucune classe : sa mise en page vivait dans des
   objets `style={{…}}` posés sur chaque élément, de la ligne 571 à la ligne
   790 de `NEXJTS/pages/a-propos-expertise.js`. La conversion a nommé ces
   éléments — `metrics-section`, `metrics-container`, `metrics-title`,
   `metrics-eyebrow`, `metrics-description`, `metrics-grid`, `metric-item`,
   `stat-title`, `stat-description` — sans jamais écrire les règles
   correspondantes : neuf classes sans style.

   Les valeurs ci-dessous sont celles des objets d'origine, reportées une à
   une. La frise — le trait doré qui relie les chiffres et le décalage d'un
   élément sur deux — est reprise elle aussi.
   -------------------------------------------------------------------------- */

.metrics-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #5f7386, #7b8a99);
  color: white;
  position: relative;
  overflow: hidden;
}

.metrics-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.metrics-title {
  font-family: 'Antic Didone', serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  font-weight: 400;
  text-align: center;
}

.metrics-eyebrow {
  display: block;
  font-size: clamp(0.8rem, 2vw, 1rem);
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #F0D080;
  margin-bottom: 1rem;
}

.metrics-description {
  max-width: 700px;
  margin: 0 auto;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  padding: 0 1rem;
}

/* L'en-tête de la section était centré par un conteneur intermédiaire que la
   conversion n'a pas repris : le centrage est posé ici. */
.metrics-container > .metrics-title,
.metrics-container > .metrics-description { text-align: center; }

.metrics-container > .metrics-title { display: block; margin-bottom: 1.5rem; }

/* La frise : le trait doré derrière les quatre chiffres, et l'alternance. */
.metrics-grid {
  position: relative;
  margin-top: 5rem;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
}

.metrics-grid::before {
  content: '';
  position: absolute;
  left: 5%;
  right: 5%;
  top: 32px;
  height: 2px;
  background: linear-gradient(90deg, rgba(184,134,11,0.3), #B8860B, rgba(184,134,11,0.3));
  z-index: 1;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 22%;
  position: relative;
  z-index: 2;
}

.metric-item:nth-child(even) { margin-top: 6rem; }

.metric-item .stat-icon span {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
}

.stat-title {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  color: #F0D080;
  font-weight: 600;
  margin-bottom: 1rem;
}

.stat-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* Sous 900 px, l'original passait sur une frise verticale : la grille se
   déplie en colonne et l'alternance disparaît. */
@media (max-width: 900px) {
  .metrics-grid { flex-direction: column; gap: 2rem; margin-top: 2rem; }
  .metrics-grid::before { display: none; }
  .metric-item { width: 100%; }
  .metric-item:nth-child(even) { margin-top: 0; }
}
