/* POINTS DE RUPTURE CONVOQUÉS : 320px (20rem) et 1200px (75rem) */

@font-face {
    font-family: 'Redaction35Italic';
    src: url('fonts/Redaction35Italic.eot');
    src: url('fonts/Redaction35Italic.eot') format('embedded-opentype'),
         url('fonts/Redaction35Italic.woff2') format('woff2'),
         url('fonts/Redaction35Italic.woff') format('woff'),
         url('fonts/Redaction35Italic.ttf') format('truetype'),
         url('fonts/Redaction35Italic.svg#Redaction35Italic') format('svg');
}


:root {
  --blanc: #ffffff;
  --noir: #000000;
  --gris: #9a9fa3;
  --gris100: #0e0e0e;
  --jaune: #ffc935;
  --rose: #f61482;
  --range: #f1633a;
  --vert: #7faf2a;
}

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

html {
  scroll-behavior: smooth;
  font-size: 1em;
}

body {
  background: var(--blanc);
  color: var(--noir);
  font-family: 'Redaction35Italic';
  font-weight: 500;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--blanc);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(137, 209, 244, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 56px;
}

.nav-logo {
  font-family: 'Redaction35Italic';
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.09em;
  color: var(--vert);
  white-space: nowrap;
  text-align: center;
}

.nav-links {
  font-family: "area-inktrap", sans-serif;
  font-weight: 500;
  font-style: normal;
  display: flex;
  gap: 0.15rem;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.4rem 0.65rem;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--vert);
  text-decoration: none;
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--range);
  /*border-color: rgba(217, 158, 18, 0.4);*/
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--range);
  transition: all 0.3s;
}

img {
  max-width: 100%;
}

/* ── MOBILE NAV ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.98);
  z-index: 99;
  padding: 1.5rem 2rem 2rem;
  border-bottom: 1px solid rgba(240, 134, 169, 0.2);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  font-family: "area-inktrap", sans-serif;
  font-weight: 700;
  font-style: normal;
  display: block;
  padding: 0.8rem 0;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.65);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--range);
}

/* ── SECTIONS ── */
section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.label,
.principe-tag,
.palette-tag,
.recherches-tag,
.typographies-tag,
.pastille-tag,
.affiche-tag,
.insitu-tag {
  font-family: 'Redaction35Italic';
  font-size: clamp(1.5rem, 1.391rem + 0.545vw, 1.8rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--gris);
  margin-bottom: 4rem;
  text-align: center;
}

.format-horizontal-tag {
  font-family: 'Redaction35Italic';
  font-size: clamp(1.5rem, 1.391rem + 0.545vw, 1.8rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--gris);
  margin-bottom: 0.001rem;
  text-align: center;
}

/* ── ENTÊTE ── */
#entete {
  background: var(--blanc);
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 35vh;
}

.desktop {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 6rem;
  font-family: "area-inktrap", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: clamp(0.9rem, 0.9rem + 0vw, 0.9rem);
  letter-spacing: 0.07rem;
  color: var(--gris);
  text-align: center;
}

.entete-noms .mobile {
  font-size: clamp(0.9rem, 0.9rem + 0vw, 0.9rem);
  display: none;
}

.entete-noms span {
  padding: 0px 10px 0px 10px;
}

.entete-titre,
.principe-titre {
  font-size: clamp(2.5rem, 1.227rem + 6.364vw, 6rem);
  line-height: 0.55;
  letter-spacing: 0.000001em;
  text-align: center;
  margin-bottom: 3rem;
}

.entete-titre .ligne1,
.principe-titre .ligne1 {
  font-family: "area-inktrap", sans-serif;
  font-weight: 800;
  font-style: normal;
  color: var(--rose);
  display: block;
}

.entete-titre .ligne2,
.principe-titre .ligne2 {
  font-family: 'Redaction35Italic';
  font-weight: 100;
  color: var(--rose);
}

.entete-scroll {
  position: absolute;
  bottom: 8rem;
  right: 8vw;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--range);
  cursor: pointer;
  text-decoration: none;
}

.entete-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--range), transparent);
  animation: scrollLine 1.6s ease-in-out infinite;
}

