/* =========================================
   FORUM EN BREF
========================================= */

.forum-brief-section {
  width: 100%;
  padding: 70px 20px 65px;
  background: #ffffff;
}

.forum-brief-container {
  width: 100%;
  max-width: 930px;
  margin: 0 auto;
}

/* En-tête */
.forum-brief-header {
  text-align: center;
  margin-bottom: 38px;
}

.forum-brief-header span {
 display: inline-block;
  color: #005de5;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.forum-brief-header h2 {
  color: #007bff; 
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -1px;
}

/* Grille principale */
.forum-brief-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 42px;
  align-items: start;
}

/* Texte gauche */
.forum-brief-text p {
  margin: 0 0 18px;

  color: #26344a;
  font-size: 0.93rem;
  line-height: 1.62;
}

.forum-brief-text strong {
  color: #007bff; 
  font-weight: 800;
}

/* Partie droite */
.forum-brief-right {
  width: 100%;
}

/* Citation */
.forum-quote {
  display: flex;
  gap: 15px;

  padding: 20px 20px;

  background: #f3f6fa;
  border-left: 3px solid #1769aa;
  border-radius: 10px;
}

.forum-quote-icon {
  flex-shrink: 0;
  color: #1769aa;
  font-size: 1.8rem;
  line-height: 1;
}

.forum-quote-content p {
  margin: 0 0 10px;

  color: #26344a;
  font-size: 0.9rem;
  line-height: 1.45;
  font-style: italic;
}

.forum-quote-content strong {
  color: #007bff; 
  font-weight: 800;
}

.forum-quote-content span {
  color: #6b7280;
  font-size: 0.75rem;
}

/* KPI */
.forum-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;

  margin-top: 14px;
}

.forum-stat-card {
  min-height: 94px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 14px 10px;

  background: #f7f8fa;
  border-radius: 8px;

  text-align: center;
}

.forum-stat-card strong {
  margin-bottom: 4px;

  color: #0b5ea8;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.forum-stat-card span {
  color: #667085;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* =========================================
   TABLETTE
========================================= */

@media (max-width: 900px) {

  .forum-brief-section {
    padding: 60px 24px;
  }

  .forum-brief-container {
    max-width: 760px;
  }

  .forum-brief-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .forum-brief-right {
    max-width: 650px;
    margin: 0 auto;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 575px) {

  .forum-brief-section {
    padding: 50px 18px;
  }

  .forum-brief-header {
    margin-bottom: 30px;
  }

  .forum-brief-header h2 {
    font-size: 2rem;
  }

  .forum-brief-text p {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .forum-quote {
    padding: 18px 16px;
  }

  .forum-quote-icon {
    font-size: 1.5rem;
  }

  .forum-quote-content p {
    font-size: 0.85rem;
  }

  .forum-stats {
    gap: 8px;
  }

  .forum-stat-card {
    min-height: 82px;
    padding: 12px 8px;
  }

  .forum-stat-card strong {
    font-size: 1.25rem;
  }

  .forum-stat-card span {
    font-size: 0.6rem;
  }
}

/* Très petits écrans */
@media (max-width: 380px) {

  .forum-brief-section {
    padding-inline: 14px;
  }

  .forum-stats {
    grid-template-columns: 1fr;
  }

  .forum-stat-card {
    min-height: 70px;
  }
}
/* =========================================
   GALERIE BAGOFIT
========================================= */

.forum-gallery-section {
  width: 100%;
  padding: 65px 20px 75px;
  background: #f7f8fa;
}

.forum-gallery-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

/* Petit texte sous le titre */
.forum-gallery-intro {
  max-width: 700px;
  margin: 14px auto 0;

  color: #526075;
  font-size: 0.9rem;
  line-height: 1.55;
  text-align: center;
}

/* Grille */
.forum-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

/* Image */
.forum-gallery-item {
  position: relative;
  display: block;

  height: 180px;

  overflow: hidden;
  border-radius: 10px;

  background: #e9edf3;

  cursor: zoom-in;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.forum-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.14);
}

.forum-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;

  transition: transform 0.45s ease;
}

.forum-gallery-item:hover img {
  transform: scale(1.06);
}

/* Petit overlay au survol */
.forum-gallery-item::after {
  content: "\F52A";

  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(7, 20, 46, 0);

  color: #fff;
  font-family: "bootstrap-icons";
  font-size: 1.8rem;

  opacity: 0;

  transition:
    background 0.3s ease,
    opacity 0.3s ease;
}

.forum-gallery-item:hover::after {
  background: rgba(7, 20, 46, 0.35);
  opacity: 1;
}

/* =========================================
   TABLETTE
========================================= */

@media (max-width: 991px) {

  .forum-gallery-section {
    padding: 60px 20px 70px;
  }

  .forum-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .forum-gallery-item {
    height: 170px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

  .forum-gallery-section {
    padding: 50px 16px 60px;
  }

  .forum-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 30px;
  }

  .forum-gallery-item {
    height: 145px;
    border-radius: 10px;
  }

  .forum-gallery-intro {
    font-size: 0.86rem;
  }
}

/* Très petits écrans */
@media (max-width: 400px) {

  .forum-gallery-grid {
    gap: 8px;
  }

  .forum-gallery-item {
    height: 125px;
  }
}

/* =========================================
   SECTION DÉMO BAGOFIT
========================================= */

.forum-demo-section {
  width: 100%;
  padding: 65px 20px 75px;
  background: #ffffff;
}

.forum-demo-container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
}

