/* Marques de Chaussures — vitrine de chausseur : noir laqué, crème, semelle gomme. Polices auto-hébergées, aucune ressource externe. */
@font-face { font-family: "DM Serif Display"; src: url("dm-serif-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("dm-serif-display-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("dm-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("dm-sans-latin-wght-italic.woff2") format("woff2"); font-weight: 100 1000; font-style: italic; font-display: swap; }

:root {
  --papier: #F3F0EA;
  --encre: #121212;
  --encre-douce: #5C5852;
  --trait: #DCD6CC;
  --gomme: #B8622F;
  --nuit: #121212;
  --soleil: #B8622F;

  --titres: "DM Serif Display", Georgia, serif;
  --texte: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --mesure: 40rem;
  --large: 78rem;
  --marge: clamp(1rem, 4vw, 2.5rem);
  --couture: repeating-linear-gradient(90deg, var(--gomme) 0 14px, transparent 14px 20px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--encre); font: 400 1.04rem/1.72 var(--texte); -webkit-font-smoothing: antialiased; }
img, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--gomme); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--encre); }
:focus-visible { outline: 3px solid var(--gomme); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--titres); font-weight: 600; line-height: 1.14; margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: -999px; top: 0; background: var(--encre); color: var(--papier); padding: 0.6rem 1rem; z-index: 10; }
.evitement:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- En-tête : bandeau sombre, nom du titre en capitales étroites, couture dessous ---------- */
.entete { background: var(--nuit); color: var(--papier); padding: clamp(1rem, 2.5vw, 1.6rem) var(--marge) 0; position: relative; }
.entete::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 4px; background: var(--couture); }
.entete-haut { max-width: var(--large); margin: 0 auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.marque { display: flex; flex-direction: column; color: var(--papier); text-decoration: none; }
.marque:hover { color: var(--papier); }
.marque-nom { font-family: var(--titres); font-weight: 700; font-style: italic; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 0.95; letter-spacing: -0.01em; }
.marque-baseline { font-style: normal; letter-spacing: 0.02em; font-size: 1rem !important; color: var(--gomme) !important; font-size: clamp(0.95rem, 1.4vw, 1.1rem); color: var(--gomme); margin-top: 0.5rem; }
.rubriques { max-width: var(--large); margin: 1rem auto 0; padding-bottom: 1.1rem; }
.rubriques ul, .menu-mobile ul { list-style: none; margin: 0; padding: 0; }
.rubriques ul { display: flex; flex-wrap: wrap; column-gap: 1.6rem; row-gap: 0.2rem; padding-top: 0.7rem; border-top: 1px solid rgba(244, 239, 228, 0.22); }
.rubriques a, .menu-mobile a { font-family: var(--texte); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--papier); text-decoration: none; }
.rubriques a:hover, .rubriques a[aria-current] { color: var(--gomme); }
.rubriques-plus a { color: var(--gomme); }
.menu-mobile { display: none; }
@media (max-width: 760px) {
  .rubriques { display: none; }
  .entete { padding-bottom: 1.4rem; }
  .menu-mobile { display: block; position: relative; }
  .menu-mobile summary { font-family: var(--titres); font-weight: 400; font-size: 1.1rem; cursor: pointer; list-style: none; padding: 0.4rem 0.9rem; border: 1px solid var(--gomme); color: var(--papier); }
  .menu-mobile summary::-webkit-details-marker { display: none; }
  .menu-mobile[open] summary { background: var(--gomme); color: var(--encre); }
  .menu-mobile ul { position: absolute; right: 0; top: calc(100% + 0.6rem); background: var(--encre); border: 1px solid var(--gomme); padding: 0.4rem 1rem; min-width: 15rem; z-index: 5; }
  .menu-mobile li + li { border-top: 1px solid rgba(124, 154, 110, 0.5); }
  .menu-mobile a { display: block; padding: 0.55rem 0; }
}

main { max-width: var(--large); margin: 0 auto; padding: clamp(1.75rem, 4vw, 3rem) var(--marge) 4.5rem; }