@keyframes scrollLine {

  0%,
  100% {
    opacity: 1;
    transform: scaleY(1);
  }

  50% {
    opacity: 0.3;
    transform: scaleY(0.5);
  }
}

/* ── NOTE ── */
#note {
  width: 70vw;
  margin: 0 auto;
  background: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.1rem;
}
#note2, #palette2, #pastille2, #affiche2 { height: 100px;}

.note-text {
  width: 90%;
  ;
  font-family: "area-inktrap", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: clamp(0.85rem, 0.814rem + 0.182vw, 0.95rem);
  font-weight: 100;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--noir);
  text-align: justify;
}

sup { vertical-align:baseline; position:relative; top:-0.7em; font-size: 0.65rem; }

/* ── PRINCIPE ── */
#principe {
  width: 80vw;
  margin: 0 auto;
  background: var(--blanc);
}

.principe-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.1rem;
}

.principe-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ── PALETTE ── */
#palette {
  width: 70vw;
  margin: 0 auto;
  background: var(--blanc);
}

.palette-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0.2rem;
  margin: 0 auto;
  gap: 2rem;
}

.palette-card {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  transition: background 0.3s, border-color 0.3s;
  text-align: center;
}

.palette-noms {
  font-family: 'Redaction35Italic';
  font-weight: 400;
  font-size: clamp(1.95rem, 1.914rem + 0.182vw, 2.05rem);
  font-weight: 350;
  color: var(--noir);
  margin-bottom: 1rem;
}

.palette-box {
  width: 220px;
  height: 220px;
  margin-bottom: 0.8rem;
  margin: 0 auto;
}

.palette-jaune {
  background: var(--jaune);
}

.palette-rose {
  background: var(--rose);
}

.palette-bleu {
  background: var(--vert);
}

.palette-vert {
  background: var(--range);
}

.palette-desc {
  font-family: "area-inktrap", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(0.75rem, 0.714rem + 0.182vw, 0.85rem);
  font-weight: 350;
  color: var(--noir);
  margin-top: 1rem;
  line-height: 1.2;
}

.marge-bottom {
  height: 80px;
}

/* ── RECHERCHES ── */
#recherches {
  width: 55vw;
  margin: 0 auto;
  background: var(--blanc);
}

.recherches-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.1rem;
}

.recherches-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.recherches-desc {
  font-family: "area-inktrap", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(0.7rem, 0.627rem + 0.364vw, 0.9rem);
  font-weight: 400;
  color: var(--gris);
  position: relative;
  bottom: 158%;
  left: 61.7%;
}

/* ── TYPOGRAPHIES ── */
#typographies {
  width: 60vw;
  margin: 0 auto;
  background: var(--blanc);
}

.typographies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* ── PASTILLE ── */
#pastille {
  width: 60vw;
  margin: 0 auto;
  background: var(--blanc);
}

.pastille-grid {
  display: grid;
  grid-template-columns: repeat(2, 300px);
  /* 2 colonnes */
  grid-template-rows: repeat(4, 300px);
  /* 4 rangées */
  gap: 12px;
  width: fit-content;
  margin: 0 auto;
  margin-top: 2rem;
}

.cellule {
  width: 300px;
  height: 300px;
  overflow: hidden;
  border: 1px dotted #dedede;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.cellule img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── AFFICHE ── */
#affiche {
  width: 50vw;
  margin: 0 auto;
  background: var(--blanc);
  margin-top: 7rem;
  ;
}

.affiche-grid {
  width: 55%;
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 5rem;
  margin: 0 auto;
}

.affiche-desc {
  font-family: "area-inktrap", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(0.75rem, 0.714rem + 0.182vw, 0.85rem);
  font-weight: 350;
  color: var(--noir);
  margin-top: 1rem;
  line-height: 1.2;
  text-align: center;
}

