/* Page « Subventions » de mphenligne.com (FR 11773, EN 13100) — code court [mph_subvention], mu-plugin mph-subvention-page.php.
   Demande Philippe, 2026-10-05 : le style des pages Merci, Contact, Politique de confidentialité et Appel de service.
   Composants de /merci/ repris TELS QUELS (.mc-hero, .mc-suite, .mc-carte, .mc-ligne, .mc-chiffres, .mc-fin…), plus les cartes
   de programme (.mc-prog) et la note (.mc-note).
   LES SUBVENTIONS D'ABORD (Philippe, 2026-10-05) : bandeau COMPACT (titre, introduction, deux boutons), « Comment ça se
   passe » sous les programmes (.mc-comment, trois colonnes au bureau).
   ⚠️ Les règles de base ne touchent JAMAIS l'intérieur de .mc-hote (grilles WooCommerce, avis Trustindex) : elles écrasaient
   les marges et les polices du thème. D'où :where(:not(.mc-hote …)), qui exclut sans alourdir la règle.
   ⚠️ Versionnée par son NOM (subvention-vN.css, ici v8) : une couche du site fige le ?ver= et l'edge garde l'ancienne feuille. */

.mph-mc{--b:#1e6ff2;--b2:#1a5fd6;--n:#0f2f5f;--p:#eef5ff;--l:#dbe7fb;--t:#1f2937;--g:#5b6b86;--v:#16a34a;--v2:#22c55e;
  max-width:1140px;margin:8px auto 60px;font-family:inherit}
.mph-mc *{box-sizing:border-box}
.mph-mc :where(.mc-hero,.mc-bloc-tete,.mc-progs,.mc-note,.mc-grille){color:var(--t);font-size:16px;line-height:1.6}
.mph-mc p:where(:not(.mc-hote p)){margin:0;font-size:16px;line-height:1.6;color:inherit}
.mph-mc :is(h1,h2,h3):where(:not(.mc-hote *)){font-family:inherit;letter-spacing:-.01em;margin:0;line-height:1.25}
.mph-mc a:where(:not(.mc-hote a)){text-decoration:none}
.mph-mc svg:where(:not(.mc-hote svg)){display:block}
.mph-mc [hidden]{display:none !important}

