
/* =====================================================================
 * Accueil, pages intérieures et mise en forme des contenus (20/11/2026)
 * FICHIER GÉNÉRÉ par scripts/integration/generer-css-pages.py : modifier assets/source/pages.css.
 * ===================================================================== */

/* ---------- Titres ---------- */
html body .pf-h2 .elementor-heading-title { font-size: 1.75rem; line-height: 1.25; color: var(--pf-bordeaux); }
html body .pf-h2 .elementor-heading-title::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 10px; background: var(--pf-vert); }
html body .pf-h1 .elementor-heading-title { font-size: 2.375rem; line-height: 1.2; margin-top: 18px; }
html body .pf-h1 .elementor-heading-title::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 14px; background: var(--pf-vert); }
@media (max-width: 767px) {
	html body .pf-h1 .elementor-heading-title { font-size: 1.875rem; }
	html body .pf-h1 .elementor-heading-title::after { width: 56px; }
	html body .pf-h2 .elementor-heading-title { font-size: 1.5rem; }
}

/* ---------- Boutons et liens « suite » ---------- */
html body .pf-btn, html body .pf-bouton-large .elementor-button, html body .pf-bulletin .elementor-button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 4px;
	background: var(--pf-vert); color: var(--pf-vert-texte); font: 600 1.0625rem/1.2 "Open Sans", Arial, sans-serif; text-decoration: none;
}
html body .pf-btn:hover, html body .pf-bouton-large .elementor-button:hover, html body .pf-bulletin .elementor-button:hover { background: var(--pf-vert); color: var(--pf-vert-texte); box-shadow: inset 0 0 0 2px var(--pf-vert-texte); }
html body .pf-bulletin .elementor-button:hover { box-shadow: inset 0 0 0 2px #fff; }
html body .pf-bouton-large .elementor-button { width: 100%; min-height: 48px; }
html body .pf-suite { display: inline-flex; align-items: center; gap: 6px; color: var(--pf-bordeaux); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
html body .pf-suite::before { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23631407' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'%3E%3C/path%3E%3C/svg%3E") center / contain no-repeat; }
html body .pf-suite:hover { color: var(--pf-bleu); }
/* Sous le contenu d'une actualité ou d'une fiche ([pf_suite_contenu]) ; widget masqué quand il est vide (événements) */
html body .elementor-widget-shortcode:has(.elementor-shortcode:empty) { display: none; }
html body .pf-recentes { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; padding-top: 32px; border-top: 1px solid var(--pf-sep); }
html body .pf-recentes .pf-h2 .elementor-heading-title { margin: 0; }
html body .pf-recentes__tout { margin: 0; }
html body .pf-fiche-carte { margin-top: 8px; }
html body .pf-date { margin: 0; font-size: .9375rem; line-height: 1.4; font-weight: 700; color: var(--pf-vert-fonce); }

/* ---------- Visuel d'accueil ---------- */
html body .pf-hero { position: relative; overflow: hidden; }
html body .pf-hero .swiper-slide-image { width: 100%; height: clamp(420px, 37.5vw, 680px); object-fit: cover; object-position: center 35%; } /* ≈ proportions des photos (1 500 × 560) : peu ou pas de recadrage jusqu'à 1 800 px de large */
html body .pf-hero .swiper-slide { position: relative; }
html body .pf-hero .swiper-slide-image[src*="eglise-pierrefitte-sur-sauldre"] { object-position: center top; } /* le clocher touche le haut de la photo : recadrer par le bas */
html body .pf-hero .swiper-slide::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .32); pointer-events: none; }
html body .pf-hero-texte { position: absolute !important; top: 0; left: 0; right: 0; width: 100% !important; max-width: none !important; padding: 88px 16px 0 !important; z-index: 2; pointer-events: none; } /* centrage : conteneur intérieur Elementor de 1232 px */
html body .pf-hero-titre .elementor-heading-title { color: #fff; font-size: 3.25rem; line-height: 1.1; font-weight: 800; letter-spacing: -.01em; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
html body .pf-hero-sous p { color: #fff; font-size: 1.5rem; line-height: 1.4; font-weight: 600; max-width: 600px; margin: 0; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
html body .pf-hero { --pf-ctrl-droite: max(16px, calc((100% - 1200px) / 2)); }
html body .pf-hero .elementor-swiper-button {
	top: auto !important; bottom: 84px !important; transform: none !important; margin: 0 !important; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--pf-bordeaux);
	display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); font-size: 16px;
}
html body .pf-hero .elementor-swiper-button svg { fill: var(--pf-bordeaux); width: 16px; height: 16px; }
html body .pf-hero .elementor-swiper-button-next { right: var(--pf-ctrl-droite) !important; left: auto !important; }
html body .pf-hero .elementor-swiper-button-prev { right: calc(var(--pf-ctrl-droite) + 56px + 112px + 12px) !important; left: auto !important; }
html body .pf-hero .swiper-pagination { bottom: 84px !important; top: auto !important; left: auto !important; right: calc(var(--pf-ctrl-droite) + 56px); width: 112px !important; height: 44px; display: flex; align-items: center; justify-content: center; }
html body .pf-hero .swiper-pagination-bullet { width: 14px; height: 14px; margin: 0 7px !important; opacity: 1; background: transparent; border: 2px solid #fff; }
html body .pf-hero .swiper-pagination-bullet-active { background: #fff; }
@media (max-width: 767px) {
	html body .pf-hero .swiper-slide-image { height: 300px; }
	html body .pf-hero-texte { padding: 40px 16px 0 !important; }
	html body .pf-hero-titre .elementor-heading-title { font-size: 2.125rem; }
	html body .pf-hero-sous p { font-size: 1.125rem; }
	html body .pf-hero .elementor-swiper-button { display: none !important; } /* Elementor : sélecteur plus précis */
	html body .pf-hero .swiper-pagination { left: 0 !important; right: 0; width: 100% !important; bottom: 36px !important; }
}

/* ---------- Accès rapides ---------- */
html body .pf-acces-wrap { margin-top: -64px; position: relative; z-index: 3; }
html body .pf-acces ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
html body .pf-acces__tuile {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 140px; height: 100%; padding: 22px 12px 18px;
	background: #fff; border: 1px solid var(--pf-bord); border-radius: 4px; box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
	color: var(--pf-texte); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none;
}
html body .pf-acces__tuile:hover { border-color: var(--pf-bleu); box-shadow: 0 0 0 2px var(--pf-bleu); color: var(--pf-texte); }
html body .pf-acces__pastille { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--pf-gris); color: var(--pf-bordeaux); }
html body .pf-acces__pastille .pf-ico { width: 28px; height: 28px; }
@media (max-width: 1024px) { html body .pf-acces ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	html body .pf-acces-wrap { margin-top: -32px; }
	html body .pf-acces ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	html body .pf-acces__tuile { min-height: 118px; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
	html body .pf-acces__pastille { width: 48px; height: 48px; }
}

/* ---------- Colonnes de l'accueil ---------- */
html body .pf-col-actus { flex: 1 1 auto !important; min-width: 0; }
html body .pf-col-droite { flex: 0 0 456px !important; width: 456px !important; }
@media (max-width: 1024px) { html body .pf-col-droite { flex: 1 1 auto !important; width: 100% !important; } }

/* Actualités */
html body .pf-actus { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
html body .pf-actu { display: flex; gap: 24px; padding: 20px; border: 1px solid var(--pf-bord); border-radius: 4px; }
html body .pf-actu__media { flex: 0 0 176px; height: 132px; }
html body .pf-actu__img { width: 176px; height: 132px; object-fit: cover; border-radius: 4px; }
html body .pf-actu__embleme { display: flex; align-items: center; justify-content: center; width: 176px; height: 132px; border: 1px solid var(--pf-sep); border-radius: 4px; }
html body .pf-actu__embleme img { width: 116px; height: auto; }
html body .pf-actu__corps { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
html body .pf-actu__titre { margin: 0; font-size: 1.3125rem; line-height: 1.3; color: var(--pf-texte); }
html body .pf-actu__chapo { margin: 0 0 6px; white-space: pre-line; }
@media (max-width: 767px) {
	html body .pf-actu { padding: 16px; gap: 14px; }
	html body .pf-actu__media, html body .pf-actu__img, html body .pf-actu__embleme { flex-basis: 96px; width: 96px; height: 72px; }
	html body .pf-actu__embleme img { width: 64px; }
	html body .pf-actu__titre { font-size: 1.25rem; }
	html body .pf-actus > li:nth-child(n+4) { display: none; }
}

/* Agenda */
html body .pf-encart-agenda { background: var(--pf-gris); border-radius: 4px; }
html body .pf-agenda { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
html body .pf-evt { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: #fff; border: 1px solid var(--pf-sep); border-radius: 4px; text-decoration: none; }
html body .pf-evt:hover { border-color: var(--pf-bleu); box-shadow: 0 0 0 1px var(--pf-bleu); }
html body .pf-evt__titre { color: var(--pf-texte); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
html body .pf-vide { margin: 0; }

/* Carte interactive (pictogrammes) */
html body .pf-pictos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
html body .pf-picto {
	display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; padding: 14px 2px 12px;
	background: #fff; border: 1px solid var(--pf-sep); border-radius: 4px; text-align: center; text-decoration: none;
}
html body .pf-picto:hover { border-color: var(--pf-bleu); box-shadow: 0 0 0 1px var(--pf-bleu); }
html body .pf-picto__pastille { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--pf-vert); background: transparent; color: var(--pf-vert-fonce); }
html body .pf-picto__pastille .pf-ico { width: 24px; height: 24px; }
/* Pictos d'origine des thèmes (PNG en masque, couleur = currentColor) */
html body .pf-ico--img { display: inline-block; flex: none; background-color: currentColor; -webkit-mask: var(--pf-picto) center / contain no-repeat; mask: var(--pf-picto) center / contain no-repeat; }
html body .pf-picto__pastille .pf-ico--img { width: 30px; height: 30px; }
html body .pf-picto__nom { color: var(--pf-texte); font-size: .9375rem; font-weight: 600; line-height: 1.25; }
html body .pf-picto__nb { color: var(--pf-sec); font-size: .875rem; }
html body .pf-pictos--compacte { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
html body .pf-pictos--compacte .pf-picto__pastille { width: 40px; height: 40px; }
html body .pf-pictos--compacte .pf-picto__pastille .pf-ico--img { width: 24px; height: 24px; }
html body .pf-pictos--compacte .pf-picto__nom { font-size: .875rem; }
html body .pf-pictos--compacte .pf-picto__nb { font-size: .8125rem; }
@media (max-width: 767px) {
	html body .pf-pictos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	html body .pf-pictos .pf-picto__pastille { width: 44px; height: 44px; }
	html body .pf-pictos .pf-picto__pastille .pf-ico--img { width: 28px; height: 28px; }
	html body .pf-picto__nom { font-size: .875rem; }
	html body .pf-picto__nb { font-size: .8125rem; }
}

/* Bulletin municipal */
html body .pf-bulletin { background: var(--pf-bordeaux); border-radius: 4px; }
html body .pf-bulletin .elementor-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 2px solid var(--pf-vert); border-radius: 50%; color: #fff; font-size: 22px; }
html body .pf-bulletin .elementor-icon svg { fill: #fff; width: 22px; height: 22px; }
html body .pf-bulletin .elementor-heading-title { color: #fff; font-size: 1.375rem; }

/* Pierrefitte en images */
html body .pf-images { background: var(--pf-gris); }
html body .pf-galerie .gallery { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 !important; }
html body .pf-galerie .gallery-item { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
html body .pf-galerie .gallery-icon img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 4px; border: 0 !important; }
html body .pf-bouton-centre .elementor-button { min-height: 48px; }
@media (max-width: 767px) {
	html body .pf-galerie .gallery { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; }
	html body .pf-galerie .gallery-item { flex: 0 0 300px; scroll-snap-align: start; }
	html body .pf-galerie .gallery-icon img { width: 300px; height: 225px; }
}

/* ---------- Pages intérieures ---------- */
html body .pf-bandeau img { display: block; width: 100%; height: 260px; object-fit: cover; object-position: center 45%; }
html body .pf-ariane { padding-top: 20px; }
html body .pf-col-principale { flex: 1 1 auto !important; min-width: 0; }
html body .pf-col-laterale { flex: 0 0 360px !important; width: 360px !important; }
html body .pf-encart-carte { background: var(--pf-gris); border-radius: 4px; }
html body .pf-encart-carte .pf-h2 .elementor-heading-title { font-size: 1.5rem; }
@media (max-width: 1024px) { html body .pf-col-laterale { flex: 1 1 auto !important; width: 100% !important; } }
@media (max-width: 767px) { html body .pf-bandeau img { height: 160px; object-position: 25% 45%; } }

/* ---------- Contenus (classes utilisables dans l'éditeur) ---------- */
html body .elementor-widget-theme-post-content h2:not([class]) { font-size: 1.75rem; letter-spacing: .02em; margin: 0 0 16px; }
html body .elementor-widget-theme-post-content h3:not([class]) { font-size: 1.3125rem; margin: 40px 0 12px; }
html body .elementor-widget-theme-post-content .pf-section { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--pf-bord); }

/* Ligne de document : <a class="pf-doc" href="…pdf">Libellé <span class="pf-poids">PDF 43 Ko</span></a> */
html body .pf-doc {
	display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 18px 8px 8px; border: 1px solid var(--pf-bord); border-radius: 4px;
	color: var(--pf-bordeaux); font-weight: 600; text-decoration: none;
}
html body .pf-doc::before { content: ""; flex: none; width: 44px; height: 44px; border-radius: 4px; background: var(--pf-gris) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23631407' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'%3E%3C/path%3E %3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'%3E%3C/path%3E %3Cpath d='M10 9H8'%3E%3C/path%3E %3Cpath d='M16 13H8'%3E%3C/path%3E %3Cpath d='M16 17H8'%3E%3C/path%3E%3C/svg%3E") center / 22px no-repeat; }
html body .pf-doc::after { content: ""; flex: none; width: 20px; height: 20px; margin-left: 4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23631407' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E %3Cpolyline points='7 10 12 15 17 10'%3E%3C/polyline%3E %3Cline x1='12' x2='12' y1='15' y2='3'%3E%3C/line%3E%3C/svg%3E") center / contain no-repeat; }
html body .pf-doc__libelle { flex: 1; text-decoration: underline; text-underline-offset: 3px; }
html body .pf-doc:hover { border-color: var(--pf-bleu); box-shadow: 0 0 0 1px var(--pf-bleu); color: var(--pf-bordeaux); }
html body .pf-poids { flex: none; padding: 2px 10px; border-radius: 4px; background: var(--pf-gris); color: var(--pf-texte); font-size: .9375rem; font-weight: 600; text-decoration: none; }
html body .pf-docs { list-style: none; margin: 16px 0 0; padding: 0; }
html body .pf-docs > li { padding: 6px 0; border-bottom: 1px solid var(--pf-sep); }
html body .pf-docs > li:last-child { border-bottom: 0; }
html body .pf-docs .pf-doc { border: 0; padding-left: 0; }
html body .pf-docs .pf-docs { margin: 0 0 0 40px; }
html body .pf-docs__groupe { display: block; padding: 10px 0 4px; font-weight: 700; }

/* Encadré d'appel à l'action */
html body .pf-cta { display: grid; grid-template-columns: 1fr auto; gap: 24px 32px; margin: 20px 0; padding: 28px; background: var(--pf-gris); border-radius: 4px; }
html body .pf-cta > * { margin: 0; }
html body .pf-cta__principal { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
html body .pf-cta__principal img { border: 1px solid #9e9e9e; border-radius: 2px; }
html body .pf-cta__qr { padding-left: 32px; border-left: 1px solid #cfcfcf; text-align: center; }
html body .pf-cta__qr p { margin: 0 0 8px; }
html body .pf-cta__bas { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid #cfcfcf; }

/* Puces vertes */
html body .pf-puces { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
html body .pf-puces > li { position: relative; padding-left: 22px; }
html body .pf-puces > li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--pf-vert); }

/* Schéma agrandissable */
html body .pf-schema { position: relative; display: block; margin: 0; }
html body .pf-schema img { width: 100%; height: auto; border: 1px solid var(--pf-bord); border-radius: 4px; }
html body .pf-schema__agrandir {
	position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
	background: #3d3d3d; color: #fff; border-radius: 4px; font-size: .9375rem; font-weight: 600;
}
html body .pf-schema__agrandir::before { content: ""; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E %3Cline x1='21' x2='16.65' y1='21' y2='16.65'%3E%3C/line%3E %3Cline x1='11' x2='11' y1='8' y2='14'%3E%3C/line%3E %3Cline x1='8' x2='14' y1='11' y2='11'%3E%3C/line%3E%3C/svg%3E") center / contain no-repeat; }

/* Cartes de démarches : <li class="pf-demarche pf-demarche--etat-civil"> … */
html body .pf-demarches { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
html body .pf-demarche { display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; padding: 18px 20px; border: 1px solid var(--pf-bord); border-radius: 4px; }
html body .pf-demarche::before { content: ""; grid-row: 1 / span 3; width: 48px; height: 48px; border-radius: 50%; background: var(--pf-gris) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23631407' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'%3E%3C/path%3E %3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'%3E%3C/path%3E %3Cpath d='M10 9H8'%3E%3C/path%3E %3Cpath d='M16 13H8'%3E%3C/path%3E %3Cpath d='M16 17H8'%3E%3C/path%3E%3C/svg%3E") center / 24px no-repeat; }
html body .pf-demarche--mariage::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23631407' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'%3E%3C/path%3E%3C/svg%3E"); }
html body .pf-demarche--identite::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23631407' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 10h2'%3E%3C/path%3E %3Cpath d='M16 14h2'%3E%3C/path%3E %3Cpath d='M6.17 15a3 3 0 0 1 5.66 0'%3E%3C/path%3E %3Ccircle cx='9' cy='11' r='2'%3E%3C/circle%3E %3Crect x='2' y='5' width='20' height='14' rx='2'%3E%3C/rect%3E%3C/svg%3E"); }
html body .pf-demarche--carte-grise::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23631407' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2'%3E%3C/path%3E %3Ccircle cx='7' cy='17' r='2'%3E%3C/circle%3E %3Cpath d='M9 17h6'%3E%3C/path%3E %3Ccircle cx='17' cy='17' r='2'%3E%3C/circle%3E%3C/svg%3E"); }
html body .pf-demarche--travaux::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23631407' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.22 2.416a2 2 0 0 0-2.511.057l-7 5.999A2 2 0 0 0 3 10v9a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7.354'%3E%3C/path%3E %3Cpath d='M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8'%3E%3C/path%3E %3Cpath d='M15 6h6'%3E%3C/path%3E %3Cpath d='M18 3v6'%3E%3C/path%3E%3C/svg%3E"); }
html body .pf-demarche--logement::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23631407' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z'%3E%3C/path%3E %3Cpath d='M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2'%3E%3C/path%3E %3Cpath d='M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2'%3E%3C/path%3E %3Cpath d='M10 6h4'%3E%3C/path%3E %3Cpath d='M10 10h4'%3E%3C/path%3E %3Cpath d='M10 14h4'%3E%3C/path%3E %3Cpath d='M10 18h4'%3E%3C/path%3E%3C/svg%3E"); }
html body .pf-demarche--elections::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23631407' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 12 2 2 4-4'%3E%3C/path%3E %3Cpath d='M5 7c0-1.1.9-2 2-2h10a2 2 0 0 1 2 2v12H5V7Z'%3E%3C/path%3E %3Cpath d='M22 19H2'%3E%3C/path%3E%3C/svg%3E"); }
html body .pf-demarche > * { grid-column: 2; margin: 0; }
html body .pf-demarche__titre { font-weight: 700; }
html body .pf-demarche .pf-puces { gap: 6px; }

/* Lien externe : <a class="pf-ext" …>…<span class="pf-sr">(lien externe)</span></a> */
html body .pf-ext::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 4px; vertical-align: -1px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23631407' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'%3E%3C/path%3E %3Cpath d='M10 14 21 3'%3E%3C/path%3E %3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3C/svg%3E") center / contain no-repeat; }

@media (max-width: 767px) {
	html body .pf-cta { grid-template-columns: 1fr; padding: 20px; }
	html body .pf-cta__principal img { width: 276px; height: auto; }
	html body .pf-cta__qr { padding: 18px 0 0; border-left: 0; border-top: 1px solid #cfcfcf; text-align: left; }
	html body .pf-doc { flex-wrap: wrap; min-height: 64px; }
	html body .pf-doc__libelle { flex: 1 1 calc(100% - 110px); }
	html body .pf-doc .pf-poids { order: 3; margin-left: 58px; } /* poids sous le libellé */
	html body .pf-demarche { grid-template-columns: 40px 1fr; padding: 16px; }
	html body .pf-demarche::before { width: 40px; height: 40px; background-size: 20px; }
}

/* Pied de page : logo calé à gauche (le widget Image centre par défaut) */
html body .pf-plaque-logo, html body .pf-plaque-logo .elementor-widget-container { text-align: left; }

/* ---------- Pages de liste : Actualités, Agenda (20/11) ---------- */
html body .pf-actus--page .pf-actu__titre { font-size: 1.3125rem; }
html body .pf-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 32px 0 0; padding: 0; }
html body .pf-pagination a, html body .pf-pagination span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px;
	border: 1px solid var(--pf-bord); border-radius: 4px; color: var(--pf-bordeaux); font-weight: 600; text-decoration: none;
}
html body .pf-pagination a:hover { border-color: var(--pf-bleu); color: var(--pf-bleu); }
html body .pf-pagination .current { background: var(--pf-bordeaux); border-color: var(--pf-bordeaux); color: #fff; }
html body .pf-pagination .dots { border: 0; }

/* ---------- Carte interactive ---------- */
html body .pf-carte { margin-bottom: 32px; }
html body .pf-carte__map { width: 100%; border: 1px solid var(--pf-bord); border-radius: 4px; z-index: 1; }
html body .pf-carte__note { margin: 8px 0 0; font-size: .9375rem; color: var(--pf-sec); }
html body .pf-marqueur span { display: block; width: 28px; height: 28px; margin: 0 auto; background: var(--pf-bordeaux); border: 3px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
html body .pf-marqueur:focus span, html body .pf-marqueur:hover span { background: var(--pf-bleu); }
html body .pf-popup { font: 400 .9375rem/1.4 "Open Sans", Arial, sans-serif; color: var(--pf-texte); }
html body .pf-popup p { margin: 4px 0 0; }
html body .pf-popup__titre { font-weight: 700; color: var(--pf-bordeaux); }
html body .pf-popup__theme { color: var(--pf-sec); font-size: .875rem; }
html body .leaflet-container a.pf-popup__titre { color: var(--pf-bordeaux); }

/* ---------- Annuaire ---------- */
html body .pf-annuaire__theme { margin-top: 40px; }
html body .pf-annuaire__titre { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 1.5rem; }
html body .pf-annuaire__pastille { display: flex; align-items: center; justify-content: center; flex: none; box-sizing: border-box; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--pf-vert); background: transparent; color: var(--pf-vert-fonce); }
html body .pf-annuaire__pastille .pf-ico { width: 28px; height: 28px; }
html body .pf-annuaire__titre a { color: var(--pf-bordeaux); text-decoration: none; }
html body .pf-annuaire__titre a:hover { color: var(--pf-bleu); text-decoration: underline; }
html body .pf-fiches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
html body .pf-fiche-carte { padding: 18px 20px; border: 1px solid var(--pf-bord); border-radius: 4px; }
html body .pf-fiche-carte__titre { margin: 0 0 10px; font-size: 1.125rem; line-height: 1.3; }
html body .pf-fiche-carte__titre a { color: var(--pf-bordeaux); }
html body .pf-coord { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 1rem; line-height: 1.45; }
html body .pf-coord li { display: flex; gap: 10px; align-items: flex-start; }
html body .pf-coord .pf-ico { width: 18px; height: 18px; margin-top: 3px; color: var(--pf-bordeaux); }
html body .pf-coord a { color: var(--pf-bordeaux); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
html body .pf-fiche { display: flex; flex-direction: column; gap: 20px; margin-bottom: 8px; padding: 24px; background: var(--pf-gris); border-radius: 4px; }
html body .pf-fiche .pf-coord { font-size: 1.0625rem; }
html body .pf-infos__theme { margin: 0; }
html body .pf-infos__theme a { display: inline-block; padding: 2px 12px; border-radius: 4px; background: var(--pf-vert); color: var(--pf-vert-texte); font-weight: 600; text-decoration: none; }
html body .pf-infos { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font-size: 1.0625rem; }
html body .pf-infos .pf-ico { width: 20px; height: 20px; }
@media (max-width: 767px) { html body .pf-fiches { grid-template-columns: 1fr; } }

/* ---------- Résultats de recherche ---------- */
html body .pf-resultats__nb { margin: 0 0 16px; color: var(--pf-sec); }
html body .pf-resultats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
html body .pf-resultat { padding: 18px 20px; border: 1px solid var(--pf-bord); border-radius: 4px; }
html body .pf-resultat p { margin: 0; }
html body .pf-resultat__type { font-size: .875rem; font-weight: 700; color: var(--pf-vert-fonce); text-transform: uppercase; letter-spacing: .04em; }
html body .pf-resultat__titre { margin: 4px 0 6px; font-size: 1.25rem; }
html body .pf-resultat__titre a { color: var(--pf-bordeaux); }

/* Image à la une des actualités et événements */
html body .pf-image-une img { width: 100%; max-height: 480px; object-fit: contain; background: var(--pf-gris); border-radius: 4px; }

/* Contenus repris de Drupal (recette du 25/11) : chaînes insécables (espaces insécables en série, adresses longues)
   et tableaux à largeur fixe ne doivent pas élargir la page sur mobile. */
html body .elementor-widget-theme-post-content { overflow-wrap: break-word; }
html body .elementor-widget-theme-post-content img { max-width: 100%; height: auto; }
html body .elementor-widget-theme-post-content iframe { max-width: 100%; }
@media (max-width: 767px) {
	html body .elementor-widget-theme-post-content table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; } /* le tableau défile horizontalement */
}