/* Texte sous le titre principal */
.forum-demo-intro {
  max-width: 700px;
  margin: 14px auto 0;

  color: #526075;
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
}

/* =========================================
   TEXTE + VIDÉO
========================================= */

.forum-demo-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 55px;

  margin-top: 42px;
}

/* Colonne gauche */
.forum-demo-content {
  width: 100%;
}

.forum-demo-label {
  display: inline-block;

  margin-bottom: 9px;

  color: #075ca8;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.forum-demo-content h3 {
  margin: 0 0 18px;

   color: #007bff;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.7px;
}

.forum-demo-content p {
  margin: 0 0 16px;

  color: #526075;
  font-size: 0.88rem;
  line-height: 1.65;
}

/* =========================================
   BOUTONS
========================================= */

.forum-demo-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;

  margin-top: 25px;
}

.forum-demo-btn-primary,
.forum-demo-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-height: 44px;
  padding: 11px 18px;

  border-radius: 7px;

  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;

  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Bouton principal */
.forum-demo-btn-primary {
  background: #1769aa;
  border: 1px solid #1769aa;
  color: #ffffff;
}

.forum-demo-btn-primary:hover {
  color: #ffffff;
  background: #0f5794;
  transform: translateY(-3px);
}

/* Bouton secondaire */
.forum-demo-btn-secondary {
  background: #ffffff;
  border: 1px solid #1769aa;
  color: #1769aa;
}

.forum-demo-btn-secondary:hover {
  background: #f2f7fc;
  color: #1769aa;
  transform: translateY(-3px);
}

/* =========================================
   CARTE VIDÉO
========================================= */

