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

@font-face {
  font-family: 'ITC Avant Garde Gothic Regular';
  src: url('fonts/ITCAvantGardeGothic-Regular.eot');
  src: url('fonts/ITCAvantGardeGothic-Regular.eot?#iefix') format('embedded-opentype'),
    url('fonts/ITCAvantGardeGothic-Regular.woff2') format('woff2'),
    url('fonts/ITCAvantGardeGothic-Regular.woff') format('woff'),
    url('fonts/ITCAvantGardeGothic-Regular.ttf') format('truetype'),
    url('fonts/ITCAvantGardeGothic-Regular.svg#ITCAvantGardeGothic-Regular') format('svg');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ITC Avant Garde Gothic Bold';
  src: url('fonts/ITCAvantGardeGothic-Bold.eot');
  src: url('fonts/ITCAvantGardeGothic-Bold.eot?#iefix') format('embedded-opentype'),
    url('fonts/ITCAvantGardeGothic-Bold.woff2') format('woff2'),
    url('fonts/ITCAvantGardeGothic-Bold.woff') format('woff'),
    url('fonts/ITCAvantGardeGothic-Bold.ttf') format('truetype'),
    url('fonts/ITCAvantGardeGothic-Bold.svg#ITCAvantGardeGothic-Bold') format('svg');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TT Modernoir Trial Medium';
  src: url('fonts/TTModernoirTrial-Md.eot');
  src: local('TT Modernoir Trial Medium'), local('TTModernoirTrial-Md'),
    url('fonts/TTModernoirTrial-Md.eot?#iefix') format('embedded-opentype'),
    url('fonts/TTModernoirTrial-Md.woff2') format('woff2'),
    url('fonts/TTModernoirTrial-Md.woff') format('woff'),
    url('fonts/TTModernoirTrial-Md.ttf') format('truetype'),
    url('TTModernoirTrial-Md.svg#TTModernoirTrial-Md') format('svg');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TT Modernoir Trial DemiBold';
  src: url('fonts/TTModernoirTrial-DmBd.eot');
  src: local('TT Modernoir Trial DemiBold'), local('TTModernoirTrial-DmBd'),
    url('fonts/TTModernoirTrial-DmBd.eot?#iefix') format('embedded-opentype'),
    url('fonts/TTModernoirTrial-DmBd.woff2') format('woff2'),
    url('fonts/TTModernoirTrial-DmBd.woff') format('woff'),
    url('fonts/TTModernoirTrial-DmBd.ttf') format('truetype'),
    url('fonts/TTModernoirTrial-DmBd.svg#TTModernoirTrial-DmBd') format('svg');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --blanc: #f5f3ef;
  --noir: #313131;
  --gris: #b5b8bb;
  --bleu100: #134395;
  --bleu50: #89d1f4;
  --rose: #e6007e;
}

*,
*::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: 'TT Modernoir Trial Medium', sans-serif;
  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: 'TT Modernoir Trial DemiBold', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.09em;
  color: var(--rose);
  white-space: nowrap;
  text-align: center;
}

.nav-links {
  font-family: 'TT Modernoir Trial Medium', sans-serif;
  font-weight: 500;
  display: flex;
  gap: 0.15rem;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.4rem 0.65rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bleu100);
  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(--rose);
  /*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(--bleu50);
  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 {
  display: block;
  padding: 0.8rem 0;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gris);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color 0.2s;
}

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

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

.label, .concept-tag, .modules-tag, .couleurs-tag, .typographies-tag, .pastille-tag, .affiche-tag, .videos-tag {
  font-family: 'TT Modernoir Trial Medium', sans-serif;
  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: 'TT Modernoir Trial Medium', sans-serif;
  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;
}

.entete-noms .desktop {
  display: flex;
  gap: 3rem;
  margin-bottom: 12rem;
  font-family: 'TT Modernoir Trial Medium', sans-serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 1.909rem + -0.545vw, 1.8rem);
  letter-spacing: 0.07rem;
  color: var(--bleu50);
  text-align: center;
}

.entete-noms .mobile {
  display: none;
}

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

.entete-titre,
.concept-titre {
  font-family: 'TT Modernoir Trial DemiBold', sans-serif;
  font-size: clamp(3.2rem, 1.636rem + 7.818vw, 7.5rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: 0.000001em;
  text-align: center;
}

.entete-titre .ligne1,
.concept-titre .ligne1 {
  color: var(--bleu100);
  display: block;
}

.entete-titre .ligne2,
.concept-titre .ligne2 {
  font-family: 'TT Modernoir Trial Medium', sans-serif;
  /*background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;*/
}

