/* =========================================================
   BANGOUA-IT
   Page d'accueil
   ========================================================= */


/* =========================================================
   HERO
   ========================================================= */

.home-hero {
  position: relative;

  display: flex;
  align-items: center;

  overflow: hidden;
  background: #071525;
}


.home-hero-bg {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}


.home-hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(4,15,29,.94) 0%,
      rgba(4,15,29,.82) 48%,
      rgba(4,15,29,.45) 100%
    );
}


.home-hero-content {
  position: relative;
  z-index: 2;

  padding-top: 2.2rem;
  padding-bottom: 2.2rem;

  color: #ffffff;
}


.home-eyebrow {
  display: block;

  margin-bottom: .55rem;

  color: #38bdf8;

  font-size: .8rem;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: .1em;
}


.home-hero h1 {
  max-width: 850px;

  margin: 0 0 .6rem;

  color: #ffffff;

  font-size: clamp(
    2.2rem,
    1.7rem + 1.5vw,
    3.2rem
  );

  line-height: 1.08;
}


.home-lead {
  max-width: 760px;

  margin: 0;

  color: #e2e8f0;

  font-size: 1.08rem;
  line-height: 1.65;
}


.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;

  margin-top: 1.1rem;
}


.home-nsi-link {
  display: inline-block;

  margin-top: .8rem;

  color: #bae6fd;

  font-size: .9rem;
  font-weight: 600;

  text-decoration: none;
}


.home-nsi-link:hover {
  text-decoration: underline;
}


/* =========================================================
   BOUTONS
   ========================================================= */

.home-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: .75rem 1.1rem;

  border-radius: 10px;

  font-weight: 700;

  text-decoration: none;

  transition:
    background .2s ease,
    transform .2s ease;
}


.home-button.primary {
  background: #0284c7;
  color: #ffffff;
}


.home-button.primary:hover {
  background: #0369a1;

  transform: translateY(-2px);
}


.home-button.secondary {
  border:
    1px solid rgba(125,211,252,.38);

  background:
    rgba(255,255,255,.07);

  color: #e0f2fe;
}


.home-button.secondary:hover {
  background:
    rgba(255,255,255,.14);
}


/* =========================================================
   SECTIONS
   ========================================================= */

.home-section {
  padding-top: 2.7rem;
  padding-bottom: 3rem;
}


.home-section-heading {
  margin-bottom: 1.6rem;
}


.home-section-kicker {
  display: block;

  margin-bottom: .35rem;

  color: #0284c7;

  font-size: .78rem;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: .08em;
}


.home-section-heading h2 {
  margin: 0 0 .7rem;

  color: #0f172a;

  font-size:
    clamp(
      1.6rem,
      1.4rem + .7vw,
      2.1rem
    );
}


.home-section-heading p {
  max-width: 820px;

  margin: 0;

  color: #64748b;

  line-height: 1.65;
}


/* =========================================================
   MÉTHODE
   ========================================================= */

.home-method {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0,1fr));

  gap: 1rem;
}


.home-method-step {
  padding: 1.2rem;

  border: 1px solid #dbe5ef;
  border-radius: 14px;

  background:
    linear-gradient(
      135deg,
      #eff6ff,
      #ffffff
    );
}


.home-method-step > span {
  display: block;

  margin-bottom: .5rem;

  color: #38bdf8;

  font-size: .75rem;
  font-weight: 800;
}


.home-method-step strong {
  display: block;

  margin-bottom: .35rem;

  color: #0f172a;

  font-size: 1.05rem;
}


.home-method-step p {
  margin: 0;

  color: #64748b;

  font-size: .9rem;
  line-height: 1.55;
}


/* =========================================================
   PROJET MIS EN AVANT
   ========================================================= */

.home-project-section {
  padding: 2.8rem 0;

  background: #f8fbff;

  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}


.home-project {
  display: grid;

  grid-template-columns: 1fr .9fr;

  gap: 2rem;

  align-items: center;
}


.home-project-content h2 {
  margin: .2rem 0 .75rem;

  color: #0f172a;

  font-size:
    clamp(
      1.7rem,
      1.45rem + .8vw,
      2.2rem
    );
}


.home-project-content h2 span {
  color: #0284c7;
}


.home-project-content p {
  max-width: 690px;

  margin: 0 0 1.2rem;

  color: #64748b;

  line-height: 1.7;
}


.home-project-tags {
  display: flex;
  flex-wrap: wrap;

  gap: .5rem;

  margin-bottom: 1.3rem;
}


.home-project-tags span {
  padding: .42rem .7rem;

  border: 1px solid #bfdbfe;
  border-radius: 999px;

  background: #eff6ff;

  color: #0369a1;

  font-size: .78rem;
  font-weight: 700;
}


.home-project-visual {
  padding: .8rem;

  border-radius: 16px;

  background: #071525;

  box-shadow:
    0 12px 30px rgba(15,23,42,.12);
}


.home-project-visual img {
  display: block;

  width: 100%;
  height: auto;
}

/* =========================================================
   INTERVENTION / CONTACT
   ========================================================= */

.home-contact-strip {
  border-top: 1px solid #dbe5ef;
  background: #ffffff;
}

.home-contact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 2rem;

  padding-top: 1rem;
  padding-bottom: 1rem;
}

.home-contact-strip-inner > div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;

  gap: .45rem 1rem;
}

.home-contact-strip .home-section-kicker {
  width: 100%;
  margin-bottom: 0;
}

.home-contact-strip strong {
  color: #0f172a;
  font-size: 1.05rem;
}

.home-contact-text {
  color: #64748b;
  font-size: .92rem;
}

.home-contact-link {
  flex: 0 0 auto;

  color: #0284c7;

  font-weight: 700;
  text-decoration: none;
}

.home-contact-link:hover {
  color: #0369a1;
  text-decoration: underline;
}

@media (max-width: 700px) {

  .home-contact-strip-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: .8rem;
  }

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

  .home-method {
    grid-template-columns:
      repeat(2, minmax(0,1fr));
  }

  .home-project {
    grid-template-columns: 1fr;
  }

  .home-project-visual {
    order: -1;
  }

}


@media (max-width: 650px) {

  .home-hero {
    min-height: auto;
  }

  .home-hero-content {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .home-method {
    grid-template-columns: 1fr;
  }

  .home-contact {
    align-items: flex-start;
    flex-direction: column;
  }

}
