/* ==========================================================================
   comtosee.be — CTS-GAMING, vitrine de The Last Ghoul
   Direction : pierre, encre, sang séché, une seule lueur de lanterne.
   Polices du jeu : Pirata One (titres), Alegreya (texte), Barlow Semi Condensed
   (libellés, boutons). Aucun style n'est écrit dans le HTML.
   ========================================================================== */

/* ---- Polices auto-hébergées (licence OFL, voir /fonts) ------------------ */
@font-face {
  font-family: "Pirata One";
  src: url("/fonts/pirata-one-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya";
  src: url("/fonts/alegreya-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya";
  src: url("/fonts/alegreya-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya";
  src: url("/fonts/alegreya-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/fonts/barlow-semi-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---- Jetons ------------------------------------------------------------- */
:root {
  color-scheme: dark;

  --bg: #0b0908;
  --bg-2: #110d0c;
  --bg-3: #19130f;
  --ink: #0b0908;
  --bone: #e9e0cd;
  --bone-2: rgba(233, 224, 205, 0.74);
  --bone-3: rgba(233, 224, 205, 0.52);
  --line: rgba(233, 224, 205, 0.13);
  --line-2: rgba(233, 224, 205, 0.3);

  --blood: #7a1410;
  --blood-2: #a81c14;
  --blood-bright: #d93b27;
  --ember: #e3a24e;

  --display: "Pirata One", "Times New Roman", serif;
  --body: "Alegreya", Georgia, "Times New Roman", serif;
  --ui: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;

  --max: 1480px;
  --pad: clamp(16px, 3vw, 40px);
  --bar-h: 66px;
  --section: clamp(64px, 9vw, 140px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---- Base --------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--bar-h);
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--bone);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img,
svg,
video,
picture {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--blood-2);
  color: var(--bone);
}

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0;
  color: var(--bone);
  text-wrap: balance;
}

h2 {
  font-size: clamp(40px, 5.6vw, 84px);
}

h3 {
  font-size: clamp(24px, 2.2vw, 30px);
}

p {
  margin: 0;
  text-wrap: pretty;
}

.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: 12px;
  top: -70px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--ui);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}

.muted {
  color: var(--bone-2);
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad);
}

/* Le grain de l'encre, sur toute la page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

/* ---- Petits libellés ---------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--blood-bright);
  margin: 0;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  background: currentColor;
  transform: rotate(45deg) scale(0.8);
}

.eyebrow--plain::before {
  display: none;
}

.head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(26px, 3.4vw, 48px);
  max-width: 56ch;
}

.head .muted {
  font-size: 17px;
}

.lead {
  font-size: clamp(20px, 1.6vw, 23px);
  color: var(--bone);
}

/* ---- Barre haute -------------------------------------------------------- */
.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: var(--bar-h);
  padding: 0 var(--pad);
  background: linear-gradient(to bottom, rgba(11, 9, 8, 0.72), rgba(11, 9, 8, 0));
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.bar.is-scrolled {
  background: rgba(11, 9, 8, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--bone);
  flex: none;
}

.brand__svg {
  height: 20px;
  width: auto;
}

.bar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.bar__nav a {
  padding: 10px 13px;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-2);
  transition: color 0.2s;
}

.bar__nav a:hover {
  color: var(--bone);
}

.bar__cta {
  flex: none;
}

/* ---- Boutons ------------------------------------------------------------ */
.btn {
  display: inline-grid;
  grid-template-columns: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 15px 24px;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--ui);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.1;
  border: 1px solid var(--bone);
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.9);
  transition: background 0.2s, border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  background: #fff7e6;
  border-color: #fff7e6;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.9);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn__label {
  white-space: nowrap;
}

.btn__sub {
  grid-column: 2;
  margin-top: 5px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  opacity: 0.68;
  white-space: nowrap;
}

/* Tant que la page Steam n'existe pas : même bouton, sans lien */
.btn.is-soon {
  cursor: default;
}

.btn.is-soon:hover {
  transform: none;
}

.btn--large {
  padding: 19px 32px;
  font-size: 18px;
}

.btn--large svg {
  width: 24px;
  height: 24px;
}

