/* Phareia v2 — univers Héhocom.
   Concept : la nuit et le faisceau. Sections noires où la marque s'affirme (titres Montserrat en capitales),
   sections claires et aérées pour lire et comparer, maquettes d'interface monochromes rehaussées de bleu acier. */
@font-face { font-family: 'Montserrat'; src: url('/assets/fonts/montserrat-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --night: #05080e;
  --ink: #0e1622;
  --ink-2: #16212f;
  --line-dark: rgba(157, 186, 211, .14);
  --steel: #628cae;
  --steel-2: #4f7799;
  --ice: #b7d7ee;
  --ice-2: #9dbad3;
  --mist: #eef3f8;
  --mist-2: #e2e9f1;
  --white: #ffffff;
  --text: #0b1220;
  --muted: #5b6b7e;
  --faint: #8d9aab;
  --border: #dde5ee;
  --up: #2f8a5f;
  --up-soft: #e4f3eb;
  --down: #b9473d;
  --down-soft: #f8e6e4;
  --font: 'Montserrat', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --radius: 18px;
  --wrap: 1200px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body { background: var(--white); color: var(--text); font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--steel-2); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; text-wrap: balance; font-weight: 800; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); text-transform: uppercase; letter-spacing: -0.02em; line-height: .98; }
h1 em, h2 em { font-style: normal; color: var(--steel); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { display: inline-block; font: 600 .74rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: 18px; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 640px; line-height: 1.6; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* Boutons : pilules, capitales espacées, comme chez Héhocom */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font: 700 .78rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn::after { content: '→'; font-size: 1rem; letter-spacing: 0; transition: transform .15s; }
.btn:hover::after { transform: translateX(3px); }
.btn.no-arrow::after { content: none; }
.btn-beam { background: var(--steel); color: var(--white); }
.btn-beam:hover { background: var(--steel-2); }
.btn-dark { background: var(--night); color: var(--white); }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.btn-line { border-color: rgba(255, 255, 255, .28); color: var(--white); }
.btn-line:hover { border-color: var(--white); }
.btn-white { background: var(--white); color: var(--night); }
.btn-white:hover { background: var(--ice); }
.btn-sm { padding: 10px 16px; font-size: .7rem; }
.btn-sm::after { content: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.center .actions { justify-content: center; }

/* En-tête */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(5, 8, 14, .985); backdrop-filter: saturate(1.3) blur(14px); border-bottom: 1px solid var(--line-dark); color: var(--white); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; color: var(--white); }
.brand:hover { text-decoration: none; }
.lockup { display: inline-flex; align-items: center; gap: 10px; }
.wordmark { font: 800 1.38rem/1 var(--font); letter-spacing: -0.04em; color: currentColor; }
.wordmark i { font-style: normal; color: var(--steel); }
.menu { display: flex; align-items: center; gap: 2px; margin: 0 auto 0 16px; padding: 0; list-style: none; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 999px; color: #d5dfea; font: 500 .9rem/1 var(--font); background: none; border: 0; cursor: pointer; }
.menu > li > a:hover, .menu > li > button:hover, .menu > li > button[aria-expanded='true'] { color: var(--white); background: rgba(255, 255, 255, .06); text-decoration: none; }
.menu > li > a[aria-current='page'] { color: var(--white); }
.chev { width: 9px; height: 9px; opacity: .7; transition: transform .15s; }
button[aria-expanded='true'] .chev { transform: rotate(180deg); }
.drop { position: absolute; top: calc(100% + 10px); left: -8px; min-width: 300px; background: var(--white); color: var(--text); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 24px 60px rgba(5, 8, 14, .28); padding: 8px; display: none; }
.drop.wide { min-width: 620px; grid-template-columns: 1fr 1fr; gap: 0 8px; }
.menu > li:hover > .drop, .menu > li:focus-within > .drop, .drop.open { display: block; }
.menu > li:hover > .drop.wide, .menu > li:focus-within > .drop.wide, .drop.wide.open { display: grid; }
.drop-title { font: 600 .68rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); padding: 12px 12px 6px; }
.drop a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--text); }
.drop a:hover { background: var(--mist); text-decoration: none; }
.drop a strong { display: block; font-size: .9rem; font-weight: 700; }
.drop a span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.drop .promo { grid-column: 1 / -1; background: var(--night); color: var(--white); margin-top: 6px; }
.drop .promo span { color: var(--ice-2); }
.drop .promo:hover { background: var(--ink-2); }
.top-cta { display: flex; align-items: center; gap: 8px; }
.top-cta .login { color: #d5dfea; font-weight: 600; font-size: .88rem; padding: 8px 10px; }
.top-cta .login:hover { color: var(--white); text-decoration: none; }
.top .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .25); }
.top .btn-ghost:hover { border-color: var(--white); }
.burger { display: none; margin-left: auto; background: none; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; width: 44px; height: 44px; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 16px; height: 2px; background: var(--white); margin: 0 auto; position: relative; content: ''; border-radius: 2px; }
.burger span::before { position: absolute; top: -5px; }
.burger span::after { position: absolute; top: 5px; }
@media (max-width: 1080px) {
  .burger { display: block; }
  .menu, .top-cta { display: none; }
  .top.open .menu { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 72px; left: 0; right: 0; background: var(--night); border-bottom: 1px solid var(--line-dark); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); margin: 0; max-height: calc(100vh - 72px); overflow-y: auto; }
  .top.open .menu > li > a, .top.open .menu > li > button { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 1rem; border-radius: 10px; }
  .top.open .drop, .top.open .drop.wide { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px; min-width: 0; display: none; grid-template-columns: 1fr; }
  .top.open .drop a { color: var(--white); }
  .top.open .drop a span { color: var(--ice-2); }
  .top.open .drop a:hover { background: rgba(255, 255, 255, .06); }
  .top.open .drop-title { color: var(--ice-2); }
  .top.open .drop.open { display: block; }
  .top.open .menu > li:hover > .drop:not(.open) { display: none; }
  .top.open .mobile-cta { display: flex; }
}
.mobile-cta { display: none; gap: 10px; padding: 14px 8px 0; flex-wrap: wrap; }
.mobile-cta .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .25); }

