/* 55 Roman (Regular) */
@font-face {
  font-family: 'HN-55-Roman';
  src: url('fonts/HelveticaNeueLTStd-Roman.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
}

/* 65 Medium */
@font-face {
  font-family: 'HN-65-Medium';
  src: url('fonts/HelveticaNeueLTStd-Md.otf') format('opentype');
  font-style: normal;
  font-weight: 500;
}

/* 65 Medium Italic */
@font-face {
  font-family: 'HN-65-Medium-It';
  src: url('fonts/HelveticaNeueLTStd-MdIt.otf') format('opentype');
  font-style: italic;
  font-weight: 500;
}

/* 35 Thin */
@font-face {
  font-family: 'HN-35-Thin';
  src: url('fonts/HelveticaNeueLTStd-Th.otf') format('opentype');
  font-style: normal;
  font-weight: 300;
}

/* 35 Thin Italic */
@font-face {
  font-family: 'HN-35-Thin-It';
  src: url('fonts/HelveticaNeueLTStd-ThIt.otf') format('opentype');
  font-style: italic;
  font-weight: 300;
}

/* 25 Ultra Light */
@font-face {
  font-family: 'HN-25-UltLt';
  src: url('fonts/HelveticaNeueLTStd-UltLt.otf') format('opentype');
  font-style: normal;
  font-weight: 200;
}

/* 25 Ultra Light Italic */
@font-face {
  font-family: 'HN-25-UltLt-It';
  src: url('fonts/HelveticaNeueLTStd-UltLtIt.otf') format('opentype');
  font-style: italic;
  font-weight: 200;
}

/* 45 Light */
@font-face {
  font-family: 'HN-45-Light';
  src: url('fonts/HelveticaNeueLTStd-Lt.otf') format('opentype');
  font-style: normal;
  font-weight: 300;
}

/* 45 Light Italic */
@font-face {
  font-family: 'HN-45-Light-It';
  src: url('fonts/HelveticaNeueLTStd-LtIt.otf') format('opentype');
  font-style: italic;
  font-weight: 300;
}

/* 75 Bold */
@font-face {
  font-family: 'HN-75-Bold';
  src: url('fonts/HelveticaNeueLTStd-Bd.otf') format('opentype');
  font-style: normal;
  font-weight: 700;
}

/* 75 Bold Italic */
@font-face {
  font-family: 'HN-75-Bold-It';
  src: url('fonts/HelveticaNeueLTStd-BdIt.otf') format('opentype');
  font-style: italic;
  font-weight: 700;
}

/* 85 Heavy */
@font-face {
  font-family: 'HN-85-Heavy';
  src: url('fonts/HelveticaNeueLTStd-Hv.otf') format('opentype');
  font-style: normal;
  font-weight: 800;
}

/* 85 Heavy Italic */
@font-face {
  font-family: 'HN-85-Heavy-It';
  src: url('fonts/HelveticaNeueLTStd-HvIt.otf') format('opentype');
  font-style: italic;
  font-weight: 800;
}

/* 95 Black */
@font-face {
  font-family: 'HN-95-Black';
  src: url('fonts/HelveticaNeueLTStd-Blk.otf') format('opentype');
  font-style: normal;
  font-weight: 900;
}

/* 95 Black Italic */
@font-face {
  font-family: 'HN-95-Black-It';
  src: url('fonts/HelveticaNeueLTStd-BlkIt.otf') format('opentype');
  font-style: italic;
  font-weight: 900;
}
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  background-color: #ffffff;
  color: #000000;
}

#body {
  width: 100%;
  height: 100%;
}