.btn--compact {
  padding: 9px 14px;
  font-size: 13px;
  column-gap: 9px;
  box-shadow: none;
}

.btn--compact svg {
  width: 16px;
  height: 16px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.cta--center {
  justify-content: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid var(--line-2);
  font-family: var(--ui);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  transition: border-color 0.2s, background 0.2s;
}

.chip:hover {
  border-color: var(--bone);
  background: rgba(233, 224, 205, 0.06);
}

.chip--demo::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 10px var(--ember);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

/* ---- Héros -------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding-top: var(--bar-h);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media picture,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 32%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 9, 8, 0.94) 0%, rgba(11, 9, 8, 0.78) 30%, rgba(11, 9, 8, 0.28) 58%, rgba(11, 9, 8, 0.12) 100%),
    linear-gradient(to bottom, rgba(11, 9, 8, 0.35), transparent 22%, transparent 62%, var(--bg) 100%);
}

.hero__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 5vh, 70px) var(--pad) clamp(70px, 10vh, 120px);
  display: grid;
  justify-items: start;
  gap: 18px;
}

.hero__kicker {
  color: var(--bone-2);
}

.hero__logo {
  margin: 4px 0 2px;
  line-height: 0;
}

.hero__logo img {
  width: min(100%, 540px);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.7));
}

.hero__tagline {
  font-style: italic;
  font-size: clamp(23px, 2.5vw, 32px);
  line-height: 1.25;
  color: var(--bone);
  max-width: 24ch;
}

.hero__text {
  font-size: clamp(18px, 1.5vw, 21px);
  color: var(--bone-2);
  max-width: 54ch;
}

.hero .cta {
  margin-top: 10px;
}

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
}

.tags li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  font-family: var(--ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-3);
}

.hero__platform {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-3);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 2px;
  height: 46px;
  transform: translateX(-50%);
  background: var(--line-2);
  overflow: hidden;
}

.hero__scroll span {
  position: absolute;
  inset: 0;
  background: var(--bone);
  transform: translateY(-100%);
  animation: fil 2.2s var(--ease) infinite;
}

@keyframes fil {
  0% {
    transform: translateY(-100%);
  }
  60%,
  100% {
    transform: translateY(100%);
  }
}

/* ---- Sections ----------------------------------------------------------- */
section {
  position: relative;
}

.about,
.facts {
  overflow: hidden;
  padding-block: var(--section);
  background:
    linear-gradient(to bottom, var(--bg), rgba(11, 9, 8, 0.86) 20%, rgba(11, 9, 8, 0.86) 80%, var(--bg)),
    url("/assets/ghoul/pierre-1438.webp") center / cover no-repeat var(--bg);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 90px);
  align-items: center;
}

.about__text {
  display: grid;
  gap: 18px;
}

.about__text h2 {
  font-size: clamp(64px, 9vw, 132px);
  line-height: 0.9;
  margin-bottom: 6px;
}

.about__text p {
  color: var(--bone-2);
  font-size: clamp(18px, 1.45vw, 20px);
  max-width: 50ch;
}

.about__text p.lead {
  color: var(--bone);
  font-size: clamp(21px, 1.8vw, 25px);
}

.about__text strong {
  color: var(--bone);
  font-weight: 700;
}

.about__figure {
  margin: 0;
  position: relative;
}

.about__figure picture {
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.about__figure img {
  width: 100%;
  height: auto;
}

.about__figure::before {
  content: "";
  position: absolute;
  inset: auto -20% -20% auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(227, 162, 78, 0.22), transparent 62%);
  pointer-events: none;
  z-index: -1;
}

.about__figure figcaption,
.shot figcaption,
.loop figcaption {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-3);
}

.about__figure figcaption {
  margin-top: 12px;
}

/* ---- Ce qu'on fait ------------------------------------------------------ */
.actions {
  padding-block: var(--section);
  background: var(--bg-2);
}

.actions__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 clamp(16px, 2vw, 30px);
  border-top: 1px solid var(--line-2);
}

.actions__list li {
  padding: 26px 0 18px;
  display: grid;
  gap: 10px;
  align-content: start;
  border-top: 2px solid transparent;
  margin-top: -1px;
  transition: border-color 0.3s;
}

