/* My Agent - Théo Belnou
   Direction "cabinet" : blanc franc, encre, un seul accent cobalt.
   Archivo étendue pour les titres, grille stricte, angles nets, aucune animation. */

:root {
  --bg: #ffffff;
  --ink: #0b0e14;
  --gray: #566069;
  --line: #e4e7ea;
  --panel: #f5f6f8;
  --accent: #1d3fd8;
  --accent-deep: #142ca0;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #fff; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 18px;
  padding-top: 16px; padding-bottom: 16px;
}
.wordmark {
  font-weight: 800; font-size: 1.1rem; font-stretch: 115%;
  color: var(--ink); text-decoration: none;
  letter-spacing: -0.01em; text-transform: uppercase;
  white-space: nowrap;
}
.wordmark:hover { color: var(--ink); }
.header-chip {
  font-size: 0.8rem; color: var(--gray);
  white-space: nowrap;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.header-spacer { flex: 1; }
.lang-switch { display: flex; gap: 2px; }
.lang-switch a {
  font-size: 0.8rem; font-weight: 600;
  text-decoration: none; color: var(--gray);
  padding: 4px 8px;
}
.lang-switch a[aria-current="true"] { color: var(--ink); border-bottom: 2px solid var(--accent); }
.lang-switch a:hover { color: var(--ink); }
.header-cta {
  font-weight: 700; font-size: 0.88rem;
  color: #fff; background: var(--accent);
  text-decoration: none;
  padding: 10px 18px; border-radius: 8px;
  white-space: nowrap;
}
.header-cta:hover { background: var(--accent-deep); color: #fff; }

/* ---------- Hero ---------- */

.hero { padding: 84px 0 64px; }
.eyebrow {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 30px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--accent); flex: none; }
h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  font-weight: 800; font-stretch: 118%;
  line-height: 1.02; letter-spacing: -0.02em;
  max-width: 17ch;
  text-wrap: balance;
}
h1 em { font-style: normal; color: var(--accent); }
.hero-lead {
  max-width: 58ch; margin-top: 26px;
  font-size: 1.15rem; color: var(--gray);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 38px; }
.btn {
  font-weight: 700; font-size: 1rem;
  text-decoration: none; border-radius: 8px;
  padding: 15px 28px;
  display: inline-block;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-ghost { color: var(--ink); border: 1.5px solid var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.hero-proof {
  margin-top: 34px; padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 64ch;
  font-size: 0.95rem; color: var(--gray);
}
.hero-proof strong { color: var(--ink); font-weight: 700; }

/* Exemple d'automatisation : simple bande monochrome */

.pipeline { margin-top: 48px; }
.pipeline-strip {
  border: 1px solid var(--line);
  padding: 16px 20px;
  font-size: 0.92rem; color: var(--ink);
  display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline;
}
.pipeline-strip .strip-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-right: 6px;
}
.pipeline-strip .strip-arrow { color: var(--gray); }
.pipeline-strip .strip-final { font-weight: 700; }
.pipeline-caption { font-size: 0.85rem; color: var(--gray); margin-top: 10px; }

/* ---------- Sections ---------- */

.node-section { padding: 72px 0 24px; }
.node-section > .wrap { border-top: 1px solid var(--line); padding-top: 56px; }
.node-section:first-of-type > .wrap { border-top: 0; padding-top: 0; }

.node-head { margin-bottom: 14px; }
.node-tag {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray);
}
.node-head .rule { display: none; }

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800; font-stretch: 112%;
  line-height: 1.08; letter-spacing: -0.015em;
  max-width: 26ch; margin-bottom: 16px;
  text-wrap: balance;
}
.section-lead { max-width: 60ch; color: var(--gray); margin-bottom: 42px; }

/* ---------- Profils ---------- */

.cards-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  margin-bottom: 48px;
}
.card { border-top: 3px solid var(--ink); padding-top: 20px; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.card p { font-size: 0.97rem; color: var(--gray); }

/* ---------- Résultats ---------- */

.results { background: var(--panel); padding: 44px 44px; margin-bottom: 48px; }
.results ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 44px; }
.results li { padding-left: 24px; position: relative; font-size: 1rem; }
.results li::before {
  content: ""; position: absolute; left: 0; top: 0.52em;
  width: 9px; height: 9px; background: var(--ink);
}
.results li.result-key { font-weight: 700; }
.results li.result-key::before { background: var(--accent); }

/* ---------- Démos animées (3 automatisations en action) ---------- */

.demos {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--line);
  margin-bottom: 48px;
}
.demo { padding: 30px 28px 34px; border-right: 1px solid var(--line); }
.demo:last-child { border-right: 0; }
.demo-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.demo h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 20px; }
.demo-log { display: grid; gap: 13px; }
.demo-line {
  font-size: 0.92rem; color: var(--gray);
  padding-left: 22px; position: relative;
}
.demo-line::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 8px; height: 8px; background: var(--line);
}
.demo-line.demo-out { color: var(--ink); font-weight: 700; }
.demo-line.demo-out::before { background: var(--accent); }

