/* ================================================= */
/* TOKENS */
:root {
  /* COLORS */
  --bg: #000; /* LOCKED */
  --fg: rgb(75, 0, 130); /* LOCKED */
  --fg-muted: rgba(75, 0, 130, 0.7); /* LOCKED */
  --fg-faded: rgba(75, 0, 130, 0.5); /* LOCKED */
  --accent: rgba(75, 0, 130, 0.55); /* LOCKED */

  /* TYPO */
  --font-main: "black-pack-vf", sans-serif; /* LOCKED */
  --font-vars: "STRS" 30, "wdth" 85, "wght" 667; /* LOCKED */

  /* FONT SIZES */
  --base: 16px; /* LOCKED */
  --title: 8; /* LOCKED */
  --h1: 7.5; /* LOCKED */
  --h2: 5; /* LOCKED */
  --p: 1.5; /* LOCKED */
  --a: 2; /* LOCKED */
  --footer: 0.974; /* LOCKED */

  /* LAYOUT */
  --max-w: 1080px;

  /* SPACING */
  --space-xs: 8px; /* LOCKED */
  --space-s: 16px; /* LOCKED */
  --space-m: 24px; /* LOCKED */
  --space-l: 48px; /* LOCKED */
  --space-xl: 96px; /* LOCKED */
	
  /* ICONS */
  --icon: 32px; /* LOCKED */
}


/* FIN DES VARIABLES GLOBALES */





* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



html,
body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-main);
  font-variation-settings: var(--font-vars);
  text-align: center;


body {
  display: grid;
  grid-template-rows:
    auto   /* header */
    auto   /* nav */
    1fr    /* main */
    auto;  /* footer */
}
	
header {
  margin: 0;
  /* padding: var(--space-m) 0; */
  padding: var(--space-xs) 0; /* PADDING TOP & BOTTOM */
}


nav {
  margin: 0;
  padding: var(--space-xs) 0;

  display: flex;
  justify-content: center;
  gap: 24px;
}



nav a {
  font-size: calc(var(--base) * var(--a));
  opacity: 0.9;
}

nav a:hover {
  opacity: 1;
}


main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

/*  padding: 0; */
  padding: var(--space-xs) 0;
  gap: var(--space-m);

  overflow-y: auto;   /* SCROLL ICI SEULEMENT */
  overflow-x: hidden;
}


footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  gap: var(--space-xs);
  padding: var(--space-s) 0;

  margin: 0;
  font-size: calc(var(--base) * var(--footer));
}

.footer-text {
  display: flex;
  gap: var(--space-s);
  line-height: 1;
}
	
.footer-text a[alt="MSC"]:hover {
  color: var(--fg);
}

.footer-icons {
  display: flex;
  align-items: center; /* CENTRE OPTIQUE COMMUN */
  gap: var(--space-s);
}

.footer-icons img {
  width: var(--icon);     /* 28px */
  height: var(--icon);    /* IG / KICK */
  object-fit: contain;
  display: block;
}

.footer-icons img[alt="mym"] {
  width: var(--icon);     /* 28px */
  height: auto;           /* PROPORTION NATIVE */
}

	
.footer-icons img:hover {
	opacity: 1;
}





h1 {
  font-size: calc(var(--base) * var(--h1));
  margin: 0;
}

h2 {
  font-size: calc(var(--base) * var(--h2));
  margin: 0;
}

a {
  font-size: calc(var(--base) * var(--a));
  color: var(--fg);
  text-decoration: none;
  margin: 0;
}

a:hover {
  color: var(--accent);
}
	
a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: fit-content;
  min-width: 280px;
  height: auto;

  padding: 12px 6px;
  margin: 0;

  background: var(--fg);
  color: var(--bg);
 /* border: 4px solid var(--fg); */

  font-size: calc(var(--base) * var(--a));
  text-transform: uppercase;
  text-decoration: none;

  white-space: nowrap;         /* ⬅️ PAS DE RETOUR LIGNE */
  transition: background 0.15s ease;
}

a.button:hover {
  background: var(--accent);
}


p {
  font-size: calc(var(--base) * var(--p));
  color: var(--fg);
  margin: 0;
  padding: 0;
  line-height: 0.9;
}



header h1 a {
  font-size: calc(var(--base) * var(--title));
}



/* ================================================= */
/* DEBUG — À ACTIVER SI BESOIN */
/*
* {
  outline: 1px solid rgba(255,0,0,.2);
}
*/

/* ================================================= */

	
	
	
	
@media (max-width: 900px) {

  /* ===== TYPO SCALE (GLOBAL RESPONSIVE) ===== */
  :root {
	--base: 16px;
    --title: 1.4;
    --h1: 1.4;
    --a: 1.30;
  }

  /* ===== VIEWPORT LOCK ===== */
  html, body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* ===== STRUCTURE ===== */
  body {
    margin: 0;
  }

  main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
	overflow-x: hidden;
    gap: 3vh;
    padding-top: 15vh;
  }

  /* ===== HEADER ===== */
  h1 {
    max-width: 90vw; /* MATCH WIDTH BOUTONS */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    font-size: clamp(32px, 10vw, calc(var(--base) * var(--h1)));
  }
	
  header h1 {
    margin-top: 4vh;
  }  
	
  main h1 {
    margin-bottom: 3vh;
  }

  header h1 a {
    font-size: inherit;
  }

  /* ===== NAV OFF (RESPONSIVE CHOICE) ===== */
  nav {
    display: none;
  }

  /* ===== BUTTONS ===== */
  a.button {
    width: 100%;
    max-width: 90vw;
  }
  

  footer {
    position: fixed;
    bottom: 4vh;          /* ⬅️ AJUSTE ICI (3–6vh) */
    left: 0;
    width: 100%;
    height: auto;

    display: flex;
    justify-content: center;

    pointer-events: auto;
    z-index: 10;
  }

	
  .footer-text {
    display: none;
  }
}
