/* Manga Layers — site vitrine */
:root {
  --bg: #08090b;
  --text: #eef1f3;
  --muted: #a9b4b8;
  --faint: #7d898d;
  --line: rgba(255, 255, 255, 0.08);
  --card: rgba(6, 8, 10, 0.55);
  --chip: rgba(255, 255, 255, 0.10);
  --accent: #3ee0c4;
  --radius: 22px;
  --head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6;
  background: var(--bg);
  background-image: radial-gradient(1200px 760px at 12% -6%, #2a5f54 0%, #15302d 34%, #0b1214 68%, var(--bg) 100%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* en-tête */
.top { display: flex; align-items: center; gap: 16px; padding: 22px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 20px; }
.brand img { width: 30px; height: 30px; }
.spacer { flex: 1; }
.pill {
  display: flex; align-items: center; gap: 4px; padding: 6px; flex-wrap: wrap;
  background: rgba(6, 8, 10, 0.8); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 26px;
}
.pill a { padding: 10px 16px; border-radius: 20px; font-size: 14px; font-weight: 600; }
.pill a:hover { background: rgba(255, 255, 255, 0.09); }

/* boutons et étiquettes */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  padding: 12px 22px; border-radius: 26px; font-weight: 700; font-size: 15px; border: 1px solid transparent;
  cursor: pointer; font-family: var(--body); transition: background .15s;
}
.btn-white { background: #fff; color: #0b0d10; }
.btn-white:hover { background: #dce5e7; }
.btn-ghost { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.10); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.13); }
.pill .btn-white { padding: 10px 18px; min-height: 0; font-size: 14px; }
.pill .btn-white:hover { background: #dce5e7; }
.tag { display: inline-block; padding: 5px 12px; border-radius: 12px; background: var(--chip); font-size: 12px; font-weight: 700; letter-spacing: .5px; }
.overline { border-left: 3px solid #fff; padding-left: 10px; color: #a3aeb2; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--head); color: #fff; margin: 0; }
h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.1; margin-top: 12px; }
h3 { font-size: 21px; }
p { margin: 0; }
.muted { color: var(--muted); }
.faint { color: var(--faint); font-size: 13px; }
section { padding: 80px 0 16px; }

/* accroche */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 64px; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(42px, 6vw, 64px); line-height: 1.02; letter-spacing: -1.5px; }
.hero .lead { font-size: 18px; color: #b4bfc3; max-width: 540px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-art { flex: 1 1 520px; min-width: 0; }

/* maquette de l'appli */
.mock { border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, 0.09); background: var(--card); padding: 14px; box-shadow: 0 40px 80px rgba(0, 0, 0, .45); }
.mock-top { display: flex; align-items: center; gap: 8px; padding: 2px 4px 12px; font-family: var(--head); font-weight: 700; font-size: 13px; }
.mock-top .sq { width: 14px; height: 14px; border-radius: 4px; background: var(--accent); }
.dots { display: flex; gap: 4px; padding: 4px; border-radius: 16px; background: rgba(0, 0, 0, .5); }
.dots i { width: 22px; height: 22px; border-radius: 11px; background: rgba(255, 255, 255, .06); }
.dots i:first-child { background: rgba(255, 255, 255, .16); }
.mock-body { display: flex; gap: 12px; }
.mock-tools { display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 18px; background: rgba(0, 0, 0, .5); align-self: flex-start; }
.mock-tools i { width: 28px; height: 28px; border-radius: 14px; background: rgba(255, 255, 255, .05); }
.mock-tools i:first-child { background: rgba(255, 255, 255, .18); }
.mock-canvas { flex: 1 1 auto; min-width: 0; border-radius: 14px; background: #e9e4da; overflow: hidden; aspect-ratio: 4 / 4.2; }
.mock-canvas svg { width: 100%; height: 100%; display: block; }
.mock-side { flex: 0 0 168px; display: flex; flex-direction: column; gap: 8px; }
.mock-side .ov { border-left: 2px solid #fff; padding-left: 6px; color: #93a0a4; font-size: 9px; font-weight: 700; letter-spacing: 1.4px; }
.mock-side .t { font-family: var(--head); font-weight: 700; font-size: 20px; }
.layer { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 10px; font-size: 12px; }
.layer.on { background: rgba(255, 255, 255, .12); }
.layer b { width: 9px; height: 9px; border-radius: 3px; }
.mock-side .exp { margin-top: 6px; padding: 9px; border-radius: 16px; background: #fff; color: #0b0d10; font-size: 12px; font-weight: 700; text-align: center; }
@media (max-width: 560px) { .mock-side { display: none; } }

/* grilles et cartes */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; margin-top: 28px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.card { padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid rgba(255, 255, 255, 0.07); display: flex; flex-direction: column; gap: 12px; }
.card p { color: var(--muted); font-size: 15px; }
.card .tag { align-self: flex-start; font-size: 11px; letter-spacing: 1px; }
.step-n { font-family: var(--head); font-size: 44px; font-weight: 700; color: rgba(255, 255, 255, .25); line-height: 1; }

/* comparatif */
.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.split > div:first-child { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.split > div:last-child { flex: 1 1 560px; min-width: 0; }
.split img { border-radius: 20px; border: 1px solid var(--line); }
.stats { display: flex; gap: 12px; flex-wrap: wrap; }
.stat { padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid rgba(255, 255, 255, .07); }
.stat b { display: block; font-family: var(--head); font-size: 30px; color: #fff; }
.stat span { font-size: 13px; color: var(--muted); }

/* tarifs */
.price-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; }
.price-head > div:first-child { flex: 1 1 360px; }
.toggle { display: flex; gap: 4px; padding: 5px; border-radius: 24px; background: rgba(6, 8, 10, .8); border: 1px solid rgba(255, 255, 255, .07); }
.toggle button { padding: 10px 16px; min-height: 44px; border-radius: 20px; border: 0; background: transparent; color: var(--text); font: 700 14px var(--body); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: #fff; color: #0b0d10; }
.plans { align-items: stretch; }
.plan { padding: 28px; border-radius: 24px; background: var(--card); border: 1px solid rgba(255, 255, 255, .07); display: flex; flex-direction: column; gap: 14px; }
.plan.hi { background: linear-gradient(180deg, rgba(62, 224, 196, .14), rgba(6, 8, 10, .7)); border-color: rgba(62, 224, 196, .45); }
.plan .name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan .badge { padding: 4px 10px; border-radius: 11px; background: #fff; color: #0b0d10; font-size: 11px; font-weight: 800; letter-spacing: .5px; }
.plan .pitch { font-size: 14px; color: var(--muted); min-height: 44px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; }
.plan .price b { font-family: var(--head); font-size: 48px; color: #fff; line-height: 1; }
.plan .price span { font-size: 14px; color: var(--muted); }
.plan .note { font-size: 13px; color: #8d999d; min-height: 20px; }
.plan hr { border: 0; height: 1px; background: var(--line); margin: 0; width: 100%; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 14px; color: #d4dbde; }
.plan li svg { flex: 0 0 16px; margin-top: 4px; }

/* FAQ */
.faq { max-width: 900px; }
.faq details { border-radius: 16px; background: var(--card); border: 1px solid rgba(255, 255, 255, .07); margin-top: 8px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; display: flex; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 20px; color: #a3aeb2; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { background: rgba(255, 255, 255, .04); border-radius: 16px; }
.faq details p { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }

/* appel final et pied */
.cta { border-radius: 28px; padding: 48px 32px; background: radial-gradient(700px 320px at 20% 0%, #2a5f54 0%, #12201f 70%); border: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.cta > div { flex: 1 1 420px; }
footer { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; color: var(--faint); font-size: 13px; padding: 32px 0 48px; }
footer img { width: 20px; height: 20px; }
footer a { color: #a3aeb2; }
footer a:hover { color: #fff; }

/* pages de texte (mentions, CGV, merci) */
.doc { max-width: 820px; padding: 40px 24px 80px; margin: 0 auto; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin: 10px 0 24px; }
.doc h2 { font-size: 22px; margin: 32px 0 8px; }
.doc p, .doc li { color: #c3ccd0; }
.doc .todo { background: rgba(255, 200, 80, .14); color: #ffd98a; padding: 1px 6px; border-radius: 6px; }
.doc code { background: rgba(255, 255, 255, .08); padding: 2px 6px; border-radius: 6px; }

@media (max-width: 760px) {
  .navlinks { display: none; }
  section { padding-top: 56px; }
  .hero { padding-top: 32px; gap: 36px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
