/* HypeSlasher — landing (hypeslasher.fr)
   Palette « pierre dorée le jour, braise la nuit » — Kaminos Studio, Périgord.
   Tokens clair/sombre en tête, puis les sections dans l'ordre de la page. */

/* Fraunces (variable, auto-hébergée) — titres serif « moderne + ancien » */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/fraunces-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;
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/fraunces-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;
}

/* ==== Tokens — « pierre dorée le jour, braise la nuit ». Kaminos / Périgord. ==== */
/* Clair = pierre dorée du Périgord (ocre, patrimonial, calme). */
:root {
  --paper: #f2e9d6;
  --paper-2: #e9dcc2;
  --card: #fbf4e6;
  --ink: #26201a;
  --ink-2: #4a3f33;
  --muted: #857256;
  --line: #d8c7a6;
  --accent: #d2551e;
  --accent-ink: #fff8ee;
  --accent-soft: rgba(210, 85, 30, .10);
  --gold: #c08a2e;
}

/* Sombre = la braise de la forge (chaleur, Kaminos). */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #17110b;
    --paper-2: #201810;
    --card: #241a11;
    --ink: #f0e3c9;
    --ink-2: #cfc0a2;
    --muted: #9c8a6e;
    --line: #382b1c;
    --accent: #ff7a38;
    --accent-ink: #1a0d05;
    --accent-soft: rgba(255, 122, 56, .14);
    --gold: #e0ac55;
  }
}

:root[data-theme="light"] {
  --paper: #f2e9d6;
  --paper-2: #e9dcc2;
  --card: #fbf4e6;
  --ink: #26201a;
  --ink-2: #4a3f33;
  --muted: #857256;
  --line: #d8c7a6;
  --accent: #d2551e;
  --accent-ink: #fff8ee;
  --accent-soft: rgba(210, 85, 30, .10);
  --gold: #c08a2e;
}

:root[data-theme="dark"] {
  --paper: #17110b;
  --paper-2: #201810;
  --card: #241a11;
  --ink: #f0e3c9;
  --ink-2: #cfc0a2;
  --muted: #9c8a6e;
  --line: #382b1c;
  --accent: #ff7a38;
  --accent-ink: #1a0d05;
  --accent-soft: rgba(255, 122, 56, .14);
  --gold: #e0ac55;
}

* {
  box-sizing: border-box;
}

.hs {
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.hs a {
  text-decoration: none;
}

.hs a:not(.btn) {
  color: inherit;
}

/* les boutons gardent leur propre couleur de texte */
.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 26px;
}

.mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* Titres = Fraunces serif (optical sizing variable) → le « ancien » chaleureux */
.disp {
  font-family: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  font-weight: 820;
  letter-spacing: -.012em;
  line-height: 1.0;
  text-wrap: balance;
  font-optical-sizing: auto;
}

.eyebrow {
  font-family: ui-monospace, Menlo, monospace;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}

.eyebrow::before {
  content: "/";
  font-weight: 700;
  font-size: 1.1em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .95rem;
  padding: .8rem 1.25rem;
  border: 2px solid var(--ink);
  border-radius: 2px;
  cursor: pointer;
  transition: transform .1s ease, background .15s ease, color .15s ease;
}

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

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn-ink:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-sm {
  padding: .5rem .85rem;
  font-size: .85rem;
  border-width: 1.5px;
}

/* wordmark HYPE/SLASHER */
.mark {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 850;
  letter-spacing: -.04em;
  font-size: 1.15rem;
}

.mark s {
  text-decoration: none;
  color: var(--accent);
  font-weight: 900;
  padding: 0 .04em;
}

.nav {
  border-bottom: 2px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
}

.nav .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.nav .r {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tag-b {
  font-family: ui-monospace, Menlo, monospace;
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  padding: .16rem .45rem;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 66px 0 30px;
  overflow: hidden;
}

/* couture incandescente (métal chauffé : or → braise) */
.hero .slash {
  position: absolute;
  top: -140px;
  right: -60px;
  width: 340px;
  height: 1400px;
  background: linear-gradient(160deg, var(--gold), var(--accent));
  transform: rotate(24deg);
  opacity: .16;
  z-index: 0;
}

.hero .grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}

h1.disp {
  font-size: clamp(2.7rem, 7vw, 5rem);
  text-transform: uppercase;
  margin: .7rem 0 0;
}

h1.disp .k {
  color: var(--accent);
}

