/* Signal Local : « Fiche vitrine ». Une seule audace : la fiche à cadre noir épais (l'étiquette collée sur la vitre d'une voiture neuve).
   Le reste est sobre. Polices servies par le site : Archivo (axes largeur + graisse), Source Serif 4. */

@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url('/fonts/archivo-latin-wdth-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url('/fonts/archivo-latin-ext-wdth-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url('/fonts/source-serif-4-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url('/fonts/source-serif-4-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url('/fonts/source-serif-4-latin-wght-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url('/fonts/source-serif-4-latin-ext-wght-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bitume: #2B2F36;   /* texte, titres, cadre de fiche */
  --vitre: #EEF2F4;    /* fond */
  --blanc: #FFFFFF;    /* fiches, cards */
  --marquage: #E8B10A; /* filet haut de fiche, focus, onglet actif : jamais du texte, jamais un fond */
  --pin: #1F5A4A;      /* liens */
  --brume: #5E6773;    /* texte secondaire */
  --trait: rgba(43, 47, 54, .15); /* bordure 1 px des cards, séparateurs */
  --measure-article: 820px;
  --f-titre: 'Archivo', 'Arial', sans-serif;
  --f-texte: 'Source Serif 4', 'Georgia', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0; background: var(--vitre); color: var(--bitume);
  font-family: var(--f-texte); font-size: 1.1875rem; line-height: 1.65; text-align: left;
}
/* REGLE 14 : anti-distorsion */
img { max-width: 100%; height: auto; display: block; }
.img-hero, .img-card, .img-body, .img-portrait { overflow: hidden; display: block; }
.img-hero img, .img-card img, .img-body img, .img-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.img-hero { aspect-ratio: 16 / 9; max-height: min(75vh, 44vw); width: 100%; }
.img-card, .img-body { aspect-ratio: 3 / 2; }
.img-portrait { aspect-ratio: 1 / 1; border-radius: 50%; }

/* Interface et titres : Archivo. Titres en largeur étendue 118, graisse 700 ; interface en largeur normale, graisse 500. */
h1, h2, h3, h4 { font-family: var(--f-titre); font-stretch: 118%; font-weight: 700; color: var(--bitume); line-height: 1.12; letter-spacing: -0.005em; text-wrap: balance; }
.logo__nom, .lang, .menu, .fil, .meta, .filtre, .card__cat, .card time, .sommaire__titre, .encadre__titre, .retenir__titre, summary, th, caption, button, .btn, .fiche-vitrine dt, .site-footer__liens, .skip {
  font-family: var(--f-titre); font-stretch: 100%; font-weight: 500;
}
h1 { font-size: clamp(1.8rem, 1.2rem + 2.5vw, 2.7rem); margin: 0 0 .7rem; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); margin: 2.4rem 0 .7rem; }
h3 { font-size: 1.15rem; margin: 1.8rem 0 .5rem; }
p, ul, ol { margin: 0 0 1.1rem; }
a { color: var(--pin); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--bitume); }
:focus-visible { outline: 3px solid var(--marquage); outline-offset: 1px; box-shadow: 0 0 0 1px var(--bitume); }
strong { font-weight: 600; }
.skip { position: absolute; left: -999px; top: 0; background: var(--bitume); color: var(--vitre); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* ---------- En-tête ---------- */
.site-header { background: var(--blanc); border-bottom: 1px solid var(--trait); }
.site-header__top { display: flex; align-items: center; gap: 1.25rem; max-width: 70rem; margin: 0 auto; padding: .8rem 1.25rem .5rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--bitume); }
.logo:hover { color: var(--bitume); }
.logo__mark { flex: none; }
.logo__nom { font-family: var(--f-titre); font-stretch: 118%; font-weight: 700; font-size: 1.3rem; letter-spacing: -0.005em; }
.site-header__tagline { margin: 0; flex: 1; font-size: .95rem; line-height: 1.3; color: var(--brume); font-style: italic; }
.lang { display: flex; align-items: center; gap: .45rem; font-size: .95rem; margin-left: auto; }
.lang a, .lang [aria-current] { padding: .2rem .15rem; }
.lang [aria-current] { font-weight: 700; border-bottom: 3px solid var(--marquage); }
.lang a { color: var(--bitume); }
.lang__sep { color: var(--brume); }
.menu { max-width: 70rem; margin: 0 auto; padding: 0 1.25rem; }
.menu summary { cursor: pointer; list-style: none; padding: .55rem 0 .7rem; font-size: 1rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: '+'; font-weight: 700; margin-left: .5rem; }
.menu[open] summary::after { content: '\2212'; }
.menu ul { list-style: none; margin: 0; padding: 0 0 .6rem; display: flex; flex-wrap: wrap; gap: .1rem 1.3rem; }
.menu a { display: inline-block; padding: .3rem 0; text-decoration: none; color: var(--bitume); font-size: .98rem; border-bottom: 3px solid transparent; }
.menu a:hover { border-bottom-color: var(--trait); }
.menu a[aria-current] { border-bottom-color: var(--marquage); }
@media (min-width: 900px) {
  .menu summary { display: none; }
  .menu ul { padding-top: .1rem; padding-bottom: .55rem; }
}
@media (max-width: 899px) {
  .site-header__top { flex-wrap: wrap; row-gap: .3rem; }
  .site-header__tagline { order: 3; flex-basis: 100%; font-size: .9rem; }
  .menu ul { flex-direction: column; gap: 0; }
  .menu a { padding: .55rem 0; width: 100%; }
}

