/* Feuille de style des pages SEO générées par seo/build.mjs.
   S’ajoute à theme.css : mêmes tokens (crème, brun, corail), aucune dépendance,
   aucun JavaScript. Mobile-first sur les points qui comptent, avec un override
   de la navigation mobile (ces pages n’ont pas de bouton menu). */

a { cursor: pointer; }

/* ------------------------------------------------------------ colonne de texte */

.qa,
.offer,
.hub-intro {
  max-width: 760px;
}

.qa-body > section + section,
.qa-body > section {
  margin-top: 40px;
}

.qa-body h2 {
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.qa-body h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.qa-body p + p,
.qa-body p + ul,
.qa-body p + ol,
.qa-body ul + p,
.qa-body ol + p {
  margin-top: 14px;
}

.qa-body ul,
.qa-body ol {
  margin: 0;
  padding-left: 22px;
}

.qa-body li + li {
  margin-top: 10px;
}

.qa-body a {
  color: var(--coral-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.qa-body a:hover {
  color: var(--brown);
}

/* Les boutons dans le corps d’article gardent leur style de bouton. */
.qa-body a.btn {
  text-decoration: none;
  cursor: pointer;
}

.qa-body a.btn-coral,
.qa-body a.btn-coral:hover {
  color: #fff;
}

/* -------------------------------------------------------------- fil d’Ariane */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 22px 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.crumbs a:hover {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.crumbs [aria-current='page'] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 50ch;
}

.crumb-sep {
  color: var(--line);
}

/* ------------------------------------------------------------ en-tête de page */

.qa-head,
.offer-head {
  padding: 26px 0 30px;
}

.qa-head .eyebrow a:hover,
.offer-head .eyebrow a:hover {
  color: var(--coral);
}

.qa-head h1,
.offer-head h1,
.hub-intro h1 {
  font-size: clamp(1.9rem, 5.4vw, 2.7rem);
  letter-spacing: -1.2px;
  margin-top: 12px;
}

.qa-lede {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 16px;
}

.qa-byline {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.qa-byline a {
  font-weight: 600;
  color: var(--brown);
}

.qa-byline a:hover {
  color: var(--coral);
}

/* ---------------------------------------------------------- réponse extraite */

.answer-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--coral);
  border-radius: 10px;
  padding: 22px 24px;
  margin-bottom: 42px;
}

.answer-label {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--coral-dark);
  margin-bottom: 10px;
}

.answer-card p:last-child {
  font-size: 1.05rem;
}

/* ------------------------------------------------------- avant / après parlé */

.script-card {
  background: var(--soft);
  border-radius: 12px;
  padding: 24px;
  margin: 46px 0;
}

.script-card .eyebrow {
  color: var(--muted);
  margin-bottom: 16px;
}

.script-line {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--paper);
  border-radius: 9px;
  padding: 15px 17px;
  font-size: 1rem;
}

.script-line + .script-line {
  margin-top: 10px;
}

.script-tag {
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 800;
}

.script-before {
  color: var(--muted);
}

.script-before .script-tag {
  color: var(--muted);
}

.script-after {
  border: 1px solid var(--peach);
}

.script-after .script-tag {
  color: var(--coral-dark);
}

.script-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 16px;
}

/* --------------------------------------------------------- fenêtre concernée */

.window-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin: 46px 0;
}

.window-card .eyebrow {
  color: var(--muted);
}

.window-card h2 {
  font-size: 1.35rem;
  margin: 10px 0 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.window-duration {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--coral-dark);
  background: var(--peach);
  border-radius: 20px;
  padding: 4px 11px;
  white-space: nowrap;
}

.window-claim {
  font-size: 1.02rem;
  font-weight: 600;
}

.window-card p + p {
  margin-top: 10px;
}

.window-card .small-link {
  margin-top: 14px;
  color: var(--coral-dark);
  font-weight: 600;
}

.window-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.window-list li {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
}

.window-list h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* -------------------------------------------------------- questions fréquentes */

.faq {
  margin: 46px 0;
}

.faq h2 {
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}

.faq dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.faq dt {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.02rem;
  padding-top: 20px;
}

