/* =========================================
   RESET & VARIABLES
========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font-display: 'NeueHaasDisplay';
  --font-body: 'TimesNow';

  --color-white: #f5f0e8;
  --color-black: #1A1A1A;
  --color-panel-bg: #F5F0E8;
  
  --panel-width: 100vw;
  --header-height: 56px;
  --footer-height: auto;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  --z-video: 0;
  --z-panel: 30;
  --z-header: 1;
  --z-footer: 20;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--color-white);
  color: var(--color-white);
  font-family: var(--font-body);
  overflow: hidden;
  height: 100dvh;
  width: 100vw;
  cursor: default;
}

/* =========================================
   SCENE — holds video + panels together
========================================= */
#scene {
  position: fixed;
  inset: 0;
  display: flex;
  overflow: hidden;
  z-index: var(--z-video);
}

/* =========================================
   VIDEO
========================================= */
#video-wrapper {
  position: relative;
  flex: 1 0 100%;
  /* will be pushed by GSAP */
  will-change: flex, transform;
  overflow: hidden;
}

#bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#central {
  display: flex;
  color: var(--color-white);
  text-align: center;
  position: absolute;
  left: 50dvw;
  transform: translateX(-50%);
  margin: 20px auto;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 50dvw;
  height: calc(100dvh - 40px);
}
#central #logo {
  width : 250px;
}
#central #logo img {
  width : 100%;
  height: auto;
}
#central .contenu_central .texte {
  font-size: 2rem;
  margin-bottom: 2dvh;
}
#central .contenu_central .sous-texte {
  font-size: 1rem;
  font-style: italic;
}
#central #footer p:nth-child(2) {
  margin: 15px auto;
}
#central #footer a,
#central #footer a:active,
#central #footer a:hover {
    color: white;
    text-decoration: none;
}
#central #footer a:hover {
    font-weight: 600;
}
/* =========================================
   MOBILE
========================================= */
@media (max-width: 640px) {
  #central {
    width: 70dvw;
  }
  #central .contenu_central .texte {
    font-size: 1.4rem;
    margin-bottom: 2dvh;
  }
}