/* ============================================================
   Tom Xhrouet — Portfolio 2026
   Direction artistique : dégradé violet + brun + orange (logo LA POM)
   ============================================================ */

:root {
  /* Violets échantillonnés sur le logo PORTFOLIO 2026 */
  --purple-1:  #dcc4ff;
  --purple-2:  #c3a9ec;
  --purple-3:  #a684d2;
  --purple-4:  #8f6cc0;

  --cream:     #fff5cc;   /* crème chaud repris de la photo « about me » */

  /* dégradé violet largement teinté d'orange (halos diffus) */
  --grad:
    radial-gradient(90% 78% at 96% -6%, rgba(240, 122, 48, 0.85), rgba(240, 122, 48, 0) 62%),
    radial-gradient(78% 68% at -4% 106%, rgba(242, 128, 55, 0.66), rgba(242, 128, 55, 0) 64%),
    radial-gradient(55% 46% at 74% 86%, rgba(245, 150, 90, 0.40), rgba(245, 150, 90, 0) 60%),
    linear-gradient(150deg, #d9bef2 0%, #cea6d8 36%, #c79cc0 64%, #c088a2 100%);

  --ink:       #3a1d12;   /* brun foncé — texte (repris du logo) */
  --ink-soft:  #6b4a3a;
  --orange:    #ee8047;   /* orange du "f" cursif */
  --orange-d:  #e06a2e;

  --card:      #f6efe3;   /* crème pour les blocs de contenu */
  --card-line: rgba(58, 29, 18, 0.14);
  --white-veil: rgba(255, 255, 255, 0.16);

  --radius:    18px;
  --maxw:      1180px;
  --ease:      cubic-bezier(.2,.7,.2,1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  min-height: 100vh;
  background: var(--purple-3);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* fond dégradé qui dérive très lentement (GPU, quasi gratuit) */
body::before {
  content: "";
  position: fixed;
  inset: -40%;
  z-index: -1;
  background: var(--grad);
  will-change: transform;
  animation: bg-drift 18s ease-in-out infinite alternate;
}
@keyframes bg-drift {
  from { transform: translate3d(-6%, -4%, 0) scale(1.08) rotate(-4deg); }
  to   { transform: translate3d(7%,   5%,  0) scale(1.2)  rotate(4deg); }
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; transform: scale(1.1); }
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

::selection { background: var(--orange); color: #fff; }


/* ============================================================
   PAGE D'ACCUEIL
   ============================================================ */
.landing {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  position: relative;
}
/* le logo remplit toute la hauteur : le haut du « P » et le bas du « I »
   touchent le bord haut et le bord bas de l'écran */
.landing__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.landing__logo {
  height: 103vh;
  height: 103dvh;
  width: auto;
  max-width: none;
  filter: drop-shadow(0 18px 44px rgba(58, 29, 18, 0.22));
  animation: rise 1s var(--ease) both;
}
.landing__marks {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding: 1.4rem clamp(1.1rem, 4vw, 2.4rem);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: .72;
}
.landing__cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(1.6rem, 5vh, 3rem);
  margin-inline: auto;
  width: max-content;
  max-width: calc(100% - 2rem);
  z-index: 2;
  animation: rise 1s .25s var(--ease) both;
  box-shadow: 0 12px 30px rgba(58, 29, 18, 0.28);
}
.landing__cta.btn--primary { background: var(--ink); color: var(--purple-1); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .02em;
  white-space: nowrap;
  border: 2px solid var(--ink);
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.btn--primary { background: var(--ink); color: var(--purple-1); }
.btn--primary:hover { transform: translateY(-3px); background: var(--orange); border-color: var(--orange); color: #fff; }
.btn--arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn--arrow:hover svg { transform: translateX(4px); }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--purple-1); transform: translateY(-3px); }

/* ============================================================
   EN-TÊTE (page projets)
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem clamp(1.1rem, 4vw, 3rem);
  background: var(--purple-4);
  border-bottom: 1px solid rgba(58, 29, 18, 0.2);
  color: var(--purple-1);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background: rgba(76, 52, 112, 0.78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.nav__brand-mark {
  display: block;
  width: clamp(44px, 6vw, 54px);
  aspect-ratio: 576 / 565;
  background: var(--cream);
  -webkit-mask: url(img/logo-lapom.png) center / contain no-repeat;
          mask: url(img/logo-lapom.png) center / contain no-repeat;
}
.foot__right { display: flex; align-items: center; gap: 1.2rem; }
.foot__logo {
  display: block;
  width: 30px;
  aspect-ratio: 576 / 565;
  background: var(--ink);
  opacity: .55;
  -webkit-mask: url(img/logo-lapom.png) center / contain no-repeat;
          mask: url(img/logo-lapom.png) center / contain no-repeat;
}
.nav__links { display: flex; gap: clamp(.9rem, 2vw, 1.8rem); align-items: center; }
.nav__links a {
  font-size: .88rem;
  white-space: nowrap;
  position: relative;
  padding: .2rem 0;
  color: var(--purple-1);
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: -3px;
  width: 0; height: 2px; background: var(--orange);
  transition: width .25s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__home {
  border: 1.5px solid var(--purple-1);
  border-radius: 999px;
  padding: .4rem .95rem !important;
}
.nav__home::after { display: none; }
.nav__home:hover { background: var(--purple-1); color: var(--ink); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   SECTIONS (page projets)
   ============================================================ */
.wrap { position: relative; z-index: 1; }

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3.5rem, 10vh, 7rem) clamp(1.1rem, 4vw, 3rem);
}
.section__head {
  margin-bottom: clamp(1.6rem, 4vw, 2.8rem);
}
.section__head h2 {
  font-size: clamp(2.2rem, 6vw, 3.9rem);
  font-weight: 700;
}
.section__num { display: none; }

.section__intro {
  max-width: 60ch;
  margin: -1.4rem 0 2.4rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink-soft);
}

