/* =============================================
   NOTAM WATCHES — guide.css v2
   Guides (vendre / acheter) et pages marques
   ============================================= */

.guide-wrap { max-width: 780px; margin-inline: auto; }
.guide-meta { margin-bottom: 2rem; font-size: var(--fs-xs); letter-spacing: 0; color: var(--fg-muted); }
.guide-summary {
  margin-bottom: 2.5rem;
  padding: 1.75rem 2rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.guide-summary h2 { margin-bottom: .75rem; font-size: var(--fs-lg); }
.guide-summary p { max-width: none; margin-bottom: .75rem; color: var(--fg); }
.guide-summary p:last-child { margin-bottom: 0; }
.guide-toc { margin-bottom: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guide-toc strong { display: block; margin-bottom: .75rem; font-size: .875rem; font-weight: var(--fw-medium); letter-spacing: 0; color: var(--fg-muted); }
.guide-toc ol { display: flex; flex-direction: column; gap: .35rem; padding-left: 1.25rem; list-style: decimal; }
.guide-toc a { font-size: var(--fs-sm); color: var(--fg); text-decoration: underline; text-decoration-color: var(--rose-ash); text-underline-offset: 3px; }
.guide-toc a:hover { text-decoration-color: currentColor; }
.guide-body h2 { margin: 3.5rem 0 1rem; font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem); scroll-margin-top: calc(var(--nav-h) + 1.5rem); }
.guide-body h3 { margin: 2rem 0 .5rem; font-size: 1.25rem; }
.guide-body p { max-width: none; margin-bottom: 1rem; color: var(--fg); }
.guide-body a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.guide-list { display: flex; flex-direction: column; gap: .5rem; margin: 0 0 1.25rem; }
.guide-list li { position: relative; padding-left: 1.5rem; color: var(--fg); }
.guide-list li::before {           /* tiret fin au lieu de la puce ronde */
  content: '';
  position: absolute;
  left: 0;
  top: .9em;
  width: 10px;
  height: 1px;
  background: var(--rose-ash);
}
.guide-steps { display: flex; flex-direction: column; margin: 1.5rem 0; counter-reset: step; }
.guide-steps li {
  position: relative;
  padding: 1.25rem 0 1.25rem 3.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
  counter-increment: step;
}
.guide-steps li:last-child { border-bottom: none; }
.guide-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.2rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: var(--fw-regular);
  line-height: 1;
  color: var(--color-heading);
  font-variant-numeric: lining-nums;
}
.guide-steps strong { display: block; margin-bottom: .25rem; color: var(--fg); }
.guide-table-wrap { margin: 1.5rem 0 1rem; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); }
.guide-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.guide-table th, .guide-table td { padding: .875rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.guide-table tr:last-child th, .guide-table tr:last-child td { border-bottom: none; }
.guide-table thead th { background: var(--color-bg-alt); font-size: .875rem; font-weight: var(--fw-medium); letter-spacing: 0; text-transform: none; color: var(--fg-muted); }
.guide-table tbody th { font-weight: var(--fw-medium); color: var(--fg); }
.guide-table td { color: var(--fg); }
.guide-table tr.is-highlight { background: var(--color-bg-alt); }
.guide-table--compact { min-width: 0; }
.guide-table--compact tbody th { width: 32%; }
.guide-note { font-size: var(--fs-xs); color: var(--fg-muted); }

/* Encadré oxblood : couleurs, titres et boutons inversés par les variables de contexte (styles.css) */
.guide-cta-box { margin: 3.5rem 0 1rem; padding: 2.25rem 2rem; background: var(--oxblood); border-radius: var(--radius-md); }
.guide-cta-box h2 { margin: 0 0 1rem; }
.guide-cta-box p { color: var(--fg-muted); }
.guide-cta-box .guide-list li { color: var(--fg); }
.guide-cta-box .guide-list li::before { background: var(--amber); }
.guide-cta-box .btn-group { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }

/* ---- Pages marques ---- */
.model-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.5rem 0 1rem; }
.model-card { padding: 1.5rem; background: var(--color-bg); border: 1px solid var(--line); border-radius: var(--radius-md); }
.guide-body .model-card h3 { margin: 0 0 .5rem; font-size: 1.25rem; }
.guide-body .model-card p { margin: 0; font-size: var(--fs-sm); }
.brand-grid-empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--color-bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--fg-muted);
}
.brand-grid-empty p { margin: 0 auto 1.25rem; }
.brand-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin-top: 2.5rem; font-size: var(--fs-sm); }
.brand-links a { color: var(--fg-muted); text-decoration: underline; text-underline-offset: 3px; }
.brand-links a:hover { color: var(--fg); }

@media (max-width: 768px) {
  .guide-summary { padding: 1.375rem 1.25rem; }
  .guide-cta-box { padding: 1.75rem 1.25rem; }
  .guide-cta-box .btn-group { flex-direction: column; align-items: flex-start; }
  .model-grid { grid-template-columns: 1fr; }
}
