/* Solos — tech sobre et premium. Fond sombre, une seule couleur d'accent. */
:root {
  --bg: #0b0d12;
  --bg-2: #11141b;
  --surface: #151923;
  --line: #232937;
  --ink: #eef1f6;
  --ink-2: #9aa3b5;
  --ink-3: #6b7385;
  --accent: #8b9cff;
  --accent-ink: #0b0d12;
  --accent-rgb: 139, 156, 255;
  --accent-hover: #a3b1ff;
  --accent-soft: rgba(var(--accent-rgb), .12);
  --ok: #5fd3a0;
  --r: 16px;
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
}
/* Solos Agency : même famille, couleur d'accent propre */
body.agency { --accent: #5ee0a8; --accent-rgb: 94, 224, 168; --accent-hover: #86ebc0; }
.entity-ia { --e: #8b9cff; }
.entity-agency { --e: #5ee0a8; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 20px; }

/* Header */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(11, 13, 18, .8); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-weight: 700; font-size: 20px; letter-spacing: -.03em; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.logo i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--ink-2); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* Sélecteur d'entité, tout en haut */
.entity-bar { border-bottom: 1px solid var(--line); background: var(--bg); }
.entity-bar .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; height: auto; padding-inline: 0; }
.entity { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 16px; text-decoration: none; color: var(--ink-3); font-size: 14px; border-bottom: 2px solid transparent; transition: color .15s, background .15s; min-width: 0; }
.entity:hover { color: var(--ink); background: var(--bg-2); }
.entity i { width: 8px; height: 8px; border-radius: 50%; background: var(--e); opacity: .5; flex: none; }
.entity b { font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.entity span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.entity[aria-current="page"], .entity.is-active { color: var(--ink); border-bottom-color: var(--e); background: var(--bg-2); }
.entity[aria-current="page"] i, .entity.is-active i { opacity: 1; box-shadow: 0 0 10px var(--e); }
@media (max-width: 560px) { .entity span { display: none; } .entity { padding-block: 10px; } }

/* Bandeau de renvoi vers l'autre entité */
.cross { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); text-decoration: none; transition: border-color .15s; }
.cross:hover { border-color: var(--ink-3); }
.cross p { margin: 4px 0 0; color: var(--ink-2); }
.cross .go { font-weight: 600; white-space: nowrap; color: var(--e); }

/* Bloc tarif Agency */
.deal { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 860px) { .deal { grid-template-columns: 1fr; } }
.deal .plus { color: var(--accent); }
.big-price { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.big-price .price { font-size: clamp(40px, 6vw, 56px); }
.kpi-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 8px 0; }
@media (max-width: 520px) { .kpi-row { grid-template-columns: 1fr; } }
.kpi-row div { background: var(--bg-2); padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.kpi-row b { font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: var(--accent); }
.kpi-row span { font-size: 13px; color: var(--ink-2); }
.calc { display: flex; flex-direction: column; gap: 14px; }
.calc label { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--ink-2); }
.calc output { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.calc input[type=range] { width: 100%; accent-color: var(--accent); }
.calc .total { border-top: 1px solid var(--line); padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.calc .total b { font-size: 32px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc .unit { font-size: 14px; color: var(--ink-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink) !important; transition: transform .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { border-color: var(--ink-3); transform: translateY(-1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink) !important; }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.sm { padding: 8px 16px; font-size: 14px; }

/* Typography */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
h1, h2, h3 { letter-spacing: -.03em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 700; }
h1 em, h2 em { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -.01em; }
h2 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 38em; }
.muted { color: var(--ink-2); }

section { padding-block: clamp(72px, 10vw, 120px); }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; max-width: 760px; }

/* Hero */
.hero { padding-top: clamp(56px, 9vw, 110px); padding-bottom: clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 640px; background: radial-gradient(ellipse at 60% 40%, rgba(var(--accent-rgb), .18), transparent 60%); pointer-events: none; }
.hero .wrap { position: relative; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { max-width: 14em; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 10px; width: fit-content; background: var(--bg-2); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 24px; }
.stat { background: var(--bg-2); padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.stat b { font-size: 34px; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--ink-2); }

/* Logos */
.logos { padding-block: 40px; border-block: 1px solid var(--line); }
.logos p { text-align: center; font-size: 13px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; margin: 0 0 20px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.logo-row span { font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: var(--ink-3); white-space: nowrap; }
.logo-row span.big { color: var(--ink-2); }
.logo-row small { font-weight: 500; font-size: 12px; margin-left: 6px; }

/* Cards */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card p { margin: 0; color: var(--ink-2); }
.num-badge { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 15px; }

/* Why / comparison */
.versus { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.versus .card.me { border-color: rgba(var(--accent-rgb), .45); background: linear-gradient(180deg, rgba(var(--accent-rgb), .08), var(--surface) 60%); }
.versus ul { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; }
.versus li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--ink-2); }
.versus li::before { content: "–"; color: var(--ink-3); }
.versus .me li { color: var(--ink); }
.versus .me li::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* Pricing */
.pricing { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
@media (max-width: 1080px) { .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 620px) { .pricing { grid-template-columns: 1fr; } }
.price-card { position: relative; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 60px -20px rgba(var(--accent-rgb), .35); }
.tag { position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.price { font-size: 38px; font-weight: 700; letter-spacing: -.04em; line-height: 1; margin-top: 4px; }
.price small { font-size: 15px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.price .from { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; margin-bottom: 6px; }
.price-card ul { list-style: none; padding: 0; margin: 8px 0 16px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ink-2); flex: 1; }
.price-card li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.price-card li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.price-card .btn { justify-content: center; }

/* Method */
@media (min-width: 1080px) { .steps.five { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 620px) and (max-width: 1079px) {
  .steps.five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .steps.five > * { grid-column: span 2; }
  .steps.five > :nth-child(n+4) { grid-column: span 3; }
}
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: s; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--r); background: linear-gradient(135deg, #1c2233, #121621); border: 1px solid var(--line); display: grid; place-items: center; font-size: 72px; font-weight: 700; letter-spacing: -.04em; color: var(--ink-3); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-body { display: flex; flex-direction: column; gap: 20px; }
.about-body p { margin: 0; color: var(--ink-2); }
.about-body p strong { color: var(--ink); font-weight: 600; }
.timeline { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 8px; }
.tl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.tl b { font-weight: 600; }
.tl span { color: var(--ink-2); font-size: 15px; }
.tl em { font-style: normal; color: var(--ink-3); font-size: 14px; white-space: nowrap; }
.teach { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.teach .card { padding: 20px; gap: 6px; }
.teach .card b { font-size: 16px; }

/* Blog cards */
.posts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.post-card { text-decoration: none; transition: border-color .15s, transform .15s; }
.post-card:hover { border-color: var(--ink-3); transform: translateY(-2px); }
.post-card .meta { font-size: 13px; color: var(--ink-3); }
.post-card h3 { line-height: 1.25; }
.post-card .more { color: var(--accent); font-weight: 600; font-size: 15px; margin-top: auto; }
.post-card.soon { opacity: .6; pointer-events: none; }

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 20px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 12px 0 0; }

/* Contact / Calendly */
.cta-block { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .cta-block { grid-template-columns: 1fr; } }
.cta-block .points { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); }
.cta-block .points li::before { content: "→ "; color: var(--accent); }
.calendly-inline-widget { min-width: 280px; height: 700px; border-radius: 12px; overflow: hidden; background: #fff; }

/* Comparatif */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 16px 20px; border-top: 1px solid var(--line); vertical-align: top; }
.compare thead th { border-top: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 600; }
.compare tbody th { font-weight: 600; color: var(--ink); width: 28%; }
.compare td { color: var(--ink-2); }
.compare .me { background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.compare thead .me { color: var(--accent); }

/* Pour qui */
.fit { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1079px) { .fit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 619px) { .fit { grid-template-columns: 1fr; } }
.fit .card { padding: 22px; }
.fit .card p { color: var(--ink); }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 40px; color: var(--ink-3); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { text-decoration: none; color: var(--ink-2); }
footer a:hover { color: var(--ink); }

/* Article */
.article { max-width: 720px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) 20px; }
.article .back { font-size: 15px; color: var(--ink-2); text-decoration: none; }
.article .back:hover { color: var(--ink); }
.article header { display: flex; flex-direction: column; gap: 16px; margin: 24px 0 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.article h1 { font-size: clamp(34px, 5vw, 50px); }
.article .meta { color: var(--ink-3); font-size: 14px; }
.prose { font-size: 18px; line-height: 1.75; }
.prose h2 { font-size: 28px; margin: 48px 0 16px; }
.prose h3 { font-size: 21px; margin: 32px 0 12px; }
.prose p, .prose ul, .prose ol { margin: 0 0 20px; color: #cfd5e1; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent); }
.prose code { font-size: .88em; background: var(--surface); border: 1px solid var(--line); padding: 2px 6px; border-radius: 6px; }
.prose pre { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; overflow-x: auto; font-size: 15px; line-height: 1.6; color: #cfd5e1; white-space: pre-wrap; }
.prose pre code { background: none; border: 0; padding: 0; }
.callout { background: var(--accent-soft); border: 1px solid rgba(var(--accent-rgb), .3); border-radius: 12px; padding: 18px 20px; margin: 0 0 24px; }
.callout p:last-child { margin: 0; }
.article-cta { margin-top: 56px; }
.article-cta .card { padding: 32px; gap: 16px; }
.article-cta .btn { width: fit-content; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
