/* Compléments de la maquette multi-pages. Tout le reste vient de style.css. */

.maquette-ruban {
  margin: 0; padding: 6px 16px; text-align: center;
  background: var(--creme-sombre); color: var(--encre-douce); font-size: 13px;
}
/* Le faux texte n'est plus surligné (demande de Danae, 14/10) : la classe reste pour
   retrouver les passages à écrire, dans le code. */

/* Page courante dans le menu. */
.primary-nav a[aria-current="page"] { color: var(--bleu-nuit); border-color: var(--terre); }

/* Bandeau des pages intérieures : même fond que l'accueil, moitié moins haut. */
.hero-page .hero-inner { padding-top: 72px; padding-bottom: 64px; }
.hero-page h1 { font-size: clamp(2rem, 5vw, 3.2rem); }

.deux-colonnes { display: grid; gap: 48px; align-items: center; }
.deux-colonnes .figure-photo { margin: 0; }
@media (min-width: 900px) {
  .deux-colonnes { grid-template-columns: 1fr 1fr; }
  .colonnes-logo { grid-template-columns: 240px 1fr; }
}
.logo-associu { width: 200px; height: auto; margin: 0 auto; display: block; }

.cartes { display: grid; gap: 24px; margin-top: 34px; }
@media (min-width: 800px) {
  .cartes { grid-template-columns: repeat(3, 1fr); }
  .cartes-deux { grid-template-columns: repeat(2, 1fr); }
}
.carte {
  padding: 24px; background: #fff;
  border: 1px solid var(--filet); border-radius: var(--radius);
}
.carte-meta {
  margin: 0 0 10px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--terre);
}
.carte h3 { margin: 0 0 10px; font-size: 1.3rem; line-height: 1.3; }
.carte h3 a { color: var(--bleu-nuit); text-decoration: none; }
.carte h3 a:hover { text-decoration: underline; text-decoration-color: var(--terre); }
.carte p:last-child { margin: 0; color: var(--encre-douce); font-size: 1rem; }

