body, html {
  margin: 0;
  padding: 0;
  font-family: 'Philosopher', sans-serif;
  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-taglines {
  position: absolute;
  z-index: 2;
  top: calc(6vh + 150px);
  right: 0;
  width: 520px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
  overflow: hidden;
  white-space: nowrap;
}

.hero-tagline-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 32px;
}

.hero-taglines {
  align-items: flex-end;
}

.hero-tagline {
  height: 32px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.25);
  color: black;
  padding: 4px 16px;
  font-size: 1.4rem;
  line-height: 1.0;
  backdrop-filter: blur(3px);
  border-radius: 0;
  clip-path: inset(0 0 0 100%);
  opacity: 0;
  animation: none;
}

.hero-tagline-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-left: 6px;
  background: rgba(255,255,255,0.25);
}


.hero-tagline-row.active .hero-tagline {
  animation: taglineDrawer 3s linear forwards;
}

/* => Si séquençage linéaire des taglines
.hero-tagline-row:nth-child(1) .hero-tagline { animation-delay: 0s; }
.hero-tagline-row:nth-child(2) .hero-tagline { animation-delay: 3s; }
.hero-tagline-row:nth-child(3) .hero-tagline { animation-delay: 6s; }
.hero-tagline-row:nth-child(4) .hero-tagline { animation-delay: 9s; }
.hero-tagline-row:nth-child(5) .hero-tagline { animation-delay: 12s; }
.hero-tagline-row:nth-child(6) .hero-tagline { animation-delay: 15s; }
.hero-tagline-row:nth-child(7) .hero-tagline { animation-delay: 18s; }
.hero-tagline-row:nth-child(8) .hero-tagline { animation-delay: 21s; }
*/


@keyframes taglineDrawer {

  0% {
    clip-path: inset(0 0 0 100%);
    opacity: 0;
  }

  20% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }

  80% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }

  100% {
    clip-path: inset(0 0 0 100%);
    opacity: 0;
  }
}

@media (max-width: 820px){

  .hero-taglines {
    top: calc(6vh + 58px);
    right: 0;
    width: 320px;
    gap: 8px;
  }

  .hero-tagline {
    font-size: 1rem;
    padding: 4px 10px;
    max-width: 92vw;
}
}


.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: 0px;

  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-taglines {
    width: auto;
    max-width: 92vw;
    top: calc(6vh + 95px);
}

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

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

    width: auto;
  }

  .hero-btn {
  width: 200px;
  padding: 11px 0;
  font-size: 0.9rem;
}
}


.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;
}

