@font-face { font-family: Garamond; src: url(/fonts/eb-garamond.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Garamond; src: url(/fonts/eb-garamond-italic.woff2) format("woff2"); font-style: italic; font-display: swap; }
@font-face { font-family: InterSite; src: url(/fonts/inter-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: InterSite; src: url(/fonts/inter-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #f7f7fb;
  --white: #fff;
  --navy: #222240;
  --navy-2: #2f2f57;
  --muted: #62627f;
  --line: #e4e4ef;
  --orange: #ff630f;
  --blue: #3a35e6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--navy);
  font: 16px/1.6 InterSite, system-ui, sans-serif;
  padding-bottom: 96px;
}
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
img { display: block; max-width: 100%; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

h1, h2 { font-family: Garamond, Georgia, serif; font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(48px, 8.4vw, 104px); line-height: 0.98; letter-spacing: -0.03em; }
h2 { font-size: clamp(38px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.03em; }
h1 em, h2 em { font-style: italic; }
h3 { font-size: 17px; font-weight: 600; line-height: 1.35; }

.kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.lead { color: var(--muted); font-size: 18px; max-width: 52ch; margin-inline: auto; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }

.button {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
.button.dark { background: var(--navy); }
.button:hover { filter: brightness(1.08); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Barre flottante */
.nav {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding: 10px 12px 10px 22px;
  border-radius: 18px;
  background: rgba(34, 34, 64, 0.94);
  color: var(--white);
  backdrop-filter: blur(10px);
}
.brand { font-weight: 600; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.brand span { color: var(--orange); }
.nav nav { display: flex; gap: 26px; font-size: 14px; }
.nav nav a { text-decoration: none; opacity: 0.8; }
.nav nav a:hover { opacity: 1; }
.nav .button { padding: 9px 18px; font-size: 14px; }

/* Hero, avec ses aplats de couleur flous */
.hero { position: relative; padding: 84px 0 64px; isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  inset: -90px 0 0;
  z-index: -1;
  background:
    radial-gradient(42% 30% at 78% 20%, rgba(58, 53, 230, 0.28), transparent 70%),
    radial-gradient(46% 34% at 42% 44%, rgba(255, 99, 15, 0.26), transparent 70%),
    radial-gradient(40% 32% at 12% 66%, rgba(255, 184, 52, 0.28), transparent 70%);
}
.tag {
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 600;
}

/* Les étapes : la dernière reste cachée */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.step {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  overflow: hidden;
}
.step .art { aspect-ratio: 1; display: grid; place-items: center; padding: 22px; }
.step .art img { width: 100%; height: 100%; object-fit: contain; }
.step p { padding: 16px 20px 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.step strong { display: block; color: var(--navy); font-size: 16px; }
.step.secret { background: linear-gradient(160deg, var(--navy) 20%, var(--blue)); color: var(--white); border-color: transparent; }
.step.secret .art { font: italic 150px/1 Garamond, Georgia, serif; }
.step.secret p { border-top-color: rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.75); }
.step.secret strong { color: var(--white); }

/* Bloc bleu nuit */
.night {
  margin: 32px 0;
  padding: 88px 24px;
  border-radius: 40px;
  background: var(--navy);
  color: var(--white);
}
.night .lead { color: rgba(255, 255, 255, 0.72); }
.night .kicker { color: rgba(255, 255, 255, 0.6); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; width: min(1000px, 100%); margin: 52px auto 0; }
.card { border-radius: 22px; background: var(--white); color: var(--navy); overflow: hidden; text-align: left; }
.card .band { height: 128px; }
.band.blue { background: linear-gradient(165deg, #2a25c9 45%, #6c68ff 45.2%, #3a35e6); }
.band.orange { background: linear-gradient(165deg, #ff630f 45%, #ffb03a 45.2%, #ff7d1f); }
.band.dusk { background: linear-gradient(165deg, #1c1c3a 45%, #4f4bbd 45.2%, #8a86ff); }
.card div:last-child { padding: 22px; }
.card p { color: var(--muted); font-size: 15px; margin-top: 8px; }

section.plain { padding: 88px 0; }

/* Collection */
.collection { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.story { border: 1px solid var(--line); border-radius: 22px; background: var(--white); padding: 18px; text-align: center; }
.story img { width: 100%; max-width: 160px; aspect-ratio: 1; object-fit: contain; margin-inline: auto; }
.story h3 { margin-top: 10px; font-size: 15px; }
.story span {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
}
.story span.free { background: #ffeee3; color: #b5460a; }

/* Questions */
.faq { max-width: 760px; margin: 44px auto 0; display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--orange); font-size: 20px; line-height: 1.2; }
details[open] summary::after { content: "−"; }
details p { padding: 0 22px 20px; color: var(--muted); }

/* Barre du bas */
.dock {
  position: fixed;
  left: 50%;
  bottom: 14px;
  translate: -50% 0;
  z-index: 10;
  width: min(720px, 100% - 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 12px 12px 20px;
  border-radius: 18px;
  background: #15101c;
  color: var(--white);
  box-shadow: 0 12px 40px rgba(21, 16, 28, 0.35);
}
.dock p { font-size: 13px; color: rgba(255, 255, 255, 0.7); line-height: 1.4; }
.dock strong { display: block; color: var(--white); font-size: 15px; }
.dock .button { padding: 10px 18px; font-size: 14px; }

footer { padding: 40px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; }

/* Catalogue */
.app { display: flex; gap: 22px; align-items: center; max-width: 620px; margin: 48px auto 0; padding: 22px; border: 1px solid var(--line); border-radius: 26px; background: var(--white); text-decoration: none; }
.app img { width: 96px; height: 96px; border-radius: 22px; flex: none; }
.app h3 { font-size: 20px; }
.app p { color: var(--muted); font-size: 15px; }
.app:hover { border-color: var(--orange); }

/* Pages de texte */
.legal { max-width: 720px; padding: 64px 0 32px; }
.legal h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.05; }
.legal h2 { font-size: 30px; line-height: 1.15; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal p { margin-top: 10px; }
.legal ul { padding-left: 20px; }
.legal li { margin-top: 6px; }
.legal strong { color: var(--navy); }

@media (max-width: 820px) {
  .nav nav { display: none; }
  .hero { padding-top: 56px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 40px; }
  .step.secret { grid-column: 1 / -1; }
  .step.secret .art { aspect-ratio: auto; padding: 8px; font-size: 110px; }
  .step p { padding: 12px 14px 16px; }
  .step .art { padding: 10px; }
  .cards { grid-template-columns: 1fr; }
  .collection { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .night { padding: 56px 16px; border-radius: 28px; }
  section.plain { padding: 56px 0; }
  .dock p span { display: none; }
}
