/* ================================================================
   PAGE RÉALISATIONS - GROUPE OLOUSTREAM
   Design fidèle à la maquette
================================================================ */

/* ============================
   BANNIÈRE HERO
============================ */
.banniere-realisations {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  overflow: hidden;
  background: var(--noir);
}

.banniere-real-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.banniere-real-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banniere-real-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(10, 10, 10, 0.85) 40%,
    rgba(10, 10, 10, 0.3) 100%
  );
  z-index: 2;
}

.banniere-realisations .container {
  position: relative;
  z-index: 10;
}

.banniere-real-content {
  max-width: 650px;
}

.banniere-real-titre {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--blanc);
  line-height: 1;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.banniere-real-slogan {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.banniere-real-slogan .rouge {
  color: var(--rouge);
}

.banniere-real-slogan .blanc {
  color: var(--blanc);
}

.banniere-real-desc {
  color: var(--texte-clair);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 35px;
  max-width: 500px;
}

/* 3 Points (Expertise, Engagement, Innovation) */
.banniere-real-points {
  display: flex;
  gap: 35px;
  flex-wrap: wrap;
}

.real-point {
  display: flex;
  align-items: center;
  gap: 12px;
}

.real-point-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid rgba(230, 57, 70, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rouge);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.real-point-text .label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blanc);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.real-point-text .value {
  font-size: 0.72rem;
  color: var(--texte-clair);
  line-height: 1.3;
}

/* ============================
   BLOC CHIFFRES BLANC
============================ */
.section-chiffres-blanc {
  background: var(--noir);
  padding: 0 0 30px;
  position: relative;
  z-index: 5;
}

.chiffres-blanc-wrapper {
  background: var(--blanc);
  border-radius: 6px;
  padding: 35px 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.chiffre-blanc {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 15px;
  border-right: 1px solid #E5E5E5;
}

.chiffre-blanc:last-child {
  border-right: none;
}

.chiffre-blanc-icon {
  color: var(--rouge);
  font-size: 2rem;
  flex-shrink: 0;
}

.chiffre-blanc-nombre {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--rouge);
  line-height: 1;
  margin-bottom: 3px;
}

.chiffre-blanc-label {
  font-size: 0.72rem;
  color: #666;
  text-transform: none;
  line-height: 1.4;
}

/* ============================
   SECTION RÉALISATIONS PAR CATÉGORIE
============================ */
.section-realisations-cat {
  padding: 60px 0;
  background: var(--noir);
}

.realisations-cat-header {
  margin-bottom: 30px;
}

.realisations-cat-header h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blanc);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding-bottom: 12px;
  position: relative;
  display: inline-block;
}

.realisations-cat-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--rouge);
  border-radius: 2px;
}

/* Filtres catégories */
.filtres-categories {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filtre-cat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--gris-fonce);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: var(--blanc);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filtre-cat:hover {
  background: rgba(230, 57, 70, 0.15);
  border-color: var(--rouge);
  color: var(--blanc);
}

.filtre-cat.actif {
  background: var(--rouge);
  border-color: var(--rouge);
  color: var(--blanc);
}

.filtre-cat i {
  font-size: 0.95rem;
}

/* Grille des réalisations */
.realisations-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.real-carte {
  background: var(--noir-2);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.real-carte:hover {
  transform: translateY(-8px);
  border-color: var(--rouge);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.real-carte-image {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: var(--gris);
}

.real-carte-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.real-carte:hover .real-carte-image img {
  transform: scale(1.05);
}

.real-carte-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--rouge);
  color: var(--blanc);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.real-carte-body {
  padding: 20px;
}

.real-carte-titre {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--blanc);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.real-carte-client {
  font-size: 0.78rem;
  color: var(--texte-clair);
  margin-bottom: 12px;
}

.real-carte-client strong {
  color: var(--rouge);
  font-weight: 700;
}

.real-carte-desc {
  font-size: 0.8rem;
  color: var(--texte-clair);
  line-height: 1.6;
  margin-bottom: 18px;
}

.real-carte-lien {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rouge);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: gap 0.3s ease;
}

