/*
Theme Name: FKMSM Commission Projet
Theme URI: https://projet.fkmsm.ch
Author: FKMSM Commission Projet
Description: Thème bloc du site de la Commission Projet de la FKMSM : projets d'entraide à Madagascar, critères, soumission des demandes et dons. Entièrement modifiable dans l'éditeur WordPress.
Version: 2.0.0
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fkmsm-projet
Tags: block-theme, full-site-editing, one-column, custom-colors
*/

:root{
  --rouge:#C1112F;--vert:#2B7535;--or:#E8B02A;--charbon:#2E2A2A;
  --fond:#FAF8F4;--beige:#EEEBE5;--gris:#5D5A57;--trait:#E3DED5;--blanc:#fff;
  --serif:'Source Serif 4',Georgia,'Times New Roman',serif;--sans:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  --r:4px;--ombre:0 10px 30px rgba(46,42,42,.10);
}
*{box-sizing:border-box}
body{margin:0;background:var(--fond);color:var(--charbon);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
h1,h2,h3{margin:0;font-family:var(--serif);font-weight:700;text-wrap:balance}
p{margin:0}
:where(.wp-block-group)>:where(*),:where(.wp-block-buttons){margin-block:0}
figure.wp-block-image{margin:0}
a{color:var(--rouge)}
.wrap{max-width:1280px;margin-inline:auto;padding-inline:28px}
.section{padding-block:80px}

/* Bannière et en-tête */
.banniere{background:var(--vert);color:#fff}
.banniere-texte{text-align:center;font-weight:700;font-size:15px;padding:11px 16px}
header.wp-block-template-part{position:sticky;top:0;z-index:30}
.admin-bar header.wp-block-template-part{top:32px}
.entete{background:var(--fond);border-bottom:1px solid var(--trait)}
.entete-rangee{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:16px}
.marque a{display:inline-flex;align-items:center;gap:14px;text-decoration:none;color:var(--charbon)}
.marque-f{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:var(--r);background:var(--rouge);color:#fff;font-family:var(--serif);font-weight:700;font-size:26px;box-shadow:0 6px 16px rgba(193,17,47,.35)}
.marque-noms{display:flex;flex-direction:column;line-height:1.15}
.marque-noms strong{font-family:var(--serif);font-size:24px}
.marque-sous{font-size:12.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--gris)}
.menu .wp-block-navigation-item__content{text-decoration:none;font-weight:600;color:var(--gris)}
.menu .current-menu-item>a,.menu .wp-block-navigation-item__content:hover{color:var(--rouge)}
.wp-block-navigation.menu .wp-block-navigation__responsive-container.is-menu-open{background-color:var(--charbon)!important;color:#fff!important}
.wp-block-navigation.menu .is-menu-open .wp-block-navigation-item__content{color:#fff}

/* Boutons */
.wp-block-button__link{text-decoration:none;transition:transform .15s,box-shadow .15s}
.wp-block-button__link:hover{transform:translateY(-2px)}
.wp-block-buttons{display:flex;flex-wrap:wrap;gap:14px}
.b-rouge .wp-block-button__link{background:var(--rouge);color:#fff}
.b-or .wp-block-button__link{background:var(--or);color:var(--charbon)}
.b-blanc .wp-block-button__link{background:#fff;color:var(--charbon);box-shadow:0 1px 4px rgba(46,42,42,.15)}
.b-don .wp-block-button__link{display:inline-flex;align-items:center;gap:10px;box-shadow:0 8px 18px rgba(193,17,47,.3)}
.b-don .wp-block-button__link::before{content:'';display:inline-block;width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' 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/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' 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/svg%3E") center/contain no-repeat;flex:none}
.b-fleche .wp-block-button__link{display:inline-flex;align-items:center;gap:10px}
.b-fleche .wp-block-button__link::after{content:'';display:inline-block;width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;flex:none}
.entete-cta{flex-wrap:nowrap}

/* Étiquettes et titres */
.label{font-size:13.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--rouge);margin-bottom:12px}
.label-or{color:var(--or)}
.label-vert{color:var(--vert)}
.d1{font-size:clamp(40px,5.6vw,72px);line-height:1.08}
.d2{font-size:clamp(30px,3.4vw,44px)}
.d3{font-size:24px}
.lead{font-size:20px;margin-top:20px;max-width:720px}
.lead-gris{font-size:21px;color:var(--gris);line-height:1.7}

/* Héros : photo plein cadre, texte en bas à gauche */
.hero.wp-block-cover{min-height:640px;align-items:flex-end;padding:0 0 150px;background:linear-gradient(160deg,#3d4a3c,#1d241d);color:#fff}
.hero .wp-block-cover__inner-container{width:100%;max-width:none}
.hero-rangee{padding-top:80px}
.hero-texte{max-width:860px}
.d1-hero{color:#fff}
.hero .lead{color:rgba(255,255,255,.92)}

/* Quatre tuiles qui chevauchent le héros */
.tuiles-bande{position:relative;z-index:2;margin-top:-100px}
.tuiles{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.tuile{display:block}
.tuile .wp-block-button__link{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;min-height:136px;padding:28px 32px;border-radius:var(--r);font-weight:700;font-size:21px;line-height:1.25;box-shadow:var(--ombre);text-align:left}
.tuile .wp-block-button__link::after{width:40px;height:40px;background:currentColor;content:'';flex:none}
.tuile-rouge .wp-block-button__link{background:var(--rouge);color:#fff}
.tuile-vert .wp-block-button__link{background:var(--vert);color:#fff}
.tuile-or .wp-block-button__link{background:var(--or);color:var(--charbon)}
.tuile-noir .wp-block-button__link{background:var(--charbon);color:#fff}
.t-livre .wp-block-button__link::after{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E") center/contain no-repeat}
.t-envoi .wp-block-button__link::after{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E") center/contain no-repeat}
.t-bouclier .wp-block-button__link::after{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center/contain no-repeat}
.t-coeur .wp-block-button__link::after{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' 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/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' 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/svg%3E") center/contain no-repeat}

/* Chiffres */
.stats-rangee{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding-block:72px 24px}
.stat{border-left:3px solid var(--rouge);padding:6px 0 6px 28px}
.stat-n{font-family:var(--serif);font-weight:700;font-size:clamp(40px,4.2vw,56px);line-height:1.1}
.stat-l{color:var(--gris);margin-top:4px}

/* Projets en lumière */
.bande-beige{background:var(--beige)}
.section-tete{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:44px}
.cartes{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:30px;list-style:none;padding:0;margin:0}
.cartes>li{margin:0}
.carte{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid var(--trait);border-radius:var(--r);overflow:hidden;box-shadow:0 2px 10px rgba(46,42,42,.05)}
.carte-img{position:relative;aspect-ratio:4/3;overflow:hidden;background:linear-gradient(135deg,var(--vert) 0 60%,var(--or) 60%)}
.carte-img figure{margin:0;height:100%}
.carte-img img{width:100%;height:100%;object-fit:cover}
.carte-img .badge{position:absolute;top:16px;left:16px;z-index:1}
.carte-corps{display:flex;flex-direction:column;flex:1;padding:24px 26px 26px}
.carte-lieu{display:flex;justify-content:space-between;gap:12px;font-size:15.5px;font-weight:600;color:var(--gris)}
.carte-lieu .l{display:inline-flex;align-items:center;gap:8px}
.carte-lieu .l::before{content:'';display:inline-block;width:17px;height:17px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat;flex:none}
.carte-titre{font-size:25px;line-height:1.2;margin:18px 0 auto;padding-bottom:26px}
.carte-titre a{text-decoration:none;color:var(--charbon)}
.carte-axe-pct{display:flex;justify-content:space-between;font-weight:700;margin-bottom:8px}
.piste{height:9px;background:var(--beige);border-radius:99px;overflow:hidden}
.barre{height:100%;background:var(--rouge);border-radius:99px}
.montants{display:flex;justify-content:space-between;gap:12px;font-size:15px;color:var(--gris);margin-top:10px}
.carte-lien{margin-top:20px}
.carte-lien a{display:inline-flex;align-items:center;gap:8px;color:var(--rouge);font-weight:700;text-decoration:none}
.carte-lien a::after{content:'';display:inline-block;width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;flex:none}
.badge{display:inline-block;font-size:14px;font-weight:700;padding:5px 14px;border-radius:3px;width:fit-content}
.badge-en-cours{background:var(--or);color:var(--charbon)}
.badge-termine{background:var(--vert);color:#fff}

/* Foi en actes */
.actes-rangee{display:grid;grid-template-columns:1fr 1.15fr;gap:72px;align-items:start;padding-block:100px}
.actes-titre h2{margin-top:6px}
.valeurs{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin-top:44px}
.valeur-t{font-family:var(--sans);font-size:19px;border-top:2px solid var(--trait);padding-top:22px}
.valeur-t::before{display:block;margin-bottom:16px;color:var(--rouge);content:'';width:28px;height:28px;background:currentColor}
.v-gens::before{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") center/contain no-repeat}
.v-bouclier::before{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center/contain no-repeat}
.v-goutte::before{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z'/%3E%3C/svg%3E") center/contain no-repeat}

/* Bande verte */
.verset-bande{background:var(--vert);color:#fff;padding-block:84px}
.verset-rangee{display:flex;align-items:center;justify-content:space-between;gap:40px;flex-wrap:wrap}
.verset-texte{max-width:900px}
.verset{border:0;margin:0;padding:0}
.verset p{font-family:var(--serif);font-weight:700;font-size:clamp(24px,3vw,38px);line-height:1.25}
.verset cite{display:block;margin-top:16px;font-style:normal;opacity:.85}

/* Pages intérieures */
.bandeau-page{background:var(--beige);border-bottom:1px solid var(--trait);padding:88px 0 96px}
.bandeau-page h1{color:var(--charbon)}
.bandeau-page .lead{color:var(--gris)}
.bandeau-page .retour{margin-bottom:18px}
.bandeau-page .retour a{font-weight:600;text-decoration:none}
.bandeau-page .carte-lieu{justify-content:flex-start;margin-top:18px;font-size:19px}

/* Soumettre */
.soumettre-grille{display:grid;grid-template-columns:1fr 1.4fr;gap:64px;align-items:start}
.etapes{display:grid;gap:26px;margin-top:36px}
.etape{display:flex;align-items:center;gap:22px}
.etape-n{display:grid;place-items:center;flex:none;width:50px;height:50px;border-radius:50%;background:var(--rouge);color:#fff;font-family:var(--serif);font-weight:700;font-size:21px}
.etape-t{font-weight:700;font-size:20px}
.carte-form{background:#fff;border:1px solid var(--trait);border-radius:var(--r);padding:44px;box-shadow:var(--ombre)}
.carte-form h2{margin-bottom:26px}

/* Formulaires */
.fkmsm-form{display:grid;grid-template-columns:1fr 1fr;gap:20px 24px}
.fkmsm-form .plein{grid-column:1/-1}
.fkmsm-form label{display:block;font-size:16px;margin-bottom:8px}
.fkmsm-form input[type=text],.fkmsm-form input[type=email],.fkmsm-form textarea{width:100%;font:inherit;padding:14px 16px;border:1px solid var(--trait);border-radius:var(--r);background:var(--fond)}
.fkmsm-form textarea{min-height:190px;resize:vertical}
.fkmsm-form .depot{border:1px dashed #cfc8ba;background:var(--beige);border-radius:var(--r);padding:26px}
.fkmsm-form .depot::before{content:'';display:inline-block;width:30px;height:30px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' 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%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M12 12v6'/%3E%3Cpath d='m9 15 3-3 3 3'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' 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%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M12 12v6'/%3E%3Cpath d='m9 15 3-3 3 3'/%3E%3C/svg%3E") center/contain no-repeat;flex:none;color:var(--rouge);display:block;margin-bottom:12px}
.fkmsm-form .note{font-size:14.5px;color:var(--gris)}
.fkmsm-form button{font:inherit;font-weight:600;color:#fff;background:var(--rouge);border:0;border-radius:var(--r);padding:15px 28px;cursor:pointer;display:inline-flex;align-items:center;gap:10px}
.fkmsm-form button::before{content:'';display:inline-block;width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E") center/contain no-repeat;flex:none}
.fkmsm-form .piege{position:absolute;left:-9999px;height:0;overflow:hidden}
.fkmsm-msg{padding:16px 20px;border-radius:var(--r);margin-bottom:22px;font-weight:600}
.fkmsm-msg.ok{background:#e6f2e8;color:#1d5a27}
.fkmsm-msg.err{background:#fbe6e9;color:#8d0f26}

/* Critères */
.crit-grille{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-bottom:48px;align-items:start}
.crit-bloc{background:#fff;border-radius:2px;padding:40px 44px 44px;box-shadow:var(--ombre)}
.crit-rouge{border-top:5px solid var(--rouge)}
.crit-vert{border-top:5px solid var(--vert)}
.crit-bloc h2{font-size:clamp(26px,2.6vw,34px);margin-bottom:22px}
.crit-intro{margin-bottom:18px;color:var(--gris)}
.liste-coches{list-style:none;padding:0;margin:0}
.liste-coches li{display:flex;gap:16px;align-items:flex-start;margin-bottom:20px;font-size:19px}
.liste-coches li::before{content:'';display:inline-block;width:24px;height:24px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center/contain no-repeat;flex:none;color:var(--vert);margin-top:2px}
.liste-lettres{list-style:none;padding:0;margin:0;counter-reset:l}
.liste-lettres li{counter-increment:l;margin-bottom:18px;color:var(--gris);padding-left:34px;position:relative}
.liste-lettres li::before{content:counter(l,lower-alpha) ")";position:absolute;left:0}

/* Contact */
.contact-grille{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:start}
.contact-col .lead-gris{margin:18px 0 30px}
.contact-mail a{display:inline-flex;align-items:center;gap:12px;font-weight:700;font-size:22px;text-decoration:none}
.ic-mail-rouge::before{content:'';display:inline-block;width:26px;height:26px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 5L2 7'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 5L2 7'/%3E%3C/svg%3E") center/contain no-repeat;flex:none}
.ic-pin-gris{display:flex;align-items:center;gap:12px;margin-top:18px;color:var(--gris)}
.ic-pin-gris::before{content:'';display:inline-block;width:24px;height:24px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat;flex:none}

/* Soutenir */
.soutien-grille{display:grid;grid-template-columns:1.2fr 1fr;gap:56px;align-items:start;margin-bottom:56px}
.soutien-texte .lead-gris{margin-top:18px}
.soutien-don{background:var(--charbon);color:#fff;border-radius:var(--r);padding:40px}
.soutien-don h2{color:#fff}
.soutien-don p{margin-top:12px}
.ccp{font-family:var(--serif);font-weight:700;font-size:36px;color:var(--or)}
.soutien-don .wp-block-buttons{margin-top:24px}
.liste-contact{list-style:none;padding:0;margin:18px 0 0}
.liste-contact li{margin-bottom:8px}

/* Liste des projets */
.fkmsm-filtres{background:#fff;border:1px solid var(--trait);border-radius:var(--r);padding:28px;box-shadow:var(--ombre);margin-bottom:34px}
.fkmsm-filtres .recherche{position:relative;margin-bottom:22px}
.fkmsm-filtres .recherche::before{content:'';display:inline-block;width:22px;height:22px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") center/contain no-repeat;flex:none;position:absolute;left:16px;top:50%;transform:translateY(-50%);color:var(--gris)}
.fkmsm-filtres input[type=search]{width:100%;font:inherit;padding:14px 16px 14px 52px;border:1px solid var(--trait);border-radius:var(--r);background:#fff}
.fkmsm-filtres .selecteurs{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.fkmsm-filtres label{display:block;font-weight:600;font-size:15px;margin-bottom:6px}
.fkmsm-filtres select{width:100%;font:inherit;padding:13px 14px;border:1px solid var(--trait);border-radius:var(--r);background:#fff}
.fkmsm-filtres .valider{margin-top:20px}
.fkmsm-filtres button{font:inherit;font-weight:600;color:#fff;background:var(--rouge);border:0;border-radius:var(--r);padding:12px 24px;cursor:pointer}
.resultats{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}
.resultats strong{font-size:18px}
.resultats a{color:var(--charbon);text-decoration:none}

/* Fiche projet */
.projet-grille{display:grid;grid-template-columns:1.5fr 1fr;gap:56px;align-items:start}
.projet-photo{margin-bottom:34px}
.projet-photo img{width:100%;border-radius:var(--r);object-fit:cover}
.projet-texte h2{margin:8px 0 14px}
.projet-fiche{background:#fff;border:1px solid var(--trait);border-radius:var(--r);padding:32px;box-shadow:var(--ombre);position:sticky;top:110px}
.projet-fiche h2{margin-bottom:16px}
.fiche{margin:14px 0 22px}
.fiche dt{font-size:13px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--rouge);margin-top:16px}
.fiche dd{margin:2px 0 0}
.projet-fiche .wp-block-buttons{margin-top:26px}

/* Pied de page */
.pied{background:var(--charbon);color:#fff}
.pied a{color:#fff}
.pied-haut{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:64px;padding-block:72px 56px}
.pied-nom{font-family:var(--serif);font-weight:700;font-size:36px;line-height:1.1}
.pied-texte{margin:16px 0 20px;color:rgba(255,255,255,.78);max-width:460px}
.pied-titre{font-family:var(--sans);font-size:17px;text-transform:uppercase;letter-spacing:.04em;margin-bottom:18px}
.pied-col p{margin-bottom:10px;color:rgba(255,255,255,.85)}
.ic-mail{display:inline-flex;align-items:center;gap:12px;text-decoration:none}
.ic-mail::before{content:'';display:inline-block;width:20px;height:20px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 5L2 7'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 5L2 7'/%3E%3C/svg%3E") center/contain no-repeat;flex:none}
.pied-ccp{font-family:var(--serif);font-weight:700;font-size:38px;color:var(--or)!important;line-height:1.1}
.pied-lien{margin-top:22px}
.pied-lien a{font-weight:600}
.pied-bas{border-top:1px solid rgba(255,255,255,.14)}
.pied-mention{text-align:center;padding:24px 16px;font-size:15px;color:rgba(255,255,255,.7)!important;margin:0!important}
.pied-mention a{text-decoration:none}

:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid var(--or);outline-offset:3px;border-radius:4px}

@media (max-width:1000px){
  .tuiles,.stats-rangee{grid-template-columns:1fr 1fr}
  .actes-rangee,.soumettre-grille,.crit-grille,.contact-grille,.soutien-grille,.projet-grille,.pied-haut{grid-template-columns:1fr;gap:40px}
  .fkmsm-filtres .selecteurs{grid-template-columns:1fr 1fr}
  .projet-fiche{position:static}
}
@media (max-width:640px){
  .tuiles,.stats-rangee,.valeurs,.fkmsm-form,.fkmsm-filtres .selecteurs{grid-template-columns:1fr}
  .entete-cta{display:none}
  .marque-sous{display:none}
  .hero.wp-block-cover{min-height:520px}
  .section{padding-block:56px}
  .carte-form{padding:28px 22px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