.lede {
  font-size: 1.12rem;
  color: var(--ink-2);
  margin: 1.2rem 0 0;
  max-width: 40ch;
}

.cta-row {
  display: flex;
  gap: .7rem;
  margin-top: 1.7rem;
  flex-wrap: wrap;
}

.pull {
  margin-top: 1.7rem;
  border-left: 3px solid var(--accent);
  padding: .2rem 0 .2rem .9rem;
  max-width: 42ch;
}

.pull q {
  font-style: italic;
  font-size: 1.02rem;
}

.pull q::before,
.pull q::after {
  content: ""
}

.pull cite {
  display: block;
  font-family: ui-monospace, Menlo, monospace;
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--muted);
  margin-top: .4rem;
  font-style: normal;
  text-transform: uppercase;
}

/* phone 9:16 */
.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  width: 232px;
  aspect-ratio: 9/19;
  background: #0e0b12;
  border-radius: 30px;
  padding: 9px;
  border: 2px solid var(--ink);
  box-shadow: 12px 12px 0 var(--accent);
  position: relative;
  transform: rotate(3deg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: rotate(3deg) translateY(0)
  }

  50% {
    transform: rotate(3deg) translateY(-9px)
  }
}

.screen {
  position: relative;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.screen .cam {
  height: 33%;
  background: linear-gradient(135deg, #7a3b1c, #c8862b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  position: relative;
}

.screen .game {
  flex: 1;
  background: linear-gradient(150deg, #2a1c12, #3a2415 60%, #4a2a18);
  position: relative;
}

.badge-fmt {
  position: absolute;
  top: 8px;
  left: 8px;
  font-family: ui-monospace, monospace;
  font-size: .52rem;
  letter-spacing: .12em;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  padding: .15rem .4rem;
  border-radius: 3px;
}

.subline {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 34px;
  text-align: center;
}

.subline b {
  background: var(--accent);
  color: #fff;
  font-size: .74rem;
  font-weight: 800;
  padding: .12rem .3rem;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  line-height: 1.5;
}

.subline span {
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  text-shadow: 0 1px 2px #000;
}

.playbtn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  display: flex;
  align-items: center;
  justify-content: center;
}

.playbtn::after {
  content: "";
  border-left: 15px solid var(--ink);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}

.caption {
  text-align: center;
  font-family: ui-monospace, Menlo, monospace;
  font-size: .66rem;
  letter-spacing: .06em;
  color: var(--muted);
  margin-top: 16px;
}

/* ============ sections ============ */
.band {
  padding: 62px 0;
  border-top: 2px solid var(--ink);
}

.band.alt {
  background: var(--paper-2);
}

.head {
  max-width: 60ch;
}

.head h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin: .5rem 0 0;
  text-transform: uppercase;
}

.head p {
  color: var(--muted);
  margin: .7rem 0 0;
  font-size: 1.02rem;
  max-width: 56ch;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 34px;
  border: 2px solid var(--ink);
}

.step {
  padding: 22px;
  border-right: 2px solid var(--ink);
}

.step:last-child {
  border-right: none;
}

.step .n {
  font-family: "Helvetica Neue", Helvetica, Arial;
  font-weight: 850;
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -.04em;
}

.step h3 {
  margin: .5rem 0 .3rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: -.01em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.step .free {
  display: inline-block;
  margin-top: .6rem;
  font-family: ui-monospace, monospace;
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  padding: .1rem .35rem;
}

.step .pro {
  border-color: var(--accent);
  color: var(--accent);
}

.feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 34px;
  border: 2px solid var(--ink);
  border-bottom: none;
}

.feat {
  padding: 24px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.feat:nth-child(3n) {
  border-right: none;
}

.feat .tag {
  font-family: ui-monospace, Menlo, monospace;
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

.feat h3 {
  margin: .5rem 0 .35rem;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: -.01em;
}

.feat p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

/* avant/apres */
.ba {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.lab {
  font-family: ui-monospace, Menlo, monospace;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  display: block;
}

.b169 {
  width: 300px;
  height: 169px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #2a1c12, #3a2415);
}

.b169 .cam {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 70px;
  height: 48px;
  border-radius: 4px;
  background: linear-gradient(135deg, #c8862b, #e0ac55);
  border: 2px solid rgba(255, 255, 255, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.b916 {
  width: 108px;
  height: 192px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 7px 7px 0 var(--accent);
}

.b916 .cam {
  height: 32%;
  background: linear-gradient(135deg, #c8862b, #e0ac55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.b916 .game {
  flex: 1;
  background: linear-gradient(150deg, #2a1c12, #3a2415);
}

.slasharrow {
  font-family: "Helvetica Neue", Helvetica, Arial;
  font-weight: 850;
  color: var(--accent);
  text-align: center;
  letter-spacing: -.03em;
}

.slasharrow .big {
  font-size: 2.4rem;
  display: block;
  line-height: 1;
}

.slasharrow small {
  font-family: ui-monospace, monospace;
  font-size: .6rem;
  letter-spacing: .14em;
  color: var(--muted);
}

/* pricing */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 34px;
  border: 2px solid var(--ink);
}

.tier {
  padding: 24px 20px;
  border-right: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tier:last-child {
  border-right: none;
}

.tier.pop {
  background: var(--ink);
  color: var(--paper);
  position: relative;
}

.tier.pop .name,
.tier.pop li {
  color: color-mix(in srgb, var(--paper) 74%, transparent);
}

.tier.pop li.on {
  color: var(--paper);
}

.tier.pop::before {
  content: "Recommandé";
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent);
  color: #fff;
  font-family: ui-monospace, monospace;
  font-size: .56rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .2rem .45rem;
}

.tier .name {
  font-family: ui-monospace, Menlo, monospace;
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.price {
  font-family: "Helvetica Neue", Helvetica, Arial;
  font-weight: 850;
  font-size: 2.1rem;
  letter-spacing: -.03em;
}

.price small {
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.tier.pop .price small {
  color: color-mix(in srgb, var(--paper) 70%, transparent);
}

.price-sub {
  font-family: ui-monospace, Menlo, monospace;
  font-size: .7rem;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: -8px;
}

.tier.pop .price-sub {
  color: color-mix(in srgb, var(--paper) 68%, transparent);
}

.tier ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.tier li {
  font-size: .86rem;
  color: var(--muted);
  padding-left: 1.2rem;
  position: relative;
}

.tier li::before {
  content: "/";
  position: absolute;
  left: .1rem;
  color: var(--accent);
  font-weight: 800;
}

.tier li.on {
  color: var(--ink);
}

.note {
  text-align: center;
  color: var(--muted);
  font-size: .8rem;
  margin-top: 16px;
}

/* cta */
.final {
  text-align: center;
}

.emailrow {
  display: flex;
  gap: .5rem;
  max-width: 520px;
  margin: 22px auto 0;
  flex-wrap: wrap;
}

.emailrow input {
  flex: 1;
  min-width: 210px;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 2px;
  padding: .78rem .9rem;
  color: var(--ink);
  font-size: .95rem;
}

.emailrow input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 1px;
}

footer {
  border-top: 2px solid var(--ink);
  padding: 24px 0;
}

footer .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-size: .84rem;
}

@media (max-width:860px) {
  .hero .grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .steps,
  .feats,
  .tiers {
    grid-template-columns: 1fr;
  }

  .step,
  .feat {
    border-right: none;
    border-bottom: 2px solid var(--ink);
  }

  .step:last-child {
    border-bottom: none;
  }

  .feat:nth-child(3n) {
    border-right: none;
  }

  .tier {
    border-right: none;
    border-bottom: 2px solid var(--ink);
  }

  .tier:last-child {
    border-bottom: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone {
    animation: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* ==== L'humain derrière (Kaminos / forge) ==== */
.studio-line {
  font-family: ui-monospace, Menlo, monospace;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: .9rem 0 0;
}

.forge-q {
  margin: 34px 0 0;
  max-width: 66ch;
  border-left: 4px solid var(--accent);
  background: var(--card);
  padding: 22px 26px;
  border-radius: 0 6px 6px 0;
  box-shadow: 8px 8px 0 color-mix(in srgb, var(--gold) 55%, transparent);
}

.forge-q p {
  margin: 0;
  font-size: 1.12rem;
  color: var(--ink-2);
  line-height: 1.6;
}

.forge-q p b {
  color: var(--ink);
}

.forge-sign {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.1rem;
  font-family: ui-monospace, Menlo, monospace;
  font-size: .82rem;
  letter-spacing: .05em;
  color: var(--muted);
}

.forge-sign b {
  color: var(--accent);
}

.forge-badge {
  font-size: 1.25rem;
  line-height: 1;
}
