@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden; /* évite le débordement horizontal */
}

body {
  font-family: Arial, sans-serif;
  color: #ffffff;
  background: url('https://cdn.shopify.com/s/files/1/0992/1747/3868/files/a-cinematic-photograph-of-a-dramatic-lig_ahj4UoI2SbGO0q7VFc5fsQ_X6mL_37HSLmbseU462ZaXA.png')
    no-repeat center center / cover;
  min-height: 100vh;
}

/* HERO (partie du haut) */
.hero {
  min-height: 100vh;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.logo {
  display: block;
  width: 180px;
  margin: 0 auto 25px auto; /* logo au-dessus du titre */
}

h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.4rem;
  font-weight: 800;
  color: #ffe640;
  line-height: 1.1;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.1rem;
  margin-top: 12px;
  font-weight: 700;
  font-style: italic;
}

p {
  font-family: 'Montserrat', sans-serif;
  margin-top: 20px;
  font-size: 1.1rem;
  max-width: 750px;
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
}

.highlight {
  font-weight: 700;
}

.cta-btn {
  font-family: 'Montserrat', sans-serif;
  margin: 30px auto 0 auto;
  padding: 14px 32px;
  background: #ffd232;
  color: #000000;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.05rem;
  display: inline-block;
  transition: 0.3s;
  width: auto;
  max-width: none;
}

.cta-btn:hover {
  background: #ffbf00;
}

.arrow {
  margin-top: 25px;
  font-size: 1.8rem;
  animation: bounce 1.2s infinite ease-in-out;
  display: inline-block;
}

/* SECTIONS DU BAS */
.reviews {
  margin: 20px auto 0;
  padding: 20px;
  max-width: 1080px;
  text-align: center;
}

.trustpilot-section {
  margin: 10px auto 60px;
  max-width: 1080px;
  padding: 0 20px;
}

/* 🔧 CORRECTION DU TEXTE QUI DÉPASSE DANS LE CAROUSEL */
.jdgm-carousel-title {
  white-space: normal !important;     /* autorise le retour à la ligne */
  text-align: center !important;
}

@media (max-width: 600px) {
  .jdgm-carousel-title {
    font-size: 0.9rem !important;     /* un peu plus petit sur mobile */
  }
}

/* RESPONSIVE TABLETTE */
@media (max-width: 992px) {
  .hero {
    padding: 80px 20px 40px;
  }

  .logo {
    width: 160px;
    margin-bottom: 20px;
  }

  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  p {
    font-size: 1.05rem;
  }

  .cta-btn {
    font-size: 1rem;
    padding: 12px 28px;
  }
}

@media (max-width: 600px) {
  body {
    background-position: center top;
  }

  .hero {
    padding: 30px 16px 20px;   /* moins de marge en haut */
    min-height: auto;          /* plus de 100vh, juste la hauteur du contenu */
    justify-content: flex-start; /* le contenu commence en haut */
  }

  .logo {
    width: 130px;
    margin-bottom: 14px;
  }

  h1 {
    font-size: 2.1rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  p {
    font-size: 1rem;
    margin-top: 14px;
  }

  .cta-btn {
    font-size: 0.95rem;
    padding: 10px 22px;
    margin-top: 18px;
  }

  .arrow {
    margin-top: 12px;
    font-size: 1.4rem;
  }

  .reviews,
  .trustpilot-section {
    padding: 0 10px;
  }

  .jdgm-carousel-title {
    font-size: 0.9rem !important;
  }
}


/* Animation flèche */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
