/* LevelFunnel · Centre de ressources — style Apple, charte bleue (06/11/2026) */
:root {
  --ink: #0B1020; --ink-2: #2A3347; --muted: #586479; --line: rgba(11, 16, 32, .09); --line-2: rgba(11, 16, 32, .14);
  --blue: #1F6BFF; --blue-text: #1A5FF0; --blue-light: #63A9FF; --ice: #EEF4FE; --bg: #F7FAFD; --mist: #F1F5FA; --white: #fff;
  --radius: 22px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
mark { background: none; color: var(--blue-text); }
.shell { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); margin-inline: auto; }

/* Navigation */
.topnav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 60; width: min(1120px, 100% - 24px); display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 18px; border-radius: 18px; background: rgba(255, 255, 255, .82); border: 1px solid var(--line); box-shadow: 0 10px 30px -18px rgba(11, 16, 32, .25); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); }
.topnav-brand { display: flex; flex-direction: column; align-items: flex-end; }
.topnav-brand img { height: 20px; width: auto; }
.topnav-brand small { margin-top: 3px; margin-right: -.2em; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-text); line-height: 1; }
.topnav-links { display: flex; gap: 24px; margin-left: auto; font-size: 14px; }
.topnav-links a { opacity: .72; } .topnav-links a:hover { opacity: 1; }
.topnav-cta { padding: 10px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }

/* Hero */
.hero { padding: 150px 0 72px; text-align: center; background: radial-gradient(70% 60% at 50% 0%, var(--ice) 0%, var(--bg) 70%); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-text); }
.eyebrow svg { width: 14px; height: 14px; }
.hero h1 { margin: 22px auto 0; max-width: 16ch; font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.04; }
.hero.home h1 { max-width: 23ch; }
.hero-copy { margin: 20px auto 0; max-width: 620px; font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--muted); }
.back { display: inline-block; margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.back:hover { color: var(--ink); }

/* Sections */
.section { padding: 72px 0 110px; }
.section-alt { background: #fff; border-top: 1px solid var(--line); }
.section h2.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -.03em; margin-bottom: 28px; }

/* Grille des ressources */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.res-card { position: relative; display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); transition: border-color .2s, transform .2s, background .2s; }
.res-card:hover { border-color: rgba(31, 107, 255, .35); background: #fff; transform: translateY(-2px); }
.res-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.res-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ice); color: var(--blue); }
.res-icon svg { width: 19px; height: 19px; }
.res-arrow { width: 20px; height: 20px; color: var(--muted); transition: color .2s, transform .2s; }
.res-card:hover .res-arrow { color: var(--blue); transform: translate(2px, -2px); }
.res-card h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.res-tag { margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-text); }
.res-card p { margin-top: 12px; font-size: .94rem; color: var(--muted); }