/* bloc principal centré dans l'écran */
#blockprincipal {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* texte au-dessus */
.text-wrapper {
  position: relative;
  z-index: 20;
  width: 80vw; /* largeur globale de la compo */
  max-width: 87.5em; /* 1400px */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* chaque ligne de marque (div) */
.brand-line {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* H2 marque : Helvetica Neue 65 Medium, taille 4.0625em (65px), espace vertical serré */
.brand-title {
  font-family: 'HN-65-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 500; /* cohérent avec la coupe Medium */
  font-size: 4.0625em; /* 65px */
  line-height: 1;
  text-transform: uppercase;
  margin: 0.05em 0;
  color: #000000;
  cursor: pointer;
  transition: color 0.2s ease;
  text-align: center;
  position: relative;
}

/* petit chiffre / texte en exposant à droite de la dernière lettre */
.brand-count {
  font-size: 0.18em; /* ~50 % de la taille précédente */
  font-weight: 600;
  margin-left: 0.12em;
  position: relative;
  top: -0.1875em; /* -3px */
}

.brand-soon {
  font-size: 0.18em; /* ~50 % de la taille précédente */
  font-weight: 600;
  margin-left: 0.12em;
  position: relative;
  top: -0.1875em; /* -3px */
}

/* hover gris */
.brand-title:hover {
  color: #808080;
}

/* canvas p5 derrière le texte */
#blockprincipal canvas {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  pointer-events: none;
  z-index: 10;
}

/* offsets horizontaux uniquement : on ne touche plus à l'espace vertical */
.line-1 { transform: translateX( 5vw); }   /* CHROME HEARTS un peu à droite */
.line-2 { transform: translateX( 0vw); }   /* MAISON MARTIN MARGIELA = référence, centrée */
.line-3 { transform: translateX(-6vw); }   /* DIOR HOMME un peu à gauche */
.line-4 { transform: translateX( 5vw); }   /* HELMUT LANG légèrement à droite */
.line-5 { transform: translateX(5vw); }   /* PRADA un peu à gauche */

#footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4.375em; /* 70px */
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between; /* insta à gauche, dark à droite */
  padding: 0 1.5625em; /* 25px */
  box-sizing: border-box;
  z-index: 9999;
  pointer-events: none;
}

/* lien Instagram à gauche */
#footer-instagram {
  pointer-events: auto;
  font-family: 'HN-55-Roman', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1em;
  color: #000000;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

#footer-instagram:hover {
  color: #808080;
}

/* texte "dark" à droite */
#invert-toggle-text {
  pointer-events: auto;
  font-family: 'HN-55-Roman', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1em;
  color: #000000;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}

#invert-toggle-text:hover {
  color: #808080;
}

/* inversion globale */
html.invert-all {
  filter: invert(1);
}

html.invert-all img {
  filter: invert(1);
}

/* Header : logo gauche + clock droite */
#clock-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4.375em; /* 70px */
  background: transparent;
  z-index: 10000;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo left + clock right */
  padding: 0 1.5625em; /* 25px */
  box-sizing: border-box;
}

/* Logo container à gauche */
#logo-container {
  pointer-events: auto; /* clickable */
  align-items: center;
  height: 100%;
  margin-top: 3.125em;
}

h1 {
  font-family: "HN-65-Medium";
  font-size: 1em;
  margin-top: -0.2em;
  display: flex;
  justify-content: space-between;
}

/* Logo : 2x plus gros + switch auto invert */
#header-logo {
  height: 5em; /* 80px (2x le 2.5em précédent) */
  width: auto;
  object-fit: contain;
  cursor: pointer;
  transition: opacity 0.2s ease;
  pointer-events: auto;
}

/* Switch blanc sur invert */
html.invert-all #header-logo {
  content: url('png/logowhite.png'); /* Auto-switch ! */
}


/* Horloge container à droite (inchangé) */
#clock-container {
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#clock-header canvas {
  pointer-events: none;
  height: 5em; /* Aligne avec logo */
  width: auto;
}

/* Conteneur des produits */
.products-section {
  position: absolute;
  z-index: 1000;
  background: transparent;
  animation: fadeIn 0.3s ease-in-out;
}

/* Lignes de produits */
.products-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

/* Cellule (1/3 de la ligne) */
.product-cell {
  width: calc(33.333% - 7px);
}

/* Item */
.product-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.product-item:hover {
  transform: scale(1.02);
}

/* Carré noir 3:4 */
.product-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: #000;
  border: 1px solid #000;
}

/* Texte */
.product-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #333;
}

.product-price {
  font-size: 16px;
  font-weight: 700;
  color: #000;
}

/* Animation apparition */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

