/* Xtrem Light — landing, même gabarit encre / papier que les autres produits.
   Accent = turquoise de l'app #3DC4C9. Texte sur ce turquoise : encre foncée (contraste). */

:root {
  --encre: #13161b;
  --ardoise: #1c2029;
  --ardoise-2: #252a35;
  --trait-sombre: #333947;
  --papier: #f1f2f4;
  --papier-2: #e3e5ea;
  --trait-clair: #cfd3db;
  --texte: #1a1d23;
  --texte-doux: #585f6d;
  --texte-clair: #c5cad4;
  --texte-clair-doux: #8b94a5;
  --light: #3dc4c9;
  --light-vif: #62d5d9;
  --light-fonce: #12747a;
  --light-texte: #0b2a2c;
  --r: 3px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--texte);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: Archivo, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
}

h1 {
  font-size: clamp(2.3rem, 5.4vw, 4.1rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.7rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.09rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.saut {
  position: absolute;
  left: 0.6rem;
  top: -3rem;
  background: #fff;
  color: var(--texte);
  padding: 0.4rem 0.7rem;
  z-index: 80;
}

.saut:focus {
  top: 0.6rem;
}

.wrap {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.wrap-etroit {
  max-width: 820px;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 22, 27, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--trait-sombre);
}

.bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-height: 62px;
}

.marque {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: Archivo, system-ui, sans-serif;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  flex: none;
}

.marque img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.site-nav {
  display: none;
  gap: 1.4rem;
  margin-left: auto;
  font-size: 0.93rem;
  color: var(--texte-clair);
}

.site-nav a {
  text-decoration: none;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-bottom-color: var(--light-vif);
  color: #fff;
}

.nav-mobile {
  margin-left: auto;
}

.nav-mobile-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 0.2rem 4vw 0.7rem;
  background: var(--encre);
  border-bottom: 1px solid var(--trait-sombre);
}

.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--trait-sombre);
  border-radius: var(--r);
  color: var(--texte-clair);
  font-size: 0.93rem;
}

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

.nav-mobile a {
  display: block;
  padding: 0.45rem 0.15rem;
  color: var(--texte-clair);
  text-decoration: none;
}

.bar-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  flex: none;
}

.btn {
  display: inline-block;
  border-radius: var(--r);
  padding: 0.66rem 1.15rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: "IBM Plex Sans", sans-serif;
  text-align: center;
}

.btn-light {
  background: var(--light);
  color: var(--light-texte);
}

.btn-light:hover {
  background: var(--light-vif);
}

.btn-ligne {
  border-color: var(--trait-sombre);
  color: var(--texte-clair);
}

.btn-ligne:hover {
  border-color: var(--texte-clair);
  color: #fff;
}

.btn-clair {
  border-color: var(--trait-clair);
  color: var(--texte);
}

.btn-clair:hover {
  border-color: var(--texte);
}

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

.bar .btn {
  padding: 0.5rem 0.95rem;
}

@media (min-width: 980px) {
  .site-nav {
    display: flex;
  }

  .nav-mobile {
    display: none;
  }

  .bar-cta {
    display: flex;
  }
}

.heros {
  background: var(--encre);
  color: #fff;
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
}

.heros h1 {
  max-width: 16ch;
}

.accroche {
  margin-top: 1.6rem;
  max-width: 62ch;
  color: var(--texte-clair);
  font-size: 1.12rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
  align-items: center;
}

.petite-note {
  font-size: 0.87rem;
  color: var(--texte-clair-doux);
  margin-top: 0.9rem;
}

.planche {
  margin-top: 3.4rem;
  border: 1px solid var(--trait-sombre);
  border-radius: 5px;
  background: var(--ardoise);
  overflow: hidden;
}

.planche-tete,
.planche-pied {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.7rem 1rem;
  background: var(--ardoise-2);
  font-size: 0.84rem;
  color: var(--texte-clair-doux);
  flex-wrap: wrap;
}

.planche-tete {
  border-bottom: 1px solid var(--trait-sombre);
}

.planche-pied {
  border-top: 1px solid var(--trait-sombre);
}

.etat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 500;
}

.pastille {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--light);
}

.tc {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: #fff;
  font-size: 0.95rem;
}

.sep {
  width: 1px;
  height: 14px;
  background: var(--trait-sombre);
}

.planche-corps {
  display: flex;
  gap: 1.2rem;
  align-items: flex-end;
  padding: 1.6rem 1.2rem 1.3rem;
}

.feuille {
  width: min(280px, 46%);
  background: #f7f4ef;
  border-radius: 2px;
  padding: 1.3rem 1.1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.8);
}

.feuille-2 {
  width: min(220px, 36%);
  opacity: 0.72;
  transform: translateY(14px);
}

.ligne {
  display: block;
  height: 7px;
  border-radius: 2px;
  background: #2a241c;
}

.w90 { width: 90%; }
.w88 { width: 88%; }
.w84 { width: 84%; }
.w80 { width: 80%; }
.w74 { width: 74%; }
.w70 { width: 70%; }
.w62 { width: 62%; }
.w55 { width: 55%; }
.w48 { width: 48%; }
.w40 { width: 40%; }

section {
  padding: 5.5rem 0;
  scroll-margin-top: 74px;
}

.sombre {
  background: var(--encre);
  color: #fff;
}

.bande-papier {
  background: var(--papier-2);
}

.chapeau {
  max-width: 62ch;
  margin-top: 1.1rem;
  color: var(--texte-doux);
  font-size: 1.06rem;
}

.chapeau + .chapeau {
  margin-top: 0.9rem;
}