.faq dd {
  margin: 8px 0 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.faq dd a {
  color: var(--coral-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq dd a:hover {
  color: var(--brown);
}

/* ------------------------------------------------------------------- offre */

.cta-card {
  background: var(--brown);
  color: var(--cream);
  border-radius: 14px;
  padding: 30px 28px;
  margin: 50px 0;
}

.cta-card .eyebrow {
  color: var(--peach);
}

.cta-card h2 {
  font-size: 1.5rem;
  letter-spacing: -0.6px;
  margin: 12px 0 14px;
}

.cta-card p {
  color: #e8ddd2;
}

.cta-actions {
  margin-top: 22px;
}

.cta-actions .btn {
  width: 100%;
}

/* --------------------------------------------------------------- à lire ensuite */

.related {
  margin: 46px 0 10px;
}

.related h2 {
  font-size: 1.35rem;
  letter-spacing: -0.4px;
  margin-bottom: 16px;
}

.related-list,
.plain-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.related-list a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px 17px;
  background: var(--paper);
  transition: border-color 0.2s, transform 0.2s;
}

.related-list a:hover {
  border-color: var(--coral);
  transform: translateY(-2px);
}

.related-cluster {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}

.related-title {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.25;
}

.plain-list li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.plain-list a:hover {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.related .small-link {
  font-weight: 600;
  color: var(--coral-dark);
}

/* --------------------------------------------------------------------- hub */

.hub-intro {
  padding: 26px 0 34px;
}

.hub-lede {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 16px;
}

.hub-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hub-note a {
  font-weight: 600;
  color: var(--coral-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hub-cluster {
  margin-bottom: 54px;
  scroll-margin-top: 120px;
}

.hub-cluster .section-head {
  align-items: flex-start;
}

.hub-cluster .section-head p {
  max-width: 62ch;
}

.hub-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.hub-list a {
  display: block;
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 19px 21px;
  transition: border-color 0.2s, transform 0.2s;
}

.hub-list a:hover {
  border-color: var(--coral);
  transform: translateY(-2px);
}

.hub-q {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.22;
  letter-spacing: -0.3px;
}

.hub-a {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 9px;
}

.hub-intro + .shell .cta-card {
  margin-bottom: 0;
}

/* --------------------------------------------------------- page formation */

.module-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.module-list li {
  display: flex;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 18px 20px;
  background: var(--paper);
}

.module-index {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--coral);
  line-height: 1.2;
}

.module-list h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.module-list p {
  color: var(--muted);
  font-size: 0.925rem;
}

.deliverables {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.deliverables li {
  position: relative;
  padding-left: 30px;
}

.deliverables li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--coral);
  font-weight: 700;
}

.price-line {
  background: var(--soft);
  border-radius: 10px;
  padding: 18px 20px;
}

.price-line strong {
  font-family: var(--display);
  font-size: 1.25rem;
}

.offer .cta-actions .btn {
  width: auto;
}

/* ------------------------------------------------------------------ mobile */

@media (max-width: 800px) {
  /* Ces pages sont statiques : sans bouton menu, la nav doit rester visible. */
  .site-header .header-inner {
    flex-wrap: wrap;
    align-items: center;
    min-height: 0;
    padding-top: 14px;
    gap: 12px;
  }

  .site-header .primary-nav {
    display: flex;
    order: 2;
    width: 100%;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-header .primary-nav::-webkit-scrollbar {
    display: none;
  }

  .site-header .primary-nav > a {
    height: auto;
    padding-bottom: 13px;
  }

  .site-header .primary-nav > a.active::after {
    bottom: 0;
  }

  .qa-body > section {
    margin-top: 34px;
  }

  .qa-body h2 {
    font-size: 1.3rem;
  }

  .answer-card,
  .script-card,
  .window-card {
    padding: 19px;
  }

  .cta-card {
    padding: 24px 20px;
  }

  .hub-list {
    grid-template-columns: 1fr;
  }

  .module-list li {
    gap: 12px;
    padding: 16px;
  }

  .offer .cta-actions .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .crumbs [aria-current='page'] {
    max-width: 18ch;
  }
}

/* ------------------------------------------ pages de vente (content/courses) */

.sales-figure { margin: 28px 0; border-radius: 14px; overflow: hidden; background: var(--soft); }
.sales-figure img { width: 100%; height: auto; }
.offer-head + .sales-figure { margin-top: 8px; }
.sales-emphasis { border-left: 3px solid var(--coral); padding: 4px 0 4px 18px; font-family: var(--display); font-weight: 800; font-size: 1.12rem; line-height: 1.45; }
.qa-body .sales-emphasis { margin: 22px 0; }
.sales-check { border-radius: 12px; padding: 20px 22px; margin-top: 18px; border: 1px solid var(--line); background: var(--paper); }
.sales-check h3 { margin: 0 0 10px; }
.sales-check ul { list-style: none; padding: 0; margin: 0; }
.sales-check li { position: relative; padding-left: 28px; }
.sales-check li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.sales-check-yes li::before { content: '✓'; color: #2e7d4f; }
.sales-check-no li::before { content: '✕'; color: var(--coral); }
.sales-quotes { display: grid; gap: 16px; }
.sales-quote { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.sales-quote p { font-size: .98rem; }
.sales-quote strong { display: block; margin-top: 8px; }
.sales-quote footer { margin-top: 12px; font-size: .82rem; color: var(--muted); }
@media (min-width: 800px) { .sales-quotes { grid-template-columns: 1fr 1fr; } }

.legal-list { display: grid; grid-template-columns: 1fr; gap: 4px 24px; margin: 0; }
.legal-list dt { font-weight: 700; margin-top: 10px; }
.legal-list dd { margin: 0; color: var(--muted); }
@media (min-width: 640px) {
  .legal-list { grid-template-columns: 160px 1fr; }
  .legal-list dt, .legal-list dd { margin-top: 10px; }
}

/* ---------------------------------------------- ligne graphique Sulay */

.qa-head h1, .offer-head h1, .hub-intro h1 { font-weight: 900; letter-spacing: -0.025em; line-height: 1.05; }
.offer-head h1 { font-size: clamp(1.9rem, 6vw, 3rem); }
.qa-body h2, .faq h2, .related h2 { font-weight: 900; letter-spacing: -0.02em; }
.qa-lede { font-weight: 500; }

.answer-card { position: relative; overflow: hidden; border-radius: 20px; border-color: var(--line); box-shadow: 0 16px 40px -28px rgba(58,40,32,.5); }
.answer-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(var(--yellow), var(--coral)); }
.answer-label { color: var(--coral); font-weight: 800; letter-spacing: .18em; }

.cta-card { background: var(--sunset); color: #fff; border-radius: 24px; box-shadow: 0 22px 50px -24px rgba(243,90,48,.75); }
.cta-card .eyebrow { color: var(--brown); }
.cta-card h2 { color: #fff; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; }
.cta-card p { color: rgba(255,255,255,.94); font-weight: 600; }
.cta-card .btn-coral { background: var(--brown); color: var(--cream); box-shadow: none; }
.cta-card .btn-coral:hover { background: #fff; color: var(--coral); }

.script-card, .window-card, .window-list li, .related-list a, .hub-list a, .module-list li, .price-line, .sales-check, .sales-quote { border-radius: 18px; }
.window-card { background: var(--brown); color: var(--cream); border: 0; }
.window-card h2 { color: var(--cream); }
.window-card .eyebrow { color: var(--yellow); }
.window-card .small-link { color: var(--yellow); }
.window-duration { background: var(--yellow); color: var(--brown); font-weight: 800; }
.window-claim { font-family: var(--script); font-size: 1.6rem; line-height: 1.2; }
.module-index { color: var(--coral); font-weight: 900; }
.price-line { background: var(--nude-soft); }
.price-line strong { color: var(--coral); }
.related-list a:hover, .hub-list a:hover { border-color: var(--coral); transform: translateY(-2px); }
.related-cluster { color: var(--coral); }
.sales-figure { border-radius: 22px; }
.sales-quote p { font-weight: 600; }
.crumbs a:hover { color: var(--coral); }
