/* =========================================================
   Paroisse Saint-François d'Assise — maquette v1
   Charte : verts du logo, aplats de couleur des fiches,
   Crimson Pro (titres, proche du logo) + Open Sans (fiches)
   ========================================================= */

:root {
  /* Couleurs du logo */
  --vert-fonce: #1f5c48;
  --vert: #1fa77a;
  --vert-clair: #e6f4ee;
  --vert-pale: #f2f9f5;

  /* Couleurs des fiches */
  --jaune: #fcd95b;
  --abricot: #f9bc5a;
  --orange: #f97420;
  --bleu: #3bb4f9;
  --rose: #f6a5d1;
  --corail: #f95a5a;
  --violet: #8b55f9;
  --menthe: #8ad3b0;
  --emeraude: #35ae86;

  /* Neutres */
  --encre: #1c2a25;
  --texte: #3a4a44;
  --gris: #6b7a74;
  --ligne: #dfe8e3;
  --fond: #fbfaf6;
  --blanc: #ffffff;

  --rayon: 22px;
  --rayon-s: 14px;
  --ombre: 0 10px 30px rgba(31, 92, 72, .10);
  --ombre-forte: 0 18px 40px rgba(31, 92, 72, .18);

  --titre: "Crimson Pro", Georgia, serif;
  --corps: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Great Vibes", cursive;

  --largeur: 1180px;
  --gouttiere: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--corps);
  font-size: 17px;
  line-height: 1.6;
  color: var(--texte);
  background: var(--fond);
  padding-bottom: 72px; /* barre d'actions mobile */
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--vert-fonce); }
a:hover { color: var(--vert); }

h1, h2, h3, h4 {
  font-family: var(--titre);
  color: var(--vert-fonce);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); }
h3 { font-size: 1.45rem; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.surtitre {
  display: inline-block;
  font-family: var(--corps);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--vert);
  margin-bottom: .6rem;
}

.script { font-family: var(--script); font-weight: 400; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .8em 1.4em;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--corps); font-weight: 700; font-size: .95rem;
  text-decoration: none; cursor: pointer;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-plein { background: var(--vert-fonce); color: var(--blanc); }
.btn-plein:hover { background: var(--vert); color: var(--blanc); box-shadow: var(--ombre); }
.btn-clair { background: var(--blanc); color: var(--vert-fonce); }
.btn-clair:hover { color: var(--vert-fonce); box-shadow: var(--ombre); }
.btn-contour { border-color: var(--vert-fonce); color: var(--vert-fonce); background: transparent; }
.btn-contour:hover { background: var(--vert-fonce); color: var(--blanc); }

.lien-fleche {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 700; text-decoration: none; color: var(--vert-fonce);
}
.lien-fleche::after { content: "→"; transition: transform .2s; }
.lien-fleche:hover::after { transform: translateX(4px); }

/* ---------- Bandeau défilant ---------- */
.bandeau {
  background: var(--vert-fonce);
  color: var(--blanc);
  font-size: .88rem;
  overflow: hidden;
  white-space: nowrap;
}
.bandeau-piste {
  display: inline-flex; gap: 3rem;
  padding: .55rem 0;
  animation: defile 40s linear infinite;
}
.bandeau:hover .bandeau-piste { animation-play-state: paused; }
.bandeau-piste span::before { content: "✦"; color: var(--jaune); margin-right: .8rem; }
.bandeau a { color: var(--blanc); }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ligne);
}
.entete-int {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 76px;
}
.logo img { height: 64px; width: auto; }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; }
.nav a {
  display: block; padding: .5rem .75rem; border-radius: 999px;
  text-decoration: none; color: var(--encre); font-weight: 600; font-size: .93rem;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--vert-clair); color: var(--vert-fonce); }

.raccourcis { display: none; gap: .5rem; }
.raccourcis .btn { padding: .6em 1.1em; font-size: .88rem; }

.burger {
  width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--vert-clair); color: var(--vert-fonce);
  display: grid; place-items: center; cursor: pointer;
}
.burger svg { width: 24px; height: 24px; }