.actions__list li:hover {
  border-top-color: var(--blood-bright);
}

.actions__list .num {
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  color: var(--blood-bright);
}

.actions__list h3 {
  font-size: clamp(26px, 2vw, 32px);
}

.actions__list p {
  color: var(--bone-2);
  font-size: 17px;
}

/* ---- Galerie ------------------------------------------------------------ */
.gallery {
  padding-block: var(--section);
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
}

.shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-3);
  aspect-ratio: 16 / 9;
}

.shot:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.shot picture,
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot img {
  transition: transform 1s var(--ease);
}

.shot:hover img,
.shot:focus-within img {
  transform: scale(1.035);
}

.shot figcaption,
.loop figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 36px 14px 12px;
  background: linear-gradient(to top, rgba(11, 9, 8, 0.9), rgba(11, 9, 8, 0));
  color: var(--bone);
  z-index: 1;
  pointer-events: none;
}

.shot button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  z-index: 2;
}

.shot button:focus-visible {
  outline-offset: -3px;
}

.loops__kicker {
  margin: clamp(30px, 4vw, 56px) 0 16px;
  color: var(--bone-3);
}

.loops {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
}

.loop {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-3);
}

.loop video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---- Points forts et fiche --------------------------------------------- */
.facts__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 6vw, 110px);
  align-items: start;
}

.facts__grid > div {
  display: grid;
  gap: 18px;
  align-content: start;
}

.marks {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.marks li {
  position: relative;
  padding-left: 28px;
  font-size: clamp(18px, 1.5vw, 21px);
  color: var(--bone-2);
}

.marks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 9px;
  height: 9px;
  background: var(--blood-bright);
  transform: rotate(45deg);
}

.spec {
  margin: 10px 0 0;
  display: grid;
  border-top: 2px solid var(--line-2);
}

.spec > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.spec dt {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-3);
  align-self: center;
  flex: none;
}

.spec dd {
  margin: 0;
  text-align: right;
  font-size: 17px;
  color: var(--bone);
}

.mature {
  margin-top: 8px;
  border: 1px solid var(--line);
  padding: 0 16px;
}

.mature summary {
  cursor: pointer;
  padding: 13px 0;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-2);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mature summary::-webkit-details-marker {
  display: none;
}

.mature summary::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.2s;
}

.mature[open] summary::before {
  transform: rotate(45deg);
}

.mature p {
  padding: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--bone-3);
}

/* ---- La démo et son compte à rebours ----------------------------------- */
.demo {
  min-height: 86svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding-block: var(--section);
}

.demo__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.demo__media picture,
.demo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.demo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 50% 55%, rgba(11, 9, 8, 0.2), rgba(11, 9, 8, 0.78) 70%),
    linear-gradient(to bottom, var(--bg), transparent 18%, transparent 82%, var(--bg));
}

.demo__inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 18px;
  max-width: 900px;
}

.demo h2 {
  font-size: clamp(52px, 8vw, 110px);
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.demo__text {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--bone);
  max-width: 54ch;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 4vw, 48px);
  margin: 14px 0 10px;
}

.countdown__cell {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 72px;
}

.countdown__cell b {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(46px, 8vw, 104px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--bone);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.9);
}

.countdown__cell span {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-2);
}

.demo.is-after .countdown {
  display: none;
}

.demo .cta {
  margin-top: 8px;
}

/* ---- La bande panoramique ----------------------------------------------- */
.band {
  min-height: min(76svh, 720px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.band__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.band__media picture,
.band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, var(--bg), rgba(11, 9, 8, 0.1) 30%, rgba(11, 9, 8, 0.3) 60%, var(--bg) 100%);
}

.band__inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 18px;
  padding-block: clamp(50px, 8vw, 110px) clamp(60px, 9vw, 130px);
}

.band__inner .eyebrow {
  color: var(--bone-2);
}

.band__quote {
  font-family: var(--display);
  font-size: clamp(54px, 9vw, 132px);
  line-height: 0.92;
  color: var(--bone);
  text-shadow: 0 12px 44px rgba(0, 0, 0, 0.85);
}

