/* ============================================================
   Ficelles — couche de design
   Chargée après styles.css sur toutes les pages.
   Direction : un atelier sur papier. Encre brune, papier chaud,
   un seul fil rouge qui relie le métier au logiciel.
   Typo : Archivo élargi (titres, texte) · Instrument Serif
          italique (le mot qui compte) · Geist Mono (étiquettes).
   ============================================================ */

/* ---------- Socle ---------- */

body {
  font-family: "Archivo", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16.5px;
  color: var(--text);
  background: var(--bg);
}
body::before {
  background:
    radial-gradient(900px 520px at 8% -10%, rgba(226, 168, 84, 0.13), transparent 62%),
    radial-gradient(760px 480px at 96% 2%, rgba(201, 56, 31, 0.06), transparent 60%);
}
body::after { opacity: 0.55; }

h1, h2, h3 {
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.035em;
  line-height: 1.0;
}
h1 em, h2 em, h3 em,
.stage-title em, .f-titre em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: -0.012em;
  color: var(--accent);
}
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline-color: var(--accent); }

/* Étiquettes : un bout de fil plutôt qu'un point. */
.eyebrow, .stage-kicker {
  font-family: "Geist Mono", ui-monospace, monospace;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.eyebrow::before {
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--fil);
  transform: none;
}

/* ---------- En-tête ---------- */

.head-bande {
  background: rgba(244, 239, 230, 0.86);
  box-shadow: 0 1px 0 var(--line);
}
.brand {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-stretch: 112%;
  font-size: 21px;
  letter-spacing: -0.025em;
  color: var(--text);
}
.brand-logo { width: 24px; height: 24px; }
.brand-tld { color: var(--text-3); font-weight: 500; }
.head-nav a { color: var(--text-2); }
.head-nav a:hover { background: var(--bg-2); color: var(--text); }
.head-connexion { border: 1px solid var(--line-2); }

/* ---------- Boutons : le bouton principal est « cousu » ---------- */

.btn { background: var(--bg-1); border-color: var(--line-2); }
.btn:hover { background: var(--bg-2); }
.btn-primary,
.head-cta {
  position: relative;
  background: var(--accent);
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 1px 0 rgba(60, 20, 10, 0.25), 0 12px 26px -14px rgba(201, 56, 31, 0.75);
  outline: 1px dashed rgba(255, 255, 255, 0.42);
  outline-offset: -5px;
}
.btn-primary:hover,
.head-cta:hover {
  background: var(--accent-2) !important;
  color: #fff !important;
  box-shadow: 0 1px 0 rgba(60, 20, 10, 0.25), 0 16px 30px -14px rgba(201, 56, 31, 0.8);
}
.btn-primary:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.btn[disabled].btn-primary { outline-color: rgba(255, 255, 255, 0.2); }
.btn-lg { border-radius: 12px; }

/* ---------- Questionnaire ---------- */

.progress-track { height: 3px; background: var(--bg-3); }
.progress-fill {
  background: var(--fil);
  box-shadow: none;
}
.option {
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  box-shadow: 0 1px 0 rgba(28, 22, 14, 0.04);
}
.option:hover { border-color: var(--text-3); }
.option.selected {
  border-color: var(--accent);
  background: var(--accent-film);
  box-shadow: 0 0 0 1px var(--accent);
}
.option-detail { color: var(--text-3); }
.stage-title, .stage-title-q { font-stretch: 108%; }
.stage-lede { color: var(--text-2); }