.affiche-wrap {
  width: 98vw;
  overflow: hidden;
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.affiche-wrap video {
  display: block;
  border: 1px dotted var(--gris);
}

.affiche-card {
  transition: background 0.3s, border-color 0.3s;
  position: relative;
  left: 22.6%;
  margin-top: 5rem;
}

.affiche {
  width: 28%;
  display: block;
  aspect-ratio: 6 / 9;
  object-fit: cover;
}

.anniversaire-wrap {
  width: 98vw;
  overflow: hidden;
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.anniversaire-card {
  transition: background 0.3s, border-color 0.3s;
  position: relative;
  left: 14.5%;
  margin-top: 5rem;
}

.anniversaire {
  width: 36%;
  display: block;
  aspect-ratio: 18 / 5;
  object-fit: cover;
  border: 1px solid #e2e2e2;
}


/* ── INSITU ── */
#insitu {
  width: 70vw;
  margin: 0 auto;
  background: var(--blanc);
}

.insitu-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 5rem;
}

.insitu-tag { 
  margin-bottom: 10rem;
  margin-top: 11rem;
}

/* ── FOOTER ── */
#footer {
  background: var(--blanc);
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 35vh;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}




/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  section { padding: 0.2em; }
  nav { padding: 0 1.2rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  #entete { padding-bottom: 38vh; width: 98vw; margin: 0 auto; }
  .entete-noms { gap: 0.5rem; flex-direction: column; align-items: center; padding-top: 5px; margin-top: 3rem; margin-bottom: 6rem; font-family: 'Area Trial Inktrap', sans-serif; font-weight: 100; letter-spacing: 0.02rem; line-height: 1.3; color: var(--gris); }
  .entete-noms .desktop { display: none; }
  .entete-noms .mobile { display: flex; justify-content: center; gap: 0.3rem; margin-bottom: 2rem; }
  #note { width: 96vw; margin: 0 auto; margin-bottom: 6rem; }
  #note3, #palette3, #pastille3, #affiche3 { height: 100px;}
  .note-text { max-width: 100vw; text-align: left; line-height: 1.4; margin: 0 auto; hyphens: auto; }
  #palette { width: 96vw; margin: 0 auto; background: var(--blanc); }
  .palette-grid { display: grid; grid-template-columns: 1fr; margin-top: 0.2rem; margin: 0 auto; gap: 0.2rem; }
  .palette-card { padding-top: 1rem; padding-bottom: 1rem; }
  .palette-noms { margin-bottom: 0.2rem; }
  .palette-desc { margin-top: 0.5rem; line-height: 1.2; }
  .principe-grid { grid-template-columns: 1fr; gap: 0.2rem; margin-bottom: 3rem; }
  .principe-area { width: 100vw; margin-bottom: 0.1rem; }
  .principe-card { display: none; }
  .principe-cardb1 { width: 35%; margin: 0 auto; position: relative; top: 30px; }
  .principe-cardb2 { width: 120%; margin: 0 auto; position: relative; right: 10px; }
  .principe-cardb3 { width: 120%; margin: 0 auto; position: relative; bottom: 150px; }
  #recherches { width: 94vw; margin: 0 auto; margin-bottom: 4rem; }
  .recherches-grid { grid-template-columns: 1fr; gap: 0.2rem; margin-top: 2rem; margin-bottom: 1rem; }
  .recherches-tag { margin-top: 9rem; }
  .recherches-desc { position: relative; bottom: 9%; left: 35%; }
  #typographies { width: 90vw; margin: 0 auto; background: var(--blanc); }
  .typographies-grid { grid-template-columns: 1fr; gap: 0.2rem; margin-bottom: 3rem; }
  #pastille { width: 90vw; margin: 0 auto; background: var(--blanc); }
  .pastille-grid { display: grid; grid-template-columns: 1fr; gap: 12px; width: fit-content; margin: 0 auto; margin-top: 3rem; }
  .pastille-tag { margin-top: 1rem; margin-bottom: 2rem; text-align: center; }
  .cellule { width: 300px; height: 300px; }

  #affiche {
    width: 96vw;
    margin: 0 auto;
    background: var(--blanc);
  }

  .affiche-grid {
    width: 90vw;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    margin-top: 5rem;
    margin: 0 auto;
  }

  .affiche-wrap {
  width: 98vw;
  overflow: hidden;
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  position: relative;
  right: 20%;
}

.affiche-card {
  transition: background 0.3s, border-color 0.3s;
  margin-top: 5rem;
}

.affiche {
  width: 91%;
  display: block;
  aspect-ratio: 6 / 9;
  object-fit: cover;
}