/* ---- Contact et les autres jeux ----------------------------------------- */
.contact {
  padding-block: var(--section);
  background: var(--bg-2);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 110px);
  align-items: start;
}

.contact__grid > div {
  display: grid;
  gap: 16px;
  align-content: start;
  justify-items: start;
}

.contact p {
  color: var(--bone-2);
  max-width: 48ch;
}

.mailto {
  display: inline-block;
  margin-top: 4px;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 36px);
  color: var(--bone);
  border-bottom: 2px solid var(--blood-bright);
  padding-bottom: 2px;
  word-break: break-all;
  transition: color 0.2s, border-color 0.2s;
}

.mailto:hover {
  color: var(--ember);
  border-color: var(--ember);
}

.note {
  margin-top: 6px;
  padding-left: 14px;
  border-left: 2px solid var(--blood);
  font-size: 15.5px;
  color: var(--bone-3);
  max-width: 44ch;
}

.others .eyebrow {
  color: var(--bone-3);
}

.others__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.others__list li {
  display: grid;
  grid-template-columns: 40px auto;
  column-gap: 12px;
  align-items: center;
}

.others__list img {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.6) brightness(0.85);
}

.others__list b {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-2);
  line-height: 1.2;
}

.others__list span {
  font-size: 14px;
  color: var(--bone-3);
  line-height: 1.2;
}

/* ---- Pied de page ------------------------------------------------------- */
.foot {
  background: #080606;
  border-top: 1px solid var(--line);
  padding: 34px 0 calc(30px + env(safe-area-inset-bottom));
}

.foot__inner {
  display: grid;
  gap: 18px;
}

.foot__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}

.brand--foot {
  opacity: 0.85;
}

.brand--foot .brand__svg {
  height: 16px;
}

.foot__brand p {
  font-size: 15px;
  color: var(--bone-3);
}

.foot__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.foot__nav a {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-2);
}

.foot__nav a:hover {
  color: var(--bone);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.foot__legal,
.foot__valve {
  font-size: 13px;
  color: var(--bone-3);
  max-width: 90ch;
}

.foot__legal a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.foot__valve {
  font-size: 12px;
  opacity: 0.75;
}

/* ---- Rappel collant (téléphone) ----------------------------------------- */
.sticky {
  position: fixed;
  inset: auto 0 0;
  z-index: 45;
  display: none;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 9, 8, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}

.sticky.is-on {
  transform: translateY(0);
}

.sticky .btn {
  width: 100%;
  justify-content: center;
  grid-template-columns: auto auto;
  justify-items: start;
}

/* ---- Pages document ----------------------------------------------------- */
.is-doc main {
  background: var(--bg);
}

.doc {
  padding: calc(var(--bar-h) + clamp(40px, 7vw, 96px)) var(--pad) clamp(60px, 8vw, 120px);
}

.doc__inner {
  max-width: 72ch;
  margin: 0 auto;
}

.doc h1 {
  font-size: clamp(46px, 7vw, 92px);
  margin-bottom: 14px;
}

.doc h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin: 2em 0 0.5em;
}

.doc h3 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0;
  margin: 1.8em 0 0.4em;
}

.doc p,
.doc li {
  color: var(--bone-2);
}

.doc p {
  margin: 0 0 1em;
}

.doc ul {
  margin: 0 0 1em;
  padding-left: 1.1em;
}

.doc li {
  margin-bottom: 0.4em;
}

.doc a {
  color: var(--bone);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--blood-bright);
}

.doc a:hover {
  color: var(--ember);
}

.doc strong {
  color: var(--bone);
  font-weight: 700;
}

.doc em {
  color: var(--bone);
}

.doc code {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.86em;
  color: var(--bone);
  background: rgba(233, 224, 205, 0.08);
  padding: 2px 6px;
}

.doc .updated {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-3);
  margin-bottom: 2.4em;
}

.doc .lien-fort {
  font-weight: 700;
  font-size: clamp(19px, 2.2vw, 26px);
  text-decoration: none;
  border-bottom: 2px solid var(--blood-bright);
  word-break: break-all;
}

