/* SECTION */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* BACKGROUND */
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, #0A2A6C, #0d3380, #0A2A6C);
  overflow: hidden;
}

.glow {
  position: absolute;
  background: #FF7A00;
  filter: blur(100px);
  opacity: 0.2;
  border-radius: 9999px;
}

.glow-1 {
  top: 80px;
  left: 40px;
  width: 260px;
  height: 260px;
}

.glow-2 {
  bottom: 80px;
  right: 40px;
  width: 380px;
  height: 380px;
}

/* CONTAINER */
.hero-container {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: auto;
  padding: 4rem 1.5rem 6rem 1.5rem;
}

/* GRID */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* LEFT TEXT */
.hero-left .tag {
  display: inline-block;
  background: #FF7A00;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-title {
  font-size: 2.6rem;
  line-height: 1.2;
  font-weight: 900;
  color: white;
}

/* @media (min-width: 1024px) {
  .hero-title {
    font-size: 3.8rem;
  }
} */

.accent {
  color: #FF7A00;
}

.hero-desc {
  font-size: 1.2rem;
  color: #d1d5db;
  line-height: 1.6;
  max-width: 600px;
}

/* TRUST BLOCK */
.trust {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatars {
  display: flex;
  margin-right: 0.5rem;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid white;
  margin-left: -10px;
}

.avatar img {
  width: 100%;
  height: 90%;
  object-fit: cover;
}

.trust-text {
  color: white;
  font-weight: 500;
  font-size: 0.95rem;
}

/* BUTTONS */
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary {
  background: #FF7A00;
  color: white;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-primary:hover {
  background: #e66d00;
}

.btn-outline {
  border: 2px solid white;
  color: white;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-outline:hover {
  background: white;
  color: #0A2A6C;
}

/* RIGHT IMAGE */
.hero-right {
  position: relative;
}

.hero-img {
  width: 100%;
  height: 100%;
  border-radius: 25px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}

/* TITRE HERO - MOBILE */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;  /* réduire par rapport à desktop */
    line-height: 1.3;
  }

  .hero-left .tag {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .btn-primary,
  .btn-outline {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}
/* MOBILE HERO */
@media (max-width: 991px) {
  .hero-grid.d-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .hero-left {
    width: 100%;
  }

  .hero-right {
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .trust {
    margin-top: 1rem;
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .hero-btns {
    margin-top: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    width: 100%;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-img {
    width: 100%;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  }
}

/* Par défaut : cacher la grille mobile */
.hero-grid-mobile {
  display: none;
}

/* Grille desktop : visible uniquement sur grands écrans */
@media (min-width: 1024px) {
  .hero-grid-desktop {
    display: grid;
  }
  .hero-grid-mobile {
    display: none;
  }
}

/* Grille mobile : visible uniquement sur petits écrans */
@media (max-width: 1023px) {
  .hero-grid-desktop {
    display: none;
  }
  .hero-grid-mobile {
    display: grid; /* ou flex si tu veux l'adapter */
  }
}