/* Menu mobile plein écran */
.menu-mobile {
  position: fixed; inset: 0; z-index: 100;
  background: var(--vert-fonce); color: var(--blanc);
  padding: 22px var(--gouttiere) 40px;
  overflow-y: auto;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .35s ease, visibility .35s;
}
.menu-mobile.ouvert { transform: none; visibility: visible; }
.menu-mobile-haut { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.menu-mobile .burger { background: rgba(255,255,255,.12); color: var(--blanc); }
.menu-mobile ul { list-style: none; padding: 0; margin: 0; }
.menu-mobile li a {
  display: block; padding: .8rem 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  color: var(--blanc); text-decoration: none;
  font-family: var(--titre); font-size: 1.6rem;
}
.menu-mobile .script { font-size: 2.4rem; color: var(--menthe); }

/* ---------- Barre d'actions mobile ---------- */
.barre-mobile {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--blanc);
  border-top: 1px solid var(--ligne);
  box-shadow: 0 -6px 20px rgba(0,0,0,.06);
  padding-bottom: env(safe-area-inset-bottom);
}
.barre-mobile a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: .55rem .2rem .5rem;
  font-size: .72rem; font-weight: 700; text-decoration: none; color: var(--vert-fonce);
}
.barre-mobile svg { width: 24px; height: 24px; }
.barre-mobile a:nth-child(1) svg { color: var(--vert); }
.barre-mobile a:nth-child(2) svg { color: var(--orange); }
.barre-mobile a:nth-child(3) svg { color: var(--bleu); }
.barre-mobile a:nth-child(4) svg { color: var(--violet); }

/* ---------- Héros ---------- */
.heros {
  position: relative;
  background: var(--emeraude);
  color: var(--blanc);
  padding: 48px 0 120px;
  overflow: hidden;
}
.heros::after, .tete-page::after { /* vague, comme sur les fiches */
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 110px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 70 C 260 120 520 120 820 62 C 1080 12 1280 10 1440 40 L1440 120 L0 120 Z' fill='%23fbfaf6'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
}
.tete-page::after { height: 70px; }
.heros .script { font-size: clamp(2.6rem, 9vw, 4.4rem); line-height: 1; color: var(--blanc); display: block; margin-bottom: .3rem; }
.heros h1 { color: var(--blanc); max-width: 16ch; }
.heros p.chapeau { font-size: 1.12rem; max-width: 46ch; opacity: .95; margin: 0 0 1.6rem; }
.heros-deco {
  position: absolute; right: -60px; top: -40px; width: 340px; height: 340px;
  border: 2px solid rgba(255,255,255,.35); border-radius: 50%;
}
.heros-coeur { position: absolute; right: 12%; top: 34px; width: 46px; opacity: .9; }

/* Bandeau image des clochers (accueil) */
.heros-image { background: #f6f1e4; border-bottom: 4px solid var(--vert); }
.heros-image img { width: 100%; max-width: 2000px; height: auto; margin: 0 auto; }
.accueil-intro {
  text-align: center; max-width: 60ch; margin: 22px auto 22px;
  font-size: 1.05rem; color: var(--texte);
}
.accueil-intro .script { display: block; font-size: clamp(2.2rem, 7vw, 3rem); line-height: 1.1; color: var(--vert-fonce); }

/* Trois portes d'entrée */
.portes {
  position: relative; z-index: 2;
  display: grid; gap: 14px;
}
.porte {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px;
  border-radius: var(--rayon);
  background: var(--blanc);
  box-shadow: var(--ombre);
  text-decoration: none; color: var(--encre);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.porte:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); color: var(--encre); }