/* ---------- Bandeau pleine largeur bord à bord, titre dessous ---------- */
.hero-band { margin: 0; background: var(--bitume); }
.hero-band .credit { max-width: 70rem; margin: 0 auto; padding: .4rem 1.25rem; font-size: .85rem; color: var(--vitre); }
.credit { color: var(--brume); font-size: .85rem; font-style: italic; margin: 0; }

/* ---------- Page ---------- */
.page { max-width: calc(var(--measure-article) + 2.5rem); margin: 0 auto; padding: 2rem 1.25rem 3.5rem; }
.page--simple { max-width: 46rem; }
.page-tete { margin-bottom: 1.4rem; }
.meta { margin: 0 0 1rem; font-size: .95rem; color: var(--brume); }
.fil { font-size: .9rem; margin-bottom: .9rem; }
.fil ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem .4rem; color: var(--brume); }
.fil li + li::before { content: '/'; margin-right: .4rem; }
.fil a { color: var(--brume); }
.fil a:hover { color: var(--bitume); }

.prose { max-width: var(--measure-article); }
.prose > p:first-child { font-size: 1.25rem; line-height: 1.55; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .35rem; }
.prose blockquote { margin: 1.4rem 0; padding: .2rem 0 .2rem 1rem; border-left: 3px solid var(--bitume); color: var(--brume); font-style: italic; }
.prose--util > p:first-child { font-size: inherit; line-height: inherit; }
/* Interviews (V6.5) : question en Archivo 600 Bitume, réponse en Source Serif avec léger retrait ; aucun mot isolé en couleur. */
.prose blockquote.expert-question { margin: 2rem 0 .6rem; padding: 0; border: 0; color: var(--bitume); font-family: var(--f-titre); font-style: normal; font-weight: 600; font-size: 1.1rem; line-height: 1.4; }
.prose .expert-answer { margin: 0 0 1.6rem; padding-left: 1.1rem; border-left: 1px solid var(--trait); }
.article-body { min-width: 0; overflow-wrap: break-word; }
.prose blockquote.expert-question, .prose blockquote.expert-answer { font-style: normal !important; }
.prose blockquote.expert-answer { font-size: 1rem !important; color: var(--bitume); }
.prose .expert-answer > :first-child { margin-top: 0; }
.prose .expert-answer > :last-child { margin-bottom: 0; }

/* ---------- LA FICHE : l'étiquette de vitre (seule audace du site) ---------- */
.fiche-vitrine { position: relative; margin: 0 0 2rem; max-width: var(--measure-article); background: var(--blanc); border: 4px solid var(--bitume); }
.fiche-vitrine::before { content: ''; display: block; height: .5rem; background: var(--marquage); }
.fiche-vitrine dl { margin: 0; }
.fiche-vitrine dl > div { display: grid; grid-template-columns: minmax(7.5rem, 11rem) 1fr; gap: 0 1rem; padding: .6rem 1.1rem; border-top: 1px solid var(--trait); }
.fiche-vitrine dl > div:first-child { border-top: 0; }
.fiche-vitrine dt { font-size: .98rem; color: var(--brume); padding-top: .12rem; }
.fiche-vitrine dd { margin: 0; font-family: var(--f-texte); font-size: 1.1rem; line-height: 1.45; color: var(--bitume); }
@media (max-width: 599px) {
  .fiche-vitrine dl > div { grid-template-columns: 1fr; gap: .05rem; padding: .55rem .9rem .65rem; }
}
/* Une seule animation : la fiche se pose au chargement (8 px, 300 ms). */
.pose .fiche-vitrine { animation: pose 300ms ease-out both; }
@keyframes pose { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pose .fiche-vitrine { animation: none; } }