.doc .encart {
  margin: 1.4em 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.doc .encart p:last-child {
  margin-bottom: 0;
}

/* ---- Page 404 ----------------------------------------------------------- */
.oops {
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 20px;
  padding: var(--bar-h) var(--pad) 40px;
  max-width: var(--max);
  margin: 0 auto;
}

.oops h1 {
  font-size: clamp(48px, 9vw, 130px);
}

.oops p {
  color: var(--bone-2);
  max-width: 48ch;
  font-size: 20px;
}

.btn svg.btn__arrow,
.btn > svg:last-child:not(.btn__steam) {
  width: 16px;
  height: 16px;
}

/* ---- Visionneuse -------------------------------------------------------- */
.lightbox {
  border: 0;
  padding: 0;
  margin: auto;
  width: min(96vw, 1600px);
  max-height: 96vh;
  background: transparent;
  color: var(--bone);
}

.lightbox::backdrop {
  background: rgba(6, 4, 3, 0.95);
}

/* La page ne défile plus derrière la visionneuse */
body.is-locked {
  overflow: hidden;
}

.lightbox__frame {
  display: grid;
  place-items: center;
}

.lightbox__frame img {
  max-width: 92vw;
  max-height: 84vh;
  width: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

.lightbox__caption {
  margin-top: 14px;
  text-align: center;
  color: var(--bone-2);
  font-family: var(--ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lightbox__btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-2);
  background: rgba(11, 9, 8, 0.75);
  color: var(--bone);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.lightbox__btn:hover {
  border-color: var(--bone);
}

.lightbox__btn svg {
  width: 18px;
  height: 18px;
}

.lightbox__btn--prev {
  left: 14px;
}

.lightbox__btn--next {
  right: 14px;
}

.lightbox__close {
  top: 14px;
  right: 14px;
  transform: none;
}

/* ---- Apparition au défilement ------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

.shots .reveal:nth-child(2),
.loops .reveal:nth-child(2),
.actions__list .reveal:nth-child(2) {
  transition-delay: 0.06s;
}
.shots .reveal:nth-child(3),
.loops .reveal:nth-child(3),
.actions__list .reveal:nth-child(3) {
  transition-delay: 0.12s;
}
.actions__list .reveal:nth-child(4) {
  transition-delay: 0.18s;
}
.actions__list .reveal:nth-child(5) {
  transition-delay: 0.24s;
}

.stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

.stagger.is-visible > *:nth-child(2) {
  transition-delay: 0.08s;
}
.stagger.is-visible > *:nth-child(3) {
  transition-delay: 0.16s;
}
.stagger.is-visible > *:nth-child(4) {
  transition-delay: 0.24s;
}
.stagger.is-visible > *:nth-child(5) {
  transition-delay: 0.32s;
}
.stagger.is-visible > *:nth-child(6) {
  transition-delay: 0.4s;
}

.no-js .stagger > * {
  opacity: 1;
  transform: none;
}

/* ---- Réactivité --------------------------------------------------------- */
@media (max-width: 1200px) {
  .actions__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 clamp(16px, 2vw, 30px);
  }
}

@media (max-width: 980px) {
  .about__grid,
  .facts__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .about__figure {
    order: -1;
  }

  .shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shot:first-child {
    grid-column: span 2;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 860px) {
  .bar__nav {
    display: none;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 17px;
  }

  .hero {
    align-items: end;
  }

  .hero__media img {
    object-position: 70% 30%;
  }

  /* La bande : sur un écran étroit, la gauche du panorama (les murs, les goules), jamais le
     visage du héros en gros plan */
  .band__media img {
    object-position: 22% 42%;
  }

  .hero::before {
    background:
      linear-gradient(to bottom, rgba(11, 9, 8, 0.45), rgba(11, 9, 8, 0.05) 30%, rgba(11, 9, 8, 0.75) 58%, var(--bg) 92%);
  }

  .hero__inner {
    padding-bottom: 54px;
  }

  .hero__logo img {
    width: min(100%, 380px);
  }

  .hero__scroll {
    display: none;
  }

  .actions__list {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .actions__list li {
    border-top: 1px solid var(--line-2);
    padding: 20px 0 16px;
  }

  .shots,
  .loops {
    grid-template-columns: 1fr;
  }

  .shot:first-child {
    grid-column: auto;
  }

  .countdown__cell {
    min-width: 0;
  }

  .spec > div {
    flex-direction: column;
    gap: 2px;
  }

  .spec dd {
    text-align: left;
  }

  .sticky {
    display: block;
  }

  .lightbox__btn--prev,
  .lightbox__btn--next {
    top: auto;
    bottom: 16px;
    transform: none;
  }
}

@media (max-width: 420px) {
  .bar {
    gap: 10px;
  }

  .brand__svg {
    height: 17px;
  }

  .btn--compact .btn__label {
    display: none;
  }

  .btn--compact {
    column-gap: 0;
    padding: 10px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal,
  .stagger > * {
    opacity: 1;
    transform: none;
  }
  .hero__scroll {
    display: none;
  }
}

/* ==========================================================================
   L'accueil de la société : comtosee, l'agence. Même famille (même rouge, mêmes
   polices, même losange), mais le papier à la place de la pierre : clair, sobre.
   ========================================================================== */
.is-agence {
  --bg: #f3eee4;
  --bg-2: #ebe4d6;
  --bg-3: #e2d9c8;
  --ink: #17120f;
  --bone: #17120f;
  --bone-2: rgba(23, 18, 15, 0.74);
  --bone-3: rgba(23, 18, 15, 0.56);
  --line: rgba(23, 18, 15, 0.14);
  --line-2: rgba(23, 18, 15, 0.32);
  --blood-bright: #c0281c;
  --ember: #a8661c;
  color-scheme: light;
  background: var(--bg);
  color: var(--ink);
}

.is-agence::after {
  opacity: 0.035;
}

.is-agence h1,
.is-agence h2,
.is-agence h3 {
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--ink);
}

.is-agence h2 {
  font-size: clamp(32px, 4.2vw, 56px);
}

.is-agence h3 {
  font-size: clamp(21px, 1.8vw, 25px);
}

.is-agence ::selection {
  background: var(--blood-bright);
  color: #fff;
}

.is-agence :focus-visible {
  outline-color: var(--blood-bright);
}

.is-agence .skip-link {
  background: var(--ink);
  color: var(--bg);
}

/* La barre, claire */
.bar--agence {
  background: linear-gradient(to bottom, rgba(243, 238, 228, 0.9), rgba(243, 238, 228, 0));
}

.bar--agence.is-scrolled {
  background: rgba(243, 238, 228, 0.9);
  border-bottom-color: var(--line);
}

.bar--agence .brand {
  color: var(--ink);
}

.bar--agence .bar__nav a {
  color: var(--bone-2);
}

.bar--agence .bar__nav a:hover {
  color: var(--ink);
}

/* Le bouton d'encre */
.btn--ink {
  background: var(--ink);
  color: #f3eee4;
  border-color: var(--ink);
  box-shadow: 0 10px 30px -16px rgba(23, 18, 15, 0.8);
}

.btn--ink:hover {
  background: #2a221d;
  border-color: #2a221d;
}

.chip--ink {
  border-color: var(--line-2);
  color: var(--ink);
}

.chip--ink:hover {
  border-color: var(--ink);
  background: rgba(23, 18, 15, 0.05);
}

.chip--ink::after {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--blood-bright);
  transform: rotate(45deg);
}

/* Le héros, sobre : du texte et du blanc */
.agence-hero {
  padding: calc(var(--bar-h) + clamp(60px, 12vh, 150px)) 0 clamp(48px, 8vw, 110px);
  border-bottom: 1px solid var(--line);
}

.agence-hero__inner {
  display: grid;
  gap: 22px;
  justify-items: start;
  max-width: 1480px;
}

.agence-hero h1 {
  font-size: clamp(44px, 7vw, 108px);
  line-height: 0.98;
  max-width: 14ch;
}

.agence-hero__text {
  font-size: clamp(19px, 1.7vw, 24px);
  color: var(--bone-2);
  max-width: 50ch;
}

.agence-hero .cta {
  margin-top: 8px;
}

/* Les services : une grille de fiches */
.services,
.methode,
.agence-contact {
  padding-block: var(--section);
}

.services {
  background: var(--bg);
}

.services__list,
.methode__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.services__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}

.service {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: clamp(22px, 2.4vw, 34px);
  border: 1px solid var(--line);
  background: #fbf8f1;
  transition: border-color 0.25s, transform 0.3s var(--ease);
}

.service:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.service__num {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--blood-bright);
}

.service p {
  color: var(--bone-2);
  font-size: 17px;
}

/* La cinquième fiche, celle des jeux : l'encre, la couleur de la vitrine */
.service--jeux {
  background: #0b0908;
  border-color: #0b0908;
  color: #e9e0cd;
}

.service--jeux h3 {
  color: #e9e0cd;
}

.service--jeux p {
  color: rgba(233, 224, 205, 0.74);
}

.service__lien {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e9e0cd;
  border-bottom: 1px solid rgba(233, 224, 205, 0.4);
  padding-bottom: 3px;
  justify-self: start;
}

.service__lien svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.service__lien:hover svg {
  transform: translateX(4px);
}

/* La méthode : trois étapes numérotées */
.methode {
  background: var(--bg-2);
}

.methode__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(20px, 3vw, 48px);
  border-top: 1px solid var(--line-2);
}

