/*
  Pages publiques Lucerna (lucerna-app.com).
  Direction « Vitrail » : éclats de couleur qui flottent, bandeaux en dégradé,
  cartes qui apparaissent au défilement. Tout le mouvement est en CSS (léger
  pour les téléphones d'entrée de gamme) et s'arrête si le visiteur a demandé
  moins d'animations à son téléphone.
*/

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--fond); color: var(--texte);
  font-family: var(--police-texte); font-size: 16px; line-height: 24px;
}
a { color: var(--action); text-underline-offset: 3px; }
a:hover { color: var(--action-appui); }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--police-titre); color: inherit; letter-spacing: -0.01em; }
h2 { font-size: 24px; line-height: 32px; margin: 0 0 12px; font-weight: 800; }
h3 { font-size: 17px; line-height: 24px; margin: 0; font-weight: 800; }
p { margin: 0 0 8px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.aller-contenu { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 8px 16px; background: var(--surface); border-radius: var(--rayon-pilule); }
.aller-contenu:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--ambre); outline-offset: 2px; border-radius: 6px; }
.icone { flex: none; }

/* ---------------------------------------------------------------- Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--cible-tactile); padding: 0 22px; border: 0; border-radius: var(--rayon-pilule);
  background: var(--action); color: var(--sur-action); font: 700 16px/1 var(--police-texte);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.bouton:hover { color: var(--sur-action); background: var(--action-appui); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(48, 70, 197, .28); }
.bouton:active { transform: translateY(0); }
.bouton.petit { min-height: 40px; padding: 0 16px; font-size: 14px; }
.bouton.ambre { background: var(--ambre); color: #192145; }
.bouton.ambre:hover { background: #FFC85C; color: #192145; box-shadow: 0 8px 20px rgba(246, 184, 67, .4); }
.bouton.clair { background: rgba(255, 255, 255, .16); color: #FFFFFF; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.bouton.clair:hover { background: rgba(255, 255, 255, .28); color: #FFFFFF; }
.bouton.pale { background: var(--bleu-pale); color: #192145; }
.bouton.vert { background: var(--vert-pale); color: #192145; }
.bouton.pale:hover, .bouton.vert:hover { color: #192145; background: var(--ambre-pale); box-shadow: 0 6px 16px rgba(25, 33, 69, .12); }
.lien-fleche { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.lien-fleche .icone { transition: transform .2s ease; }
.lien-fleche:hover .icone { transform: translateX(4px); }

/* ------------------------------------------------------ Bandeau du haut */
.bandeau { background: var(--bleu-nuit); color: #FFFFFF; position: relative; overflow: hidden; }
.bandeau::after { /* reflet qui traverse le bandeau */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(246, 184, 67, .18) 50%, transparent 70%);
  transform: translateX(-100%); animation: reflet 7s ease-in-out 1.5s infinite;
}
.bandeau-int { position: relative; z-index: 1; max-width: var(--largeur-contenu); margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 12px; }
.bandeau p { flex: 1; margin: 0; font-size: 14px; line-height: 20px; }
.bandeau .fermer { width: 40px; height: 40px; border: 0; background: transparent; color: #FFFFFF; font-size: 24px; cursor: pointer; border-radius: 50%; }
.bandeau .fermer:hover { background: rgba(255, 255, 255, .12); }
@media (max-width: 560px) { .bandeau img { display: none; } .bandeau p { font-size: 13px; line-height: 18px; } }

/* -------------------------------------------------------------- En-tête */
.entete { background: var(--surface); position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 var(--trait); }
.entete-int { max-width: var(--largeur-contenu); margin: 0 auto; padding: 10px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.marque { display: block; line-height: 0; }
.marque img { height: 44px; width: auto; }
.rubriques { flex: 1 1 auto; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.rubriques a { padding: 9px 16px; border-radius: var(--rayon-pilule); color: var(--texte); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.rubriques a:hover { background: var(--fond); }
.rubriques a[aria-current] { background: var(--bleu-pale); color: var(--action); font-weight: 700; }
.entete-droite { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.langues { display: flex; }
.langues a { padding: 8px; color: var(--texte-secondaire); text-decoration: none; font-weight: 700; font-size: 13px; border-radius: 8px; }
.langues a[aria-current] { color: var(--action); background: var(--bleu-pale); }
@media (max-width: 720px) {
  .entete-int { gap: 6px 12px; }
  .marque img { height: 36px; }
  .rubriques { order: 3; flex-basis: 100%; margin: 0 -4px; flex-wrap: wrap; gap: 2px; }
  .rubriques a { padding: 6px 10px; font-size: 14px; }
  .entete-droite .bouton span { display: none; }
  .entete-droite .bouton { width: 40px; padding: 0; }
}

/* ------------------------------------------------- Bandeau de couleur */
.hero { position: relative; overflow: hidden; color: #FFFFFF; isolation: isolate; }
.hero-bleu { background: linear-gradient(125deg, #2A3DB4 0%, #3046C5 40%, #5149C0 70%, #7654B3 100%); background-size: 180% 180%; animation: degrade 18s ease-in-out infinite alternate; }
.hero-violet { background: linear-gradient(125deg, #4B3592 0%, #7654B3 45%, #3046C5 100%); background-size: 180% 180%; animation: degrade 18s ease-in-out infinite alternate; }
.hero-nuit { background: linear-gradient(125deg, #192145 0%, #26306A 55%, #3046C5 100%); background-size: 180% 180%; animation: degrade 20s ease-in-out infinite alternate; }
.hero-int { position: relative; z-index: 1; max-width: var(--largeur-contenu); margin: 0 auto; padding: 32px 16px 44px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-end; }
.hero-texte-bloc { flex: 999 1 520px; min-width: 0; }
.hero h1 { margin: 6px 0 12px; font-size: clamp(32px, 6vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
.hero-texte { font-size: 18px; line-height: 28px; max-width: 640px; color: rgba(255, 255, 255, .92); }
.hero a { color: #FFFFFF; }
.hero .fil { font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px; color: rgba(255, 255, 255, .8); }
.hero .fil .sep { opacity: .6; }
.hero-carte { flex: 1 1 320px; max-width: 420px; }
.etat-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; }
.pastille { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 8px; border-radius: var(--rayon-pilule); background: #FFFFFF; font-weight: 700; font-size: 14px; line-height: 22px; }
.pastille.verifie { color: var(--etat-verifie); }
.pastille.attention { color: #805000; background: #FFF1D0; }
.pastille.ambre { color: #192145; background: var(--ambre); }
.puces { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.puce-claire { padding: 5px 14px; border-radius: var(--rayon-pilule); background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); font-size: 14px; font-weight: 600; }

/* Éclats de vitrail qui flottent dans les bandeaux */
.vitrail { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.eclat { position: absolute; display: block; border-radius: 18px 6px 22px 8px; opacity: .9; will-change: transform; }
.e1 { width: 220px; height: 150px; right: -40px; top: -50px; background: var(--ambre); transform: rotate(-18deg); animation: flotte1 14s ease-in-out infinite; }
.e2 { width: 180px; height: 200px; right: 120px; top: 60px; background: #7654B3; opacity: .75; transform: rotate(12deg); animation: flotte2 17s ease-in-out infinite; }
.e3 { width: 140px; height: 260px; right: -30px; bottom: -120px; background: #192145; opacity: .55; transform: rotate(8deg); animation: flotte3 19s ease-in-out infinite; }
.e4 { width: 70px; height: 70px; right: 300px; top: 24px; background: #FFFFFF; opacity: .14; border-radius: 50%; animation: flotte2 11s ease-in-out infinite reverse; }
.e5 { width: 110px; height: 80px; left: -30px; bottom: -30px; background: var(--ambre); opacity: .35; transform: rotate(24deg); animation: flotte1 16s ease-in-out infinite reverse; }
.lueur { position: absolute; width: 520px; height: 520px; right: -120px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(246, 184, 67, .35), transparent 65%); animation: respire 8s ease-in-out infinite; }
@media (max-width: 720px) {
  .e1 { width: 140px; height: 96px; right: -50px; top: -40px; }
  .e2 { width: 110px; height: 120px; right: -10px; top: auto; bottom: -50px; }
  .e3, .e4 { display: none; }
  .hero-int { padding: 24px 16px 32px; }
}

/* Carte blanche posée sur le bandeau (prochaine célébration, session…) */
.carte-flottante { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 24px; background: var(--surface); color: var(--texte); box-shadow: 0 18px 40px rgba(25, 33, 69, .28); animation: survol 6s ease-in-out infinite; }
.carte-flottante a.bouton { color: var(--sur-action); }
.carte-flottante .petit-titre { font-size: 13px; color: var(--texte-secondaire); display: flex; align-items: center; gap: 6px; }
.carte-flottante strong { display: block; font-size: 16px; }
.carte-flottante .pile { flex: 1; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.direct { width: 9px; height: 9px; border-radius: 50%; background: #2F9E6B; box-shadow: 0 0 0 0 rgba(47, 158, 107, .6); animation: pulse 2s ease-out infinite; }
.tuile-heure { flex: none; width: 96px; height: 84px; border-radius: 18px; background: var(--ambre-pale); color: #192145; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.tuile-heure b { font-family: var(--police-titre); font-size: 22px; line-height: 28px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tuile-heure small { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: #6B4600; text-transform: uppercase; }

/* ------------------------------------------------------------ Contenu */
.page { max-width: var(--largeur-contenu); margin: 0 auto; padding: 32px 16px 64px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.page > main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.page > aside { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 92px; }
.page.pleine > main { flex-basis: 100%; }
@media (max-width: 900px) { .page > aside { position: static; } }
.section-titre { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-bottom: 14px; }
.section-titre h2 { margin: 0; }
.discret { color: var(--texte-secondaire); font-size: 14px; line-height: 20px; }
.carte { background: var(--surface); border-radius: 24px; box-shadow: var(--ombre-carte); padding: 20px; }

/* Apparition au défilement */
.js .apparait { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .apparait.vu { opacity: 1; transform: none; }
.retard-1 { transition-delay: .12s; }
.retard-2 { transition-delay: .24s; }
.js .hero .apparait, .hero .apparait { animation: entree .7s cubic-bezier(.2, .7, .2, 1) both; opacity: 1; transform: none; transition: none; }
.hero .retard-1 { animation-delay: .15s; }

/* Programme de la semaine : tableau sur grand écran, jours sur téléphone */
.programme { overflow: hidden; padding: 0; }
.programme table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.programme th, .programme td { border-top: 1px solid var(--trait); }
.programme thead th { border-top: 0; padding: 12px 4px; font-weight: 600; }
.programme thead th:first-child { text-align: left; padding-left: 20px; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--texte-secondaire); }
.jour-tete { display: inline-flex; flex-direction: column; align-items: center; padding: 4px 12px; border-radius: 16px; }
.jour-tete small { font-size: 12px; line-height: 16px; }
.jour-tete b { font-family: var(--police-titre); font-size: 16px; line-height: 20px; }
.aujourdhui .jour-tete { background: var(--action); color: #FFFFFF; }
.programme tbody th { text-align: left; vertical-align: top; padding: 16px 12px 16px 20px; font-size: 15px; white-space: nowrap; }
.programme td { vertical-align: top; text-align: center; padding: 14px 4px; font-variant-numeric: tabular-nums; }
.programme td.aujourdhui { background: #FDF5E2; font-weight: 700; }
.programme td span { display: block; }
.programme td small { display: block; font-size: 11px; color: var(--texte-secondaire); font-weight: 600; }
.vide { color: var(--texte-secondaire); }
.point { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.t-messe { background: var(--bleu-lucerna); }
.t-confessions { background: var(--violet); }
.t-adoration { background: var(--ambre); }
.programme-mobile { display: none; }
@media (max-width: 760px) {
  .programme table { display: none; }
  .programme-mobile { display: block; }
}
.jour-mobile { padding: 14px 18px; border-top: 1px solid var(--trait); }
.jour-mobile:first-child { border-top: 0; }
.jour-mobile.aujourdhui { background: #FDF5E2; }
.jour-mobile h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 6px; }
.jour-mobile h3 .pastille { font-size: 12px; line-height: 18px; padding: 1px 10px; background: var(--action); color: #FFFFFF; }
.creneaux { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.creneaux li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 12px; background: var(--fond); font-size: 14px; }
.creneaux b { font-variant-numeric: tabular-nums; }

.encart { display: flex; gap: 12px; padding: 16px 18px; border-radius: 20px; background: var(--bleu-pale); color: #192145; margin-top: 12px; }
.encart .icone { color: var(--action); margin-top: 2px; }
.encart strong { color: var(--action); }

/* Tuile de date (événements, sessions) */
.ligne-date { display: flex; gap: 14px; align-items: center; padding: 14px 16px; background: var(--surface); border-radius: 20px; box-shadow: var(--ombre-carte); transition: transform .2s ease, box-shadow .2s ease; }
.ligne-date + .ligne-date { margin-top: 10px; }
.ligne-date:hover { transform: translateX(4px); box-shadow: 0 8px 22px rgba(25, 33, 69, .1); }
.tuile-date { flex: none; width: 56px; display: flex; flex-direction: column; align-items: center; padding: 6px 0; border-radius: 14px; background: var(--violet-pale); }
.tuile-date small { font-size: 11px; font-weight: 700; color: #5E3F99; text-transform: uppercase; }
.tuile-date b { font-family: var(--police-titre); font-size: 20px; line-height: 26px; font-weight: 800; color: #192145; }
.ligne-date:nth-child(3n+2) .tuile-date { background: var(--ambre-pale); }
.ligne-date:nth-child(3n+2) .tuile-date small { color: #6B4600; }
.ligne-date:nth-child(3n) .tuile-date { background: var(--vert-pale); }
.ligne-date:nth-child(3n) .tuile-date small { color: #256047; }

/* Étiquettes de couleur (groupes, formes de retraite) */
.etiquettes { display: flex; flex-wrap: wrap; gap: 8px; }
.etiquette { padding: 6px 14px; border-radius: var(--rayon-pilule); background: var(--violet-pale); color: #192145; font-size: 14px; }
.etiquette:nth-child(4n+2) { background: var(--bleu-pale); }
.etiquette:nth-child(4n+3) { background: var(--ambre-pale); }
.etiquette:nth-child(4n) { background: var(--vert-pale); }

/* Colonne de droite */
.carte-lieu { padding: 0; overflow: hidden; }
.mini-carte { display: block; width: 100%; height: auto; }
.mini-carte .repere { animation: rebond 2.4s ease-in-out infinite; }
.carte-lieu .corps { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 12px; }
.carte-lieu .separe { padding-top: 12px; border-top: 1px solid var(--trait); }
.deux-boutons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.deux-boutons .bouton { padding: 0 10px; }
.deux-boutons .bouton:only-child { grid-column: 1 / -1; }
.carte-installer { position: relative; overflow: hidden; display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 24px; background: linear-gradient(135deg, #FDEBC4, #FFE0A3); color: #192145; }
.carte-installer::before { content: ""; position: absolute; width: 120px; height: 120px; right: -40px; top: -40px; border-radius: 26px; background: rgba(246, 184, 67, .5); transform: rotate(20deg); animation: flotte1 12s ease-in-out infinite; }
.carte-installer > * { position: relative; }
.carte-installer img { flex: none; width: 96px; height: 96px; border-radius: 14px; background: #FFFFFF; padding: 6px; }
.carte-installer h2 { font-size: 17px; line-height: 23px; margin: 0 0 4px; }
.carte-installer p { font-size: 14px; line-height: 20px; margin: 0 0 6px; }
.carte-installer a { color: #192145; }
.liens-fiche a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; text-decoration: none; font-weight: 700; font-size: 15px; }
.liens-fiche small { display: block; font-weight: 400; color: var(--texte-secondaire); font-size: 13px; line-height: 18px; }

/* Grilles de cartes (accueil, villes, retraites, recherche) */
.grille-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.carte-lien { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 24px; background: var(--surface); box-shadow: var(--ombre-carte); color: var(--texte); text-decoration: none; overflow: hidden; transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease; }
.carte-lien::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 6px; background: var(--accent, var(--bleu-lucerna)); }
.carte-lien:hover { color: var(--texte); transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 18px 36px rgba(25, 33, 69, .14); }
.carte-lien h3 { font-size: 18px; line-height: 24px; }
.carte-lien .lien-fleche { margin-top: auto; color: var(--action); font-size: 14px; }
.carte-lien:nth-child(4n+1) { --accent: #3046C5; }
.carte-lien:nth-child(4n+2) { --accent: #E29A12; }
.carte-lien:nth-child(4n+3) { --accent: #7654B3; }
.carte-lien:nth-child(4n) { --accent: #2F9E6B; }
.pictogramme { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent, #3046C5) 16%, transparent); color: var(--accent, #3046C5); }
.carte-lien .etiquettes { gap: 6px; }
.carte-lien .etiquette { font-size: 12px; padding: 3px 10px; }
.ville-tuile .nombre { font-family: var(--police-titre); font-size: 40px; line-height: 44px; font-weight: 800; color: var(--accent); }

/* Recherche dans le bandeau */
.recherche { display: flex; gap: 8px; margin-top: 20px; max-width: 640px; padding: 6px; border-radius: var(--rayon-pilule); background: #FFFFFF; box-shadow: 0 16px 40px rgba(25, 33, 69, .3); }
.recherche label { display: flex; align-items: center; padding-left: 14px; color: #596178; }
.recherche input { flex: 1; min-width: 0; min-height: 48px; padding: 0 8px; border: 0; background: transparent; font-size: 16px; color: #192145; outline: none; }
.recherche .bouton { flex: none; }
@media (max-width: 480px) { .recherche .bouton span { display: none; } .recherche .bouton { padding: 0 16px; } }

/* Chiffres et bandeau d'appel (accueil) */
.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.chiffre { padding: 20px; border-radius: 24px; color: #192145; }
.chiffre b { display: block; font-family: var(--police-titre); font-size: 36px; line-height: 40px; font-weight: 800; }
.chiffre:nth-child(1) { background: var(--bleu-pale); }
.chiffre:nth-child(2) { background: var(--ambre-pale); }
.chiffre:nth-child(3) { background: var(--violet-pale); }
.chiffre:nth-child(4) { background: var(--vert-pale); }
.appel { position: relative; overflow: hidden; border-radius: 28px; padding: 32px 24px; color: #FFFFFF; background: linear-gradient(120deg, #7654B3, #3046C5 60%, #192145); background-size: 200% 200%; animation: degrade 14s ease-in-out infinite alternate; }
.appel h2 { font-size: 28px; line-height: 34px; max-width: 560px; position: relative; z-index: 1; }
.appel p { max-width: 560px; color: rgba(255, 255, 255, .9); position: relative; z-index: 1; }
.appel .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; position: relative; z-index: 1; }
.appel .eclat { opacity: .5; }

/* Retraites : note, avis, informations */
.note-grande { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.note-grande b { font-family: var(--police-titre); font-size: 44px; line-height: 48px; font-weight: 800; }
.etoiles { color: var(--ambre); letter-spacing: 2px; font-size: 18px; }
.avis { padding: 16px 0; border-top: 1px solid var(--trait); }
.avis:first-of-type { border-top: 0; }
.avis-tete { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.avis blockquote { margin: 10px 0 0; padding: 10px 14px; background: var(--fond); border-left: 4px solid var(--violet); border-radius: 12px; }
.infos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 16px 0 0; }
.infos div { padding: 12px 14px; border-radius: 16px; background: var(--fond); }
.infos dt { font-size: 13px; color: var(--texte-secondaire); }
.infos dd { margin: 0; font-weight: 700; }

/* ---------------------------------------------------------------- Pied */
.pied { position: relative; background: var(--bleu-nuit); color: #FFFFFF; margin-top: 16px; }
.pied::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, #3046C5 0 25%, #F6B843 25% 50%, #7654B3 50% 75%, #2F9E6B 75%); }
.pied-int { max-width: var(--largeur-contenu); margin: 0 auto; padding: 44px 16px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.pied-marque { max-width: 420px; display: flex; flex-direction: column; gap: 12px; }
.pied-marque img { width: 160px; height: auto; }
.pied-marque p { color: #C4CCE0; font-size: 14px; line-height: 21px; }
.pied-liens { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; align-content: flex-start; }
.pied-liens a { color: #FFFFFF; text-decoration: none; }
.pied-liens a:hover { color: var(--ambre); text-decoration: underline; }
.pied-bas { max-width: var(--largeur-contenu); margin: 0 auto; padding: 16px 16px 28px; border-top: 1px solid #2B3656; font-size: 13px; color: #C4CCE0; }


/* ------------------------------------------------- Badges des stores */
.badges-stores { align-items: center; }
.badges-stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.badge-store { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 18px 6px 14px; border-radius: 14px; background: #0B0F1F; color: #FFFFFF; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); transition: transform .2s ease, box-shadow .2s ease; }
.badge-store:hover { color: #FFFFFF; transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4), 0 10px 24px rgba(11, 15, 31, .35); }
.badge-store span { display: flex; flex-direction: column; line-height: 1.1; }
.badge-store small { font-size: 11px; opacity: .85; }
.badge-store b { font-family: var(--police-titre); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.badge-store em { position: absolute; top: -9px; right: -8px; padding: 2px 8px; border-radius: var(--rayon-pilule); background: var(--ambre); color: #192145; font-style: normal; font-size: 11px; font-weight: 800; animation: survol 3s ease-in-out infinite; }
.badges-stores.petits { margin-top: 8px; gap: 8px; }
.badges-stores.petits .badge-store { min-height: 44px; padding: 4px 14px 4px 10px; border-radius: 12px; }
.badges-stores.petits .badge-store svg { width: 20px; height: 20px; }
.badges-stores.petits .badge-store b { font-size: 15px; }
.badges-stores.petits .badge-store small { font-size: 10px; }
.carte-installer .badge-store, .carte-installer .badge-store:hover { color: #FFFFFF; }
.pied-badges { flex-basis: 100%; }

/* --------------------------------------- Couleur liturgique du jour */
.hero-lit-vert { background: linear-gradient(125deg, #173F2F 0%, #256047 45%, #2F9E6B 100%); background-size: 180% 180%; animation: degrade 18s ease-in-out infinite alternate; }
.hero-lit-violet { background: linear-gradient(125deg, #3E2350 0%, #69407E 50%, #7654B3 100%); background-size: 180% 180%; animation: degrade 18s ease-in-out infinite alternate; }
.hero-lit-rouge { background: linear-gradient(125deg, #6E1D23 0%, #A53038 50%, #D0503A 100%); background-size: 180% 180%; animation: degrade 18s ease-in-out infinite alternate; }
.hero-lit-rose { background: linear-gradient(125deg, #6B2A41 0%, #98415F 50%, #C77D96 100%); background-size: 180% 180%; animation: degrade 18s ease-in-out infinite alternate; }
.hero-lit-blanc { background: linear-gradient(125deg, #8A6516 0%, #C99A2E 45%, #3046C5 100%); background-size: 180% 180%; animation: degrade 18s ease-in-out infinite alternate; }
.hero-lit-noir { background: linear-gradient(125deg, #111 0%, #292929 50%, #192145 100%); }
.pastille-couleur { flex: none; width: 76px; height: 76px; border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(25, 33, 69, .12); position: relative; overflow: hidden; }
.pastille-couleur::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-100%); animation: reflet 4s ease-in-out infinite; }
.nav-mois { display: flex; gap: 6px; }
.nav-mois .bouton { min-width: 44px; font-size: 18px; }
.nav-mois .bouton:nth-child(2) { font-size: 14px; }
.mois { padding: 12px; }
.mois-grille { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mois-tete { text-align: center; font-size: 12px; font-weight: 800; color: var(--texte-secondaire); padding: 4px 0; text-transform: uppercase; letter-spacing: .04em; }
.mois-jour { position: relative; min-height: 92px; padding: 8px 8px 8px 12px; border-radius: 14px; background: var(--fond); font-size: 12px; line-height: 15px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.mois-jour::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--lit); box-shadow: inset 0 0 0 1px rgba(25, 33, 69, .1); }
.mois-jour b { display: block; font-family: var(--police-titre); font-size: 16px; line-height: 20px; margin-bottom: 4px; }
.mois-jour.fort { background: color-mix(in srgb, var(--lit) 14%, var(--surface)); }
.mois-jour.fort span { font-weight: 600; }
.mois-jour:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(25, 33, 69, .1); }
.mois-jour.aujourdhui { box-shadow: inset 0 0 0 2px var(--action); }
.mois-jour.aujourdhui b { color: var(--action); }
.mois-jour { display: block; color: inherit; text-decoration: none; cursor: pointer; }
.mois-jour:focus-visible { outline: 3px solid var(--action); outline-offset: 2px; }
.mois-jour.choisi { box-shadow: inset 0 0 0 3px var(--texte); }
.mois-jour.choisi.aujourdhui { box-shadow: inset 0 0 0 3px var(--action); }
a.ligne-date { color: inherit; text-decoration: none; }
a.ligne-date:hover strong { text-decoration: underline; }
.mois-vide { min-height: 92px; }
.legende-lit { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--trait); font-size: 14px; color: var(--texte-secondaire); }
.legende-lit span { display: inline-flex; align-items: center; gap: 6px; }
.legende-lit i { width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(25, 33, 69, .25); }
/* Sur téléphone : une vraie grille compacte, comme dans l'appli (numéro et trait de couleur). */
@media (max-width: 760px) {
  .carte.mois { padding: 14px 10px; }
  .mois-grille { gap: 2px 0; }
  .mois-tete { font-size: 13px; }
  .mois-jour, .mois-jour.fort { min-height: 0; padding: 4px 0 12px; text-align: center; background: transparent; border-radius: 12px; overflow: visible; }
  .mois-jour::before { left: 50%; top: auto; bottom: 4px; width: 22px; height: 4px; margin-left: -11px; border-radius: 2px; }
  .mois-jour span { display: none; }
  .mois-jour b { width: 36px; height: 36px; margin: 0 auto 4px; border-radius: 50%; font-size: 16px; line-height: 36px; font-weight: 500; }
  .mois-jour.fort b { font-weight: 800; }
  .mois-jour:hover { transform: none; box-shadow: none; }
  .mois-jour.aujourdhui, .mois-jour.choisi, .mois-jour.choisi.aujourdhui { box-shadow: none; }
  .mois-jour.aujourdhui b { background: var(--action); color: #fff; }
  .mois-jour.choisi b { box-shadow: inset 0 0 0 2px var(--action); }
  .mois-vide { min-height: 0; }
}
aside .ligne-date .tuile-date { background: color-mix(in srgb, var(--lit, #3046C5) 20%, var(--surface)); box-shadow: inset 0 -4px 0 var(--lit, #3046C5); }

/* -------------------------------------------------------- Actualité */
.filtres { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; }
.filtres a { flex: none; padding: 8px 16px; border-radius: var(--rayon-pilule); background: var(--surface); color: var(--texte); text-decoration: none; font-weight: 600; font-size: 14px; box-shadow: var(--ombre-carte); transition: background-color .2s ease, transform .2s ease; }
.filtres a:hover { transform: translateY(-2px); }
.filtres a small { color: var(--texte-secondaire); font-weight: 600; margin-left: 4px; }
.filtres a[aria-current] { background: var(--action); color: #FFFFFF; }
.filtres a[aria-current] small { color: rgba(255, 255, 255, .8); }
.grille-articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.article { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--surface); box-shadow: var(--ombre-carte); color: var(--texte); text-decoration: none; transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease; }
.article:hover { color: var(--texte); transform: translateY(-6px); box-shadow: 0 18px 36px rgba(25, 33, 69, .14); }
.article-image { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(125deg, #3046C5, #7654B3); }
.article-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.article:hover .article-image img { transform: scale(1.06); }
.article-image .eclats-mini { display: none; }
.article-image.sans-image .eclats-mini { display: block; position: absolute; inset: 0; background:
  linear-gradient(160deg, transparent 55%, rgba(246, 184, 67, .85) 55% 70%, transparent 70%),
  linear-gradient(20deg, transparent 60%, rgba(25, 33, 69, .5) 60%); }
.article-corps { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.article-meta { font-size: 13px; color: var(--texte-secondaire); font-weight: 600; }
.article h3 { font-size: 18px; line-height: 24px; }
.article p { font-size: 15px; line-height: 22px; color: var(--texte-secondaire); margin: 0; }
.article .lien-fleche { margin-top: auto; color: var(--action); font-size: 14px; }
.article.une { display: grid; grid-template-columns: 1.3fr 1fr; }
.article.une .article-image { aspect-ratio: auto; min-height: 300px; }
.article.une h3 { font-size: 26px; line-height: 32px; }
.article.une .article-corps { padding: 28px; justify-content: center; }
@media (max-width: 760px) { .article.une { display: flex; } .article.une .article-image { min-height: 200px; } .article.une h3 { font-size: 21px; line-height: 27px; } .article.une .article-corps { padding: 18px; } }

/* --------------------------------------- Aujourd'hui (accueil) */
.aujourdhui-eglise { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; }
@media (max-width: 860px) { .aujourdhui-eglise { grid-template-columns: 1fr; } }
.carte-liturgie { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 24px; color: #FFFFFF; text-decoration: none; min-height: 220px; }
.carte-liturgie:hover { color: #FFFFFF; }
.carte-liturgie h3 { font-size: 24px; line-height: 30px; position: relative; z-index: 1; }
.carte-liturgie > span { position: relative; z-index: 1; }
.carte-liturgie .lien-fleche { margin-top: auto; color: #FFFFFF; }
.carte-liturgie .eclat { opacity: .45; }
.liste-actus { display: flex; flex-direction: column; gap: 10px; }
.actu-ligne { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 20px; background: var(--surface); box-shadow: var(--ombre-carte); color: var(--texte); text-decoration: none; transition: transform .2s ease; }
.actu-ligne:hover { color: var(--texte); transform: translateX(4px); }
.actu-ligne .vignette { flex: none; width: 88px; height: 66px; border-radius: 14px; overflow: hidden; background: linear-gradient(125deg, #3046C5, #7654B3); }
.actu-ligne .vignette img { width: 100%; height: 100%; object-fit: cover; display: block; }
.actu-ligne strong { display: block; font-size: 15px; line-height: 20px; }


/* --------------------------------------------------------- À propos */
.qr-hero { display: block; width: 112px; height: 112px; margin-top: 8px; padding: 6px; border-radius: 14px; background: #FFFFFF; }
/* Téléphone réaliste : cadre fin, îlot, boutons latéraux, reflet. --l : largeur. */
.telephone { --l: 270px; position: relative; flex: none; width: var(--l); padding: calc(var(--l) * .034); border-radius: calc(var(--l) * .175); background: #07090F;
  box-shadow: 0 0 0 calc(var(--l) * .011) #B9BEC9, 0 0 0 calc(var(--l) * .02) #4A505E, 0 50px 90px -30px rgba(11, 15, 31, .6), 0 22px 40px -20px rgba(11, 15, 31, .45);
  transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.telephone::before, .telephone::after { content: ""; position: absolute; width: calc(var(--l) * .014); border-radius: 3px; background: linear-gradient(90deg, #8D93A1, #C9CDD6); }
.telephone::before { right: calc(var(--l) * -.03); top: 27%; height: 12%; }
.telephone::after { left: calc(var(--l) * -.03); top: 20%; height: 7%; box-shadow: 0 calc(var(--l) * .2) 0 #A9AEBA; }
.telephone .ecran { position: relative; width: 100%; aspect-ratio: 540 / 1169; border-radius: calc(var(--l) * .142); overflow: hidden; background: #F5F6FB; isolation: isolate; }
.telephone .ecran::before { content: ""; position: absolute; z-index: 3; top: calc(var(--l) * .022); left: 50%; width: 31%; height: calc(var(--l) * .082); transform: translateX(-50%); border-radius: 999px; background: #000; }
.telephone .ecran::after { content: ""; position: absolute; z-index: 3; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .04) 32%, transparent 33%); }
.telephone .ecran img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.04); transition: opacity .9s ease, transform 3.4s ease; }
.telephone .ecran img.actif { opacity: 1; transform: scale(1); }
.telephone.petit { --l: 210px; }
.duo { position: relative; display: flex; justify-content: center; margin: 0 auto; padding: 10px 0 10px 70px; }
.duo .avant { --l: 250px; --r: 5deg; z-index: 2; transform: rotate(var(--r)); animation: flotte-tel 6s ease-in-out infinite; }
.duo .arriere { --l: 210px; --r: -10deg; position: absolute; left: 0; top: 60px; z-index: 1; transform: rotate(var(--r)); filter: saturate(.9) brightness(.92); animation: flotte-tel 7s ease-in-out .8s infinite; }
@media (max-width: 900px) { .duo { margin-bottom: 0; padding-left: 0; } .duo .arriere { display: none; } .duo .avant { --l: 230px; --r: 3deg; } }
@media (max-width: 900px) { .qr-hero, .seulement-ordinateur { display: none; } }
.apropos > main { gap: 64px; }
.apropos { padding-top: 96px; }
@media (max-width: 900px) { .apropos { padding-top: 40px; } }
.atout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 64px; }
.atout.inverse { flex-direction: row-reverse; }
.atout-texte { flex: 1 1 360px; max-width: 560px; }
.atout h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; }
.atout p { font-size: 17px; line-height: 27px; color: var(--texte-secondaire); }
.atout .telephone { margin: 0 auto; }
.atout .telephone:hover { transform: rotate(-3deg) translateY(-8px); }
.atout.inverse .telephone:hover { transform: rotate(3deg) translateY(-8px); }
.pastille-teinte { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px; border-radius: 16px; font-family: var(--police-titre); font-weight: 800; font-size: 20px; color: #FFFFFF; background: var(--teinte); box-shadow: 0 10px 22px color-mix(in srgb, var(--teinte) 40%, transparent); }
.atout-bleu { --teinte: #3046C5; } .atout-violet { --teinte: #7654B3; } .atout-vert { --teinte: #256047; } .atout-ambre { --teinte: #E29A12; }
.atout-texte h2 { position: relative; }
.coches { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.coches li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.coches .icone { color: var(--teinte, var(--action)); margin-top: 3px; }
.contributeurs { position: relative; overflow: hidden; padding: 48px 28px; border-radius: 32px; color: #FFFFFF; background: linear-gradient(125deg, #192145, #2A3DB4 60%, #7654B3); background-size: 180% 180%; animation: degrade 18s ease-in-out infinite alternate; }
.contributeurs > *:not(.vitrail) { position: relative; z-index: 1; }
.contributeurs-tete { max-width: 680px; }
.contributeurs-tete h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; margin-top: 14px; }
.contributeurs-tete p { color: rgba(255, 255, 255, .9); font-size: 17px; line-height: 27px; }
.etapes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 36px; }
.etape { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.etape h3 { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; margin-top: 8px; }
.etape h3 span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ambre); color: #192145; font-size: 16px; }
.etape p { color: rgba(255, 255, 255, .88); max-width: 300px; }
.etape:nth-child(1) .telephone { transform: rotate(-4deg); }
.etape:nth-child(3) .telephone { transform: rotate(4deg); }
.etape:hover .telephone { transform: translateY(-10px) rotate(0); }
.contributeurs-note { display: flex; gap: 10px; align-items: flex-start; margin: 36px auto 0; max-width: 760px; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .12); }
.contributeurs-note .icone { color: var(--ambre); margin-top: 3px; }
.initiatrice { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.portrait { position: relative; flex: 0 0 340px; max-width: 100%; aspect-ratio: 4 / 5; margin: 20px auto; }
.portrait img, .portrait-provisoire { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 120px 28px 120px 28px; box-shadow: 0 24px 50px rgba(25, 33, 69, .25); }
.portrait-provisoire { display: grid; place-items: center; background: linear-gradient(135deg, #3046C5, #7654B3); color: #FFFFFF; font-family: var(--police-titre); font-size: 72px; font-weight: 800; }
.eclat-portrait { position: absolute; z-index: 0; border-radius: 22px 8px 26px 10px; }
.eclat-portrait.p1 { width: 120px; height: 90px; right: -28px; top: -20px; background: var(--ambre); animation: flotte1 12s ease-in-out infinite; }
.eclat-portrait.p2 { width: 100px; height: 130px; left: -26px; bottom: -22px; background: #7654B3; opacity: .8; animation: flotte2 14s ease-in-out infinite; }
.initiatrice-texte { flex: 1 1 380px; }
.initiatrice-texte h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; margin: 14px 0 4px; }
.initiatrice-texte h3 { margin-top: 20px; margin-bottom: 6px; font-size: 19px; color: var(--action); }
.initiatrice-texte p { font-size: 17px; line-height: 27px; }
.appel .badges-stores { position: relative; z-index: 1; }


/* ------------------------------------------------------------ Contact */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 32px 48px; align-items: start; padding: 36px 28px; border-radius: 32px; background: var(--surface); box-shadow: var(--ombre-carte); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 220px; height: 220px; left: -80px; bottom: -90px; border-radius: 40px; background: var(--ambre-pale); transform: rotate(24deg); }
.contact > * { position: relative; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact-intro h2 { font-size: clamp(24px, 3.5vw, 32px); line-height: 1.2; margin: 14px 0 8px; }
.contact-intro p { color: var(--texte-secondaire); font-size: 17px; line-height: 27px; }
.formulaire-contact { display: flex; flex-direction: column; gap: 14px; }
.formulaire-contact label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.formulaire-contact input, .formulaire-contact select, .formulaire-contact textarea { width: 100%; min-height: 48px; padding: 10px 16px; border: 1.5px solid var(--trait); border-radius: 16px; background: var(--fond); color: var(--texte); font: 400 16px/24px var(--police-texte); transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.formulaire-contact textarea { resize: vertical; min-height: 130px; }
.formulaire-contact input:focus, .formulaire-contact select:focus, .formulaire-contact textarea:focus { outline: none; border-color: var(--action); background: var(--surface); box-shadow: 0 0 0 4px var(--bleu-pale); }
.formulaire-contact .bouton { align-self: flex-start; }
.deux-champs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-reponse { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; font-weight: 600; margin: 0; }
.contact-reponse.ok { background: var(--etat-verifie-fond); color: var(--etat-verifie); animation: entree .6s ease both; }
.contact-reponse.erreur { background: var(--etat-erreur-fond); color: var(--etat-erreur); }
.initiatrice-texte p a { font-weight: 600; }

/* --------------------------------------------------------- Animations */
@keyframes degrade { from { background-position: 0% 40%; } to { background-position: 100% 60%; } }
@keyframes flotte1 { 0%, 100% { transform: translate(0, 0) rotate(-18deg); } 50% { transform: translate(-14px, 18px) rotate(-10deg); } }
@keyframes flotte2 { 0%, 100% { transform: translate(0, 0) rotate(12deg); } 50% { transform: translate(16px, -12px) rotate(20deg); } }
@keyframes flotte3 { 0%, 100% { transform: translate(0, 0) rotate(8deg); } 50% { transform: translate(-10px, -20px) rotate(2deg); } }
@keyframes respire { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes survol { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 158, 107, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(47, 158, 107, 0); } }
@keyframes rebond { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes reflet { 0% { transform: translateX(-100%); } 40%, 100% { transform: translateX(100%); } }
@keyframes flotte-tel { 0%, 100% { transform: rotate(var(--r, 0deg)) translateY(0); } 50% { transform: rotate(var(--r, 0deg)) translateY(-10px); } }
@keyframes entree { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .apparait { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------- Mode sombre */
@media (prefers-color-scheme: dark) {
  .programme td.aujourdhui, .jour-mobile.aujourdhui { background: rgba(246, 184, 67, .12); }
  /* Les fonds « pâles » deviennent sombres : le texte passe en clair. */
  .chiffre, .encart, .etiquette, .tuile-heure, .tuile-date b,
  .bouton.pale, .bouton.vert, .bouton.pale:hover, .bouton.vert:hover { color: var(--texte); }
  /* Recherche de l'accueil : champ sur fond sombre. */
  .recherche-accueil .recherche input { color: var(--texte); caret-color: var(--action); }
  .recherche-accueil .recherche input::placeholder { color: var(--texte-secondaire); opacity: 1; }
  .recherche-accueil .recherche label { color: var(--texte-secondaire); }
  .recherche-accueil .recherche input:-webkit-autofill { -webkit-text-fill-color: var(--texte); -webkit-box-shadow: 0 0 0 40px var(--fond) inset; }
  /* Choix « Tout / Paroisses / Retraites » : texte lisible sur le bouton actif. */
  .choix-type input:checked + span { color: var(--sur-action); }
}


/* ------------------------------------------- Badges des stores (un seul style) */
.badge-store { min-width: 172px; min-height: 54px; }
.badge-store svg { flex: none; }
.badges-stores.petits .badge-store { min-width: 150px; min-height: 46px; }
.badges-stores.petits .badge-store svg { width: 20px; height: 20px; }

/* --------------------------------------------------- Accueil : diaporama */
.carrousel { padding-bottom: 0; background: var(--bleu-nuit); }
.diapos { display: grid; }
.diapo { grid-area: 1 / 1; position: relative; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.diapo.actif { opacity: 1; visibility: visible; transition: opacity .8s ease, visibility 0s; }
.diapo .hero-int { align-items: center; min-height: 460px; padding-bottom: 96px; }
.diapo .hero-texte-bloc > * { transform: translateY(14px); opacity: 0; transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity .7s ease; }
.diapo.actif .hero-texte-bloc > * { transform: none; opacity: 1; }
.diapo.actif .hero-texte-bloc > :nth-child(2) { transition-delay: .08s; }
.diapo.actif .hero-texte-bloc > :nth-child(3) { transition-delay: .16s; }
.diapo.actif .hero-texte-bloc > :nth-child(4) { transition-delay: .24s; }
.diapo .pastille { margin-bottom: 4px; }
.diapo h1, .diapo .diapo-titre { margin: 10px 0 12px; font-size: clamp(32px, 5.4vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; color: #FFFFFF; }
.diapo .bouton { margin-top: 8px; }
.diapo-visuel { flex: 0 1 auto; display: flex; justify-content: center; margin: 0 auto; }
.diapo-visuel .telephone { --l: 228px; transform: rotate(4deg) translateY(30px); transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.diapo.actif .diapo-visuel .telephone { transform: rotate(4deg) translateY(0); animation: flotte-tel 6s ease-in-out 1s infinite; --r: 4deg; }
.carrousel-commandes { position: absolute; z-index: 3; left: 0; right: 0; bottom: 64px; display: flex; justify-content: center; align-items: center; gap: 14px; pointer-events: none; }
.carrousel-commandes > * { pointer-events: auto; }
.carrousel-fleche { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #FFFFFF; cursor: pointer; backdrop-filter: blur(6px); transition: background-color .2s ease, transform .2s ease; }
.carrousel-fleche:hover { background: rgba(255, 255, 255, .3); transform: scale(1.06); }
.carrousel-points { display: flex; gap: 6px; }
.carrousel-points button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.carrousel-points span { display: block; width: 9px; height: 9px; border-radius: 99px; background: rgba(255, 255, 255, .45); transition: width .35s ease, background-color .35s ease; }
.carrousel-points button[aria-current] span { width: 26px; background: var(--ambre); }
@media (max-width: 760px) {
  .diapo .hero-int { min-height: 0; padding-bottom: 110px; }
  .diapo-visuel { display: none; }
  .carrousel-commandes { bottom: 58px; }
}

/* Recherche de l'accueil, posée à cheval sur le diaporama */
.recherche-accueil { position: relative; z-index: 4; max-width: 880px; margin: -44px auto 0; padding: 0 16px; }
.recherche-accueil form { padding: 18px 20px 20px; border-radius: 26px; background: var(--surface); box-shadow: 0 24px 50px rgba(25, 33, 69, .18); }
.recherche-accueil-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.recherche-accueil h2 { margin: 0; font-size: 20px; line-height: 26px; }
.recherche-accueil .recherche { margin-top: 12px; max-width: none; box-shadow: none; background: var(--fond); border: 1px solid var(--trait); }
.choix-type { display: flex; flex-wrap: wrap; gap: 6px; }
.choix-type label { position: relative; cursor: pointer; }
.choix-type input { position: absolute; opacity: 0; pointer-events: none; }
.choix-type span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--rayon-pilule); background: var(--fond); color: var(--texte); font-weight: 600; font-size: 14px; transition: background-color .2s ease, color .2s ease; }
.choix-type input:checked + span { background: var(--action); color: #FFFFFF; }
.choix-type input:focus-visible + span { outline: 3px solid var(--ambre); outline-offset: 2px; }

/* Rubriques de l'accueil */
.page.accueil { padding-top: 40px; }
.page.accueil > main { gap: 56px; }
.rubrique-tete { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 20px; margin-bottom: 20px; }
.rubrique-tete > div { flex: 1 1 380px; min-width: 0; }
.rubrique-tete h2 { margin: 0 0 4px; font-size: 30px; line-height: 36px; }
.rubrique-tete p { margin: 0; max-width: 640px; color: var(--texte-secondaire); }
.rubrique-num { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; font: 800 20px/1 var(--police-titre); color: #FFFFFF; background: var(--teinte, var(--bleu-lucerna)); transform: rotate(-6deg); box-shadow: 0 10px 22px -8px var(--teinte, var(--bleu-lucerna)); }
.rubrique-bleu { --teinte: #3046C5; }
.rubrique-violet { --teinte: #7654B3; }
.rubrique-nuit { --teinte: #192145; }
.rubrique-vert { --teinte: #2F9E6B; }
.rubrique-ambre { --teinte: #D9962A; }
.rubrique .grille-articles { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grandes-dates h3 { margin: 0 0 8px; }
.apropos-bref { display: flex; gap: 24px; align-items: flex-start; padding: 24px; border-radius: 28px; background: linear-gradient(135deg, #FFF6E2, #FDEBC4); color: #192145; }
.apropos-bref img { flex: none; width: 120px; height: 150px; object-fit: cover; border-radius: 22px; transform: rotate(-3deg); box-shadow: 0 14px 28px -12px rgba(25, 33, 69, .45); }
.apropos-bref p { margin: 0 0 10px; max-width: 720px; }
.apropos-bref .discret { color: #4A5370; }
.actions-bref { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
@media (max-width: 560px) { .apropos-bref { flex-direction: column; } .apropos-bref img { width: 96px; height: 120px; } }

/* Pagination et résultats (actualité) */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 8px; }
.pagination .bouton { gap: 8px; }
.pagination .inactif { opacity: .45; pointer-events: none; }
.pagination-compte { font-weight: 700; color: var(--texte-secondaire); padding: 0 6px; }
.resultat-compte { margin: -12px 0 0; color: var(--texte-secondaire); font-size: 15px; }

/* Pages légales */
.texte-legal { max-width: 780px; display: flex; flex-direction: column; gap: 8px; }
.texte-legal section { padding: 20px 24px; border-radius: 24px; background: var(--surface); box-shadow: var(--ombre-carte); }
.texte-legal h2 { margin: 0 0 8px; font-size: 21px; line-height: 27px; }
.texte-legal p, .texte-legal li { line-height: 26px; }
.texte-legal ul { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.autres-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 12px 4px; }

/* Pied de page : droits et liens légaux */
.pied-bas-int { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.pied-bas p { margin: 0; }
.pied-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pied-legal a { color: #FFFFFF; text-decoration: none; }
.pied-legal a:hover { color: var(--ambre); text-decoration: underline; }
.badge-store em { top: -14px; right: -10px; padding: 1px 8px; font-size: 10.5px; line-height: 16px; box-shadow: 0 4px 10px rgba(11, 15, 31, .25); }
.badges-stores { row-gap: 18px; padding-top: 6px; }
a.ligne-date, a.ligne-date:hover { text-decoration: none; color: var(--texte); }

/* « Voir plus » sous une grille de cartes */
[hidden] { display: none !important; }
.voir-plus { display: flex; width: fit-content; margin: 24px auto 0; }
.section-titre[id], #lieux, #liste, #villes { scroll-margin-top: 90px; }
#installer { scroll-margin-top: 140px; }

/* Accord pour la mesure d'audience */
.consentement { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 720px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px 20px; border-radius: 20px; background: var(--surface); color: var(--texte); box-shadow: 0 12px 40px rgba(25, 33, 69, .22); }
.consentement p { flex: 1 1 320px; margin: 0; font-size: 14px; line-height: 20px; }
.consentement-choix { display: flex; gap: 8px; margin-left: auto; }
