/* Flëy — pages de contenu, nouvelle DA (21/11). Les blocs « commun » sont recopiés de next/src/next.css : les garder alignés. */
/* --- commun : jetons, base, typo --- */
:root {
  --iris: #847dff; --cyan: #00b3dd; --pale-iris: #d1c9ff; --deep-iris: #4b49aa; --orchid: #dd90d8; --peri: #90b8f0;
  --obsidian: #0f1011; --abyss: #090a0b; --graphite: #2e2e2e; --steel: #3f4041; --silver: #cacaca;
  --fog: #6a6b6b; --ash: #9f9fa0; --cloud: #f5f5f7; --pure: #fff; --void: #000;
  --fley: #5f17e7; --fley-light: #5f17e7;
  --serif: 'Newsreader', 'Lyon Display', Georgia, serif;
  --sans: 'Inter', 'Suisse Int\'l', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Roboto Mono', ui-monospace, Menlo, monospace;
  --max: 1200px; --gutter: clamp(16px, 4vw, 40px);
  --ease-atmo: cubic-bezier(.455, .03, .515, .955);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--obsidian); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--obsidian); color: var(--ash); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--pure); color: var(--void); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 1px solid var(--pure); outline-offset: 3px; }

.mono { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--ash); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
::selection { background: var(--fley); color: #fff; }
/* --- commun : boutons --- */
.btn-primary, .btn-ghost { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 8px; font: 400 16px/1 var(--sans); white-space: nowrap; transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease; }
.btn-primary { background: var(--pure); color: var(--void); }
.btn-primary:hover { background: var(--cloud); }
.btn-primary span { transition: translate .3s ease; }
.btn-primary:hover span { translate: 4px 0; }
.btn-ghost { border: 1px solid rgba(255,255,255,.9); color: var(--pure); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
/* --- commun : menu --- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 14px var(--gutter); }
.nav-in { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 12px; transition: background-color .4s ease, border-color .4s ease; border: 1px solid transparent; }
.nav.scrolled .nav-in { background: rgba(15,16,17,.55); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border-color: rgba(255,255,255,.08); }
.nav-logo img { width: 54px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-links { gap: 4px; }
.nav-text { position: relative; color: var(--pure); font-size: 14px; padding: 9px 14px; opacity: .78; transition: opacity .2s ease; }
.nav-text:hover { opacity: 1; }
.nav-text::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--fley-light); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.nav-text:hover::after { transform: scaleX(1); }
.nav-links { margin-right: 12px; }
.nav-cta { padding: 10px 16px; font-size: 14px; }
.nav-burger { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 8px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); cursor: pointer; position: relative; }
.nav-burger span { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--pure); transition: transform .3s ease, top .3s ease; }
.nav-burger span:first-child { top: 16px; } .nav-burger span:last-child { top: 24px; }
.nav-burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 45; background: rgba(9,10,11,.96); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); display: flex; flex-direction: column; justify-content: center; padding: 0 28px; gap: 8px; }
.drawer[hidden] { display: none; }
.drawer a:not(.btn-primary) { font: 300 40px/1.15 var(--serif); color: var(--pure); }
.drawer .btn-primary { align-self: flex-start; margin-top: 24px; }
/* --- commun : pied de page --- */
.foot { padding: 80px 0 32px; border-top: 1px solid rgba(255,255,255,.06); }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; }
.foot-brand img { width: 60px; height: auto; margin-bottom: 16px; }
.foot-brand p { max-width: 260px; }
.foot-in > div:not(.foot-brand) { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot-in .mono { font-size: 11px; color: var(--fog); letter-spacing: .14em; margin-bottom: 6px; }
.foot-in a { color: var(--ash); transition: color .2s ease; }
.foot-in a:hover { color: var(--pure); }
.foot-bottom { display: flex; justify-content: space-between; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06); }
.foot-bottom .mono { font-size: 11px; color: var(--fog); letter-spacing: .14em; }
@media (max-width: 960px) { .nav-links, .nav-cta { display: none; } .nav-burger { display: block; } .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .foot-in { grid-template-columns: 1fr; } .foot-bottom { flex-direction: column; gap: 12px; } }
/* --- commun : pop-up plan de remplissage + barre RDV mobile --- */
/* ---------- Plan de remplissage (pop-up) ---------- */
.plan-link { background: none; border: 0; cursor: pointer; font: 400 14px/1.4 var(--sans); color: var(--ash); text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 4px; transition: color .2s ease, text-decoration-color .2s ease; padding: 4px 0; }
.plan-link:hover { color: var(--pure); text-decoration-color: var(--fley); }
.cta-card-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; flex: none; }
@media (max-width: 900px) { .cta-card-actions { align-items: flex-start; } }