.methode__list li {
  padding: 26px 0 10px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.methode__list .num {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--blood-bright);
}

.methode__list p {
  color: var(--bone-2);
  font-size: 17px;
}

/* La bande des jeux : la seule image, sombre, qui mène à /gaming/ */
.jeux {
  min-height: min(70svh, 640px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #e9e0cd;
  padding-block: clamp(50px, 8vw, 110px);
}

.jeux__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #0b0908;
}

.jeux__media picture,
.jeux__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 40%;
}

.jeux::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(11, 9, 8, 0.95) 0%, rgba(11, 9, 8, 0.85) 42%, rgba(11, 9, 8, 0.3) 100%);
}

.jeux__inner {
  display: grid;
  gap: 16px;
  justify-items: start;
  max-width: 1480px;
}

.jeux__inner .eyebrow {
  color: rgba(233, 224, 205, 0.7);
}

.jeux h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #e9e0cd;
  font-size: clamp(38px, 5vw, 72px);
  max-width: 16ch;
}

.jeux p {
  color: rgba(233, 224, 205, 0.78);
  font-size: clamp(17px, 1.4vw, 20px);
  max-width: 52ch;
}

.jeux .cta {
  margin-top: 6px;
  gap: 14px 26px;
}

/* Sur la bande sombre, le bouton reprend l'ivoire de la vitrine du jeu */
.jeux .btn {
  background: #e9e0cd;
  color: #0b0908;
  border-color: #e9e0cd;
}