/* Sections */
section { padding-block: clamp(64px, 9vw, 120px); }
.section-alt { background: var(--mist); }
.section-night, .hero { background: var(--night); color: #d5dfea; position: relative; overflow: hidden; }
.section-night::before, .hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 10%, transparent 75%); opacity: .55; }
.section-night::after, .hero::after { content: ''; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 90%; pointer-events: none; background: radial-gradient(closest-side, rgba(98, 140, 174, .28), transparent); }
.section-night > .wrap, .hero > .wrap { position: relative; z-index: 1; }
.section-night h1, .section-night h2, .section-night h3, .hero h1 { color: var(--white); }
.section-night .lead, .section-night .muted, .hero .lead { color: #a9b8c9; }
.section-night .eyebrow, .hero .eyebrow { color: var(--ice-2); }
.section-night a:not(.btn) { color: var(--ice); }
.head { margin-bottom: 48px; max-width: 760px; }
.head.center { margin-left: auto; margin-right: auto; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }
.head-row .head { margin: 0; }

/* Héros */
.hero { padding-block: clamp(64px, 9vw, 120px) clamp(56px, 8vw, 104px); }
.hero .grid-2 { align-items: center; grid-template-columns: 1.05fr 1fr; }
.hero-beam { display: none; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 5rem); }
.hero .lead { margin-top: 22px; }
.trust-line { margin-top: 28px; font: 500 .78rem/1.5 var(--mono); color: #8296ab; letter-spacing: .04em; }
.engines { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 64px; align-items: center; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.engines .label { font: 600 .7rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #6f8399; margin-right: 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: #c7d3e0; }
.chip i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; background: var(--steel) !important; }
.chip-light { color: var(--text); }
.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); max-width: 18ch; }
.crumbs { font: 500 .74rem/1.4 var(--mono); letter-spacing: .06em; color: #6f8399; margin-bottom: 22px; text-transform: uppercase; }
.crumbs a { color: var(--ice-2); }

/* Grilles et cartes */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
@media (max-width: 900px) { .grid-2, .hero .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
@media (min-width: 640px) and (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
.card { background: var(--mist); border: 1px solid transparent; border-radius: var(--radius); padding: 28px; }
.section-alt .card { background: var(--white); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
a.card { color: inherit; display: block; transition: border-color .15s, background .15s; }
a.card:hover { text-decoration: none; border-color: var(--steel); }
.card .more { display: inline-block; margin-top: 14px; font: 700 .72rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.card .more::after { content: ' →'; }
.icon { display: block; width: 26px; height: 26px; color: var(--steel); margin-bottom: 18px; }
.icon svg { width: 26px; height: 26px; }
.section-night .card { background: var(--ink); border-color: var(--line-dark); color: #d5dfea; }
.section-night .card p { color: #a9b8c9; }
.section-night .icon { color: var(--ice-2); }

/* Bento de fonctionnalités */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento > * { min-width: 0; }
.bento .card { display: flex; flex-direction: column; padding: 28px 28px 0; overflow: hidden; }
.bento .card .viz { margin-top: auto; padding-top: 24px; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .span-2, .span-3, .span-4 { grid-column: auto; } }

/* Étapes */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 88px); align-items: center; padding-block: 40px; }
.feature + .feature { border-top: 1px solid var(--border); }
.section-night .feature + .feature { border-top-color: var(--line-dark); }
.feature.flip > :first-child { order: 2; }
.feature > * { min-width: 0; }
@media (max-width: 900px) { .feature, .feature.flip { grid-template-columns: 1fr; } .feature.flip > :first-child { order: 0; } }
.step-num { display: block; font: 600 .74rem/1 var(--mono); letter-spacing: .14em; color: var(--steel); margin-bottom: 18px; }
.step-num::before { content: 'Étape '; }
.feature h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 26px; }
.checks li::before { content: ''; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--steel); }

/* Maquettes d'interface */
.mock { background: var(--white); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 1px 0 rgba(5, 8, 14, .04), 0 30px 70px -20px rgba(5, 8, 14, .28); overflow: hidden; color: var(--text); font-size: 13px; text-align: left; }
.hero .mock, .section-night .mock { box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .7); border-color: rgba(157, 186, 211, .25); }
.mock-bar { display: flex; gap: 6px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--border); background: #f7f9fc; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d4dde7; }
.mock-bar b { margin-left: 10px; font: 500 11px/1 var(--mono); color: var(--muted); }
.mock-body { padding: 16px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.kpi { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.kpi small { display: block; color: var(--muted); font-size: 10.5px; font-weight: 500; }
.kpi strong { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kpi .up { color: var(--up); font-size: 10.5px; font-weight: 700; margin-left: 4px; }
.kpi .down { color: var(--down); font-size: 10.5px; font-weight: 700; margin-left: 4px; }
.mock-chart { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px 4px; }
.mock-chart svg { display: block; width: 100%; height: auto; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 10.5px; color: var(--muted); margin-bottom: 4px; }
.legend i { display: inline-block; width: 10px; height: 2px; margin-right: 5px; vertical-align: middle; }
.rows { display: grid; gap: 6px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; border: 1px solid var(--border); border-radius: 8px; padding: 9px 12px; }
.row .bar { height: 4px; background: var(--mist-2); border-radius: 4px; margin-top: 7px; overflow: hidden; }
.row .bar span { display: block; height: 100%; background: var(--steel); border-radius: 4px; }
.tag { display: inline-block; font: 600 10.5px/1.5 var(--font); padding: 2px 8px; border-radius: 999px; background: var(--mist); color: var(--muted); white-space: nowrap; }
.tag.up { background: var(--up-soft); color: var(--up); }
.tag.beam { background: #e3edf6; color: var(--steel-2); }
.tag.down { background: var(--down-soft); color: var(--down); }
.answer { border: 1px solid var(--border); border-radius: 10px; padding: 12px; background: #fafcfe; line-height: 1.55; }
.answer mark { background: #e3edf6; color: inherit; padding: 0 3px; border-radius: 3px; font-weight: 700; }
.answer .src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.answer .src span { font: 500 10.5px/1.6 var(--mono); border: 1px solid var(--border); border-radius: 999px; padding: 1px 8px; color: var(--muted); background: #fff; }

/* Console de prompts (héros) */
.console { background: var(--ink); border: 1px solid rgba(157, 186, 211, .2); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8); font-size: 13px; }
.console-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line-dark); font: 500 11px/1 var(--mono); color: #7f93a8; }
.console-bar b { color: var(--ice); font-weight: 600; }
.console-body { padding: 18px 16px; display: grid; gap: 10px; }
.q { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-dark); color: #dbe5ef; }
.q .n { font: 600 10.5px/1 var(--mono); color: #6f8399; }
.q .res { font: 700 10.5px/1 var(--font); letter-spacing: .04em; padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.q .res.ok { background: rgba(98, 140, 174, .22); color: var(--ice); }
.q .res.ko { background: rgba(185, 71, 61, .2); color: #f0b4ad; }
.q.live { border-color: rgba(98, 140, 174, .6); background: rgba(98, 140, 174, .08); }
.q.live .res { background: transparent; color: var(--ice-2); border: 1px dashed rgba(157, 186, 211, .4); }
.console-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.console-foot div { padding: 14px 16px; border-right: 1px solid var(--line-dark); }
.console-foot div:last-child { border-right: 0; }
.console-foot small { display: block; font: 500 10px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #6f8399; }
.console-foot strong { display: block; color: var(--white); font-size: 22px; font-weight: 800; letter-spacing: -0.03em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.console-foot em { font-style: normal; color: #7fc3a0; font-size: 11px; font-weight: 700; margin-left: 4px; }
.scan { position: relative; overflow: hidden; }
.scan::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(183, 215, 238, .18), transparent); transform: translateX(-100%); animation: scan 3.2s ease-in-out infinite; }
@keyframes scan { 60%, 100% { transform: translateX(100%); } }

/* Chiffres */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--border); }
.stat { padding: 28px 24px 0 0; }
.stat strong { display: block; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -0.04em; color: var(--text); line-height: 1; font-variant-numeric: tabular-nums; }
.section-night .stats { border-top-color: var(--line-dark); }
.section-night .stat strong { color: var(--white); }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: .92rem; }
.section-night .stat span { color: #a9b8c9; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Tarifs */
.toggle { display: inline-flex; background: var(--mist); border-radius: 999px; padding: 4px; }
.toggle button { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font: 700 .74rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.toggle button[aria-pressed='true'] { background: var(--night); color: var(--white); }
.toggle .save { color: var(--steel); margin-left: 6px; }
.toggle button[aria-pressed='true'] .save { color: var(--ice); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 40px; border: 1px solid var(--border); border-radius: 22px; overflow: hidden; }
@media (max-width: 1080px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; position: relative; background: var(--white); border-radius: 0; padding: 32px 28px; border-right: 1px solid var(--border); }
.plan:last-child { border-right: 0; }
@media (max-width: 1080px) { .plan { border-bottom: 1px solid var(--border); } }
.plan.featured { background: var(--night); color: #d5dfea; }
.plan.featured h2 { color: var(--white); }
.plan.featured .muted, .plan.featured .per { color: #a9b8c9; }
.plan.featured .price { color: var(--white); }
.plan.featured .checks li::before { background: var(--ice-2); }
.plan .ribbon { position: absolute; top: 28px; right: 22px; background: var(--steel); color: var(--white); font: 700 .64rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; margin-bottom: 14px; }
.plan h2 { font-size: 1.05rem !important; text-transform: uppercase; letter-spacing: .08em !important; }
.plan .price { font-size: 2.9rem; font-weight: 800; letter-spacing: -0.04em; margin: 18px 0 0; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: .82rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.plan.featured .price small { color: #a9b8c9; }
.plan .per { font-size: .8rem; color: var(--muted); min-height: 2.8em; margin-top: 10px; }
.plan .checks { flex: 1; align-content: start; font-size: .9rem; margin-top: 18px; gap: 10px; }
.plan .btn { width: 100%; margin-top: 24px; padding-inline: 14px; font-size: .72rem; }
.plan .btn + .btn { margin-top: 8px; }
.plan.featured .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .25); }
.compare { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--white); }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: var(--night); color: var(--white); font: 700 .74rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase; }
.compare tbody tr:hover { background: var(--mist); }
.compare .grp td { background: var(--mist); font: 600 .68rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel-2); padding-top: 18px; }
.yes { color: var(--steel-2); font-weight: 800; }
.no { color: #c6d0db; }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 18px; }

/* FAQ */
.faq { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; font-weight: 700; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--steel); border-bottom: 2px solid var(--steel); transform: rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 0 24px; color: var(--muted); max-width: 720px; }
.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.faq-cats a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border); color: var(--text); font: 700 .72rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; }
.faq-cats a:hover { border-color: var(--text); text-decoration: none; }
.faq h3 { margin: 48px 0 0; padding-bottom: 14px; font: 600 .74rem/1 var(--mono); letter-spacing: .14em; color: var(--steel); text-transform: uppercase; }
.faq-split { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 6vw, 88px); align-items: start; }
.faq-split .faq { margin: 0; max-width: none; }
@media (max-width: 900px) { .faq-split { grid-template-columns: 1fr; } }

/* Bandeau final */
.cta-band { border-radius: 26px; padding: clamp(40px, 6vw, 72px); background: var(--night); color: var(--white); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 90% at 100% 0%, rgba(98, 140, 174, .38), transparent 70%), linear-gradient(160deg, transparent 55%, rgba(183, 215, 238, .06)); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); text-transform: uppercase; font-size: clamp(1.7rem, 3.4vw, 2.8rem); letter-spacing: -0.02em; }
.cta-band p { color: #a9b8c9; margin: 0; }
.cta-band .actions { justify-content: flex-end; margin: 0; }
.cta-band .btn-beam { background: var(--white); color: var(--night); }
.cta-band .btn-beam:hover { background: var(--ice); }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* Signature agence */
.agency { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: 28px 32px; border: 1px solid var(--border); border-radius: 20px; }
.agency .hc { font: 800 1.5rem/1 var(--font); letter-spacing: -0.04em; }
.agency .hc i { font-style: normal; color: var(--steel); }
@media (max-width: 760px) { .agency { grid-template-columns: 1fr; } }

/* Formulaires */
form.form { display: grid; gap: 16px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form .two { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-size: .82rem; font-weight: 700; }
.form input, .form select, .form textarea { font: 400 1rem/1.4 var(--font); padding: 13px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--white); color: var(--text); width: 100%; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--steel); outline-offset: 0; border-color: var(--steel); }
.form .consent { display: block; position: relative; padding-left: 26px; font-weight: 400; font-size: .82rem; line-height: 1.5; color: var(--muted); }
.form .consent input { position: absolute; left: 0; top: 2px; width: auto; margin: 0; accent-color: var(--steel); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.newsletter { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter input { flex: 1; min-width: 200px; font: 400 .95rem/1 var(--font); padding: 13px 18px; border-radius: 999px; border: 1px solid rgba(157, 186, 211, .25); background: rgba(255, 255, 255, .04); color: var(--white); }
.newsletter input::placeholder { color: #7f93a8; }

/* Articles */
.prose { max-width: 720px; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--steel); font-weight: 600; font-size: 1.1rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .93rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.prose code { font: .9em var(--mono); background: var(--mist); padding: 1px 6px; border-radius: 5px; }
.meta-line { display: flex; flex-wrap: wrap; gap: 18px; font: 500 .76rem/1.4 var(--mono); color: #8296ab; margin-top: 18px; letter-spacing: .04em; }
.post-card { padding: 0 !important; overflow: hidden; background: var(--white) !important; border: 1px solid var(--border) !important; }
.post-card .cover { height: 160px; margin: 0 0 22px; background: var(--night); position: relative; overflow: hidden; }
.post-card .cover::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 28px 28px; }
.post-card .cover::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: conic-gradient(from 250deg at 0% 100%, transparent 0deg, rgba(98, 140, 174, .5) 12deg, transparent 26deg); }
.post-card .cover span { position: absolute; left: 22px; bottom: 18px; z-index: 1; }
.post-card .cover .tag.beam { background: var(--white); color: var(--night); }
.post-card h3, .post-card p, .post-card > span { padding: 0 24px; display: block; }
.post-card > span { padding-bottom: 24px; }

/* Pied de page */
.foot { background: var(--night); color: #a9b8c9; padding-block: 80px 32px; font-size: .9rem; }
.foot a { color: #d5dfea; }
.foot .cols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 900px) { .foot .cols { grid-template-columns: 1fr 1fr; } .foot .cols > :first-child { grid-column: 1 / -1; } }
.foot h4 { color: var(--white); font: 600 .7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot .brand { color: var(--white); }
.foot .bottom { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; border-top: 1px solid var(--line-dark); margin-top: 56px; padding-top: 24px; font-size: .82rem; }
.foot .bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-mega { font: 800 clamp(3rem, 14vw, 12rem)/.85 var(--font); letter-spacing: -0.06em; color: var(--ink-2); margin: 64px 0 -8px; user-select: none; }
.foot-mega i { font-style: normal; color: var(--steel-2); }

/* Divers */
.pill-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pill-nav a { padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(157, 186, 211, .25); color: #d5dfea !important; font: 700 .7rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase; }
.pill-nav a:hover { border-color: var(--white); text-decoration: none; }
.anchor { scroll-margin-top: 96px; }
.quote-box { font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; }
.notice { background: var(--mist); border-radius: 12px; padding: 16px 18px; font-size: .92rem; }
.timeline { display: grid; gap: 22px; }
.timeline > div { position: relative; padding-left: 64px; counter-increment: t; }
.timeline { counter-reset: t; }
.timeline > div::before { content: '0' counter(t); position: absolute; left: 0; top: 2px; font: 600 .8rem/1 var(--mono); color: var(--steel); letter-spacing: .1em; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Accueil v2 : étapes en colonnes, liste des solutions */
.timeline.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--border); }
.timeline.cols-3 > div { padding: 56px 32px 0 0; }
.timeline.cols-3 > div::before { top: 24px; }
.timeline.cols-3 h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
@media (max-width: 900px) { .timeline.cols-3 { grid-template-columns: 1fr; } .timeline.cols-3 > div { padding-right: 0; } }
.sol-list { gap: 0; border-top: 1px solid var(--line-dark); }
.sol { display: block; padding: 32px 28px 36px 0; border-bottom: 1px solid var(--line-dark); color: #a9b8c9; text-decoration: none; transition: color .2s; }
.sol span { font: 600 .75rem/1 var(--mono); color: var(--steel-2); letter-spacing: .1em; }
.sol h3 { color: var(--white); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; margin: 14px 0 8px; display: flex; justify-content: space-between; }
.sol h3::after { content: '→'; color: var(--steel); transition: transform .2s; }
.sol:hover h3::after { transform: translateX(4px); }
.sol p { margin: 0; font-size: .95rem; }
.cta-band h2 em, .section-night h2 em { font-style: normal; color: var(--ice-2); }
@media (max-width: 560px) { .q { grid-template-columns: 1fr auto; row-gap: 6px; } .q .n { grid-column: 1 / -1; } }
.form .two > * { min-width: 0; }
.form input, .form select, .form textarea { max-width: 100%; }
.prose code { overflow-wrap: anywhere; }
@media (max-width: 560px) { .btn { white-space: normal; text-align: center; line-height: 1.3; } }
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
.card a[href^="mailto:"] { overflow-wrap: anywhere; }
.form .two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 620px) { .form .two { grid-template-columns: minmax(0, 1fr); } }
.form select { width: 100%; }
@media (min-width: 901px) { .grid-2.g-wide-left { grid-template-columns: 1.3fr 1fr; } .grid-2.g-wide-right { grid-template-columns: 1fr 1.2fr; } }
.plan .price small { display: block; margin-top: 10px; }
.plan .price { font-size: clamp(2.3rem, 3.4vw, 2.9rem); white-space: nowrap; }
