/* ==========================================================================
   Cauvel.com — feuille de style unique
   Couleurs et typographies de la maquette validée (octobre 2026)
   ========================================================================== */

/* ---------- Polices auto-hébergées ---------- */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/newsreader-latin-opsz-normal.woff2) format("woff2-variations");
  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: "Newsreader";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/newsreader-latin-ext-opsz-normal.woff2) format("woff2-variations");
  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: "Newsreader";
  font-style: italic;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/newsreader-latin-opsz-italic.woff2) format("woff2-variations");
  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: "Newsreader";
  font-style: italic;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/newsreader-latin-ext-opsz-italic.woff2) format("woff2-variations");
  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: "Work Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/work-sans-latin-wght-normal.woff2) format("woff2-variations");
  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: "Work Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/work-sans-latin-ext-wght-normal.woff2) format("woff2-variations");
  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;
}

/* ---------- Variables ---------- */
:root {
  --fond: #F2F0EA;
  --blanc: #FFFFFF;
  --encre: #1E2320;
  --pin: #2E4636;
  --rouge: #A8321C;
  --ardoise: #2F3B3A;
  --gris: #5B605A;
  --gris-fonce: #4A4F49;
  --sable: #E7E4DA;
  --sable-fonce: #D8D4C8;
  --filet: #C9C4B5;
  --vert-clair: #C9D3C4;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --largeur: 1180px;
  --gouttiere: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
}
img, picture, svg { max-width: 100%; }
img { display: block; height: auto; }
picture { display: contents; }
a { color: var(--pin); text-underline-offset: 0.15em; }
a:hover { color: var(--rouge); }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; overflow-wrap: break-word; hyphens: manual; }
sup { line-height: 0; }
.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.lien-evitement {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--encre); color: #fff; padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.lien-evitement:focus { top: 12px; color: #fff; }

.conteneur { max-width: var(--largeur); margin: 0 auto; padding-left: var(--gouttiere); padding-right: var(--gouttiere); }
.etroit { max-width: 760px; margin: 0 auto; padding-left: var(--gouttiere); padding-right: var(--gouttiere); }
.surtitre {
  margin: 0 0 14px; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; color: var(--pin);
}
.surtitre--rouge { color: var(--rouge); }
.surtitre--clair { color: var(--vert-clair); }
.titre-section { margin: 0; font-size: 44px; line-height: 1.12; }
.lien-fleche { font-weight: 600; font-size: 15px; }
.liens-ligne { margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-weight: 600; font-size: 15px; padding: 0; list-style: none; }
.texte-secondaire { color: var(--gris); }

/* ---------- En-tête ---------- */
.entete { background: var(--fond); border-bottom: 1px solid var(--sable-fonce); }
.entete__interieur {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 18px; padding-bottom: 18px;
}
.logo { text-decoration: none; color: var(--encre); display: flex; align-items: baseline; gap: 12px; }
.logo:hover { color: var(--encre); }
.logo__nom { font-family: var(--serif); font-size: 30px; font-weight: 600; letter-spacing: 0.01em; line-height: 1.2; }
.logo__slogan { font-size: 13px; color: var(--gris); letter-spacing: 0.04em; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--encre); text-decoration: none; display: inline-block; padding: 4px 0; }
.nav a:hover, .nav a[aria-current] { color: var(--rouge); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.menu-bouton { display: none; }

@media (max-width: 860px) {
  .logo__slogan { display: none; }
  .js .menu-bouton {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
    border: 1px solid var(--sable-fonce); background: var(--blanc); color: var(--encre);
    font: 600 15px var(--sans); border-radius: 2px; cursor: pointer;
  }
  .js .nav { display: none; width: 100%; }
  .js .nav.ouvert { display: block; }
  .js .nav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--sable-fonce); }
  .js .nav li { border-bottom: 1px solid var(--sable-fonce); }
  .js .nav a { display: block; padding: 12px 0; font-size: 17px; }
}

