/* =========================================================================
   Pyrod — feuille de style unique
   Breakpoints repris de Framer : Desktop ≥1200px, Tablet 810–1199px, Phone <810px
   ========================================================================= */

/* ---------- Police (auto-hébergée) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design tokens ---------- */
:root {
  --bg: #0d0d0d;
  --surface: #141414;
  --surface-2: #161616;
  --white: #fff;
  --white-80: rgba(255, 255, 255, 0.8);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-30: rgba(255, 255, 255, 0.3);
  --white-15: rgba(255, 255, 255, 0.15);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-05: rgba(255, 255, 255, 0.05);
  --muted: rgb(143, 143, 143);
  --muted-2: rgb(179, 179, 179);
  --sage: rgb(145, 163, 155);
  --border: #343434;
  --red: #ff3b30;
  --green: #34d058;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 50px;
  --container: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Typographie (Heading 1 / Heading 2 / Paragraph Large / Paragraph Small) */
  --h1: 80px;
  --h2: 48px;
  --p-lg: 24px;
}
@media (max-width: 1199.98px) { :root { --h1: 64px; --h2: 40px; --p-lg: 22px; --gutter: 40px; } }
@media (max-width: 809.98px)  { :root { --h1: 42px; --h2: 32px; --p-lg: 20px; --gutter: 20px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: #111; padding: 10px 16px; border-radius: 30px; font-weight: 600; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; }
.section { padding: 80px var(--gutter); }

/* ---------- Typographie ---------- */
.h1 { font-size: var(--h1); font-weight: 500; letter-spacing: -0.045em; line-height: 1.06; text-wrap: balance; }
.h2 { font-size: var(--h2); font-weight: 500; letter-spacing: -0.035em; line-height: 1.12; text-wrap: balance; }
.h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.3; }
.p-lg { font-size: var(--p-lg); letter-spacing: -0.02em; line-height: 1.4; }
.p-sm { font-size: 16px; line-height: 1.6; }
.label { font-size: 11px; font-weight: 500; line-height: 2; text-transform: uppercase; }
.muted { color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; line-height: 1.5; color: var(--sage); text-transform: uppercase; }
.bracket { font-size: 16px; line-height: 1.6; color: var(--white); }
.bracket::before { content: "["; } .bracket::after { content: "]"; }

/* ---------- Boutons ---------- */
/* Bouton blanc entouré d'un liseré (composant « Button - Gradient » de Framer) */
.btn {
  display: inline-flex; padding: 4px; border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.btn span {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 30px;
  background: var(--white); color: #0d0d0d; font-size: 15px; font-weight: 500;
}
.btn:hover { transform: scale(1.03); border-color: rgba(255, 255, 255, 0.5); }
.btn-row { display: flex; justify-content: center; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 30px 20px 0; display: flex; justify-content: center; pointer-events: none; }
.nav__bar {
  pointer-events: auto; width: 100%; max-width: 1000px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 6px 7px 6px 20px; border-radius: 44px;
  background: rgba(13, 13, 13, 0.2); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
}
.nav__logo { font-size: 20px; font-weight: 600; letter-spacing: -0.025em; padding: 0 30px 0 10px; }
.nav__links { display: flex; align-items: center; gap: 10px; }
.nav__links a:not(.nav__cta) { position: relative; padding: 10px 12px; font-size: 15px; color: var(--white-80); transition: color 0.2s; }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 11px;
  background: var(--white); opacity: 0; transform: scaleX(0.4); transition: opacity 0.25s, transform 0.25s var(--ease);
}
.nav__links a:not(.nav__cta):hover, .nav__links a:not(.nav__cta)[aria-current="page"] { color: var(--white); }
.nav__links a:not(.nav__cta)[aria-current="page"]::after { opacity: 1; transform: none; }
.nav__cta {
  display: inline-flex; align-items: center; justify-content: center; width: 147px; height: 44px;
  margin-left: 16px; border-radius: 30px; background: var(--white); color: #0d0d0d; font-size: 15px; font-weight: 500;
  transition: transform 0.25s var(--ease);
}
.nav__cta:hover { transform: scale(1.04); }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); align-items: center; justify-content: center; }
.nav__toggle svg { width: 22px; height: 22px; }