/* ---------- Cartes : vignette à gauche, texte à droite ---------- */
.carte { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
.carte.avec-image { grid-template-columns: 1fr; }
.carte-image { order: -1; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--trait); }
@media (min-width: 560px) {
  .liste .carte.avec-image:not(.carte-une) { grid-template-columns: 9.5rem 1fr; gap: 1.2rem; align-items: start; }
  .liste .carte.avec-image:not(.carte-une) .carte-image { aspect-ratio: 1; }
}
.carte-rubrique { font-family: var(--texte); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gomme); text-decoration: none; display: inline-block; margin-bottom: 0.25rem; }
.carte-titre { font-size: 1.45rem; font-weight: 400; }
.carte-titre a { color: var(--encre); text-decoration: none; }
.carte-titre a:hover { color: var(--gomme); }
.carte-resume { margin: 0.45rem 0 0; color: var(--encre-douce); font-size: 0.98rem; line-height: 1.55; }
.carte-date { margin: 0.45rem 0 0; font-size: 0.85rem; font-style: italic; color: var(--encre-douce); }
.liste { display: grid; gap: 2rem 3rem; }
@media (min-width: 900px) { .liste { grid-template-columns: repeat(2, 1fr); } }
.liste > .carte { padding-bottom: 2rem; border-bottom: 1px solid var(--trait); }
.liste-compacte { grid-template-columns: 1fr !important; gap: 0; }
.liste-compacte > .carte { padding: 0.9rem 0; }
.carte-compact .carte-titre { font-size: 1.35rem; }

/* ---------- Accueil ---------- */
.accueil-une { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 980px) { .accueil-une { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 3rem; } }
.carte-une .carte-titre { font-size: clamp(2.1rem, 4.2vw, 3.3rem); font-weight: 400; line-height: 1.08; }
.carte-une .carte-resume { font-size: 1.12rem; color: var(--encre); margin-top: 0.9rem; }
.carte-une .carte-image { aspect-ratio: 16 / 9; }
.accueil-suivants { background: #fff; padding: 1.2rem 1.4rem; align-self: start; box-shadow: inset 0 0 0 1px var(--trait); }
.accueil-suivants h2, .a-lire h2 { font-size: 1.5rem; padding-bottom: 0.6rem; position: relative; }
.accueil-suivants h2::after, .a-lire h2::after, .accueil-rubrique h2::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--couture); }
.accueil-suivants .carte-compact + .carte-compact { border-top: 1px solid var(--trait); }
.accueil-rubrique { padding-top: 2.5rem; }
.accueil-rubrique h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); padding-bottom: 0.7rem; margin-bottom: 1.6rem; position: relative; }
.accueil-rubrique h2 a { color: var(--encre); text-decoration: none; }
.accueil-rubrique h2 a:hover { color: var(--gomme); }
@media (min-width: 900px) { .liste-trois { grid-template-columns: repeat(3, 1fr); } .liste-trois .carte.avec-image { grid-template-columns: 1fr !important; } .liste-trois .carte-image { aspect-ratio: 3 / 2 !important; } }
.a-lire-tout { margin: 1rem 0 0; font-family: var(--titres); font-weight: 400; font-size: 1.1rem; }

