/* ==========================================================================
   Assurance Provisoire — interface 2026 : pages de contenu
   Fil d'ariane, titre de page, article avec colonne latérale, encadrés, bloc de
   prix, navigation entre durées. Chargée en plus de ap.css sur les pages produit
   et durée (lot 3), puis sur les autres pages de contenu (lots 4 à 8).
   ========================================================================== */

/* ---------- Fil d'ariane ---------- */
.crumb { padding-top: 16px; font-size: 13px; color: var(--muted); }
.crumb ol { display: flex; flex-wrap: wrap; gap: 2px 0; }
.crumb li + li::before { content: "/"; margin: 0 8px; color: #aab5c2; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; text-decoration-color: var(--sky); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.crumb [aria-current="page"] { color: var(--ink); }

/* ---------- Titre de page ---------- */
.head { padding: 24px 0 8px; }
.head h1 { font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; max-width: 22ch; }
.head .lead { max-width: 56ch; }

/* ---------- Article et colonne latérale ---------- */
.page { padding: 24px 0 56px; }
.page__grid { display: grid; gap: 48px; }

.art > * + * { margin-top: 14px; }
.art h2 { margin-top: 38px; font-size: 24px; }
.art h3 { margin-top: 24px; font-size: 18px; }
.art p, .art li { max-width: 66ch; }
.art > p:first-child { font-size: 16px; }
.art ul:not([class]) { margin-top: 12px; }
.art ul:not([class]) li { position: relative; padding-left: 18px; margin-top: 8px; }
.art ul:not([class]) li::before { content: "–"; position: absolute; left: 0; color: var(--muted); }
.art a:not([class]) { text-decoration: underline; text-decoration-color: var(--sky); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.art .faq h3, .art .steps h3 { margin-top: 0; }
.art > h2:first-child { margin-top: 0; }

/* Liste numérotée simple (les listes sont réinitialisées dans ap.css) */
.art ol:not([class]) { counter-reset: puce; margin-top: 12px; }
.art ol:not([class]) li { counter-increment: puce; position: relative; padding-left: 28px; margin-top: 8px; }
.art ol:not([class]) li::before { content: counter(puce) "."; position: absolute; left: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Encadrés (remplacent les cartes) */
.notes { display: grid; gap: 12px; }
.note { background: var(--soft); border-radius: 12px; padding: 18px 20px; }
.note > * + * { margin-top: 10px; }
.note h3 { margin-top: 0; font-size: 16px; }
.note p, .note li { font-size: 15px; }
.note ul { margin-top: 8px; }
.note li { position: relative; padding-left: 18px; margin-top: 6px; }
.note li::before { content: "–"; position: absolute; left: 0; color: var(--muted); }
.note--alert { background: #fff; border: 1.5px solid var(--navy); }
.note .btn { margin-top: 16px; }

/* Bloc de prix d'une page durée */
.offer { border: 1px solid var(--line-strong); border-radius: 16px; padding: 22px 20px; }
.offer > * + * { margin-top: 0; }
.offer__tag { font-size: 13px; font-weight: 500; color: var(--muted); }
.offer__name { margin-top: 2px; font-size: 18px; }
.offer__price { margin-top: 14px; font-size: 40px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.offer__per { margin-top: 6px; font-size: 14px; color: var(--muted); }
.offer .ticks { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.offer__desc { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Liste de points validés */
.ticks li { position: relative; padding-left: 20px; margin-top: 8px; font-size: 15px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; font-weight: 600; }
.art .ticks li::before { color: var(--ink); }

/* Sujets : titre et texte séparés par des filets (remplacent la grille de cartes) */
.topics { border-top: 1px solid var(--line); }
.topics > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.topics h3 { margin: 0; font-size: 17px; }
.topics p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.topics p a { color: var(--ink); font-weight: 500; }

/* Caractéristiques : libellé et valeur */
.spec { border-top: 1px solid var(--line); }
.spec > div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 14px; color: var(--muted); }
.spec dd { margin: 0; font-weight: 600; }

/* Navigation entre durées */
.pager { margin-top: 40px; border-top: 1px solid var(--line-strong); display: grid; grid-template-columns: 1fr 1fr; }
.pager a, .pager div { padding: 18px 0; text-decoration: none; }
.pager small { display: block; font-size: 13px; color: var(--muted); }
.pager strong { display: block; font-size: 17px; font-weight: 600; }
.pager span { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pager__next { text-align: right; }
.pager a:hover strong { text-decoration: underline; text-decoration-color: var(--sky); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pager__all { grid-column: 1 / -1; padding: 0 0 18px !important; font-size: 15px; font-weight: 500; }
.art .pager__all { text-decoration: underline; text-decoration-color: var(--sky); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Colonne latérale */
.aside > * + * { margin-top: 28px; }
.aside h2 { font-size: 17px; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.aside .links { margin-top: 10px; border-top: 1px solid var(--line); }
.aside .links a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.aside .links a:hover { text-decoration: underline; text-decoration-color: var(--sky); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.aside p { font-size: 15px; margin-top: 8px; }
.aside .muted { color: var(--muted); }

/* Section de fin de page produit */
.closing { background: var(--soft); padding: 44px 0; }
.closing p { margin-top: 8px; color: var(--muted); max-width: 52ch; }
.closing .btn { display: inline-flex; margin-top: 22px; }
.closing__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.closing__actions .btn { margin-top: 0; }

/* ---------- Tablette ---------- */
@media (min-width: 600px) {
  .head h1 { font-size: 38px; }
  .spec { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .notes { grid-template-columns: 1fr 1fr; }
}

/* ---------- Ordinateur ---------- */
@media (min-width: 960px) {
  .head { padding-top: 40px; }
  .head h1 { font-size: 48px; }
  .page { padding: 32px 0 96px; }
  .page__grid { grid-template-columns: minmax(0, 1fr) 280px; column-gap: 80px; align-items: start; }
  .art h2 { margin-top: 48px; font-size: 28px; }
  .art > p:first-child { font-size: 17px; }
  .art > * + * { margin-top: 16px; }
  .aside > * + * { margin-top: 36px; }
  .closing { padding: 96px 0; }
  .offer { padding: 28px 28px; }
}

/* ---------- Pages d'erreur 404 et 410 ---------- */
.erreur { max-width: 640px; }
.erreur__code { font-size: 14px; font-weight: 500; color: var(--muted); }
.erreur h1 { margin-top: 6px; font-size: 32px; line-height: 1.1; letter-spacing: -0.02em; }
.erreur .lead { max-width: 46ch; }
.erreur .btn { display: inline-flex; width: auto; padding: 0 28px; }
.erreur h2 { margin-top: 44px; margin-bottom: 8px; font-size: 20px; }
@media (min-width: 960px) { .erreur h1 { font-size: 44px; } }
