/* ==========================================================
   Paroisse Sainte-Marie de Billère — feuille de style
   Couleurs du logo : bleu clair du manteau de Marie
   et dégradé orangé de la flamme · titres classiques · angles droits
   ========================================================== */
:root {
  /* Bleu de Marie */
  --marie-pale: #eef6fc;
  --marie-clair: #d6eaf8;
  --marie: #9ccbea;
  --marie-moyen: #6fa9d6;
  --marie-fonce: #2f6c9e;
  --marie-profond: #245a86;
  /* Flamme */
  --flamme-1: #fbc54a;
  --flamme-2: #f39a2d;
  --flamme-3: #e4621c;
  --flamme-pale: #fff4e6;
  --flamme-clair: #fde4c6;
  --flamme-texte: #b3530f;
  --degrade-flamme: linear-gradient(90deg, var(--flamme-1), var(--flamme-2) 50%, var(--flamme-3));
  --filet-flamme: linear-gradient(90deg, var(--flamme-3), var(--flamme-2) 30%, var(--flamme-1) 60%, transparent);
  --degrade-marie: linear-gradient(160deg, var(--marie-pale) 0%, var(--marie-clair) 40%, var(--marie) 100%);
  /* Autres couleurs du logo */
  --bleu-nuit: #12385b;
  --vert: #8bc26f;
  --vert-fonce: #4f8a36;
  --vert-clair: #edf5e6;
  --vert-case: #dcebcb;
  /* Neutres */
  --creme: #f8f7f1;
  --texte: #1b2a3a;
  --texte-doux: #4a5a6b;
  --texte-sur-bleu: #23425e;
  --bord: #e3e0d4;
  --ombre: 0 1px 2px rgba(18, 56, 91, .05), 0 6px 18px rgba(18, 56, 91, .06);
  --rayon: 2px;
  --classique: "Cinzel", "Trajan Pro", Georgia, serif;
  --titre: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --corps: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --largeur: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--texte);
  font-family: var(--corps);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--marie-fonce); text-underline-offset: 3px; }
a:hover { color: var(--flamme-texte); }
:focus-visible { outline: 3px solid var(--flamme-2); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--classique); color: var(--bleu-nuit); line-height: 1.25; margin: 0 0 .6em; font-weight: 600; letter-spacing: .02em; }
h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); text-transform: uppercase; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); text-transform: uppercase; }
h3 { font-size: 1.22rem; font-weight: 700; }
p { margin: 0 0 1em; }

