/* Fondation Simone et Cino Del Duca — modèle Cenitz, palette bordeaux (#8C2933) et pêche (#FFBBA9) */
@font-face { font-family: "Institut"; src: url(/assets/polices/institut-de-france.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Graphie"; src: url(/assets/polices/graphie-book.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Graphie"; src: url(/assets/polices/graphie-semibold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Graphie"; src: url(/assets/polices/graphie-bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --noir: #000;
  --sombre: #1e1f17;
  --filet-sombre: #35362f;
  --rose: #8c2933;
  --rose-lien: #8c2933;
  --rose-pale: #ffbba9;
  --etiquette: #f6e7e3;
  --filet-rose: rgba(140,41,51,.55);
  --gris-clair: #b4b5a8;
  --bande: #e1dfd0;
  --filet-bouton: #a2a2a2;
  --filet-accordeon: #d4d4d4;
  --serif: "Institut", Georgia, serif;
  --sans: "Graphie", system-ui, sans-serif;
  --large: 1120px;
  --marge: clamp(20px, 8.3vw, 160px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--noir); font: 16px/26px var(--sans); }
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p a, li a, td a { color: var(--rose-lien); text-decoration: none; }
p a:hover, li a:hover { text-decoration: underline; }
strong, b { font-weight: 600; }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 400; margin: 0 0 .5em; text-wrap: balance; }
h5 { font: 600 16px/16px var(--sans); margin: 20px 0 0; }
p, ul, ol { margin: 0 0 1em; }
.invisible, .evitement:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.evitement:focus { position: fixed; z-index: 2000; top: 8px; left: 8px; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.centre { text-align: center; }

/* ---------- boutons ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; min-width: 310px; min-height: 58px; padding: 8px 20px;
  border: 1px solid var(--noir); font: 400 16px/16px var(--serif); letter-spacing: 1px; text-transform: uppercase; text-decoration: none !important; text-align: center;
  color: var(--noir) !important; background: transparent; transition: background .3s, color .3s, border-color .3s; }
.bouton:hover { background: var(--noir); color: #fff !important; }
.bouton-large { display: flex; width: 100%; min-height: 80px; border-color: var(--filet-bouton); }
.bouton-nu { border: 0; min-height: 80px; }
.bouton-nu:hover { background: none; color: var(--rose-lien) !important; }
.bouton-don { display: inline-block; padding: 30px 90px; background: var(--rose); color: #fff !important; font: 400 18px/25px var(--serif);
  letter-spacing: 2px; text-transform: uppercase; text-decoration: none !important; text-align: center; transition: background .3s, color .3s; }
.bouton-don:hover { background: #fff; color: var(--rose) !important; }
.filet-vertical { display: block; width: 1px; height: 70px; background: var(--noir); margin: 30px auto; }

/* ---------- bouton de menu, recherche ---------- */
.menu > summary { position: absolute; z-index: 1200; top: 60px; left: 50px; width: 100px; height: 100px; list-style: none; cursor: pointer;
  border: 1px solid var(--filet-rose); background: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; transition: border-color .3s; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary span { display: block; width: 25px; height: 2px; border-radius: 3px; background: var(--noir); transition: margin .5s; }
.menu > summary span:nth-child(2) { margin-left: 14px; }
.menu > summary:hover { border-color: var(--rose); }
.menu > summary:hover span:nth-child(2) { margin-left: 0; }
.recherche-bouton { position: absolute; z-index: 1300; list-style: none; cursor: pointer; top: 60px; right: 50px; width: 100px; height: 100px; display: grid; place-items: center;
  border: 1px solid var(--filet-rose); color: var(--rose-lien); transition: border-color .3s; }
.recherche-bouton:hover { border-color: var(--rose); }
.recherche-bouton::-webkit-details-marker { display: none; }
.recherche-bouton .croix, .recherche[open] .recherche-bouton .loupe { display: none; }
.recherche[open] .recherche-bouton .croix { display: block; }
.recherche[open] .recherche-bouton { position: fixed; border-color: var(--rose); color: #fff; }
.recherche-panneau { background: var(--sombre); color: #fff; padding: 172px 72px 60px; }
details.recherche .recherche-panneau { position: fixed; z-index: 1250; inset: 0 0 auto; max-height: 100vh; overflow-y: auto; min-height: 460px; }
.recherche[open]::before { content: ""; position: fixed; inset: 0; z-index: 1240; background: rgba(0,0,0,.45); }
.recherche-panneau input { width: 100%; background: transparent; border: 0; color: #fff; font: 400 48px/80px var(--serif); text-align: center; outline: none; }
.recherche-panneau input::placeholder { color: rgba(255,255,255,.45); }
.recherche-panneau input::-webkit-search-cancel-button { display: none; }
.recherche-resultats { list-style: none; max-width: 900px; margin: 30px auto 0; padding: 0; }
.recherche-resultats li { border-top: 1px solid var(--filet-sombre); }
.recherche-resultats a { display: block; padding: 18px 0; color: var(--gris-clair); text-decoration: none; }
.recherche-resultats a:hover { color: #fff; }
.recherche-resultats strong { display: block; font: 400 24px/30px var(--serif); margin-bottom: 6px; }
.recherche-resultats span { font-size: 14px; line-height: 22px; }
.recherche-resultats mark { background: none; color: var(--rose); }
.recherche-resultats .vide { padding: 18px 0; color: var(--gris-clair); text-align: center; }
.recherche-page { min-height: 70vh; }
/* sur fond sombre (accueil, actualité) */
.accueil .menu > summary { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.actualite .menu > summary { background: transparent; border-color: rgba(255,255,255,.3); }
.accueil .menu > summary span, .actualite .menu > summary span { background: #fff; }

/* ---------- panneau du menu (à gauche) ---------- */
.menu[open] > summary { position: fixed; background: var(--sombre) !important; border-color: rgba(255,255,255,.35) !important; }
.menu[open] > summary span { background: #fff !important; margin-left: 0 !important; transition: transform .25s, opacity .2s; }
.menu[open] > summary span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu[open] > summary span:nth-child(2) { opacity: 0; }
.menu[open] > summary span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.panneau { position: fixed; z-index: 1100; inset: 0 auto 0 0; width: min(576px, 100vw); overflow-y: auto; background: var(--sombre);
  color: var(--gris-clair); padding: 195px 50px 44px; display: flex; flex-direction: column; }
.menu[open]::before { content: ""; position: fixed; inset: 0; z-index: 1050; background: rgba(0,0,0,.45); cursor: pointer; }
.panneau-embleme { position: absolute; top: 38px; right: 50px; width: 210px; }
.panneau-embleme img { width: 100%; height: auto; }
.panneau ul { list-style: none; margin: 0; padding: 0; }
.panneau-rubriques { margin-top: 0; }
.panneau-rubriques > li > a, .panneau-rubriques summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; font: 400 32px/38px var(--serif); color: var(--gris-clair); text-decoration: none; padding: 14px 0; cursor: pointer; list-style: none; transition: color .3s; }
.panneau-rubriques summary::-webkit-details-marker { display: none; }
.panneau-rubriques summary::after { content: "+"; flex: 0 0 auto; font: 300 24px/1 var(--sans); }
.panneau-rubriques details[open] > summary { color: #fff; padding-bottom: 10px; }
.panneau-rubriques details[open] > summary::after { content: "–"; }
.panneau-rubriques > li > a:hover, .panneau-rubriques summary:hover, .panneau-rubriques a[aria-current] { color: #fff; text-decoration: none; }
.panneau-rubriques details ul { padding: 0 0 12px; }
.panneau-rubriques details a { display: block; font: 400 19px/30px var(--sans); color: var(--gris-clair); text-decoration: none; }
.panneau-rubriques details a:hover, .panneau-rubriques details a[aria-current] { color: #fff; }
.menu[open] + .recherche { display: none; }
.panneau-boutons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 0; }
.panneau .panneau-boutons .bouton-don { margin: 0; padding: 20px 10px; font-size: 16px; }
.bouton-billet { display: inline-flex !important; align-items: center; justify-content: center; gap: 12px; }
.bouton-billet::before { content: ""; width: 24px; height: 24px; background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4'%3E%3Cpath d='M3 8V6h18v2a2 2 0 0 0 0 4v2a2 2 0 0 0 0 4v0H3v0a2 2 0 0 0 0-4v-2a2 2 0 0 0 0-4z' transform='rotate(-20 12 12)'/%3E%3C/svg%3E") center / contain no-repeat; }
.panneau-bas { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; margin-top: auto; padding-top: 32px; }
.panneau-liens a { font: 400 16px/25px var(--sans); color: var(--gris-clair); }
.panneau-liens a:hover { color: #fff; text-decoration: none; }
.suivez { font: 600 16px/24px var(--sans); color: #fff; margin: 0 0 6px; }
.reseaux { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.reseaux a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--rose); color: #fff; transition: background .3s; }
.reseaux a:hover { background: #fff; color: var(--rose); }
.reseaux svg { width: 18px; height: 18px; }

/* ---------- en-tête de page : colonne blanche | photo ---------- */
.entete { display: grid; grid-template-columns: 55% 45%; min-height: 900px; }
.entete-texte { position: relative; padding: 271px 60px 80px 143px; }
.entete-logo { position: absolute; top: 32px; right: 60px; transition: opacity .2s; }
.entete-logo img { width: 250px; height: auto; }
body:has(.menu[open]) .entete-logo { opacity: 0; pointer-events: none; }
.entete h1 { font-size: 80px; line-height: 80px; margin: 0 0 50px; max-width: 639px; }
.entete h1::after { content: ""; display: block; width: 40px; height: 2px; background: var(--noir); margin-top: 106px; }
.chapo { max-width: 559px; }
.raccourcis { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 559px; }
.raccourcis .bouton { width: 310px; }
.entete-image { background: var(--sombre) center / cover no-repeat; min-height: 100%; }

/* ---------- corps des pages ---------- */
.corps { max-width: calc(var(--large) + 2 * var(--marge)); margin: 0 auto; padding: 80px var(--marge) 120px; }
.corps > section + section { margin-top: 40px; }
.corps h2 { font-size: 80px; line-height: 80px; margin: 60px 0 50px; }
.corps h3 { font-size: 24px; line-height: 30px; }
.titres-centre h2, .titres-centre > section > h3 { text-align: center; }
.titres-centre h2 { font-weight: 100; }
.corps img { margin: 0 auto 30px; }
.colonnes { display: grid; gap: 60px; align-items: start; }
@media (min-width: 800px) { .colonnes-2 { grid-template-columns: 1fr 1fr; } .colonnes-3 { grid-template-columns: repeat(3, 1fr); } .colonnes-4 { grid-template-columns: repeat(4, 1fr); } }
.colonnes h2 { font-size: 20px; line-height: 26px; text-align: center; margin: 20px 0; font-weight: 400; }
.colonnes-3 { text-align: center; }
.colonnes h3 { font-size: 36px; line-height: 40px; text-align: center; margin: 0 0 30px; }
.colonnes h3::after { content: ""; display: block; width: 2px; height: 40px; background: var(--noir); margin: 30px auto 0; }
.colonnes h6 { font: 400 20px/24px var(--serif); margin: 0 0 16px; }
.colonnes-2 > div { text-align: left; }
.colonnes > div:has(> h3) { text-align: center; }
.colonnes ul, .colonnes ol { text-align: left; padding-left: 20px; }
/* Horaires & tarifs : 3 colonnes structurées, fidèles à la DA (filet fin, titres centrés, contenu aligné à gauche) */
#HorairesChaalis + .colonnes-3 { gap: 28px; align-items: start; }
#HorairesChaalis + .colonnes-3 > div { text-align: left; border: 1px solid var(--filet-accordeon); padding: 38px 30px 34px; background: #fff; font-size: 15px; line-height: 24px; }
#HorairesChaalis + .colonnes-3 > div > h3 { font-size: 30px; line-height: 36px; margin-bottom: 28px; text-align: center; }
#HorairesChaalis + .colonnes-3 > div > h3::after { height: 32px; margin-top: 22px; }
#HorairesChaalis + .colonnes-3 h5 { font: 600 15px/22px var(--sans); margin: 24px 0 10px; padding-top: 20px; border-top: 1px solid var(--filet-accordeon); }
#HorairesChaalis + .colonnes-3 h3 + h5 { margin-top: 0; padding-top: 0; border-top: 0; }
#HorairesChaalis + .colonnes-3 .bouton { display: flex; width: 100%; min-width: 0; margin: 16px 0 22px; }
#HorairesChaalis + .colonnes-3 ul { padding-left: 18px; margin: 8px 0 16px; }
#HorairesChaalis + .colonnes-3 li { margin-bottom: 5px; }
#HorairesChaalis + .colonnes-3 li::marker { color: var(--rose); }
#HorairesChaalis + .colonnes-3 table { margin: 4px 0 20px; }
#HorairesChaalis + .colonnes-3 td { padding: 8px 4px; font-size: 15px; line-height: 21px; }
#HorairesChaalis + .colonnes-3 td:last-child { text-align: right; white-space: nowrap; font-weight: 600; color: var(--noir); }
.corps h2.titre-moyen { font-size: 40px; line-height: 40px; margin-top: 40px; }
main details { border: 1px solid var(--filet-accordeon); padding: 0; margin: 0 0 -1px; }
main details > summary { cursor: pointer; font: 400 16px/20px var(--serif); letter-spacing: 1px; text-transform: uppercase; padding: 20px 50px 20px 24px; list-style: none; position: relative; }
details summary::-webkit-details-marker { display: none; }
main details > summary::after { content: "+"; position: absolute; right: 24px; top: 18px; font: 400 22px/1 var(--sans); }
main details[open] > summary::after { content: "–"; }
main details > :not(summary) { padding: 0 24px; }
details > ul { padding-left: 44px; }
details.voir-plus { border: 0; margin: 0; }
details.voir-plus summary { display: inline-flex; align-items: center; justify-content: center; min-width: 310px; min-height: 58px; border: 1px solid var(--noir); padding: 8px 20px; }
details.voir-plus summary::after { display: none; }
details.voir-plus[open] summary { background: var(--noir); color: #fff; }
details.voir-plus > :not(summary) { padding: 20px 0 0; }
table { border-collapse: collapse; width: 100%; margin-bottom: 1em; }
td, th { border-bottom: 1px solid var(--filet-accordeon); padding: 6px 8px; text-align: left; vertical-align: top; }
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 30px 0; }
.galerie p { display: contents; }
.galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0; }
.visite-virtuelle iframe { width: 100%; height: 700px; border: 0; }

/* ---------- titres « Les / — actualités » ---------- */
.titre-tiret { font: 400 48px/58px var(--serif) !important; margin: 0 0 40px !important; text-align: left !important; }
.titre-tiret span { display: block; }
.titre-tiret span::before { content: ""; display: inline-block; width: 40px; height: 2px; background: var(--noir); vertical-align: middle; margin: 0 20px 0 0; }

/* ---------- cartes d'actualité ---------- */
.cartes { list-style: none; padding: 0; margin: 0; display: grid; gap: 40px 30px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.carte a { display: block; text-decoration: none !important; color: var(--noir); }
.carte-image { position: relative; display: block; }
.carte img { width: 100%; height: 264px; object-fit: cover; margin: 0; }
.carte .etiquette { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); white-space: nowrap; }
.etiquette { display: inline-block; background: var(--etiquette); color: var(--noir); font: 600 14px/41px var(--sans); padding: 0 29px; }
.carte-titre { display: block; text-align: center; padding: 30px 20px 0; }
.carte a:hover .carte-titre { color: var(--rose-lien); }

/* ---------- actualité ---------- */
.entete-actu { background: var(--sombre); color: #fff; text-align: center; padding: 81px var(--marge) 380px; }
.bouton-retour { display: inline-flex !important; align-items: center; justify-content: center; width: 252px; height: 57px; border: 1px solid rgba(255,255,255,.3);
  font: 400 14px/1 var(--serif); letter-spacing: 1px; text-transform: uppercase; color: #fff !important; transition: border-color .3s; }
.bouton-retour:hover { border-color: var(--rose); text-decoration: none !important; }
.entete-actu h1 { font-size: 48px; line-height: 56px; max-width: 960px; margin: 44px auto 32px; }
.entete-actu .categorie { margin: 0; }
.image-une { position: relative; max-width: 960px; margin: -330px auto 0; }
.image-une img { width: auto; height: auto; max-width: 100%; max-height: 606px; margin: 0 auto; }
.fleche { position: absolute; top: 60px; color: #fff; padding: 10px; }
.fleche-prec { left: -170px; } .fleche-suiv { right: -170px; }
.fleche:hover { color: var(--rose); }
.texte-actu { max-width: 1200px; margin: 0 auto; padding: 50px 0 80px; }
.bande-grise { background: var(--bande); padding: 100px var(--marge); }
.bande-grise > * { max-width: var(--large); margin-left: auto; margin-right: auto; }
.bande-grise .bouton-large { max-width: 672px; margin: 0 auto; }

/* ---------- pied : trois colonnes égales, alignées haut et bas ---------- */
.pied { background: var(--sombre); color: #fff; }
.pied a { text-decoration: none !important; }
.pied-haut, .pied-bas { display: grid; grid-template-columns: repeat(3, 1fr); padding-left: 120px; padding-right: 120px; }
.pied-haut > * { margin: 0; }
.pied-haut { padding-top: 100px; padding-bottom: 92px; align-items: start; column-gap: 48px; }
.pied-haut > :nth-child(2) { padding-left: 24px; text-align: left; }
.pied-haut > :nth-child(3) { text-align: right; }
.pied-titres { font: 400 36px/50px var(--serif); white-space: nowrap; }
.pied .bouton-don { white-space: nowrap; }
.pied-titres a { color: var(--gris-clair); transition: color .2s; }
.pied-titres a:hover, .pied-liens a:hover { color: #fff; }
.pied-suivez .suivez { margin: 0 0 10px; }
.pied .reseaux { justify-content: flex-start; }
.pied .reseaux a { width: 32px; height: 32px; }
.pied .reseaux svg { width: 15px; height: 15px; }
.pied-liens { font: 400 14px/28px var(--sans); margin: 28px 0 0 !important; padding: 0 !important; }
.pied-liens a { color: var(--gris-clair); transition: color .2s; }
.pied-bas { border-top: 1px solid var(--filet-sombre); font-size: 14px; line-height: 20px; }
.pied-bas > :first-child { padding-left: 0 !important; }
.pied-bas > :last-child { padding-right: 0 !important; }
.pied-bas > * { padding: 50px 40px; display: flex; flex-direction: column; justify-content: center; min-height: 190px; }
.pied-bas > :nth-child(2) { border-left: 1px solid var(--filet-sombre); border-right: 1px solid var(--filet-sombre); text-align: center; align-items: center; }
.pied-bas > :nth-child(3) { text-align: right; align-items: flex-end; }
.pied-bas strong { font: 600 16px/26px var(--sans); }
.pied-bas img { width: 238px; }

/* ---------- tablette et téléphone ---------- */
@media (max-width: 1100px) {
  .entete h1, .corps h2 { font-size: 56px; line-height: 58px; }
  .entete-logo img { width: 190px; }
  .pied-haut { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .pied-haut > *, .pied-bas > * { padding-left: 20px; padding-right: 20px; }
  .pied-haut, .pied-bas { padding-left: 24px; padding-right: 24px; }
  .fleche-prec { left: 10px; } .fleche-suiv { right: 10px; }
  .texte-actu { padding: 40px var(--marge) 60px; }
}
@media (max-width: 800px) {
  .menu > summary, .recherche-bouton { top: 20px; width: 64px; height: 64px; }
  .recherche-panneau { padding: 110px 20px 40px; }
  .recherche-panneau input { font-size: 26px; line-height: 40px; }
  .menu > summary { left: 20px; } .recherche-bouton { right: 20px; }
  .panneau { padding: 126px 24px 36px; }
  .panneau-embleme { left: auto; right: 24px; top: 16px; width: 132px; }
  .panneau-rubriques > li > a, .panneau-rubriques summary { font-size: 25px; line-height: 31px; padding: 12px 0; }
  .panneau-rubriques details a { font-size: 17px; line-height: 28px; }
  .panneau-boutons { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .panneau-bas { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; }
  .entete { grid-template-columns: 1fr; min-height: 0; }
  .entete-texte { padding: 110px 20px 50px; }
  .entete-logo { display: none; }
  .entete h1, .corps h2 { font-size: 44px; line-height: 48px; }
  .entete-image { min-height: 320px; order: -1; }
  .corps { padding: 50px 20px 80px; }
  .entete-actu { padding: 110px 20px 200px; }
  .entete-actu h1 { font-size: 34px; line-height: 42px; }
  .image-une { margin-top: -160px; padding: 0 20px; }
  .fleche { display: none; }
  .bouton, .raccourcis .bouton { min-width: 0; width: 100%; }
  .pied-haut, .pied-bas { grid-template-columns: 1fr; padding: 40px 20px; gap: 32px; }
  .pied-haut > *, .pied-bas > * { padding: 0; text-align: left !important; align-items: flex-start !important; min-height: 0; border: 0 !important; }
  .pied-bas { padding-bottom: 40px; }
  .bouton-don { padding: 24px 40px; }
  .visite-virtuelle iframe { height: 480px; }
}


/* ================= Chaalis ================= */
/* boutons roses (Billetterie, Programmation, Découvrir) */
.bouton-rose { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 200px; min-height: 58px; padding: 8px 24px; background: var(--rose);
  color: #fff !important; font: 400 15px/16px var(--serif); letter-spacing: 1px; text-transform: uppercase; text-decoration: none !important; transition: background .3s, color .3s; }
.bouton-rose:hover { background: var(--sombre); }
.bouton-calendrier::before { content: ""; width: 22px; height: 22px; background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Crect x='3' y='5' width='18' height='16' rx='1'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4M7 14h2M11 14h2M15 14h2M7 17h2M11 17h2'/%3E%3C/svg%3E") center / contain no-repeat; }
.menu > summary span { background: var(--noir); }
.accueil .menu > summary { background: transparent; border-color: var(--filet-rose); }
.accueil .menu > summary span { background: #fff; }
.accueil .recherche-bouton { color: #fff; }

/* accueil : grand visuel */
.hero { position: relative; height: 650px; background: var(--sombre) center / cover no-repeat; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18); }
@media (prefers-reduced-motion: reduce) { .hero video { display: none; } }
.hero h1 { position: relative; z-index: 1; margin: 0; padding: 230px 0 0 170px; }
.hero h1 img { width: 550px; height: auto; }

.accueil-actus { max-width: calc(var(--large) + 2 * var(--marge)); margin: 0 auto; padding: 110px var(--marge) 120px; }
.accueil-actus-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.accueil-boutons { display: flex; gap: 20px; flex-wrap: wrap; margin: 0; }
.accueil-actus .bouton-large, .liste-actus .bouton-large { max-width: 672px; margin: 0 auto; }

.annonce { max-width: 1140px; margin: 0 auto; border: 1px solid rgba(0,0,0,.1); padding: 75px 20px 0; text-align: center; }
.annonce > div { max-width: 668px; margin: 0 auto 40px; font: 400 18px/32px var(--serif); }
.annonce em { font-style: italic; }
.annonce .filet-vertical { margin: 0 auto -35px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; align-items: center; margin-top: 130px; }
.duo-texte { text-align: center; padding: 0 60px; }
.duo-texte h2 { font-size: 46px; line-height: 56px; margin: 0; }
.duo-texte p { max-width: 480px; margin: 0 auto 1em; font-size: 14px; line-height: 24px; }
.duo-image { height: 734px; background: center / cover no-repeat; }

/* découvrir les lieux : moitié droite rose pâle */
.lieux { --bord: max(20px, calc((100% - var(--large)) / 2)); position: relative; padding: 90px var(--bord) 120px; background: linear-gradient(90deg, #fff 50%, var(--rose-pale) 50%); }
.lieux-tete { display: flex; justify-content: space-between; align-items: center; max-width: var(--large); margin: 0 auto 50px; }
.agenda-tete { display: flex; justify-content: space-between; align-items: center; padding-right: var(--bord); margin-bottom: 50px; }
.titre-une-ligne { margin: 0 !important; }
.titre-une-ligne span { display: inline; }
.fleches { display: flex; gap: 14px; margin: 0; }
.fleches button { background: none; border: 0; padding: 8px 4px; cursor: pointer; color: inherit; opacity: .55; transition: opacity .3s; }
.fleches button:hover { opacity: 1; }
.defile { list-style: none; margin: 0; padding: 0 var(--marge) 10px 0; display: flex; gap: 60px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.defile::-webkit-scrollbar { display: none; }
.defile > li { flex: 0 0 auto; scroll-snap-align: start; position: relative; }
.lieux .defile { max-width: var(--large); margin: 0 auto; padding-right: 0; }
.agenda .defile { max-width: var(--large); padding-right: 0; }
.patrimoine { font: 600 14px/20px var(--sans); margin: 0 0 14px; }
.lieux .defile > li { width: calc((100% - 60px) / 2); }
.lieux a { display: block; text-decoration: none; color: var(--noir); }
.lieux a:hover, .carte a:hover, .evenements a:hover, .recherche-resultats a:hover { text-decoration: none; }
.lieux img { width: 100%; height: auto; aspect-ratio: 530 / 298; object-fit: cover; margin: 0 0 30px; }
.lieux h3 { font-size: 26px; line-height: 32px; margin: 0 0 20px; }
.lieux p { font-size: 14px; line-height: 24px; }
.lieux a:hover h3 { color: var(--rose-lien); }

/* agenda */
.agenda { --bord: max(20px, calc((100% - var(--large)) / 2)); background: var(--sombre); color: #fff; padding: 110px 0 130px var(--bord); }
.agenda .titre-tiret span::before { background: #fff; }
.evenements > li { width: 350px; border: 1px solid rgba(255,255,255,.3); padding: 40px 28px 26px; text-align: center; display: flex; flex-direction: column; }
.evenements.defile { gap: 30px; }
.evenement-dates { display: flex; justify-content: center; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
.evenement-dates p { margin: 0; display: flex; flex-direction: column; align-items: center; }
.evenement-dates .jour { font: 400 56px/60px var(--serif); }
.evenement-dates .mois { font: 400 13px/20px var(--serif); margin-top: 8px; }
.du-au { font: 600 9px/10px var(--sans); text-transform: uppercase; letter-spacing: 1px; padding-top: 8px; gap: 2px; }
.evenement-titre { font-size: 13px; line-height: 19px; flex: 1; }
.evenement-titre strong { font-weight: 600; }
.evenements .bouton-rose { width: 100%; }
.agenda-page { padding: 100px var(--marge) 120px; margin-top: 80px !important; }
.agenda-page + .bande-noire-medias { margin-top: 0; }
.agenda-interieur { max-width: var(--large); margin: 0 auto; }
.evenements.grille { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.evenements.grille > li { width: auto; }
@media (max-width: 1050px) { .evenements.grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* informations pratiques sur fond de roses */
.roses { background: var(--rose) url(/assets/img/fond-roses.webp) center / cover no-repeat; background-blend-mode: soft-light; padding: 157px var(--marge); }
.roses > div { max-width: 1140px; margin: 0 auto; background: #fff; padding: 100px 50px 70px; text-align: center; font-size: 14px; line-height: 24px; }
.roses > div > p:first-child { margin: 0; }
.roses .bouton-large { margin-top: 40px; }

/* liste des actualités : « Charger plus » sans script */
.liste-actus { padding-top: 0; }
main details.charger-plus { border: 0; margin: 0; }
main details.charger-plus > summary { padding: 0; list-style: none; cursor: pointer; text-align: center; }
main details.charger-plus > summary::-webkit-details-marker { display: none; }
main details.charger-plus > summary::after { display: none; }
main details.charger-plus[open] > summary { display: none; }
main details.charger-plus > :not(summary) { padding: 0; }
main details.charger-plus > .cartes { margin-top: 40px; }
.corps .liste-actus .titre-tiret { margin-top: 0 !important; }

@media (max-width: 1100px) {
  .hero h1 { padding: 200px 0 0 var(--marge); } .hero h1 img { width: 420px; }
  .duo-texte { padding: 0 40px; }
}
@media (max-width: 800px) {
  .hero { height: 520px; } .hero h1 { padding: 150px 20px 0; } .hero h1 img { width: 280px; }
  .accueil-actus { padding: 70px 20px 70px; }
  .accueil-boutons { width: 100%; } .accueil-boutons a { flex: 1; min-width: 0; }
  .annonce { margin: 0 20px; padding: 40px 20px 0; }
  .annonce > div { font-size: 16px; line-height: 28px; }
  .duo { grid-template-columns: 1fr; margin-top: 80px; }
  .duo-texte { padding: 0 20px 50px; } .duo-texte h2 { font-size: 34px; line-height: 42px; }
  .duo-image { height: 360px; }
  .lieux { padding: 60px 0 70px 20px; background: var(--rose-pale); }
  .lieux-tete, .agenda-tete { padding-right: 20px; }
  .lieux .defile > li { width: 82vw; } .lieux img { width: 100%; height: auto; aspect-ratio: 530 / 298; }
  .defile { gap: 20px; padding-right: 20px; }
  .agenda { padding: 70px 0 80px 20px; }
  .evenements > li { width: 300px; }
  .agenda-page { padding: 70px 20px; } .evenements.grille { grid-template-columns: 1fr; } .evenements.grille > li { width: auto; }
  .roses { padding: 70px 20px; } .roses > div { padding: 50px 20px 40px; }
}

/* formulaire de contact (Groupes, Scolaires) */
.formulaire { margin-top: 30px; text-align: left; }
.formulaire p { margin: 0 0 22px; }
.formulaire label { display: block; font: 400 16px/22px var(--serif); margin-bottom: 8px; }
.formulaire input:not([type=hidden]), .formulaire select, .formulaire textarea { width: 100%; padding: 14px; border: 1px solid var(--filet-accordeon); background: #fff; font: 14px/22px var(--sans); color: inherit; border-radius: 0; }
.formulaire select:invalid { color: #757575; }
.formulaire :focus-visible { outline: 2px solid var(--rose); outline-offset: 0; }
.champs-2 { display: grid; gap: 0 30px; }
@media (min-width: 700px) { .champs-2 { grid-template-columns: 1fr 1fr; } }
.formulaire button { border: 0; cursor: pointer; min-width: 220px; }
.piege { position: absolute; left: -9999px; }
.formulaire-demo { font-size: 13px; color: #757575; }


/* fenêtre d'ouverture (accueil) : tiroir sombre à droite fidèle au site */
.popup-voile[hidden] { display: none; }
.popup-voile { position: fixed; inset: 0; z-index: 1500; background: rgba(0,0,0,.45); display: flex; justify-content: flex-end; align-items: stretch; opacity: 0; transition: opacity .3s ease; }
.popup-voile.ouvert { opacity: 1; }
.popup-panneau { position: relative; width: min(520px, 100vw); max-height: 100dvh; overflow-y: auto; background: var(--sombre); color: #fff; padding: 36px 40px 44px; display: flex; flex-direction: column; justify-content: center; transform: translateX(100%); transition: transform .35s ease; }
.popup-voile.ouvert .popup-panneau { transform: translateX(0); }
.popup-fermer { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 1px solid rgba(255,255,255,.25); color: #fff; cursor: pointer; transition: border-color .25s, color .25s; }
.popup-fermer:hover { border-color: var(--rose); color: var(--rose); }
.popup-contenu { display: flex; flex-direction: column; gap: 16px; }
.popup-contenu h2 { font: 400 36px/42px var(--serif); color: #fff; margin: 0; padding-right: 44px; }
.popup-sous-titre { font: 400 20px/28px var(--serif); color: #fff; margin: 0; }
.popup-filet { display: block; width: 50px; height: 2px; background: #fff; margin: 4px 0; }
.popup-image img { width: auto; max-width: 100%; max-height: 48dvh; height: auto; display: block; }
.popup-action { margin: 8px 0 0; }
.popup-action .bouton-rose { width: auto; min-width: 220px; }
@media (max-width: 600px) {
  .popup-panneau { padding: 28px 24px 36px; justify-content: flex-start; }
  .popup-contenu h2 { font-size: 30px; line-height: 36px; }
  .popup-image img { max-height: 44dvh; }
  .popup-action .bouton-rose { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .popup-voile, .popup-panneau { transition: none; }
}

/* chiffres clés fiscaux (Devenir mécène) et carte d'accès (Groupes) */
.chiffres-cles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0; text-align: center; }
.chiffres-cles > div { border: 1px solid var(--filet); padding: 24px 16px; background: #fff; }
.chiffres-cles .chiffre { display: block; font: 400 44px/1 var(--serif); color: var(--rose); margin-bottom: 10px; }
.chiffres-cles .libelle { display: block; font: 400 13px/20px var(--sans); color: var(--noir); }
@media (max-width: 700px) { .chiffres-cles { grid-template-columns: 1fr; } }
.carte-acces iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---------- compléments Fondation Del Duca ---------- */
.hero-delduca { height: 720px; display: flex; align-items: center; }
.hero-delduca::after { background: rgba(0,0,0,.28); }
.hero-delduca .hero-interieur { position: relative; z-index: 2; width: 100%; max-width: calc(var(--large) + 2 * var(--marge)); margin: 0 auto; padding: 60px var(--marge) 0; text-align: left; }
.hero-delduca .hero-logo { width: min(320px, 68vw); height: auto; margin: 0 0 88px; }
.hero-delduca h1 { color: #fff; font: 300 clamp(24px, 2.5vw, 34px)/1.35 var(--sans); max-width: 560px; margin: 0; padding: 0; text-shadow: 0 2px 16px rgba(0,0,0,.45); }

/* damier Fondation + Citation Xavier Darcos */
.annonce { margin-top: 90px; }
.duo-inverse { margin-top: 90px; }
.duo-citation { margin-top: 0; }
.duo-portrait { background-position: center top; }
.citation-col { padding: 60px 80px; text-align: left; }
.citation-col blockquote { position: relative; max-width: 460px; margin: 0 auto; padding: 12px 32px; }
.citation-col blockquote::before { content: "“"; position: absolute; top: -18px; left: -12px; font: 700 64px/1 Georgia, serif; color: var(--rose); }
.citation-col blockquote::after { content: "”"; position: absolute; bottom: -24px; right: -4px; font: 700 64px/1 Georgia, serif; color: var(--rose); }
.citation-col p { max-width: none; font: 400 15px/26px var(--sans); color: var(--noir); margin: 0 0 24px; }
.citation-col cite { display: block; text-align: right; font: italic 400 14px/22px var(--sans); color: #555; }

/* 4 chiffres clés sur fond blanc bordé */
.chiffres-delduca { background: #fff; border-top: 1px solid #e6e4df; border-bottom: 1px solid #e6e4df; padding: 48px var(--marge); margin-top: 40px; }
.chiffres-delduca ul { list-style: none; max-width: var(--large); margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; text-align: center; }
.chiffres-delduca strong { display: block; font: 400 clamp(28px, 2.6vw, 36px)/1.2 var(--serif); margin-bottom: 8px; color: var(--rose); }
.chiffres-delduca span { display: block; font: 400 13px/20px var(--sans); color: #555; }
@media (max-width: 900px) { .chiffres-delduca ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .chiffres-delduca ul { grid-template-columns: 1fr; } }

/* cartes actualités : étiquette bordeaux + date en gras */
.etiquette { background: var(--rose); color: #fff; font: 600 13px/38px var(--sans); padding: 0 24px; }
.carte-date { display: block; text-align: center; font: 600 13px/20px var(--sans); color: var(--noir); padding: 22px 20px 0; }
.carte-date + .carte-titre { padding-top: 8px; }

/* découvrir les lieux : moitié droite rose très pâle fidèle (#fcf1ee) */
.lieux { background: linear-gradient(90deg, #fff 50%, #fcf1ee 50%); }

/* transition sombre + bandeau final bordeaux profond */
.bande-sombre { background: var(--sombre); height: 140px; }
.evenement-cat { font: 600 13px/1.4 var(--sans); text-transform: uppercase; letter-spacing: 1px; color: var(--rose-pale); margin: 10px 0 6px; }
.video-cadre { position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 820px; margin: 24px auto; background: #000; }
.video-cadre iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.roses { background: var(--rose); }

@media (max-width: 800px) {
  .hero-delduca { height: 540px; }
  .hero-delduca .hero-interieur { padding: 80px 20px 0; }
  .hero-delduca .hero-logo { margin-bottom: 40px; }
  .citation-col { padding: 40px 24px; }
  .lieux { background: #fcf1ee; }
}


/* encarts chiffrés et laurier des pages Prix */
.prix-chiffre { text-align: center; padding: 12px 8px; }
.prix-chiffre strong { display: block; font: 400 32px/1.2 var(--serif); color: var(--rose); margin-bottom: 4px; }
.prix-chiffre span { display: block; font: 400 14px/20px var(--sans); color: #555; }
.corps img[src*="laurier-mono"] { max-width: 76px; height: auto; margin: 12px auto; }

/* ---------- gabarit pages Prix (bandeau plein format, titres à filet, laurier incliné, tiroirs lauréats) ---------- */
.entete-banniere { position: relative; min-height: 350px; background: #060000; display: flex; align-items: center; justify-content: center; padding: 50px 10px; overflow: hidden; }
.entete-banniere-fond { position: absolute; inset: 0; background: center center / cover no-repeat; opacity: .65; }
@media (min-width: 1025px) { .entete-banniere-fond { background-attachment: fixed; background-size: max(100%, 2400px) auto; } }
.entete-banniere-titre { position: relative; z-index: 2; width: 100%; display: flex; align-items: center; gap: 28px; }
.entete-banniere-titre::before, .entete-banniere-titre::after { content: ""; flex: 1 1 20px; height: 2px; background: #fff; }
.entete-banniere-titre h1 { color: #fff; font: 400 clamp(36px, 5.5vw, 80px)/1 var(--serif); text-align: center; margin: 0; max-width: 780px; }
.page-banniere .menu > summary { background: #fff; border-color: rgba(255,255,255,.35); }
.page-banniere .recherche-bouton { border-color: rgba(255,255,255,.35); color: #fff; }
.page-banniere .corps { padding-top: 24px; }

.prix-retour { text-align: center; margin: 0 0 75px; }
.bouton-retour-prix { min-width: min(540px, 100%); min-height: 41px; padding: 12px 24px; font-size: 15px; line-height: 15px; }

.corps h2.titre-prix { font: 400 70px/70px var(--serif); margin: 0 0 36px; text-wrap: unset; }
.titre-prix span { display: block; position: relative; padding-left: 105px; margin-top: 8px; }
.titre-prix span::before { content: ""; position: absolute; left: 0; bottom: 8px; width: 78px; height: 2px; background: var(--noir); }

.prix-duo { align-items: center; gap: 50px; }
.prix-visuel p { margin: 0; }
.prix-visuel img { width: 69%; max-width: 390px; height: auto; margin: 0 auto; }
.prix-visuel-archeo img { width: 60%; max-width: 330px; }
.prix-visuel-large img { width: 84%; max-width: 462px; }
.prix-visuel-pleine img { width: 96%; max-width: 540px; }
.prix-texte p { color: #7a7a7a; }
.prix-texte strong { color: var(--noir); }
.prix-texte p:last-child { margin-bottom: 0; }
.liste-bordeaux { color: var(--rose); padding-left: 20px; }
.liste-bordeaux strong { color: var(--rose); }

.prix-trio { display: grid; grid-template-columns: 27.5% 27.5% 1fr; gap: 32px; align-items: start; }
.prix-trio-photos p, .prix-trio-milieu p { margin: 0 0 20px; }
.prix-trio-photos img, .prix-trio-milieu img { width: 100%; height: auto; margin: 0; }
.prix-actions-etroit { margin-top: 56px; }
.prix-actions-etroit .bouton-prix { width: 100%; min-width: 0; padding: 16px 18px; font-size: 16px; }
.prix-embleme-col { margin-top: 40px; }

.prix-encadre-gris { background: #f5f5f5; padding: 36px 40px; margin-top: 48px; }
.prix-encadre-gris .prix-appels-2 { margin-top: 30px; }
.prix-appel-plein { margin: 16px 0 0; }
.prix-encadre-cycle { margin-top: 0; padding: 28px 30px; }
.prix-cycles { align-items: start; }

.prix-bas { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 36px; }
.prix-actions { display: flex; flex-direction: column; align-items: center; gap: 20px; }
button.bouton { cursor: pointer; font-family: var(--serif); }
.bouton-prix { width: 370px; max-width: 100%; min-height: 60px; padding: 18px 32px; font-size: 18px; line-height: 22px; }
button.bouton-prix { min-height: 78px; }

.prix-embleme { display: grid; grid-template-columns: minmax(110px, auto) 118px minmax(150px, auto); align-items: start; justify-content: center; max-width: 460px; margin: 0 auto; }
.prix-embleme > .prix-chiffre { padding: 0; }
.prix-embleme > .prix-chiffre:first-child { padding-top: 18px; margin-right: -18px; position: relative; z-index: 1; }
.prix-embleme > .prix-chiffre-bas { padding-top: 132px; margin-left: -26px; position: relative; z-index: 1; }
.prix-embleme .prix-chiffre strong { font: 400 50px/1.15 var(--serif); color: var(--rose); margin-bottom: 4px; white-space: nowrap; }
.prix-embleme .prix-chiffre span { font: 400 16px/18px var(--sans); color: #7a7a7a; }
.prix-embleme .prix-laurier p { margin: 0; }
.corps .prix-embleme .prix-laurier img { width: 118px; max-width: none; height: auto; margin: 0 auto; transform: rotate(23deg); pointer-events: none; }

.prix-subventions { align-items: start; gap: 50px; }
.prix-subventions .prix-embleme { margin-top: 44px; }
.prix-subventions .prix-actions { margin-top: 44px; }
.prix-subventions ul { color: #555; }
.prix-subventions ul strong { color: var(--noir); }

.prix-appel { max-width: 920px; margin: 50px auto 0; text-align: center; }
.prix-appels-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 50px; }
.prix-appels-2 p { margin: 0; }
.bouton-appel { display: flex; width: 100%; min-width: 0; min-height: 74px; padding: 22px 36px; font-size: 22px; line-height: 26px; }
.bouton-appel:hover, .bouton-appel:focus-visible { background: rgba(140,41,51,.07); color: var(--rose) !important; border-color: var(--rose); }

.prix-separateur { border: 0; border-top: 1px solid rgba(122,122,122,.76); max-width: 672px; margin: 75px auto; }

/* tiroirs d'historique des lauréats */
.popup-voile.popup-historique { opacity: 1; background: rgba(0,0,0,0); transition: background .25s ease; }
.popup-voile.popup-historique.ouvert { background: rgba(0,0,0,.45); }
.popup-historique .popup-panneau { width: min(582px, 100vw); justify-content: flex-start; padding: 84px 50px 56px; }
.popup-historique .popup-fermer { top: 28px; right: 32px; width: 46px; height: 46px; }
.popup-historique .popup-contenu h2 { font: 400 36px/42px var(--serif); color: #fff; margin: 0; padding-right: 0; }
.popup-historique .popup-filet { margin: 6px 0 14px; }
.popup-historique .popup-contenu p { color: #fff; font: 400 15px/24px var(--sans); margin: 14px 0 6px; }
.popup-historique .popup-contenu ul { padding-left: 20px; margin: 0 0 12px; color: #e8e8e3; font: 400 15px/24px var(--sans); }
.popup-historique .popup-contenu li { margin-bottom: 9px; }
.popup-historique .popup-contenu strong { color: #fff; font-weight: 600; }
.popup-historique details { border: 1px solid rgba(255,255,255,.22); margin: 0 0 14px; background: transparent; }
.popup-historique details > summary { color: #fff; font: 400 18px/24px var(--serif); text-transform: none; letter-spacing: 0; padding: 16px 44px 16px 18px; }
.popup-historique details > summary::after { color: #fff; top: 15px; right: 18px; }
.popup-historique details > :not(summary) { padding: 4px 18px 14px; }
.popup-historique details ul { padding-left: 18px; }

/* ---------- compléments pages intérieures (Actualités & médias, Hôtel Pereire, La Fondation, Prix & soutiens, Infos, Mentions) ---------- */
.bande-pleine { width: 100vw; position: relative; left: 50%; margin-left: -50vw; }
.bande-interieur { max-width: var(--large); margin: 0 auto; padding: 80px var(--marge); }
@media (min-width: 1200px) { .bande-interieur { max-width: calc(var(--large) + 2 * var(--marge)); } }
.bande-gris-clair { background: #f5f5f5; }
.bande-pierre { background: #e8e8e6; }
.corps > .bande-pleine:last-child { margin-bottom: -120px; }

.bande-noire-medias { background: #000; color: #fff; padding: 56px var(--marge); margin: 40px 0 0 -50vw; }
.bande-noire-medias + .bande-pleine { margin-top: 0; }
.bande-noire-interieur { max-width: var(--large); margin: 0 auto; display: flex; align-items: center; gap: 36px; }
.bande-noire-interieur::before, .bande-noire-interieur::after { content: ""; flex: 1 1 40px; height: 1px; background: rgba(255,255,255,.55); }
.bande-noire-interieur span { font: 400 clamp(34px, 4.5vw, 60px)/1.1 var(--serif); text-align: center; }

.rapports-grille { align-items: center; }
.carte-rapport { background: #fff; padding: 24px 24px 16px; box-shadow: 0 4px 20px rgba(0,0,0,.06); max-width: 340px; margin: 0 auto; }
.carte-rapport img { margin: 0 auto 14px; }
.carte-rapport p { margin: 0; font-size: 14px; }

.presse-grille { gap: 32px; align-items: start; text-align: left; }
.presse-grille h4 { font: 600 26px/32px var(--sans); margin: 0 0 18px; color: var(--noir); }
.liste-pdf { list-style: none !important; padding-left: 0 !important; margin: 0; }
.liste-pdf li { margin-bottom: 12px; font-size: 14px; line-height: 20px; }
.liste-pdf a { display: inline-flex; align-items: flex-start; gap: 10px; color: #555; text-decoration: none; }
.liste-pdf a:hover { color: var(--rose); text-decoration: underline; }
.liste-pdf a::before { content: ""; flex: 0 0 16px; width: 16px; height: 19px; margin-top: 1px; background: var(--rose);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M9 15h6M9 11h2'/%3E%3C/svg%3E") center / contain no-repeat; }
.liste-pdf-blanc a { color: rgba(255,255,255,.88); }
.liste-pdf-blanc a:hover { color: #fff; }
.liste-pdf-blanc a::before { background: rgba(255,255,255,.85); }

.videos-grille { gap: 28px; align-items: start; }
.legende-video { text-align: center; font-size: 14px; line-height: 22px; color: #333; margin: 10px 0 0; }
.video-bloc-large { max-width: 820px; margin: 56px auto 0; }

.publications-grille { gap: 48px 60px; align-items: start; }
.publication-item { max-width: 360px; margin: 0 auto; }
.publication-item img { box-shadow: 0 4px 18px rgba(0,0,0,.08); margin-bottom: 16px; }

.grille-4-prix { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grille-4-prix p { margin: 0; }
.grille-4-prix img { width: 100%; height: auto; margin: 0; transition: opacity .25s; }
.grille-4-prix a:hover img { opacity: .9; }

.roses-page > div { padding: 80px 60px 70px; font-size: 16px; line-height: 26px; }
.roses-page > div p { max-width: 680px; margin-left: auto; margin-right: auto; }
.titre-carte-blanche { font: 400 44px/52px var(--serif) !important; margin: 0 0 10px !important; text-align: center; }
.dossier-boutons { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 36px; }
.dossier-boutons .bouton { width: min(520px, 100%); min-height: 60px; }

.centre-histoire > h2 { text-align: center; margin-top: 0; margin-bottom: 10px; }
.centre-histoire > img, .centre-histoire > p > img { max-width: 820px; width: 100%; margin: 20px auto 36px; }
.chapo-histoire { max-width: 820px; margin: 0 auto 30px; text-align: center; font: 400 20px/30px var(--serif); color: var(--noir); }
.couple-grille { gap: 36px; align-items: start; text-align: left; }
.couple-grille h4 { font: 400 22px/28px var(--serif); margin: 0 0 18px; text-align: left; }
.couple-photo { text-align: center; }
.couple-photo img { max-height: 520px; width: auto; margin: 0 auto 10px; }
.legende-couple { font-size: 14px; color: #444; text-align: center; margin: 0; }

.histoire-pereire-entete { margin-bottom: 28px; }
.histoire-pereire-bande { margin-top: 0 !important; }
.histoire-pereire { gap: 64px; align-items: start; }
.corps h4.sous-titre-pereire { font: 400 26px/32px var(--serif); color: var(--noir); margin: 0 0 20px; }
.histoire-pereire p { color: #555; font-size: 15px; line-height: 26px; }
.photo-atrium p, .portrait-pereire p { margin: 0; }
.photo-atrium img { width: 100%; margin: 28px 0 0; }
.portrait-pereire { max-width: 450px; margin: 0 auto 36px; }
.portrait-pereire img { width: 100%; margin: 0; }
.espaces-entete { text-align: center; margin-top: 80px !important; margin-bottom: 30px; }
.espaces-entete h2 { margin-bottom: 24px; }
.espaces-entete h2::after { content: ""; display: block; width: 40px; height: 2px; background: var(--noir); margin: 24px auto 40px; }
.espace-pereire { margin-top: 56px !important; padding: 16px 0 36px; }
.espace-encadre { background: #f5f5f5; padding: 50px 56px 76px; max-width: 1140px; margin-left: auto; margin-right: auto; }
.corps h3.titre-espace { font: 400 clamp(34px, 4.2vw, 60px)/1.05 var(--serif); color: var(--noir); margin: 0 0 36px; display: flex; align-items: center; gap: 24px; text-align: left !important; }
.corps h3.titre-espace::before { content: ""; flex: 0 0 78px; height: 2px; background: var(--noir); }
.corps h3.titre-espace::after { display: none !important; }
.espace-duo { align-items: center; gap: 56px; }
.espace-texte { color: #555; font-size: 15px; line-height: 26px; }
.espace-texte p:last-child { margin-bottom: 0; }
.espace-photo { padding: 0 0 34px 34px; }
.espace-photo p { margin: 0; }
.espace-blanc .espace-photo img { width: 100%; height: auto; margin: 0; box-shadow: -30px 30px 0 7px #fcf1ee; }
.espace-encadre .espace-photo img { width: 100%; height: auto; margin: 0; box-shadow: -30px 30px 0 0 #e5e5e5; }
.roses-pereire { padding: 130px var(--marge) 65px; margin-top: 80px !important; }
.roses-pereire > .mad-carte { max-width: 1140px; margin: 0 auto; background: #fff; padding: 60px 50px 50px; text-align: center; }
.corps h2.mad-titre { font: 400 48px/52px var(--serif); color: var(--noir); margin: 0 0 48px; text-align: center; }
.mad-cta-principal { margin: 0 0 42px !important; }
.mad-cta-secondaire { margin: 0 !important; }
.bouton-mad-contact { min-width: min(390px, 100%); min-height: 72px; padding: 24px 48px; font-size: 20px; line-height: 20px; border: 1px solid var(--noir); color: var(--noir) !important; }
.bouton-mad-brochure { min-width: min(274px, 100%); min-height: 41px; padding: 12px 24px; font-size: 15px; line-height: 15px; border: 1px solid var(--rose); color: var(--rose) !important; }
.bouton-mad-brochure:hover, .bouton-mad-brochure:focus-visible { background: var(--rose); color: #fff !important; border-color: var(--rose); }
.mad-documents { max-width: 1140px; margin: 56px auto 0; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.28); color: #fff; text-align: left; }
.mad-documents h3 { font: 400 26px/30px var(--serif); color: #fff; margin: 0 0 18px; }
.mad-documents .liste-pdf li { font-size: 15px; line-height: 24px; }

/* ---------- bloc « Galerie de photos » & visionneuse plein écran ---------- */
.galerie-actu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0; }
.galerie-vignette { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #f2f1ee; cursor: zoom-in; overflow: hidden; aspect-ratio: 4 / 3; }
.galerie-vignette img { width: 100%; height: 100%; object-fit: cover; margin: 0 !important; transition: transform .35s ease; }
.galerie-vignette:hover img, .galerie-vignette:focus-visible img { transform: scale(1.04); }
.galerie-vignette::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .25s; pointer-events: none; }
.galerie-vignette:hover::after { background: rgba(0,0,0,.08); }

.visionneuse[hidden] { display: none; }
.visionneuse { position: fixed; inset: 0; z-index: 2200; background: rgba(18, 18, 15, .95); color: #fff; display: grid; grid-template-rows: auto 1fr; align-items: center; justify-items: center; padding: 20px 72px 32px; }
.visionneuse-barre { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 4px 0 12px; z-index: 2; }
.visionneuse-compteur { font: 400 14px/20px var(--sans); letter-spacing: 1px; color: rgba(255,255,255,.78); }
.visionneuse-fermer { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font: 300 28px/1 var(--sans); cursor: pointer; display: grid; place-items: center; transition: border-color .25s, color .25s; }
.visionneuse-fermer:hover { border-color: var(--rose-pale); color: var(--rose-pale); }
.visionneuse-figure { margin: 0; max-width: min(88vw, 1360px); max-height: 82dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.visionneuse-img { max-width: 100%; max-height: 78dvh; width: auto; height: auto; object-fit: contain; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.visionneuse-legende { margin-top: 12px; font: 400 14px/20px var(--sans); color: rgba(255,255,255,.85); text-align: center; }
.visionneuse-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 64px; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.35); color: #fff; font: 300 36px/1 var(--sans); cursor: pointer; display: grid; place-items: center; transition: border-color .25s, background .25s; z-index: 2; }
.visionneuse-nav:hover { border-color: #fff; background: rgba(140,41,51,.75); }
.visionneuse-nav[hidden] { display: none; }
.visionneuse-prec { left: 18px; }
.visionneuse-suiv { right: 18px; }

.contact-grille, .mentions-grille { align-items: start; }
@media (min-width: 800px) {
  .contact-grille, .mentions-grille { grid-template-columns: 320px 1fr; gap: 60px; }
}
.carte-coordonnees { background: #f9ecea; padding: 44px 30px; text-align: center !important; font-size: 15px; line-height: 24px; }
.carte-coordonnees h3 { font: 400 28px/34px var(--serif) !important; text-align: center !important; margin: 0 0 24px !important; }
.carte-coordonnees h3::after { content: ""; display: block; width: 1px; height: 34px; background: var(--noir); margin: 22px auto 0 !important; }
.encadre-acces { max-width: 860px; margin: 40px auto 0; border: 1px solid var(--filet-accordeon); padding: 36px 40px 44px; text-align: center; }
.encadre-acces .filet-vertical { height: 36px; margin: 0 auto 24px; }
.encadre-acces h5 { margin-top: 18px; }
.mentions-texte h2 { font-size: 40px; line-height: 46px; text-align: left !important; margin: 48px 0 20px !important; }
.mentions-texte h2:first-child { margin-top: 0 !important; }
.mentions-texte h3 { font: 400 22px/28px var(--serif) !important; text-align: left !important; margin: 28px 0 14px !important; display: flex; align-items: center; gap: 14px; }
.mentions-texte h3::before { content: ""; flex: 0 0 32px; height: 1px; background: var(--noir); }
.mentions-texte h3::after { display: none !important; }

@media (max-width: 1024px) {
  .corps h2.titre-prix { font-size: 52px; line-height: 54px; }
  .prix-bas { grid-template-columns: 1fr; gap: 36px; }
  .prix-trio { grid-template-columns: 1fr 1fr; }
  .prix-trio > .prix-texte { grid-column: 1 / -1; }
}
@media (max-width: 800px) {
  .pied-titres { white-space: normal; font-size: 28px; line-height: 36px; }
  .entete-banniere { min-height: 240px; padding: 80px 16px 40px; }
  .entete-banniere-fond { background-size: cover; }
  .entete-banniere-titre::before, .entete-banniere-titre::after { display: none; }
  .entete-banniere-titre { justify-content: center; }
  .prix-retour { margin-bottom: 44px; }
  .corps h2.titre-prix { font-size: 40px; line-height: 44px; }
  .titre-prix span { padding-left: 56px; }
  .titre-prix span::before { width: 42px; bottom: 6px; }
  .prix-visuel img, .prix-visuel-archeo img, .prix-visuel-large img, .prix-visuel-pleine img { width: 82%; }
  .prix-trio, .grille-4-prix { grid-template-columns: 1fr; }
  .prix-actions-etroit { margin-top: 24px; }
  .prix-encadre-gris { padding: 24px 20px; }
  .prix-embleme { grid-template-columns: minmax(90px, auto) 88px minmax(110px, auto); max-width: 340px; }
  .corps .prix-embleme .prix-laurier img { width: 88px; }
  .prix-embleme > .prix-chiffre-bas { padding-top: 96px; margin-left: -18px; }
  .prix-embleme .prix-chiffre strong { font-size: 36px; }
  .prix-embleme .prix-chiffre span { font-size: 14px; }
  .prix-appels-2 { grid-template-columns: 1fr; }
  .bouton-appel { font-size: 17px; line-height: 22px; min-height: 62px; padding: 16px 20px; }
  .prix-separateur { margin: 50px auto; }
  .popup-historique .popup-panneau { padding: 72px 24px 40px; }
  .corps > .bande-pleine:last-child { margin-bottom: -80px; }
  .bande-interieur { padding: 50px 20px; }
  .espace-encadre { padding: 36px 20px 52px; }
  .roses-page > div { padding: 48px 20px 40px; }
  .titre-carte-blanche { font-size: 32px !important; line-height: 38px !important; }
  .corps h3.titre-espace { font-size: 28px; line-height: 34px; gap: 14px; }
  .corps h3.titre-espace::before { flex-basis: 36px; }
  .espace-photo { padding: 0 0 20px 18px; }
  .espace-blanc .espace-photo img { box-shadow: -16px 16px 0 4px #fcf1ee; }
  .espace-encadre .espace-photo img { box-shadow: -16px 16px 0 0 #e5e5e5; }
  .roses-pereire { padding: 70px 20px 50px; }
  .roses-pereire > .mad-carte { padding: 44px 20px 36px; }
  .corps h2.mad-titre { font-size: 32px; line-height: 38px; margin-bottom: 32px; }
  .bouton-mad-contact { font-size: 16px; min-height: 58px; padding: 16px 24px; }
  .galerie-actu { grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 24px 0; }
  .visionneuse { padding: 14px 12px 24px; }
  .visionneuse-barre { padding: 0 4px 8px; }
  .visionneuse-nav { width: 42px; height: 48px; font-size: 28px; top: auto; bottom: 20px; transform: none; }
  .visionneuse-prec { left: calc(50% - 52px); }
  .visionneuse-suiv { right: calc(50% - 52px); }
  .visionneuse-figure { max-width: 96vw; max-height: 74dvh; margin-bottom: 52px; }
  .visionneuse-img { max-height: 70dvh; }
  .encadre-acces { padding: 28px 20px; }
}
