:root {
  --green-deep: #1f3826;
  --green-mid: #2d4f35;
  --green-light: #3d6645;
  --green-muted: #4a7a52;
  --gold: #b8956a;
}
@font-face {
  font-family: "Assistant";
  src: url("./fonts/Assistant-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 800; /* plage supportée par la font */
  font-style: normal;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body{ 
  font-family: 'Assistant Regular', sans-serif;
  font-weight: 500;
  background-color: var(--green-deep);
  color: white!important;
  overflow-x: hidden;
  overflow-y: auto;
}
.english{
  color: rgba(235, 230, 230, 0.883);
}
.padding{
  padding: 50px;
}
/* ===================== CURSOR ===================== */
/* .cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease;
}
.cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.4s ease, width 0.3s, height 0.3s;
} */
/* ===================== SCROLLBAR ===================== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--green-deep); }
::-webkit-scrollbar-thumb { background: var(--green-muted); }

/* ===================== UTILITIES ===================== */
.section-label {
  /*h2*/
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  margin-bottom: 14px;
  font-weight: 100;
  display: flex;
  flex-direction: column;
}
/* ==================== SECTION 1 — HERO ===================== */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url("./Mineral_GONFLE2.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-arbre{
  position: absolute;
  top:0;
  right: 0;
  height: 100%;
  width: auto;
  pointer-events: none;
  z-index: 0;
}
.hero-arbre-left{
  position: absolute;
  top:0;
  left: 0;
  height: 100%;
  width: auto;
  pointer-events: none;
  z-index: 0;
}
.hero-arbre img, .hero-arbre-left img{
  height: 100vh;
  width: auto;
  display: block;
}
.hero-logo{
  position: fixed;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1rem;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.232);
}
.logo img{
  width: 7rem;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 40px;
}
#typewriter {
  font-family: 'Assistant Regular', sans-serif;
  font-weight: 200;
  font-size: clamp(13px, 2.5vw, 25px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  min-height: 1.6em;
}
.cursor-blink {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--gold);
  margin-left: 3px;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}
/* ===================== SECTION 3 — VIDEO PRESENTATION ===================== */
#video-presentation > div:first-child {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 50px 60px;
}
.section-tagline {
  /*p*/
  font-family: 'Assistant Regular', sans-serif;
  font-weight: 300;
  letter-spacing: 0.2em;
  font-size: clamp(0.9rem, 3.5vw, 1.2rem);
  margin-bottom: 8px;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
}
.yt-wrapper-full{
  width: 100vw;
  height: 70vh;
}
.yt-wrapper {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 40px auto 0;
  aspect-ratio: 16/9;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  /* box-shadow: 0 40px 80px rgba(0,0,0,0.5); */
}
.yt-wrapper iframe, .yt-wrapper-full iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ===================== SECTION 4 — INTERVIEWS ===================== */
#interviews {
  position: relative;
  min-height: 100vh;
  padding: 50px 60px;
  overflow: hidden;
   background-image: url("./Mineral_GONFLE2.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}
.interviews-header {
  margin-bottom: 60px;
}
.interviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}
.interview-card {
  position: relative;
}
.interview-card .yt-wrapper {
  margin: 0;
  max-width: 100%;
}
.interview-person {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: white;
}
.interview-name {
  font-family: 'Assistant Regular', sans-serif;
  font-size: clamp(0.7rem, 3.5vw, 1rem);
  letter-spacing: 0.05em;

  color: white;
}
.interview-role {
  font-size: clamp(0.5rem, 3vw, 0.8rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
    display: flex;
  flex-direction: column;
}

/* ===================== SECTION 5 — CAROUSEL HERO ===================== */
#carousel-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.carousel-hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
}
.carousel-hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.carousel-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  transform: scale(1.05);
  transition: transform 8s ease, filter 0.6s ease;
}
.carousel-hero-slide.active img {
  transform: scale(1);
}
.carousel-nav {
  position: absolute;
  bottom: 60px;
  right: 60px;
  display: flex;
  gap: 12px;
  z-index: 3;
}
.carousel-btn {
  width: 48px;
  height: 48px;
border: 1px solid;
  border-color: #ffffff6e;
  border-radius: 60px;
  color: rgba(255, 255, 255, 0.551);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.3s, border-color 0.3s;
}
.carousel-btn:hover {
  background: var(--green-light);
  border: 1px solid var(--green-light);
}
.carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.carousel-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.732);
  transition: all 0.3s;
}
.carousel-dot.active {
  width: 24px;
  border-radius: 2px;
  background: var(--green-light);
}
/* ===================== SECTION 6 — VIDEO + PDF ===================== */
#ia-section {
  position: relative;
  min-height: 100vh;
  padding: 50px 60px;
  display: flex;
  align-items: center;
   background-image: url("./Mineral_GONFLE2.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}
.ia-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  margin: 0 auto;
}
.ia-left {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.ia-label-vertical {
 transform: translateY(-50%) rotate(-90deg);
  font-size: 1.2rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  white-space: nowrap;
  gap: 10px;
  position: absolute;
  left: -320px;
  /* transform: translateX(-620px); */
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  /* width: 20px!important; */
}
.ia-video-container {
  position: relative;
  width: 588px;
  height: 614px;
  border: 10px solid rgba(255, 255, 255, 0.354)
}
.ia-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ia-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.play-btn {
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.play-btn svg {
  width: 22px;
  height: 22px;
  fill: white;
  margin-left: 4px;
}
.ia-video-overlay:hover .play-btn {
  background: var(--green-light);
  border: var(--green-light);
  transform: scale(1.1);
}
.ia-section-title {
  font-family: 'Assistant Regular', sans-serif;
  font-weight: 300;
  font-size: clamp(18px, 2.5vw, 30px);
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 6px;
}
/* PDF Viewer */
.pdf-wrapper {
  margin-top: 24px;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.pdf-viewer {
  width: 100%;
  height: 60vh;
  border: none;
   overflow: hidden; /* important */
}
/* ===================== SECTION 7 — CATEGORIES ===================== */
#categories {
  position: relative;
  min-height: 100vh;
  padding: 50px 60px;
  background: var(--green-deep);
  overflow: hidden;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.category-card {
  position: relative;
  overflow: hidden;
}
.category-card:nth-child(even) {
  margin-top: 48px;
}
.category-carousel {
  position: relative;
  width: 263px;
  height: 550px;
  overflow: hidden;
}
.category-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.18, 1);
}
.category-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.category-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.7);
  transform: scale(1.05);
  transition: filter 0.6s ease, transform 0.6s ease;
}
.category-card:hover .category-slide img,
.category-slide.colored img {
  filter: grayscale(0%) brightness(0.8);
  transform: scale(1);
}
.category-title {
  padding: 20px 16px 16px;
  font-size: clamp(0.9rem, 3vw, 1.2rem);
  font-family: 'Assistant Regular', sans-serif;
  font-weight: 100;
  letter-spacing: 0.15em;
  color: white;
  display:flex;
  flex-direction: column;
}
.cred {
  font-size: clamp(0.3rem, 1.5vw, 0.5rem);
}
.div-cred{
  display: flex;
  flex-direction: column;
}
.cat-nav {
  position: absolute;
  bottom: 12px;
  right: 10px;
  display: flex;
  gap: 6px;
  z-index: 3;
}
.cat-btn {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 60px;
  background: rgba(0,0,0,0.3);
  color: white;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s;
}
.cat-btn:hover {
  background: var(--green-light);
  border-color: var(--green-light);
}