.jeux .btn:hover {
  background: #fff7e6;
  border-color: #fff7e6;
}

.brand--inline {
  color: #e9e0cd;
}

.brand--inline .brand__svg {
  height: 18px;
}

/* Le contact : trois colonnes */
.coords {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 30px);
  border-top: 2px solid var(--ink);
  padding-top: 22px;
}

.coords dt {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-3);
  margin-bottom: 8px;
}

.coords dd {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.4;
}

.coords a {
  font-weight: 700;
  border-bottom: 2px solid var(--blood-bright);
  padding-bottom: 1px;
  word-break: break-all;
}

.coords a:hover {
  color: var(--blood-bright);
}

/* Le pied, clair */
.foot--agence {
  background: var(--bg-2);
  border-top-color: var(--line);
}

.foot--agence .brand--foot {
  color: var(--ink);
}

.foot--agence .foot__nav a {
  color: var(--bone-2);
}

.foot--agence .foot__nav a:hover {
  color: var(--ink);
}

@media (max-width: 980px) {
  .services__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .methode__list,
  .coords {
    grid-template-columns: 1fr;
  }

  .methode__list li {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .services__list {
    grid-template-columns: 1fr;
  }

  .agence-hero h1 {
    font-size: clamp(38px, 11vw, 60px);
  }
}

@media print {
  .bar,
  .foot,
  .sticky,
  body::after {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
}