.conteneur { width: min(var(--largeur), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lien-evitement { position: absolute; left: 16px; top: -60px; background: var(--marie-fonce); color: #fff; padding: 10px 16px; z-index: 100; }
.lien-evitement:focus { top: 12px; color: #fff; }

/* Filet décoratif : —— ✛ ——————  (dégradé de la flamme) */
.ornement { display: flex; align-items: center; gap: 12px; color: var(--flamme-3); width: min(100%, 520px); margin-bottom: 22px; }
.ornement::before { content: ""; width: 38px; height: 2px; background: var(--degrade-flamme); }
.ornement::after { content: ""; flex: 1; height: 2px; background: var(--filet-flamme); }
.ornement span { font-size: 1rem; line-height: 1; }
.trait { display: block; width: 64px; height: 3px; background: var(--degrade-flamme); margin: 26px 0; }

/* ---------- Bandeau urgent ---------- */
.bandeau {
  background: var(--degrade-flamme);
  color: var(--bleu-nuit);
  font-weight: 600;
  text-align: center;
  padding: 10px 16px;
  font-size: 1rem;
}

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 3px solid;
  border-image: var(--degrade-flamme) 1;
}
.entete-int { display: flex; align-items: center; gap: 20px; min-height: 80px; }
.entete .conteneur { width: min(1320px, 100% - 32px); }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bleu-nuit); flex-shrink: 0; }
.marque:hover { color: var(--bleu-nuit); }
.marque img { width: 56px; height: 56px; }
.marque-nom { font-family: var(--classique); font-weight: 700; font-size: 1.02rem; line-height: 1.15; text-transform: uppercase; letter-spacing: .03em; }
.marque-nom small { display: block; font-weight: 600; font-size: .78rem; color: var(--flamme-texte); letter-spacing: .14em; margin-top: 3px; }

.nav { margin-left: auto; }
.nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a.nav-lien {
  display: block; padding: 10px 10px; position: relative;
  font-family: var(--titre); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; color: var(--bleu-nuit); white-space: nowrap;
}
.nav a.nav-lien:hover, .nav li:focus-within > a.nav-lien { color: var(--flamme-texte); }
.nav a.nav-lien[aria-current="page"] { color: var(--marie-fonce); }
.nav a.nav-lien[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 3px; background: var(--degrade-flamme); }
.sous-menu {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  list-style: none; margin: 0; padding: 8px 0;
  background: #fff; border-top: 3px solid; border-image: var(--degrade-flamme) 1; box-shadow: 0 12px 30px rgba(18, 56, 91, .16);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease;
}
.nav li:hover > .sous-menu, .nav li:focus-within > .sous-menu { opacity: 1; visibility: visible; transform: none; }
.sous-menu a { display: block; padding: 9px 18px; text-decoration: none; font-size: 1rem; color: var(--texte); }
.sous-menu a:hover { background: var(--marie-pale); color: var(--bleu-nuit); box-shadow: inset 3px 0 0 var(--flamme-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--rayon); border: 1px solid transparent;
  font-family: var(--titre); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease, filter .15s ease;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-don, .btn-or { background: var(--degrade-flamme); color: var(--bleu-nuit); }
.btn-don:hover, .btn-or:hover { filter: brightness(1.06) saturate(1.1); color: var(--bleu-nuit); }
.btn-principal { background: var(--marie-fonce); color: #fff; }
.btn-principal:hover { background: var(--marie-profond); color: #fff; }
.btn-contour, .btn-clair { border-color: var(--marie-fonce); color: var(--marie-fonce); background: transparent; }
.btn-contour:hover, .btn-clair:hover { background: var(--marie-fonce); color: #fff; }
.heros .btn-clair { background: rgba(255,255,255,.55); }
.heros .btn-clair:hover { background: var(--marie-fonce); }
.entete .btn-don { padding: 11px 18px; margin-left: 8px; }

.burger { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--bleu-nuit); }
.burger svg { width: 30px; height: 30px; }

@media (max-width: 1320px) {
  .burger { display: block; }
  .entete .btn-don { margin-left: 0; }
  .nav {
    position: fixed; inset: 83px 0 0 0; background: #fff; overflow-y: auto;
    padding: 8px 16px 40px; display: none; margin: 0;
  }
  .nav.ouvert { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a.nav-lien { font-size: .95rem; padding: 16px 8px; border-bottom: 1px solid var(--bord); }
  .nav a.nav-lien[aria-current="page"] { padding-left: 14px; }
  .nav a.nav-lien[aria-current="page"]::after { left: 0; right: auto; top: 0; bottom: 0; width: 3px; height: auto; background: linear-gradient(180deg, var(--flamme-1), var(--flamme-3)); }
  .sous-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 4px 0 10px 14px; min-width: 0; }
  .sous-menu a { padding: 8px; color: var(--texte-doux); }
  .sous-menu a:hover { background: transparent; color: var(--flamme-texte); box-shadow: none; }
}
@media (max-width: 520px) {
  .entete-int { gap: 8px; }
  .entete .btn-don span { display: none; }
  .entete .btn-don { padding: 11px; }
  .marque { min-width: 0; flex-shrink: 1; gap: 8px; }
  .marque-nom { font-size: .82rem; }
  .marque-nom small { font-size: .75rem; }
  .marque img { width: 44px; height: 44px; }
  .burger { padding: 6px; }
}

/* ---------- Héros (accueil) : photo à gauche, panneau bleu Marie à droite ---------- */
.heros { display: grid; grid-template-columns: 5fr 7fr; min-height: min(680px, calc(100vh - 83px)); background: var(--marie-clair); }
.heros-photo { position: relative; overflow: hidden; border-right: 4px solid; border-image: linear-gradient(180deg, var(--flamme-1), var(--flamme-2), var(--flamme-3)) 1; }
.heros-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.heros-panneau {
  position: relative; overflow: hidden; display: flex; align-items: center;
  background: var(--degrade-marie);
  padding: 44px clamp(24px, 6vw, 88px);
}
.heros-panneau::after {
  content: ""; position: absolute; right: -90px; bottom: -90px; width: 460px; height: 460px;
  background: url("../images/logo.png") center / contain no-repeat; opacity: .1;
  pointer-events: none;
}
.heros-contenu { position: relative; z-index: 1; max-width: 640px; }
.heros-logo { width: 80px; height: 80px; border-radius: 50%; box-shadow: 0 8px 24px rgba(18, 56, 91, .2); margin-bottom: 20px; }
.heros h1 { color: var(--bleu-nuit); font-weight: 600; font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.3; margin: 0; }
.heros .accroche { font-size: 1.15rem; color: var(--texte-sur-bleu); margin: 12px 0 0; max-width: 520px; }
.heros .ornement { margin-bottom: 18px; }
.heros-messes { position: relative; margin: 20px 0 22px; padding: 14px 20px; background: rgba(255,255,255,.72); border-left: 3px solid var(--flamme-2); max-width: 460px; }
.heros-messes:empty { display: none; }
.heros-messes .titre { margin: 0 0 4px; font-family: var(--titre); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--flamme-texte); }
.heros-messes ul { list-style: none; margin: 0 0 10px; padding: 0; }
.heros-messes li { display: flex; gap: 10px; align-items: baseline; padding: 2px 0; color: var(--texte); }
.heros-messes li .j { width: 82px; flex-shrink: 0; font-family: var(--titre); font-weight: 700; font-size: .8rem; text-transform: uppercase; color: var(--bleu-nuit); }
.heros-messes li b { font-family: var(--titre); color: var(--marie-fonce); }
.heros .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) {
  .heros-panneau::after, .tete-page::after { opacity: .05; }
  .heros { grid-template-columns: 1fr; min-height: 0; }
  .heros-photo { height: 320px; border-right: 0; border-bottom: 4px solid; border-image: var(--degrade-flamme) 1; }
  .heros-panneau { padding: 40px 20px 48px; }
  .heros-logo { width: 76px; height: 76px; margin-bottom: 22px; }
}

/* En-tête de page intérieure (bleu Marie, comme l'accueil) */
.tete-page {
  position: relative; overflow: hidden; padding: 56px 0 48px;
  background: var(--degrade-marie);
  border-bottom: 1px solid var(--marie);
}
.tete-page::after {
  content: ""; position: absolute; right: -60px; top: 50%; width: 340px; height: 340px; transform: translateY(-50%);
  background: url("../images/logo.png") center / contain no-repeat; opacity: .1; pointer-events: none;
}
.tete-page .feuilles { display: none; }
.tete-page .conteneur { position: relative; z-index: 1; }
.tete-page .conteneur::before {
  content: "✛"; display: flex; align-items: center; color: var(--flamme-3); font-size: 1rem; margin-bottom: 20px; width: min(100%, 520px);
  background: var(--degrade-flamme) left center / 38px 2px no-repeat, var(--filet-flamme) 68px center / calc(100% - 68px) 2px no-repeat;
  padding-left: 50px;
}
.tete-page h1 { color: var(--bleu-nuit); font-weight: 600; }
.tete-page p { font-size: 1.2rem; color: var(--texte-sur-bleu); max-width: 720px; margin: 0; }
.sommaire { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding: 0; list-style: none; }
.sommaire a {
  display: inline-block; padding: 8px 14px; border: 1px solid rgba(47, 108, 158, .35); border-radius: var(--rayon);
  background: rgba(255,255,255,.6); text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--bleu-nuit);
}
.sommaire a:hover { background: var(--marie-fonce); color: #fff; border-color: var(--marie-fonce); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--bord); }
.section.teinte { background: #fff; }
.titre-section { display: flex; flex-direction: column; margin-bottom: 32px; }
.titre-section .surtitre {
  display: flex; align-items: center; gap: 12px; width: min(100%, 560px); margin-bottom: 14px;
  font-family: var(--titre); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--flamme-texte);
}
.titre-section .surtitre::before {
  content: "✛"; color: var(--flamme-3); font-size: 1rem; letter-spacing: 0; padding-left: 50px;
  background: var(--degrade-flamme) left center / 38px 2px no-repeat;
}
.titre-section .surtitre::after { content: ""; flex: 1; height: 2px; background: var(--filet-flamme); }
.titre-section h2 { margin: 0; }
.titre-section h2::after { content: ""; display: block; width: 64px; height: 3px; background: var(--degrade-flamme); margin-top: 16px; }
.titre-section p { color: var(--texte-doux); margin: 16px 0 0; max-width: 720px; }
.titre-section.entre { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.titre-section.entre > div { display: flex; flex-direction: column; }

.grille { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.carte {
  position: relative; background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: var(--ombre);
  padding: 26px; display: flex; flex-direction: column;
}
.carte::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--degrade-flamme); z-index: 2; }
.carte h3 { margin-bottom: .45em; }
.carte p:last-child { margin-bottom: 0; }
.carte .pied { margin-top: auto; padding-top: 16px; }
.icone-ronde {
  width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 16px;
  border: 1px solid var(--flamme-clair); color: var(--flamme-texte); background: var(--flamme-pale);
}
.icone-ronde svg { width: 22px; height: 22px; }
.icone-ronde.ciel { color: var(--marie-fonce); background: var(--marie-pale); border-color: var(--marie-clair); }
.icone-ronde.flamme { color: var(--flamme-3); }

.lien-fleche { font-family: var(--titre); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.lien-fleche::after { content: "→"; font-size: 1rem; color: var(--flamme-2); transition: transform .15s; }
.lien-fleche:hover::after { transform: translateX(3px); }

/* Liste d'horaires (adoration, confession, activités) */
.creneaux { list-style: none; margin: 0; padding: 0; }
.creneaux li { padding: 10px 0 10px 28px; position: relative; border-top: 1px solid var(--bord); }
.creneaux li:first-child { border-top: 0; }
.creneaux li::before { content: "✛"; position: absolute; left: 0; top: 11px; color: var(--flamme-2); font-size: 1rem; }
.creneaux strong { display: block; color: var(--bleu-nuit); }
.creneaux span { color: var(--texte-doux); font-size: 1rem; }

/* Encadré "infos pratiques" */
.pratique {
  background: var(--marie-pale); border: 1px solid var(--marie-clair); border-left: 3px solid var(--flamme-2);
  padding: 18px 22px; margin: 20px 0;
  display: flow-root; /* reste à côté d'une photo flottante au lieu de passer dessous */
}

/* ---------- Grille des messes ---------- */
.horaires-bloc { position: relative; background: #fff; border: 1px solid var(--bord); box-shadow: var(--ombre); padding: 32px; }
.horaires-bloc::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--degrade-flamme); }
.horaires-titre { text-align: center; margin-bottom: 24px; }
.horaires-titre h3 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 600; text-transform: uppercase; margin: 0; letter-spacing: .04em; }
.horaires-titre h3::after { content: ""; display: block; width: 64px; height: 3px; background: var(--degrade-flamme); margin: 14px auto 0; }
.table-messes { width: 100%; border-collapse: collapse; border: 1px solid #cfe1f0; }
.table-messes th, .table-messes td { border: 1px solid #cfe1f0; text-align: center; padding: 11px 8px; width: 18%; }
.table-messes thead th { background: #cfe1f0; font-family: var(--titre); font-weight: 800; color: var(--bleu-nuit); font-size: 1rem; }
.table-messes tbody th { background: var(--marie-pale); font-family: var(--titre); font-weight: 800; text-transform: uppercase; color: var(--bleu-nuit); font-size: .85rem; letter-spacing: .04em; width: 16%; }
.table-messes td.messe { background: var(--vert-case); font-size: .98rem; line-height: 1.3; }
.table-messes td.messe b { display: inline-flex; align-items: center; gap: 4px; color: var(--bleu-nuit); }
.table-messes td.messe small { display: block; color: var(--texte-doux); font-size: .82rem; margin-top: 2px; }
.table-messes .calice { width: 15px; height: 15px; color: #b88a2e; }
.table-messes tr.jour-du-jour th { background: var(--flamme-clair); box-shadow: inset 4px 0 0 var(--flamme-2); }
.table-messes tr.jour-du-jour th::after { content: "Aujourd'hui"; display: block; font-size: .65rem; letter-spacing: .06em; color: var(--flamme-texte); margin-top: 2px; }

.liste-messes { display: none; list-style: none; margin: 0; padding: 0; }
.liste-messes li { display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--bord); align-items: baseline; }
.liste-messes li:first-child { border-top: 0; }
.liste-messes .j { font-family: var(--titre); font-weight: 800; text-transform: uppercase; font-size: .85rem; color: var(--bleu-nuit); }
.liste-messes .h { font-family: var(--titre); font-weight: 800; color: var(--marie-fonce); margin-right: 6px; }
.liste-messes small { display: block; color: var(--texte-doux); }
.liste-messes li.aujourdhui { background: var(--flamme-pale); margin: 0 -12px; padding: 12px; box-shadow: inset 3px 0 0 var(--flamme-2); }
.badge-auj { display: inline-block; font-size: .66rem; background: var(--degrade-flamme); color: var(--bleu-nuit); padding: 1px 7px; margin-left: 6px; vertical-align: middle; font-family: var(--titre); font-weight: 700; }
@media (max-width: 720px) {
  .table-messes { display: none; }
  .liste-messes { display: block; }
  .horaires-bloc { padding: 22px 18px; }
}

.horaires-annexes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 22px; }

/* ---------- Actualités ---------- */
.actu { overflow: hidden; padding: 0; }
.actu .visuel { aspect-ratio: 16 / 9; background: var(--degrade-marie); display: grid; place-items: center; overflow: hidden; }
.actu .visuel img { width: 100%; height: 100%; object-fit: cover; }
.actu .visuel img.affiche { object-position: 50% 12%; } /* affiche : on montre le haut (le titre) ; elle est entière dans l'article */
.article .visuel-article img { width: auto; max-width: 100%; max-height: 85vh; margin-inline: auto; box-shadow: var(--ombre); }
.actu .visuel .sans-photo { width: 76px; height: 76px; border-radius: 50%; box-shadow: 0 6px 16px rgba(18, 56, 91, .18); }
.actu .corps { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.actu h3 { font-size: 1.12rem; }
.actu h3 a { text-decoration: none; color: inherit; }
.actu h3 a:hover { color: var(--flamme-texte); }
.actu .resume { color: var(--texte-doux); font-size: 1.02rem; }
.etiquette {
  align-self: flex-start; font-family: var(--titre); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--rayon); background: var(--marie-clair); color: var(--bleu-nuit); margin-bottom: 12px;
}
.etiquette.chemin { background: var(--vert-clair); color: var(--vert-fonce); }
.etiquette.evenement { background: var(--flamme-clair); color: var(--flamme-texte); }
.meta { font-size: .95rem; color: var(--texte-doux); margin-bottom: 8px; }
.rdv { display: flex; gap: 8px; align-items: center; background: var(--flamme-pale); border-left: 3px solid var(--flamme-2); padding: 8px 12px; font-size: .98rem; margin-bottom: 12px; }
.rdv svg { width: 18px; height: 18px; color: var(--flamme-3); flex-shrink: 0; }

.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filtres button {
  font: inherit; font-family: var(--titre); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em;
  padding: 10px 16px; border-radius: var(--rayon); cursor: pointer; background: #fff; border: 1px solid var(--bord); color: var(--bleu-nuit);
}
.filtres button[aria-pressed="true"] { background: var(--marie-fonce); color: #fff; border-color: var(--marie-fonce); }

.agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.agenda li { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--bord); border-left: 3px solid var(--flamme-2); padding: 12px 16px; }
.agenda .date { text-align: center; background: var(--marie-fonce); color: #fff; padding: 8px 4px; line-height: 1.1; border-bottom: 3px solid; border-image: var(--degrade-flamme) 1; }
.agenda .date b { display: block; font-family: var(--classique); font-size: 1.6rem; }
.agenda .date span { font-family: var(--titre); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; }
.agenda a { font-weight: 700; text-decoration: none; }
.agenda small { display: block; color: var(--texte-doux); font-size: .95rem; }

.article { max-width: 760px; margin-inline: auto; }
.article h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.article .visuel-article { margin: 18px 0 26px; }
.article .texte { font-size: 1.15rem; }
.article .texte blockquote { margin: 1.2em 0; padding: 12px 20px; border-left: 3px solid var(--flamme-2); background: var(--marie-pale); font-style: italic; }
.article .texte img { margin: 0; width: 100%; height: auto; }
.article .texte figure { margin: 1.6em 0; }
.article .texte figcaption, .legende { font-size: .95rem; font-style: italic; color: var(--texte-doux); margin-top: 8px; }
.article .texte .galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 1.6em 0; }
.article .texte .galerie figure { margin: 0; }
.retour { display: block; width: fit-content; margin-bottom: 18px; font-weight: 600; }

.vide { text-align: center; color: var(--texte-doux); padding: 30px; background: #fff; border: 1px dashed var(--bord); }

/* ---------- Églises ---------- */
.eglise .visuel {
  aspect-ratio: 4 / 3; margin: -26px -26px 20px;
  background: var(--degrade-marie); display: grid; place-items: center; color: var(--marie-fonce); overflow: hidden;
}
.eglise .visuel svg { width: 84px; height: 84px; opacity: .6; }
.eglise .visuel img { width: 100%; height: 100%; object-fit: cover; }
.eglise address { font-style: normal; color: var(--texte-doux); margin-bottom: 10px; }
.eglise .messes-eglise { font-size: 1rem; margin: 0 0 6px; padding: 0; list-style: none; }
.eglise .messes-eglise li { padding: 2px 0; }
.eglise .messes-eglise b { color: var(--marie-fonce); font-family: var(--titre); font-size: .9rem; }

/* ---------- Personnes ---------- */
/* Photo en haut de la carte, au format 3:2 : la photo du diacre avec le pape s'affiche en entier */
.personne { display: flex; flex-direction: column; gap: 20px; }
.personne .portrait { margin: -26px -26px 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--degrade-marie); display: grid; place-items: center; }
.personne .portrait img { width: 100%; height: 100%; object-fit: cover; }
.personne .portrait .initiales { font-family: var(--classique); font-weight: 600; font-size: 3.2rem; color: var(--marie-fonce); }
.personne .role { font-family: var(--titre); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--flamme-texte); }
.photo-legende { margin: 36px auto 0; max-width: 720px; }
.photo-legende img { width: 100%; border: 1px solid var(--bord); }
.photo-legende figcaption { font-size: .95rem; color: var(--texte-doux); margin-top: 10px; text-align: center; font-style: italic; }

/* ---------- Sacrements / blocs de contenu ---------- */
.bloc { display: grid; grid-template-columns: 300px 1fr; gap: 44px; padding: 52px 0; border-top: 1px solid var(--bord); }
.bloc:first-child { border-top: 0; padding-top: 0; }
.bloc .cote h2 { font-size: 1.55rem; }
.bloc .cote h2::after { content: ""; display: block; width: 52px; height: 3px; background: var(--degrade-flamme); margin-top: 14px; }
.bloc .cote .citation { font-family: var(--classique); color: var(--texte-doux); font-size: .98rem; line-height: 1.6; border-left: 2px solid var(--marie); padding-left: 14px; margin-top: 16px; }
.bloc h3 { margin-top: 1.3em; }
.bloc h3:first-child { margin-top: 0; }
.bloc ul { padding-left: 1.2em; }
.bloc li { margin-bottom: .3em; }
@media (max-width: 860px) { .bloc { grid-template-columns: 1fr; gap: 12px; padding: 38px 0; } }

/* Photo à droite du texte, taille modérée (ex. Baptême) */
.photo-cote { float: right; width: 280px; margin: 4px 0 18px 28px; position: relative; background: #fff; border: 1px solid var(--bord); padding: 6px; box-shadow: var(--ombre); }
.photo-cote::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--degrade-flamme); }
.photo-cote img { width: 100%; height: auto; }
.photo-cote.paysage { width: 360px; } /* photo en largeur : un peu plus large pour rester lisible */
.bloc > div::after { content: ""; display: block; clear: both; }
/* Vidéo verticale à droite du texte (ex. Chemin néocatéchuménal) */
.video-cote { float: right; width: 250px; margin: 4px 0 18px 28px; position: relative; background: #fff; border: 1px solid var(--bord); padding: 6px; box-shadow: var(--ombre); }
.video-cote::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--degrade-flamme); z-index: 1; }
.video-cote video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: var(--bleu-nuit); object-fit: cover; }
@media (max-width: 640px) { .video-cote { float: none; width: min(100%, 280px); margin: 0 auto 20px; } }
@media (max-width: 640px) {
  .photo-cote { width: 44%; margin: 6px 0 12px 14px; padding: 4px; }
  .photo-cote.paysage { float: none; width: 100%; margin: 0 0 16px; }
}