/* ===================== SECTION 8 — CREDITS FIN ===================== */
#credits {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-transform: capitalize;
  color: white;
  background-image: url("./Mineral_GONFLE2.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  color: white!important;
}
.credits-bg-text {
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  font-family: 'Assistant Regular', sans-serif;
  font-size: clamp(30px, 10vw, 200px);
  font-weight: 300;
  letter-spacing: 0.5em;
  color: rgba(255, 255, 255, 0.153);
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
}
.credits-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 24px;
}
.roxim-logo img{
  width: 4rem;
}
.credits-tagline {
  font-size: clamp(8px, 10px, 12px);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===================== TIMELPASE ===================== */
#timelapse {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-transform: capitalize;
  color: white;
  background-color: var(--green-deep);
  background-size: cover;
  background-repeat: no-repeat;
  color: white!important;
}
#timelapse-header{
      padding: 50px 60px;
}
.full-video {
  height: 70vh;
}
.full-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ===================== LIGHTBOX ===================== */
.lightbox-download {
  position: absolute;
  top: 20px;
  right: 80px;
  width: fit-content;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  border-radius: 21px;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.25);
  transition: 0.3s;
  padding: 1rem;
}
.lightbox-download:hover {
  background: rgba(255,255,255,0.18);
  transform: scale(1.05);
}
.lightbox-download svg, .lightbox-close svg, .lightbox-prev svg, .lightbox-next svg {
  width: 18px;
  height: 18px;
}
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: white;
  user-select: none;
  padding: 10px;
  z-index: 10000;
}
.lightbox-prev {
  left: 20px;
}
.lightbox-next {
  right: 20px;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 0.7;
}
.display{
  display: none;
}
.desk{
  display: none;
}


@media (max-width: 768px) {
  .interviews-grid, .ia-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .pdf-wrapper{
    height: auto;
  }
  .pdf-viewer{
    width: 80vw;
    height: 60vh;
    border: none;
    overflow: hidden;
  }
.categories-grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
}
.category-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center !important;
}
.display{
  display: flex;
}
.mob{
  display: none;
}
.desk{
  display: flex;
  margin-top: .5rem;
}
.category-title {
  padding: 20px 16px 16px;
  /* font-size: 20px; */
  font-family: 'Assistant Regular', sans-serif;
  font-weight: 100;
  letter-spacing: 0.15em;
  color: white;
  display: flex;
  flex-direction: column;
}
.ia-video-container {
  position: relative;
    width: 100%;
    height: auto;
    border: 10px solid rgba(255, 255, 255, 0.354);  
}
p{
  font-size: 1rem;
}
#ia-section {
    padding: 50px 30px;
}
.section-label {
    /* font-size: 1rem; */
    letter-spacing: 0.3em;
    margin-bottom: 14px;
    font-weight: 100;
    display: flex;
    flex-direction: column;
}
.credits-content {
  padding: 1rem;
}
.full-video video {
    width: 100vw !important;
    height: auto;
    object-fit: cover;
}
.full-video {
    height: auto !important;
}
#timelapse{
  height: auto!important;
}
}