/* En-tête : la carte bleue, compacte — titre et introduction à gauche, les deux boutons empilés à droite. */
.mph-mc .mc-hero{position:relative;overflow:hidden;border-radius:24px;padding:32px 44px;color:#fff;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px 44px;align-items:center;
  background:radial-gradient(600px 300px at 90% -10%,rgba(255,255,255,.18),transparent 60%),linear-gradient(135deg,#0f2f5f 0%,#1a4fa8 55%,#1e6ff2 100%);box-shadow:0 20px 50px rgba(15,47,95,.22)}
.mph-mc .mc-hero::after{content:'';position:absolute;left:-80px;bottom:-120px;width:320px;height:320px;border-radius:50%;border:44px solid rgba(255,255,255,.06);pointer-events:none}
.mph-mc .mc-hero > *{position:relative;z-index:1}
.mph-mc .mc-oeil{display:block;font-size:12.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#bcd6ff;margin-bottom:10px}
.mph-mc .mc-hero h1{font-size:38px;line-height:1.1;font-weight:800;color:#fff;margin-bottom:12px;text-wrap:balance}
.mph-mc .mc-hero h1 span{display:block;color:#9fd0ff}
.mph-mc .mc-hero p{font-size:17px;color:#dbe7fb;max-width:700px}
.mph-mc .mc-hero .mc-actions{flex-direction:column;align-items:stretch;margin-top:0;min-width:290px}
.mph-mc .mc-hero + .mc-programmes{margin-top:28px}
.mph-mc .mc-hero + .mc-programmes .mc-bloc-tete{margin-bottom:16px}

/* Comment ça se passe : sous les programmes ; trois colonnes au bureau, la ligne du temps au téléphone. */
.mph-mc .mc-comment{margin-top:28px}
.mph-mc .mc-etapes{list-style:none;margin:18px 0 0;padding:0}
.mph-mc .mc-etapes li{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr);gap:14px;padding-bottom:18px;margin:0}
.mph-mc .mc-etapes li:last-child{padding-bottom:0}
.mph-mc .mc-etapes li:not(:last-child)::before{content:'';position:absolute;left:17px;top:38px;bottom:4px;width:2px;background:var(--l)}
.mph-mc .mc-num{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-size:15px;font-weight:800;color:var(--b);background:var(--p);border:2px solid var(--l)}
.mph-mc .mc-etapes b{display:block;font-size:15.5px;font-weight:700;color:var(--n);line-height:1.35;margin:6px 0 3px}
.mph-mc .mc-etapes li > div > span{display:block;font-size:14.5px;line-height:1.5;color:var(--g)}

@media (min-width:768px){
  .mph-mc .mc-comment .mc-etapes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
  .mph-mc .mc-comment .mc-etapes li{padding-bottom:0}
  .mph-mc .mc-comment .mc-etapes li::before{display:none}
}

/* Les boutons du haut (la paire de /contact/ : plein + contour, sur fond bleu). */
.mph-mc .mc-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.mph-mc .mc-bouton{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:52px;padding:0 22px;border-radius:14px;font-size:16px;font-weight:700;text-align:center;line-height:1.25;transition:transform .15s,background .15s,box-shadow .15s}
.mph-mc .mc-bouton:hover{transform:translateY(-1px)}
.mph-mc .mc-bouton svg{width:19px;height:19px}
.mph-mc .mc-bouton.blanc{background:#fff;color:var(--n) !important;box-shadow:0 10px 24px rgba(5,20,50,.25)}
.mph-mc .mc-bouton.blanc:hover{background:#eef5ff}
.mph-mc .mc-bouton.contour{border:1.5px solid rgba(255,255,255,.55);color:#fff !important;background:rgba(255,255,255,.08)}
.mph-mc .mc-bouton.contour:hover{background:rgba(255,255,255,.16)}

/* Les sections. */
.mph-mc .mc-bloc{margin-top:44px}
.mph-mc .mc-bloc-tete{margin-bottom:20px}
.mph-mc .mc-bloc-tete h2{font-size:26px;font-weight:800;color:var(--n);margin-bottom:6px}
.mph-mc .mc-bloc-sub{color:var(--g);font-size:15.5px}
.mph-mc .mc-bloc-sub a{color:var(--b);font-weight:600}
.mph-mc .mc-bloc-sub a:hover{text-decoration:underline}

/* Les programmes : une carte par subvention, le montant en évidence, le lien officiel en bas. Chaque carte occupe SIX
   rangées de la grille (subgrid) : un titre sur deux lignes ne décale plus le montant ni le lien de sa carte. */
.mph-mc .mc-progs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:24px;row-gap:0}
.mph-mc .mc-progs-2{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px}
.mph-mc .mc-progs-1{grid-template-columns:minmax(0,1fr);max-width:380px}
.mph-mc .mc-prog{display:grid;grid-row:span 6;grid-template-rows:subgrid;row-gap:0;background:#fff;border:1px solid var(--l);border-radius:20px;overflow:hidden;
  box-shadow:0 6px 24px rgba(15,47,95,.06);transition:box-shadow .15s,transform .15s}
.mph-mc .mc-prog:hover{box-shadow:0 14px 34px rgba(15,47,95,.12);transform:translateY(-2px)}
.mph-mc .mc-prog-img{display:block;width:100%;height:auto;aspect-ratio:405/159;object-fit:cover;margin:0;border-bottom:1px solid var(--l);background:var(--p)}
.mph-mc .mc-prog-org{display:block;margin:22px 24px 4px;font-size:12.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--g)}
.mph-mc .mc-prog h3{margin:0 24px 14px;font-size:20px;font-weight:800;color:var(--n)}
.mph-mc .mc-prog-montant{display:flex;flex-direction:column;justify-content:center;margin:0 24px 14px;padding:14px 16px;border-radius:14px;background:var(--p)}
.mph-mc .mc-prog-montant b{display:block;font-size:24px;font-weight:800;color:var(--b);line-height:1.15}
.mph-mc .mc-prog-montant span{display:block;font-size:13.5px;line-height:1.4;color:var(--g);margin-top:3px}
.mph-mc .mc-prog p{margin:0 24px 20px;font-size:15px;line-height:1.55;color:var(--g)}
.mph-mc .mc-prog-lien{display:flex;align-items:center;justify-content:center;gap:8px;align-self:end;min-height:48px;margin:0 24px 24px;padding:0 18px;border-radius:12px;border:1.5px solid var(--l);
  color:var(--b) !important;font-size:15.5px;font-weight:700;transition:border-color .15s,background .15s}
.mph-mc .mc-prog-lien:hover{border-color:var(--b);background:var(--p)}
.mph-mc .mc-prog-lien svg{width:17px;height:17px}
.mph-mc .mc-note{display:flex;gap:10px;align-items:flex-start;margin-top:18px;padding:14px 18px;border-radius:14px;background:#f6f9ff;border:1px solid var(--l);font-size:14px;line-height:1.5;color:var(--g)}
.mph-mc .mc-note svg{width:19px;height:19px;color:var(--b);flex:0 0 auto;margin-top:1px}

/* Confiance et contact. */
.mph-mc .mc-grille{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;margin-top:44px}
.mph-mc .mc-carte{background:#fff;border:1px solid var(--l);border-radius:20px;padding:30px;box-shadow:0 6px 24px rgba(15,47,95,.06)}
.mph-mc .mc-carte h2{font-size:22px;font-weight:800;color:var(--n);margin-bottom:6px}
.mph-mc .mc-carte > p{color:var(--g);font-size:15.5px}
.mph-mc .mc-appel{display:flex;align-items:center;justify-content:center;gap:10px;margin:20px 0 18px;padding:15px 22px;border-radius:14px;background:var(--b);color:#fff !important;font-size:18px;font-weight:700;
  box-shadow:0 10px 22px rgba(30,111,242,.28);transition:background .15s,transform .15s}
.mph-mc .mc-appel:hover{background:var(--b2);transform:translateY(-1px)}
.mph-mc .mc-appel *{pointer-events:none}
.mph-mc .mc-appel svg{width:20px;height:20px}
.mph-mc .mc-ligne{display:flex;gap:12px;align-items:flex-start;font-size:15px;color:var(--t);padding:10px 0;border-top:1px solid var(--l)}
.mph-mc .mc-ligne svg{width:20px;height:20px;color:var(--b);flex:0 0 auto;margin-top:2px}
.mph-mc .mc-ligne small{display:block;color:var(--g);font-size:13.5px}
.mph-mc .mc-equipe{margin-top:18px}
.mph-mc .mc-google{display:flex;align-items:center;gap:14px;margin:18px 0 18px;padding:16px 18px;border-radius:16px;background:var(--p)}
.mph-mc .mc-g{width:34px;height:34px;flex:0 0 auto}
.mph-mc .mc-google strong{display:block;font-size:22px;font-weight:800;color:var(--n);line-height:1.1}
.mph-mc .mc-etoiles{color:#f5b301;letter-spacing:2px;font-size:15px}
.mph-mc .mc-google small{display:block;font-size:13.5px;color:var(--g)}
.mph-mc .mc-chiffres{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}
.mph-mc .mc-google + .mc-chiffres{margin-top:0}
.mph-mc .mc-chiffres div{border:1px solid var(--l);border-radius:14px;padding:14px 10px;text-align:center}
.mph-mc .mc-chiffres b{display:block;font-size:20px;font-weight:800;color:var(--b);line-height:1.15}
.mph-mc .mc-chiffres span{display:block;font-size:12.5px;line-height:1.35;color:var(--g);margin-top:4px}

@media (max-width:991px){
  .mph-mc .mc-hero{grid-template-columns:minmax(0,1fr);padding:32px;gap:22px}
  .mph-mc .mc-hero h1{font-size:34px}
  .mph-mc .mc-hero .mc-actions{flex-direction:row;min-width:0}
  .mph-mc .mc-grille{grid-template-columns:minmax(0,1fr)}
  .mph-mc .mc-progs{column-gap:16px}
  .mph-mc .mc-prog-org{margin:18px 18px 4px}
  .mph-mc .mc-prog h3,.mph-mc .mc-prog-montant,.mph-mc .mc-prog p{margin-left:18px;margin-right:18px}
  .mph-mc .mc-prog-lien{margin:0 18px 20px}
  .mph-mc .mc-prog h3{font-size:18.5px}
  .mph-mc .mc-prog-montant b{font-size:21px}
}
@media (max-width:767px){
  .mph-mc{margin:0 auto 48px}
  .mph-mc .mc-hero{border-radius:20px;padding:26px 20px 20px;gap:20px}
  .mph-mc .mc-hero h1{font-size:28px}
  .mph-mc .mc-hero p{font-size:16px}
  .mph-mc .mc-actions,.mph-mc .mc-hero .mc-actions{flex-direction:column;align-items:stretch}
  .mph-mc .mc-bouton{width:100%}
  .mph-mc .mc-bloc,.mph-mc .mc-grille{margin-top:32px}
  .mph-mc .mc-comment{margin-top:20px}
  .mph-mc .mc-bloc-tete{margin-bottom:16px}
  .mph-mc .mc-bloc-tete h2{font-size:22px}
  .mph-mc .mc-progs,.mph-mc .mc-progs-2{grid-template-columns:minmax(0,1fr);row-gap:16px;max-width:none}
  .mph-mc .mc-prog{display:flex;flex-direction:column;grid-row:auto}
  .mph-mc .mc-prog-lien{margin-top:auto;align-self:stretch}
  .mph-mc .mc-prog-montant b{font-size:22px}
  .mph-mc .mc-grille{gap:16px}
  .mph-mc .mc-carte{padding:22px 18px;border-radius:18px}
  .mph-mc .mc-carte h2{font-size:20px}
  .mph-mc .mc-chiffres b{font-size:18px}
}
@media (max-width:420px){
  /* Petits téléphones : marges resserrées. */
  .mph-mc .mc-hero{padding-top:22px}
  .mph-mc .mc-oeil{margin-bottom:8px}
  .mph-mc .mc-hero h1{font-size:26px}
  .mph-mc .mc-hero p{font-size:15.5px}
  .mph-mc .mc-actions{margin-top:18px;gap:10px}
  .mph-mc .mc-bouton{padding:10px 16px}
}
@media (prefers-reduced-motion:reduce){.mph-mc *{transition:none !important}}


/* ── La bannière de fin : « MPH CTA BANNER » du site, reprise TELLE QUELLE (Philippe, 2026-10-05 : « on avait une bannière
   à la fin de la page que j'aimais beaucoup, remets-la »). Règles copiées sans retouche depuis le bloc que portait la
   page (sauvegarde : wp-content/mph-sauvegardes/subvention-pages-avant-nouveau-design.json) ; seule la marge s'ajuste
   à la fin de page. ── */
.mphcta{box-sizing:border-box;position:relative;overflow:hidden;border-radius:20px;margin:40px 0;padding:48px 44px;
  background:linear-gradient(120deg,#0b4aa2 0%,#1466d6 45%,#2f86f0 100%);
  box-shadow:0 18px 45px rgba(11,74,162,.28);font-family:'Poppins',-apple-system,Segoe UI,Roboto,sans-serif;color:#fff;}
.mphcta *{box-sizing:border-box;}
.mphcta:before{content:"";position:absolute;top:-60px;right:-40px;width:260px;height:260px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.18),transparent 70%);}
.mphcta-grid{position:relative;display:flex;gap:36px;align-items:center;flex-wrap:wrap;}
.mphcta-left{flex:1 1 420px;min-width:280px;}
.mphcta .mphcta-kicker{display:inline-block;color:#fff !important;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3);
  padding:6px 14px;border-radius:999px;font-size:13px;font-weight:600;letter-spacing:.3px;margin-bottom:16px;}
.mphcta .mphcta-h{margin:0 0 14px;font-size:32px;line-height:1.15;font-weight:800;letter-spacing:-.5px;color:#fff !important;}
.mphcta .mphcta-h span{color:#ffd23c !important;}
.mphcta-chips{display:flex;flex-wrap:wrap;gap:8px 10px;margin:18px 0 0;padding:0;list-style:none;}
.mphcta-chips li{font-size:14px;font-weight:500;background:rgba(255,255,255,.12);padding:7px 13px;border-radius:10px;}
.mphcta-right{flex:0 0 auto;display:flex;flex-direction:column;align-items:stretch;gap:14px;min-width:260px;}
.mphcta-btn{display:block;text-align:center;text-decoration:none;background:#ffd23c;color:#0b3c85 !important;
  font-size:19px;font-weight:800;padding:20px 30px;border-radius:14px;box-shadow:0 10px 24px rgba(0,0,0,.22);
  transition:transform .15s ease,box-shadow .15s ease;line-height:1.25;white-space:normal;}
.mphcta-btn:hover{transform:translateY(-3px);box-shadow:0 16px 32px rgba(0,0,0,.28);color:#0b3c85 !important;}
.mphcta-tel{display:block;text-align:center;text-decoration:none;background:rgba(255,255,255,.08);color:#fff !important;border:2px solid rgba(255,255,255,.75);font-size:18px;font-weight:800;padding:15px 26px;border-radius:14px;transition:all .15s ease;line-height:1.2;white-space:nowrap;}.mphcta-tel:hover{background:rgba(255,255,255,.18);color:#fff !important;transform:translateY(-3px);}
.mphcta-sub{text-align:center;font-size:14px;color:rgba(255,255,255,.92);}
.mphcta-sub a{color:#fff;font-weight:700;text-decoration:underline;}
.mphcta-reassure{text-align:center;font-size:12.5px;color:rgba(255,255,255,.8);margin-top:2px;}
@media(max-width:600px){.mphcta{padding:32px 20px;border-radius:16px;}.mphcta-grid{gap:24px;}.mphcta-h{font-size:24px;}.mphcta-right{min-width:0;width:100%;}.mphcta-btn{font-size:16.5px;padding:17px 18px;}.mphcta-tel{font-size:16.5px;padding:15px 18px;}.mphcta-chips li{font-size:13px;}}
.mph-mc .mphcta{margin:44px 0 0}
@media(max-width:767px){.mph-mc .mphcta{margin-top:32px}}