.lead { max-width: 60ch; font-size: clamp(1rem, 1.4vw, 1.16rem); }

/* --- Intro / about me : grande photo à gauche, texte à droite (façon PDF) --- */
.section--intro .section__head {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: clamp(1.4rem, 4vw, 3rem);
  position: relative;
  z-index: 2;
}
.section--intro .section__head h2 {
  text-transform: lowercase;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 700;
}
.intro__grid {
  max-width: 1080px;
  display: grid;
  grid-template-columns: minmax(300px, 460px) 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.intro__photo-wrap { position: relative; display: flex; }
.intro__arc {
  position: absolute;
  left: -30%;
  top: 50%;
  transform: translateY(-50%);
  width: 120%;
  aspect-ratio: 1 / 1;
  border: clamp(9px, 1.7vw, 17px) solid var(--orange);
  border-radius: 50%;
  z-index: 0;
}
.intro__photo-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}
.intro__text p {
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  font-style: italic;
}
.intro__text p + p { margin-top: 1.1rem; }
.intro__text strong { font-weight: 700; font-style: normal; }
@media (max-width: 760px) {
  .intro__grid { grid-template-columns: 1fr; justify-items: start; }
  .intro__photo-wrap { max-width: 340px; }
  .intro__arc { left: -18%; width: 118%; }
}