.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(--rose);
  cursor: pointer;
  text-decoration: none;
}

.entete-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--rose), 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);
  }
}

/* ── INTENTION ── */
#intention {
  background: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
}

.intention-text {
  max-width: 720px;
  font-family: 'ITC Avant Garde Gothic Regular', sans-serif;
  font-size: clamp(0.95rem, 0.841rem + 0.545vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--noir);
  text-align: left;
}

/* ── CONCEPT ── */
#concept {
  width: 80vw;
  margin: 0 auto;
  background: var(--noir100);
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.1rem;
}

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

.concept-area {
  width: 110%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.aspect1 {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aspect2 {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aspect3 {
  width: 40%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aspect img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* taille individuelle de chaque forme */
.concept-card:nth-child(1) .aspect1 img { width: 30%; }
.concept-card:nth-child(2) .aspect2 img { width: 120%; }
.concept-card:nth-child(3) .aspect3 img { width: 100%; }

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

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.modules-area {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.forme {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.forme img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* taille individuelle de chaque forme */
.modules-card:nth-child(1) .forme img { width: 70%; }
.modules-card:nth-child(2) .forme img { width: 80%; }
.modules-card:nth-child(3) .forme img { width: 18%; }

.modules-legende {
  font-family: 'ITC Avant Garde Gothic Regular', sans-serif;
  font-size: clamp(0.8rem, 0.745rem + 0.273vw, 0.95rem);
  font-weight: 400;
  color: #aaa;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.modules-nom {
  font-family: 'ITC Avant Garde Gothic Bold', sans-serif;
  font-size: clamp(1.1rem, 1.045rem + 0.273vw, 1.25rem);
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

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

.couleurs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.couleurs-area {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.rond {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rond img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* taille individuelle de chaque forme */
.couleurs-card:nth-child(1) .rond img { width: 80%; }
.couleurs-card:nth-child(2) .rond img { width: 80%; }
.couleurs-card:nth-child(3) .rond img { width: 80%; }

.couleurs-legende {
  font-family: 'ITC Avant Garde Gothic Regular', sans-serif;
  font-size: clamp(0.8rem, 0.745rem + 0.273vw, 0.95rem);
  font-weight: 400;
  color: #aaa;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.couleurs-nom {
  font-family: 'ITC Avant Garde Gothic Bold', sans-serif;
  font-size: clamp(1.1rem, 1.045rem + 0.273vw, 1.25rem);
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

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

.typographies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.typographies-area {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.typeface {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.typeface-01 {
  position: relative;
  bottom: 4px;
}
.typeface-03 {
  position: relative;
  bottom: 16px;
}

.typeface img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* taille individuelle de chaque forme */
.couleurs-card:nth-child(1) .typeface img { width: 90%; }
.couleurs-card:nth-child(2) .typeface img { width: 90%; }
.couleurs-card:nth-child(3) .typeface img { width: 90%; }

.couleurs-legende {
  font-family: 'ITC Avant Garde Gothic Regular', sans-serif;
  font-size: clamp(0.8rem, 0.745rem + 0.273vw, 0.95rem);
  font-weight: 400;
  color: #aaa;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.couleurs-nom {
  font-family: 'ITC Avant Garde Gothic Bold', sans-serif;
  font-size: clamp(1.1rem, 1.045rem + 0.273vw, 1.25rem);
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

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

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

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

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

/* ── FORMAT HORIZONTAL ── */
#format-horizontal {
  width: 50vw;
  margin: 0 auto;
  background: var(--blanc);
}

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

/* ── VIDÉOS ── */
#videos {
  width: 50vw;
  margin: 0 auto;
  background: var(--blanc);
}

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

.video-card-pastille-mouvement {
  padding: 0.2rem 0.8rem;
  margin-top: 3rem;
  transition: background 0.3s, border-color 0.3s;
  position: relative;
  left: 22.3%;
}
.video-card-affiche-mouvement {
  padding: 0.2rem 0.8rem;
  margin-top: 3rem;
  transition: background 0.3s, border-color 0.3s;
  position: relative;
  left: 14.5%;
}
  
.video-wrap-pastille-mouvement {
  width: 80vw;
  overflow: hidden;
  animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) both;
}
.video-wrap-affiche-mouvement {
  width: 98vw;
  overflow: hidden;
  animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) both;
}

@keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
  }

.pastille-mouvement {
  width: 15%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.affiche-mouvement {
  width: 20%;
  display: block;
  aspect-ratio: 4 / 6;
  object-fit: cover;
}

.videos-info {
  font-family: 'ITC Avant Garde Gothic Regular', sans-serif;
  font-size: clamp(0.8rem, 0.745rem + 0.273vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--gris);
  line-height: 1.3;
  margin-top: 0.1rem;
  margin-bottom: 1em;
  text-align: center;
}

/* ── 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.5em; }
  nav { padding: 0 1.2rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  #entete { padding-bottom: 40vh; width: 98vw; margin: 0 auto; }
  .entete-noms { gap: 0.5rem; flex-direction: column; align-items: center; padding-top: 5px; margin-bottom: 6rem; }
  .entete-noms .desktop { display: none; }
  .entete-noms .mobile { display: flex; margin-bottom: 2rem; font-family: 'TT Modernoir Trial Medium', sans-serif; font-size: clamp(1rem, 0.818rem + 0.909vw, 1.5rem); color: #a1a5a8; text-align: center; letter-spacing: 1.1px; }
  .intention-text { max-width: 85vw; text-align: center; line-height: 1.25; margin: 0 auto; }
  .concept-grid { grid-template-columns: 1fr; gap: 0.2rem; margin-bottom: 3rem; }
  #concept2 { height: 150px;}
  .concept-area { width: 90%; margin-bottom: 0.1rem; }
  .concept-card { display: none; }
  .concept-cardb1 { width: 35%; margin: 0 auto; position: relative; top: 30px; }
  .concept-cardb2 { width: 120%; margin: 0 auto; position: relative; right: 10px; }
  .concept-cardb3 { width: 120%; margin: 0 auto; position: relative; bottom: 150px; }
  .modules-grid { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
  #modules2 { height: 130px;}
  .modules-area { margin-bottom: 0.1rem; }
  .couleurs-grid { grid-template-columns: 1fr; gap: 0.2rem; margin-bottom: 3rem; }
  #couleurs2 { height: 130px;}
  .couleurs-area { width: 80%; margin-bottom: -1rem; }
  .typographies-grid { grid-template-columns: 1fr; gap: 0.2rem; margin-bottom: 3rem; }
  #typographies2 { height: 130px;}
  .typographies-area { width: 100%; aspect-ratio: 1 / 1;  margin-bottom: -4rem; }
  #pastille { width: 90vw; margin: 0 auto; }
  #pastille2 { height: 80px;}
  .pastille-grid { display: grid; grid-template-columns: 1fr; margin-top: 0.5rem; }
  .pastille-tag { margin-top: 4rem; margin-bottom: 0.1rem; text-align: center; }
  #affiche { width: 100vw; margin: 0 auto; }
  #affiche2 { height: 80px;}
  .affiche-grid { display: grid; grid-template-columns: 1fr; margin-top: 0.5rem; }
  .affiche-tag { margin-top: 3rem; margin-bottom: 2rem; text-align: center; }
  #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: 100vw; margin: 0 auto; background: var(--blanc); }
  #videos2 { height: 120px;}

  .video-grid { width: 95vw; display: grid; grid-template-columns: 1fr; margin: 0 auto; margin-top: 0.2rem; margin-bottom: 0.4rem; }
  .video-card-pastille-mouvement { position: relative; left: 15%; }
  .video-wrap-pastille-mouvement { width: 95vw; margin: 0 auto; }
  .pastille-mouvement { width: 60%; }

  /*.video-card-affiche-mouvement { position: relative; right: 50%; }*/
  .video-wrap-affiche-mouvement { width: 100%; position: relative; right: 15.5%; }
  .affiche-mouvement { width: 100%; }

  .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; }
  .affiche-grid { grid-template-columns: 1fr; margin-top: 3rem; margin: 0 1.3rem; }
  .affiche-card { width: 80vw; display: flex; justify-content: center; margin: 0 auto; padding: 0.4rem 0.7rem; text-align: center; }
  .colors-row { flex-direction: column; }
}

@media (min-width: 769px) { 
  .concept-cardb1, .concept-cardb2, .concept-cardb3 { display: none; }
}