.anniversaire {
  width: 84%;
  display: block;
  aspect-ratio: 18 / 5;
  object-fit: cover;
  border: 1px solid #e2e2e2;
}

.anniversaire-wrap {
  width: 98vw;
  overflow: hidden;
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.anniversaire-card {
  transition: background 0.3s, border-color 0.3s;
  position: relative;
  left: 6%;
  margin-top: 5rem;
}

  .affiche-desc {
    margin-top: 0.4rem;
  }

  .marge-bottom {
    height: 50px;
  }

  #insitu {
  width: 96vw;
  margin: 0 auto;
  background: var(--blanc);
}

.insitu-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 5rem;
}

.insitu-tag { 
  margin-bottom: 6rem;
  margin-top: 9rem;
}

  .modules-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .modules-area {
    margin-bottom: 0.1rem;
  }

  .couleurs-grid {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    margin-bottom: 3rem;
  }

  .couleurs-area {
    width: 80%;
    margin-bottom: -1rem;
  }

  #format-horizontal {
    width: 95vw;
    margin: 0 auto;
  }

  .format-horizontal-grid {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 0.2rem;
  }

  .format-horizontal-tag {
    margin-top: 5rem;
    margin-bottom: 2rem;
    text-align: center;
  }

  #videos {
    width: 96vw;
    margin: 0 auto;
    background: var(--blanc);
  }

  .video-grid {
    width: 90vw;
    display: grid;
    grid-template-columns: 1fr;
    margin: 0 auto;
    margin-top: 0.2rem;
    margin-bottom: 2rem;
  }

  .pastille-mouvement {
    width: 35%;
  }

  .affiche-mouvement {
    width: 70%;
  }

  .video-card-pastille-mouvement {
    position: relative;
    left: 90px;
  }

  .video-card-affiche-mouvement {
    position: relative;
    left: 25px;
  }

  .label,
  .anniv-tag,
  .objectifs-tag,
  .cible-tag,
  .notions-tag,


  .systeme-tag {
    margin-bottom: 1.4rem;
  }

  .triple-tag {
    margin-top: 4.5rem;
    margin-bottom: 2rem;
  }

  .univers-grid {
    grid-template-columns: 1fr;
    margin-top: 3rem;
    margin: 0 1rem;
    margin-bottom: 0.4rem;
  }

  .univers-card {
    padding: 1rem 1rem;
  }

  .univers-name {
    margin-bottom: 0.5rem;
  }

  .univers-desc {
    line-height: 1.4;
    padding: 0 15px;
  }

  .systeme-grid {
    grid-template-columns: 1fr;
    margin-top: 3rem;
    margin: 0 2rem;
  }

  .systeme-card {
    padding: 1rem 0rem;
  }

  .systeme-name {
    margin-bottom: 0.1rem;
  }

  .echantillon-box {
    width: 230px;
    height: 300px;
    margin-bottom: 0.4rem;
  }

  .echantillon-desc {
    line-height: 1.1;
    padding: 0 2px;
  }

  .trichromie {
    width: 80vw;
    margin-top: 2em;
    margin-bottom: 5em;
  }

  .typo-info {
    width: 96vw;
    line-height: 1.1;
    padding: 0 2px;
    margin-top: 2em;
    margin-bottom: 5em;
  }

  .typographie {
    width: 90vw;
    margin-top: 2em;
    margin-bottom: 2em;
  }

  .garamond-sentient {
    width: 80vw;
    margin-top: 2em;
    margin-bottom: 2em;
  }

  .tickets-grid {
    grid-template-columns: 1fr;
    margin-top: 3rem;
    margin: 0 2rem;
  }

  .tickets-card {
    width: 50vw;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding: 0.3rem 0.5rem;
    text-align: center;
  }

  .tickets-mockup {
    width: 96vw;
    padding-right: 2.4rem;
    margin-bottom: 2em;
  }

  .supports-info {
    width: 96vw;
    line-height: 1.1;
    margin-top: 0.4em;
    margin-bottom: 3em;
  }

  .supports-list {
    grid-template-columns: 1fr;
  }

  .colors-row {
    flex-direction: column;
  }
}