.sombre .chapeau,
.sombre .legende-bloc {
  color: var(--texte-clair);
}

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.capacites {
  list-style: none;
  padding: 0;
  margin: 2.6rem 0 0;
  border-top: 1px solid var(--trait-clair);
}

.capacites li {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--trait-clair);
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) 1.6fr;
  gap: 2rem;
}

.capacites p {
  color: var(--texte-doux);
  font-size: 0.99rem;
}

.etapes {
  counter-reset: e;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--trait-sombre);
}

.etape {
  counter-increment: e;
  padding: 1.8rem 1.8rem 0 0;
  border-right: 1px solid var(--trait-sombre);
}

.etape:last-child {
  border-right: 0;
}

.etape:not(:first-child) {
  padding-left: 1.8rem;
}

.etape .num {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  color: var(--light-vif);
}

.etape .num::before {
  content: counter(e, decimal-leading-zero);
}

.etape h3 {
  margin: 0.5rem 0 0.55rem;
  color: #fff;
}

.etape p {
  color: var(--texte-clair);
  font-size: 0.97rem;
}

.etapes-note {
  margin-top: 1.8rem;
}

.releve {
  border: 1px solid var(--trait-sombre);
  border-radius: 5px;
  background: var(--ardoise);
  overflow: hidden;
}

.releve-tete {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.95rem;
  background: var(--ardoise-2);
  border-bottom: 1px solid var(--trait-sombre);
  font-size: 0.82rem;
  color: var(--texte-clair-doux);
}

.releve dl {
  margin: 0;
  padding: 0.3rem 0;
}

.releve .ligne {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  height: auto;
  background: none;
  width: auto;
  padding: 0.45rem 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0;
}

.releve .ligne:last-child {
  border-bottom: 0;
}

.releve dt {
  font-size: 0.88rem;
  color: var(--texte-clair);
}

.releve dd {
  margin: 0 0 0 auto;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.88rem;
  color: #fff;
}

.legende-bloc {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  color: var(--texte-doux);
  max-width: 54ch;
}

.grille-enc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.4rem;
  margin-top: 2.8rem;
}

.grille-enc h3 {
  margin-bottom: 0.9rem;
}

.jetons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.jeton {
  border: 1px solid var(--trait-clair);
  border-radius: 2px;
  padding: 0.28rem 0.6rem;
  font-size: 0.84rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  background: #fff;
}

.plage {
  font-family: Archivo, system-ui, sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.plage small {
  display: block;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--texte-doux);
  letter-spacing: 0;
  margin-top: 0.2rem;
  line-height: 1.45;
}

.offres {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-top: 3rem;
  align-items: stretch;
}

.offre {
  border: 1px solid var(--trait-clair);
  border-radius: 4px;
  padding: 2rem;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.offre.pleine {
  background: var(--encre);
  color: #fff;
  border-color: var(--encre);
}

.offre h3 {
  font-size: 1.25rem;
}

.prix {
  font-family: Archivo, system-ui, sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  margin: 1rem 0 0.2rem;
}

.prix small {
  display: block;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--texte-clair-doux);
}

.offre:not(.pleine) .prix small {
  color: var(--texte-doux);
}

.prix-petit {
  font-size: 1.7rem;
}

.offre ul {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 2rem;
  display: grid;
  gap: 0.6rem;
  font-size: 0.96rem;
}

.offre li {
  padding-left: 1.3rem;
  position: relative;
  color: var(--texte-doux);
}

.offre.pleine li {
  color: var(--texte-clair);
}

.offre li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 2px;
  background: var(--light);
}

.offre .btn {
  margin-top: auto;
}

.faq {
  margin-top: 2.6rem;
  border-top: 1px solid var(--trait-clair);
}

.faq details {
  border-bottom: 1px solid var(--trait-clair);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 0;
  font-weight: 600;
  font-family: Archivo, system-ui, sans-serif;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.faq summary::after {
  content: "+";
  margin-left: auto;
  color: var(--texte-doux);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 1.15rem;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  padding-bottom: 1.3rem;
  color: var(--texte-doux);
  max-width: 70ch;
}

.faq details a {
  color: var(--light-fonce);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

footer {
  background: var(--encre);
  color: var(--texte-clair-doux);
  padding: 3.2rem 0;
  font-size: 0.9rem;
  border-top: 1px solid var(--trait-sombre);
}

.pied {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

footer a {
  text-decoration: none;
  color: var(--texte-clair);
}

footer a:hover {
  color: #fff;
}

.liens-pied {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.pied-note {
  margin-top: 0.6rem;
}

.marque-pied {
  font-size: 1rem;
}

@media (max-width: 900px) {
  .duo,
  .etapes,
  .offres {
    grid-template-columns: 1fr;
  }

  .etape {
    border-right: 0;
    border-bottom: 1px solid var(--trait-sombre);
    padding: 1.5rem 0 !important;
  }

  .etape:last-child {
    border-bottom: 0;
  }

  section {
    padding: 4rem 0;
  }

  .capacites li {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
}

@media (max-width: 640px) {
  .feuille-2 {
    display: none;
  }

  .feuille {
    width: min(240px, 70%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Maquette : curseurs groupe / écrans */
.planche-curseurs {
  display: grid;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
}

.curseur {
  display: grid;
  grid-template-columns: 5.5rem 1fr 5rem;
  align-items: center;
  gap: 1rem;
  color: var(--texte-clair);
  font-size: 0.9rem;
}

.curseur-val {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  text-align: right;
  color: #fff;
}

.piste {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--trait-sombre);
  overflow: hidden;
}

.plein {
  display: block;
  height: 100%;
  background: var(--light);
}