/* ---------- Sommaire ---------- */
.sommaire, .article-sommaire { margin: 0 0 1.8rem; padding: .9rem 1.1rem; background: var(--blanc); border: 1px solid var(--trait); max-width: var(--measure-article); }
.sommaire__titre { margin: 0 0 .4rem; font-weight: 700; font-size: 1rem; }
.sommaire ul { margin: 0; padding-left: 1.1rem; font-size: 1rem; line-height: 1.5; }
.sommaire li { margin-bottom: .25rem; }

/* ---------- À retenir ---------- */
.retenir { margin: 2.2rem 0; padding: .9rem 1.2rem 1rem; background: var(--blanc); border: 1px solid var(--trait); border-left: 4px solid var(--bitume); }
.retenir__titre { margin: 0 0 .4rem; font-size: 1.15rem; font-weight: 700; font-stretch: 112%; }
.retenir ul { margin: 0; padding-left: 1.2rem; font-size: 1.1rem; }
.retenir li { margin-bottom: .3rem; }

/* ---------- Encadrés ---------- */
.encadre { margin: 1.8rem 0; padding: .8rem 1.1rem .5rem; max-width: var(--measure-article); background: var(--blanc); border: 1px solid var(--trait); border-left: 4px solid var(--bitume); }
.encadre__titre { margin: 0 0 .25rem; font-weight: 700; font-size: 1rem; }
.encadre p:last-child { margin-bottom: .5rem; }
.encadre--attention { border-left-color: var(--marquage); }
.encadre--juridique { background: transparent; border: 1px dashed var(--brume); border-left: 4px solid var(--bitume); font-size: 1rem; line-height: 1.55; }

/* ---------- Tableaux datés ---------- */
.tableau-date { margin: 1.8rem 0; max-width: 100%; }
.tableau-date__scroll { overflow-x: auto; border: 1px solid var(--bitume); background: var(--blanc); }
table { border-collapse: collapse; width: 100%; font-size: 1rem; line-height: 1.45; }
caption { text-align: left; font-weight: 700; padding: .5rem .8rem; background: var(--blanc); border-bottom: 1px solid var(--trait); }
th, td { padding: .55rem .8rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--trait); }
thead th { background: var(--bitume); color: var(--vitre); white-space: nowrap; }
tbody th { font-weight: 600; font-family: var(--f-texte); }
tbody tr:nth-child(even) { background: var(--vitre); }
.tableau-date__source { margin: .4rem 0 0; font-size: .9rem; color: var(--brume); font-style: italic; }
.prose table { min-width: 26rem; }
@media (max-width: 599px) {
  .prose table { min-width: 0; }
  th, td { padding: .45rem .55rem; font-size: .95rem; }
  thead th { white-space: normal; }
}

/* ---------- FAQ ---------- */
.faq { max-width: var(--measure-article); margin-top: 2.4rem; }
.faq__item { border-bottom: 1px solid var(--trait); }
.faq__item:first-of-type { border-top: 1px solid var(--trait); }
.faq summary { cursor: pointer; padding: .8rem 1.6rem .8rem 0; font-size: 1.05rem; line-height: 1.35; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .2rem; top: .7rem; font-weight: 700; font-size: 1.2rem; }
.faq details[open] summary::after { content: '\2212'; }
.faq__item p { margin: 0 0 1rem; }

/* ---------- Images dans le corps ---------- */
.fig { margin: 1.8rem 0; }
.fig figcaption { font-size: .9rem; color: var(--brume); font-style: italic; margin-top: .4rem; }

