/* ================================
   Bastide 1820 — Homepage Facts
================================ */

.b1820-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 2vw 4.5vw;
  background: var(--b1820-cream);
  border-top: 1px solid rgba(24, 50, 38, 0.22);
  border-bottom: 1px solid rgba(24, 50, 38, 0.22);
  align-items: center;
}

.b1820-facts article {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 52px 20px;
  border-right: 1px solid rgba(24, 50, 38, 0.22);
}

.b1820-facts article:last-child {
  border-right: 0;
}

.b1820-facts strong {
  font-family: var(--b1820-serif);
  font-size: 54px;
  font-weight: 400;
  line-height: 1;
}

.b1820-facts span {
  margin-top: 10px;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .b1820-facts {
    grid-template-columns: 1fr 1fr;
  }

  .b1820-facts article:nth-child(2) {
    border-right: 0;
  }

  .b1820-facts article:nth-child(-n+2) {
    border-bottom: 1px solid rgba(24, 50, 38, 0.22);
  }
}

@media (max-width: 640px) {
  .b1820-facts {
    margin: 0 24px;
  }

  .b1820-facts article {
    padding: 34px 10px;
  }

  .b1820-facts strong {
    font-size: 42px;
  }

  .b1820-facts span {
    font-size: 8px;
  }
}
/* --------------------------------------------------------------------------
   Home — Facts responsive
   Desktop : 4 colonnes
   Tablette/mobile : vraie grille 2 x 2
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .b1820-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(24, 50, 38, .18);
    border-bottom: 1px solid rgba(24, 50, 38, .18);
  }

  .b1820-facts article {
    min-height: 260px;
    padding: 42px 24px;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .b1820-facts article:nth-child(2),
  .b1820-facts article:nth-child(4) {
    border-left: 1px solid rgba(24, 50, 38, .18);
  }

  .b1820-facts article:nth-child(3),
  .b1820-facts article:nth-child(4) {
    border-top: 1px solid rgba(24, 50, 38, .18);
  }
}

@media (max-width: 480px) {
  .b1820-facts article {
    min-height: 235px;
    padding: 34px 18px;
  }

  .b1820-facts strong {
    font-size: clamp(54px, 18vw, 74px);
  }

  .b1820-facts span,
  .b1820-facts em {
    font-size: 9px;
    letter-spacing: .16em;
    line-height: 1.45;
  }
}