/* ---------- Pied de page ---------- */
.pied { border-top: 1px solid var(--sable-fonce); font-size: 14px; color: var(--gris); }
.pied__interieur { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 32px; padding-bottom: 48px; }
.pied__nom { font-family: var(--serif); font-size: 20px; color: var(--encre); }
.pied p { margin: 0; }
.pied ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.pied a { color: var(--gris-fonce); }
.pied a:hover { color: var(--rouge); }

/* ---------- Carrousel d'accueil ---------- */
.hero__cadre {
  position: relative; aspect-ratio: 16 / 9; max-height: 780px; width: 100%;
  overflow: hidden; background: var(--ardoise);
}
.hero__diapo { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 900ms ease; }
.hero__diapo.actif { opacity: 1; }
.no-js .hero__diapo:first-child { opacity: 1; }
.hero__diapo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__diapo figcaption {
  position: absolute; right: 16px; bottom: 16px; padding: 6px 12px;
  background: rgba(20, 24, 22, 0.72); color: #fff; font-size: 13px; max-width: calc(100% - 32px);
}
.hero__fleche {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: rgba(20, 24, 22, 0.6); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2;
}
.hero__fleche:hover { background: rgba(20, 24, 22, 0.85); }
.hero__fleche--prec { left: 16px; }
.hero__fleche--suiv { right: 16px; }
.no-js .hero__fleche, .no-js .hero__points { display: none; }
.bandeau { background: var(--ardoise); color: #fff; }
.bandeau__interieur {
  display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between;
  padding-top: 20px; padding-bottom: 20px;
}
.bandeau__titres { flex: 999 1 520px; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; }
.bandeau h1 { margin: 0; font-size: 48px; line-height: 1.1; font-weight: 500; }
.bandeau__accroche { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.35; color: var(--sable); }
.bandeau__lieu { color: var(--vert-clair); font-family: var(--sans); font-size: 14px; letter-spacing: 0.04em; }
.bandeau__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero__points { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.point { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; color: rgba(255, 255, 255, 0.45); }
.point::after { content: ""; position: absolute; left: 8px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: currentColor; }
.point[aria-current="true"] { color: #fff; }
.bouton-clair {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; background: #fff;
  color: var(--encre); text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 2px;
}
.bouton-clair:hover { background: var(--sable); color: var(--encre); }

/* ---------- Sections de l'accueil ---------- */
.affiche { background: var(--blanc); }
.affiche__interieur { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.affiche__image { flex: 1 1 320px; max-width: 400px; width: 100%; }
.affiche__image img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.affiche__texte { flex: 999 1 420px; min-width: 0; }
.affiche h2 { margin: 0; font-size: 46px; line-height: 1.1; }
.sous-titre { margin: 8px 0 24px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gris); }
.affiche p.texte { margin: 0 0 16px; max-width: 620px; }

.hameau { padding-top: 96px; padding-bottom: 72px; }
.deux-colonnes { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.deux-colonnes > * { flex: 1 1 420px; min-width: 0; }
.deux-colonnes h2 { margin: 0 0 24px; font-size: 44px; line-height: 1.12; }
.deux-colonnes p { margin: 0 0 16px; }
.figure { margin: 0; }
.figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.figure figcaption, .legende { margin-top: 10px; font-size: 14px; color: var(--gris); }
.chiffres {
  margin: 64px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px;
  border-top: 1px solid var(--sable-fonce); padding-top: 32px;
}
.chiffres dt { font-size: 14px; color: var(--gris); }
.chiffres dd { margin: 4px 0 0; font-family: var(--serif); font-size: 36px; line-height: 1.2; }

.section-sable { background: var(--sable); }
.section { padding-top: 88px; padding-bottom: 88px; }
.section-entete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }
.section-entete p.intro { margin: 0; max-width: 420px; color: var(--gris-fonce); }
.cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; }
.carte { text-decoration: none; color: inherit; display: block; }
.carte:hover { color: inherit; }
.carte:hover h3, .carte:focus-visible h3 { color: var(--rouge); }
.carte img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.carte h3 { margin: 16px 0 6px; font-size: 25px; line-height: 1.25; }
.carte p { margin: 0; font-size: 15px; color: var(--gris-fonce); }
.liens-rubrique {
  list-style: none; margin: 40px 0 0; padding: 24px 0 0; border-top: 1px solid var(--filet);
  display: flex; flex-wrap: wrap; gap: 10px 32px; font-size: 15px; font-weight: 500;
}
.cartes-expo { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.cartes-expo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.cartes-expo .annee { margin: 14px 0 2px; font-size: 14px; font-weight: 600; color: var(--rouge); }
.cartes-expo h3 { margin: 0; font-size: 22px; line-height: 1.25; }

.section-ardoise { background: var(--ardoise); color: var(--fond); }
.section-ardoise h2 { color: #fff; }
.section-ardoise a { color: #fff; }
.section-ardoise a:hover { color: var(--sable); }
.encadre-contact { background: rgba(255, 255, 255, 0.06); padding: 32px; flex: 1 1 340px; }
.encadre-contact h3 { margin: 0 0 16px; font-size: 26px; color: #fff; }
.encadre-contact p { margin: 0 0 6px; }
.encadre-contact .adresse { margin: 0 0 20px; color: var(--vert-clair); font-style: normal; }
.bouton-fond {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; background: var(--fond);
  color: var(--encre) !important; text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 2px;
}
.bouton-fond:hover { background: #fff; }
.bouton {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; background: var(--pin);
  color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 2px;
}
.bouton:hover { background: var(--rouge); color: #fff; }

.venir { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.venir > div { flex: 1 1 360px; min-width: 0; }
.venir h2 { margin: 0 0 20px; font-size: 40px; line-height: 1.12; }
.venir p { margin: 0 0 12px; }
.venir .figure-venir { flex: 1 1 480px; min-width: 0; margin: 0; }
.venir .figure-venir img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- En-têtes de pages intérieures ---------- */
.fil-ariane { margin: 0 0 16px; font-size: 14px; }
.fil-ariane ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.fil-ariane li + li::before { content: "/ "; color: var(--gris); }
.fil-ariane a { text-decoration: none; font-weight: 600; }
.fil-ariane [aria-current] { color: var(--gris); }
.page-entete { padding-top: 72px; padding-bottom: 40px; }
.page-entete h1 { margin: 0 0 20px; font-size: 60px; line-height: 1.06; }
.page-entete .chapeau { margin: 0 0 24px; font-family: var(--serif); font-size: 23px; line-height: 1.5; color: var(--gris-fonce); }
.page-entete .signature { margin: 0; font-size: 14px; color: var(--gris); }
.grand-titre { margin: 0 0 20px; font-size: 68px; line-height: 1.04; }
.intro-serif { margin: 0; max-width: 700px; font-family: var(--serif); font-size: 22px; line-height: 1.5; color: var(--gris-fonce); }

.bandeau-photo { margin: 0 auto; }
.bandeau-photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.bandeau-photo figcaption { margin-top: 10px; font-size: 14px; color: var(--gris); }

/* ---------- Texte long (articles, maisons, expositions) ---------- */
.prose {
  max-width: 680px; margin: 0 auto; padding: 56px var(--gouttiere) 24px;
  font-family: var(--serif); font-size: 21px; line-height: 1.7;
}
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 24px; }
.prose li { margin-bottom: 6px; }
.prose h2 { font-size: 34px; line-height: 1.2; margin: 48px 0 16px; }
.prose h3 { font-size: 26px; line-height: 1.25; margin: 36px 0 12px; }
.prose blockquote {
  margin: 32px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--pin);
  font-size: 19px; line-height: 1.65; color: var(--encre);
}
.prose blockquote p { margin: 0 0 14px; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose blockquote footer, .prose blockquote cite {
  display: block; margin-top: 12px; font-family: var(--sans); font-style: normal; font-size: 15px; color: var(--gris);
}
/* Grande citation mise en exergue */
.prose blockquote.exergue { margin: 48px 0; padding: 0; border: 0; font-size: 34px; line-height: 1.3; font-style: italic; color: var(--pin); }
.prose .note, .prose .encadre {
  font-family: var(--sans); font-size: 16px; padding: 20px 24px; background: var(--sable); margin: 0 0 24px;
}
.prose .note p:last-child, .prose .encadre p:last-child { margin-bottom: 0; }
.prose hr { border: 0; border-top: 1px solid var(--filet); margin: 40px 0; }
.prose small, .prose .petit { font-family: var(--sans); font-size: 15px; color: var(--gris); }
.figure-texte { margin: 8px 0 32px; }
.figure-texte img { width: 100%; height: auto; }
.figure-texte figcaption { margin-top: 8px; font-family: var(--sans); font-size: 14px; line-height: 1.5; color: var(--gris); }
.zoom { display: block; cursor: zoom-in; color: inherit; }
.zoom:hover { color: inherit; }
.zoom img { transition: opacity 0.2s ease; }
.zoom:hover img { opacity: 0.92; }
/* Affiche insérée dans le texte (vignette à gauche, légende à droite) */
.figure-vignette { margin: 8px 0 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; font-family: var(--sans); }
.figure-vignette .zoom { flex: 0 0 180px; width: 180px; }
.figure-vignette img { width: 180px; height: auto; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); }
.figure-vignette figcaption { flex: 1 1 220px; font-size: 15px; line-height: 1.55; color: var(--gris-fonce); }

.liens-sans { font-family: var(--sans); font-size: 15px; font-weight: 600; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 8px 0 0; padding: 0; list-style: none; }

/* Tableaux : défilement horizontal sur mobile */
.tableau-defilant {
  overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 28px; font-family: var(--sans);
  font-size: 15px; line-height: 1.45; border: 1px solid var(--sable-fonce); background: var(--blanc);
}
.tableau-defilant:focus-visible { outline-offset: 0; }
.tableau-defilant table { border-collapse: collapse; width: 100%; min-width: 100%; }
.tableau-defilant caption { caption-side: top; text-align: left; padding: 12px 14px 8px; font-weight: 600; font-size: 15px; color: var(--encre); }
.tableau-defilant th, .tableau-defilant td { padding: 8px 14px; border-top: 1px solid var(--sable-fonce); text-align: left; vertical-align: top; white-space: nowrap; }
.tableau-defilant thead th { background: var(--sable); font-weight: 600; white-space: normal; min-width: 7em; }
.tableau-defilant td.nombre, .tableau-defilant th.nombre { text-align: right; font-variant-numeric: tabular-nums; }
.tableau-defilant tbody th { font-weight: 600; }
.tableau-defilant tfoot td, .tableau-defilant tfoot th { font-weight: 700; background: var(--sable); }

/* ---------- Galeries ---------- */
.galerie { padding-top: 56px; padding-bottom: 72px; }
.galerie h2 { margin: 0 0 24px; font-size: 34px; }
.galerie__grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.galerie__grille figure { margin: 0; }
.galerie__grille img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.galerie__grille figcaption { margin-top: 6px; font-size: 14px; color: var(--gris); }
.galerie--compacte .galerie__grille { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }

/* ---------- Pages exposition ---------- */
.expo-entete { padding-top: 56px; padding-bottom: 40px; }
.expo-entete__ligne { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; }
.expo-entete__titres { flex: 999 1 520px; min-width: 0; }
.expo-entete h1 { margin: 0; font-size: 64px; line-height: 1.05; }
.expo-entete .sous-titre { margin: 10px 0 0; font-size: 24px; }
.infos-pratiques { flex: 1 1 280px; margin: 0; display: grid; gap: 14px; padding: 20px 24px; background: var(--blanc); }
.infos-pratiques dt { font-size: 13px; color: var(--gris); }
.infos-pratiques dd { margin: 2px 0 0; font-weight: 600; }
.nav-expos { background: var(--sable); }
.nav-expos__interieur { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.nav-expos a { flex: 1 1 280px; text-decoration: none; color: var(--encre); }
.nav-expos a:last-child { text-align: right; }
.nav-expos a:only-child { text-align: left; }
.nav-expos .petit { display: block; font-size: 13px; color: var(--gris); }
.nav-expos .t { font-family: var(--serif); font-size: 24px; line-height: 1.3; }
.nav-expos a:hover .t { color: var(--rouge); }

/* Page historique des expositions */
.en-vedette { background: var(--blanc); }
.en-vedette__interieur { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 48px; }
.en-vedette__image { flex: 1 1 340px; max-width: 440px; width: 100%; align-self: flex-start; }
.en-vedette__image img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.en-vedette__texte { flex: 999 1 420px; min-width: 0; }
.en-vedette h2 { margin: 0; font-size: 46px; line-height: 1.1; }
.en-vedette p { margin: 0 0 16px; }
.grille-infos {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; padding: 20px 0;
  border-top: 1px solid var(--sable-fonce); border-bottom: 1px solid var(--sable-fonce); margin: 8px 0 24px;
}
.grille-infos div p { margin: 0; }
.grille-infos .etiquette { font-size: 13px; color: var(--gris); }
.grille-infos .valeur { margin-top: 2px; font-weight: 600; }
.historique { padding-top: 80px; padding-bottom: 96px; }
.historique > h2 { margin: 0 0 40px; font-size: 40px; }
.historique ol.liste { list-style: none; margin: 0; padding: 0; }
.historique li.annee-expo { display: flex; flex-wrap: wrap; gap: 24px 40px; padding: 36px 0; border-top: 1px solid var(--filet); }
.historique li.annee-expo:last-child { border-bottom: 1px solid var(--filet); }
.historique .annee { flex: 0 0 140px; margin: 0; font-family: var(--serif); font-size: 30px; color: var(--rouge); line-height: 1.1; }
.historique .corps { flex: 999 1 400px; min-width: 0; display: flex; flex-wrap: wrap; gap: 24px; }
.historique .corps__texte { flex: 999 1 360px; min-width: 0; }
.historique h3 { margin: 0 0 4px; font-size: 30px; line-height: 1.2; }
.historique h3 a { color: inherit; text-decoration: none; }
.historique h3 a:hover { color: var(--rouge); }
.historique .meta { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--gris); }
.historique .resume { margin: 0 0 18px; max-width: 680px; }
.historique .vignette { flex: 1 1 180px; max-width: 220px; width: 100%; }
.historique .vignette img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.historique .vignette--portrait img { aspect-ratio: 3 / 4; }
.historique .apercu { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 18px; padding: 0; list-style: none; width: 100%; }
.historique .apercu img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Le hameau / maisons ---------- */
.plan { position: relative; max-width: 640px; margin: 0 auto 16px; background: #fff; }
.plan img { width: 100%; height: auto; }
.plan svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan svg a polygon { fill: rgba(168, 50, 28, 0); stroke: transparent; stroke-width: 3; transition: fill 0.2s; }
.plan svg a:hover polygon, .plan svg a:focus polygon { fill: rgba(168, 50, 28, 0.22); stroke: var(--rouge); }
.plan svg a:focus { outline: none; }
.liste-maisons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.liste-maisons .numero {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--pin); color: #fff; font: 600 15px var(--sans); margin-right: 8px; vertical-align: 3px;
}
.maison-numero { color: var(--rouge); }
.nav-maisons ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nav-maisons a, .nav-maisons span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--filet);
  text-decoration: none; font-size: 15px; font-weight: 500; color: var(--encre); background: var(--fond);
}
.nav-maisons a:hover { border-color: var(--rouge); color: var(--rouge); }
.nav-maisons [aria-current] { background: var(--pin); color: #fff; border-color: var(--pin); }

/* ---------- Association ---------- */
.bureau { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin: 0 0 24px; }
.bureau div { background: var(--blanc); padding: 20px 24px; }
.bureau dt { font-family: var(--sans); font-size: 13px; color: var(--gris); }
.bureau dd { margin: 4px 0 0; font-size: 24px; }
.statuts h2 { font-size: 26px; margin: 40px 0 10px; }
.liste-liens { list-style: none; padding: 0; margin: 0 0 24px; font-family: var(--sans); font-size: 17px; }
.liste-liens li { padding: 12px 0; border-bottom: 1px solid var(--sable-fonce); }
.liste-liens .url { display: block; font-size: 14px; color: var(--gris); word-break: break-all; }

/* ---------- Divers ---------- */
.page-404 { padding-top: 96px; padding-bottom: 120px; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  :root { --gouttiere: 16px; }
  body { font-size: 16px; }
  .hero__cadre { aspect-ratio: 4 / 3; }
  .hero__fleche { width: 44px; height: 44px; }
  .hero__fleche--prec { left: 8px; }
  .hero__fleche--suiv { right: 8px; }
  .hero__diapo figcaption { right: 8px; bottom: 8px; font-size: 12px; }
  .bandeau h1 { font-size: 40px; }
  .bandeau__accroche { font-size: 19px; }
  .titre-section, .deux-colonnes h2 { font-size: 34px; }
  .venir h2 { font-size: 32px; }
  .affiche h2, .en-vedette h2 { font-size: 36px; }
  .affiche__interieur, .en-vedette__interieur { padding-top: 48px; padding-bottom: 48px; gap: 32px; }
  .hameau { padding-top: 64px; padding-bottom: 56px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .chiffres { margin-top: 40px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chiffres dd { font-size: 30px; }
  .page-entete { padding-top: 48px; }
  .page-entete h1 { font-size: 42px; }
  .page-entete .chapeau { font-size: 20px; }
  .grand-titre { font-size: 44px; }
  .intro-serif { font-size: 19px; }
  .expo-entete h1 { font-size: 44px; }
  .expo-entete .sous-titre { font-size: 20px; }
  .prose { font-size: 19px; padding-top: 40px; }
  .prose blockquote.exergue { font-size: 26px; }
  .prose blockquote { font-size: 17px; padding-left: 16px; }
  .prose h2 { font-size: 28px; }
  .bandeau-photo img { aspect-ratio: 4 / 3; }
  .historique .annee { flex-basis: 100%; }
  .historique h3 { font-size: 26px; }
  .nav-expos a:last-child { text-align: left; }
  .encadre-contact { padding: 24px; }
}
@media (max-width: 420px) {
  .figure-vignette .zoom, .figure-vignette img { width: 140px; flex-basis: 140px; }
}

/* Respect du réglage « réduire les animations » */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .entete nav, .menu-bouton, .hero__fleche, .hero__points, .nav-expos, .lien-evitement { display: none !important; }
  body { background: #fff; }
}

/* ---------- Visionneuse : légende ---------- */
.pswp__legende {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0;
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(20, 24, 22, 0.78); color: #fff; font: 15px/1.45 var(--sans); text-align: center;
}
.pswp__legende[hidden] { display: none; }

/* Photos côte à côte dans un texte */
.figures-groupe { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 8px 0 32px; align-items: start; }
.figures-groupe .figure-texte { margin: 0; }
.figures-groupe img { aspect-ratio: 4 / 3; object-fit: cover; }
/* Affiche ou photo verticale dans un texte : vignette + légende à côté */
.prose > .figure-texte:has(.zoom--portrait) { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.prose > .figure-texte .zoom--portrait { flex: 0 0 200px; width: 200px; }
.figure-texte .zoom--portrait img { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); }
.prose > .figure-texte:has(.zoom--portrait) figcaption { flex: 1 1 220px; margin: 0; font-size: 15px; color: var(--gris-fonce); }
.carte:hover .h3-carte, .carte:focus-visible .h3-carte { color: var(--rouge); }
.point--pause { display: inline-flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.85); margin-left: 6px; }
.point--pause::after { display: none; }
.point--pause:hover { color: #fff; }
svg[hidden] { display: none; }
@media (max-width: 760px) {
  .bandeau__lieu { display: block; margin-top: 4px; }
  .bandeau__sep { display: none; }
}
.plan svg .pastille { fill: var(--pin); stroke: #fff; stroke-width: 2.5; }
.plan svg text { fill: #fff; font: 600 17px var(--sans); pointer-events: none; }
.plan svg a:hover .pastille, .plan svg a:focus .pastille { fill: var(--rouge); }
