/* Haut de la page d'accueil : le contenu est calé à gauche, et une carte en verre
   en bas à droite porte la preuve (5 artisans accompagnés, Tommy & Emma, Instagram). */
.section.hero .container-base.hero {
  align-items: flex-end;
}

.section.hero .hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 23rem);
  grid-template-areas:
    "contenu carte"
    "boutons carte";
  align-items: end;
  gap: 3rem;
  width: 100%;
  padding: 7.5rem 0 4rem;
  text-align: left;
}

.section.hero .hero-content {
  grid-area: contenu;
  align-items: flex-start;
  gap: 2.25rem;
  max-width: 52rem;
}

.section.hero .hero-heading-wrap {
  align-items: flex-start;
  gap: 2.25rem;
}

/* titre un peu plus grand et plus aéré : le bloc occupe mieux la hauteur de l'écran */
.section.hero .hero-heading {
  margin: 0;
  font-size: clamp(3.4rem, 5.6vw, 4.6rem);
  line-height: 1.12;
}

.section.hero .subheading-text.hero {
  max-width: 36rem;
  margin: 0;
}

.section.hero .button-wrap {
  grid-area: boutons;
  justify-content: flex-start;
}

/* ---- la carte en verre ---- */
.ll-hero-carte {
  grid-area: carte;
  display: flex;
  flex-flow: column;
  gap: 1.5rem;
  padding: 1.75rem;
  border: 1px solid #ffffff47;
  border-radius: 1.75rem;
  background-color: #ffffff24;
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  color: #fff;
  font-family: var(--font-family--text);
  text-align: left;
  box-shadow: 0 24px 50px -30px #000000b3, inset 0 1px 0 #ffffff40;
}

.ll-hero-carte-haut {
  display: flex;
  flex-flow: column;
  gap: .6rem;
}

.ll-hero-carte-chiffre {
  flex: none;
  font-family: Parkinsans, Arial, sans-serif;
  font-size: 3.6rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
}

.ll-hero-carte-texte {
  font-size: 1rem;
  line-height: 1.45;
  color: #fffffff2;
}

.ll-hero-carte-bas {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding-top: 1.25rem;
  border-top: 1px solid #ffffff40;
}

.ll-hero-carte-bas img {
  flex: none;
  width: auto;
  height: 3.5rem;
  aspect-ratio: 500 / 382;
  border: 2px solid #fff;
  border-radius: 999px;
  object-fit: cover;
}

.ll-hero-carte-duo {
  display: flex;
  flex-flow: column;
  gap: .15rem;
  font-size: 1rem;
  line-height: 1.3;
}

.ll-hero-carte-duo strong {
  font-family: Parkinsans, Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.ll-hero-carte-duo a {
  color: #ffffffe6;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}

.ll-hero-carte-duo a:hover {
  color: #ffd580;
}

@media screen and (max-width: 991px) {
  /* le contenu empilé peut dépasser la hauteur de l'écran : le haut de page s'agrandit au lieu de rogner */
  .section.hero .hero-section-wrap {
    height: auto;
    min-height: 100vh;
  }

  .section.hero .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "contenu"
      "boutons"
      "carte";
    gap: 2rem;
    padding: 7rem 0 2.5rem;
  }

  .section.hero .hero-content,
  .section.hero .hero-heading-wrap {
    gap: 1.25rem;
  }

  .section.hero .hero-heading {
    font-size: var(--font-size--h1);
  }

  .ll-hero-carte {
    max-width: 26rem;
  }
}

@media screen and (max-width: 479px) {
  .section.hero .hero-layout {
    padding-top: 6rem;
  }

  .section.hero .hero-heading {
    font-size: 2.35rem;
    line-height: 1.1;
  }

  .ll-hero-carte {
    gap: 1.1rem;
    padding: 1.25rem;
    border-radius: 1.5rem;
  }

  .ll-hero-carte-chiffre {
    font-size: 2.9rem;
  }

  .ll-hero-carte-texte {
    font-size: .92rem;
  }
}

/* ---- transition vers la section suivante : du bleu marine de la charte au lieu du gris ---- */
/* le bleu monte en douceur depuis le bas de la vidéo (plusieurs paliers, sans ligne visible)… */
.section.hero .hero-bg-overlay {
  background-image:
    linear-gradient(to top, #1f4e79 0%, #1f4e79e0 5%, #1f4e79b3 11%, #1f4e7980 19%, #1f4e794d 28%, #1f4e7924 38%, #1f4e7900 52%),
    linear-gradient(#0006, #0000001a);
}

/* …la bande défilante est posée directement sur ce fondu, sans fond à elle (pas de bord visible)… */
.section.hero .logo-marquee-section {
  background: none;
}

@media screen and (max-width: 991px) {
  /* sur tablette et téléphone, la vidéo n'occupe qu'une partie de la hauteur :
     les bandes au-dessus et en dessous passent elles aussi du gris au bleu */
  .section.hero .hero-bg-video-gradient-top {
    background-image: linear-gradient(#16324c, #16324c 0% 80%, #16324c00);
  }

  .section.hero .hero-bg-video-gradient-bottom {
    background-image: linear-gradient(#1f4e7900, #1f4e79 25%, #1f4e79);
  }
}