/* Blocs de code (prompt, aperçus) : une ardoise d'encre dans la page papier. */
.prompt-pre, .mini-code {
  background: #1d1912;
  color: #e9e2d4;
  border-color: #1d1912;
}
.mini-code::after { background: linear-gradient(180deg, transparent, #1d1912); }

/* Carte d'idée : l'avantage d'initié, souligné au fil rouge. */
.idea-avantage {
  margin-top: 12px;
  padding: 12px 14px 12px 16px;
  border-left: 3px solid var(--fil);
  background: var(--accent-film);
  border-radius: 0 10px 10px 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
}
.idea-avantage span {
  display: block;
  margin-bottom: 3px;
  font-family: "Geist Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.mk-carte-reseau { border-color: var(--accent) !important; background: var(--accent-film) !important; }

/* Pied */
footer { background: transparent; }
.site-foot { color: var(--text-3); border-top-color: var(--line-2); }
.site-foot .brand { font-size: 17px; }
.site-foot a:hover { color: var(--accent); }

/* ============================================================
   PAGE D'ACCUEIL
   ============================================================ */

.f-hero { position: relative; padding: 76px 0 40px; }
.f-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.f-hero h1 {
  margin-top: 22px;
  font-size: clamp(42px, 5.6vw, 76px);
  font-stretch: 115%;
  letter-spacing: -0.045em;
  line-height: 0.96;
}
.f-hero h1 em { display: block; margin-top: 0.08em; letter-spacing: -0.02em; }
.f-lede {
  margin-top: 26px;
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 50ch;
}
.f-lede strong { color: var(--text); }
.f-actions { margin-top: 32px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.f-lien {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1.5px solid var(--line-3);
  padding-bottom: 2px;
  transition: border-color .15s, color .15s;
}
.f-lien:hover { color: var(--accent); border-color: var(--accent); }
.f-garanties {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-3);
}
.f-garanties span::before { content: "✓ "; color: var(--accent); }

/* La démonstration : un métier → sa galère → le fil → son SaaS. */
.f-demo { position: relative; }
.f-metiers {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}
.f-metier {
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  background: var(--bg-1);
  color: var(--text-2);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.f-metier:hover { color: var(--text); border-color: var(--text-3); }
.f-metier[aria-pressed="true"] { background: var(--text); color: var(--bg-1); border-color: var(--text); }

.f-galere {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 18px 20px 18px;
  box-shadow: var(--shadow);
}
.f-galere::before {
  /* une punaise : la galère est épinglée au tableau de l'atelier */
  content: "";
  position: absolute;
  top: -6px; left: 26px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--fil);
  box-shadow: 0 2px 0 rgba(60, 20, 10, 0.3);
}
.f-etiquette {
  font-family: "Geist Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.f-galere-texte {
  margin-top: 8px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 22px;
  line-height: 1.25;
  color: var(--text);
}
.f-fil { display: block; width: 100%; height: 64px; overflow: visible; }
.f-fil path { fill: none; stroke: var(--fil); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.f-fil.trace path { animation: f-trace 0.9s cubic-bezier(.4,.1,.2,1) both; }
@keyframes f-trace { from { stroke-dashoffset: 1; } }

.f-saas {
  background: var(--text);
  color: #f1ebdf;
  border-radius: 16px;
  padding: 22px 22px 18px;
  box-shadow: 0 30px 60px -30px rgba(40, 24, 10, 0.6);
}
.f-saas .f-etiquette { color: #b4ab9b; }
.f-saas-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.f-saas-nom {
  margin-top: 6px;
  font-size: 30px;
  font-weight: 800;
  font-stretch: 115%;
  letter-spacing: -0.035em;
  color: #fff;
}
.f-saas-score {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  color: #b4ab9b;
  white-space: nowrap;
}
.f-saas-pitch { margin-top: 4px; font-size: 15.5px; line-height: 1.45; color: #d9d1c2; }
.f-saas-grille {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.f-saas-grille div { padding: 12px 10px 4px 0; }
.f-saas-grille div + div { padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.f-saas-grille b { display: block; font-size: 15px; font-weight: 700; color: #fff; }
.f-saas-grille span { font-size: 12px; color: #b4ab9b; }
.f-saas-avantage {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(226, 70, 44, 0.16);
  border: 1px dashed rgba(232, 115, 95, 0.55);
  font-size: 13.5px;
  line-height: 1.5;
  color: #f1ebdf;
}
.f-saas-avantage i { font-style: normal; color: #f19a88; font-weight: 600; }
.f-demo-note { margin-top: 10px; font-size: 12.5px; color: var(--text-3); }
.f-change { animation: f-change .45s ease both; }
@keyframes f-change { from { opacity: 0; transform: translateY(6px); } }

/* Bandeau des métiers */
.f-bandeau {
  margin-top: 64px;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.f-bandeau ul {
  display: flex;
  width: max-content;
  list-style: none;
  padding: 18px 0;
  animation: f-defile 60s linear infinite;
}
.f-bandeau li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
  font-size: 22px;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  color: var(--text-2);
  white-space: nowrap;
}
.f-bandeau li::after {
  content: "";
  width: 76px; height: 16px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 76 16'%3E%3Cpath d='M1 10c9 0 15 .5 23-1.5S33 3 37 3.5s4.5 5 1.2 5.6-4.2-2.6-1.6-4.6S45 4 50 7.5 64 10.5 75 10' fill='none' stroke='%23e2462c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@keyframes f-defile { to { transform: translateX(-50%); } }

/* Sections */
.f-section { padding: 110px 0 0; }
.f-section-tete { max-width: 760px; }
.f-titre {
  margin-top: 18px;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.0;
}
.f-intro { margin-top: 20px; font-size: 18px; color: var(--text-2); max-width: 60ch; }

/* Pourquoi ton métier */
.f-trois {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.f-carte {
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 26px 24px 24px;
}
.f-num {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.f-carte h3 { margin-top: 14px; font-size: 24px; font-stretch: 108%; letter-spacing: -0.03em; line-height: 1.08; }
.f-carte p { margin-top: 10px; color: var(--text-2); font-size: 15.5px; line-height: 1.6; }

.f-compare {
  margin-top: 26px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-1);
}
.f-compare table { width: 100%; border-collapse: collapse; font-size: 15px; }
.f-compare th, .f-compare td { text-align: left; padding: 15px 20px; vertical-align: top; }
.f-compare thead th {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--bg-2);
}
.f-compare thead th:last-child { color: var(--accent); }
.f-compare tbody tr + tr td, .f-compare tbody tr + tr th { border-top: 1px solid var(--line); }
.f-compare tbody th { font-weight: 700; width: 24%; }
.f-compare td { color: var(--text-3); }
.f-compare td:last-child { color: var(--text); font-weight: 500; background: var(--accent-film); }

/* Comment ça marche : quatre nœuds sur un fil */
.f-etapes {
  position: relative;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  list-style: none;
}
.f-etapes::before {
  content: "";
  position: absolute;
  top: 21px; left: 22px; right: 22px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--fil) 0 10px, transparent 10px 16px);
}
.f-etape { position: relative; }
.f-noeud {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--fil);
  font-family: "Geist Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}
.f-etape h3 { margin-top: 20px; font-size: 21px; font-stretch: 108%; letter-spacing: -0.03em; line-height: 1.1; }
.f-etape p { margin-top: 10px; font-size: 15px; color: var(--text-2); line-height: 1.6; }

/* Ce que tu reçois */
.f-dossier {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}
.f-liste { list-style: none; border-top: 1px solid var(--line-2); }
.f-liste li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
}
.f-liste li::before {
  content: "";
  margin-top: 6px;
  width: 16px; height: 10px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M1.5 5.5l4 3 9-7.5' fill='none' stroke='%23c9381f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.f-liste b { display: block; font-size: 16.5px; }
.f-liste span { display: block; margin-top: 3px; font-size: 14.5px; color: var(--text-2); line-height: 1.55; }
.f-liste em { font-style: normal; font-family: "Geist Mono", monospace; font-size: 11px; color: var(--text-3); letter-spacing: 0.04em; }

.f-ardoise {
  position: relative;
  background: #1d1912;
  color: #e9e2d4;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 30px 60px -32px rgba(40, 24, 10, 0.7);
  overflow: hidden;
}
.f-ardoise-barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: "Geist Mono", monospace;
  font-size: 11.5px;
  color: #a39a8a;
}
.f-ardoise-barre i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3a332a; margin-right: 5px; }
.f-ardoise pre {
  margin: 0;
  padding: 18px 20px 24px;
  font-family: "Geist Mono", monospace;
  font-size: 12.5px;
  line-height: 1.75;
  white-space: pre-wrap;
  max-height: 430px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, #000 78%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent);
}
.f-ardoise .t { color: #f19a88; font-weight: 500; }
.f-ardoise .c { color: #8f8676; }

/* Chiffres */
.f-chiffres {
  margin-top: 84px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.f-chiffres div { padding: 26px 22px; }
.f-chiffres div + div { border-left: 1px solid var(--line-2); }
.f-chiffres b { display: block; font-size: 40px; font-weight: 800; font-stretch: 115%; letter-spacing: -0.04em; line-height: 1; }
.f-chiffres span { display: block; margin-top: 10px; font-size: 14px; color: var(--text-2); }

/* FAQ */
.f-faq { margin-top: 36px; border-top: 1px solid var(--line-2); }
.f-faq details { border-bottom: 1px solid var(--line-2); }
.f-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 19px;
  font-weight: 700;
  font-stretch: 106%;
  letter-spacing: -0.02em;
}
.f-faq summary::-webkit-details-marker { display: none; }
.f-faq summary::after {
  content: "+";
  flex: none;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font-weight: 400;
  font-size: 18px;
  color: var(--accent);
  transition: transform .2s;
}
.f-faq details[open] summary::after { transform: rotate(45deg); }
.f-faq summary:hover { color: var(--accent); }
.f-faq details p { padding: 0 0 24px; max-width: 74ch; color: var(--text-2); font-size: 16px; line-height: 1.65; }

/* Appel final */
.f-final {
  margin-top: 110px;
  position: relative;
  overflow: hidden;
  background: var(--text);
  color: #f1ebdf;
  border-radius: 24px;
  padding: 72px clamp(24px, 6vw, 80px);
  text-align: center;
}
.f-final h2 { font-size: clamp(34px, 4.6vw, 60px); color: #fff; max-width: 18ch; margin: 0 auto; }
.f-final h2 em { color: #f19a88; }
.f-final p { margin: 18px auto 30px; max-width: 52ch; color: #cfc6b6; font-size: 17px; }
.f-final svg { position: absolute; left: 0; right: 0; bottom: 18px; width: 100%; height: 60px; opacity: .9; pointer-events: none; }
.f-final svg path { fill: none; stroke: var(--fil); stroke-width: 2; stroke-linecap: round; }
.f-final .btn-primary { position: relative; z-index: 1; }
.f-final-note { margin-top: 14px !important; font-size: 13px !important; color: #a39a8a !important; }

.f-pied { margin-top: 70px; }

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

@media (max-width: 980px) {
  .f-hero-grid { grid-template-columns: 1fr; }
  .f-demo { max-width: 560px; }
  .f-dossier { grid-template-columns: 1fr; }
  .f-etapes { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .f-etapes::before { display: none; }
}
@media (max-width: 760px) {
  .head-nav .head-masque { display: none; }
  .f-hero { padding-top: 40px; }
  .f-trois { grid-template-columns: 1fr; }
  .f-chiffres { grid-template-columns: 1fr 1fr; }
  .f-chiffres div:nth-child(3) { border-left: none; }
  .f-chiffres div:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .f-compare th, .f-compare td { padding: 12px 12px; font-size: 14px; }
  .f-compare tbody th { width: 30%; }
  .f-section { padding-top: 84px; }
  .f-final { border-radius: 18px; padding: 56px 22px 72px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .brand .brand-mot { display: inline; font-size: 19px; }
  .f-bandeau { margin-top: 36px; }
  .f-compare thead tr, .f-compare tbody tr { display: grid; grid-template-columns: 1fr 1fr; }
  .f-compare tbody th { display: block; grid-column: 1 / -1; width: auto; padding: 12px 12px 0; background: var(--bg-1); font-size: 13px; }
  .f-compare tbody tr + tr th { border-top: 1px solid var(--line); }
  .f-compare tbody tr + tr td { border-top: none; }
  .f-etapes { grid-template-columns: 1fr; }
  .f-saas-grille { grid-template-columns: 1fr 1fr; }
  .f-saas-grille div:nth-child(3) { display: none; }
  .f-compare thead th:first-child { display: none; }
  .f-bandeau li { font-size: 18px; }
  .f-bandeau li::after { width: 56px; }
  .f-chiffres b { font-size: 32px; }
  .head-nav { gap: 2px; }
  .head-nav a { padding: 8px 10px; }
}
/* « Se connecter » reste visible sur téléphone (c'est le seul chemin d'un client
   qui revient) : le logo seul identifie le site, le mot laisse la place. */
@media (max-width: 440px) {
  .brand .brand-mot { display: none; }
}
@media (max-width: 360px) {
  .head-nav a { padding: 7px 8px !important; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .f-bandeau ul { animation: none; }
  .f-fil.trace path { animation: none; }
}

/* Grille de réponses à sous-titres (métiers, tâches) */
.options-grille { max-width: 780px; grid-template-columns: 1fr 1fr; }
.options-grille .option { padding: 14px 18px; }
.options-grille .option-check { padding-left: 50px; }
.options-grille .option-detail { font-size: 13px; line-height: 1.4; }
@media (max-width: 620px) { .options-grille { grid-template-columns: 1fr; } }
.options-grille .option:not(.option-illu):not(.option-check) {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 14px;
  row-gap: 2px;
  align-items: center;
  min-height: 0;
  padding: 14px 16px;
}
.options-grille .option:not(.option-illu):not(.option-check)::before { grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 9px; }
.options-grille .option:not(.option-check) .option-label { grid-column: 2; font-size: 15.5px; line-height: 1.25; }
.options-grille .option:not(.option-check) .option-detail { grid-column: 2; }
.option:not(.option-illu):not(.option-check)::before { border-color: var(--line-2); }
.option:not(.option-illu):not(.option-check).selected::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.6 4.6L19 7.4'/%3E%3C/svg%3E");
}

/* Le vert reste réservé à l'argent et à la garantie ; les étapes suivent le fil rouge. */
.parcours, .saas101 { --vert: #c9381f; }
.barriere-reponse { border-color: rgba(201, 56, 31, 0.35) !important; background: var(--accent-film) !important; }

/* Paywall : le bouton de paiement est plein, le compte à rebours lisible. */
.formules .remise-chrono { color: var(--text); }
.formules .btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(60, 20, 10, 0.25), 0 14px 30px -14px rgba(201, 56, 31, 0.8);
}
.formules .btn-primary::before { display: none; }
.formules .btn-primary:hover { background: var(--accent-2); }
.formules .btn-primary[disabled] { background: var(--bg-3); color: var(--text-3); box-shadow: none; outline-color: transparent; }
.formules .plan-ruban { color: #fff; }

/* Cartes d'idées hors atelier : --vert n'y est pas défini, le bouton prend le fil rouge. */
.idea-card .btn-primary { background: var(--accent); color: #fff; }
.idea-card .btn-primary:hover { background: var(--accent-2); }

/* Le temps que Stripe ouvre sa page de paiement. */
.btn-attente { opacity: .6; pointer-events: none; }

/* ============================================================
   Parcours — octobre 2026
   ============================================================ */

/* Paywall : plus de vert, la page suit le fil rouge et l'encre. */
.formules { --vert: var(--accent); }
.formules .garantie-forte { background: var(--accent-film); }
.formules .garantie-forte .garantie-soustitre { background: rgba(201, 56, 31, 0.12); }
.avantage-coche { border-color: var(--accent); background: var(--accent-film); }
.avantage-coche::after { border-color: var(--accent); }
.calcul-pastille i { background: var(--accent); box-shadow: 0 0 0 3px rgba(201, 56, 31, 0.16); }

/* « Pas d'inquiétude » : une ligne, avec sa coche. */
.barriere-reponse {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  max-width: none;
  padding: 12px 20px 12px 14px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 500;
}
.barriere-coche {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
}
.barriere-coche::after {
  content: "";
  width: 5px; height: 9px;
  margin: -2px 0 0 0;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(43deg);
}
@media (max-width: 420px) {
  .barriere-reponse { gap: 8px; padding: 10px 14px 10px 10px; font-size: 13.5px; }
  .barriere-coche { width: 22px; height: 22px; }
}

/* Bienvenue : la ficelle du logo se dessine, puis se noue. */
.illu-ficelle { color: var(--fil); }
.illu-ficelle path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ficelle-trace 1.5s cubic-bezier(.6,.05,.3,1) .15s forwards; }
.illu-ficelle path + path { animation-duration: .7s; animation-delay: 1.45s; }
@keyframes ficelle-trace { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .illu-ficelle path { animation: none; stroke-dashoffset: 0; } }

/* « Voilà comment on t'amène… » : trois nœuds sur un fil, plus de cases numérotées. */
.fil-etapes {
  position: relative;
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 26px;
  max-width: 620px;
}
.fil-etapes::before {
  content: "";
  position: absolute;
  left: 11px; top: 14px; bottom: 14px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--fil) 0 9px, transparent 9px 15px);
}
.fil-etape {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 18px;
  animation: etape-entre .55s cubic-bezier(.22,.8,.24,1) backwards;
  animation-delay: var(--retard);
}
.fil-noeud {
  position: relative;
  z-index: 1;
  width: 24px; height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  border: 2px solid var(--fil);
  background: var(--bg);
}
.fil-noeud::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--fil);
}
.fil-num {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.fil-etape h2 { margin-top: 4px; font-size: 1.12rem; font-stretch: 108%; letter-spacing: -0.02em; line-height: 1.2; }
.fil-texte { margin-top: 5px; font-size: 14px; line-height: 1.55; color: var(--text-2); }

/* Projection : les couleurs du site, quatre sources possibles. */
.projection {
  --src-0: var(--accent);
  --src-1: #e2a854;
  --src-2: #1d1912;
  --src-3: #b8a98f;
}
.projection .proj-carte {
  border-color: rgba(201, 56, 31, 0.3);
  background: radial-gradient(560px 240px at 15% -30%, rgba(201, 56, 31, 0.1), transparent 68%), var(--surface);
}
.projection .seg-3, .projection .pastille-3 { background: var(--src-3); }
.projection .proj-lignes .proj-ligne:nth-child(3) { border-left-color: var(--src-2); }
.projection .proj-lignes .proj-ligne:nth-child(4) { border-left-color: var(--src-3); }

/* Tableaux de bord : une ardoise à l'encre, la courbe au fil rouge. */
.board { background: #1d1912; border-color: #1d1912; color: #f4efe6; }
.board-jour, .board-chiffres strong { color: #fbf8f2; }
.board-etat, .board-chiffres em { color: #b8ad9c; }
.board-chiffres { border-color: rgba(244, 239, 230, 0.12); }
.board-vide { opacity: 0.8; }
.ap-fleche { border-color: rgba(201, 56, 31, 0.35); background: var(--accent-film); color: var(--accent); }
.board-trait { stroke: var(--fil); }
.board-aire { fill: rgba(226, 70, 44, 0.16); }

/* Avant / après : trois garanties sous les tableaux. */
.confiance {
  list-style: none;
  margin: 22px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 640px;
}
.confiance li {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--bg-1);
  text-align: left;
}
.confiance b { font-size: 14px; font-weight: 700; }
.confiance b::before { content: "✓ "; color: var(--accent); }
.confiance span { font-size: 12.5px; color: var(--text-2); line-height: 1.4; }
@media (max-width: 620px) { .confiance { grid-template-columns: 1fr; } }

/* Chargement : les exemples de la banque d'idées. */
.calcul-exemple .exemple-etiquette {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.calcul-exemple .exemple-nom { margin-top: 8px; font-size: 22px; font-weight: 800; font-stretch: 110%; letter-spacing: -0.03em; }
.calcul-exemple blockquote { margin-top: 4px; }
.calcul-exemple .exemple-prix { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--text-2); }

/* Page email : le formulaire centré sous le titre. */
.account-court .account-form,
.account-court .ou-google { margin-left: auto; margin-right: auto; }
.account-court .form-note { text-align: center; }

/* Fenêtre de paiement du site. */
.paie-kicker {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.paie-titre { margin-top: 2px; font-size: 17px; font-weight: 800; font-stretch: 108%; letter-spacing: -0.02em; }
.paie-corps { padding: 18px 20px 20px; display: grid; gap: 14px; }
.paie-recap { padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg); }
.paie-prix b { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.paie-prix em { font-style: normal; color: var(--text-2); }
.paie-prix s { margin-left: 6px; font-size: 14px; color: var(--text-3); }
.paie-contenu { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.paie-contenu li { font-size: 13.5px; color: var(--text-2); }
.paie-contenu li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.paie-garantie {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1.5px solid var(--accent);
  border-radius: 14px;
  background: var(--accent-film);
  font-size: 13.5px;
  line-height: 1.5;
}
.paie-garantie strong { color: var(--accent); }
.paie-garantie a { display: block; margin-top: 2px; font-size: 12px; color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.paie-sceau { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; }
.paie-sceau svg { width: 20px; height: 20px; }
.paie-champs:empty { display: none; }
.paie-chargement { padding: 26px 0; text-align: center; font-size: 13.5px; color: var(--text-3); }
.paie-payer { width: 100%; margin: 0; background: var(--accent); color: #fff; }
.paie-payer::before { display: none; }
.paie-payer:hover { background: var(--accent-2); }
.paie-payer[disabled] { opacity: .55; cursor: default; }
.paie-note { margin: 0; text-align: center; font-size: 12.5px; }
.paie-corps .plan-securite { margin: 0; color: var(--accent); font-weight: 600; }
.paie-corps .plan-securite { display: flex; align-items: center; justify-content: center; gap: 7px; }
.paie-corps .plan-securite::before {
  content: "";
  width: 14px; height: 16px;
  background: currentColor;
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l8 3.5v6c0 5-3.4 9.3-8 10.5-4.6-1.2-8-5.5-8-10.5v-6L12 2z'/%3E%3C/svg%3E");
  mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l8 3.5v6c0 5-3.4 9.3-8 10.5-4.6-1.2-8-5.5-8-10.5v-6L12 2z'/%3E%3C/svg%3E");
}
@media (max-width: 340px) { .barriere-reponse { white-space: normal; } }

/* Raccourci admin : en bas à droite, loin des boutons du parcours. */
.admin-saut {
  position: fixed;
  right: 12px; bottom: 12px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 12px;
  border-radius: 999px;
  background: #1d1912;
  color: #f4efe6;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 30px -12px rgba(28, 22, 14, 0.6);
}
.admin-saut select {
  max-width: 220px;
  padding: 5px 8px;
  border: 1px solid rgba(244, 239, 230, 0.2);
  border-radius: 999px;
  background: #2a251c;
  color: #f4efe6;
  font: inherit;
}

/* « Se déconnecter » : mêmes marges et même taille que les autres liens de l'en-tête. */
.head-nav .head-lien {
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--text-2);
}
.head-nav .head-lien:hover { background: var(--bg-2); color: var(--text); }
/* Écarts réguliers entre tous les éléments de l'en-tête. */
.head-nav { gap: 6px; }
.head-nav > a, .head-nav > button { margin-left: 0; margin-right: 0; }
.head-nav .head-lien { white-space: nowrap; }
/* Sur téléphone, « Se déconnecter » reste dans « Mon espace » : trois boutons ne tiennent pas. */
@media (max-width: 560px) { body:has(.f-hero) .head-nav .head-lien { display: none; } }