/* --- What I use --- */
.section--intro { padding-top: clamp(3.5rem, 9vh, 6rem); padding-bottom: clamp(3rem, 8vh, 5rem); }
.section--tools { padding-top: clamp(2rem, 5vh, 3.5rem); }
.tools__grid {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}
.tools__text { font-size: clamp(.95rem, 1.3vw, 1.05rem); line-height: 1.65; color: var(--ink); }
.tools__text strong { font-weight: 700; }
.tools__apps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, min-content);
  gap: 1rem;
}
.tools__apps li { display: block; }
.app {
  display: grid;
  place-items: center;
  width: 70px; height: 70px;
  border-radius: 17px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -.01em;
}
@media (max-width: 640px) {
  .tools__grid { grid-template-columns: 1fr; }
  .tools__apps { justify-content: start; margin-top: .5rem; }
}
.app--ps   { background: #001E36; color: #31A8FF; }
.app--ai   { background: #330000; color: #FF9A00; }
.app--ae   { background: #00005B; color: #9A9AFF; }
.app--pr   { background: #00005B; color: #E89AFF; }
.app--lr   { background: #001E36; color: #66D9FF; }
.app--moho { background: #fff; padding: 0; overflow: hidden; }
.app--moho img { width: 100%; height: 100%; object-fit: cover; }

.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.6rem; }
.chips span {
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: .35rem .85rem;
  font-size: .82rem;
  font-weight: 500;
}
.facts { list-style: none; margin-top: 1.6rem; display: grid; gap: .7rem; }
.facts li { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding-top: .7rem; border-top: 1px solid var(--card-line); font-size: .93rem; }
.facts span { text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; opacity: .7; padding-top: .15rem; }

/* --- Images de projet : rien derrière, juste l'image --- */
.items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
.item { margin: 0; }
.item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}
.item--wide { grid-column: 1 / -1; }
.item--wide img { max-height: 62vh; width: auto; }
.item--tall { grid-row: span 2; }
/* --- Visuel Design : carrousel swipe entre 2 travaux --- */
.carousel { position: relative; }
.carousel__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: center;
  padding: .5rem clamp(0rem, 3vw, 2.5rem) .5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.carousel.is-grabbing .carousel__track { cursor: grabbing; scroll-snap-type: none; }
.carousel.is-grabbing .carousel__slide { pointer-events: none; }

.carousel__btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease);
  z-index: 3;
}
.carousel__btn:hover { background: var(--ink); color: var(--purple-1); }
.carousel__btn:disabled { opacity: .3; cursor: default; }
.carousel__btn:disabled:hover { background: rgba(255, 255, 255, 0.2); color: var(--ink); }
.carousel__btn--prev { left: -6px; }
.carousel__btn--next { right: -6px; }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin-top: 1.6rem;
}
.carousel__dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .2s var(--ease);
}
.carousel__dots button[aria-current="true"] { background: var(--ink); }

/* composition d'un travail (façon PDF) */
.vd {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(1.4rem, 4vw, 3.4rem);
  align-items: center;
}
.vd figure { margin: 0; }
.vd img { display: block; width: 100%; border-radius: 6px; }
.vd__poster { position: relative; grid-row: span 2; }
.vd__poster::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -17%;
  top: 2%;
  width: 66%;
  height: 96%;
  background: rgba(255, 255, 255, 0.24);
  border-radius: 12px;
}
.vd__poster img { position: relative; z-index: 1; }
.vd__square { justify-self: end; width: 90%; }

/* variante « The End of The World » : photo + illustration */
.vd--eow { grid-template-columns: 0.95fr 1.05fr; align-items: center; }
.vd--eow .vd__poster { grid-row: auto; }
.vd--eow .vd__poster::before { top: auto; bottom: -12%; left: -16%; width: 62%; height: 90%; }
.vd--eow .vd__illu img { border-radius: 4px; }

.vd__caption {
  text-align: left;
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  max-width: 1000px;
  margin: clamp(2.2rem, 5vw, 3.4rem) auto 0;
  color: var(--ink);
}
.vd__caption--mono {
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  font-style: normal;
  letter-spacing: .02em;
}
.vd__caption em, .mv + .vd__caption em { font-style: italic; }

/* --- Motion & Animation : lecteur vidéo façon PDF --- */
.mv {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.mv::before {                 /* panneau lavande plus clair, décalé derrière */
  content: "";
  position: absolute;
  z-index: 0;
  left: -3.5%;
  top: -8%;
  width: 58%;
  height: 86%;
  background: rgba(255, 255, 255, 0.24);
  border-radius: 12px;
}
.mv__player {
  position: relative;
  z-index: 1;
  aspect-ratio: 1280 / 540;   /* format cinémascope du film */
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}
.mv__player img,
.mv__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.mv__play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(58, 29, 18, 0.55);
  display: grid;
  place-items: center;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.mv__player:hover .mv__play { background: var(--orange); transform: translate(-50%, -50%) scale(1.06); }
.mv__play::after {
  content: "";
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #fff;
  margin-left: 5px;
}
.mv + .vd__caption {
  max-width: 860px;               /* même largeur que le lecteur .mv */
  margin: clamp(2.6rem, 6vw, 4rem) auto 0;
  text-align: left;
}

/* --- Photo & vidéo : texte à gauche, aligné avec les vidéos --- */
.pv {
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.6rem, 5vw, 3.6rem);
  align-items: center;
}
.pv__img { margin: 0; }
.pv__img img { display: block; width: 100%; border-radius: 6px; }
.pv__text {
  text-align: left;
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  color: var(--ink);
}
.pv__text strong { font-weight: 700; font-style: normal; }

