/* Nextflow public site — components for the home and sector pages (on top of metiers.css + nextflow-da.css) */
.brand.nf img { width: 146px; height: auto; opacity: 1; }
.top nav a.cur { color: var(--text); }
.nf-hero { padding: 88px 0 72px; border-top: 0; }
.nf-hero .grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.nf-hero h1 { margin: 14px 0 20px; }
.nf-hero .lead { margin-bottom: 28px; }
.nf-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 13px; color: var(--muted); }
.nf-checks span::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #22C55E; margin-right: 8px; vertical-align: middle; }

/* orbit of agents */
.nf-orbit { position: relative; aspect-ratio: 1; max-width: 460px; margin: 0 auto; width: 100%; }
.nf-orbit::before { content: ''; position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(167,139,250,.28); }
.nf-orbit::after { content: ''; position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(circle, rgba(168,85,247,.35), rgba(99,102,241,.08) 55%, rgba(0,0,0,0) 72%); }
.nf-core { position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; transform: translate(-50%, -50%); border-radius: 30px; background: #151519; border: 1px solid rgba(167,139,250,.35); display: grid; place-items: center; z-index: 2; box-shadow: 0 20px 60px -20px rgba(139,92,246,.7); }
.nf-core img { width: 64px; height: auto; }
.nf-sat { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; background: rgba(21,21,25,.92); border: 1px solid #29292F; border-radius: 16px; padding: 8px 14px 8px 8px; transform: translate(-50%, -50%); white-space: nowrap; box-shadow: 0 12px 30px -14px rgba(0,0,0,.8); }
.nf-sat b { display: block; font-size: 13px; color: #fff; }
.nf-sat small { display: block; font-size: 11px; color: var(--muted); }
.nf-tile { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.nf-tile.lg { width: 48px; height: 48px; border-radius: 14px; }

/* team */
.nf-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
.nf-agent { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); border: 1px solid #29292F; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.nf-agent .k { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nf-agent p { color: var(--soft); font-size: 15px; }
.nf-agent.lea { border-color: rgba(167,139,250,.45); background: linear-gradient(180deg, rgba(139,92,246,.14), rgba(99,102,241,.03)); }
.nf-agent a.go { margin-top: auto; font-size: 14px; font-weight: 600; text-decoration: none; }

/* steps */
.nf-steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 44px; counter-reset: s; }
.nf-step { border: 1px solid #29292F; border-radius: 20px; padding: 22px; background: #121215; display: flex; flex-direction: column; gap: 10px; }
.nf-step::before { counter-increment: s; content: counter(s); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; background: var(--nf-grad); }
.nf-step p { color: var(--soft); font-size: 14.5px; }

/* sectors */
.nf-sectors { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin-top: 40px; }
.nf-sector { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid #29292F; border-radius: 16px; background: #121215; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.nf-sector:hover { border-color: rgba(167,139,250,.5); transform: translateY(-1px); }
.nf-sector .nf-tile { background: #1F1F23; color: #C4B5FD; }
.nf-sector b { display: block; font-size: 14px; }
.nf-sector small { display: block; font-size: 11.5px; color: var(--muted); }
.nf-sector.on .nf-tile { background: var(--nf-grad); color: #fff; }

/* badges */
.nf-badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; border: 1px solid #29292F; color: #A1A1AA; }
.nf-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.nf-badge.live { color: #4ADE80; border-color: rgba(34,197,94,.35); background: rgba(34,197,94,.08); }
.nf-badge.soon { color: #C4B5FD; border-color: rgba(167,139,250,.35); background: rgba(139,92,246,.08); }

/* automations list */
.nf-autos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 36px; }
.nf-auto { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid #29292F; border-radius: 16px; background: #121215; }
.nf-auto .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.nf-auto b { font-size: 15px; }
.nf-auto p { font-size: 13.5px; color: var(--muted); }
.nf-auto .side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.nf-auto .nf-pr { font-family: var(--mono); font-size: 12px; color: var(--soft); white-space: nowrap; }
.nf-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.nf-filter button { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid #29292F; background: transparent; color: var(--soft); font: 600 13px/1 'Inter', sans-serif; cursor: pointer; }
.nf-filter button[aria-pressed="true"] { background: #fff; color: #0B0B0D; border-color: #fff; }

/* pricing + cta */
.nf-price { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.nf-price .card { cursor: default; }
.nf-price .card:hover { transform: none; }
.nf-price .v { font-size: 34px; font-weight: 700; letter-spacing: -.03em; }
.nf-price .v small { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.nf-cta { border: 1px solid rgba(167,139,250,.35); border-radius: 28px; padding: 48px; background: radial-gradient(120% 140% at 0% 0%, rgba(139,92,246,.22), rgba(99,102,241,.05) 55%, rgba(0,0,0,0)), #111114; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.nf-cta h2 { margin-bottom: 10px; }
.nf-faq details { border-bottom: 1px solid #222227; padding: 18px 0; }
.nf-faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.nf-faq summary::after { content: '+'; color: #A78BFA; font-weight: 500; }
.nf-faq details[open] summary::after { content: '–'; }
.nf-faq p { color: var(--soft); margin-top: 10px; max-width: 720px; }

/* lead form */
.nf-contact .grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; }
.nf-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nf-form .full { grid-column: 1 / -1; }
.nf-form .field { display: flex; flex-direction: column; gap: 7px; }
.nf-form .field span { font-size: 13px; font-weight: 500; color: var(--soft); }
.nf-form input, .nf-form select, .nf-form textarea { width: 100%; border: 1px solid #29292F; background: #151519; color: #fff; border-radius: 12px; padding: 0 14px; height: 48px; font: 15px 'Inter', sans-serif; }
.nf-form textarea { height: 110px; padding: 12px 14px; resize: vertical; }
.nf-form input:focus, .nf-form select:focus, .nf-form textarea:focus { outline: none; border-color: #6366F1; box-shadow: 0 0 0 3px rgba(99,102,241,.22); }
.nf-form .hp { position: absolute; left: -9999px; }
.nf-form .note { font-size: 12px; color: var(--muted); }
.form-msg { grid-column: 1 / -1; font-size: 14px; min-height: 0; }
.form-msg.ok { color: #4ADE80; } .form-msg.err { color: #F87171; }

/* Léa: agent badge on Léa pages */
.nf-member { display: flex; align-items: center; gap: 18px 24px; flex-wrap: wrap; justify-content: space-between; border: 1px solid rgba(167,139,250,.3); border-radius: 22px; padding: 22px 26px; background: linear-gradient(90deg, rgba(139,92,246,.12), rgba(99,102,241,.03)); }
.nf-member p { color: var(--soft); font-size: 15px; flex: 1 1 340px; }
.nf-member .btn { flex: none; }
.nf-member .tiles { display: flex; gap: 6px; }

@media (max-width: 900px) {
  .nf-hero { padding: 48px 0 40px; }
  .nf-hero .grid, .nf-contact .grid, .nf-cta { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .nf-team, .nf-price { grid-template-columns: minmax(0, 1fr); }
  .nf-steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nf-autos { grid-template-columns: minmax(0, 1fr); }
  .nf-orbit { max-width: 360px; }
  .nf-sat { padding: 5px; border-radius: 14px; } .nf-sat > span:not(.nf-tile) { display: none; }
  .nf-cta { padding: 30px 22px; }
  .nf-form { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) { .nf-steps4 { grid-template-columns: minmax(0, 1fr); } }
/* headers: keep links on one line */
header.nav nav a, header.top nav a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1340px) { header.nav nav { gap: 16px !important; } header.nav nav a:not(.btn) { font-size: 13px; } }
@media (min-width: 901px) and (max-width: 1160px) { header.nav nav a[href="#faq"], header.nav nav a[href="#appli"] { display: none; } }
@media (min-width: 901px) and (max-width: 1060px) { header.nav nav a[href="#tester"] { display: none; } }
/* 8–9 agents around the core: compact chips */
.nf-orbit { max-width: 520px; }
.nf-sat small { display: none; }
.nf-sat { padding: 6px 12px 6px 6px; gap: 8px; }
.nf-sat .nf-tile { width: 30px; height: 30px; border-radius: 9px; }
.nf-sat .nf-tile svg { width: 16px; height: 16px; }
.brand img.lea-m { width: 32px !important; height: 32px !important; opacity: 1 !important; display: block; }
.brand img.lea-m, img.lea-m { border-radius: 9px; object-fit: cover; }