.forum-demo-video-card {
  overflow: hidden;

  background: #ffffff;
  border: 1px solid #e4e9ef;
  border-radius: 12px;

  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

/* Vidéo paysage */
.forum-demo-video-wrapper {
  position: relative;

  width: 100%;
  aspect-ratio: 16 / 9;

  overflow: hidden;
  background: #07142e;
}

.forum-demo-video {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;
}

/* Texte sous vidéo */
.forum-demo-video-info {
  padding: 14px 16px 16px;
}

.forum-demo-video-info strong {
  display: block;

  margin-bottom: 4px;

  color: #07142e;
  font-size: 0.8rem;
  font-weight: 800;
}

.forum-demo-video-info span {
  display: block;

  color: #8a94a5;
  font-size: 0.68rem;
}

/* =========================================
   TABLETTE
========================================= */

@media (max-width: 900px) {

  .forum-demo-section {
    padding: 60px 22px 70px;
  }

  .forum-demo-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .forum-demo-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
  }

  .forum-demo-buttons {
    justify-content: center;
  }

  .forum-demo-video-card {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 575px) {

  .forum-demo-section {
    padding: 50px 16px 60px;
  }

  .forum-demo-grid {
    margin-top: 30px;
    gap: 28px;
  }

  .forum-demo-content h3 {
    font-size: 1.55rem;
  }

  .forum-demo-content p {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .forum-demo-buttons {
    flex-direction: column;
  }

  .forum-demo-btn-primary,
  .forum-demo-btn-secondary {
    width: 100%;
    max-width: 320px;
  }

  .forum-demo-video-card {
    border-radius: 10px;
  }

  .forum-demo-video-info {
    padding: 12px 13px 14px;
  }

  .forum-demo-video-info strong {
    font-size: 0.75rem;
  }

  .forum-demo-video-info span {
    font-size: 0.65rem;
  }
}

/* =========================================
   SECTION MÉDIA BAGOFIT
========================================= */

.bagofit-media-section {
  width: 100%;
  background: #ffffff;
  margin-top: -80px;
}


/* =========================
   PARTIE ARTICLES
========================= */

.bagofit-media-container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 65px 20px 70px;
}


/* Header */

.bagofit-media-header {
  max-width: 650px;
  margin: 0 auto 38px;
  text-align: center;
}

.bagofit-media-eyebrow {
  display: inline-block;

  margin-bottom: 9px;

  color: #075ca8;

  font-size: 0.7rem;
  font-weight: 800;

  letter-spacing: 0.9px;

  text-transform: uppercase;
}

.bagofit-media-header h2 {
  color: #007bff;
   
  font-size: clamp(2.7rem, 3vw, 1.9rem);
  line-height: 1.05;
  font-weight: 900;
  margin-bottom: 26px;
  letter-spacing: -0.5px;
}

.bagofit-media-header p {
  color: color-mix(in srgb, #14201c, transparent 20%);
  font-size: 1.0rem;
  line-height: 1.6;
}


/* Liste articles */

.bagofit-media-list {
  display: flex;
  flex-direction: column;

  gap: 10px;
}


/* Carte article */

.bagofit-media-item {
  width: 100%;

  min-height: 61px;

  display: flex;

  align-items: center;

  gap: 13px;

  padding: 12px 14px;

  background: #f7f8fa;

  border: 1px solid transparent;

  border-radius: 9px;

  text-decoration: none;

  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}


.bagofit-media-item:hover {
  background: #ffffff;

  transform: translateY(-2px);

  border-color: rgba(0, 123, 255, 0.18);

  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}


/* Icône */

.bagofit-media-icon {
  width: 25px;
  height: 25px;

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #eaf3fb;

  border-radius: 5px;

  color: #1769aa;

  font-size: 0.75rem;
}


/* Texte article */

.bagofit-media-info {
  flex: 1;
  min-width: 0;
}

.bagofit-media-info strong {
  display: block;

  margin-bottom: 2px;

  color: 007bff;
   

  font-size: 0.78rem;

  font-weight: 800;

  line-height: 1.3;
}

.bagofit-media-info span {
  display: block;

  color: #8b95a5;

  font-size: 0.64rem;
}


/* Flèche */

.bagofit-media-arrow {
  flex-shrink: 0;

  color: #9aa4b3;

  font-size: 0.82rem;

  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.bagofit-media-item:hover .bagofit-media-arrow {
  color: #007bff;

  transform: translateX(4px);
}



/* =========================================
   RESTEZ CONNECTÉS
========================================= */

.bagofit-follow-section {
  width: 100%;

  padding: 48px 20px 52px;

  background: #f7f8fa;
}

.bagofit-follow-container {
  width: 100%;

  max-width: 600px;

  margin: 0 auto;

  text-align: center;
}


/* Petit titre */

.bagofit-follow-eyebrow {
  display: inline-block;

  margin-bottom: 8px;

  color: #075ca8;

  font-size: 0.68rem;

  font-weight: 800;

  letter-spacing: 0.9px;

  text-transform: uppercase;
}


/* Titre */

.bagofit-follow-container h3 {
  margin: 0 0 11px;

  color: #07142e;

  font-size: 1.85rem;

  line-height: 1.1;

  font-weight: 900;

  letter-spacing: -0.7px;
}


/* Description */

.bagofit-follow-container p {
  max-width: 500px;

  margin: 0 auto 25px;

  color: #667085;

  font-size: 0.78rem;

  line-height: 1.55;
}


/* Réseaux */

.bagofit-social-grid {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 12px;
}


/* Carte réseau */

.bagofit-social-card {
  width: 90px;
  min-height: 67px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 5px;

  background: #ffffff;

  border: 1px solid #e6ebf1;

  border-radius: 10px;

  text-decoration: none;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.bagofit-social-card:hover {
  transform: translateY(-4px);

  border-color: rgba(0, 123, 255, 0.2);

  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}


/* Icône réseau */

.bagofit-social-card i {
  color: #007bff;

  font-size: 1rem;
}

.bagofit-social-card:nth-child(3) i {
  color: #25d366;
}


/* Nom réseau */

.bagofit-social-card span {
  color: #07142e;

  font-size: 0.62rem;

  font-weight: 700;
}


/* =========================================
   TABLETTE
========================================= */

@media (max-width: 768px) {

  .bagofit-media-container {
    max-width: 680px;

    padding: 58px 20px 62px;
  }


  .bagofit-follow-section {
    padding: 44px 20px 48px;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 575px) {

  .bagofit-media-container {
    padding: 50px 15px 55px;
  }


  .bagofit-media-header {
    margin-bottom: 30px;
  }


  .bagofit-media-header h2 {
    font-size: 1.8rem;
  }


  .bagofit-media-header p {
    font-size: 0.78rem;
  }


  .bagofit-media-item {
    min-height: 60px;

    padding: 11px 11px;

    gap: 9px;
  }


  .bagofit-media-icon {
    width: 24px;
    height: 24px;
  }


  .bagofit-media-info strong {
    font-size: 0.73rem;
  }


  .bagofit-media-info span {
    font-size: 0.6rem;
  }


  /* Partie réseaux */

  .bagofit-follow-section {
    padding: 42px 15px 46px;
  }


  .bagofit-follow-container h3 {
    font-size: 1.65rem;
  }


  .bagofit-follow-container p {
    font-size: 0.75rem;
  }


  .bagofit-social-grid {
    gap: 9px;
  }


  .bagofit-social-card {
    width: 82px;

    min-height: 63px;
  }

}


/* =========================================
   TRÈS PETITS ÉCRANS
========================================= */

@media (max-width: 370px) {

  .bagofit-media-item {
    padding-inline: 9px;
  }


  .bagofit-media-info strong {
    font-size: 0.69rem;
  }


  .bagofit-social-card {
    width: 76px;
  }

}