/* Céline · Leads Agence IA — tunnel de vente */

:root {
  --paper: #F5F3EE;
  --card: #FFFFFF;
  --ink: #0F1115;
  --ink-2: #2A2E36;
  --muted: #5B606B;
  --line: #E2DED5;
  --accent: #C2410C;          /* texte et boutons : contraste AA sur fond clair et avec du blanc */
  --accent-vif: #FF5A1F;      /* décor seulement (barres, jauges) */
  --accent-nuit: #FF7A45;     /* accent lisible sur fond sombre */
  --accent-soft: #FFE6DC;
  --ok: #117550;
  --ok-soft: #DDF3EA;
  --night: #0F1115;
  --night-2: #1A1D23;
  --night-line: #2C3038;
  --night-text: #EDEBE6;
  --night-muted: #9CA0A8;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 17, 21, .06), 0 8px 24px rgba(15, 17, 21, .06);
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
section { padding: clamp(64px, 9vw, 112px) 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 14px;
  display: inline-block;
}
.lead { font-size: clamp(1.05rem, 1.8vw, 1.22rem); color: var(--ink-2); }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff;
  font: 600 1.02rem var(--sans);
  padding: 16px 26px; border-radius: 999px; border: 0;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 20px rgba(194, 65, 12, .28);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(194, 65, 12, .36); }
