/* =========================================================
   HERO SECTION STYLES
   ========================================================= */

/* ===== Desktop Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: clip;
  justify-content: space-around;
}

/* Vidéo */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(105%) contrast(102%);
  z-index: 0;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 100% at 50% 80%,
      rgba(7, 22, 40, 0) 0%,
      rgba(5, 18, 35, .35) 48%,
      rgb(0 106 255 / 65%) 100%),
    linear-gradient(to top,
      rgb(1 101 255 / 65%) 0%,
      rgba(6, 17, 34, .15) 55%,
      rgba(6, 17, 34, 0) 100%);
}

/* Texte & contenu */
.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 30px;
  margin-left: 100px;
  margin-right: 100px;
}

.eyebrow {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-family: 'Kodchasan';
}

.hero-title {
  font-weight: 400;
  font-size: 48px;
  line-height: 1.06;
  /* margin: 0 0 28px; */
  margin: 0px 0 -51px;
  color: #fff;
  text-wrap: balance;
  font-family: InterTight;
}

/* CTA */
.hero-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: .2s ease;
  color: inherit;
}

/* CTA verre dépoli desktop */
.btn.btn-primary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 4px 4px 4px 12px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
  height: 40px;
  width: 155px;
}

/* Flèche */
.arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 2px;
  background: #fff;
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 600;
  transition: .25s ease;
}

/* Hover */
.btn.btn-primary:hover {
  background: #fff;
  color: var(--blue-dark);
}

.btn.btn-primary:hover .arrow-btn {
  background: var(--blue-dark);
  color: #fff;
  transform: translateX(2px);
}

/* ===== Tablet (iPad landscape / 1024px max) ===== */
@media (max-width: 1024px) {
  .hero-actions {
    justify-content: flex-start;
  }

  .hero-content {
    margin-left: 60px;
    margin-right: 60px;
  }

  .hero-title {
    font-size: 42px;
  }
}

/* ===== iPad Portrait (768px à 1024px) ===== */
@media (min-width: 521px) and (max-width: 1024px) {
  .hero {
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    padding-top: 80px;
  }

  .hero-content {
    margin-left: 40px;
    margin-right: 40px;
    padding-bottom: 40px;
  }

  .eyebrow {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: 38px;
    line-height: 1.1;
    margin: 0px 0 -30px;
  }

  .hero-actions {
    justify-content: flex-start;
    /* margin-top: 20px; */
    margin-top: 30px;

  }

  .btn.btn-primary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 6px 8px 6px 14px;
    border-radius: 4px;
    backdrop-filter: blur(6px);
    height: 42px;
    width: auto;
    gap: 8px;
    font-size: 13px;
  }

  .btn.btn-primary .arrow-btn {
    width: 28px;
    height: 28px;
    font-size: 16px;
    flex-shrink: 0;
  }
}

/* =========================================================
   MOBILE — ≤ 520px
   ========================================================= */
@media (max-width: 520px) {

  .hero {
    min-height: 100svh;
    background: url("../image/hero.jpg") center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 104px 0 88px;
  }

  .hero-content {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
  }

  .eyebrow {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 18px;
  }

  .hero-title {
    font-size: 36px;
    line-height: 1.15;
    margin-bottom: 24px;
    font-family: InterTight;
  }

  /* CTA mobile */
  .hero-actions {
    justify-content: center;
    margin-top: 4px;
  }

  .btn.btn-primary {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    padding: 4px 4px 4px 12px;
    border-radius: 4px;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    font-size: 16px;
    height: auto !important;
    width: auto !important;

  }

  .btn.btn-primary .arrow-btn {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 400;
  }

  /* Hover mobile */
  .btn.btn-primary:hover {
    background: #fff;
    color: var(--blue-dark);
  }

  .btn.btn-primary:hover .arrow-btn {
    background: var(--blue-dark);
    color: #fff;
  }

  /* Masquer le br en mobile */
  .hero-title br {
    display: none;
  }
}