/* Contenu d'une ressource */
.resource-content { display: grid; gap: 18px; }
.lead { font-size: 1.08rem; color: var(--ink-2); }
.card { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.card h2 { font-size: 1.22rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; padding-right: 90px; }
.copy-btn { position: absolute; top: 20px; right: 20px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; font: 600 12.5px var(--sans); color: var(--ink); cursor: pointer; }
.copy-btn:hover { background: var(--mist); }
.copy-btn svg { width: 13px; height: 13px; }
.copy-btn.done { color: var(--blue-text); border-color: rgba(31, 107, 255, .4); }
.md p { margin-top: 10px; color: var(--ink-2); white-space: pre-wrap; }
.md p:first-child { margin-top: 0; }
.md .md-h { margin-top: 20px; font-weight: 700; color: var(--ink); }
.md .md-ph { color: var(--blue-text); font-weight: 600; }
.md .md-li { padding-left: 18px; position: relative; }
.md .md-li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.hook-list { list-style: none; display: grid; gap: 2px; }
.hook-list li { display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.hook-list li:first-child { border-top: 0; }
.hook-num { font-weight: 700; color: var(--blue-text); font-variant-numeric: tabular-nums; }
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: var(--ink-2); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--ice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6BFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.link-inline { color: var(--blue-text); text-decoration: underline; text-underline-offset: 2px; }
.callout { padding: 32px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.callout .kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-light); }
.callout h2 { margin-top: 8px; font-size: 1.4rem; letter-spacing: -.02em; }
.callout p { margin-top: 8px; color: rgba(255, 255, 255, .72); }
.btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 13px 22px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; font-size: .98rem; }
.btn svg { width: 16px; height: 16px; }
.step-grid { display: grid; gap: 10px; }
.step-card { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.step-num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
.step-card b { display: block; letter-spacing: -.01em; }
.step-card span { display: block; margin-top: 2px; color: var(--muted); font-size: .95rem; }
.tools-list { list-style: none; display: grid; gap: 8px; }
.tool-row { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); transition: border-color .2s, background .2s; }
.tool-row:hover { border-color: rgba(31, 107, 255, .35); background: #fff; }
.tool-logo { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.tool-logo img { width: 100%; height: 100%; object-fit: cover; }
.tool-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tool-name { font-weight: 700; letter-spacing: -.01em; }
.tool-price { padding: 2px 9px; border-radius: 999px; background: var(--ice); color: var(--blue-text); font-size: 12px; font-weight: 600; }
.tool-desc { display: block; margin-top: 3px; font-size: .92rem; color: var(--muted); }

/* Calendrier de publication */
.table-wrap { overflow-x: auto; margin: 0 -4px; }
.cal-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.cal-table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 10px 8px; border-bottom: 1px solid var(--line-2); }
.cal-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.cal-table .day-cell { font-weight: 700; color: var(--ink); }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--mist); color: var(--muted); }
.badge.tofu { background: #E7F0FF; color: #1A5FF0; }
.badge.mofu { background: #E9F7EF; color: #1E7A46; }
.badge.bofu { background: #FFF1E6; color: #B4530F; }
.days-list { display: grid; gap: 14px; }
.day-card { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.day-header { padding: 14px 22px; font-weight: 700; background: var(--mist); border-bottom: 1px solid var(--line); }
.slot-row { display: grid; grid-template-columns: 180px 1fr; gap: 18px; padding: 16px 22px; border-top: 1px solid var(--line); }
.slot-row:first-child { border-top: 0; }
.slot-meta { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; }
.slot-time { font-weight: 700; font-variant-numeric: tabular-nums; margin-right: 4px; }
.slot-format { font-size: 13px; color: var(--muted); }
.slot-cta { color: var(--ink); }
.slot-notes { margin-top: 4px; font-size: .92rem; color: var(--muted); }
.slot-sticker { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 8px; background: var(--ice); color: var(--blue-text); font-size: 12.5px; font-weight: 600; }
.block-title { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; margin: 18px 0 4px; }

/* Pied de page */
.footer { padding: 40px 0; border-top: 1px solid var(--line); background: #fff; font-size: 14px; color: var(--muted); }
.footer .shell { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a:hover { color: var(--ink); }
.footer nav { display: flex; gap: 20px; }

@media (max-width: 900px) { .res-grid { grid-template-columns: repeat(2, 1fr); } .topnav-links { display: none; } .topnav-cta { margin-left: auto; } }
@media (max-width: 640px) {
  .res-grid { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 52px; }
  .section { padding: 52px 0 80px; }
  .card, .callout { padding: 22px 18px; }
  .card h2 { padding-right: 0; }
  .card.has-copy h2, .card.has-copy > .md, .card.has-copy > .hook-list { margin-top: 34px; }
  .card .copy-btn { top: 14px; right: 14px; }
  .slot-row { grid-template-columns: 1fr; gap: 8px; padding: 14px 18px; }
}

/* Opt-in (prénom, téléphone, email) — affiché tant que le navigateur n'a pas le cookie lf_lead */
.optin-section { display: none; padding: 0 0 110px; background: radial-gradient(70% 60% at 50% 0%, var(--bg) 0%, var(--bg) 70%); }
html.locked .optin-section { display: block; }
html.locked .gated { display: none !important; }
.optin { padding: 32px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 80px -40px rgba(11, 16, 32, .3); }
.optin h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; }
.optin-sub { margin-top: 6px; color: var(--muted); }
.optin-fields { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.optin-fields label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.optin-fields .full { grid-column: 1 / -1; }
.optin-fields input { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); font: 400 1rem var(--sans); color: var(--ink); outline: none; transition: border-color .2s, background .2s; }
.optin-fields input:focus { border-color: var(--blue); background: #fff; }
.optin-fields input[aria-invalid="true"] { border-color: #D93B3B; }
.optin-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.optin-error { margin-top: 14px; color: #C42F2F; font-size: .92rem; font-weight: 600; }
.optin-btn { width: 100%; justify-content: center; border: 0; cursor: pointer; font-family: var(--sans); padding: 15px 22px; font-size: 1rem; }
.optin-btn[disabled] { opacity: .6; cursor: wait; }
.optin-legal { margin-top: 14px; font-size: .8rem; color: var(--muted); text-align: center; }
.optin-legal a { text-decoration: underline; }
@media (max-width: 640px) { .optin { padding: 22px 18px; } .optin-fields { grid-template-columns: 1fr; } .optin-section { padding-bottom: 72px; } }