html.plan-open, html.plan-open body { overflow: hidden; }
.plan { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.plan[hidden] { display: none; }
.plan-backdrop { position: absolute; inset: 0; background: rgba(5,5,6,.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .28s ease; }
.plan-box { position: relative; width: 100%; max-width: 560px; max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; background: #111213; border: 1px solid rgba(255,255,255,.09); border-radius: 24px; padding: 44px 40px 32px; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .28s ease, transform .4s cubic-bezier(.2,.8,.2,1); }
.plan.is-in .plan-backdrop { opacity: 1; }
.plan.is-in .plan-box { opacity: 1; transform: none; }
.plan-x { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border: 0; background: none; color: var(--ash); font: 300 30px/1 var(--sans); cursor: pointer; border-radius: 50%; }
.plan-x:hover { color: var(--pure); background: rgba(255,255,255,.06); }
.plan-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.plan-step { display: flex; flex-direction: column; gap: 18px; }
.plan-step[hidden] { display: none; }
.plan-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .16em; color: var(--fog); }
.plan-kicker::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--fley); }
.plan-title { font-size: clamp(28px, 4.4vw, 38px); line-height: 1.05; color: var(--pure); font-weight: 370 !important; letter-spacing: -.025em; padding-right: 24px; }
.plan-sub { font: 300 16px/1.55 var(--sans); color: var(--ash); }
.plan-field { display: flex; flex-direction: column; gap: 8px; border: 0; min-width: 0; }
.plan-field > span, .plan-field legend { font: 400 13px/1.2 var(--sans); color: var(--cloud); margin-bottom: 8px; padding: 0; }
.plan-field > span { margin-bottom: 0; }
.plan-field input[type=text], .plan-field input[type=email], .plan-field input[type=tel] { width: 100%; font: 400 16px/1.3 var(--sans); color: var(--pure); background: #0a0a0b; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 14px 14px; transition: border-color .2s ease; }
.plan-field input::placeholder { color: #5a5b5c; }
.plan-field input:focus { outline: none; border-color: var(--fley); }
.plan-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.plan-chips label { position: relative; cursor: pointer; }
.plan-chips input { position: absolute; opacity: 0; pointer-events: none; }
.plan-chips span { display: inline-block; padding: 10px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; font: 400 14px/1 var(--sans); color: var(--ash); transition: border-color .2s ease, color .2s ease, background-color .2s ease; }
.plan-chips label:hover span { color: var(--pure); border-color: rgba(255,255,255,.3); }
.plan-chips input:checked + span { color: var(--pure); border-color: var(--fley); background: rgba(95,23,231,.16); }
.plan-chips input:focus-visible + span { outline: 1px solid var(--pure); outline-offset: 2px; }
.plan-err { font: 400 14px/1.4 var(--sans); color: #ff8a8a; min-height: 0; }
.plan-err:empty { display: none; }
.plan-step .btn-primary { justify-content: center; padding: 15px 18px; margin-top: 4px; border: 0; cursor: pointer; }
.plan-step .btn-primary:disabled { opacity: .6; cursor: wait; }
.plan-foot { font-size: 10px; letter-spacing: .16em; color: var(--fog); text-align: center; }
.plan-legal { font: 400 12px/1.5 var(--sans); color: var(--fog); }
.plan-legal a { text-decoration: underline; text-underline-offset: 3px; }
.plan-back { align-self: center; background: none; border: 0; cursor: pointer; font: 400 14px/1 var(--sans); color: var(--fog); padding: 6px; }
.plan-back:hover { color: var(--pure); }
@media (max-width: 560px) {
  .plan { place-items: end center; padding: 0; }
  .plan-box { max-width: none; border-radius: 22px 22px 0 0; padding: 36px 22px calc(24px + env(safe-area-inset-bottom)); max-height: 92dvh; transform: translateY(40px); }
}

/* ---------- Barre RDV mobile ---------- */
.rdv-bar { display: none; }
@media (max-width: 760px) {
  .rdv-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(to top, rgba(9,10,11,.96) 55%, rgba(9,10,11,0)); transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
  .rdv-bar.on { transform: none; pointer-events: auto; }
  .rdv-bar .btn-primary { width: 100%; justify-content: center; padding: 15px 18px; }
  html.plan-open .rdv-bar { transform: translateY(110%); }
}
@media (prefers-reduced-motion: reduce) { .plan-box, .plan-backdrop, .rdv-bar { transition: none; } }

/* ================= Pages de contenu ================= */
.display { font-family: var(--serif); font-weight: 370; color: var(--pure); letter-spacing: -.025em; }
html { scroll-behavior: smooth; }
body { background: radial-gradient(ellipse 80% 420px at 50% 0, rgba(255,255,255,.045), transparent 70%), var(--obsidian); }
a { color: var(--pure); }

.article { max-width: 760px; margin: 0 auto; padding: 168px 20px 120px; font: 400 17px/1.7 var(--sans); color: #a9aaab; }
.crumb { font-size: 11px; letter-spacing: .14em; color: var(--fog); margin-bottom: 28px; }
.crumb a, .article .crumb a { color: var(--fog); text-decoration: none; transition: color .2s ease; }
.crumb a:hover { color: var(--pure); }
.article h1 { font: 370 clamp(42px, 6.4vw, 72px)/1 var(--serif); letter-spacing: -.03em; color: var(--pure); margin-bottom: 32px; text-wrap: balance; }
.article h1 .v, .article h2 .v { color: var(--fog); }
.lead { font: 300 20px/1.6 var(--sans); color: var(--cloud); padding-bottom: 48px; margin-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08); }
.article section { margin-bottom: 64px; }
.article h2 { font: 370 clamp(30px, 4vw, 42px)/1.08 var(--serif); letter-spacing: -.025em; color: var(--pure); margin-bottom: 20px; text-wrap: balance; }
.article h3 { font: 500 18px/1.3 var(--sans); color: var(--pure); margin: 32px 0 8px; }
.article p + p { margin-top: 16px; }
.article ul, .article ol:not(.chart ol) { padding-left: 20px; }
.article li { margin: 10px 0; }
.article li::marker { color: var(--fley); }
.article strong { color: var(--pure); font-weight: 500; }
.article em { font-style: normal; color: var(--cloud); }
.article p a, .article li a { text-decoration: underline; text-decoration-color: var(--fley); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color .2s ease; }
.article p a:hover, .article li a:hover { text-decoration-color: var(--pure); }
.article p a.btn-ghost, .article p a.btn-primary { text-decoration: none; }
.article p a.btn-ghost { margin-top: 8px; }
blockquote { font: 370 24px/1.3 var(--serif); letter-spacing: -.015em; color: var(--pure); margin: 14px 0 20px; }

/* Cartes (ancienne classe .glass) */
.glass { background: #141516; border: 1px solid rgba(255,255,255,.07); border-radius: 20px; }

/* FAQ */
.qa { border-top: 1px solid rgba(255,255,255,.1); background: none !important; border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important; border-bottom: 0 !important; }
.qa:last-of-type { border-bottom: 1px solid rgba(255,255,255,.1) !important; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font: 370 clamp(20px, 2.2vw, 24px)/1.2 var(--serif); color: var(--pure); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font: 300 26px/1 var(--sans); color: var(--fley); transition: transform .3s ease; flex: none; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 40px 26px 0; font-size: 16px; }

/* Résultats : cartes clients */
.case { display: grid; grid-template-columns: 240px 1fr; overflow: hidden; margin-bottom: 20px !important; }
.case img { width: 100%; height: 100%; object-fit: cover; }
.case > div { padding: 32px 32px 28px; }
.tag { font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fog); }
.big { font: 340 56px/1 var(--serif); letter-spacing: -.03em; color: var(--pure); margin: 14px 0 6px; font-variant-numeric: tabular-nums; }
.big span { font: 300 16px var(--sans); letter-spacing: 0; color: var(--ash); }
.card { display: block; padding: 28px 30px; margin: 14px 0; color: var(--ash); text-decoration: none !important; transition: border-color .25s ease, translate .3s ease; }
.card:hover { border-color: rgba(255,255,255,.22); translate: 0 -2px; }
.card h2 { font-size: clamp(24px, 3vw, 30px) !important; margin-bottom: 10px !important; }
.card .big { font-size: 48px; }
@media (max-width: 640px) {
  .case { grid-template-columns: 1fr; }
  .case img { height: 240px; }
  .case > div, .card { padding: 24px 22px; }
  .big { font-size: 46px; }
}

/* Études de cas : chiffres, tableaux, graphe */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: -16px 0 64px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; overflow: hidden; }
.stats > div { padding: 26px 22px; background: var(--obsidian) !important; border: 0 !important; border-radius: 0 !important; }
.stats strong { display: block; font: 340 clamp(32px, 4.4vw, 44px)/1 var(--serif); letter-spacing: -.02em; color: var(--pure); font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 10px; font: 500 10px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fog); }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.kpi { width: 100%; border-collapse: collapse; margin: 8px 0 32px; font-size: 15px; }
.kpi th, .kpi td { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; font-weight: 300; }
.kpi td { text-align: right; color: var(--pure); font-weight: 400; font-variant-numeric: tabular-nums; }
.kpi.months td { width: 30%; }
.kpi.months tr:first-child th, .kpi.months tr:first-child td { font: 500 10px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fog); }
.chart { padding: 26px 22px 18px; margin: 0 0 28px; }
.chart figcaption { font: 500 10px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fog); margin-bottom: 20px; }
.chart ol { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(var(--n, 12), 1fr); gap: 6px; height: 210px; align-items: end; }
.chart li { margin: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.chart li::marker { content: none; }
.chart .bar { width: 100%; height: calc(var(--h) * .76); min-height: 3px; border-radius: 4px 4px 0 0; background: rgba(245,245,247,.82); transition: background-color .2s ease; }
.chart li:hover .bar { background: var(--fley); }
.chart .val { font: 400 10px/1 var(--sans); color: var(--cloud); }
.chart .m { font: 400 10px/1 var(--sans); color: var(--fog); }
.small-print { font-size: 13px !important; line-height: 1.6; color: var(--fog) !important; }

/* Appel à l'action en fin d'article */
.cta { margin-top: 96px; padding: 48px 44px; background: #141516; border: 1px solid rgba(255,255,255,.07); border-radius: 24px; }
.cta .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .16em; color: var(--fog); margin-bottom: 18px; }
.cta .kicker::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--fley); }
.cta h2 { margin-bottom: 12px !important; }
.cta > p:not(.kicker) { max-width: 540px; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
@media (max-width: 600px) { .cta { padding: 32px 22px; margin-top: 72px; } .cta-actions .btn-primary { width: 100%; justify-content: center; } }

/* Page prise de rendez-vous */
.rdv-page { background: var(--abyss); }
.rdv-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.rdv-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.rdv-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,10,11,.35), var(--abyss) 80%); }
.rdv { max-width: var(--max); margin: 0 auto; padding: 136px var(--gutter) 96px; display: grid; gap: 28px; }
.rdv h1 { font: 370 clamp(38px, 5.6vw, 64px)/1.02 var(--serif); letter-spacing: -.03em; color: var(--pure); margin: 0 0 18px; text-wrap: balance; }
.rdv h1 .v { display: block; color: var(--fog); }
.rdv-sub { font: 300 18px/1.6 var(--sans); color: var(--ash); max-width: 460px; }
.rdv-cal { padding: 6px; min-height: 700px; overflow: hidden; background: #141516; border: 1px solid rgba(255,255,255,.07); border-radius: 20px; }
.rdv-cal .calendly-inline-widget { min-width: 280px; height: 700px; border-radius: 16px; overflow: hidden; }
.rdv-done { padding: 56px 28px; text-align: center; }
.rdv-done h2 { font: 370 40px/1.05 var(--serif); color: var(--pure); margin-bottom: 14px; }
.rdv-done p { max-width: 440px; margin: 0 auto 28px; }
.rdv-fallback { padding: 40px; text-align: center; }
@media (min-width: 960px) {
  .rdv { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; padding-top: 168px; }
  .rdv-intro { position: sticky; top: 140px; }
}
@media (max-width: 640px) { .rdv { padding-top: 112px; } .rdv-cal { padding: 0; border-radius: 16px; } .rdv-cal .calendly-inline-widget { height: 1000px; } }

/* Tableau comparatif (plusieurs colonnes) */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0 24px; }
.kpi.grid { min-width: 640px; margin: 0; font-size: 14px; }
.kpi.grid td { text-align: left; font-weight: 300; color: var(--ash); padding: 14px 12px; vertical-align: top; }
.kpi.grid th { padding: 14px 12px 14px 0; color: var(--cloud); font-weight: 400; vertical-align: top; width: 22%; }
.kpi.grid tr:first-child td { font: 500 10px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fog); }
.kpi.grid tr:first-child td:nth-child(2), .kpi.grid td:nth-child(2) { color: var(--pure); }
.kpi.grid tr:first-child td:nth-child(2) { color: var(--pure); }
.kpi.months td { width: auto; }