.porte-icone {
  flex: none; width: 58px; height: 58px; border-radius: 18px;
  display: grid; place-items: center; color: var(--blanc);
}
.porte-icone svg { width: 30px; height: 30px; }
.porte strong { display: block; font-family: var(--titre); font-size: 1.5rem; color: var(--vert-fonce); line-height: 1.1; }
.porte span.desc { font-size: .9rem; color: var(--gris); }
.porte .fleche { margin-left: auto; font-size: 1.4rem; color: var(--gris); transition: transform .2s; }
.porte:hover .fleche { transform: translateX(4px); }
.porte--nouveau .porte-icone { background: var(--orange); }
.porte--horaires .porte-icone { background: var(--vert); }
.porte--actus .porte-icone { background: var(--bleu); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--teinte { background: var(--vert-pale); }
.section-tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.section-tete h2 { margin: 0; }
.section-tete p { margin: .3rem 0 0; color: var(--gris); max-width: 52ch; }

/* ---------- Horaires ---------- */
.horaires-grille { display: grid; gap: 22px; }
.carte {
  background: var(--blanc);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: 26px;
}
.onglets { display: flex; max-width: 400px; background: var(--vert-clair); border-radius: 999px; padding: 4px; margin-bottom: 1.2rem; }
.onglets button {
  flex: 1; white-space: nowrap;
  border: 0; background: transparent; cursor: pointer;
  padding: .55rem .7rem; border-radius: 999px;
  font: 700 .86rem var(--corps); color: var(--vert-fonce);
}
.onglets button[aria-selected="true"] { background: var(--vert-fonce); color: var(--blanc); }

.liste-messes { list-style: none; margin: 0; padding: 0; }
.jour-titre {
  font-family: var(--corps); font-size: .8rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gris);
  margin: 1.1rem 0 .4rem;
}
.jour-titre:first-child { margin-top: 0; }
.messe {
  display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: center;
  padding: 12px 0; border-bottom: 1px dashed var(--ligne);
}
.messe:last-child { border-bottom: 0; }
.messe-heure {
  font-family: var(--titre); font-size: 1.55rem; font-weight: 600; color: var(--vert-fonce);
  text-align: center; background: var(--vert-clair); border-radius: 12px; padding: 4px 0;
}
.messe-lieu { font-weight: 700; color: var(--encre); }
.messe-info { font-size: .88rem; color: var(--gris); }
.messe-info .badge { margin-left: .3rem; }
.badge {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: .15em .65em; border-radius: 999px; background: var(--jaune); color: var(--encre);
}
.badge--exception { background: var(--corail); color: var(--blanc); }
.vide { color: var(--gris); font-style: italic; padding: .6rem 0; }

.note-maquette {
  font-size: .8rem; color: var(--gris); background: #fff8e1;
  border-left: 4px solid var(--jaune); padding: .5rem .8rem; border-radius: 8px; margin-top: 1rem;
}

/* Feuille d'information */
.feuille {
  background: var(--abricot);
  border-radius: var(--rayon);
  padding: 26px;
  color: var(--encre);
  position: relative; overflow: hidden;
  display: grid; gap: 20px;
}
.feuille h3 { color: var(--encre); font-size: 1.8rem; margin-bottom: .2rem; }
.feuille .date { font-weight: 700; }
.feuille-apercu {
  border: 0; cursor: zoom-in;
  background: var(--blanc);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 12px 26px rgba(0,0,0,.14);
  transform: rotate(-2deg);
  transition: transform .3s;
  width: 100%; max-width: 240px;
  justify-self: center;
}
.feuille-apercu:hover { transform: rotate(0) scale(1.03); }
.feuille-apercu img { width: 100%; border-radius: 6px; }

/* Liseuse de la feuille d'information */
.liseuse {
  width: min(860px, 100vw); max-width: 100vw; max-height: 100dvh; height: 100dvh;
  margin: 0 auto; padding: 0; border: 0;
  background: #2d3a35;
}
.liseuse::backdrop { background: rgba(10, 25, 20, .75); }
.liseuse-barre {
  position: sticky; top: 0; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: 10px 14px; background: var(--vert-fonce); color: var(--blanc);
}
.liseuse-barre strong { font-family: var(--titre); font-size: 1.2rem; font-weight: 600; }
.liseuse-barre .btn { padding: .5em 1em; font-size: .85rem; }
.liseuse-pages { padding: 14px; display: grid; gap: 14px; }
.liseuse-pages img { width: 100%; border-radius: 6px; background: var(--blanc); }
.feuille-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ---------- Actualités ---------- */
.actus { display: grid; gap: 22px; }
.actu {
  background: var(--blanc); border-radius: var(--rayon); overflow: hidden;
  box-shadow: var(--ombre);
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--texte);
  transition: transform .25s, box-shadow .25s;
}
.actu:hover { transform: translateY(-5px); box-shadow: var(--ombre-forte); color: var(--texte); }
.actu-visuel { aspect-ratio: 16 / 10; overflow: hidden; background: var(--vert-clair); }
.actu-visuel img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.actu:hover .actu-visuel img { transform: scale(1.05); }
.actu-corps { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.actu-meta { font-size: .8rem; font-weight: 700; color: var(--vert); text-transform: uppercase; letter-spacing: .08em; }
.actu h3 { margin: 0; font-size: 1.4rem; }
.actu p { margin: 0; font-size: .95rem; }

/* ---------- Fiches « Que propose ma paroisse ? » ---------- */
.fiches-defile {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%;
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px var(--gouttiere) 22px;
  margin: 0 calc(-1 * var(--gouttiere));
  scrollbar-width: thin;
}
.fiche-carte {
  scroll-snap-align: start;
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre);
  transition: transform .3s, box-shadow .3s;
  background: var(--blanc);
  display: block;
}
.fiche-carte img { width: 100%; aspect-ratio: 707 / 1000; object-fit: cover; }
.fiche-carte:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--ombre-forte); }
.defile-nav { display: flex; gap: .5rem; }
.defile-nav [data-pause] { font-size: .8rem; }
.defile-auto { scroll-snap-type: none; scrollbar-width: none; }
.defile-auto::-webkit-scrollbar { display: none; }
.defile-nav button {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--vert-fonce);
  background: var(--blanc); color: var(--vert-fonce); font-size: 1.2rem; cursor: pointer;
}
.defile-nav button:hover { background: var(--vert-fonce); color: var(--blanc); }