.real-carte-lien::after {
  content: '→';
  transition: transform 0.3s ease;
}

.real-carte-lien:hover {
  gap: 12px;
  color: var(--rouge-fonce);
}

/* Bouton "Voir plus" */
.voir-plus-wrapper {
  text-align: center;
  margin-top: 40px;
}

.btn-voir-plus {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: var(--blanc);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-voir-plus:hover {
  background: var(--rouge);
  border-color: var(--rouge);
  color: var(--blanc);
  transform: translateY(-2px);
}

.btn-voir-plus .btn-icon {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* ============================
   ILS NOUS FONT CONFIANCE
============================ */
.section-confiance {
  padding: 60px 0;
  background: var(--noir);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.confiance-header {
  margin-bottom: 30px;
}

.confiance-header h2 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--blanc);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding-bottom: 12px;
  position: relative;
  display: inline-block;
}

.confiance-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--rouge);
  border-radius: 2px;
}

/* Témoignages */
.temoignages-grille {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.temoignage-item {
  padding: 0 15px;
}

.temoignage-guillemets {
  color: var(--rouge);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
  font-family: Georgia, serif;
}

.temoignage-texte {
  font-size: 0.82rem;
  color: var(--texte-clair);
  line-height: 1.7;
  margin-bottom: 15px;
  font-style: normal;
}

.temoignage-auteur {
  font-size: 0.75rem;
  color: var(--blanc);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Logos partenaires confiance */
.logos-confiance {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 30px;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-confiance {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 55px;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.logo-confiance:hover {
  opacity: 1;
}

.logo-confiance img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* ============================
   BANDE CTA ROUGE
============================ */
.section-cta-projet {
  background: var(--rouge);
  padding: 35px 0;
}

.cta-projet-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr auto auto;
  gap: 30px;
  align-items: center;
}

.cta-projet-titre h3 {
  color: var(--blanc);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.3;
  margin-bottom: 4px;
}

.cta-projet-titre h3 .fin {
  display: block;
  font-size: 1.1rem;
  margin-top: 3px;
}

.cta-projet-desc {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.82rem;
  line-height: 1.6;
}

.btn-cta-projet {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-cta-projet-noir {
  background: var(--noir);
  color: var(--blanc);
  border: 2px solid var(--noir);
}

.btn-cta-projet-noir:hover {
  background: #000;
  color: var(--blanc);
  transform: translateY(-2px);
}

.btn-cta-projet-outline {
  background: transparent;
  color: var(--blanc);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-cta-projet-outline:hover {
  background: var(--blanc);
  color: var(--rouge);
  border-color: var(--blanc);
  transform: translateY(-2px);
}

.btn-cta-projet .btn-icon {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.btn-cta-projet-outline .btn-icon {
  background: rgba(255, 255, 255, 0.2);
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 1100px) {
  .banniere-real-points {
    gap: 20px;
  }

  .chiffres-blanc-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }

  .chiffre-blanc:nth-child(3) {
    border-right: none;
  }

  .chiffre-blanc {
    border-bottom: 1px solid #E5E5E5;
    padding-bottom: 20px;
  }

  .realisations-grille {
    grid-template-columns: repeat(2, 1fr);
  }

  .temoignages-grille {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .logos-confiance {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }

  .cta-projet-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .btn-cta-projet {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .banniere-real-points {
    flex-direction: column;
    gap: 15px;
  }

  .chiffres-blanc-wrapper {
    grid-template-columns: 1fr;
    padding: 25px 20px;
  }

  .chiffre-blanc {
    border-right: none;
    border-bottom: 1px solid #E5E5E5;
    padding-bottom: 20px;
    justify-content: center;
  }

  .filtres-categories {
    gap: 8px;
  }

  .filtre-cat {
    padding: 10px 15px;
    font-size: 0.7rem;
  }

  .realisations-grille {
    grid-template-columns: 1fr;
  }

  .temoignages-grille {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .logos-confiance {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}