/* Site d'élevage — feuille unique. Les couleurs viennent des variables posées par le serveur (charte par élevage). */
:root {
  --fond-sombre: #1c303c; --fond-profond: #001824; --fond-teal: #304c5c;
  --or: #bc9c00; --or-clair: #f0d868; --or-fonce: #887020; --or-ombre: #a89038;
  --clair: #f4f4f4; --encre: #1b2430; --gris: #6b7280; --bord: #dfe3e3; --blanc: #ffffff;
  --police-titres: 'Playfair Display', Georgia, serif;
  --police-texte: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  --largeur: 1440px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--police-texte); color: var(--encre); background: var(--clair); -webkit-font-smoothing: antialiased; line-height: 1.5; }
body.menu-ouvert { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--or-fonce); text-decoration: none; }
a:hover { color: var(--or); }
h1, h2, h3, .serif { font-family: var(--police-titres); font-weight: 600; margin: 0; letter-spacing: 0.01em; line-height: 1.1; }
h1 { font-size: clamp(34px, 4.4vw, 56px); }
h2 { font-size: clamp(28px, 3.2vw, 44px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
p { margin: 0; }
[hidden] { display: none !important; }
.lien-evitement { position: absolute; left: -999px; top: 8px; background: var(--fond-sombre); color: var(--or-clair); padding: 8px 12px; z-index: 100; }
.lien-evitement:focus { left: 8px; }

/* En-tête */
.entete { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 clamp(16px, 4vw, 72px) 0 clamp(12px, 3.5vw, 48px); height: 136px; background: var(--clair); border-bottom: 1px solid var(--bord); max-width: var(--largeur); margin: 0 auto; position: relative; }
/* Le logo prend le centre de l'espace libre entre la mascotte et le menu, et grandit avec l'écran (72 → 100 px). */
.marque { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; padding-right: 16px; }
.marque .mascotte { height: 124px; width: auto; }
/* L'image du logo a 30 % de vide en haut et sa calligraphie est à 69 % de sa hauteur : on la cale sur l'axe du menu
   (68 px, milieu de la barre) plutôt que de centrer la boîte de l'image, sinon l'écriture tombe 17 px sous les liens. */
.marque .logo { --h: clamp(72px, 7vw, 100px); height: var(--h); width: auto; align-self: flex-start; margin: calc(62px - 0.69 * var(--h)) auto 0; }  /* 62 = 68 moins les 6 px de haut du bloc .marque (mascotte 124 px centrée dans 136) */
.logo-texte { font-family: var(--police-titres); font-size: 30px; color: var(--or-fonce); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--encre); font-size: 15px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--or-fonce); }
.bouton-menu { display: none; background: none; border: 0; padding: 8px; color: var(--encre); cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: 0.02em; border: 0; cursor: pointer; font-family: inherit; }
.btn-or { background: linear-gradient(135deg, var(--or-clair) 0%, #d8c058 45%, var(--or-ombre) 100%); color: var(--fond-sombre); }
.btn-or:hover { color: var(--fond-sombre); filter: brightness(1.05); }
.btn-sombre { background: var(--fond-sombre); color: var(--or-clair); }
.btn-sombre:hover { color: var(--or-clair); }
.btn-contour { border: 1px solid rgba(240, 216, 104, 0.7); color: var(--or-clair); }
.btn-contour:hover { color: var(--or-clair); background: rgba(240, 216, 104, 0.1); }
.btn-contour-or { border: 1px solid var(--or); color: var(--or-fonce); }
.nav .btn { min-height: 42px; padding: 0 20px; }
.nav .btn-sombre, .nav .btn-sombre:hover { color: var(--or-clair); }

/* Sections */
main { max-width: var(--largeur); margin: 0 auto; }
.section { padding: clamp(40px, 6vw, 88px) clamp(16px, 5vw, 72px); display: flex; flex-direction: column; gap: 32px; }
.section-etroite { max-width: 860px; margin: 0 auto; }
.section-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-tete > div { display: flex; flex-direction: column; gap: 10px; }
.section-tete.centre { flex-direction: column; align-items: center; text-align: center; }
.section-tete.centre .sous { max-width: 640px; }
.surtitre { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--or-fonce); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.surtitre.or, .bande-sombre .surtitre, .heros .surtitre { color: var(--or-clair); }
.sous { color: var(--gris); font-size: 17px; }
.lien { font-weight: 600; font-size: 15px; }
.lien-or { color: var(--or-clair); }
.filet { height: 1px; margin: 0 clamp(16px, 5vw, 72px); background: linear-gradient(90deg, rgba(188,156,0,0), var(--or) 50%, rgba(188,156,0,0)); }
.boutons { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.boutons.centre { justify-content: center; }
.vide { color: var(--gris); font-style: italic; }
.petit { font-size: 13px; color: var(--gris); }
.encart { padding: 22px 26px; background: #fbf9f0; border: 1px solid #e8e2c8; border-radius: 6px; }
.encart-ok { background: #e4f1e6; border-color: #bfdcc5; }
.encart h2 { font-size: 24px; margin-bottom: 10px; }
.legende { display: flex; flex-wrap: wrap; gap: 8px; }
.mention-siren { font-size: 0.82rem; opacity: 0.75; margin-top: 8px; }
/* Messages de sensibilisation obligatoires sur les pages qui proposent des animaux (code rural L214-8-2, arrêté du
   28 juin 2023) : jaune C0 M10 J100 N0 = #ffe500, texte noir, police Marianne, sans altération. */
@font-face { font-family: 'Marianne'; src: url(/fonts/Marianne-Regular.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Marianne'; src: url(/fonts/Marianne-Regular_Italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Marianne'; src: url(/fonts/Marianne-Bold.woff2) format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
/* Second message : bandeau permanent en bas de page, 7 % de la page minimum */
.sensibilisation { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; min-height: 7vh; display: flex; align-items: center; background: #ffe500; color: #000; padding: 10px clamp(16px, 4vw, 40px); font-family: 'Marianne', Arial, sans-serif; font-size: clamp(13px, 1.05vw, 16px); line-height: 1.45; box-shadow: 0 -2px 8px rgba(0,0,0,0.15); }
.sensibilisation p { margin: 0; }
.sensibilisation a { color: #000; text-decoration: underline; word-break: break-all; }
body.avec-bandeau { padding-bottom: max(7vh, 64px); }
/* Premier message : cadre centré, 70 % de la page minimum, logo Gouvernement en haut à droite, bouton de prise de connaissance */
.sensibilisation-entree { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.55); display: flex; align-items: center; justify-content: center; padding: 16px; overflow: auto; }
.sensibilisation-entree[hidden] { display: none; }
.sensibilisation-cadre { position: relative; width: min(100%, max(70vw, 320px)); max-height: 92vh; overflow: auto; background: #ffe500; color: #000; border: 1px solid #000; padding: clamp(18px, 3vw, 36px); font-family: 'Marianne', Arial, sans-serif; font-size: clamp(14px, 1.15vw, 18px); line-height: 1.5; }
.sensibilisation-cadre .logo-gouv { float: right; background: #fff; padding: 10px 14px; margin: 0 0 16px 20px; }
.sensibilisation-cadre h2 { font-family: 'Marianne', Arial, sans-serif; font-size: 1.1em; color: #000; margin: 0 0 14px; }
.sensibilisation-cadre p { margin: 0 0 12px; }
.sensibilisation-cadre a { color: #000; text-decoration: underline; word-break: break-all; }
.sensibilisation-cadre .btn-lu { display: inline-block; clear: both; margin-top: 10px; background: #000; color: #fff; font-family: inherit; font-weight: 700; font-size: 0.95em; padding: 12px 20px; border: 0; border-radius: 4px; cursor: pointer; }
.sensibilisation-cadre .btn-lu:hover { background: #333; }
.mentions-vente { margin-top: 18px; padding-top: 12px; border-top: 1px solid rgba(0,0,0,0.1); }
.mentions-vente .petit { margin: 0; }
.h2-section { margin-top: 24px; }

/* Héros */
/* Fond du héros : le dégradé de la charte (ou l'image de fond des réglages si une photo « fond » est posée),
   et par-dessus le motif du thème — pour une chatterie, un coup de griffe doré à droite, hors du texte. */
.heros { position: relative; background: var(--fond-image, linear-gradient(135deg, var(--fond-profond) 0%, var(--fond-sombre) 55%, var(--fond-teal) 100%)) center / cover no-repeat var(--fond-sombre); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 640px; }
/* Le coup de griffe : à cheval sur la couture entre le texte et la photo, en bas, devant la photo. Absent si le thème n'a pas de motif. */
.heros::before { content: ''; position: absolute; z-index: 0; left: 2%; top: -6%; width: clamp(360px, 46vw, 640px); aspect-ratio: 1; background: var(--motif-heros, none) center / contain no-repeat; opacity: 0.11; pointer-events: none; }
.heros-texte { position: relative; z-index: 1; }
.heros-texte { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: clamp(40px, 5vw, 72px) clamp(20px, 4vw, 56px) clamp(40px, 5vw, 72px) clamp(16px, 5vw, 72px); }
.heros h1 { color: var(--clair); font-size: clamp(36px, 4.3vw, 62px); line-height: 1.04; }
.heros h1 em { font-style: italic; font-weight: 500; color: var(--or-clair); }
.heros-sous { font-size: 19px; line-height: 1.55; color: #d7dde0; max-width: 560px; }
.heros-preuves { display: flex; gap: 12px; flex-wrap: wrap; color: #d7dde0; font-size: 14px; letter-spacing: 0.04em; }
.heros-preuves span { color: var(--or); }
.heros-photo { position: relative; overflow: hidden; min-height: 320px; }
.heros-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.heros-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--fond-sombre) 0%, rgba(28,48,60,0) 22%); pointer-events: none; }

/* Grilles et cartes */
.grille { display: grid; gap: 24px; }
.grille-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grille-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.carte { background: var(--blanc); border: 1px solid var(--bord); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; color: var(--encre); }
.carte:hover { color: var(--encre); box-shadow: 0 8px 24px rgba(28, 48, 60, 0.12); }
.carte-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.grille-3 .carte-photo { aspect-ratio: 4 / 4.2; }
.photo-absente { display: flex; align-items: center; justify-content: center; background: #e8eef2; color: var(--gris); font-size: 14px; }
.photo-absente.carte-photo { aspect-ratio: 4 / 5; }
.carte-corps { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.carte-ligne { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.carte-titre { font-family: var(--police-titres); font-size: 22px; font-weight: 600; line-height: 1.15; }
.carte-sous { color: var(--gris); font-size: 14px; }
.carte-prix { font-weight: 600; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.carte-ligne-chat { flex-direction: row; align-items: center; gap: 16px; padding: 12px; }
.carte-ligne-chat img.carre, img.carre { width: 84px; height: 84px; object-fit: cover; object-position: 50% 20%; border-radius: 4px; flex: none; }
.carte-ligne-chat > span { display: flex; flex-direction: column; gap: 4px; }
.carte-ligne-chat strong { font-family: var(--police-titres); font-size: 21px; font-weight: 600; }
.carte-ligne-chat span span { color: var(--gris); font-size: 14px; }
img.rond { width: 84px; height: 84px; object-fit: cover; object-position: 50% 15%; border-radius: 999px; flex: none; }
.bloc-releve { display: flex; flex-direction: column; gap: 16px; padding: 28px 32px; background: var(--blanc); border: 1px solid var(--bord); border-radius: 6px; }
.bloc-releve-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bloc-releve-tete p { color: var(--gris); font-size: 15px; }
.releve-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.releve-item { display: flex; align-items: center; gap: 14px; color: var(--encre); }
.releve-item > span { display: flex; flex-direction: column; gap: 2px; }
.releve-item strong { font-family: var(--police-titres); font-size: 18px; }
.releve-item span span { color: var(--gris); font-size: 14px; }

/* Bande sombre (histoire) */
.bande-sombre { background: var(--fond-image, linear-gradient(135deg, var(--fond-teal) 0%, var(--fond-sombre) 50%, var(--fond-profond) 100%)) center / cover no-repeat var(--fond-sombre); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bande-photo img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.bande-texte { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(40px, 5vw, 72px) clamp(20px, 6vw, 96px) clamp(40px, 5vw, 72px) clamp(20px, 5vw, 72px); }
.bande-texte h2 { color: var(--clair); }
.prose-claire, .prose-claire p { color: #d7dde0; }

/* Prose (pages libres) */
.prose { font-size: 17px; line-height: 1.65; }
.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { font-size: 30px; margin: 32px 0 12px; }
.prose h3 { font-size: 22px; margin: 24px 0 8px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose blockquote { margin: 0 0 16px; padding: 14px 20px; border-left: 3px solid var(--or); background: var(--blanc); }
.prose img { border-radius: 6px; margin: 8px 0 16px; }
.prose hr { border: 0; height: 1px; background: var(--bord); margin: 24px 0; }
.prose-2col { columns: 2; column-gap: 40px; }
.prose-2col p { break-inside: avoid; }

/* Fiche */
.ariane { padding: 22px clamp(16px, 5vw, 72px) 0; font-size: 14px; color: var(--gris); }
.fiche { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
.galerie { display: flex; flex-direction: column; gap: 14px; }
.galerie-principale { border-radius: 6px; overflow: hidden; background: var(--fond-sombre); }
.galerie-principale img { width: 100%; aspect-ratio: 4 / 5; max-height: 760px; object-fit: cover; object-position: 50% 20%; }
.galerie-vignettes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.vignette { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 4px; overflow: hidden; }
.vignette img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; }
.vignette.active { outline: 2px solid var(--or); outline-offset: 2px; }
.fiche-infos { display: flex; flex-direction: column; gap: 22px; }
.fiche-sous { font-size: 18px; color: var(--gris); }
.prix { font-weight: 600; margin-left: 10px; }
.pastilles { display: flex; gap: 8px; flex-wrap: wrap; }
.pastille { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: #e4f1e6; color: #1f6b3a; }
.pastille small { font-weight: 400; }
.lignes { margin: 0; display: flex; flex-direction: column; }
.lignes > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--bord); font-size: 15px; }
.lignes > div:last-child { border-bottom: 0; }
.lignes dt { color: var(--gris); }
.lignes dd { margin: 0; font-weight: 600; text-align: right; }

/* Portées */
.portee { display: flex; flex-direction: column; gap: 20px; padding: 24px; background: var(--blanc); border: 1px solid var(--bord); border-radius: 8px; }
.portee-tete { display: flex; align-items: center; gap: 16px; }
.portee-tete h2 { font-size: 26px; }
/* Les deux parents d'une portée : lisibles et distincts, jamais superposés — c'est sur eux qu'on juge un chaton. */
.parents { display: flex; flex-wrap: wrap; gap: 14px 32px; margin: 4px 0 18px; }
.parent { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.parent img.rond { width: 92px; height: 92px; border: 3px solid var(--blanc); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14); }
.parent-texte { display: flex; flex-direction: column; gap: 2px; }
.parent-role { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gris); }
.parent-nom { font-weight: 600; font-size: 17px; }
a.parent:hover .parent-nom { color: var(--or-fonce); text-decoration: underline; }
/* Une grille qui ne remplit pas sa rangée se centre, au lieu de laisser un trou à droite. */
.grille-centree { grid-template-columns: repeat(auto-fit, minmax(190px, 260px)); justify-content: center; }
.barre-liens { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 6px; }
.lien-pedigree { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.photos-portee img { aspect-ratio: 4 / 3; }
.liste-portees { padding-left: 22px; color: var(--gris); }

/* Livre d'or, contact */
.section-bas { align-items: start; }
.avis-liste { display: flex; flex-direction: column; gap: 14px; margin: 18px 0; }
.avis { margin: 0; padding: 22px 24px; background: var(--blanc); border: 1px solid var(--bord); border-radius: 6px; font-family: var(--police-titres); font-size: 20px; line-height: 1.45; font-style: italic; }
.avis footer { margin-top: 10px; font-family: var(--police-texte); font-style: normal; font-size: 14px; color: var(--gris); }
.verifie { display: inline-flex; align-items: center; gap: 4px; color: #1f6b3a; font-weight: 600; }
.carte-contact { display: flex; flex-direction: column; gap: 16px; padding: 36px; background: var(--fond-sombre); border-radius: 6px; color: #d7dde0; }
.carte-contact h2 { color: var(--clair); font-size: 34px; }
.formulaire { display: flex; flex-direction: column; gap: 12px; }
.formulaire label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.formulaire input, .formulaire textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--bord); border-radius: 4px; background: var(--blanc); color: var(--encre); min-height: 46px; }
.carte-contact .formulaire input, .carte-contact .formulaire textarea { background: rgba(255,255,255,0.06); border-color: rgba(240,216,104,0.35); color: var(--clair); }
.carte-contact .formulaire label { color: #d7dde0; }
.carte-contact .petit { color: #9fb0b8; }
.carte-contact a { color: var(--or-clair); }
.formulaire .btn { align-self: flex-start; }
/* « (facultatif) » dans un intitulé : la mention doit se voir sans peser autant que le nom du champ,
   sinon on la lit comme une consigne de plus. */
.formulaire .facultatif { font-weight: 400; opacity: 0.75; }
/* La phrase d'explication sous un champ lui appartient : elle se colle à lui, loin du champ suivant. */
.formulaire .petit { margin: -6px 0 2px; }
.piege { position: absolute; left: -9999px; }

/* Pied */
.pied { background: var(--fond-profond); color: #d7dde0; padding: 56px clamp(16px, 5vw, 72px) 40px; }
.pied-grille { max-width: var(--largeur); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.pied-bloc { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.pied-bloc a, .pied-bloc span { color: #d7dde0; }
.pied-bloc a:hover { color: var(--or-clair); }
/* Mention qui n'est pas un lien, dans une colonne qui n'en contient que : elle doit se lire plus discrète,
   sinon on clique dessus pour rien. */
.pied-bloc .pied-texte { color: #9fb0b8; }
.pied-marque { font-family: var(--police-titres); font-size: 30px; color: var(--or-clair) !important; }
.pied-titre { color: var(--clair) !important; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
/* Ce titre-là est aussi un lien : il reste un titre, mais il doit se signaler au survol. */
a.pied-titre:hover { color: var(--or-clair) !important; text-decoration: underline; text-underline-offset: 3px; }
.reseaux { display: flex; gap: 12px; margin-top: 4px; }
.reseaux a { width: 40px; height: 40px; border: 1px solid rgba(240,216,104,0.35); border-radius: 999px; display: flex; align-items: center; justify-content: center; color: var(--or-clair); }
.pied-bas { max-width: var(--largeur); margin: 36px auto 0; border-top: 1px solid rgba(240,216,104,0.18); padding-top: 22px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13px; color: #9fb0b8; }
.pied-bas a { color: var(--or-clair); }

/* Écrans moyens et téléphones */
@media (max-width: 1100px) {
  .grille-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pied-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { gap: 18px; }
}
/* Le menu replié dès 1100 px : entre 900 et 1100, les sept liens ne tiennent plus à côté du logo. */
@media (max-width: 1100px) {
  .entete { height: 88px; padding: 0 14px; }
  .marque { gap: 10px; padding-right: 0; }
  .marque .mascotte { height: 72px; }
  /* Centré sur la barre : mascotte à gauche et bouton menu à droite ont la même largeur, le milieu de l'écran est le milieu entre les deux. */
  .marque .logo { height: 78px; margin: 0; position: absolute; left: 50%; top: -10px; transform: translateX(-50%); align-self: auto; }  /* calligraphie (69 % de 78) à 44 px, l'axe du bouton menu ; le vide du haut de l'image dépasse, pas l'écriture */
  .bouton-menu { display: block; }
  .nav { display: none; position: absolute; top: 88px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--clair); border-bottom: 1px solid var(--bord); padding: 8px 0 16px; z-index: 50; }
  .nav.ouvert { display: flex; }
  .nav a { padding: 14px 20px; font-size: 17px; }
  .nav .btn { margin: 8px 20px 0; }
}
@media (max-width: 900px) {
  .heros, .bande-sombre, .fiche, .grille-2 { grid-template-columns: 1fr; }
  .heros-photo { order: -1; height: 320px; }
  .heros::before { left: auto; right: 4%; bottom: 2%; transform: none; width: 150px; opacity: 0.8; }
  .heros-photo::after { background: linear-gradient(180deg, rgba(28,48,60,0) 45%, var(--fond-sombre) 100%); }
  .grille-3, .grille-4, .releve-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .prose-2col { columns: 1; }
  .bande-photo img { min-height: 260px; }
  .carte-contact { padding: 24px; }
}
@media (max-width: 560px) {
  .grille-3 { grid-template-columns: 1fr; }
  .releve-liste { grid-template-columns: 1fr; }
  .section-tete { align-items: flex-start; }
  .galerie-vignettes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pied-grille { grid-template-columns: 1fr; }
  .carte-titre { font-size: 20px; }
  .lignes dd { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
