@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Manrope", sans-serif;
  background-color: #000;
  color: #fff;
}

h1 {
  font-size: 5rem;
  font-weight: 500;
  letter-spacing: -0.1rem;
  line-height: 1;
  padding: 2rem;
}

a, p {
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 550;
  line-height: 1;
  display: inline-block;
}

.hero {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

/* Three.js canvas — cover complet */
.hero canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.hero img#glassTexture {
  display: none;
}

.hero-content {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 2;
}

.hero-content h1 {
  width: 70%;
  padding-left: 2rem !important;
  padding-bottom: 2rem !important;
}

/* ── TABLET ── */
@media (max-width: 1000px) {
  h1 { font-size: 4rem; }

  .hero-content {
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 1rem;
  }

  .hero-content h1 { width: 100%; }

  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    box-shadow: 0 0 0 50px #000;
    z-index: 1;
    pointer-events: none;
  }

  .hero-content { z-index: 2; }
}

/* ── MOBILE LARGE ── */
@media (max-width: 768px) {
  h1 {
    font-size: 3rem;
    letter-spacing: -0.06rem;
    padding: 1.5rem;
  }

  .hero {
    height: 100dvh;
    min-height: 500px;
    max-height: 750px;
  }

  .hero-content h1 {
    padding-left: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  a, p { font-size: 0.8rem; }
}

/* ── MOBILE MOYEN ── */
@media (max-width: 480px) {
  h1 {
    font-size: 4rem;
    letter-spacing: -0.04rem;
    padding: 1.2rem;
  }

  .hero {
    height: 100dvh;
    min-height: 420px;
    max-height: 700px;
  }

  .hero-content h1 {
    padding-left: 1.2rem !important;
    padding-bottom: 1.2rem !important;
  }

  a, p { font-size: 0.75rem; }
}

/* ── MOBILE PETIT (iPhone SE) ── */
@media (max-width: 380px) {
  h1 {
    font-size: 2.5rem;
    letter-spacing: -0.02rem;
    padding: 1rem;
  }

  .hero {
    height: 100dvh;
    min-height: 360px;
    max-height: 650px;
  }

  .hero-content h1 {
    padding-left: 1rem !important;
    padding-bottom: 1rem !important;
  }
}