/* ---------- Cards (blog, accueil) ---------- */
.filtre { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.4rem; }
.filtre[hidden] { display: none; }
.filtre__btn { font-size: .95rem; padding: .5rem .8rem .45rem; background: var(--blanc); color: var(--bitume); border: 1px solid var(--trait); border-top: 4px solid transparent; border-radius: 0; cursor: pointer; }
.filtre__btn:hover { border-color: var(--bitume); border-top-color: var(--trait); }
.filtre__btn[aria-pressed="true"] { border-color: var(--bitume); border-top-color: var(--marquage); font-weight: 700; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); gap: 1.6rem 1.4rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.card { background: var(--blanc); border: 1px solid var(--trait); border-radius: 0; box-shadow: none; }
.card[hidden] { display: none; }
.card .img-card { border-bottom: 1px solid var(--trait); }
.card__corps { padding: .8rem 1rem 1rem; }
.card__cat { margin: 0; font-size: .88rem; color: var(--brume); }
.card__titre { margin: .15rem 0 .4rem; font-size: 1.12rem; line-height: 1.22; font-stretch: 112%; }
.card__titre a { color: var(--bitume); text-decoration: none; }
.card__titre a:hover { text-decoration: underline; }
.card__resume { margin: 0 0 .6rem; font-size: 1rem; line-height: 1.5; color: var(--brume); }
.card time { display: block; font-size: .85rem; color: var(--brume); }
.zone-cards { max-width: 70rem; margin: 0 auto; padding: 2rem 1.25rem 3rem; }

/* ---------- Boutons ---------- */
.btn { display: inline-block; font-size: 1rem; padding: .65rem 1.2rem; background: var(--bitume); color: var(--vitre); text-decoration: none; border: 0; border-radius: 0; cursor: pointer; }
.btn:hover { background: #1c1f24; color: var(--blanc); }
.btn:disabled { opacity: .6; cursor: wait; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--bitume); color: var(--vitre); }
.site-footer__in { max-width: 70rem; margin: 0 auto; padding: 2rem 1.25rem 2.4rem; }
.site-footer__nom { margin: 0 0 .3rem; font-family: var(--f-titre); font-stretch: 118%; font-weight: 700; font-size: 1.3rem; }
.site-footer__mention { margin: 0 0 1rem; max-width: 40rem; font-size: 1rem; line-height: 1.5; }
.site-footer__liens { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; list-style: none; margin: 0 0 1rem; padding: 0; font-size: .95rem; }
.site-footer__editeur { margin: 0; font-size: .95rem; }
.site-footer a { color: var(--vitre); text-decoration-color: var(--brume); }
.site-footer a:hover { color: var(--blanc); text-decoration-color: var(--blanc); }
.site-footer :focus-visible { box-shadow: 0 0 0 1px var(--vitre); }

@media print { .site-header, .site-footer, .filtre { display: none; } body { background: #fff; } }

/* ---------- Formulaire de contact ---------- */
.contact-form { max-width: 34rem; margin: 1.6rem 0 2rem; }
.contact-form__ligne { margin: 0 0 1rem; display: flex; flex-direction: column; gap: .3rem; }
.contact-form label { font-family: var(--f-titre); font-weight: 500; font-size: 1rem; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form select, .contact-form textarea {
  width: 100%; padding: .6rem .75rem; font: inherit; font-size: 1.05rem; color: var(--bitume); background: var(--blanc); border: 1px solid var(--bitume); border-radius: 0; }
.contact-form textarea { resize: vertical; }
.contact-form__piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#contact-status { margin: .9rem 0 0; font-family: var(--f-titre); font-weight: 500; min-height: 1.5rem; }
#contact-status.ok { color: #1d5a2f; }
#contact-status.erreur { color: #9b1c27; }

/* ---------- Accueil ---------- */
.accueil-tete { max-width: 70rem; margin: 0 auto; padding: 2rem 1.25rem 1rem; }
.accueil-tete h1 { max-width: 44rem; }
.accueil-tete .chapeau { max-width: 44rem; font-size: 1.25rem; line-height: 1.55; }
.section-cards { max-width: 70rem; margin: 0 auto; padding: 1.2rem 1.25rem 1rem; }
.section-cards h2 { margin-top: 1.4rem; }
.section-cards .retenir { max-width: 44rem; }
.section-cards__plus { margin: -.6rem 0 2rem; }
.section-cards .methode { max-width: 42rem; }
.blog-vide { margin: 1rem 0; color: var(--brume); font-style: italic; }

/* ---------- Références ---------- */
.references { max-width: var(--measure-article); margin-top: 2.4rem; }
.references ol { padding-left: 1.4rem; font-size: 1rem; line-height: 1.5; color: var(--brume); }
.references li { margin-bottom: .45rem; overflow-wrap: anywhere; }
.references a { color: var(--pin); }