/* ---------- Listes ---------- */
.liste-entete { padding-bottom: 2rem; }
.liste-entete h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 400; line-height: 1.05; }
.liste-intro { margin: 0.5rem 0 0; color: var(--encre-douce); font-style: italic; }
.sous-rubriques { list-style: none; padding: 0; margin: 1.1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sous-rubriques a { display: inline-block; font-family: var(--titres); font-weight: 400; font-size: 1.05rem; text-decoration: none; color: var(--encre); border: 1px solid var(--gomme); padding: 0.2rem 0.8rem; }
.sous-rubriques a:hover { background: var(--encre); color: var(--papier); }
.pagination ul { list-style: none; padding: 0; margin: 3rem 0 0; display: flex; gap: 1.5rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.pagination a { font-family: var(--titres); font-weight: 400; font-size: 1.15rem; color: var(--papier); background: var(--encre); padding: 0.45rem 1.2rem; text-decoration: none; }
.pagination a:hover { background: var(--gomme); }
.pagination-etat { font-style: italic; color: var(--encre-douce); }

/* ---------- Fil d'Ariane ---------- */
.ariane ol { list-style: none; margin: 0 0 1.2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 0.5rem; font-size: 0.88rem; color: var(--encre-douce); }
.ariane li + li::before { content: "/"; margin-right: 0.5rem; color: var(--gomme); }
.ariane a { color: var(--encre-douce); }

/* ---------- Article ---------- */
.article { max-width: var(--mesure); margin: 0 auto; }
.article-entete h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); font-weight: 400; line-height: 1.1; }
.article-meta { font-size: 0.92rem; font-style: italic; color: var(--encre-douce); margin: 1rem 0 0; padding-bottom: 1.2rem; position: relative; }
.article-meta::after { content: ""; position: absolute; left: 0; width: 8rem; bottom: 0; height: 2px; background: var(--couture); }
.article-maj { display: block; }
.article-image { margin: 2rem calc(-1 * min(5rem, var(--marge))) 0; }
.article-image img { width: 100%; max-height: 30rem; object-fit: cover; }
.article-corps { margin-top: 2rem; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.article-corps > * { margin: 0 0 1.15em; }
.article-corps h2 { font-size: 1.75rem; margin: 1.9em 0 0.5em; }
.article-corps h3 { font-size: 1.35rem; margin: 1.6em 0 0.4em; color: var(--gomme); }
.article-corps h4 { font-size: 1.3rem; margin: 1.4em 0 0.4em; }
.article-corps ul, .article-corps ol { padding-left: 1.3em; }
.article-corps li { margin-bottom: 0.4em; }
.article-corps li::marker { color: var(--gomme); }
.article-corps blockquote { margin: 2em 0; padding: 0.4rem 0 0.4rem 1.3rem; border-left: 3px solid var(--gomme); font-style: italic; }
.article-corps figure { margin: 2em 0; }
.article-corps figcaption { font-size: 0.9rem; font-style: italic; color: var(--encre-douce); margin-top: 0.5rem; }
.article-corps table { width: 100%; border-collapse: collapse; font-size: 0.96rem; display: block; overflow-x: auto; }
.article-corps th, .article-corps td { text-align: left; padding: 0.55rem 0.8rem; border-bottom: 1px solid var(--trait); vertical-align: top; }
.article-corps th { font-family: var(--titres); font-size: 1.1rem; border-bottom: 2px solid var(--encre); }
.article-corps hr { border: 0; height: 2px; background: var(--couture); margin: 2.5em 0; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; background: var(--encre); }
.lecteur iframe { width: 100%; border: 0; }
.a-lire { max-width: var(--mesure); margin: 4rem auto 0; }

/* ---------- Pied ---------- */
.pied { background: var(--encre); color: var(--papier); padding: 3rem var(--marge); position: relative; }
.pied::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 4px; background: var(--couture); }
.pied-interieur { max-width: var(--large); margin: 0 auto; display: grid; gap: 1.3rem; }
.pied a { color: var(--papier); }
.pied a:hover { color: var(--gomme); }
.pied-marque { margin: 0; max-width: 32em; }
.pied-marque .marque-nom { font-size: 2.4rem; display: block; margin-bottom: 0.3rem; }
.pied-liens { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; font-family: var(--titres); font-weight: 400; font-size: 1.1rem; }
.pied-contact { margin: 0; font-size: 0.95rem; }
.pied-mention { margin: 0; font-size: 0.82rem; color: rgba(244, 239, 228, 0.7); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print { .entete nav, .menu-mobile, .a-lire, .pied { display: none; } body { background: #fff; } }

/* une piste de grille ne doit jamais s'élargir à la taille intrinsèque d'une image */
.carte, .carte.avec-image { grid-template-columns: minmax(0, 1fr); }
.carte > * { min-width: 0; }




/* piqûre de semelle sous l'en-tête et au-dessus du pied */
.entete::after { bottom: 6px; height: 3px; }
.pied::before { top: 6px; height: 3px; }
.marque-nom { font-weight: 400; font-style: italic; letter-spacing: -0.01em; }
.marque-baseline { color: #CFC8BC !important; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.76rem !important; }
h1, h2, h3, h4, .carte-titre, .carte-une .carte-titre, .article-entete h1, .liste-entete h1 { font-weight: 400; letter-spacing: -0.005em; }
.rubriques a, .menu-mobile a { letter-spacing: 0.1em; }