.themes { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.themes button {
  padding: 8px 18px; border: 1px solid var(--filet); border-radius: var(--radius);
  background: transparent; color: var(--encre-douce); font: 500 14px var(--sans); cursor: pointer;
}
.themes button[aria-pressed="true"], .themes button:hover { background: var(--encre); border-color: var(--encre); color: #fff; }
.themes a {
  padding: 8px 18px; border: 1px solid var(--filet); border-radius: 999px;
  text-decoration: none; color: var(--encre-douce); font-size: 15px; font-weight: 500;
}
.themes a[aria-current], .themes a:hover { background: var(--bleu-nuit); border-color: var(--bleu-nuit); color: #fff; }

.bio-grille { display: grid; gap: 48px; }
@media (min-width: 1000px) {
  /* Colonne de droite sans position collante : plus haute que l'écran (portrait + encart
     presse), elle masquait son bas jusqu'à la fin du défilement (remarque de Danae, 14/10). */
  .bio-grille { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
}
.bio-texte .sous-titre { margin-top: 40px; }
.bio-courte { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: var(--encre-douce); }

.article .chapeau { font-size: 1.35rem; color: var(--bleu-nuit); }
.article .sous-titre { margin-top: 40px; }

.photo-attente {
  display: flex; align-items: center; justify-content: center; min-height: 260px;
  border: 1px dashed var(--filet); border-radius: var(--radius); background: var(--creme-sombre);
}
.photo-attente p { margin: 0; color: var(--encre-douce); font-size: 15px; }

.infos-pratiques { list-style: none; margin: 30px 0 0; padding: 0; }
.infos-pratiques li {
  padding: 16px 0; border-top: 1px solid rgba(232, 227, 216, 0.22);
  color: var(--creme-sur-nuit); font-size: 1.0625rem;
}
.infos-pratiques b { color: #fff; }
/* Deux colonnes : le libellé à gauche, le texte reste dans sa colonne quand il passe à la ligne. */
@media (min-width: 600px) {
  .infos-pratiques li { display: grid; grid-template-columns: 140px minmax(0, 1fr); column-gap: 20px; }
}
.infos-pratiques span { display: block; }
.infos-pratiques a { color: #fff; }

.mentions p { color: var(--encre-douce); }
.mentions .sous-titre { margin-top: 34px; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

.lignee { list-style: none; margin: 34px 0 0; padding: 0 0 0 4px; }
.lignee li { position: relative; padding: 0 0 26px 30px; border-left: 2px solid var(--filet); }
.lignee li:last-child { border-left-color: transparent; padding-bottom: 0; }
.lignee li::before {
  content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--creme); border: 2px solid var(--terre);
}
.lignee li.rene::before { background: var(--terre); }
.lignee p { margin: 0; }
.lignee .gen { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--encre-douce); }
.lignee .nom { margin-top: 2px; font-family: var(--serif); font-size: 1.25rem; color: var(--encre); }
.lignee .dates { margin-left: 10px; font-family: var(--sans); font-size: 15px; color: var(--terre); }
.lignee .note { margin-top: 4px; font-size: 16px; line-height: 1.6; color: var(--encre-douce); }
.lignee .collateral {
  margin-top: 10px; padding: 10px 14px; font-size: 15px; line-height: 1.6;
  color: var(--encre-douce); border: 1px dashed var(--filet);
}
.lignee .collateral b { color: var(--encre); font-weight: 600; }

/* ===== Plan d'accès à la chapelle ===== */
.visiter { display: grid; gap: 40px; margin-top: 8px; }
@media (min-width: 900px) { .visiter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: stretch; } }
.visiter .infos-pratiques { margin-top: 0; }
.plan-carte {
  position: relative; aspect-ratio: 4 / 3; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center;
  background: linear-gradient(rgba(30, 30, 30, 0.55), rgba(30, 30, 30, 0.7)),
              url("/img/peri-anunziata.jpg") center / cover;
  border: 1px solid rgba(232, 227, 216, 0.22);
}
.plan-carte.est-chargee { padding: 0; background: #e8e4dc; aspect-ratio: auto; min-height: 380px; }
.plan-carte iframe { width: 100%; height: 100%; border: 0; display: block; }
.plan-afficher {
  padding: 12px 22px; border: 1px solid #fff; background: transparent; color: #fff; cursor: pointer;
  font: 500 13px var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
}
.plan-afficher:hover { background: #fff; color: var(--encre); }
.plan-mention { margin: 0; max-width: 24em; font-size: 13px; line-height: 1.5; color: var(--creme-sur-nuit); }
.plan-titre { margin: 36px 0 12px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--creme-sur-nuit); }
.plan-credit { margin: 8px 0 0; font-size: 12px; color: var(--creme-sur-nuit); }
.plan-credit a { color: inherit; }
.plan-liens { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.plan-liens a {
  padding: 10px 16px; border: 1px solid rgba(255, 255, 255, 0.6); color: #fff; text-decoration: none;
  font: 500 13px var(--sans); letter-spacing: 0.06em;
}
.plan-liens a::after { content: " →"; }
.plan-liens a:hover { background: #fff; color: var(--encre); }

/* ===== Bandeau « Sénatoriales 2026 » (accueil, 22/10) ===== */
.bandeau-campagne { padding: 56px 0; background: var(--creme-sombre); }
.bandeau-campagne-inner { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .bandeau-campagne-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; } }
.bandeau-campagne-texte { margin-bottom: 24px !important; }

/* L'affiche : la charte de la campagne (bleu nuit, terre lumineuse, Source Serif 4, la vallée
   de la Gravona voilée en CSS). Elle mène à l'archive. */
.affiche-campagne {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  aspect-ratio: 16 / 10; padding: 28px 30px; overflow: hidden; text-decoration: none;
  background-color: #0d1a2b;
  background-image:
    linear-gradient(to bottom, rgba(13, 26, 43, 0.93) 0%, rgba(13, 26, 43, 0.84) 45%, rgba(13, 26, 43, 0.9) 100%),
    url("/img/hero-gravona.webp");
  background-size: cover; background-position: center 58%;
  color: #faf7f1; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.affiche-campagne:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(13, 26, 43, 0.25); }
.affiche-campagne:focus-visible { outline: 2px solid #d98a5b; outline-offset: 4px; }
.affiche-surtitre {
  font: 600 10.5px/1.6 "Inter", sans-serif; letter-spacing: 0.08em; text-transform: uppercase;
  color: #d98a5b; margin-bottom: 18px; max-width: 26em;
}
.affiche-nom { font: 600 clamp(2rem, 3.6vw, 2.8rem)/1.05 "Source Serif 4", Georgia, serif; color: #fff; letter-spacing: -0.01em; }
.affiche-devise { margin-top: 10px; font: 400 clamp(1.1rem, 1.8vw, 1.4rem)/1.2 "Source Serif 4", Georgia, serif; color: #e8e3d8; }
.affiche-pied {
  margin-top: 22px;
  font: 500 11px/1 "Inter", sans-serif; letter-spacing: 0.06em; color: rgba(232, 227, 216, 0.7);
}
.bandeau-campagne .kicker { margin-bottom: 8px; }
.bandeau-campagne-texte { margin: 0; max-width: 46rem; font-size: 1.0625rem; line-height: 1.65; color: var(--encre); }
.bandeau-campagne .btn { white-space: nowrap; justify-self: start; }

/* ===== Centre de ressources : notes et presse ===== */
.ressources { display: grid; gap: 28px; margin-top: 34px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.ressource { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--filet); }
.ressource[hidden] { display: none; }
.ressource-note, .ressource-corps { padding: 24px 26px 22px; flex: 1; display: flex; flex-direction: column; }
.ressource-meta {
  display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 14px;
  font: 500 11.5px/1.5 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--encre-douce);
}
.ressource-cat { color: var(--terre); font-weight: 600; }
.ressource-titre { margin: 0 0 16px; font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; }
.ressource-titre a { color: var(--encre); text-decoration: none; }
.ressource-titre a:hover { text-decoration: underline; text-decoration-color: var(--terre); text-underline-offset: 4px; }
.ressource-extrait {
  margin: 0 0 18px; padding-left: 14px; border-left: 2px solid var(--terre);
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.55; color: var(--encre);
}
.ressource-credit { margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: var(--encre-douce); }
.ressource-suite { margin: auto 0 0; font: 600 12px/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.ressource-suite a { color: var(--terre); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.ressource-suite a::after { content: " →"; }
.ressource-suite-muette { color: var(--encre-douce); font-weight: 500; letter-spacing: 0.06em; text-transform: none; font-size: 12.5px; }
.ressource-visuel img, .ressource-visuel video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 30%; background: #000; }
.ressource-visuel-texte {
  aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: var(--encre); color: #fff; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.25;
}
@media (min-width: 900px) {
  .ressource-note.une { grid-column: 1 / -1; padding: 36px 40px 32px; }
  .ressource-note.une .ressource-titre { font-size: 1.9rem; }
  .ressource-note.une .ressource-extrait { font-size: 1.3rem; max-width: 46em; }
}

.chronologie { margin: 34px 0 0; display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); }
.chronologie dt, .chronologie dd { margin: 0; padding: 16px 0; border-top: 1px solid var(--filet); }
.chronologie dt { font-family: var(--serif); font-size: 1.05rem; color: var(--terre); padding-right: 16px; }
.chronologie dd { color: var(--encre); line-height: 1.65; }
.chronologie b { font-weight: 600; }
@media (max-width: 600px) {
  .chronologie { grid-template-columns: 1fr; }
  .chronologie dd { border-top: 0; padding-top: 0; }
}
.colonnes-blason { align-items: center; }
/* Vignoble : la photo des bouteilles est verticale, d'où une colonne photo plus étroite. */
@media (min-width: 900px) { .colonnes-vignoble { grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; } }
@media (min-width: 900px) { .colonnes-blason { grid-template-columns: 380px minmax(0, 1fr); } }
.blason img { mix-blend-mode: multiply; }
.citation-blason { margin-top: 18px; padding-left: 16px; border-left: 2px solid var(--terre); }
.citation-blason blockquote {
  margin: 0; font-family: var(--serif); font-style: italic; font-size: 1rem; line-height: 1.55;
  color: var(--encre);
}
.citation-blason cite { display: block; margin-top: 8px; font-style: normal; font-size: 13px; line-height: 1.5; color: var(--encre-douce); }
.citation-blason cite i { font-style: italic; }
.source { margin-top: 18px; font-size: 14px; line-height: 1.6; color: var(--encre-douce); }

.video-reportage { margin: 34px 0 0; }
.video-reportage video { display: block; width: 100%; height: auto; background: #000; }
.video-reportage figcaption { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--encre-douce); }
.video-reportage figcaption b { display: block; color: var(--encre); font-family: var(--serif); font-size: 1.1rem; font-weight: 500; }
.video-reportage .credit { white-space: nowrap; }
.footer-nav a { color: inherit; }
