/* CVlibre - feuille de style du site (le CV lui-même est dans cv.css) */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 200 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 200 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-weight: 200 900; font-display: swap; src: url(fonts/source-sans-3-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Source Sans 3"; font-weight: 200 900; font-display: swap; src: url(fonts/source-sans-3-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #f3f5f8;
  --sheet: #ffffff;
  --ink: #10213f;
  --ink-2: #44526b;
  --rule: #cfd6e2;
  --blue: #1f4fd8;
  --blue-dark: #173ba3;
  --blue-wash: #e6ecfb;
  --warn: #9a3412;
  --warn-wash: #fdeede;
  --ok: #166534;
  --r: 6px;
  --head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; } /* 12 nov 2026 : sur iPhone, Safari grossissait certaines lignes de l'aperçu du CV */
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* en-tête */
.top { background: var(--paper); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 20; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; }
.brand { font: 800 1.55rem/1 var(--head); text-decoration: none; color: var(--ink); letter-spacing: -.03em; }
.brand .b2 { font-weight: 300; color: var(--blue); }
.nav { display: flex; align-items: center; gap: 12px 20px; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:not(.btn):hover { color: var(--ink); text-decoration: underline; }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--blue); color: #fff; font: 700 1.02rem/1 var(--body); padding: 14px 22px; border-radius: var(--r); border: 2px solid var(--blue); text-decoration: none; cursor: pointer; min-height: 48px; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-sm { padding: 10px 16px; min-height: 42px; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--blue-wash); color: var(--blue-dark); }

