@font-face {
  font-family: "Inter Tight";
  src: url("/fonts/inter-tight-latin-900-normal.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("/fonts/inter-tight-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --jaune: #f6d23c;
  --rouge: #e2412e;
  --creme: #fbf1de;
  --encre: #231c18;
  --gras: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --texte: "Inter", -apple-system, system-ui, sans-serif;
  --marge: clamp(16px, 3vw, 40px);
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: var(--rouge);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2 {
  font-family: var(--gras);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.055em;
  line-height: 0.82;
}

em {
  font-style: normal;
}

.sticker {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.tag {
  position: absolute;
  z-index: 3;
  font-family: var(--gras);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--jaune);
}

/* Ouverture, jaune */

.hero {
  position: relative;
  min-height: max(100vh, 720px);
  overflow: hidden;
  background: var(--jaune);
  color: var(--rouge);
}

.barre {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  padding: 16px var(--marge);
  font-family: var(--gras);
  font-weight: 800;
  font-size: 13px;
}

.barre a {
  text-decoration: none;
}

.barre__liens {
  display: flex;
  gap: 22px;
}

.hero__nom {
  position: relative;
  padding-top: 2vw;
}

.hero__prenom,
.hero__famille {
  position: relative;
  z-index: 1;
  display: block;
  white-space: nowrap;
}

.hero__prenom {
  font-size: 24vw;
  margin-left: 1.5vw;
}

.hero__famille {
  z-index: 3;
  font-size: 12.7vw;
  margin-left: -0.8vw;
}

.hero__decoupe {
  position: absolute;
  z-index: 2;
  bottom: 0;
  right: -3%;
  height: 86%;
  max-width: none;
}

.hero__vignette {
  position: absolute;
  z-index: 3;
  bottom: 7%;
  left: 44%;
  width: clamp(90px, 10vw, 150px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  cursor: zoom-in;
}

.hero__etoile {
  bottom: calc(7% + clamp(100px, 12vw, 170px));
  left: calc(44% + clamp(60px, 7.5vw, 115px));
  width: clamp(60px, 6vw, 96px);
  transform: rotate(-12deg);
}

.hero__accroche {
  position: absolute;
  z-index: 3;
  left: var(--marge);
  bottom: 7%;
  max-width: 26ch;
  font-family: var(--gras);
  font-weight: 800;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero__tag {
  left: calc(44% + clamp(104px, 11.5vw, 170px));
  bottom: 7%;
  color: var(--rouge);
}

/* Sur scène, rouge */

.scene {
  padding: clamp(48px, 8vw, 120px) 0 clamp(40px, 6vw, 80px);
}

.scene__intro {
  padding: 0 var(--marge);
  margin-bottom: clamp(32px, 5vw, 64px);
  font-family: var(--gras);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--creme);
}

.scene__intro span {
  font-family: var(--texte);
  font-weight: 400;
  font-size: 14px;
  text-transform: none;
  opacity: 0.8;
}

.role {
  position: relative;
  padding: clamp(32px, 5vw, 72px) var(--marge);
}

.role + .role {
  margin-top: clamp(40px, 8vw, 120px);
}

.role h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(60px, 12.5vw, 220px);
  color: var(--jaune);
}

.role h2 em {
  color: var(--creme);
}

.role__decoupe {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 8%;
  height: clamp(320px, 46vw, 720px);
  max-width: none;
}

.role--inverse h2 {
  text-align: right;
}

.role:first-of-type .role__decoupe {
  right: 1%;
}

.role__cadre {
  position: absolute;
  z-index: 2;
  top: 4%;
  right: 10%;
  width: clamp(200px, 24vw, 380px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transform: rotate(4deg);
  cursor: zoom-in;
}

.role--inverse .role__decoupe {
  right: auto;
  left: 6%;
}

.role__bas {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(24px, 3vw, 48px);
  max-width: 560px;
}

.role--inverse .role__bas {
  margin-left: auto;
  flex-direction: row-reverse;
  text-align: right;
}

.role__photo {
  flex: none;
  width: clamp(110px, 12vw, 180px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  cursor: zoom-in;
}

.role__texte {
  color: var(--creme);
}

.role__titre {
  margin-bottom: 8px;
  font-family: var(--gras);
  font-weight: 800;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--creme);
}

.credit {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.7;
}

.role__sticker {
  top: 2%;
  right: 30%;
  width: clamp(80px, 9vw, 140px);
  transform: rotate(10deg);
}

/* Voix, jaune */

.voix {
  position: relative;
  padding: clamp(48px, 7vw, 100px) var(--marge);
  background: var(--jaune);
  color: var(--rouge);
}

.voix h2 {
  font-size: clamp(80px, 22vw, 360px);
  margin-left: -0.6vw;
}

.voix__micro {
  top: clamp(40px, 6vw, 90px);
  right: 12%;
  width: clamp(80px, 10vw, 160px);
  transform: rotate(8deg);
}

.voix__intro {
  max-width: 30ch;
  margin: clamp(16px, 2vw, 28px) 0 clamp(32px, 4vw, 56px);
  font-family: var(--gras);
  font-weight: 800;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.voix__grille {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 28px);
}

.clip {
  display: block;
  text-decoration: none;
}

.clip img {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.clip:hover img {
  transform: translateY(-4px) rotate(-1deg);
}

.clip span {
  display: block;
  margin-top: 10px;
  font-family: var(--gras);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

/* Contact, rouge */

.contact {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  padding: clamp(48px, 7vw, 100px) var(--marge) 80px;
  color: var(--creme);
}

.contact h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(90px, 21vw, 360px);
  color: var(--jaune);
}

.contact__decoupe {
  position: absolute;
  z-index: 2;
  right: 6%;
  bottom: 0;
  height: min(70vh, 640px);
  max-width: none;
}

.contact__ble {
  bottom: 18%;
  right: 4%;
  width: clamp(60px, 7vw, 110px);
  transform: rotate(-16deg);
}

.contact__texte {
  position: relative;
  z-index: 3;
  margin-top: clamp(24px, 3vw, 48px);
  font-family: var(--gras);
  font-weight: 800;
  font-size: clamp(18px, 1.7vw, 24px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.bouton {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 24px;
  background: var(--jaune);
  color: var(--rouge);
  text-decoration: none;
  transition: transform 0.2s;
}

.bouton:hover {
  transform: rotate(-2deg);
}

.contact__pied {
  position: absolute;
  z-index: 3;
  left: var(--marge);
  bottom: 20px;
  font-size: 12px;
  opacity: 0.75;
}

/* Visionneuse */

.visionneuse {
  max-width: none;
  max-height: none;
  width: 100vw;
  height: 100vh;
  padding: 0;
  border: 0;
  background: rgba(35, 28, 24, 0.94);
  cursor: zoom-out;
}

.visionneuse::backdrop {
  background: transparent;
}

.visionneuse img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4vh 4vw;
}

/* Apparition */

.apparait {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .apparait {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Mobile */

@media (max-width: 760px) {
  .hero {
    min-height: 640px;
  }

  .hero__decoupe {
    right: -12%;
    height: 66%;
  }

  .hero__vignette {
    left: var(--marge);
    bottom: 30%;
  }

  .hero__etoile {
    left: calc(var(--marge) + 64px);
    bottom: calc(30% + 96px);
  }

  .tag,
  .voix__micro {
    display: none;
  }

  .hero__accroche {
    left: var(--marge);
    right: auto;
    max-width: 15ch;
    bottom: 5%;
  }

  .hero__tag {
    display: none;
  }

  .role__decoupe {
    position: relative;
    right: auto;
    height: 380px;
    margin: 16px auto 0;
  }

  .role--inverse .role__decoupe {
    left: auto;
  }

  .role__cadre {
    position: relative;
    top: auto;
    right: auto;
    width: 70%;
    margin: 24px auto 0;
  }

  .role h2,
  .role--inverse h2 {
    text-align: left;
  }

  .role__bas,
  .role--inverse .role__bas {
    margin-left: 0;
    flex-direction: row;
    text-align: left;
  }

  .role__sticker {
    top: 20%;
    right: 6%;
  }

  .voix__grille {
    grid-template-columns: 1fr 1fr;
  }

  .contact__decoupe {
    height: 46vh;
    right: -10%;
  }
}
