/* =========================================================
   LP Livre blanc — design Claude Design adapté au site Marvin.
   Chargé APRÈS marvin/site/lp.css. Polices Poppins en local
   (200/600 ajoutés ici car marvin.css ne déclare que 300/400/500/700).
   Nav, footer, success-story et logos : non stylés ici (on reprend
   le site + les encarts de la home).
   ========================================================= */

@font-face { font-family: 'Poppins'; font-weight: 200; font-style: normal; src: url('fonts/Poppins-ExtraLight.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Poppins'; font-weight: 600; font-style: normal; src: url('fonts/Poppins-SemiBold.ttf')  format('truetype'); font-display: swap; }

.lbw {
  --violet-intense: #240046;
  --violet:         #8759ff;
  --violet-ink:     #6a3fe0;
  --violet-deep:    #3a0d5c;
  --lilas:          #b9b1ff;
  --vert:           #d1de54;
  --beige:          #fdfcf6;
  --beige-warm:     #f9f5e9;
  --white:          #ffffff;
  --ink:    #0a0012;
  --ink-2:  #241433;
  --ink-3:  #5a4d6b;
  --ink-4:  #8b8196;
  --rule:   rgba(36,0,70,0.10);
  --rule-2: rgba(36,0,70,0.16);
  --accent:      var(--violet);
  --accent-ink:  var(--violet-ink);
  --accent-soft: #ece8ff;
  --accent-wash: #f4f1ff;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease:     cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  font-family: var(--font);
  font-weight: 300;
  color: var(--ink-2);
  background:
    radial-gradient(50% 30% at 50% 0%, rgba(185,177,255,0.16) 0%, rgba(185,177,255,0.05) 45%, rgba(255,255,255,0) 75%),
    #ffffff;
}
.lbw *, .lbw *::before, .lbw *::after { box-sizing: border-box; }
.lbw img, .lbw svg { display: block; max-width: 100%; }
.lbw a { color: inherit; }

.lbw .shell { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .lbw .shell { padding: 0 20px; } }
.lbw .hl { color: var(--accent); }
.lbw .flash { color: var(--vert); }

/* ===== HERO ===== */
.lbw .hero { padding: 96px 0 64px; position: relative; overflow: hidden; }
@media (min-width: 900px) { .lbw .hero { padding: 120px 0 88px; } }
.lbw .hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
@media (min-width: 1000px) {
  .lbw .hero-grid { grid-template-columns: 1fr 480px; grid-template-rows: min-content min-content; align-content: start; gap: 0 80px; grid-template-areas: "head form" "body form"; }
  .lbw .hero-head { grid-area: head; }
  .lbw .form-col { grid-area: form; align-self: start; }
  .lbw .hero-body { grid-area: body; align-self: start; }
}

.lbw .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px; flex-wrap: wrap;
}
@media (min-width: 720px) { .lbw .hero-eyebrow { font-size: 12px; margin-bottom: 32px; } }
.lbw .hero-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }

.lbw .hero-title {
  font-weight: 200; font-size: clamp(40px, 8.5vw, 82px); line-height: 1.02;
  letter-spacing: -0.03em; color: var(--ink); margin: 0 0 24px;
}
.lbw .hero-title .hl { font-weight: 300; }
.lbw .hero-lede { font-size: 16px; font-weight: 300; line-height: 1.6; color: var(--ink-3); max-width: 52ch; margin: 0 0 32px; }
@media (min-width: 720px) { .lbw .hero-lede { font-size: 18.5px; margin: 0 0 40px; } }
.lbw .hero-lede strong { color: var(--ink); font-weight: 500; }

