/* Lettre et CV: letter paper, violet ink, and the highlighter of the official words.
   The same colours and fonts as the printed CV and letter. Every rule is scoped to .lc,
   except the shared bar and footer, retouched only on this site's pages. */

@font-face {
  font-family: "LC Serif";
  src: url("fonts/sourceserif-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "LC Sans";
  src: url("fonts/publicsans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "LC Mono";
  src: url("fonts/plexmono-latin.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --lc-ink: #1d1a33;
  --lc-soft: #545072;
  --lc-violet: #463a8f;
  --lc-violet-deep: #2f2766;
  --lc-paper: #f8f6f1;
  --lc-sheet: #fffefa;
  --lc-line: #e2deec;
  --lc-mark: #f6e27a;
  --lc-mark-soft: #fbf0b4;
  --lc-ok: #2f6b4f;
  --lc-serif: "LC Serif", Georgia, "Times New Roman", serif;
  --lc-sans: "LC Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --lc-mono: "LC Mono", ui-monospace, Menlo, Consolas, monospace;
}

body:has(.lc) { background: var(--lc-paper); color: var(--lc-ink); font-family: var(--lc-sans); }
body:has(.lc) .topbar { background: var(--lc-paper); border-bottom: 1px solid var(--lc-line); box-shadow: none; }
body:has(.lc) .topbar .brand { color: var(--lc-ink); font-family: var(--lc-serif); font-weight: 600; letter-spacing: -0.01em; }
body:has(.lc) .brand-emoji { display: inline-block; flex: 0 0 auto; vertical-align: middle; font-size: 0; width: 28px; height: 28px; background: url("logo.svg") center / contain no-repeat; }
body:has(.lc) .footer { background: transparent; color: var(--lc-soft); }
body:has(.lc) .guide .card { background: var(--lc-sheet); border: 1px solid var(--lc-line); box-shadow: 0 1px 0 var(--lc-line); }
body:has(.lc) .guide h1, body:has(.lc) .guide h2 { font-family: var(--lc-serif); font-weight: 600; color: var(--lc-ink); letter-spacing: -0.01em; }
body:has(.lc) .guide .btn, body:has(.lc) .offer .btn { background: var(--lc-violet); }

.lc { font-family: var(--lc-sans); color: var(--lc-ink); }
.lc *, .lc *::before, .lc *::after { box-sizing: border-box; }
.lc h1, .lc h2, .lc h3 { font-family: var(--lc-serif); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 0.5em; color: var(--lc-ink); }
.lc p { line-height: 1.55; }
.lc mark { background: linear-gradient(transparent 22%, var(--lc-mark) 22%, var(--lc-mark) 88%, transparent 88%); color: inherit; padding: 0 0.08em; }
.lc a { color: var(--lc-violet); }
.lc-wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.lc-kicker, .lc-code, .lc-label { font-family: var(--lc-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lc-violet); }
.lc-note, .lc-hint { color: var(--lc-soft); font-size: 0.92rem; }
.lc-hint { font-weight: 400; }
.lc-source { color: var(--lc-soft); font-size: 0.82rem; }

/* Buttons */
.lc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4em; border: 0; border-radius: 10px; padding: 0.72em 1.15em; font: 700 1rem/1.2 var(--lc-sans); color: #fff; background: linear-gradient(135deg, var(--lc-violet), var(--lc-violet-deep)); text-decoration: none; cursor: pointer; }
.lc a.lc-btn { color: #fff; }
.lc-btn:hover { filter: brightness(1.08); }
.lc-btn:focus-visible { outline: 3px solid var(--lc-mark); outline-offset: 2px; }
.lc-btn.big { width: 100%; padding: 0.95em 1.2em; font-size: 1.05rem; }
.lc-btn.ghost { background: transparent; color: var(--lc-violet); box-shadow: inset 0 0 0 2px var(--lc-violet); }
.lc a.lc-btn.ghost { color: var(--lc-violet); }
.lc-btn.is-done { background: var(--lc-ok); color: #fff; box-shadow: none; }

/* Form */
.lc-form, .lc-card { background: var(--lc-sheet); border: 1px solid var(--lc-line); border-radius: 16px; padding: 18px; box-shadow: 0 12px 30px -18px rgba(29, 26, 51, 0.35); }
.lc-form { display: grid; gap: 10px; }
.lc-label-big { font-weight: 700; font-size: 1.05rem; }
.lc-label-small { display: block; font-weight: 600; font-size: 0.92rem; margin-top: 8px; }
.lc input[type="text"], .lc input[type="tel"], .lc input[type="email"], .lc textarea, .lc select { width: 100%; font: 400 1rem/1.4 var(--lc-sans); color: var(--lc-ink); background: #fff; border: 1.5px solid #cfc9df; border-radius: 10px; padding: 0.7em 0.85em; }
.lc input:focus, .lc textarea:focus { outline: none; border-color: var(--lc-violet); box-shadow: 0 0 0 3px rgba(70, 58, 143, 0.18); }
.lc fieldset { border: 0; margin: 0; padding: 0; }
.lc legend { font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; padding: 0; }
.lc-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.lc-pill { position: relative; }
.lc-pill input { position: absolute; opacity: 0; inset: 0; }
.lc-pill span { display: inline-block; padding: 0.45em 0.75em; border-radius: 999px; border: 1.5px solid #cfc9df; background: #fff; font-size: 0.9rem; font-weight: 600; color: var(--lc-ink); cursor: pointer; }
.lc-pill input:checked + span { background: var(--lc-violet); border-color: var(--lc-violet); color: #fff; }
.lc-pill input:focus-visible + span { outline: 3px solid var(--lc-mark); outline-offset: 1px; }
.lc-pills.small .lc-pill span { font-size: 0.82rem; padding: 0.35em 0.6em; }
.lc-more summary { cursor: pointer; color: var(--lc-violet); font-weight: 600; font-size: 0.92rem; }
.lc-more[open] { display: grid; gap: 6px; }
.lc-inline { display: inline-flex; align-items: center; gap: 4px; margin-right: 10px; font-size: 0.9rem; }

/* The letter sheet */
.lc-sheet { position: relative; background: var(--lc-sheet); border: 1px solid var(--lc-line); border-radius: 6px; padding: 26px 26px 18px; font-family: var(--lc-serif); font-size: 1.02rem; line-height: 1.6; box-shadow: 0 1px 0 #fff inset, 0 18px 40px -26px rgba(29, 26, 51, 0.45); }
.lc-sheet p { margin: 0 0 0.8em; }
.lc-sheet-tag { display: flex; justify-content: space-between; align-items: center; font-family: var(--lc-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lc-soft); border-bottom: 1px dashed var(--lc-line); padding-bottom: 8px; margin-bottom: 14px !important; }
.lc-object { font-family: var(--lc-sans); font-size: 0.95rem; }
.lc-object b { color: var(--lc-violet); }
.lc-sign { text-align: right; font-weight: 600; }
.lc-sheet-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 8px; font-family: var(--lc-sans); }
.lc-legend { font-family: var(--lc-sans); font-size: 0.8rem; color: var(--lc-soft); margin: 0 !important; }

/* The CV blocks */
.lc-cv { margin-top: 18px; background: #fff; border: 1px solid var(--lc-line); border-radius: 14px; padding: 18px; }
.lc-cv h2 { font-size: 1.3rem; }
.lc-cv h3 { font-family: var(--lc-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lc-ink); background: var(--lc-mark); display: inline-block; padding: 1px 5px; margin: 10px 0 6px; }
.lc-cv ul { margin: 0; padding-left: 1.1em; }
.lc-cv li { margin: 0.2em 0; line-height: 1.45; }
.lc-cv-title { font-family: var(--lc-serif); font-size: 1.1rem; font-weight: 600; margin: 0 0 6px; }
.lc-cv-grid { display: grid; gap: 4px 28px; }
.lc-cv .lc-btn { margin-top: 12px; }
.lc-switch { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; margin: 14px 0 0; font-size: 0.92rem; }
.lc-switch span { color: var(--lc-soft); }

/* Home */
.lc-home { padding-bottom: 20px; }
.lc-hero { padding: 22px 0 34px; }
.lc-hero-grid { display: grid; gap: 26px; align-items: start; }
.lc-hero h1 { font-size: clamp(1.7rem, 4.6vw, 3rem); margin: 6px 0 10px; }
.lc-hero h1 span { background: linear-gradient(transparent 58%, var(--lc-mark) 58%, var(--lc-mark) 92%, transparent 92%); }
.lc-lead { font-size: 1.05rem; color: var(--lc-soft); margin: 0 0 16px; max-width: 34em; }
.lc-show { margin: 0; position: relative; }
.lc-show .lc-sheet { transform: rotate(-0.6deg); }
.lc-show figcaption { margin-top: 10px; }
.lc-sticker { position: absolute; top: -12px; right: 14px; z-index: 2; background: var(--lc-mark); color: var(--lc-ink); font: 600 0.78rem/1.2 var(--lc-sans); padding: 6px 9px; border-radius: 6px; transform: rotate(2deg); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.4); }
.lc-result-zone { margin-bottom: 30px; }
.lc-band { background: var(--lc-violet-deep); color: #fff; }
.lc-band ul { list-style: none; display: grid; gap: 14px; padding: 18px 0; margin: 0 auto; }
.lc-band li { display: flex; gap: 10px; align-items: center; font-size: 0.95rem; }
.lc-band strong { color: #fff; }
.lc-band svg { flex: none; }
.lc-intro { text-align: center; padding: 42px 0 10px; }
.lc-intro p { color: var(--lc-soft); max-width: 40em; margin: 0 auto; }
.lc-product { padding: 26px 0; }
.lc-product.alt { background: #f1eef7; }
.lc-product-grid { display: grid; gap: 24px; align-items: center; }
.lc-tag { display: inline-block; font: 600 0.78rem/1 var(--lc-mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--lc-ink); background: var(--lc-mark); padding: 5px 7px; border-radius: 4px; }
.lc-tag.soft { background: #e7e3f2; }
.lc-copy-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 10px 0 6px; }
.lc-copy-head h3 { font-size: 1.5rem; margin: 0; }
.lc-price { font: 700 1.25rem/1 var(--lc-sans); color: var(--lc-violet); white-space: nowrap; }
.lc-list { padding-left: 1.1em; margin: 10px 0 16px; }
.lc-list li { margin: 0.3em 0; }
.lc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lc-page { position: relative; display: block; background: #fff; border: 1px solid var(--lc-line); border-radius: 6px; overflow: hidden; box-shadow: 0 16px 32px -22px rgba(29, 26, 51, 0.55); }
.lc-page img, .lc-res-pics img { display: block; width: 100%; height: auto; }
.lc-page .lc-sticker { top: 8px; right: 8px; }
.lc-duo { display: grid; gap: 10px; }
.lc-typed { background: #fff; border: 1.5px dashed #cfc9df; border-radius: 12px; padding: 12px 14px; font: 400 0.95rem/1.5 var(--lc-sans); color: var(--lc-soft); }
.lc-typed b { display: block; font: 600 0.72rem/1 var(--lc-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--lc-violet); margin-bottom: 6px; }
.lc-arrow { text-align: center; color: var(--lc-violet); font-weight: 700; }
.lc-out { position: relative; font-family: var(--lc-serif); background: var(--lc-sheet); border: 1px solid var(--lc-line); border-radius: 8px; padding: 14px 16px; line-height: 1.6; }
.lc-more-grid { display: grid; gap: 14px; padding: 26px 0; }
.lc-tile strong.lc-tile-title { font-family: var(--lc-serif); font-size: 1.2rem; }
.lc-tile-head { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; }
.lc-links a { font-weight: 700; }
.lc-how { padding: 36px 0; }
.lc-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.lc-steps li { background: var(--lc-sheet); border: 1px solid var(--lc-line); border-radius: 14px; padding: 18px; }
.lc-step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lc-violet); color: #fff; font-weight: 700; margin-bottom: 8px; }
.lc-steps h3 { font-size: 1.15rem; }
.lc-trust { padding: 30px 0; border-top: 1px solid var(--lc-line); }
.lc-trust-grid { display: grid; gap: 22px; }
.lc-trust h2 { font-size: 1.35rem; }
.lc-guides ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 20px; }
.lc-guides a { display: inline-block; padding: 0.5em 0.85em; border-radius: 999px; background: #fff; border: 1px solid var(--lc-line); font-weight: 600; text-decoration: none; }
.lc-faq { padding: 20px 0 30px; }
.lc-faq details { background: var(--lc-sheet); border: 1px solid var(--lc-line); border-radius: 12px; padding: 12px 16px; margin: 8px 0; }
.lc-faq summary { cursor: pointer; font-weight: 700; }
.lc-faq p { margin: 8px 0 0; color: var(--lc-ink); }

/* After the free result */
.lc-res { display: grid; gap: 22px; align-items: start; }
.lc-res-ok { font: 700 1.05rem/1.4 var(--lc-sans); color: var(--lc-ok); margin: 0 0 4px; }
.lc-res-offer h2 { font-size: 1.35rem; }
.lc-res-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.lc-res-pics a { display: block; border: 1px solid var(--lc-line); border-radius: 6px; overflow: hidden; background: #fff; }
.lc-compare { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 6px 0 14px; }
.lc-compare th, .lc-compare td { padding: 7px 6px; border-bottom: 1px solid var(--lc-line); text-align: left; vertical-align: top; }
.lc-compare th { font-family: var(--lc-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--lc-soft); }
.lc-compare .full { font-weight: 700; }
.lc-facts { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 4px; font-size: 0.88rem; color: var(--lc-soft); }
.lc-facts li::before { content: "✓ "; color: var(--lc-ok); font-weight: 700; }
.lc-res-small { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--lc-line); color: var(--lc-ink) !important; text-decoration: none; }
.lc-res-small .price { color: var(--lc-violet); font-size: 1.1rem; }

/* Offer forms */
.lc-offer-form { display: grid; gap: 14px; }
.lc-offer-form label { font-weight: 700; display: block; margin-bottom: 4px; }
.lc-offer-form .lc-pill, .lc-offer-form .lc-inline { font-weight: 400; display: inline-flex; }
.lc-two { display: grid; gap: 10px; }
.lc-hint-box { background: var(--lc-mark-soft); border-radius: 10px; padding: 10px 12px; font-size: 0.92rem; }
.lc-contact { background: #fff; border: 1px solid var(--lc-line) !important; border-radius: 12px; padding: 12px !important; }

/* Teasers on the offer pages */
.lc-teaser { display: grid; gap: 10px; }
.lc-teaser .lc-pair img { width: 100%; height: auto; display: block; }

@media (min-width: 720px) {
  .lc-band ul { grid-template-columns: repeat(4, 1fr); }
  .lc-cv-grid { grid-template-columns: 1fr 1fr; }
  .lc-steps { grid-template-columns: repeat(3, 1fr); }
  .lc-trust-grid { grid-template-columns: 1fr 1fr; }
  .lc-more-grid { grid-template-columns: 1fr 1fr; }
  .lc-two { grid-template-columns: 1fr 1fr; }
  .lc-duo { grid-template-columns: 1fr auto 1.4fr; align-items: center; }
}
@media (min-width: 980px) {
  .lc-hero { padding: 40px 0 56px; }
  .lc-hero-grid { grid-template-columns: 1fr 1.05fr; gap: 48px; }
  .lc-product-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .lc-product.alt .lc-shot { order: 2; }
  .lc-res { grid-template-columns: 1.35fr 1fr; }
  .lc-res-side { position: sticky; top: 16px; }
}
@media (max-width: 719px) {
  .lc-hero { padding-top: 12px; }
  .lc-hero h1 { font-size: 1.62rem; }
  .lc-lead { font-size: 0.98rem; margin-bottom: 12px; }
  .lc-form { padding: 14px; }
  .lc-sheet { padding: 18px 16px 14px; font-size: 0.98rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lc-show .lc-sheet, .lc-sticker { transform: none; }
}
@media print {
  body.lc-printing * { visibility: hidden; }
  body.lc-printing .lc-print-me, body.lc-printing .lc-print-me * { visibility: visible; }
  body.lc-printing .lc-print-me { position: absolute; left: 0; top: 0; width: 100%; border: 0; box-shadow: none; transform: none; }
  body.lc-printing .lc-print-me .lc-sheet-actions, body.lc-printing .lc-print-me .lc-legend, body.lc-printing .lc-print-me .lc-sheet-tag { display: none; }
  body.lc-printing .lc-print-me mark { background: none; }
}
.lc-out p { margin: 0 0 0.6em; }