/* Bandeau icône + citation (page Découvrir ta foi) : image à gauche, panneau bleu Marie à droite */
/* L'icône s'affiche en entier, sans recadrage : c'est elle qui donne la hauteur du bandeau */
.citation-icone { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: stretch; background: var(--marie-clair); border-bottom: 1px solid var(--marie); }
.citation-icone-image { background: #2a1a10; border-right: 4px solid; border-image: linear-gradient(180deg, var(--flamme-1), var(--flamme-2), var(--flamme-3)) 1; display: flex; align-items: center; }
.citation-icone-image img { width: 100%; height: auto; }
.citation-icone-texte { position: relative; overflow: hidden; background: var(--degrade-marie); padding: 56px clamp(24px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; }
.citation-icone-texte::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 380px; height: 380px; background: url("../images/logo.png") center / contain no-repeat; opacity: .08; pointer-events: none; }
.citation-icone-texte > * { position: relative; z-index: 1; }
.citation-icone .guillemet { font-family: var(--classique); font-size: 3.2rem; line-height: .6; color: var(--flamme-2); margin-bottom: 10px; }
.citation-icone blockquote { margin: 0; }
.citation-icone blockquote p { font-family: var(--classique); font-weight: 500; text-transform: uppercase; letter-spacing: .03em; font-size: clamp(1.15rem, 2.2vw, 1.65rem); line-height: 1.75; color: var(--bleu-nuit); margin: 0; max-width: 820px; }
.citation-icone .trait { margin: 26px 0 14px; }
.citation-icone .source { font-style: italic; color: var(--texte-sur-bleu); margin: 0; font-size: 1rem; }
@media (max-width: 860px) {
  .citation-icone { grid-template-columns: 1fr; }
  .citation-icone-image { border-right: 0; border-bottom: 4px solid; border-image: var(--degrade-flamme) 1; }
  .citation-icone-texte { padding: 36px 20px 40px; }
  .citation-icone-texte::after { opacity: .05; }
}

/* Page Contact : rappel du sujet quand on arrive depuis un bouton « Demander… » */
.sujet-demande { position: relative; background: var(--flamme-pale); border-left: 3px solid var(--flamme-2); padding: 16px 22px; margin-bottom: 24px; }
.sujet-demande span { display: block; font-family: var(--titre); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--flamme-texte); }
.sujet-demande strong { display: block; font-family: var(--classique); font-size: 1.3rem; color: var(--bleu-nuit); margin: 2px 0 6px; }
.sujet-demande p { margin: 0; color: var(--texte-doux); font-size: 1rem; }

