/* =========================================================
   BANGOUA-IT
   Page : Réalisations

   Ce fichier contient uniquement les styles spécifiques
   à la page /realisations/.
   ========================================================= */


/* =========================================================
   1. HERO
   ========================================================= */

.realisations-hero {
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 18% 15%,
      rgba(14, 165, 233, 0.30),
      transparent 28%
    ),
    radial-gradient(
      circle at 85% 60%,
      rgba(2, 132, 199, 0.14),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #061525 0%,
      #0b1f35 60%,
      #10263c 100%
    );

  color: #ffffff;

  /* Hero volontairement compact */
  padding: 2.8rem 0 2.6rem;
}


/* Cercle décoratif */

.realisations-hero::after {
  content: "";
  position: absolute;

  right: -100px;
  top: -180px;

  width: 420px;
  height: 420px;

  border: 1px solid rgba(125, 211, 252, 0.12);
  border-radius: 50%;

  pointer-events: none;
}


/* Petit titre au-dessus de Réalisations */

.realisations-eyebrow {
  display: inline-block;

  margin-bottom: 0.65rem;

  color: #38bdf8;

  text-transform: uppercase;
  letter-spacing: 0.09em;

  font-size: 0.82rem;
  font-weight: 800;
}


/* Titre principal */

.realisations-hero h1 {
  margin: 0 0 0.8rem;

  color: #ffffff;

  font-size: clamp(2.7rem, 6vw, 4.4rem);
  line-height: 1;
}


/* Introduction du hero */

.realisations-hero p {
  max-width: 760px;

  margin: 0;

  color: #dbeafe;

  font-size: 1.08rem;
  line-height: 1.6;
}


/* =========================================================
   2. CONTENU PRINCIPAL
   ========================================================= */

.realisations-section {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}


/* Introduction "Études de cas" */

.realisations-heading {
  margin-bottom: 2rem;
}


/* Portfolio technique */

.section-kicker {
  display: block;

  margin-bottom: 0.3rem;

  color: #0284c7;

  font-size: 0.82rem;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* Titre Études de cas */

.realisations-heading h2 {
  position: relative;

  margin: 0 0 1rem;
  padding-bottom: 0.7rem;

  color: #0f172a;

  font-size: clamp(1.8rem, 4vw, 2.5rem);
}


/* Petit trait bleu */

.realisations-heading h2::after {
  content: "";

  position: absolute;
  bottom: 0;
  left: 0;

  width: 68px;
  height: 4px;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      #0284c7,
      #38bdf8
    );
}


/* Texte d'introduction */

.realisations-heading p {
  max-width: 820px;

  margin: 0;

  color: #64748b;

  line-height: 1.6;
}


/* =========================================================
   3. PROJET PRINCIPAL
   ========================================================= */

.project-featured {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 1.5rem;

  padding: 1.6rem;

  border: 1px solid #cfe8f7;
  border-top: 5px solid #0ea5e9;
  border-radius: 1.6rem;

  background:
    linear-gradient(
      135deg,
      rgba(239, 246, 255, 0.70),
      transparent 35%
    ),
    #ffffff;

  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.10);
}


/* Colonne texte */

.project-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* Catégorie */

.project-category {
  margin-bottom: .6rem;
}


/* Titre du projet */

.project-content h2 {
  margin: 0 0 .7rem;
  color: #0f172a;
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  line-height: 1.08;
}

/* Bangoua-IT en bleu */

.project-content h2 span {
  color: #0284c7;
}


/* Introduction */

.project-intro {
  max-width: 680px;
  margin: 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
}


/* =========================================================
   4. INDICATEURS
   ========================================================= */

.project-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin: 1.2rem 0;
}


.project-metric {
  min-height: 82px;

  padding: 1rem 1.05rem;

  border: 1px solid #bfdbfe;
  border-radius: 1rem;

  background:
    linear-gradient(
      135deg,
      #eff6ff,
      #f8fbff
    );
}


.project-metric strong {
  display: block;

  margin-bottom: 0.25rem;

  color: #0369a1;

  font-size: 1rem;
}