/* carré décoratif translucide, superposé DERRIÈRE le contenu
   (même principe que le panneau derrière la vidéo Mind's Eyes) */
.pane-wrap { position: relative; }
.pane-wrap > * { position: relative; z-index: 1; }
.pane-square {
  position: absolute;
  z-index: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  pointer-events: none;
}
/* rectangle sous le bloc « What I use » */
.pane-square--tools {
  left: 50%;
  transform: translateX(-50%);
  bottom: -16%;
  width: clamp(280px, 60%, 560px);
  height: clamp(120px, 26vw, 210px);
}
/* grand rectangle à cheval entre le texte et la photo de « Photo & vidéo » */
.pane-square--pv {
  left: 50%;
  transform: translateX(-50%);
  top: 8%;
  width: clamp(320px, 82%, 780px);
  height: clamp(280px, 78%, 560px);
}
/* derrière la vidéo Open Air */
.pane-square--vid {
  right: -14%;
  top: -20%;
  width: clamp(200px, 36vw, 400px);
  aspect-ratio: 1 / 1;
}

/* deux lecteurs vidéo, alignés entre eux et centrés */
.pv-videos {
  max-width: 1000px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1.4rem, 4vw, 3rem);
  margin-top: clamp(2.2rem, 5vw, 3.4rem);
}
.pv-video-item {
  margin: 0;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.pv-video-item .cap { text-align: left; }
.pv-video {
  flex: 0 1 auto;
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}
.pv-video img,
.pv-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.pv-video:hover .mv__play {
  background: var(--orange);
  transform: translate(-50%, -50%) scale(1.06);
}
.pv-video--link { text-decoration: none; color: inherit; }
.pv-video--portrait { width: min(280px, 44vw); aspect-ratio: 9 / 16; }
.pv-video--wide { width: min(560px, 74vw); aspect-ratio: 16 / 9; }
.pv-video--empty {
  background: rgba(255, 255, 255, 0.16);
  border: 1px dashed rgba(58, 29, 18, 0.35);
}

@media (max-width: 760px) {
  .pv { grid-template-columns: 1fr; max-width: 460px; }
  .pv-video--wide { width: min(560px, 88vw); }
  .pv-video--portrait { width: min(280px, 60vw); }
}
@media (max-width: 760px) {
  .vd, .vd--eow { grid-template-columns: 1fr; max-width: 420px; }
  .vd__poster { grid-row: auto; }
  .vd__poster::before { display: none; }
  .vd__square { width: 100%; justify-self: stretch; }
  .carousel__btn { top: auto; bottom: -4px; transform: none; width: 40px; height: 40px; }
  .carousel__btn--prev { left: calc(50% - 52px); }
  .carousel__btn--next { right: calc(50% - 52px); }
  .carousel__dots { margin-top: 3.4rem; }
}

/* --- Bandeau logo design : défilement infini --- */
.strip {
  overflow: hidden;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.strip__track {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.5rem, 5vw, 4rem);
  width: max-content;
  padding: 1rem 0;
  animation: strip-scroll 46s linear infinite;
}
.strip__item {
  margin: 0;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.strip__item img {
  height: clamp(150px, 24vw, 240px);
  width: auto;
  border-radius: 10px;
  display: block;
}
.strip__item .cap {
  display: flex;
  flex-direction: column;
  gap: .22rem;
  max-width: 210px;
}
.strip__item .cap strong {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink);
}
.strip__item .cap span {
  display: block;
  font-size: .72rem;
  line-height: 1.35;
  color: var(--ink-soft);
}

/* petit texte sous les images (logo design + reels) */
.cap {
  margin: 0;
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--ink-soft);
}
.cap--block { margin-top: 1rem; }

