/* Comparatifs des guides : palette et typographie du thème AF Tailleur. */
.af-choice-guide .article-hero { min-height: 0; display: block; padding: 80px 0 46px; }
.af-choice-guide .article-hero-inner { padding-bottom: 0; }
.af-choice-guide .article-hero-meta { font-size: 14px; letter-spacing: .04em; color: #e8e1d7; }
.af-choice-guide .article-cover { margin-top: 0; }
.af-choice-guide .article-cover::after { display: none; }
.af-choice-guide .article-reading { padding: 48px 0 80px; }
.af-choice-guide .article-layout { display: block; width: min(100% - 40px, 980px); max-width: 980px; }
.af-choice-guide .article-facts { margin-bottom: 34px; font-size: 14px; }
.af-choice-guide .article-facts .article-facts-label { font-size: 12px; }
.af-choice-guide .article-appointment { margin-top: 46px; }
.af-choice-guide .article-appointment p:not(.eyebrow) { font-size: 16px; }
.af-choice-guide .article-hero h1 { max-width: 1040px; font-size: clamp(38px, 5.1vw, 68px); }
.af-choice-guide .article-cover-frame { height: auto; max-height: 380px; aspect-ratio: 3 / 1; }
.af-choice-guide .article-cover-frame img { width: 100%; height: 100%; object-fit: cover; }
.af-choice-guide .article-main { min-width: 0; }
.af-choice-guide .article-content { max-width: 980px; }
.af-guide-toc { padding: 28px 32px; margin: 32px 0 48px; background: #f4eee4; border-left: 3px solid #8a5a38; font-family: var(--sans, sans-serif); }
.af-guide-toc p { margin: 0 0 14px; font-size: 18px; color: #091a2a; }
.af-guide-toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 30px; }
.af-guide-toc li { break-inside: avoid; margin: 0 0 10px; font-size: 16px; line-height: 1.5; }
.af-choice-guide h2[id] { scroll-margin-top: 130px; }
.af-guide-comparison { margin: 25px 0 35px; overflow: visible; }
.af-guide-comparison table { width: 100%; border-collapse: collapse; table-layout: fixed; font: 16px/1.65 var(--sans, sans-serif); color: #24303b; }
.af-guide-comparison caption { text-align: left; font-size: 14px; line-height: 1.5; color: #62615c; margin-bottom: 12px; }
.af-guide-comparison thead th { background: #091a2a; color: #fffdf9; font-weight: 600; text-align: left; padding: 16px; border: 1px solid #25394a; }
.af-guide-comparison thead th:first-child { width: 25%; }
.af-guide-comparison tbody th, .af-guide-comparison td { padding: 18px 16px; vertical-align: top; text-align: left; border: 1px solid #ddd7cc; overflow-wrap: anywhere; }
.af-guide-comparison tbody th { color: #091a2a; font-weight: 600; }
.af-guide-comparison tbody tr:nth-child(even) { background: #f7f3ec; }
.af-guide-comparison tbody tr:nth-child(odd) { background: #fffdf9; }
.af-guide-links { padding: 70px 0; border-top: 1px solid #ddd7cc; }
.af-guide-links h2 { font: 400 clamp(30px, 3vw, 44px)/1.15 var(--serif, Georgia, serif); color: #091a2a; max-width: 780px; margin: 16px 0; }
.af-guide-links > .shell > p:not(.eyebrow) { font-size: 17px; line-height: 1.65; max-width: 780px; }
.af-guide-links-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.af-guide-links-grid a { display: flex; flex-direction: column; gap: 14px; padding: 26px; border: 1px solid #d6c9b7; color: #091a2a; text-decoration: none; min-height: 185px; transition: background .2s; }
.af-guide-links-grid a:hover { background: #efe5d5; }
.af-guide-links-grid a > span:first-child { font: 600 14px/1.4 var(--sans, sans-serif); text-transform: uppercase; letter-spacing: .09em; color: #785033; }
.af-guide-links-grid strong { font: 400 26px/1.18 var(--serif, Georgia, serif); }
.af-guide-links-grid a > span:last-child { margin-top: auto; font-size: 21px; }
.footer-guides { padding-top: 26px; padding-bottom: 30px; border-top: 1px solid #ffffff2e; }
.footer-guides > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 24px; }
.footer-guides a { color: #e8e1d7; font-size: 15px; line-height: 1.5; padding: 7px 0; text-underline-offset: 4px; }
.af-guide-toc a:focus-visible, .af-guide-links a:focus-visible, .footer-guides a:focus-visible { outline: 2px solid #a66f40; outline-offset: 4px; }
.af-guide-advice { margin: 24px 0 38px; padding: 22px 26px; background: #f5eee4; border-left: 3px solid #8a5a38; border-radius: 0 4px 4px 0; }
.af-choice-guide .article-content .af-guide-advice p { margin: 0; font: 400 16px/1.7 var(--sans, sans-serif); color: #29343d; }
.af-choice-guide .article-content .af-guide-advice .af-guide-advice-title { margin-bottom: 9px; font: 400 25px/1.25 var(--serif, Georgia, serif); color: #785033; }
.af-guide-comparison tr[id] { scroll-margin-top: 145px; }
.af-guide-comparison tr:target > th, .af-guide-comparison tr:target > td { background: #f7e2bb; color: #091a2a; }
.af-guide-comparison tr:target { outline: 2px solid #946035; outline-offset: 2px; }
.pricing-guide-link { color: inherit; text-decoration: underline; text-decoration-color: #b39168; text-underline-offset: 4px; }
.pricing-guide-link:hover { text-decoration-thickness: 2px; }
.pricing-guide-link:focus-visible { outline: 2px solid #c9a474; outline-offset: 4px; }
@media (max-width: 760px) {
  .af-guide-toc { padding: 22px; }
  .af-guide-toc ol { columns: 1; }
  .af-choice-guide .article-cover-frame { aspect-ratio: 16 / 9; }
  .af-guide-links-grid { grid-template-columns: 1fr; }
  .af-guide-links-grid a { min-height: 150px; }
  .footer-guides > div { grid-template-columns: 1fr; }
  .af-guide-comparison table, .af-guide-comparison tbody { display: block; }
  .af-guide-comparison thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .af-guide-comparison tbody tr { display: block; border: 1px solid #d6c9b7; margin-bottom: 18px; }
  .af-guide-comparison tbody th { display: block; width: auto; background: #091a2a; color: #fffdf9; padding: 14px 18px; border: 0; }
  .af-guide-comparison td { display: block; width: auto; padding: 15px 18px; border: 0; border-top: 1px solid #ddd7cc; }
  .af-guide-comparison td::before { content: attr(data-label); display: block; color: #785033; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
}

/* Les visuels de pages restent entiers, y compris les schémas de coupe. */
.af-guide-page .article-cover-frame { max-height: 440px; aspect-ratio: 16 / 7; background: #efe8dc; }
.af-guide-page .article-cover-frame img { object-fit: contain; }
.af-guide-breadcrumb { margin-bottom: 24px; font: 14px/1.6 var(--sans, sans-serif); color: #e8e1d7; }
.af-guide-breadcrumb a { color: inherit; text-underline-offset: 4px; }
@media (min-width: 1000px) { .af-guide-links-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
@media (max-width: 760px) { .af-guide-page .article-cover-frame { aspect-ratio: 4 / 3; } }

.af-guide-page .article-hero { padding-top: 180px; }
@media (max-width: 1240px) { .af-guide-page .article-hero { padding-top: 140px; } }
@media (max-width: 980px) { .af-guide-page .article-hero { padding-top: 120px; } }