/* Le chiffre "4" est volontairement plus grand */

.project-metric:first-child strong {
  font-size: 1.7rem;
}


.project-metric span {
  color: #64748b;

  font-size: 0.82rem;
}


/* =========================================================
   5. TECHNOLOGIES
   ========================================================= */

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1rem;
}


.project-stack span {
  padding: 0.42rem 0.7rem;

  border: 1px solid #dbeafe;
  border-radius: 999px;

  background: #f8fbff;

  color: #334155;

  font-size: 0.78rem;
}


/* =========================================================
   6. BOUTON
   ========================================================= */

.project-button {
  display: inline-flex;

  align-items: center;
  align-self: flex-start;

  gap: 0.7rem;

  padding: 0.85rem 1.15rem;

  border-radius: 0.8rem;

  background: #0284c7;
  color: #ffffff;

  font-weight: 700;

  text-decoration: none;

  box-shadow:
    0 8px 20px rgba(2, 132, 199, 0.18);

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}


.project-button:hover {
  background: #0369a1;

  transform: translateY(-2px);

  text-decoration: none;
}


/* =========================================================
   7. ZONE DU SCHÉMA SVG
   ========================================================= */

.project-visual {
  display: flex;
  flex-direction: column;

  padding: 1.2rem;

  border-radius: 1.35rem;

  background: #071525;

  box-shadow:
    0 18px 38px rgba(15, 23, 42, 0.20);
}


/* En-tête du schéma */

.project-visual-header {
  display: flex;

  align-items: center;
  justify-content: space-between;

  padding: 0.35rem 0.4rem 1rem;

  color: #ffffff;
}


.project-visual-header > div {
  display: flex;
  flex-direction: column;
}


/* Architecture */

.visual-label {
  margin-bottom: 0.1rem;

  color: #38bdf8;

  font-size: 0.72rem;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 0.08em;
}


.project-visual-header strong {
  font-size: 1rem;
}


/* Badge LAB */

.visual-status {
  padding: 0.3rem 0.55rem;

  border:
    1px solid rgba(56, 189, 248, 0.35);

  border-radius: 0.55rem;

  background:
    rgba(14, 165, 233, 0.10);

  color: #7dd3fc;

  font-size: 0.7rem;
  font-weight: 800;
}


/* Image SVG */

.project-architecture {
  display: block;

  width: 100%;
  height: auto;

  border-radius: 1rem;
}


/* Texte sous le schéma */

.visual-caption {
  margin:
    1rem
    0.4rem
    0.3rem;

  color: #94a3b8;

  font-size: 0.78rem;
  line-height: 1.6;
}


/* =========================================================
   8. RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {

  .project-featured {
    grid-template-columns: 1fr;
  }

  /*
   * Sur tablette, le schéma passe
   * avant le texte.
   */
  .project-visual {
    order: -1;
  }

}


@media (max-width: 600px) {

  .realisations-hero {
    padding:
      2.5rem
      0
      2.3rem;
  }

  .realisations-section {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .project-featured {
    padding: 1.25rem;
  }

  .project-metrics {
    grid-template-columns: 1fr;
  }

}

/* =========================================================
   MÉTHODE / FIN DE PAGE
   ========================================================= */

.realisations-method {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;

  margin-top: 2rem;
  padding: 1.6rem 0 0;

  border-top: 1px solid #dbe5ef;
}

.realisations-method h2 {
  margin: .25rem 0 .7rem;

  color: #0f172a;

  font-size: clamp(1.5rem, 3vw, 2rem);
}

.realisations-method p {
  max-width: 720px;

  margin: 0;

  color: #64748b;

  line-height: 1.65;
}

.method-steps {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;

  gap: .55rem;
}

.method-steps span {
  padding: .5rem .8rem;

  border: 1px solid #bfdbfe;
  border-radius: 999px;

  background: #eff6ff;
  color: #0369a1;

  font-size: .82rem;
  font-weight: 700;
}

@media (max-width: 800px) {

  .realisations-method {
    grid-template-columns: 1fr;
  }

}