/*
 * GedKey Landing — styles spécifiques aux sections About & Stats
 * Ce fichier contient UNIQUEMENT les règles des deux sections ajoutées.
 * Les règles globales (body, :root, .mega-section, .pre-title, .sec-heading…)
 * sont gérées par landing.css et ne doivent pas être redéfinies ici.
 */

/* ── Texte mis en avant avec SVG de soulignement ────────────────────────────
   Utilisé dans les titres h2 de la section About (.featured-text)           */
.featured-text {
  color: var(--clr-main);
  position: relative;
}
.featured-text svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100% + 10px);
  height: calc(100% + 40px);
  transform: translate(-50%, -50%);
}
.featured-text svg path {
  stroke: var(--clr-main);
  stroke-width: 0.5rem;
  fill: transparent;
}

/* ── Overlay image de fond (section Stats) ──────────────────────────────────*/
.overlay-photo-image-bg {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.05;
}

/* ── Info items list (section About) ────────────────────────────────────────*/
.info-items-list .info-item {
  margin-bottom: 3rem;
  display: flex;
  align-items: start;
  justify-content: start;
}
@media (max-width: 767px) {
  .info-items-list .info-item {
    margin-bottom: 2rem;
    flex-direction: column;
  }
}
.info-items-list .info-item:hover .info-icon {
  transform: translateY(-5px);
  background-color: var(--clr-main);
  color: #fff;
}
.info-items-list .info-title {
  margin-bottom: 0.75rem;
  font-weight: 500;
  font-size: 1.1rem;
  text-transform: capitalize;
}
.info-items-list .info-text {
  font-size: 0.9rem;
  opacity: 0.75;
}
.info-items-list .info-number {
  display: flex;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
  font-size: 3rem;
  font-weight: 700;
  line-height: 0.8;
  color: var(--clr-main);
}
.info-items-list .info-icon {
  display: flex;
  margin-right: 1.25rem;
  margin-bottom: 1rem;
  color: var(--clr-main);
  font-size: 2rem;
  padding: 0.75rem;
  border-radius: 0.25rem;
  background-color: rgba(9, 175, 244, 0.15);
  transition: all 0.3s ease-in-out;
}

/* ── Bouton .btn-solid (section About — "Get in touch") ─────────────────────*/
.btn-solid {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none !important;
  text-align: center;
  text-transform: capitalize;
  letter-spacing: 1px;
  outline: none;
  border: 2px solid transparent;
  border-radius: 0.25rem;
  border-bottom-left-radius: 1rem;
  border-top-right-radius: 1rem;
  padding: 0.75rem 2.25rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  color: #fff;
  background-color: var(--clr-main);
  border-color: var(--clr-main);
}
.btn-solid:hover {
  color: var(--clr-main);
  background-color: transparent;
}
@media (max-width: 575px) {
  .btn-solid {
    padding: 0.5rem 1.25rem;
  }
}

/* ── En-têtes de section About (.sec-heading.light-title) ───────────────────
   Scoped à .about pour éviter tout conflit avec les h2 de landing.css       */
.about .sec-heading.light-title .title {
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  display: inline-block;
}
@media (max-width: 991px) {
  .about .sec-heading.light-title .title {
    font-size: 1.75rem;
    font-weight: 400;
  }
}
@media (max-width: 767px) {
  .about .sec-heading.light-title .title {
    font-size: 1.5rem;
  }
}

/* ── Section About ──────────────────────────────────────────────────────────*/
.about .content-block:not(:last-child) {
  margin-bottom: 2rem;
}
.about .text-area {
  position: relative;
  padding: 3rem 0;
}
.about .text-area .sec-heading {
  margin-bottom: 1.5rem;
}
.about .text-area .about-text {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 3rem;
  opacity: 0.75;
  letter-spacing: 0.5px;
}
.about .text-area .about-text::first-letter {
  text-transform: capitalize;
}
.about .text-area .cta-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.about .text-area .cta-area .signature {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about .text-area .cta-area .signature .signature-img {
  max-width: 200px;
  width: 200px;
  height: 70px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
@media (max-width: 575px) {
  .about .text-area .cta-area .signature .signature-img {
    max-width: 150px;
    max-height: 50px;
  }
}
.about .text-area .cta-area .signature .signature-name {
  display: block;
  color: var(--clr-main);
  margin-top: -0.5rem;
  text-transform: capitalize;
}
@media (max-width: 575px) {
  .about .text-area .cta-area .signature .signature-name {
    font-size: 0.85rem;
  }
}
.about .img-area {
  width: 100%;
  height: 100%;
  padding-top: 8rem;
  padding-bottom: 8rem;
  box-sizing: border-box;
  min-height: 320px;
}
.about .img-area .image {
  width: 100%;
  height: 100%;
}
.about .img-area .about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* ── Section Stats ──────────────────────────────────────────────────────────*/
.stats {
  position: relative;
  overflow: hidden;
  z-index: 0;
  background-color: #060922;
}
.stats .stat-box {
  position: relative;
  text-align: center;
}
@media (max-width: 991px) {
  .stats .stat-box {
    margin-bottom: 2rem;
  }
}
@media (max-width: 767px) {
  .stats .stat-box {
    padding: 1rem 3rem;
  }
}
.stats .stat-box-inner {
  text-align: center;
  position: relative;
  padding: 2rem;
  color: #fff;
  background-color: rgba(6, 9, 34, 0.25);
  border: 1px solid rgba(9, 175, 244, 0.35);
  border-top: 0.25rem solid var(--clr-main);
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}
.stats .stat-icon {
  font-size: 3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-main);
  opacity: 0.65;
  transition: all 0.2s ease-in-out;
}
.stats .stat-num {
  display: block;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .stats .stat-num {
    font-size: 2rem;
  }
}
.stats .stat-desc {
  font-size: 1.1rem;
  font-weight: 400;
  display: block;
  text-transform: capitalize;
}
