/* Page de vente : les couleurs, polices et boutons viennent de site-styles.css. */
.complete-page { scroll-padding-top: 100px; }
.complete-page main section[id] { scroll-margin-top: 100px; }
.complete-page .eyebrow { color: var(--ink-soft); }
.complete-page .btn { white-space: normal; text-align: center; justify-content: center; }
.complete-page a:focus-visible, .complete-page button:focus-visible, .complete-page summary:focus-visible { outline: 3px solid var(--c5); outline-offset: 5px; }
.complete-skip { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px; background: var(--paper); }
.complete-skip:focus { top: 12px; }
.complete-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.complete-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--ink-soft); margin-bottom: 40px; }
.complete-hero { padding: 24px 0 70px; }
.complete-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.complete-hero h1 { font-size: clamp(34px, 4.1vw, 56px); margin: 18px 0 24px; }
.complete-hero .lead { max-width: 47ch; }
.complete-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin: 30px 0 18px; }
.complete-text-link { text-underline-offset: 5px; font-weight: 700; font-size: 14px; }
.complete-small { font-size: 13px; line-height: 1.6; color: var(--ink-soft); }
.complete-visual { position: relative; min-width: 0; padding: 18px 30px 52px; }
.complete-orbit { position: absolute; inset: 40px -12px 45px; border-radius: 50%; background: var(--c3-soft); transform: rotate(-14deg); }
.complete-book { position: relative; max-width: 330px; margin: auto; padding: 30px 26px 28px 34px; background: var(--paper); border: 1px solid var(--line-strong); border-left: 8px solid var(--c1); border-radius: 4px 16px 16px 4px; box-shadow: 8px 8px 0 -2px var(--bg-soft), 9px 9px 0 -2px var(--line-strong), 18px 24px 35px -20px #5c524060; transform: rotate(-5deg); }
.complete-colors { display: flex; gap: 5px; }
.complete-colors i { display: block; width: 21px; height: 21px; border-radius: 4px; background: var(--c1); box-shadow: inset 0 -2px 0 #0000000d; }
.complete-colors i:nth-child(2) { background: var(--c2); }
.complete-colors i:nth-child(3) { background: var(--c3); }
.complete-colors i:nth-child(4) { background: var(--c4); }
.complete-colors i:nth-child(5) { background: var(--c5); }
.complete-book-brand { font-family: var(--serif); font-size: 22px; margin-top: 14px; }
.complete-book-brand em, .complete-book-title em { color: var(--c1); }
.complete-book-title { font-family: var(--serif); font-size: 40px; line-height: 1.05; margin-top: 28px; }
.complete-score { display: flex; gap: 10px; margin: 28px 0 12px; }
.complete-score span { width: 29px; height: 29px; border-radius: 5px; text-align: center; font-weight: 700; background: var(--c1); }
.complete-score span:nth-child(2) { background: var(--c2); }
.complete-score span:nth-child(3) { background: var(--c3); }
.complete-score span:nth-child(4) { background: var(--c4); }
.complete-score span:nth-child(5) { background: var(--c5); }
.complete-keys { display: flex; position: relative; height: 78px; border: 2px solid var(--ink); border-radius: 5px; overflow: hidden; }
.complete-keys i { flex: 1; background: var(--paper); border-right: 1px solid var(--ink); }
.complete-keys i:last-of-type { border: 0; }
.complete-keys b { position: absolute; top: 0; height: 48px; width: 9%; border-radius: 0 0 3px 3px; background: var(--ink); left: 10%; }
.complete-keys b:nth-of-type(2) { left: 24%; }
.complete-keys b:nth-of-type(3) { left: 53%; }
.complete-keys b:nth-of-type(4) { left: 67%; }
.complete-keys b:nth-of-type(5) { left: 81%; }
.complete-book-label { margin-top: 26px; font-size: 11px; letter-spacing: .13em; font-weight: 700; }
.complete-book-bottom { font-size: 10px; margin-top: 5px; color: var(--ink-soft); }
.complete-page-count { position: absolute; right: 0; bottom: 50px; width: 112px; height: 112px; border-radius: 50%; background: var(--c4-soft); border: 1px solid var(--c4); display: flex; flex-direction: column; justify-content: center; align-items: center; transform: rotate(9deg); }
.complete-page-count strong { font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1.1; }
.complete-page-count span { font-size: 10px; font-weight: 700; }
.complete-handnote { position: absolute; bottom: -4px; left: 35px; font-family: var(--hand); font-size: 27px; transform: rotate(-4deg); }
.complete-strip { border-block: 1px solid var(--line); padding: 22px 0; }
.complete-strip .container { display: flex; justify-content: center; gap: 65px; font-size: 14px; color: var(--ink-soft); }
.complete-strip b { color: var(--ink); }
.complete-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.complete-step { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 30px; }
.complete-step-number { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; border-radius: 12px; background: var(--c1-soft); margin-bottom: 25px; font-family: var(--mono); font-size: 14px; }
.complete-step:nth-child(2) .complete-step-number { background: var(--c3-soft); }
.complete-step:nth-child(3) .complete-step-number { background: var(--c4-soft); }
.complete-step p { color: var(--ink-soft); margin-top: 15px; font-size: 15px; }
.complete-section-note { font-family: var(--hand); font-size: 27px; text-align: center; margin-top: 32px; }
.complete-soft { background: var(--bg-soft); }
.complete-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.complete-content-grid h2 { margin: 18px 0 24px; }
.complete-content-grid .complete-small { margin-top: 24px; }
.complete-includes { list-style: none; padding: 0; margin: 0; }
.complete-includes li { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line-strong); }
.complete-includes li:first-child { padding-top: 0; }
.complete-includes li:last-child { border: 0; padding-bottom: 0; }
.complete-includes li > span { font-family: var(--mono); font-size: 12px; padding-top: 5px; color: var(--ink-soft); }
.complete-includes p { color: var(--ink-soft); font-size: 15px; margin-top: 10px; }
.complete-table-wrap { border: 1px solid var(--line-strong); border-radius: 20px; overflow: hidden; }
.complete-comparison { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.complete-comparison th, .complete-comparison td { padding: 21px 26px; vertical-align: top; border-bottom: 1px solid var(--line); }
.complete-comparison th:first-child { width: 24%; }
.complete-comparison thead { background: var(--paper); }
.complete-comparison thead th { font-family: var(--serif); font-size: 25px; font-weight: 400; }
.complete-comparison thead th:first-child { font-family: var(--sans); font-size: 13px; font-weight: 700; padding-top: 28px; }
.complete-comparison thead span { display: block; font-family: var(--sans); font-size: 13px; font-weight: 600; margin-top: 10px; }
.complete-comparison td { color: var(--ink-soft); font-size: 15px; }
.complete-comparison tr > :last-child { background: var(--c4-soft); color: var(--ink); }
.complete-comparison tbody tr:last-child > * { border: 0; }
.complete-comparison tbody th { font-size: 14px; }
.complete-choice-links { display: flex; justify-content: flex-end; gap: 45px; margin-top: 24px; font-size: 14px; font-weight: 700; text-underline-offset: 5px; }
.complete-parent-copy p { color: var(--ink-soft); margin-bottom: 20px; font-size: 17px; }
.complete-parent-copy p:last-child { margin-bottom: 0; font-size: 14px; }
.complete-purchase { background: var(--ink); color: var(--paper); border-radius: 32px; padding: 56px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.complete-purchase .eyebrow { color: var(--c3-soft); }
.complete-purchase h2 { color: var(--paper); margin: 20px 0 24px; }
.complete-purchase h2 em { color: var(--c1); }
.complete-purchase > div > p:not(.complete-price):not(.complete-payment-type) { max-width: 40ch; }
.complete-purchase > div > .complete-colors { margin-top: 32px; }
.complete-price-card { padding: 32px; border-radius: 24px; background: var(--paper); color: var(--ink); }
.complete-price { font-family: var(--serif); font-size: 76px; line-height: 1; }
.complete-price span { font-size: 46px; }
.complete-payment-type { font-size: 13px; margin-top: 12px; font-weight: 700; }
.complete-price-card ul { list-style: none; margin: 25px 0; padding: 0; font-size: 14px; }
.complete-price-card li { margin-top: 12px; padding-left: 22px; position: relative; }
.complete-price-card li::before { content: '✓'; color: #39663a; position: absolute; left: 0; }
.complete-reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 760px; margin: auto; align-items: start; }
.complete-review { margin: 0; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.complete-review-wide { grid-column: 1 / -1; }
.complete-review a { display: block; border-radius: 14px; overflow: hidden; }
.complete-review a:focus-visible { outline: 3px solid var(--c1); outline-offset: 4px; }
.complete-review img { display: block; width: 100%; max-width: 100%; height: auto; }
.complete-review figcaption { padding: 18px 8px 8px; font-size: 14px; font-weight: 700; }
.complete-review figcaption span { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 12px; font-weight: 500; line-height: 1.5; }
.complete-checkout { width: 100%; }
.complete-checkout:disabled { cursor: default; background: var(--bg-soft); color: var(--ink-soft); box-shadow: none; transform: none; font-size: 14px; }
.complete-price-card .complete-small { margin-top: 16px; text-align: center; font-size: 12px; }
.complete-free-link { text-align: center; font-size: 14px; color: var(--ink-soft); margin-top: 28px; }
.complete-faq { max-width: 800px; margin: auto; border-top: 1px solid var(--line-strong); }
.complete-faq details { border-bottom: 1px solid var(--line-strong); padding: 0 8px; }
.complete-faq summary { padding: 24px 35px 24px 0; cursor: pointer; font-weight: 700; position: relative; list-style: none; }
.complete-faq summary::-webkit-details-marker { display: none; }
.complete-faq summary::after { content: '+'; position: absolute; right: 2px; top: 18px; font-family: var(--sans); font-size: 26px; font-weight: 500; }
.complete-faq details[open] summary::after { content: '−'; }
.complete-faq p { padding: 0 30px 24px 0; color: var(--ink-soft); font-size: 15px; }
.complete-page .nav-links { gap: 24px; }
@media (max-width: 1000px) {
  .complete-hero-grid { gap: 30px; }
  .complete-visual { padding-inline: 15px; }
  .complete-purchase { gap: 35px; padding: 35px; }
  .complete-content-grid { gap: 40px; }
  .complete-strip .container { gap: 30px; }
}
@media (max-width: 768px) {
  .complete-page .nav-inner { padding-inline: 20px; }
  .complete-hero-grid, .complete-content-grid, .complete-purchase { grid-template-columns: 1fr; }
  .complete-hero { padding-bottom: 44px; }
  .complete-hero h1 { font-size: clamp(32px, 7.4vw, 48px); }
  .complete-hero-grid { gap: 42px; }
  .complete-visual { width: min(100%, 420px); margin: auto; }
  .complete-strip .container { flex-wrap: wrap; gap: 10px 25px; font-size: 13px; }
  .complete-steps, .complete-reviews { grid-template-columns: 1fr; gap: 16px; }
  .complete-step { padding: 25px; }
  .complete-step-number { margin-bottom: 18px; }
  .complete-content-grid { gap: 32px; }
  .complete-comparison th, .complete-comparison td { padding: 16px 12px; font-size: 13px; overflow-wrap: break-word; }
  .complete-comparison thead th { font-size: 21px; }
  .complete-comparison thead th:first-child { font-size: 11px; }
  .complete-comparison tbody th { font-size: 12px; }
  .complete-comparison th:first-child { width: 26%; }
  .complete-comparison thead span { font-size: 11px; }
  .complete-choice-links { justify-content: space-between; gap: 22px; font-size: 13px; }
  .complete-purchase { padding: 28px; border-radius: 24px; gap: 30px; }
  .complete-price-card { padding: 26px; }
}
@media (max-width: 380px) {
  .complete-page .nav-inner > a:first-child { width: 215px; flex-shrink: 0; }
  .complete-page .nav-inner > a:first-child > div { transform: scale(.84); transform-origin: left center; }
  .complete-hero-actions .btn { padding-inline: 20px; font-size: 14px; }
  .complete-book { padding: 24px 20px; }
  .complete-book-title { font-size: 35px; }
  .complete-page-count { right: -5px; width: 92px; height: 92px; }
  .complete-page-count strong { font-size: 27px; }
  .complete-purchase { padding: 22px; }
  .complete-price-card { padding: 22px; }
  .complete-comparison th, .complete-comparison td { padding-inline: 9px; }
  .complete-comparison thead th { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .complete-page *, .complete-page *::before, .complete-page *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Public home: introduction, real page previews and creator. */
.complete-intro-video { width: 100%; padding: 12px 10px 20px; }
.home-previews { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.home-previews figure { margin: 0; }
.home-previews img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 25px rgba(60,40,10,.08); }
.home-previews figcaption { text-align: center; margin-top: 14px; font-weight: 700; font-size: 14px; }
.home-creator { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: center; max-width: 960px; }
.home-creator img { width: 100%; height: 300px; object-fit: cover; object-position: 42% 38%; border-radius: 24px; }
.home-creator h2 { margin: 18px 0; }
.home-creator .complete-text-link { display: inline-block; margin-top: 20px; }
@media(max-width: 768px) { .home-creator { grid-template-columns: 1fr; gap: 24px; } .home-creator img { max-width: 220px; margin: auto; } .home-previews { grid-template-columns: 1fr; max-width: 350px; margin: auto; gap: 30px; } }
/* Accroche sous le H1 SEO de l'accueil (l'ancienne accroche, gardée en sous-titre). */
.complete-hook { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; margin: -8px 0 18px; color: var(--ink); }
