
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: Poppins;
}

:root {
     --bg-color: #fdfdfd;
    --text-color: #333;
    --main-color: #3B1C0A;
    --white-color: #fdfdfd;
    --shadow-color: rgba(0, 0, 0, .2);
    --accent-color: #ffb300;
}

body {
    background: var(--bg-color);
    font-family: Poppins;
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
}

a{
    text-decoration: none;
}

.container {
    width: 90%;
    margin: 0 auto;
}

header{
    width: 90%;
    display: flex;
    justify-content: space-between;
    margin: auto;
    height: 50px;
    align-items: center;
}
header .logo{
    font-size: 1rem;
    color: var(--main-color);
    font-weight: 600;
    cursor: default;
    text-decoration: none;
    margin-right: auto;
}
header nav a{
    position: relative;
    text-decoration: none;
    color: var(--main-color);
    font-weight: 500;
    margin-left: 2rem;
}

.navbar a.active::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: .2rem;
    background: var(--main-color);
}


.toggle-icon{
	display: flex;
	margin-left: 2rem;
	font-size: 1rem;
    color: var(--main-color);
	cursor: pointer;
	background: transparent;
}

.toggle-icon i {
    transition: transform 0.5s ease;
}

.bx-sun {
    transform: rotate(180deg);
}

.bx-moon {
    transform: rotate(0);
}

#cover-wrapper {
    position: relative;
    width: 100%;
    height: 90vh;
    background-image: url('images/inspi.jpeg');
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: flex-start;
    padding-left: 5%;
}

/* =========================
   (1) STATS
   ========================= */
.stats{
  padding: 70px 0;
}

.stats__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.stat-card{
  background: #fff;
  border: 2px solid rgba(0,0,0,.10);
  border-radius: 18px;
  padding: 26px;
  min-height: 190px;
}

.stat-card__icon{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #003e0bdc;
  color: #fff;
  font-size: 18px;
  margin-bottom: 16px;
}

.bxs-group{
  color: #fff;
}



.stat-card__value{
  color: var(--accent-color);
  font-weight: 800;
  font-size: 28px;
  margin-bottom: 6px;
}

.stat-card__text{
  color: var(--text-color);
  text-align: justify;
  font-size: 18px;
  line-height: 1.45;
  max-width: 280px;
}

/* =========================
   (2) SPLIT IMAGE / TEXTE
   ========================= */
.split{
  padding: 10px 0 90px;
}

.split__grid{
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.split__media{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  height: 360px;
  background: rgba(0,0,0,.05);
}

.split__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split__media-overlay{
  position: absolute;
  left: 22px;
  bottom: 22px;
  color: #fff;
  font-weight: 800;
  font-size: 34px;
  line-height: 1.05;
  max-width: 80%;
  text-shadow: 0 10px 24px rgba(0,0,0,.35);
}

.split__title{
  font-size: 52px;
  line-height: 1.05;
  color: #213342;
  margin-bottom: 18px;
  font-weight: 800;
}

.split__text{
  font-size: 15px;
  text-align: justify;
  color: var(--text-color);
  margin-bottom: 22px;
}

.btn{
  display: inline-block;
  background: #f7a04f;
  color: #1b140f;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
}

/* =========================
   (3) MOSAÏQUE VERTE
   ========================= */
/* =========================
   (3) MOSAÏQUE VERTE - CONFORME
   ========================= */
.mosaic{
  padding: 0 0 90px;
}

.mosaic__wrap{
  position: relative;
  background: #00161da4;
  border-radius: 28px;
  padding: 38px;
  overflow: hidden;
}

/* décor à droite */
.mosaic__shape{
  position: absolute;
  right: -140px;
  top: -90px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: #03150979;
  opacity: .95;
}

/* GRILLE VERROUILLÉE (comme La Ruche) */
.mosaic__grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 260px auto;
  gap: 22px;

  grid-template-areas:
    "tl tm tr"
    "bl bm br"
}

.mosaic__item{
  border-radius: 18px;
  overflow: hidden;
}

/* positions */
.mosaic__img--tl{ grid-area: tl; }
.mosaic__card--tm{ grid-area: tm; }
.mosaic__img--tr{ grid-area: tr; }
.mosaic__card--bl{ grid-area: bl; }
.mosaic__img--bm{ grid-area: bm; }
.mosaic__card--br{ grid-area: br; }
.mosaic__cta{ grid-area: cta; }

/* images */
.mosaic__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* cartes */
.mosaic__card{
  background: #003e0bb2;
  padding: 22px;
  color: rgb(255, 255, 255);
}

.mosaic__badge{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.92);
  color: #1b140f;
  margin-bottom: 14px;
  font-size: 18px;
}

.mosaic__title{
  font-size: 25px;
  font-weight: 800;
  margin-bottom: 10px;
  margin-top: 10px;
}

.mosaic__text{
  font-size: 12px;
  text-align: justify;
  line-height: 1.55;
  opacity: .95;
}


.avatars{
  display: flex;
  align-items: center;
}

.avatar{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 2px solid rgba(47,93,71,.35);
  margin-left: -10px;
}

.avatars .avatar:first-child{ margin-left: 0; }

.avatar--plus{
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #1b140f;
}

.mosaic__cta-text{
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mosaic__cta-btn{
  background: #244a3a;
  color: #fff;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

/* RESPONSIVE */
@media (max-width: 1100px){
  .mosaic__grid{
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 260px 220px 260px auto;
    grid-template-areas:
      "tl tr"
      "tm tm"
      "bl br"
      "bm bm"
      "cta cta";
  }
}

@media (max-width: 650px){
  .mosaic__wrap{ padding: 22px; }

  .mosaic__grid{
    grid-template-columns: 1fr;
    grid-template-rows: 220px auto 220px auto 220px auto auto;
    grid-template-areas:
      "tl"
      "tm"
      "tr"
      "bl"
      "bm"
      "br"
      "cta";
  }

  .mosaic__cta{
    flex-direction: column;
    align-items: flex-start;
  }

  .mosaic__cta-text{
    white-space: normal;
  }
}

/* Footer Section */
.footer {
    padding: 4rem 5%;
    background-color: #121212;
    color: var(--white-color);
    text-align: center;
}

/* Banner */
.footer-banner {
    margin-bottom: 2rem;
}

.footer-banner-img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 10px;
}

/* Footer content */
.footer-content {
    text-align: center;
}

.footer .social-media a {
    margin: 0 1rem;
    font-size: 2rem;
    color: var(--white-color);
    transition: color 0.3s ease;
}

.footer .social-media a:hover {
    color: var(--accent-color);
}
