:root {
  --papier: #F6F4EF;
  --papier-2: #EBE7DE;
  --encre: #16161D;
  --encre-2: #4A463E;
  --encre-3: #756F64;
  --volt: #C6F24E;
  --volt-fonce: #7FD93C;
  --electrique: #0B5FFF;
  --onde: #00D4C8;
  --violet: #6B3BFF;
  --trait: rgba(22, 22, 29, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: ui-rounded, -apple-system, "SF Pro Rounded", "Helvetica Neue", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}

a { color: var(--electrique); text-decoration: none; font-weight: 700; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--electrique); outline-offset: 3px; border-radius: 4px; }

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

/* --- barre du haut --- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.marque {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--encre);
  font-weight: 900;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.marque:hover { text-decoration: none; }
.marque img { width: 40px; height: 40px; border-radius: 10px; display: block; }

.nav { display: flex; gap: 22px; font-size: 15px; font-weight: 700; }
.nav a { color: var(--encre-2); }
.nav a:hover { color: var(--encre); }

/* --- hero --- */

.hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 30px 0 10px;
}

.hero h1 {
  font-size: clamp(46px, 7.5vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 900;
  margin: 0 0 22px;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  background: var(--volt);
  padding: 0 10px 4px;
  border-radius: 10px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero p {
  font-size: 20px;
  color: var(--encre-2);
  max-width: 40ch;
  margin: 0 0 28px;
}

.hero-visuel {
  aspect-ratio: 1 / 1;
  border-radius: 34px;
  background: linear-gradient(158deg, var(--onde), var(--electrique));
  display: grid;
  place-items: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.hero-visuel img {
  width: 76%;
  border-radius: 22%;
  box-shadow: 0 30px 60px rgba(22, 22, 29, 0.34);
  transition: transform 300ms ease;
  position: relative;
}
.hero-visuel img:hover { transform: translateY(-6px) rotate(-2deg); }

/* Les ondes du radar, derrière l'icône. */
.hero-visuel::before,
.hero-visuel::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  width: 62%;
  aspect-ratio: 1;
}
.hero-visuel::after { width: 90%; border-color: rgba(255, 255, 255, 0.2); }

.bouton {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 17px;
  background: var(--encre);
  color: var(--papier);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.bouton:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(22, 22, 29, 0.25);
  text-decoration: none;
}
.bouton .puce {
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--volt);
  color: var(--encre);
  font-weight: 900;
  letter-spacing: 0.05em;
}

.bouton.doux {
  background: transparent;
  color: var(--encre);
  border: 2px solid var(--trait);
}
.bouton.doux:hover { background: var(--papier-2); box-shadow: none; }

/* --- sections --- */

.section { display: flex; flex-direction: column; gap: 32px; }

.section > h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
  font-weight: 900;
  text-wrap: balance;
  max-width: 20ch;
}

.accroche {
  font-size: 18px;
  color: var(--encre-2);
  max-width: 62ch;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--electrique);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 3px;
  background: var(--volt);
  border-radius: 3px;
}

/* --- grilles --- */

.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.etape {
  background: var(--papier-2);
  border-radius: 30px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.etape .rang {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--encre-3);
  text-transform: uppercase;
}

.etape h3 {
  font-size: 24px;
  line-height: 1.16;
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.etape p { margin: 0; color: var(--encre-2); font-size: 16px; }

.usages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.usage {
  background: var(--papier);
  border: 1px solid var(--trait);
  border-radius: 20px;
  padding: 22px 18px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}

.usage .grand {
  display: block;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: var(--electrique);
}

.carte {
  background: var(--papier-2);
  border-radius: 30px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.carte h3 { font-size: 22px; margin: 0; font-weight: 900; letter-spacing: -0.02em; }
.carte p { margin: 0; color: var(--encre-2); }

.carte.ombre {
  background: linear-gradient(150deg, var(--encre) 0%, #262231 100%);
  color: var(--papier);
}
.carte.ombre h3 { color: var(--volt); }
.carte.ombre p { color: rgba(246, 244, 239, 0.8); }

/* --- prix --- */

.prix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.offre {
  border-radius: 26px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 2px solid var(--trait);
}

.offre.paye {
  border-color: transparent;
  background: linear-gradient(150deg, var(--electrique), var(--violet));
  color: #fff;
}

.offre h3 { margin: 0; font-size: 22px; font-weight: 900; letter-spacing: -0.02em; }
.offre .sous { font-size: 15px; color: var(--encre-2); margin: 0; }
.offre.paye .sous { color: rgba(255, 255, 255, 0.85); }

.offre ul {
  margin: 6px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 15.5px;
}
.offre li { color: var(--encre-2); }
.offre.paye li { color: rgba(255, 255, 255, 0.92); }

/* --- prose --- */

.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 22px; }
.prose h2 { margin: 32px 0 0; font-size: 28px; letter-spacing: -0.02em; line-height: 1.2; }
.prose p, .prose li { color: var(--encre-2); font-size: 17px; }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose strong { color: var(--encre); font-weight: 900; }

/* --- faq --- */

.faq { display: flex; flex-direction: column; gap: 4px; }

details {
  background: var(--papier-2);
  border-radius: 20px;
  padding: 18px 22px;
}
details[open] { background: #E4DFD3; }

summary {
  font-weight: 900;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-size: 23px;
  color: var(--encre-3);
  transition: transform 200ms ease;
}
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; color: var(--encre-2); font-size: 16px; }

/* --- pied --- */

.pied {
  border-top: 1px solid var(--trait);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--encre-3);
  font-size: 14px;
}
.pied a { color: var(--encre-2); font-weight: 700; }
.pied .liens { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .hero-visuel { max-width: 340px; margin: 0 auto; }
  .etapes, .prix { grid-template-columns: 1fr; }
  .usages { grid-template-columns: repeat(2, 1fr); }
  .page { gap: 56px; padding: 24px 20px 60px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