/* Encadré mis en avant */
.mise-en-avant { position: relative; background: var(--degrade-marie); padding: 36px; }
.mise-en-avant::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--degrade-flamme); }
.mise-en-avant p { color: var(--texte-sur-bleu); margin: 0; }
@media (max-width: 720px) { .mise-en-avant { padding: 26px; } }

/* Accès rapides */
.acces { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.acces:hover { transform: translateY(-3px); color: inherit; box-shadow: 0 10px 28px rgba(18, 56, 91, .12); }
.acces h3 { margin-bottom: .3em; }
.acces p { color: var(--texte-doux); }

/* ---------- Pied de page (bleu Marie soutenu) ---------- */
.pied-page { position: relative; background: linear-gradient(160deg, var(--marie-fonce), var(--marie-profond)); color: #e3eef8; padding: 60px 0 28px; }
.pied-page::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--degrade-flamme); }
.pied-page a { color: #fff; }
.pied-page a:hover { color: var(--flamme-1); }
.pied-grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.pied-page h3 { color: var(--flamme-1); font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.pied-page ul { list-style: none; margin: 0; padding: 0; }
.pied-page li { margin-bottom: 6px; }
.pied-marque { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.pied-marque img { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.25); }
.pied-marque strong { color: #fff; font-family: var(--classique); font-weight: 600; text-transform: uppercase; font-size: 1rem; line-height: 1.3; }
.pied-bas { border-top: 1px solid rgba(255,255,255,.2); margin-top: 44px; padding-top: 20px; font-size: .9rem; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
@media (max-width: 820px) { .pied-grille { grid-template-columns: 1fr; gap: 28px; } }

/* Petits utilitaires */
.centre { text-align: center; }
.mt { margin-top: 32px; }
.discret { color: var(--texte-doux); font-size: 1rem; }
.chargement { color: var(--texte-doux); font-style: italic; }

/* ==========================================================
   Version Eleventy : pages construites avec des blocs
   ========================================================== */
[hidden] { display: none !important; }
.section-bloc { padding: 52px 0; }
.tete-page + .section-bloc, .citation-icone + .section-bloc { padding-top: 64px; }
.section-bloc .bloc { padding: 0; border-top: 0; }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 0; }
.pratique h3 { margin-top: 0; }
.table-messes .calice { display: inline-flex; color: #b88a2e; }
.table-messes .calice svg { width: 15px; height: 15px; }
.burger .ico-fermer, .burger[aria-expanded="true"] .ico-ouvrir { display: none; }
.burger[aria-expanded="true"] .ico-fermer { display: block; }
.carte-photo { margin: -26px -26px 18px; aspect-ratio: 4 / 3; overflow: hidden; }
.carte-photo img { width: 100%; height: 100%; object-fit: cover; }
.galerie-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.galerie-photos figure { margin: 0; background: #fff; border: 1px solid var(--bord); padding: 6px; box-shadow: var(--ombre); }
.galerie-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.texte-simple h2 { font-size: 1.4rem; margin-top: 0; }
.texte-simple h2::after { content: ""; display: block; width: 52px; height: 3px; background: var(--degrade-flamme); margin-top: 12px; }
.agenda .agenda-vide { display: block; }
.heros-messes .messes-du-jour { margin-bottom: 4px; }
.mise-en-avant h3 { margin-bottom: .4em; }