@media (prefers-reduced-motion: no-preference) {
  .demo-line {
    opacity: 0;
    animation: demo-cycle 16s linear infinite;
    animation-delay: calc(var(--i) * 1.3s);
  }
  .demo:nth-child(2) .demo-line { animation-delay: calc(var(--i) * 1.3s + 0.45s); }
  .demo:nth-child(3) .demo-line { animation-delay: calc(var(--i) * 1.3s + 0.9s); }
  @keyframes demo-cycle {
    0% { opacity: 0; transform: translateY(5px); }
    2.5% { opacity: 1; transform: none; }
    78% { opacity: 1; }
    84% { opacity: 0; }
    100% { opacity: 0; }
  }
}

/* ---------- Offres ---------- */

.offers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--line);
  margin-bottom: 24px;
}
.offer {
  padding: 34px 30px;
  display: flex; flex-direction: column;
  position: relative;
  border-right: 1px solid var(--line);
}
.offer:last-child { border-right: 0; }
.offer.featured { outline: 2px solid var(--accent); outline-offset: -2px; }
.offer-flag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.offer h3 { font-size: 1.2rem; font-weight: 700; }
.offer .price {
  font-size: 2rem; font-weight: 800; font-stretch: 110%;
  letter-spacing: -0.01em;
  margin: 14px 0 2px;
  font-variant-numeric: tabular-nums;
}
.offer .price small { font-size: 0.85rem; color: var(--gray); font-weight: 500; }
.offer .price-note { font-size: 0.85rem; color: var(--gray); margin-bottom: 16px; }
.offer p { font-size: 0.95rem; color: var(--gray); flex: 1; }
.offer .btn { margin-top: 24px; text-align: center; font-size: 0.92rem; padding: 13px 18px; }
.offer .offer-direct { flex: none; font-size: 0.85rem; text-align: center; margin-top: 10px; }
.offer.featured .btn { background: var(--accent); border: 0; color: #fff; }
.offer.featured .btn:hover { background: var(--accent-deep); }

.workshop-strip {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px;
  border: 1px solid var(--line);
  padding: 18px 26px;
  font-size: 0.97rem; margin-bottom: 14px;
}
.workshop-strip strong { font-weight: 700; }
.workshop-strip .price { font-weight: 800; }

/* ---------- Méthode ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 48px; }
.step .step-num {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.96rem; color: var(--gray); }

/* ---------- Preuve ---------- */

.proof-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; margin-bottom: 48px; }
.proof-text p { margin-bottom: 14px; color: var(--gray); }
.proof-text p strong { color: var(--ink); }
.proof-text .proof-punch {
  font-size: 1.2rem; font-weight: 700; color: var(--ink);
  border-left: 3px solid var(--accent);
  padding-left: 18px; margin-top: 24px;
}
.stats { display: grid; gap: 22px; align-content: start; }
.stat { border-top: 3px solid var(--ink); padding-top: 12px; }
.stat .stat-v { font-size: 1.7rem; font-weight: 800; font-stretch: 112%; letter-spacing: -0.01em; }
.stat .stat-l { font-size: 0.88rem; color: var(--gray); }

/* ---------- FAQ ---------- */

.faq { max-width: 780px; margin-bottom: 48px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  font-weight: 700; font-size: 1.04rem;
  padding: 18px 40px 18px 0; cursor: pointer; list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem; font-weight: 400; color: var(--accent);
}
.faq details[open] summary::after { content: "−"; }
.faq .faq-a { padding: 0 0 20px; color: var(--gray); max-width: 66ch; }
.faq .faq-a p + p { margin-top: 10px; }

/* ---------- Contact ---------- */

.contact { background: var(--ink); color: #fff; padding: 60px 52px; margin-bottom: 24px; }
.contact .node-tag { color: #9aa3ad; }
.contact h2 { color: #fff; max-width: 24ch; }
.contact p { color: #b6bdc6; max-width: 54ch; margin-bottom: 32px; }
.contact .btn-primary { font-size: 1.02rem; }
.contact .contact-alt { margin-top: 20px; font-size: 0.92rem; color: #8a939e; }
.contact .contact-alt a { color: #fff; }

/* ---------- Footer ---------- */

.site-footer { padding: 28px 0 48px; border-top: 1px solid var(--line); }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center;
  font-size: 0.85rem; color: var(--gray);
}
.site-footer a { color: var(--gray); }
.site-footer .foot-spacer { flex: 1; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .cards-3, .steps { grid-template-columns: 1fr; gap: 28px; }
  .offers { grid-template-columns: 1fr; }
  .demos { grid-template-columns: 1fr; }
  .demo { border-right: 0; border-bottom: 1px solid var(--line); }
  .demo:last-child { border-bottom: 0; }
  .offer { border-right: 0; border-bottom: 1px solid var(--line); }
  .offer:last-child { border-bottom: 0; }
  .results ul { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .contact { padding: 44px 28px; }
  .header-chip { display: none; }
}
@media (max-width: 560px) {
  .hero { padding-top: 56px; }
  .stats { grid-template-columns: 1fr; }
  .header-cta { display: none; }
  .results { padding: 30px 24px; }
}