/* accueil */
.hero { padding: 56px 0 40px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero h1 { font: 800 clamp(2.2rem, 5vw, 3.6rem)/1.04 var(--head); letter-spacing: -.035em; margin: 0 0 20px; text-wrap: balance; }
.hero .lead { font-size: 1.2rem; color: var(--ink-2); max-width: 34em; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { font-size: .95rem; color: var(--ink-2); margin: 16px 0 0; }
.hero-shot { position: relative; }
.shot-frame { background: var(--sheet); border: 1px solid var(--rule); border-radius: 4px; box-shadow: 0 1px 0 var(--rule), 0 18px 40px -18px rgba(16, 33, 63, .35); overflow: hidden; aspect-ratio: 210 / 297; position: relative; }
.shot-frame .sheet-scale { transform-origin: top left; position: absolute; left: 0; top: 0; }
.section { padding: 56px 0; border-top: 1px solid var(--rule); }
.section h2 { font: 700 clamp(1.7rem, 3.4vw, 2.3rem)/1.1 var(--head); letter-spacing: -.025em; margin: 0 0 28px; text-wrap: balance; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(s); font: 800 2.4rem/1 var(--head); color: var(--blue); display: block; margin-bottom: 8px; }
.steps h3 { font: 700 1.2rem/1.2 var(--head); margin: 0 0 6px; }
.steps p { margin: 0; color: var(--ink-2); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.split p { max-width: 36em; color: var(--ink-2); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok); transform: rotate(-45deg); }
.checks b { color: var(--ink); }
.faq details { border-top: 1px solid var(--rule); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { font: 700 1.15rem/1.3 var(--head); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin: 12px 0 0; color: var(--ink-2); max-width: 46em; }
.cta-band { background: var(--ink); color: #fff; padding: 56px 0; }
.cta-band h2 { font: 800 clamp(1.8rem, 4vw, 2.6rem)/1.08 var(--head); margin: 0 0 22px; letter-spacing: -.03em; max-width: 18em; text-wrap: balance; }
.cta-band .btn { background: #fff; color: var(--ink); border-color: #fff; }
.cta-band .btn:hover { background: var(--blue-wash); border-color: var(--blue-wash); color: var(--ink); }

/* pages de texte */
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.doc h1 { font: 800 2.4rem/1.1 var(--head); letter-spacing: -.03em; margin: 0 0 24px; }
.doc h2 { font: 700 1.4rem/1.2 var(--head); margin: 36px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }
.todo { background: var(--warn-wash); color: var(--warn); border-radius: 3px; padding: 0 5px; font-weight: 600; }

/* pied de page */
.foot { border-top: 1px solid var(--rule); padding: 28px 0 40px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.foot p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.foot nav { display: flex; gap: 20px; font-size: .95rem; }
.foot .foot-ai { order: 3; flex-basis: 100%; font-size: .85rem; line-height: 1.5; max-width: 70ch; }

/* créateur de CV */
.app-bar { background: var(--sheet); border-bottom: 1px solid var(--rule); position: sticky; top: 62px; z-index: 15; }
.app-bar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 10px; padding-bottom: 10px; }
.grp { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.grp > span { font-weight: 700; font-size: .9rem; color: var(--ink-2); }
.app-bar select { border: 1px solid var(--rule); border-radius: var(--r); background: var(--sheet); color: var(--ink); padding: 8px 10px; font: 600 .95rem var(--body); max-width: 210px; }
.seg { display: inline-flex; border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.seg button { background: var(--sheet); border: 0; border-right: 1px solid var(--rule); padding: 9px 14px; font: 600 .95rem var(--body); color: var(--ink); cursor: pointer; min-height: 40px; }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.swatches { display: flex; gap: 8px; }
.swatches button { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--sheet); box-shadow: 0 0 0 1px var(--rule); cursor: pointer; padding: 0; }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.app-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.app { display: grid; grid-template-columns: minmax(340px, 460px) minmax(0, 1fr); gap: 32px; padding-top: 28px; padding-bottom: 64px; align-items: start; }
.mobile-tabs { display: none; }
.panel { min-width: 0; }
.fs { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); margin: 0 0 16px; padding: 0; min-width: 0; }
.fs > summary { cursor: pointer; font: 700 1.1rem/1.2 var(--head); padding: 16px 18px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.fs > summary::-webkit-details-marker { display: none; }
.fs > summary::after { content: "+"; font-size: 1.5rem; color: var(--blue); }
.fs[open] > summary::after { content: "\2212"; }
.fs-body { padding: 4px 18px 18px; display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fld { display: grid; gap: 5px; min-width: 0; align-content: start; }
.fld label, .fld .lab { font-weight: 700; font-size: .92rem; }
.fld .hint { font-size: .85rem; color: var(--ink-2); font-weight: 400; }
.fld input, .fld textarea, .fld select { width: 100%; font: 1rem var(--body); color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 4px; padding: 10px 12px; min-height: 44px; }
.fld textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
.fld input:focus, .fld textarea:focus, .fld select:focus { background: #fff; border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: 0; }
.item { border: 1px solid var(--rule); border-left: 4px solid var(--blue); border-radius: 4px; padding: 14px; display: grid; gap: 12px; background: #fff; }
.item-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.item-head strong { font-size: .95rem; }
.mini { display: flex; gap: 4px; }
.mini button { border: 1px solid var(--rule); background: var(--paper); border-radius: 4px; min-width: 36px; min-height: 36px; cursor: pointer; font: 700 .95rem var(--body); color: var(--ink); }
.mini button:hover { background: var(--blue-wash); }
.mini button:disabled { opacity: .35; cursor: default; }
.add { border: 2px dashed var(--blue); background: transparent; color: var(--blue); font: 700 1rem var(--body); border-radius: var(--r); padding: 12px; cursor: pointer; min-height: 46px; }
.add:hover { background: var(--blue-wash); }
.photo-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.photo-prev { width: 64px; height: 64px; border-radius: 50%; background: var(--paper) center/cover no-repeat; border: 1px solid var(--rule); }
.link-btn { background: none; border: 0; color: var(--blue); text-decoration: underline; cursor: pointer; font: 600 .95rem var(--body); padding: 4px; }
.preview-col { min-width: 0; position: sticky; top: 132px; }
.preview-outer { background: #dfe5ee; border: 1px solid var(--rule); border-radius: var(--r); padding: 16px; overflow: hidden; }
.preview-box { position: relative; width: 100%; }
.preview-box .sheet { transform-origin: top left; position: absolute; left: 0; top: 0; }
.notice { margin: 12px 0 0; padding: 10px 14px; border-radius: 4px; font-size: .95rem; background: var(--blue-wash); color: var(--ink); }
.notice.warn { background: var(--warn-wash); color: var(--warn); font-weight: 600; }
.help { color: var(--ink-2); font-size: .92rem; margin: 10px 0 0; }

@media (max-width: 960px) {
  .hero-in, .split { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .hero-shot { max-width: 420px; }
  .app { grid-template-columns: 1fr; padding-top: 16px; }
  .preview-col { position: static; }
  .mobile-tabs { display: flex; padding-top: 12px; }
  .mobile-tabs .seg { width: 100%; }
  .mobile-tabs .seg button { flex: 1; }
  body[data-tab="edit"] .preview-col { display: none; }
  body[data-tab="view"] .panel { display: none; }
  .app-bar { position: static; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
  .row2 { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.fld input[type=file], input[type=file] { font: .95rem var(--body); padding: 8px; min-height: 0; background: transparent; border: 0; width: auto; max-width: 100%; }
input[type=file]::file-selector-button { font: 700 .95rem var(--body); color: var(--blue); background: var(--sheet); border: 2px solid var(--blue); border-radius: var(--r); padding: 9px 14px; margin-right: 12px; cursor: pointer; }
input[type=file]::file-selector-button:hover { background: var(--blue-wash); }

/* IA */
.ai-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.link-btn.rw { justify-self: start; padding-left: 0; }
.link-btn:disabled { opacity: .6; cursor: progress; }
.btn:disabled { opacity: .7; cursor: progress; }

/* Blog */
.post h2 { scroll-margin-top: 80px; }
.post p, .post li { line-height: 1.65; }
.post ul, .post ol { padding-left: 1.3em; }
.post li { margin: 0 0 6px; }
.crumbs { font-size: .9rem; color: var(--ink-2); margin: 0 0 14px; }
.crumbs a { color: var(--ink-2); }
.meta { color: var(--ink-2); font-size: .92rem; margin: -8px 0 24px; }
.ex { background: #fff; border: 1px solid var(--rule); border-left: 4px solid var(--blue); border-radius: 4px; padding: 12px 16px; margin: 14px 0; }
.ex p { margin: 0 0 8px; }
.ex p:last-child { margin-bottom: 0; }
.callout { background: var(--blue-wash); border-radius: 6px; padding: 16px 18px; margin: 28px 0 8px; }
.callout p { margin: 0; color: var(--ink); }
.more { margin-top: 36px; padding-top: 8px; border-top: 1px solid var(--rule); }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; }
.cat { margin-top: 12px; }
.cards { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; }
.cards a { display: grid; gap: 4px; background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 14px 16px; text-decoration: none; color: var(--ink); }
.cards a:hover { border-color: var(--blue); }
.cards strong { font: 700 1.05rem/1.3 var(--head); color: var(--blue); }
.cards span { color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.cta-row { margin-top: 36px; }

/* Fenêtre « Retirer le filigrane » */
.pass-dlg { height: fit-content; border: 0; border-radius: 8px; padding: 0; width: min(440px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(15, 23, 42, .35); color: var(--ink); }
.pass-dlg::backdrop { background: rgba(15, 23, 42, .5); }
.pass-dlg form { display: grid; gap: 14px; padding: 22px; margin: 0; }
.pass-dlg h2 { margin: 0; font-size: 1.25rem; }
.pass-dlg p { margin: 0; }
.pass-dlg .pass-price { font-weight: 700; }
.pass-dlg .pass-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pass-dlg .pass-row input { flex: 1 1 180px; min-width: 0; }
.pass-dlg .pass-end { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
#acc-dlg { padding: 22px; box-sizing: border-box; max-height: calc(100dvh - 32px); overflow-y: auto; }
#acc-dlg[open] { display: flex; flex-direction: column; gap: 14px; height: fit-content; height: -webkit-fit-content; }
#acc-dlg h2 { margin: 0; font-size: 1.25rem; }
#acc-dlg > div { display: flex; flex-direction: column; gap: 12px; }
#acc-dlg > div[hidden] { display: none; }
#acc-dlg p, #pass-dlg p { line-height: 1.5; }
#pass-off, #pass-on { display: flex; flex-direction: column; gap: 14px; }
#pass-off[hidden], #pass-on[hidden] { display: none; }
#acc-dlg .pass-note:empty { display: none; }
#acc-dlg .pass-end { justify-content: flex-end; }
.pass-dlg input { font-size: 16px; padding: .6rem .75rem; border: 1px solid #c3cad6; border-radius: .5rem; font-family: inherit; }
.pass-dlg input:focus { outline: 2px solid #2147d6; outline-offset: 1px; }
@media (max-width: 520px) {
  .pass-dlg .pass-row { flex-direction: column; align-items: stretch; }
  .pass-dlg .pass-row .btn { width: 100%; text-align: center; }
  .pass-dlg .pass-row input { flex: 0 0 auto; width: 100%; box-sizing: border-box; }
  .pass-dlg { font-size: 1rem; }
}
.pass-dlg .pass-note { font-size: .92rem; color: #4b5565; margin: .5rem 0; }
.pass-dlg .pass-note.bad { color: #b42318; }
.pass-dlg input[type=email] { flex: 1; min-width: 0; padding: .55rem .7rem; border: 1px solid #c3cad6; border-radius: .5rem; font: inherit; }
.pass-dlg #acc-list { display: grid; gap: .4rem; margin: .8rem 0; }
.pass-dlg #acc-list .pass-row span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.nav .btn { white-space: nowrap; }
@media (max-width: 520px) { .nav { gap: 8px; } .nav .btn-sm { padding-inline: 11px; font-size: .9rem; } }
/* assistant d'aide */
.sup { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 40; font-family: var(--body); }
.sup-fab { background: var(--blue); color: #fff; border: 0; border-radius: 999px; padding: .65rem 1.1rem; font: 700 .98rem var(--body); cursor: pointer; box-shadow: 0 6px 20px rgba(16, 33, 63, .28); }
.sup-fab:hover { background: var(--blue-dark); }
.sup-panel { width: min(360px, calc(100vw - 32px)); max-height: min(520px, calc(100dvh - 32px)); display: flex; flex-direction: column; background: var(--sheet); color: var(--ink); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 16px 48px rgba(16, 33, 63, .3); overflow: hidden; }
.sup-panel[hidden] { display: none; }
.sup-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
.sup-x { background: none; border: 0; color: var(--ink-2); font: 600 .9rem var(--body); cursor: pointer; text-decoration: underline; }
.sup-log { flex: 1; min-height: 140px; overflow-y: auto; padding: 12px 14px; display: grid; gap: 10px; align-content: start; }
.sup-msg { padding: 9px 12px; border-radius: 10px; line-height: 1.45; font-size: .96rem; max-width: 92%; overflow-wrap: anywhere; }
.sup-msg.bot { background: var(--blue-wash); justify-self: start; }
.sup-msg.me { background: var(--ink); color: #fff; justify-self: end; }
.sup-msg a { color: inherit; font-weight: 700; }
.sup-form { display: flex; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--rule); }
.sup-form input { flex: 1; min-width: 0; font: 16px var(--body); padding: .55rem .7rem; border: 1px solid #c3cad6; border-radius: .5rem; }
.sup-foot { margin: 0; padding: 0 14px 12px; font-size: .85rem; color: var(--ink-2); }
@media print { .sup { display: none !important; } }
.foot { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
#acc-out { display: flex; flex-direction: column; gap: 16px; }
#acc-step1, #acc-step2 { display: flex; flex-direction: column; gap: 12px; }
#acc-step1[hidden], #acc-step2[hidden] { display: none; }
.acc-big { width: 100%; justify-content: center; text-align: center; padding: .85rem 1rem; font-size: 1.05rem; }
.acc-lab { font-weight: 700; font-size: .95rem; }
#acc-step2 input { width: 100%; box-sizing: border-box; }
#acc-step1 .hint { margin: 0; text-align: center; }
#acc-step2 .link-btn { justify-self: center; }
/* écran de connexion */
#acc-dlg { position: fixed; padding: 32px 28px 26px; width: min(420px, calc(100vw - 32px)); }
.dlg-x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); font: 400 28px/1 var(--body); cursor: pointer; }
.dlg-x:hover { background: var(--blue-wash); color: var(--ink); }
#acc-out { align-items: stretch; gap: 14px; text-align: center; }
.acc-brand { margin: 0; font-family: var(--head); font-size: 1.5rem; letter-spacing: -.01em; }
.acc-brand .b1 { font-weight: 800; color: var(--ink); }
.acc-brand .b2 { font-weight: 400; color: var(--blue); }
#acc-out #acc-title { font-family: var(--head); font-size: 1.55rem; margin: 2px 0 0; }
.acc-h2 { margin: 0 0 4px; font-size: 1.3rem; }
.acc-perks { list-style: none; margin: 0 auto 4px; padding: 0; display: flex; flex-direction: column; gap: 8px; text-align: left; max-width: 330px; }
.acc-perks li { position: relative; padding-left: 28px; line-height: 1.4; color: var(--ink-2); }
.acc-perks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.5' fill='none' stroke='%231f4fd8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.acc-big { min-height: 50px; border-radius: 8px; font-weight: 700; }
#acc-step2 .acc-lab { text-align: left; }
#acc-step2 input { min-height: 48px; }
.acc-legal { margin: 2px 0 0; font-size: .82rem; color: var(--ink-2); line-height: 1.45; }
.acc-legal a { color: inherit; }
#acc-note:not(:empty) { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: var(--blue-wash); color: var(--ink); font-size: .93rem; text-align: left; }
.dlg-x:focus:not(:focus-visible) { outline: none; }
.nav [hidden] { display: none !important; }
@media (max-width: 520px) { .nav.in .btn:not(.btn-ghost) { display: none; } }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-left: auto; margin-right: auto; gap: 18px; margin-top: 26px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: #fff; border: 1px solid var(--rule); border-radius: 16px; }
.plan-main { border: 2px solid var(--blue); }
.plan h3 { margin: 0; font: 800 1.2rem/1.2 var(--head); }
.plan-price { margin: 0; font: 800 2rem/1.1 var(--head); letter-spacing: -.02em; }
.plan-price small { font: 600 .85rem/1.3 var(--body, inherit); color: var(--ink-2); letter-spacing: 0; }
.plan ul { margin: 0; padding-left: 18px; color: var(--ink-2); flex: 1; }
.plan li { margin: 6px 0; }
.plan .btn { align-self: flex-start; }
@media (max-width: 800px) { .plans { grid-template-columns: 1fr; } }

.lead-s { color: var(--ink-2); margin: 8px 0 0; }
.jobs { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.jobs a { display: inline-block; padding: .5rem .9rem; border: 1px solid var(--rule); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; }
.jobs a:hover { border-color: var(--blue); color: var(--blue); }

#tpls { flex-wrap: wrap; }
.seg button.locked::after { content: "Pass"; margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .68rem; font-weight: 700; vertical-align: 2px; }

.fmt-list { display: grid; gap: 10px; margin: 6px 0 12px; }
.fmt-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; font-weight: 600; }
.fmt-row select { min-width: 190px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--sheet); color: var(--ink); padding: 8px 10px; font: 600 .95rem var(--body); }
#fmt-dlg { width: min(520px, calc(100vw - 24px)); }
.tpl-dlg { width: min(720px, calc(100vw - 24px)); }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, 172px); justify-content: center; gap: 14px; max-height: 60vh; overflow: auto; padding: 2px; }
.tpl-card { display: flex; flex-direction: column; gap: 6px; align-items: stretch; background: none; border: 2px solid transparent; border-radius: 8px; padding: 6px; cursor: pointer; font: inherit; color: var(--ink); text-align: left; }
.tpl-card.on { border-color: var(--blue); }
.tpl-card:hover { background: #f1f4fa; }
.tpl-thumb { display: block; position: relative; width: 100%; aspect-ratio: 210 / 297; overflow: hidden; background: #fff; border: 1px solid var(--rule); border-radius: 4px; }
.tpl-thumb .sheet { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: scale(.2015); pointer-events: none; }
.tpl-name { font-weight: 700; font-size: .92rem; display: flex; align-items: center; gap: 6px; }
.tpl-badge { padding: 1px 6px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .68rem; font-weight: 700; }

/* 12 nov 2026 : la publicité n'apparaît jamais dans les PDF */
@media print { ins.adsbygoogle, .google-auto-placed, .adsbygoogle, iframe[id^="aswift"], #cvl-ck { display: none !important; } }
/* 12 nov 2026 : CVLibre 100 % gratuit, encart de soutien */
.plan p { margin: 0; color: var(--ink-2); }
.free-note { margin: 28px 0 8px; padding: 18px 20px; background: var(--blue-wash); border-radius: 14px; }
.free-note p { margin: 0 0 10px; }
.free-note p:last-child { margin: 0; }
.give { max-width: 640px; }
.give .free-note { margin-top: 18px; }
.tipeee-wrap{margin:14px 0;max-width:100%;overflow:hidden}.tipeee-wrap>a.tipeee-project-card{display:none}.tipeee-wrap iframe{max-width:100%}
/* Barre du créateur : menu Plus et bouton PDF fixe sur mobile (12 nov 2026) */
.tbm { position: relative; display: inline-block; }
.tbm > summary { list-style: none; cursor: pointer; }
.tbm > summary::-webkit-details-marker { display: none; }
.tbm-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 260px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 12px 32px rgba(16,33,63,.16); padding: 6px; display: flex; flex-direction: column; }
.tbm-item { display: block; width: 100%; text-align: left; background: none; border: 0; border-radius: 8px; padding: 11px 12px; font: 600 .95rem var(--body); color: var(--ink); cursor: pointer; }
.tbm-item:hover, .tbm-item:focus-visible { background: var(--blue-wash); }
.tbm-item.danger { color: #b42318; }
.tbm-item.danger[data-arm="1"] { background: #fde8e7; }
.tpl-cur { display: none; }
@media screen and (max-width: 960px) {
  .app-bar-in { gap: 10px 14px; padding-top: 12px; padding-bottom: 12px; }
  .grp-tpl #tpls { display: none; }
  .tpl-cur { display: inline-flex; }
  .grp > span { font-size: .85rem; }
  .app-actions { margin-left: 0; }
  .app-actions #print { position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40; min-height: 52px; font-size: 1.05rem; box-shadow: 0 10px 28px rgba(31,79,216,.35); justify-content: center; }
  body[data-tab] .foot { padding-bottom: 90px; }
  body[data-tab] main { padding-bottom: 80px; }
  .tbm-menu { position: fixed; left: 16px; right: 16px; top: auto; min-width: 0; max-width: none; }
}
@media screen and (max-width: 960px) { body[data-tab] .sup { bottom: calc(80px + env(safe-area-inset-bottom)); } }
.tbm:not([open]) > .tbm-menu { display: none; }
@media screen and (max-width: 960px) { .app-bar-in > .grp-tpl { order: 1; } .app-bar-in > .grp[aria-label="Mise en forme"] { order: 2; } .app-bar-in > .app-actions { order: 3; } .app-bar-in > .grp[aria-label="Couleur"] { order: 4; width: 100%; } }
/* Adapter à une offre (12 nov 2026) */
.tl-res { margin-top: 14px; border-top: 1px solid var(--rule); padding-top: 14px; }
.tl-score { margin: 0 0 12px; }
.tl-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.tl-item { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--rule); border-radius: 10px; background: var(--sheet); cursor: pointer; }
.tl-item input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.tl-item > span { display: grid; gap: 6px; font-size: .95rem; }
.tl-new { color: var(--ink); white-space: normal; }
.tl-old { color: var(--ink-2); font-size: .85rem; }
.tl-h { font-weight: 700; margin: 14px 0 6px; }
.tl-kw { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
.tl-kw span { background: var(--blue-wash); color: var(--ink); border-radius: 999px; padding: 4px 10px; font-size: .88rem; font-weight: 600; }
.tl-tips { margin: 0; padding-left: 20px; font-size: .95rem; }
/* Accueil : IA et galerie de modèles (12 nov 2026) */
.hero-kicker { display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: var(--blue-wash); color: var(--blue-dark, #1838a8); font-weight: 700; font-size: .92rem; }
.ai-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0 18px; }
.ai-card { background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; padding: 20px; }
.ai-card h3 { margin: 10px 0 8px; font-size: 1.08rem; }
.ai-card p { margin: 0; color: var(--ink-2); font-size: .97rem; line-height: 1.55; }
.ai-ico { font-size: 1.6rem; line-height: 1; }
.ai-note { color: var(--ink-2); font-size: .95rem; max-width: 70ch; }
.gal { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin: 22px 0 18px; }
.gal-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
.gal-thumb { display: block; position: relative; width: 100%; aspect-ratio: 210 / 297; overflow: hidden; background: #fff; border: 1px solid var(--rule); border-radius: 8px; box-shadow: 0 4px 14px rgba(16,33,63,.08); transition: transform .15s ease, box-shadow .15s ease; }
.gal-thumb .sheet { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; }
.gal-card:hover .gal-thumb, .gal-card:focus-visible .gal-thumb { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(16,33,63,.16); }
.gal-name { font-weight: 700; font-size: .95rem; }
@media screen and (max-width: 960px) {
  .ai-grid { grid-template-columns: 1fr 1fr; }
  .gal { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .gal-card { scroll-snap-align: start; }
}
@media (max-width: 520px) { .ai-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .gal-thumb { transition: none; } }
@media (max-width: 520px) { .hero-shot { display: none; } }
/* Jauge du budget IA (12 nov 2026) */
.ai-budget { margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 12px; background: var(--sheet); }
.aib-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.aib-t { font-weight: 800; font-size: .95rem; }
.aib-v { font-size: .85rem; color: var(--ink-2); font-weight: 600; }
.aib-bar { height: 12px; border-radius: 999px; background: #e6ebf5; overflow: hidden; }
.aib-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #3b82f6, var(--blue)); transition: width .8s ease; }
.ai-budget.hot .aib-bar i { background: linear-gradient(90deg, #f59e0b, #ea580c); }
.ai-budget.full .aib-bar i { background: #dc2626; }
.aib-msg { margin: 10px 0 0; font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.aib-msg a { font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .aib-bar i { transition: none; } }
@media print { .ai-budget { display: none !important; } }
/* Après le téléchargement (12 nov 2026) */
.after-dlg { max-width: 520px; }
.after-box { border: 1px solid var(--rule); border-radius: 12px; padding: 14px 16px; margin: 12px 0; background: var(--sheet); }
.after-box h3 { margin: 0 0 6px; font-size: 1.02rem; }
.after-box p { margin: 0 0 10px; font-size: .95rem; color: var(--ink-2); line-height: 1.5; }
.st-ct{display:block;margin:0 0 8px;line-height:1.5}
.sp-cvt{display:flex;align-items:center;gap:6px;font-size:.9rem;margin-top:6px;cursor:pointer}.sp-cvt input{width:18px;height:18px}.sp-cvt-info{margin-top:14px;padding-top:12px;border-top:1px solid #e5e8ee}.sp-cvt-info p{margin:0 0 6px}
.rc-perks{margin:0 0 18px;padding-left:20px;line-height:1.6}.rc-grid{display:grid;gap:0 14px;grid-template-columns:1fr}@media(min-width:760px){.rc-grid{grid-template-columns:1fr 1fr}}.rc-ok{display:flex;gap:8px;align-items:flex-start;font-size:.92rem;margin:8px 0 4px}.rc-ok input{margin-top:3px;width:18px;height:18px;flex:none}.rc-acts{display:flex;gap:6px;flex-wrap:wrap}
.st-job{border:1px solid #e5e8ee;border-radius:10px;padding:12px;margin:0 0 12px}.st-job p{margin:0 0 6px}.st-desc{white-space:pre-line;max-height:220px;overflow:auto;font-size:.92rem}.st-jobbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.st-why{flex:1 1 220px;padding:6px 8px;border:1px solid #cdd3dd;border-radius:6px}
.lt-card .rc-ok input[type=checkbox],.lt-card .sp-cvt input[type=checkbox],.rc-ok input[type=checkbox],.sp-cvt input[type=checkbox]{width:20px;height:20px;min-width:20px;flex:0 0 20px;padding:0;margin:2px 0 0;border-radius:4px}
.rc-ok{min-width:0}.rc-ok>span{flex:1;min-width:0}
#rc-form .fld{min-width:0}

/* Bascule Candidat / Recruteur dans l'espace connecté */
.mode-sw{display:flex;gap:4px;padding:4px;margin:0 0 18px;border-radius:999px;background:var(--blue-wash);max-width:360px}
.mode-sw a{flex:1;text-align:center;padding:9px 12px;border-radius:999px;font-weight:600;font-size:.95rem;text-decoration:none;color:inherit;opacity:.7}
.mode-sw a[aria-current]{background:var(--sheet);color:var(--blue-dark);opacity:1;box-shadow:0 1px 4px rgba(0,0,0,.12)}
.rc-stats{display:block;margin-top:4px;font-size:.9rem;opacity:.8}
.mode-sw[hidden]{display:none}

/* Choix du pays (France / Royaume-Uni) dans l'en-tête */
.top-in { gap: 10px; }
.cty { position: relative; margin-right: auto; }
.cty summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border: 1px solid var(--rule); border-radius: 999px; font-weight: 700; font-size: .85rem; background: var(--sheet); }
.cty summary::-webkit-details-marker { display: none; }
.cty-f { font-size: 1.05rem; line-height: 1; }
.cty-m { position: absolute; left: 0; top: calc(100% + 6px); background: var(--sheet); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 10px 30px rgba(16,24,40,.15); padding: 6px; z-index: 60; min-width: 190px; }
.cty-m a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap; }
.cty-m a:hover, .cty-m a[aria-current] { background: var(--blue-wash); }
@media print { .cty { display: none !important; } }
/* 13 nov 2026 : en-tête mobile avec le sélecteur de pays, tout doit tenir sur une ligne (iPhone 375-430 px). */
@media (max-width: 520px) {
  .top-in { gap: 6px; }
  .brand { font-size: 1.3rem; }
  .cty summary { padding: 5px 7px; gap: 0; }
  .cty-c { display: none; }
  .nav { gap: 6px; }
  .nav .btn-sm { padding-inline: 9px; font-size: .86rem; }
}
@media (max-width: 400px) { .nav #nav-acc:not([hidden]) + #nav-out[hidden] + .btn:not(.btn-ghost) { display: none; } }
/* Allemand : mots très longs (Datenschutzerklärung...), coupure automatique pour éviter le débordement sur mobile. */
html[lang^="de"] body { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
html[lang^="de"] .btn, html[lang^="de"] .nav, html[lang^="de"] .brand { -webkit-hyphens: manual; hyphens: manual; }

/* Blocs AdSense manuels (13 nov 2026) : espace seulement quand une annonce s affiche */
.ad-in { margin: 28px 0; clear: both; }
.ad-in:has(ins[data-ad-status="unfilled"]), .ad-in:not(:has(ins iframe)) { margin: 0; }
