/* lasiusagent — feuille de style principale */
:root {
  --ink: #0E1A2B;
  --ink-2: #1F2E45;
  --text: #24303F;
  --muted: #5A6878;
  --bg: #F7F6F2;
  --surface: #FFFFFF;
  --line: #E2DFD6;
  --accent: #B4650A;
  --accent-strong: #8F4F06;
  --accent-soft: #F6E9D7;
  --radius: 10px;
  --max: 1120px;
  --font-head: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 34px; }
.brand-name { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; }
.brand-name span { color: var(--accent); font-weight: 500; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: 8px 12px; color: var(--text); text-decoration: none; font-size: .95rem; border-radius: 6px; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--ink); background: var(--bg); }
.menu .btn { margin-left: 8px; color: #fff; }
.menu .btn:hover { color: #fff; background: var(--ink-2); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; cursor: pointer; color: var(--ink); }
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .menu { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--surface); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); }
  .menu.open { display: flex; }
  .menu .btn { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 8px; text-decoration: none; font-weight: 500; border: 1px solid var(--ink); cursor: pointer; font-size: 1rem; font-family: inherit; }
.btn:hover { background: var(--ink-2); color: #fff; }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Sections */
section { padding: 72px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--ink); color: #D9DFE7; }
.section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.section-head { margin-bottom: 40px; }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--accent); }
.hero-visual { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.hero-visual svg { width: 100%; height: auto; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 56px 0; } }

.page-hero { padding: 64px 0 40px; }
.page-hero .lead { margin-top: 8px; }

/* Grids & cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .97rem; }
.card .more { margin-top: auto; font-weight: 500; text-decoration: none; font-size: .95rem; }
.card .more:hover { text-decoration: underline; }
.card-num { font-family: var(--font-head); font-size: .85rem; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.section-alt .card { background: var(--bg); }
.check { list-style: none; padding: 0; margin: 0 0 1em; }
.check li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: .97rem; }
.check li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.format { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding-top: 52px; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; font-family: var(--font-head); font-size: 1.8rem; font-weight: 600; color: var(--accent); }
.step p { color: var(--muted); font-size: .97rem; }
.section-dark .step p { color: #B7C1CE; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Agent list (offres) */
.agent { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.agent:first-of-type { border-top: 0; }
.agent-meta .card-num { font-size: 1rem; }
.agent h3 { font-size: 1.4rem; }
.agent .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
@media (max-width: 760px) { .agent { grid-template-columns: 1fr; gap: 8px; } }
.tag { display: inline-block; font-size: .8rem; background: var(--accent-soft); color: var(--accent-strong); padding: 3px 10px; border-radius: 99px; }
.tag-muted { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { font-size: .9rem; text-decoration: none; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--text); background: var(--surface); }
.toc a:hover { border-color: var(--accent); color: var(--accent-strong); }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.values h3 { font-size: 1.05rem; }
.values p { font-size: .95rem; color: var(--muted); }
@media (max-width: 860px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--ink); color: #D9DFE7; border-radius: 14px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; }
.cta-band .btn-ghost { color: #fff; border-color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--ink); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Blog */
.post-card time, .post-meta { font-size: .85rem; color: var(--muted); }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent-strong); }
.article { padding: 56px 0 72px; }
.article h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.article-body h2 { font-size: 1.45rem; margin-top: 1.8em; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin-bottom: .4em; }
.article-cta { margin-top: 48px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }

/* Placeholders à compléter */
.todo { background: #FFF6D6; border: 1px dashed #C9A227; color: #6B5300; border-radius: 6px; padding: 2px 6px; font-size: .92em; }
.placeholder-card { border: 2px dashed var(--line); background: transparent; align-items: center; justify-content: center; text-align: center; min-height: 150px; color: var(--muted); }
.placeholder-card .todo { display: inline-block; margin-top: 8px; }
.logo-slot { height: 90px; border: 2px dashed var(--line); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .85rem; }
.example-badge { display: inline-block; align-self: flex-start; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--muted); border: 1px solid var(--line); padding: 2px 8px; border-radius: 4px; margin-bottom: 12px; }
.case dt { font-weight: 600; color: var(--ink); font-size: .9rem; margin-top: 12px; }
.case dd { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }

/* Demo */
.demo-box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 32px; }
.demo-slot { min-height: 120px; }
.demo-choices .card { cursor: default; }
.notice { font-size: .9rem; color: var(--muted); background: var(--bg); border-radius: 8px; padding: 12px 16px; }

/* Forms */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
label { font-weight: 500; font-size: .93rem; color: var(--ink); display: block; margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: 11px 14px; border: 1px solid #CFCBC0; border-radius: 8px; background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -5000px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--muted); }
.consent input { width: auto; margin-top: 5px; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: #A9B4C2; padding: 56px 0 28px; font-size: .93rem; margin-top: 0; }
.site-footer a { color: #D9DFE7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 6px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid #24344C; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
