body, html {
  margin: 0;
  padding: 0;
  font-family: inherit;
  scroll-behavior: smooth;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  overflow: hidden;
}

.hero-content{
  position: absolute;
  z-index: 2;
  top: 6vh;
  right: 0;
  width: 520px;
}

.hero-content img{
  width: 520px;
  height: auto;
  display: block;
}

.hero-buttons {
  position: absolute;
  bottom: 6vh;
  left: 0;
  right: 0;
  z-index: 3;

  display: grid;
  grid-template-columns: repeat(3, 230px);
  justify-content: center;
  gap: 18px;
}

.hero-btn {
  width: 230px;
  padding: 14px 0;
  border-radius: 14px;

  background: rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(4px);

  border: 1px solid rgba(255,255,255,0.22);

  color: white;
  text-decoration: none;
  text-align: center;

  font-size: 1rem;
  font-weight: 200;

  transition: all 0.2s ease;
  box-sizing: border-box;
}

.hero-btn:hover {
  background: rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

@media (max-width: 820px){

  .hero {
    align-items: center;
  }

  .hero-content{
    top: 6vh;
    right: 0;
    width: 320px;
    margin: 0;
  }

  .hero-content img{
    width: 320px;
  }

  .hero-buttons{
    position: absolute;
    bottom: 6vh;
    left: 50%;
    transform: translateX(-50%);

    display: grid;
    grid-template-columns: 230px;
    gap: 12px;

    width: auto;
  }
}


.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.content-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
  border-bottom: 1px solid #ddd;
}

/* pour limiter le “tap & hold” : */
.background-video {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
