/* ========================================
   FONTS
   ======================================== */

@font-face {
  font-family: 'Mohio';
  src: url('../assets/fonts/Mohio-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Silka';
  src: url('../assets/fonts/silka-regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Silka';
  src: url('../assets/fonts/silka-medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
.text {line-height:1.2em}

/* ========================================
   RESET
   ======================================== */

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

body {
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

/* ========================================
   HEADER —
   ======================================== */

.hero-header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 24px 58px;
  background: transparent;
  z-index: 1000;
}

.hero-header .logo {
  text-decoration: none;
  display: inline-flex;
  font-family: 'Mohio', serif;
  font-size: clamp(36px, 3vw, 45px);
  color: #ffffff;
  line-height: 1;
  flex-shrink: 0;
}

.hero-header .logo-letter {
  display: inline-block;
  transition: margin-right 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  margin-right: 0;
}

.hero-header .logo:hover .logo-letter[data-letter="m"] {
  margin-right: 20px;
}

.hero-header .logo:hover .logo-letter[data-letter="ō"] {
  margin-right: 60px;
}

.hero-header .logo:hover .logo-letter[data-letter="h"] {
  margin-right: 0;
}

.hero-header .logo:hover .logo-letter[data-letter="i"] {
  margin-right: 90px;
}

.hero-header .nav-desktop {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-header .nav-link {
  position: relative;
  display: inline-block;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
  font-family: 'Silka', sans-serif;
  font-weight: 500;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.hero-header .nav-link-inner {
  display: block;
  position: relative;
}

.hero-header .nav-link-text {
  display: block;
}

.hero-header .nav-link-text span {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-header .nav-link:hover .nav-link-text--top span {
  transform: translateY(-100%);
}

.hero-header .nav-link-text--bottom {
  position: absolute;
  top: 0;
  left: 0;
}

.hero-header .nav-link-text--bottom span {
  transform: translateY(100%);
}

.hero-header .nav-link:hover .nav-link-text--bottom span {
  transform: translateY(0);
}

/* Burger blanc */
.hero-header .burger {
  display: none;
  position: relative;
  width: 32px;
  height: 24px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 1;
}

.hero-header .burger-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-header .burger-line:nth-child(1) { top: 0; }
.hero-header .burger-line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hero-header .burger-line:nth-child(3) { bottom: 0; }

.hero-header .burger.is-active .burger-line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hero-header .burger.is-active .burger-line:nth-child(2) {
  opacity: 0;
}

.hero-header .burger.is-active .burger-line:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Nav mobile */
.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  z-index: 1050;
}

.nav-mobile.is-open {
  transform: translateX(0);
}

.nav-mobile .nav-mobile-link {
  text-decoration: none;
  color: #ffffff;
  font-family: 'Silka', sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.2;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-mobile.is-open .nav-mobile-link {
  opacity: 1;
  transform: translateX(0);
}

.nav-mobile.is-open .nav-mobile-link:nth-child(1) { transition-delay: 0.15s; }
.nav-mobile.is-open .nav-mobile-link:nth-child(2) { transition-delay: 0.2s; }
.nav-mobile.is-open .nav-mobile-link:nth-child(3) { transition-delay: 0.25s; }
.nav-mobile.is-open .nav-mobile-link:nth-child(4) { transition-delay: 0.3s; }
.nav-mobile.is-open .nav-mobile-link:nth-child(5) { transition-delay: 0.35s; }

/* ========================================
   HERO BANNER
   ======================================== */

.hero {
  background-color: #000000;
  padding-bottom: 80px;
}

.hero-content {
  padding: 180px 58px 0;
}

.hero-surtitle {
  font-family: 'Silka', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.25vw, 18px);
  color: #b4b4b4;
  width: 100%;
  margin-bottom: 32px;
}

.hero-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.hero-title {
  font-family: 'Mohio', serif;
  font-weight: 400;
  font-size: clamp(36px, 4.3vw, 76px);
  color: #ffffff;
  line-height: 1.05;
  width: 80%;
}

/* ========================================
   BOUTON — "le clic magique"
   ======================================== */

.hero-btn {
  position: relative;
  display: inline-block;
  font-family: 'Silka', sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 1.25vw, 18px);
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-btn::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  transform: translateX(0);
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  transform: translateX(calc(-100% - 20px));
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1) 0.1s;
}

.hero-btn:hover::before {
  transform: translateX(calc(100% + 20px));
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-btn:hover::after {
  transform: translateX(0);
}

/* ======
   VIDÉO 
   ===== */

.video-section {
  background: linear-gradient(to bottom, #000000 50%, #ffffff 50%);
  padding: 0 58px;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #000000;
}

.video-container iframe {
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: calc(100% + 120px);
  border: none;
  pointer-events: none;
}

.video-container.is-playing iframe {
  pointer-events: auto;
}

.video-controls {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.video-playpause,
.video-mute {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}

.video-mute {
  color: #ffffff;
  font-family: 'Silka', sans-serif;
  font-weight: 400;
  font-size: clamp(12px, 1vw, 14px);
}

.mute-label {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.video-mute.is-unmuted .mute-label {
  opacity: 0;
}

/* Icône son : croix visible = muet, cachée = son actif */
.mute-cross-1,
.mute-cross-2 {
  transition: opacity 0.3s ease;
}

.video-mute.is-unmuted .mute-cross-1,
.video-mute.is-unmuted .mute-cross-2 {
  opacity: 0;
}

/* ========================================
   SECTION À PROPOS
   ======================================== */

.about {
  background-color: #ffffff;
  padding: 72px 0 0 58px;
}

.about-columns {
  display: flex;
  position: relative;
}

/* --- Colonne gauche --- */

.about-left {
  width: 50%;
  padding-top: 600px;
  padding-right: 48px;
  padding-bottom:100px;
}

.about-text {
  columns: 2;
  column-gap: 32px;
  font-family: 'Silka', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.25vw, 18px);
  color: #000000;
  line-height: 1.6;
}

.about-text p {
  margin: 0;
  break-inside: avoid;
}

.about-btn {
  position: relative;
  display: inline-block;
  font-family: 'Silka', sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 1.25vw, 18px);
  color: #000000;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 6px;
  overflow: hidden;
  margin-top: 40px;
}

.about-btn::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #000000;
  transform: translateX(0);
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.about-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #000000;
  transform: translateX(calc(-100% - 20px));
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1) 0.1s;
}

.about-btn:hover::before {
  transform: translateX(calc(100% + 20px));
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.about-btn:hover::after {
  transform: translateX(0);
}

/* Photo + tampon + icône */

.about-photo-wrapper {
  position: relative;
  margin-top: 48px;
}

.about-photo {
  width: 100%;
  margin-top:174px;
  display: block;
}

.about-icon {  
  width: 58px;
  height: auto;
  margin-left:-12px

}

/* --- Colonne droite --- */

.about-right {
  width: 50%;
  position: relative;
  padding-left:44px;
  
}
 .about-avion {
    position:absolute;
    top:275px; 
   left:0;
      }

.about-welcome-clip {
  width: 100%;
  overflow: hidden;
}

.about-welcome {
  font-family: 'Mohio', serif;
  font-weight: 400;
  font-size: clamp(36px, 5.3vw, 76px);
  color: #000000;
  line-height: 1em;
  transform: rotate(5deg);
  transform-origin: bottom left;
  padding-top: 100px;
  padding-left: 24px;
  white-space:nowrap;
 overflow:hidden;
}

.about-welcome p {
  margin: 0;
  }

/* ========================================
   TAMPONS (global)
   ======================================== */

.tampon {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Silka', sans-serif;
  font-weight: 400;
  color: #000000;
  transform: rotate(-30deg);
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

/* Sticky wrapper */
.tampon-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 0;
  z-index: 10;
  pointer-events: none;
}

.tampon-sticky .tampon {
  pointer-events: auto;
}

/* Cercle */
.tampon-circle {
  width: 132.52px;
  height: 132.52px;
  border-radius: 50%;
  border: 1px solid #000000;
  font-size: clamp(10px, 0.85vw, 12px);
  line-height: 1.4;
  padding: 20px;
  position: absolute;
  z-index: 2;
}

/* Carré */
.tampon-square {
  width: 120px;
  height: 120px;
  border: 1px solid #000000;
  font-size: clamp(10px, 0.85vw, 12px);
  line-height: 1.4;
  padding: 16px;
  position: absolute;
  z-index: 2;
}

/* Positions spécifiques */
.tampon-tour {
  top: -4vw;
  left: 20%;
}

.tampon-gap {
  top: 0;
  left: 7%;
}

/* ========================================
   ANIMATION REBOND — Tampons
   ======================================== */

.tampon.bounce {
  animation: tamponBounce 1.8s forwards;
  transition: none;
}

@keyframes tamponBounce {
  0%   { transform: rotate(-30deg) translateY(0);  animation-timing-function: ease-out; }
  20%  { transform: rotate(12deg)  translateY(40px); animation-timing-function: ease-in; }
  42%  { transform: rotate(-6deg)  translateY(0);   animation-timing-function: ease-out; }
  60%  { transform: rotate(3deg)   translateY(14px); animation-timing-function: ease-in; }
  76%  { transform: rotate(-1deg)  translateY(0);   animation-timing-function: ease-out; }
  88%  { transform: rotate(0.5deg) translateY(3px);  animation-timing-function: ease-in; }
  100% { transform: rotate(0deg)   translateY(0); }
}

/* ===========
   RESPONSIVE
   =========== */

@media (max-width: 1024px) {
  .hero-header {
    padding: 20px 32px;
  }

  .hero-content {
    padding: 60px 32px 0;
  }

  .video-section {
    padding: 0 32px;
  }

  .about {
    padding: 48px 0 0 32px;
  }

  .about-left {
    padding-top: 400px;
  }
}

@media (max-width: 768px) {
  .hero-header {
    padding: 20px 24px;
  }

  .hero-header .nav-desktop {
    display: none;
  }

  .hero-header .burger {
    display: block;
  }

  .hero-content {
    padding: 48px 24px 0;
  }

  .hero-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .hero-title {
    width: 100%;
  }

  .video-section {
    padding: 0 24px;
  }

  .about {
    padding: 32px 0 0 24px;
  }

  .about-columns {
    flex-direction: column;
  }

  .about-left {
    width: 100%;
    padding-top: 48px;
    padding-right: 24px;
  }

  .about-text {
    columns: 1;
  }

  .about-right {
    width: 100%;
    height: 500px;
    margin-top: 48px;
  }
  .about-avion {
    position:absolute;
    top:0; left:0;
      }
  .tampon-circle {
    position: relative;
    top: auto;
    left: auto;
    margin: 0 auto 32px;
  }
}