@media (max-width: 1199.98px) {
  .nav { padding: 16px 16px 0; }
  .nav__bar { flex-wrap: wrap; border-radius: 30px; padding: 6px 6px 6px 20px; background: rgba(13, 13, 13, 0.55); }
  .nav__logo { padding: 0; }
  .nav__toggle { display: inline-flex; }
  .nav__links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 8px 14px 0; }
  .nav[data-open="true"] .nav__links { display: flex; }
  .nav__links a:not(.nav__cta) { font-size: 20px; padding: 12px 4px; }
  .nav__links a:not(.nav__cta)::after { left: 4px; right: auto; width: 24px; }
  .nav__cta { width: 100%; margin: 8px 0 0; height: 50px; }
}

/* ---------- Bandeau compétences ---------- */
.ticker { padding: 60px 0; overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; align-items: center; gap: 24px; padding-right: 24px; margin: 0; list-style: none; }
.ticker__list li { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.ticker__list li.sep { font-size: 14px; color: var(--white-30); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (max-width: 809.98px) { .ticker__list li { font-size: 20px; } }

/* ---------- Pied de page ---------- */
.footer { padding: 100px var(--gutter) 50px; }
.footer__card {
  max-width: var(--container); margin: 0 auto; padding: 20px; border-radius: 20px; display: grid; gap: 10px;
  background: radial-gradient(132.5% 150% at 3.7% 0%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.03) 38%);
}
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social-btn {
  display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 20px; border-radius: 54px;
  background: rgba(255, 255, 255, 0.07); font-size: 14px; transition: background 0.3s;
}
.social-btn svg { width: 20px; height: 20px; flex: none; }
.social-btn .arrow { margin-left: auto; transition: transform 0.3s var(--ease); }
.social-btn:hover { background: rgba(255, 255, 255, 0.13); }
.social-btn:hover .arrow { transform: translateX(4px); }
.footer__mail { padding: 4px 10px 0; font-size: 11px; font-weight: 500; text-transform: uppercase; line-height: 2; }
.footer__mail a:hover { text-decoration: underline; }
@media (max-width: 809.98px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Retour en haut ---------- */
.back-top {
  position: fixed; right: 20px; bottom: 60px; z-index: 40; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(13, 13, 13, 0.7); border: 1px solid var(--white-30);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity 0.3s, transform 0.3s var(--ease);
}
.back-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-top svg { width: 20px; height: 20px; }

/* ---------- Apparitions au scroll ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- En-têtes plein écran (Projets, Contact, À propos) ---------- */
.page-hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 128px var(--gutter) 96px; overflow: hidden; isolation: isolate;
}
.page-hero__media, .page-hero__media video, .page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before, .page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.page-hero::before { background: linear-gradient(73deg, var(--bg) 34%, rgba(13, 13, 13, 0) 63%); }
.page-hero::after { background: linear-gradient(0deg, var(--bg) 12%, rgba(13, 13, 13, 0) 40%); }
.page-hero__text { width: 100%; max-width: var(--container); margin: 0 auto; display: grid; gap: 24px; }
.page-hero__text .h1 { max-width: 900px; }
.page-hero__text .p-lg { max-width: 680px; }
.gradient-text { background: linear-gradient(160deg, #fff 67%, rgba(255, 255, 255, 0) 94%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Modale vidéo YouTube ---------- */
.video-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, 0.85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.video-modal[hidden] { display: none; }
.video-modal__frame { width: min(85vw, 1100px); aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; }
.video-modal__frame iframe { width: 100%; height: 100%; border: 0; }
.video-modal__close { position: absolute; top: 24px; right: 24px; padding: 12px 20px; border-radius: 24px; background: var(--white); color: #000; font-size: 14px; font-weight: 500; }
@media (max-width: 809.98px) { .video-modal__frame { width: 100%; } }

/* =========================================================================
   ACCUEIL
   ========================================================================= */
.home-hero {
  position: sticky; top: 0; z-index: 1; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 30px;
  padding: 0 var(--gutter) 100px; overflow: clip; pointer-events: none; transform-origin: 50% 70%;
}
/* Vidéo plein cadre derrière le titre, comme sur Framer : contraste renforcé + fondu vers le noir en bas */
.home-hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%;
  z-index: -1; filter: contrast(1.29);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%); mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}
.home-hero h1 { text-align: center; max-width: 1140px; }
.home-hero p { text-align: center; font-size: 16px; }
@media (max-width: 809.98px) { .home-hero { padding: 100px 24px 64px; } }

.showreel { position: relative; z-index: 2; background: var(--bg); padding: 100px 20px 20px; display: grid; justify-items: center; gap: 20px; }
.showreel__title { font-size: 23.5vw; font-weight: 500; letter-spacing: -0.05em; line-height: 1; text-align: center; white-space: nowrap; pointer-events: none; }
.showreel__video { width: 100%; aspect-ratio: 16 / 9; border-radius: 30px; overflow: hidden; transform: scale(0.85); transform-origin: 50% 0; background: #000; position: relative; }
.showreel__video iframe, .showreel__video img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }

.featured { position: relative; z-index: 2; background: var(--bg); }
.featured__head { display: grid; gap: 4px; margin-bottom: 48px; }
.featured__head .tip { color: var(--white-80); font-size: 14px; }
.featured__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 809.98px) { .featured__grid { grid-template-columns: 1fr; } }

/* Carte vidéo carrée (composant « Featured Video Card ») */
.vcard { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: #000; border: 1px solid var(--white-10); text-align: left; }
.vcard img, .vcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), opacity 0.4s; }
.vcard video { opacity: 0; }
.vcard.is-playing video { opacity: 1; }
.vcard:hover img, .vcard:hover video { transform: scale(1.04); }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%); }
.vcard__text { position: absolute; left: 34px; right: 34px; bottom: 34px; z-index: 1; display: grid; gap: 2px; }
.vcard__title, .vcard__client { display: block; }
.vcard__title { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
.vcard__client { font-size: 11px; font-weight: 500; text-transform: uppercase; line-height: 2; }
@media (max-width: 809.98px) { .vcard__text { left: 20px; right: 20px; bottom: 20px; } .vcard__title { font-size: 20px; } }

/* Bloc « Mon dernier montage client » */
.latest { display: flex; align-items: center; gap: 48px; margin-top: 48px; padding: 24px; border-radius: 28px; background: var(--surface); border: 1px solid #2e2e2e; }
.latest .vcard { flex: 1.3; aspect-ratio: 16 / 9; height: auto; }
.latest__text { flex: 1; display: grid; gap: 18px; justify-items: start; padding-right: 16px; }
.latest__title { font-size: 34px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.latest__desc { color: rgb(160, 160, 160); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: var(--white-05); border: 1px solid var(--white-15); font-size: 14px; font-weight: 500; color: rgb(224, 224, 224); line-height: 1.3; }
.pill--sm { padding: 6px 14px; font-size: 13px; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.dot--green { background: var(--green); box-shadow: 0 0 10px 2px rgba(52, 208, 88, 0.6); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); font-size: 13px; font-weight: 500; color: rgb(200, 200, 200); line-height: 1.3; }
@media (max-width: 1199.98px) {
  .latest { flex-direction: column; align-items: stretch; gap: 28px; }
  .latest .vcard { flex: none; }
  .latest__text { padding: 0 8px 8px; }
}
@media (max-width: 809.98px) { .latest { padding: 14px; border-radius: 22px; gap: 22px; } .latest__title { font-size: 26px; } }

.home-about__inner { display: flex; align-items: center; gap: 64px; }
.home-about__photo { flex: 1; max-width: 640px; height: 480px; border-radius: 20px; overflow: hidden; position: relative;
  -webkit-mask-image: radial-gradient(50% 50% at 50% 45%, #000 65%, transparent 100%); mask-image: radial-gradient(50% 50% at 50% 45%, #000 65%, transparent 100%); }
.home-about__photo img { width: 100%; height: 100%; object-fit: cover; }
.home-about__text { flex: 1; display: grid; gap: 24px; }
.home-about__text .p-lg { color: var(--muted-2); }
.home-about .btn-row { margin-top: 48px; }
@media (max-width: 809.98px) { .home-about__inner { flex-direction: column; gap: 32px; } .home-about__photo { width: 100%; height: 340px; } }

.faq { max-width: 800px; margin: 0 auto; }
.faq__head { text-align: center; display: grid; gap: 4px; margin-bottom: 40px; }
.faq__list { display: grid; gap: 14px; }
.faq details { border: 1px solid var(--white-15); border-radius: 12px; background: var(--surface); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-size: 16px; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: none; transition: transform 0.3s var(--ease); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq__answer { padding: 0 22px 20px; color: var(--muted-2); display: grid; gap: 12px; }

/* =========================================================================
   PROJETS
   ========================================================================= */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.filter { min-height: 44px; padding: 12px 18px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, 0.22); font-size: 14px; font-weight: 500; color: rgb(238, 238, 238); transition: background 0.25s, color 0.25s; }
.filter:hover { background: var(--white-10); }
.filter[aria-pressed="true"] { background: var(--white); color: #111; }

.projects { display: grid; gap: 80px; }
.group { display: grid; gap: 30px; }
.group[hidden] { display: none; }
.group__sub { display: grid; gap: 64px; }
.group__head { display: flex; align-items: center; gap: 24px; }
.group__titles { flex: 1; display: grid; gap: 8px; justify-items: start; }
.group__total { color: rgb(184, 184, 184); font-weight: 500; line-height: 1.3; }
.sort { background: #171717; color: var(--white); border: 1px solid #333; border-radius: 20px; padding: 8px 16px; font-size: 13px; color-scheme: dark; cursor: pointer; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 809.98px) { .pgrid { grid-template-columns: 1fr; } .group__head { flex-wrap: wrap; } }

/* Carte projet (composant « Projects - Card ») */
.pcard { display: grid; gap: 20px; padding: 0 0 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--white-10); overflow: hidden; text-align: left; width: 100%; transition: border-color 0.3s, transform 0.4s var(--ease); }
.pcard:hover { border-color: var(--white-30); }
.pcard__media { position: relative; margin: 6px 6px 0; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__cat { position: absolute; top: 15px; left: 20px; z-index: 1; padding: 2px 19px; border-radius: 32px; border: 1px solid var(--white); background: rgba(61, 61, 61, 0.46); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 11px; font-weight: 500; line-height: 2; text-transform: uppercase; }
.pcard__views { position: absolute; right: 12px; bottom: 12px; padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, 0.8); font-size: 14px; font-weight: 600; line-height: 1.2; }
.pcard__body { display: grid; gap: 8px; padding: 0 20px; }
.pcard__meta { display: flex; align-items: center; gap: 11px; font-size: 11px; font-weight: 500; text-transform: uppercase; line-height: 2; }
.pcard__meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--white); }

.cta-end { display: grid; justify-items: center; gap: 22px; padding: 48px 0 24px; text-align: center; }

/* =========================================================================
   À PROPOS
   ========================================================================= */
.chapters-nav { position: relative; z-index: 2; background: #0c0c0c; border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding: 14px 20px; }
.chapters-nav ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chapters-nav a { display: flex; align-items: center; min-height: 44px; padding: 12px 14px; border-radius: 24px; border: 1px solid transparent; font-size: 13px; line-height: 1.3; color: #bdbdbd; transition: color 0.18s, border-color 0.18s; }
.chapters-nav a:hover { color: var(--white); }
.chapters-nav a[aria-current="step"] { color: var(--white); border-color: rgba(255, 255, 255, 0.38); background: rgba(255, 255, 255, 0.03); }
.chapters-nav .num { color: #777; margin-right: 8px; font-size: 11px; }
@media (max-width: 600px) { .chapters-nav ol { gap: 2px; } .chapters-nav a { font-size: 11px; padding: 9px 10px; min-height: 38px; } .chapters-nav .num { display: none; } }

.chapter { scroll-margin-top: 90px; }
.chapter__inner { display: flex; align-items: center; gap: 64px; }
.chapter__text { flex: 1; display: grid; gap: 24px; align-content: start; }
.chapter__media { flex: 1; display: grid; gap: 18px; justify-items: center; }
.fade-y { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 86%, transparent 100%); }
.chapter__media img { width: 100%; object-fit: cover; }
.chapter__caption { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; color: var(--muted-2); text-align: center; text-transform: uppercase; }
.chapter .text-80 { color: var(--white-80); }
.memory { display: flex; align-items: center; gap: 22px; }
.memory__img { position: relative; width: 145px; height: 185px; flex: none;
  -webkit-mask-image: radial-gradient(50% 50% at 55% 46%, #000 60%, transparent 100%); mask-image: radial-gradient(50% 50% at 55% 46%, #000 60%, transparent 100%); }
.memory__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.memory p { color: var(--muted-2); }
.shorts { display: flex; align-items: center; gap: 14px; width: 100%; }
.shorts img { flex: 1; min-width: 0; height: 350px; }
.shorts img:nth-child(2) { height: 420px; }
.big-stat { font-size: var(--h2); font-weight: 500; letter-spacing: -0.035em; line-height: 1.12; }
.steps { display: grid; gap: 24px; }
.step { display: grid; gap: 8px; }
.step h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.04em; line-height: 1.4; color: rgb(238, 238, 238); }
.step p { color: rgb(155, 155, 155); }
@media (max-width: 1199.98px) { .chapter__inner { gap: 40px; } }
@media (max-width: 809.98px) {
  .chapter__inner { flex-direction: column; align-items: stretch; }
  .chapter__inner.reverse-mobile { flex-direction: column-reverse; }
  .shorts img { height: 240px; } .shorts img:nth-child(2) { height: 290px; }
}

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact-hero::before { background: linear-gradient(75deg, var(--bg) 25%, rgba(13, 13, 13, 0.15) 80%); }
.contact-hero::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(13, 13, 13, 0) 60%); }
.contact-hero { min-height: max(650px, 100svh); }

.contact-main { display: grid; gap: 40px; }
.mail-card {
  display: grid; gap: 32px; padding: 48px; border-radius: 28px; border: 1px solid var(--border);
  background: radial-gradient(120% 140% at 0% 0%, #1f1f1f 0%, #121212 60%);
  transition: transform 0.25s var(--ease), background 0.25s;
}
.mail-card:hover { transform: scale(1.01); background: #1c1c1c; }
.mail-card__addr { font-size: 72px; font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; overflow-wrap: anywhere; }
.mail-card__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.mail-card__pitch { color: var(--muted); }
.mail-card__btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: var(--white); color: #111; font-size: 15px; font-weight: 600; }
.mail-card__btn svg { width: 18px; height: 18px; }
@media (max-width: 1199.98px) { .mail-card { padding: 40px; } .mail-card__addr { font-size: 56px; } .mail-card__row { flex-direction: column; align-items: flex-start; gap: 16px; } }
@media (max-width: 809.98px) { .mail-card { padding: 24px; gap: 24px; border-radius: 20px; } .mail-card__addr { font-size: clamp(22px, 7vw, 30px); letter-spacing: -0.02em; } }

.networks__title { color: var(--muted); font-size: var(--p-lg); letter-spacing: -0.02em; line-height: 1.4; }
.networks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ncard { display: grid; gap: 6px; padding: 20px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); transition: transform 0.2s, background 0.2s; }
.ncard:hover { transform: scale(1.03); background: #242424; }
.ncard__top { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.ncard__top svg { width: 18px; height: 18px; flex: none; }
.ncard__top .arrow { margin-left: auto; width: 20px; height: 20px; }
.ncard__handle { color: var(--muted); }
@media (max-width: 1199.98px) { .networks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 809.98px) { .networks { grid-template-columns: 1fr; } }

.map { height: 560px; filter: grayscale(1); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map__placeholder { width: 100%; height: 100%; display: grid; place-items: center; gap: 12px; background: #111; color: var(--muted); text-align: center; }

/* =========================================================================
   404
   ========================================================================= */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 140px var(--gutter) 80px; }
.notfound__inner { max-width: 640px; display: grid; gap: 24px; justify-items: center; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .showreel__video { transform: none !important; }
  .home-hero { transform: none !important; opacity: 1 !important; }
}