.btn:focus-visible, button:focus-visible, input:focus-visible, a:focus-visible {
  outline: 3px solid var(--ink); outline-offset: 3px;
}
.btn-ghost {
  background: transparent; color: var(--ink); box-shadow: none;
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover { box-shadow: none; background: var(--ink); color: var(--paper); }
.micro { font-family: var(--mono); font-size: .78rem; color: var(--muted); margin-top: 12px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 243, 238, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-weight: 700; text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.logo span { color: var(--accent); }
.nav .btn { padding: 10px 18px; font-size: .92rem; box-shadow: none; }

/* Hero */
.hero { padding-top: clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { max-width: 34em; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; }
.hero-points li::before {
  content: ""; flex: 0 0 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23178A5E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}

/* Agenda illustratif */
.agenda {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 18px; font-size: .8rem;
}
.agenda-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.agenda-head strong { font-size: .95rem; }
.agenda-head .tag { font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.agenda-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.agenda-day { font-family: var(--mono); font-size: .68rem; color: var(--muted); text-align: center; padding-bottom: 4px; }
.slot { border-radius: 8px; padding: 8px 7px; min-height: 58px; background: #F1EFEA; }
.slot.rdv { background: var(--accent-soft); border-left: 3px solid var(--accent); }
.slot.rdv b { display: block; font-size: .72rem; color: var(--ink); }
.slot.rdv span { font-size: .66rem; color: var(--muted); line-height: 1.3; display: block; }
.agenda-foot {
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line);
  display: flex; justify-content: space-between; font-family: var(--mono); font-size: .72rem; color: var(--muted);
}
.agenda-foot b { color: var(--ok); }
.illus { font-family: var(--mono); font-size: .68rem; color: var(--muted); margin-top: 8px; text-align: right; }

.sign { display: flex; gap: 12px; align-items: center; margin-top: 22px; font-size: .92rem; }
.sign img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.sign small { color: var(--muted); }
.avatar-lg { flex-basis: 96px; height: 96px; }

/* Bandeau chiffres */
.strip { background: var(--night); color: var(--night-text); padding: 28px 0; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strip div { font-size: .92rem; color: var(--night-muted); }
.strip b { display: block; font-family: var(--mono); font-size: 1.35rem; color: var(--night-text); font-weight: 600; }

/* Miroir */
.mirror-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.quote-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; position: relative;
}
.quote-card p { font-size: 1.08rem; font-weight: 500; margin: 0; }
.quote-card small { display: block; margin-top: 10px; font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.punch {
  margin-top: 36px; padding: 26px 28px; border-radius: var(--radius);
  background: var(--accent-soft); font-size: 1.15rem; font-weight: 500;
}
.punch b { color: #9A3409; }

/* Tableau "déjà essayé" */
.tried { margin-top: 32px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.tried-row { display: grid; grid-template-columns: 1fr 1.4fr; border-top: 1px solid var(--line); }
.tried-row:first-child { border-top: 0; }
.tried-row > div { padding: 16px 20px; }
.tried-row > div:first-child { font-weight: 600; }
.tried-row > div:last-child { color: var(--muted); border-left: 1px solid var(--line); }
.tried-row.head { background: #F1EFEA; font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.tried-row.head > div { color: var(--muted); font-weight: 500; }

/* Sur fond sombre, l'accent foncé ne se lit pas : on repasse au clair */
.dark .eyebrow, .funnel .eyebrow { color: var(--accent-nuit); }

/* Système (sections sombres) */
.dark { background: var(--night); color: var(--night-text); }
.dark .lead, .dark .muted { color: var(--night-muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; counter-reset: step; }
.step { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius); padding: 24px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--mono); color: var(--accent-nuit); font-size: .85rem; display: block; margin-bottom: 18px;
}
.step p { color: var(--night-muted); font-size: .95rem; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.split-col { border-radius: var(--radius); padding: 28px; }
.split-col.us { background: var(--night-2); border: 1px solid var(--night-line); }
.split-col.you { background: var(--accent); color: #fff; }
.split-col ul { margin: 12px 0 0; padding-left: 1.1em; }
.split-col li { margin-bottom: 6px; }
.split-col.you h3 { color: #fff; }
.split-col.you .big { font-size: 1.6rem; font-weight: 700; line-height: 1.2; margin-top: 14px; }

/* Transparence */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.report { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 22px; font-size: .88rem; }
.report-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .72rem; color: var(--muted); margin-bottom: 14px; }
.report-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi { background: #F7F5F0; border-radius: 10px; padding: 12px; }
.kpi span { font-family: var(--mono); font-size: .66rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.kpi b { display: block; font-family: var(--mono); font-size: 1.25rem; }
.meter { height: 10px; border-radius: 99px; background: #EEEBE4; overflow: hidden; }
.meter i { display: block; height: 100%; width: 80%; background: linear-gradient(90deg, var(--accent-vif), #FF8A5B); border-radius: 99px; }
.meter-label { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .7rem; color: var(--muted); margin-top: 6px; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: "→"; position: absolute; left: 0; font-family: var(--mono); color: var(--accent); font-weight: 600; }
.checks b { display: block; }

/* Garantie */
.guarantee {
  background: var(--card); border: 2px solid var(--ink); border-radius: 22px;
  padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center;
}
.seal {
  width: 150px; height: 150px; border-radius: 50%; background: var(--ink); color: var(--paper);
  display: grid; place-content: center; text-align: center; font-family: var(--mono);
}
.seal b { font-size: 3rem; line-height: 1; font-family: var(--sans); }
.seal span { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.guarantee h2 { margin-bottom: .35em; }

/* Équipe et preuves */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.member { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; gap: 18px; }
.avatar {
  flex: 0 0 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--paper);
  display: grid; place-content: center; font-weight: 700; font-size: 1.3rem; overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.member .role { font-family: var(--mono); font-size: .72rem; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.member p { margin: 8px 0 0; color: var(--muted); font-size: .95rem; }
.proofs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.proof { background: var(--ink); color: var(--night-text); border-radius: var(--radius); padding: 24px; }
.proof b { display: block; font-size: 2rem; font-family: var(--mono); color: #fff; margin-bottom: 6px; }
.proof span { color: var(--night-muted); font-size: .92rem; }

/* Texte encore à remplir : visible tant que ce n'est pas remplacé */
.a-remplir { background: #FFF3B0; outline: 2px dashed #C9A400; outline-offset: 2px; border-radius: 4px; color: #3A3000 !important; }

/* Pour qui */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.fit-col { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); background: var(--card); }
.fit-col.no { background: transparent; border-style: dashed; }
.fit-col ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.fit-col.yes li::before { content: "✓  "; color: var(--ok); font-weight: 700; }
.fit-col.no li::before { content: "✕  "; color: var(--muted); font-weight: 700; }

/* Tarif */
.price-card {
  margin-top: 36px; background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
}
.price-main { padding: clamp(24px, 4vw, 44px); }
.price { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin: 10px 0 6px; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-side { background: #F7F5F0; padding: clamp(24px, 4vw, 44px); border-left: 1px solid var(--line); }
.price-side ul { margin: 0; padding-left: 1.1em; }
.price-side li { margin-bottom: 8px; }

/* Simulateur */
.sim {
  margin-top: 32px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px;
}
.sim-inputs { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 36px); display: grid; gap: 26px; }
.sim-field label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; margin-bottom: 10px; flex-wrap: wrap; }
.sim-field output { font-family: var(--mono); color: var(--accent); font-weight: 600; }
.sim-field input[type=range] { width: 100%; accent-color: var(--accent); height: 28px; }
.sim-result { background: var(--ink); color: var(--night-text); border-radius: 18px; padding: clamp(22px, 4vw, 36px); display: flex; flex-direction: column; justify-content: center; }
.sim-result span { color: var(--night-muted); font-size: .9rem; }
.sim-result b { font-family: var(--mono); font-size: clamp(2rem, 4vw, 2.6rem); color: #fff; line-height: 1.1; margin: 4px 0 18px; }
.sim-result b.accent { color: var(--accent-nuit); }
.sim-result p { margin: 0; padding-top: 14px; border-top: 1px solid var(--night-line); color: var(--night-text); font-size: .95rem; }

/* FAQ */
.faq { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 1.05rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--mono); font-size: 1.4rem; color: var(--accent);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 8px; }

/* Formulaire multi-étapes */
.funnel { background: var(--night); color: var(--night-text); }
.funnel .lead { color: #D6D8DC; }
.quiz {
  background: var(--card); color: var(--ink); border-radius: 22px; padding: clamp(22px, 4vw, 44px);
  margin-top: 32px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.progress { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 26px; }
.progress-bar { flex: 1; height: 6px; background: #EEEBE4; border-radius: 99px; overflow: hidden; }
.progress-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s ease; }
.progress-count { font-family: var(--mono); font-size: .74rem; color: var(--muted); white-space: nowrap; }
.q { display: none; border: 0; padding: 0; margin: 0; }
.q.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.q legend { font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 18px; padding: 0; }
.opts { display: grid; gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label {
  display: block; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 12px;
  cursor: pointer; font-weight: 500; transition: border-color .15s ease, background .15s ease;
}
.opt label:hover { border-color: var(--ink); }
.opt input:checked + label { border-color: var(--accent); background: var(--accent-soft); }
.opt input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; }
.field input {
  font: inherit; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}
.field input:focus { border-color: var(--ink); outline: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin-top: 16px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; gap: 12px; }
.back { background: none; border: 0; font: 500 .95rem var(--sans); color: var(--muted); cursor: pointer; padding: 8px 0; }
.back[hidden] { visibility: hidden; display: inline; }
.error { color: #C0341D; font-size: .88rem; margin-top: 10px; min-height: 1.2em; }
.result { display: none; text-align: center; }
.result.active { display: block; animation: fade .25s ease; }
.result .badge { display: inline-block; font-family: var(--mono); font-size: .74rem; padding: 6px 12px; border-radius: 99px; margin-bottom: 16px; }
.result .badge.ok { background: var(--ok-soft); color: var(--ok); }
.result .badge.wait { background: #F1EFEA; color: var(--muted); }
.booking { margin-top: 20px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); min-height: 640px; }
.booking iframe { width: 100%; height: 700px; border: 0; }
.dev-note { font-family: var(--mono); font-size: .76rem; background: #FFF3B0; color: #3A3000; padding: 10px 14px; border-radius: 10px; margin-top: 16px; text-align: left; }

/* Pied de page */
footer { padding: 40px 0 56px; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* Pages légales */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }

/* Mobile CTA collant */
.sticky-cta { display: none; }

@media (max-width: 900px) {
  .hero-grid, .two, .price-card, .sim { grid-template-columns: 1fr; }
  .price-side { border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .strip .wrap { grid-template-columns: 1fr 1fr; }
  .proofs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .mirror-grid, .split, .team, .fit, .steps, .fields { grid-template-columns: 1fr; }
  .tried-row { grid-template-columns: 1fr; }
  .tried-row > div:last-child { border-left: 0; padding-top: 0; }
  .tried-row.head { display: none; }
  .guarantee { grid-template-columns: 1fr; justify-items: start; }
  .seal { width: 118px; height: 118px; }
  .seal b { font-size: 2.3rem; }
  .nav .btn { display: none; }
  .agenda-grid { gap: 4px; }
  .slot { padding: 6px 5px; min-height: 52px; }
  .slot.rdv span { display: none; }
  .sticky-cta {
    display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    transition: transform .25s ease, opacity .25s ease;
  }
  .sticky-cta.hide { transform: translateY(120%); opacity: 0; pointer-events: none; }
  .sticky-cta .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