/* ---------- Agenda ---------- */
.agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.evt {
  display: grid; grid-template-columns: 70px 1fr; gap: 16px; align-items: center;
  background: var(--blanc); border-radius: var(--rayon-s); padding: 14px 16px;
  box-shadow: 0 4px 14px rgba(31,92,72,.07);
}
.evt-date {
  text-align: center; border-radius: 12px; padding: 6px 0; color: var(--blanc);
  font-weight: 700; line-height: 1.1;
}
.evt-date b { display: block; font-family: var(--titre); font-size: 1.8rem; }
.evt-date small { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.evt h4 { margin: 0; font-family: var(--corps); font-size: 1rem; color: var(--encre); }
.evt p { margin: 0; font-size: .87rem; color: var(--gris); }

/* ---------- Talents ---------- */
.talents {
  display: grid; gap: 28px; align-items: center;
  background: var(--vert-fonce); color: var(--blanc);
  border-radius: 30px; padding: 30px; overflow: hidden;
}
.talents h2 { color: var(--blanc); }
.talents .script { font-size: 2rem; color: var(--menthe); }
.talents img { border-radius: 18px; box-shadow: 0 16px 36px rgba(0,0,0,.25); transform: rotate(2deg); max-width: 340px; justify-self: center; }
.talents ul { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.talents li { background: rgba(255,255,255,.12); border-radius: 999px; padding: .3rem .9rem; font-size: .9rem; }

/* ---------- Lettre d'information ---------- */
.lettre {
  background: var(--jaune); border-radius: 30px; padding: 32px 26px;
  display: grid; gap: 18px; align-items: center; position: relative; overflow: hidden;
}
.lettre h2 { color: var(--encre); margin-bottom: .2rem; }
.lettre p { margin: 0; color: var(--encre); }
.lettre form { display: flex; flex-wrap: wrap; gap: .6rem; }
.lettre input[type=email] {
  flex: 1 1 220px; min-width: 0;
  padding: .85em 1.2em; border-radius: 999px; border: 2px solid transparent;
  font: 1rem var(--corps); background: var(--blanc);
}
.lettre input[type=email]:focus { border-color: var(--vert-fonce); outline: none; }
.lettre .rgpd { font-size: .78rem; color: #5b5323; flex-basis: 100%; }

/* ---------- Pied de page ---------- */
.pied { background: #173f33; color: #d9ebe3; padding: 56px 0 30px; font-size: .95rem; }
.pied a { color: #ffffff; }
.pied h3 { color: var(--blanc); font-size: 1.35rem; }
.pied-grille { display: grid; gap: 34px; }
.pied-logo { background: var(--blanc); border-radius: 18px; padding: 12px 16px; display: inline-block; }
.pied-logo img { height: 66px; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: .45rem; }
.pied .communes { columns: 2; font-size: .88rem; color: #b8d4c8; }
.lien-admin {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: .4rem;
  padding: .4rem .9rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
  font-size: .85rem; text-decoration: none; color: #d9ebe3 !important;
}
.lien-admin:hover { background: rgba(255,255,255,.1); }
.lien-admin svg { width: 15px; height: 15px; }
.pied-bas {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .82rem; color: #a7c4b8;
}
.pied-bas a { color: #a7c4b8; }

/* ---------- Pages intérieures ---------- */
.tete-page {
  padding: 46px 0 90px; position: relative; overflow: hidden;
  background: var(--emeraude); color: var(--blanc);
}
.tete-page h1 { color: var(--blanc); }
.tete-page p { max-width: 56ch; margin: 0; font-size: 1.08rem; }
.fil-ariane { font-size: .85rem; margin-bottom: 1rem; opacity: .9; }
.fil-ariane a { color: var(--blanc); }

.filtres { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.filtres button {
  border: 2px solid var(--vert-fonce); background: var(--blanc); color: var(--vert-fonce);
  border-radius: 999px; padding: .45rem 1rem; font: 700 .88rem var(--corps); cursor: pointer;
  transition: background .2s, color .2s;
}
.filtres button[aria-pressed="true"], .filtres button:hover { background: var(--vert-fonce); color: var(--blanc); }

.grille-fiches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.grille-fiches .fiche-carte[hidden] { display: none; }

/* Fiche détaillée */
.fiche-page { display: grid; gap: 30px; align-items: start; }
.fiche-page .visuel { border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre-forte); max-width: 420px; justify-self: center; }
.fiche-texte h2 { font-size: 1.7rem; margin-top: 1.6rem; }
.fiche-texte h2:first-child { margin-top: 0; }
.etapes { counter-reset: e; list-style: none; padding: 0; margin: 0; }
.etapes li { counter-increment: e; position: relative; padding: 0 0 1rem 3rem; }
.etapes li::before {
  content: counter(e); position: absolute; left: 0; top: -2px;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; color: var(--blanc);
  background: var(--accent, var(--vert));
}
.encart-contact {
  margin-top: 1.6rem; padding: 22px; border-radius: var(--rayon);
  background: var(--accent-clair, var(--vert-clair));
  display: grid; gap: .8rem;
}
.encart-contact h3 { margin: 0; }
.encart-contact .tel { font-family: var(--titre); font-size: 1.9rem; font-weight: 600; color: var(--encre); text-decoration: none; }

/* Page horaires */
.lieux { display: grid; gap: 16px; }
.lieu { background: var(--blanc); border-radius: var(--rayon-s); padding: 18px 20px; box-shadow: 0 4px 14px rgba(31,92,72,.07); }
.lieu h3 { font-size: 1.25rem; margin-bottom: .2rem; }
.lieu p { margin: 0; font-size: .9rem; color: var(--gris); }

/* Page « La paroisse » */
.intro-paroisse { display: grid; gap: 28px; align-items: center; }
.intro-paroisse .chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.chiffre { background: var(--blanc); border-radius: var(--rayon-s); padding: 16px 10px; text-align: center; box-shadow: 0 4px 14px rgba(31,92,72,.07); }
.chiffre b { display: block; font-family: var(--titre); font-size: 2.3rem; line-height: 1; color: var(--vert); }
.chiffre span { font-size: .82rem; color: var(--gris); }
.personnes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.personne { background: var(--blanc); border-radius: var(--rayon); padding: 24px 18px; text-align: center; box-shadow: var(--ombre); }
.personne .portrait {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 14px;
  display: grid; place-items: center; overflow: hidden;
  font-family: var(--titre); font-size: 2.6rem; font-weight: 600; color: var(--blanc);
  border: 4px solid var(--vert-clair);
}
.personne .portrait img { width: 100%; height: 100%; object-fit: cover; }
.personne h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.personne p { margin: 0; font-size: .88rem; color: var(--gris); }
.instances { display: grid; gap: 16px; }
.instance { background: var(--blanc); border-radius: var(--rayon); padding: 22px; box-shadow: 0 4px 14px rgba(31,92,72,.07); border-top: 6px solid var(--c, var(--vert)); }
.instance .sigle { display: inline-block; font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blanc); background: var(--c, var(--vert)); border-radius: 999px; padding: .2em .8em; margin-bottom: .6rem; }
.instance h3 { font-size: 1.35rem; }
.instance p { margin: 0; font-size: .95rem; }
.communes-grille { display: flex; flex-wrap: wrap; gap: .5rem; }
.communes-grille span, .communes-grille button {
  background: var(--blanc); border: 2px solid var(--vert-clair); border-radius: 999px;
  padding: .35rem .9rem; font: 600 .9rem var(--corps); color: var(--vert-fonce);
}
.communes-grille button { cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.communes-grille button:hover { background: var(--vert-fonce); border-color: var(--vert-fonce); color: var(--blanc); }

/* Carte des clochers */
.carte-clochers {
  height: 460px; border-radius: var(--rayon); overflow: hidden;
  box-shadow: var(--ombre); background: var(--vert-clair); z-index: 0;
}
@media (max-width: 699px) { .carte-clochers { height: 380px; } }
.legende-carte { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .85rem; color: var(--gris); margin: .8rem 0 1.2rem; }
.legende-carte span { display: inline-flex; align-items: center; gap: .45rem; }
.pastille { width: 14px; height: 14px; border-radius: 50%; background: #8fb8a6; display: inline-block; }
.pastille--messe { background: var(--vert-fonce); }
.clocher {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: #8fb8a6; color: var(--blanc); border: 3px solid var(--blanc);
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.clocher svg { width: 20px; height: 20px; transform: rotate(45deg); }
.clocher--messe { background: var(--vert-fonce); }
.leaflet-popup-content-wrapper { border-radius: 14px; }
.leaflet-container { font-family: var(--corps); }
.bulle strong { display: block; font-family: var(--titre); font-size: 1.15rem; color: var(--vert-fonce); }
.bulle span { font-size: .8rem; color: var(--gris); }
.bulle-messe { margin: .5rem 0; font-size: .88rem; }
.bulle-messe--non { color: var(--gris); font-style: italic; }
.bulle a { font-weight: 700; }

/* Page bénévoles et formulaires */
.benevoles { display: grid; gap: 30px; align-items: start; }
.domaines { display: grid; gap: 10px; margin-bottom: 24px; }
.domaine {
  background: var(--blanc); border-radius: var(--rayon-s); padding: 14px 18px;
  border-left: 5px solid var(--vert); box-shadow: 0 4px 14px rgba(31,92,72,.07);
}
.domaine:nth-child(2) { border-color: var(--bleu); }
.domaine:nth-child(3) { border-color: var(--violet); }
.domaine:nth-child(4) { border-color: var(--orange); }
.domaine:nth-child(5) { border-color: var(--jaune); }
.domaine strong { display: block; color: var(--vert-fonce); }
.domaine span { font-size: .9rem; color: var(--gris); }
.benevoles-affiche { display: none; border-radius: 18px; box-shadow: var(--ombre); max-width: 340px; }
@media (min-width: 700px) { .benevoles-affiche { display: block; } }

.formulaire .champ { margin: 0 0 16px; }
.formulaire label, .formulaire legend { display: block; font-weight: 700; font-size: .92rem; color: var(--vert-fonce); margin-bottom: 6px; }
.formulaire input[type=text], .formulaire input[type=email], .formulaire input[type=tel] {
  width: 100%; padding: .8em 1em; border-radius: 12px; border: 2px solid var(--ligne);
  font: 1rem var(--corps); background: var(--vert-pale);
}
.formulaire input:focus { outline: none; border-color: var(--vert); background: var(--blanc); }
.formulaire fieldset { border: 2px solid var(--ligne); border-radius: 14px; padding: 12px 16px 6px; }
.formulaire .case { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--texte); padding: 6px 0; cursor: pointer; }
.formulaire .case input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--vert-fonce); flex: none; }
.formulaire .consentement { font-size: .85rem; margin: 8px 0 4px; }
.formulaire .aide { font-size: .82rem; color: var(--gris); margin: 6px 0 0; }
.formulaire .erreur { display: none; color: #c0392b; font-size: .82rem; margin: 6px 0 0; }
.formulaire .invalide .erreur { display: block; }
.formulaire .invalide input[type=text], .formulaire .invalide input[type=email], .formulaire .invalide { border-color: #c0392b; }
.formulaire .invalide :is(input, select, textarea):not([type=radio], [type=checkbox]) { border-color: #c0392b; }

/* Page Actualités */
.barre-actus { display: grid; gap: 18px; margin-bottom: 14px; align-items: end; }
@media (min-width: 900px) { .barre-actus { grid-template-columns: 1fr auto; } }
.barre-actus .libelle { display: block; font-weight: 700; font-size: .92rem; color: var(--vert-fonce); margin-bottom: 6px; }
.recherche-champ { position: relative; max-width: 480px; }
.recherche-champ input {
  width: 100%; padding: .85em 3rem .85em 1.2em; border-radius: 999px;
  border: 2px solid var(--ligne); background: var(--blanc); font: 1rem var(--corps);
}
.recherche-champ input:focus { outline: none; border-color: var(--vert); }
.recherche-champ svg { position: absolute; right: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--gris); }
.resultat { font-size: .88rem; color: var(--gris); margin: 0 0 12px; }
.actu .lien-fleche { font-size: .9rem; padding-top: .4rem; }
.actu--feuille .actu-visuel { background: #fff7e6; }
.actu--feuille .actu-visuel img { object-fit: contain; padding: 10px; }
.actu--feuille .actu-meta { color: var(--orange); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 30px; }
.pagination button {
  min-width: 44px; height: 44px; padding: 0 .9rem; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--vert-fonce); background: var(--blanc); color: var(--vert-fonce); font: 700 .9rem var(--corps);
}
.pagination button[aria-current="page"], .pagination button:hover { background: var(--vert-fonce); color: var(--blanc); }

/* Page article */
.article-page { display: grid; gap: 30px; align-items: start; }
@media (min-width: 900px) { .article-page { grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; } }
.article-texte { max-width: 760px; font-size: 1.05rem; }
.article-texte .chapo { font-size: 1.2rem; font-weight: 600; color: var(--encre); }
.article-texte h2 { font-size: 1.6rem; margin-top: 1.6rem; }
.article-texte ul { padding-left: 1.2rem; }
.article-texte li { margin-bottom: .4rem; }
.article-image { width: 100%; max-height: 460px; object-fit: cover; object-position: top; border-radius: var(--rayon); box-shadow: var(--ombre); margin-bottom: 1.4rem; }
.article-cote { position: sticky; top: 100px; }
.partage-boutons { display: flex; flex-wrap: wrap; gap: .5rem; }
.partage-boutons .btn { padding: .55em 1em; font-size: .85rem; }
.feuille-pages { display: grid; gap: 16px; margin-top: 1.2rem; }
.feuille-pages img { width: 100%; border-radius: 10px; box-shadow: var(--ombre); }
.tete-page .badge { background: var(--blanc); color: var(--vert-fonce); }

/* Page Contact */
.page-contact { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .page-contact { grid-template-columns: 1.4fr 1fr; gap: 36px; } }
.contact-rapide { display: flex; flex-wrap: wrap; gap: .6rem; }
.horaires-accueil { padding-left: 1.1rem; margin: 0 0 .6rem; font-size: .95rem; }
.carte-mini { height: 240px; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); margin-top: 20px; z-index: 0; }
.liens-demarches { list-style: none; padding: 0; margin: 0; }
.liens-demarches li { border-bottom: 1px dashed var(--ligne); }
.liens-demarches li:last-child { border-bottom: 0; }
.liens-demarches a { display: block; padding: .55rem 0; font-weight: 600; text-decoration: none; }
.liens-demarches a::after { content: " →"; }
.conseil { margin: -4px 0 16px; padding: 12px 15px; border-radius: 12px; font-size: .9rem; background: var(--vert-pale); border-left: 4px solid var(--vert); }
.conseil--urgent { background: #f3ecff; border-left-color: var(--violet); }
.compteur { text-align: right; }

/* Page Formulaires */
.formulaire :is(select, textarea, input[type=date], input[type=time], input[type=number]) {
  width: 100%; padding: .8em 1em; border-radius: 12px; border: 2px solid var(--ligne);
  font: 1rem var(--corps); background: var(--vert-pale); color: var(--encre);
}
.formulaire textarea { resize: vertical; }
.formulaire :is(select, textarea, input):focus { outline: none; border-color: var(--vert); background: var(--blanc); }
.formulaire fieldset { margin: 0 0 18px; }
.formulaire legend { padding: 0 .4rem; font-family: var(--titre); font-size: 1.2rem; }
.formulaire .libelle { display: block; font-weight: 700; font-size: .92rem; color: var(--vert-fonce); margin-bottom: 4px; }
.grille-2, .grille-3 { display: grid; gap: 0 16px; }
@media (min-width: 700px) {
  .grille-2 { grid-template-columns: 1fr 1fr; }
  .grille-3 { grid-template-columns: 2fr 1fr 1fr; }
}
.panneau-formulaire { max-width: 820px; margin: 0 auto; }
.panneau-formulaire h2 { font-size: 1.9rem; margin-bottom: .3rem; }
.panneau-formulaire > .aide:first-of-type { margin-bottom: 1.2rem; font-size: .92rem; }

.choix-formulaires { display: grid; gap: 14px; margin-bottom: 28px; }
@media (min-width: 800px) { .choix-formulaires { grid-template-columns: repeat(3, 1fr); } }
.choix {
  --c: var(--vert); --c-clair: var(--vert-clair);
  display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; text-align: left;
  padding: 20px 22px; border-radius: var(--rayon); cursor: pointer;
  background: var(--blanc); border: 3px solid transparent; box-shadow: var(--ombre);
  font-family: var(--corps); color: var(--texte);
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
}
.choix:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); }
.choix[aria-selected="true"] { border-color: var(--c); background: var(--c-clair); }
.choix-icone {
  grid-row: span 2; width: 58px; height: 58px; border-radius: 18px;
  display: grid; place-items: center; background: var(--c); color: var(--blanc);
}
.choix-icone svg { width: 30px; height: 30px; }
.choix strong { font-family: var(--titre); font-size: 1.45rem; font-weight: 600; color: var(--vert-fonce); line-height: 1.15; }
.choix > span:last-child { font-size: .88rem; color: var(--gris); }
.choix--bleu { --c: var(--bleu); --c-clair: #e0f3fe; }
.choix--violet { --c: var(--violet); --c-clair: #efe6ff; }
.choix--orange { --c: var(--orange); --c-clair: #ffe8d9; }
.invite-choix { text-align: center; color: var(--gris); font-style: italic; }
.formulaire button { margin-top: 14px; }
.formulaire button:disabled { opacity: .6; cursor: wait; }
.message { margin-top: 14px; padding: 12px 15px; border-radius: 12px; font-size: .92rem; }
.message--ok { background: #e5f6ec; color: #1f6d3f; border: 1px solid #b6e2c6; }
.message--err { background: #fdeceb; color: #a5281b; border: 1px solid #f3c3bd; }

/* Toast « page à venir » */
.toast {
  position: fixed; left: 50%; bottom: 90px; z-index: 200;
  transform: translate(-50%, 20px); opacity: 0;
  background: var(--encre); color: var(--blanc);
  padding: .7rem 1.2rem; border-radius: 999px; font-size: .9rem;
  transition: opacity .25s, transform .25s; pointer-events: none;
}
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.vu { opacity: 1; transform: none; }

/* =========================================================
   Tablette et ordinateur
   ========================================================= */
@media (min-width: 700px) {
  .portes { grid-template-columns: repeat(3, 1fr); }
  .porte { flex-direction: column; align-items: flex-start; padding: 26px; }
  .porte .fleche { position: absolute; right: 22px; bottom: 20px; }
  .actus { grid-template-columns: repeat(3, 1fr); }
  .fiches-defile { grid-auto-columns: calc((100% - 3 * 16px) / 3.4); }
  .grille-fiches { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .feuille { grid-template-columns: 1fr auto; align-items: center; }
  .talents { grid-template-columns: 1.2fr 1fr; padding: 44px; }
  .lettre { grid-template-columns: 1fr 1.1fr; padding: 40px 44px; }
  .pied-grille { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .lieux { grid-template-columns: repeat(2, 1fr); }
  .fiche-page { grid-template-columns: 380px 1fr; gap: 48px; }
  .benevoles { grid-template-columns: 1fr 1.2fr; gap: 40px; }
  .intro-paroisse { grid-template-columns: 1.3fr 1fr; gap: 48px; }
  .instances { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  body { padding-bottom: 0; }
  .barre-mobile { display: none; }
  .entete .burger { display: none; }
  .nav { display: block; }
  .raccourcis { display: flex; }
}

@media (min-width: 1000px) {
  .horaires-grille { grid-template-columns: 1.35fr 1fr; align-items: start; }
  .heros { padding: 70px 0 150px; }
  .heros-deco { width: 520px; height: 520px; right: -120px; top: -120px; }
  .fiches-defile { grid-auto-columns: calc((100% - 4 * 16px) / 4.6); margin: 0; padding: 6px 0 22px; }
  .grille-fiches { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 84px 0; }
}

@media (min-width: 1100px) and (max-width: 1240px) {
  .nav a { padding: .5rem .5rem; font-size: .88rem; }
}

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