/* les images défilent vers la droite, en boucle */
@keyframes strip-scroll {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* --- Reels vidéo : carrés verticaux 9/16, débordent des 2 côtés --- */
.reels {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(.7rem, 1.6vw, 1.1rem);
  margin-top: clamp(2rem, 5vw, 3.2rem);
  /* la rangée déborde la colonne de contenu, des deux côtés */
  width: min(1360px, 94vw);
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}
.reel { margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.reel--link { text-decoration: none; color: inherit; transition: transform .2s var(--ease); }
.reel--link:hover { transform: translateY(-4px); }
.reel--link:hover .reel__frame { border-color: var(--orange); }
.reel__frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  border: 1px dashed rgba(58, 29, 18, 0.35);
}
.reel__frame--square { aspect-ratio: 1 / 1; }
.reel__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel__empty { position: absolute; inset: 0; }

/* carré vidéo YouTube (Vidéo & VFX) */
.yt-tile {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}
.yt-tile img,
.yt-tile iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.yt-tile:hover .mv__play { background: var(--orange); transform: translate(-50%, -50%) scale(1.06); }
.yt-tile--empty {
  background: rgba(255, 255, 255, 0.16);
  border: 1px dashed rgba(58, 29, 18, 0.35);
}

.reels--5 { grid-template-columns: repeat(5, 1fr); }

/* --- Grille de GIF (Motion & Animation) : 2 lignes de 4 --- */
.gif-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.7rem, 1.6vw, 1.1rem);
  margin-top: clamp(2rem, 5vw, 3.2rem);
  width: min(1360px, 94vw);
  margin-left: 50%;
  transform: translateX(-50%);
}
.gif-tile {
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.gif-tile img,
.gif-tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .gif-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gif-grid { grid-template-columns: 1fr; max-width: 320px; } }
.reels--1 { grid-template-columns: minmax(0, 260px); justify-content: center; }
@media (max-width: 900px) {
  .reels, .reels--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .reels, .reels--5 { grid-template-columns: repeat(2, 1fr); }
}

/* --- Contact (texte volontairement discret) --- */
.contact__big {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  font-weight: 600;
  max-width: 32ch;
  margin-bottom: 1.4rem;
}
.contact__links { display: grid; }
.contact__links a {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: .8rem;
  padding: .8rem 0;
  border-top: 1px solid var(--ink);
  font-size: clamp(.82rem, 1.3vw, .92rem);
  transition: padding-left .25s var(--ease), color .2s var(--ease);
}
.contact__links a:last-child { border-bottom: 1px solid var(--ink); }
.contact__links a span { align-self: center; text-transform: uppercase; letter-spacing: .1em; font-size: .6rem; opacity: .7; }
.contact__links a:hover { padding-left: .5rem; color: var(--orange-d); }

/* --- Pied de page --- */
.foot {
  position: relative; z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.4rem clamp(1.1rem, 4vw, 3rem) 3rem;
  border-top: 1px solid var(--card-line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; opacity: .8;
}

/* --- Reveal --- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 760px) {
  .items { grid-template-columns: 1fr; }
  .item--tall { grid-row: auto; }
  .item--wide img { max-height: none; width: 100%; }
}
@media (max-width: 640px) {
  .facts li { grid-template-columns: 1fr; gap: .15rem; }
  .contact__links a { grid-template-columns: 1fr; gap: .15rem; }
}

/* Écrans étroits / portrait : le logo remplirait trop l'écran en hauteur,
   on le fait remplir la largeur à la place (le « P » et le « I » restent hauts). */
@media (max-aspect-ratio: 1 / 1) {
  .landing__logo { height: auto; width: 132vw; }
}
@media (max-width: 640px) {
  .landing__cta { font-size: .88rem; padding: .8rem 1.4rem; bottom: 1.8rem; }
  .landing__marks { font-size: .64rem; padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
