/* =========================================================
   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%); */
  background: rgba(29, 48, 87, 0.24);
}

/* Texte & contenu */
.hero-content {
  position: relative;
  z-index: 2;
  /* padding-bottom: 30px; */
  /* margin-left: clamp(16px, 8vw, 100px);
  margin-right: clamp(16px, 8vw, 100px); */
}

.eyebrow {
  font-size: clamp(12px, 2.5vw, 14px);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-family: 'Kodchasan', sans-serif;
  font-weight: 300;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-title {
  font-weight: 400;
  font-size: clamp(28px, 5.5vw, 48px);
  line-height: 1.1;
  margin: 0px 0 -48px 0;
  color: #fff;
  text-wrap: balance;
  font-family: Inter Tight, sans-serif;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* 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: 4px;
  font-weight: 300;
  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.16);
  color: #fff;
  /* border: 1px solid rgba(255, 255, 255, 0.16); */
  padding: 4px  4px 4px  12px;
  border-radius: 4px;
  height: auto;
  width: auto;
  font-size: 14px;
  white-space: nowrap;
  font-weight: 400;
}

/* 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); */
}

/* ===== Très petit mobile (≤ 380px) ===== */
@media (max-width: 380px) {
  .hero {
    padding: 100px 0 60px;
  }

  .hero-content {
    padding: 0 12px;
  }

  .hero-title {
    font-size: clamp(24px, 6vw, 32px);
    margin: 0 0 -10px 0;
  }

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

  .hero-actions {
    margin-top: 12px;
  }

  .btn.btn-primary {
    padding: 6px 10px;
    font-size: 12px;
  }

  .arrow-btn {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }
}

/* ===== 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) { */
  @media (max-width: 1010px) {


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

  .eyebrow {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
  }

  .hero-title {
    font-size: clamp(28px, 7vw, 36px);
    line-height: 1.2;
    margin-bottom: 37px;
    font-family: Inter Tight, sans-serif;
    font-weight: 400;
  }

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

  .btn.btn-primary {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 8px 6px 14px;
    border-radius: 4px;
    font-size: 14px;
    height: auto !important;
    width: auto !important;
    gap: 8px;
  }

  .btn.btn-primary .arrow-btn {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
  }

  /* 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;
  }
}

/* =========================================================
   BREAKPOINT MOBILE 375px - 480px
   ========================================================= */
@media (max-width: 380px) {
  .hero-content {
    padding: 0 12px;
  }

  .hero-title {
    font-size: clamp(26px, 6vw, 32px);
    line-height: 1.15;
    margin-bottom: 16px;
  }

  .eyebrow {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .hero-actions {
    margin-top: 12px;
  }

  .btn.btn-primary {
    font-size: 13px;
    padding: 5px 6px 5px 12px;
  }

  .btn.btn-primary .arrow-btn {
    width: 26px;
    height: 26px;
  }
}