.lbw .hero-stats { display: grid; grid-template-columns: 1fr; gap: 0; margin: 32px 0 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
@media (min-width: 600px) { .lbw .hero-stats { grid-template-columns: repeat(3, 1fr); margin-top: 48px; } }
.lbw .hero-stat { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.lbw .hero-stat:last-child { border-bottom: 0; }
@media (min-width: 600px) {
  .lbw .hero-stat { padding: 24px 24px 24px 0; border-right: 1px solid var(--rule); border-bottom: 0; }
  .lbw .hero-stat:last-child { border-right: 0; padding-right: 0; }
  .lbw .hero-stat:not(:first-child) { padding-left: 24px; }
}
.lbw .hero-stat .num { font-weight: 200; font-size: 42px; line-height: 1; letter-spacing: -0.03em; color: var(--violet); margin-bottom: 10px; white-space: nowrap; }
@media (min-width: 720px) { .lbw .hero-stat .num { font-size: 54px; } }
.lbw .hero-stat .num .hl, .lbw .hero-stat .num .unit { color: var(--violet); font-weight: 200; }
.lbw .hero-stat .cap { font-size: 13px; line-height: 1.45; color: var(--ink-3); max-width: 26ch; }

/* ===== BOOK ===== */
.lbw .form-col { position: relative; }
.lbw .book-wrap { position: relative; margin-bottom: 24px; padding: 24px 20px 0; display: flex; justify-content: center; }
@media (min-width: 1000px) { .lbw .book-wrap { position: absolute; top: -48px; right: 8px; left: auto; width: auto; margin: 0; padding: 0; justify-content: flex-end; z-index: 6; pointer-events: none; } }
.lbw .book { position: relative; width: 220px; height: 300px; transform: rotate(-3deg); transition: transform 400ms var(--ease-out); filter: drop-shadow(0 30px 44px rgba(36,0,70,0.30)) drop-shadow(0 8px 12px rgba(36,0,70,0.10)); }
@media (min-width: 720px) { .lbw .book { width: 280px; height: 380px; } }
.lbw .book:hover { transform: rotate(-1deg) translateY(-4px); }
.lbw .book-cover { position: absolute; inset: 0; background: var(--violet-intense); border-radius: 2px 10px 10px 2px; overflow: hidden; display: flex; flex-direction: column; padding: 24px 22px 22px; color: var(--beige-warm); }
@media (min-width: 720px) { .lbw .book-cover { padding: 30px 28px 28px; } }
.lbw .book-cover .cover-aura { position: absolute; right: -40px; top: -30px; width: 220px; height: 220px; opacity: 0.55; pointer-events: none; }
.lbw .book-cover::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 12px; background: linear-gradient(to right, rgba(0,0,0,0.35), transparent); z-index: 2; }
.lbw .book-cover::after { content: ""; position: absolute; top: 4px; bottom: 4px; right: -4px; width: 6px; background: linear-gradient(to bottom, #efeae0 0%, #fff 50%, #efeae0 100%); border-radius: 0 2px 2px 0; box-shadow: 0 0 2px rgba(0,0,0,0.2); }
.lbw .book-marker { position: relative; z-index: 3; font-size: 9px; letter-spacing: 0.3em; font-weight: 500; color: var(--lilas); margin-bottom: 12px; }
@media (min-width: 720px) { .lbw .book-marker { font-size: 10px; margin-bottom: 16px; } }
.lbw .book-marker .spaced { display: block; font-size: 8px; color: rgba(249,245,233,0.5); letter-spacing: 0.5em; margin-bottom: 6px; }
@media (min-width: 720px) { .lbw .book-marker .spaced { font-size: 9px; } }
.lbw .book-title { position: relative; z-index: 3; font-weight: 300; font-size: 25px; line-height: 1.06; letter-spacing: -0.02em; color: var(--beige-warm); margin: auto 0 0; }
@media (min-width: 720px) { .lbw .book-title { font-size: 32px; } }
.lbw .book-title .hl { color: var(--lilas); font-weight: 400; }
.lbw .book-footer { position: relative; z-index: 3; margin-top: 16px; padding-top: 13px; border-top: 1px solid rgba(249,245,233,0.18); display: flex; justify-content: space-between; align-items: flex-end; font-size: 8px; color: rgba(249,245,233,0.5); letter-spacing: 0.12em; text-transform: uppercase; }
@media (min-width: 720px) { .lbw .book-footer { font-size: 9px; margin-top: 20px; padding-top: 15px; } }
.lbw .book-footer img { height: 13px; opacity: 0.92; }
@media (min-width: 720px) { .lbw .book-footer img { height: 15px; } }
.lbw .book-stamp { position: absolute; top: -14px; right: -18px; width: 78px; height: 78px; border-radius: 50%; background: var(--violet); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; transform: rotate(8deg); box-shadow: 0 8px 20px rgba(135,89,255,0.4); z-index: 4; }
@media (min-width: 720px) { .lbw .book-stamp { top: -18px; right: -26px; width: 96px; height: 96px; font-size: 10px; } }
.lbw .book-stamp .big { font-weight: 200; font-size: 18px; letter-spacing: -0.02em; text-transform: none; line-height: 1; margin: 3px 0 2px; color: var(--lilas); }
@media (min-width: 720px) { .lbw .book-stamp .big { font-size: 22px; } }
.lbw .book-stamp .small { opacity: 0.85; font-size: 8px; }
@media (min-width: 720px) { .lbw .book-stamp .small { font-size: 9px; } }

/* ===== FORM CARD ===== */
.lbw .form-card { background: var(--white); border: 1px solid var(--rule); border-radius: 24px; padding: 28px 22px 24px; box-shadow: 0 24px 64px rgba(36,0,70,0.14), 0 8px 16px rgba(36,0,70,0.05); position: relative; }
@media (min-width: 720px) { .lbw .form-card { padding: 36px 36px 32px; } }
.lbw .form-title { font-weight: 400; font-size: 22px; line-height: 1.18; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 6px; }
@media (min-width: 720px) { .lbw .form-title { font-size: 26px; } }
.lbw .form-sub { font-size: 13.5px; color: var(--ink-3); line-height: 1.5; margin: 0 0 22px; }
@media (min-width: 720px) { .lbw .form-sub { font-size: 14px; margin-bottom: 24px; } }
.lbw .form-row { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }
@media (min-width: 520px) { .lbw .form-row:not(.single) { grid-template-columns: 1fr 1fr; } }
.lbw .field { display: block; position: relative; }
.lbw .field label { display: block; font-size: 12px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.lbw .field label .req { color: var(--accent); margin-left: 2px; }
.lbw .input, .lbw .select { width: 100%; padding: 13px 14px; background: var(--white); border: 1px solid var(--rule-2); border-radius: 12px; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease); outline: none; }
@media (min-width: 720px) { .lbw .input, .lbw .select { font-size: 14.5px; padding: 12px 14px; } }
.lbw .input::placeholder { color: var(--ink-4); font-weight: 300; }
.lbw .input:focus, .lbw .select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.lbw .select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%235a4d6b' stroke-width='1.3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.lbw .field.invalid .input, .lbw .field.invalid .select { border-color: #c0362f; background-color: rgba(192,54,47,0.02); }
.lbw .field.invalid .err { display: block; }
.lbw .err { display: none; margin-top: 6px; font-size: 11.5px; color: #c0362f; font-weight: 500; }
.lbw .consent { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 20px; font-size: 12px; line-height: 1.5; color: var(--ink-3); cursor: pointer; }
.lbw .consent input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 1px solid var(--rule-2); border-radius: 5px; background: var(--white); margin: 1px 0 0; flex-shrink: 0; cursor: pointer; position: relative; transition: all 160ms var(--ease); }
.lbw .consent input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
.lbw .consent input[type="checkbox"]:checked::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid white; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.lbw .consent a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 2px; }
.lbw .consent a:hover { text-decoration-color: var(--accent); }
.lbw .consent.invalid { color: #c0362f; }
.lbw .consent.invalid input[type="checkbox"] { border-color: #c0362f; }
.lbw .submit-btn { display: flex; width: 100%; padding: 16px 20px; background: var(--violet-intense); color: var(--beige-warm); font-family: var(--font); font-weight: 500; font-size: 15px; border: 0; border-radius: 14px; cursor: pointer; align-items: center; justify-content: space-between; transition: background 180ms var(--ease), transform 120ms var(--ease), box-shadow 220ms var(--ease); }
.lbw .submit-btn:hover { background: var(--violet); box-shadow: 0 0 28px rgba(135,89,255,0.35); }
.lbw .submit-btn:active { transform: scale(0.985); }
.lbw .submit-btn .left { display: flex; align-items: center; gap: 10px; }
.lbw .submit-btn .arrow { transition: transform 180ms var(--ease); font-size: 18px; }
.lbw .submit-btn:hover .arrow { transform: translateX(4px); }
.lbw .submit-btn .dl-icon { width: 18px; height: 18px; flex-shrink: 0; }
.lbw .form-foot { margin-top: 14px; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; color: var(--ink-4); display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
@media (min-width: 720px) { .lbw .form-foot { font-size: 10.5px; gap: 14px; } }
.lbw .form-foot .pipe { opacity: 0.3; }
.lbw .success-state { text-align: left; animation: lbw-slideIn 520ms var(--ease-out); }
@keyframes lbw-slideIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.lbw .success-check { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.lbw .success-check svg { width: 28px; height: 28px; }
.lbw .success-title { font-weight: 400; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 12px; }
@media (min-width: 720px) { .lbw .success-title { font-size: 28px; } }
.lbw .success-msg { font-size: 14.5px; line-height: 1.55; color: var(--ink-3); margin: 0 0 28px; }
@media (min-width: 720px) { .lbw .success-msg { font-size: 15px; } }
.lbw .success-msg strong { color: var(--ink); font-weight: 500; }
.lbw .success-actions { display: flex; flex-direction: column; gap: 12px; }
.lbw .btn-download { display: flex; width: 100%; padding: 16px 20px; background: var(--accent); color: var(--white); font-weight: 500; font-size: 15px; border: 0; border-radius: 14px; cursor: pointer; align-items: center; justify-content: space-between; text-decoration: none; transition: background 180ms var(--ease), box-shadow 220ms var(--ease); }
.lbw .btn-download:hover { background: var(--accent-ink); box-shadow: 0 0 28px rgba(135,89,255,0.35); }
.lbw .btn-download .size { font-size: 11px; letter-spacing: 0.1em; opacity: 0.8; font-weight: 500; }
.lbw .btn-secondary-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-3); text-decoration: none; padding: 10px 0; }
.lbw .btn-secondary-link:hover { color: var(--accent); }
.lbw .btn-secondary-link .arrow { transition: transform 160ms var(--ease); }
.lbw .btn-secondary-link:hover .arrow { transform: translateX(3px); }

/* ===== AUDIT CTA ===== */
.lbw .audit { padding: 64px 0; }
@media (min-width: 900px) { .lbw .audit { padding: 96px 0; } }
.lbw .audit-card { background: var(--violet-intense); color: var(--beige-warm); border-radius: 28px; padding: 40px 28px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 900px) { .lbw .audit-card { grid-template-columns: 1.15fr 1fr; gap: 56px; padding: 56px 56px; } }
.lbw .audit-card .aura-deco { position: absolute; top: -60px; right: -60px; width: 360px; height: 360px; opacity: 0.55; pointer-events: none; }
.lbw .audit-photo { position: relative; z-index: 2; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; background: var(--violet-deep); box-shadow: 0 24px 48px rgba(36,0,70,0.28); }
@media (min-width: 900px) { .lbw .audit-photo { aspect-ratio: 3/4; max-height: 460px; } }
.lbw .audit-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.lbw .audit-kicker { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lilas); margin-bottom: 20px; }
.lbw .audit-kicker::before { content: ""; width: 28px; height: 1px; background: var(--lilas); }
.lbw .audit-card h3 { position: relative; z-index: 2; font-weight: 300; font-size: clamp(28px, 5vw, 44px); line-height: 1.1; letter-spacing: -0.025em; color: var(--beige-warm); margin: 0 0 16px; }
.lbw .audit-card h3 .hl { color: var(--lilas); }
.lbw .audit-card .lede { position: relative; z-index: 2; font-size: 15px; line-height: 1.6; color: rgba(249,245,233,0.72); max-width: 52ch; margin: 0 0 28px; }
@media (min-width: 720px) { .lbw .audit-card .lede { font-size: 16px; margin-bottom: 32px; } }
.lbw .audit-actions { position: relative; z-index: 2; display: flex; gap: 16px; flex-wrap: wrap; }
.lbw .btn-audit { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; background: var(--violet); color: var(--white); font-weight: 500; font-size: 15px; border: 0; border-radius: 14px; cursor: pointer; text-decoration: none; transition: background 180ms var(--ease), box-shadow 220ms var(--ease); }
.lbw .btn-audit:hover { background: var(--accent-ink); box-shadow: 0 0 28px rgba(135,89,255,0.45); }
.lbw .btn-audit .arrow { transition: transform 180ms var(--ease); }
.lbw .btn-audit:hover .arrow { transform: translateX(4px); }

/* ===== desktop : livre compact au-dessus du form ===== */
@media (min-width: 1000px) {
  .lbw .book { width: 124px; height: 170px; transform: rotate(4deg); }
  .lbw .book:hover { transform: rotate(4deg) translateY(-2px); }
  .lbw .book-cover { padding: 14px 13px 12px; border-radius: 2px 7px 7px 2px; }
  .lbw .book-cover .cover-aura { width: 124px; height: 124px; right: -20px; top: -16px; }
  .lbw .book-marker { font-size: 6.5px; letter-spacing: 0.18em; margin-bottom: 6px; }
  .lbw .book-marker .spaced { font-size: 5.5px; letter-spacing: 0.28em; margin-bottom: 3px; }
  .lbw .book-title { font-size: 15px; }
  .lbw .book-footer { font-size: 5.5px; margin-top: 8px; padding-top: 7px; }
  .lbw .book-footer img { height: 8px; }
  .lbw .book-stamp { width: 52px; height: 52px; top: -10px; right: -12px; font-size: 5.5px; letter-spacing: 0.06em; }
  .lbw .book-stamp .big { font-size: 11px; margin: 1px 0; }
  .lbw .book-stamp .small { font-size: 5px; }
  .lbw .form-card { margin-top: 94px; }
}
@media (max-width: 999px) { .lbw .book-wrap { order: -1; } }
