/*
Theme Name: Methods & Performance Institute
Theme URI: https://methodsperformance.com
Author: Methods & Performance Institute
Description: Habillage officiel de Methods & Performance Institute (Abidjan) : formation, recherche et conseil. Thème enfant du thème TAKE CAP, dont il garde toutes les fonctions (diagnostic, outils, formation en ligne, boutique). Charte v1 : marine, bleu savoir, vert croissance, point soleil ; police Plus Jakarta Sans.
Template: takecap
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mpi
*/

/* Les variables du thème TAKE CAP reçoivent les couleurs de la charte MPI. */
:root{
	--tc-navy:#0F2A4A;--tc-navy-950:#0A1D34;--tc-blue:#1E5AA8;--tc-blue-700:#17478A;--tc-blue-50:#E3EDF9;
	--tc-mint:#4CC9B6;--tc-mint-800:#0E7C70;--tc-mint-50:#DDF2EE;--tc-ink:#0F2A4A;--tc-muted:#5A6475;
	--tc-border:#E4DED3;--tc-border-strong:#8A8F99;--tc-surface:#FAF7F1;
	--tc-shadow-1:0 1px 2px rgba(15,42,74,.06),0 8px 24px rgba(15,42,74,.08);
	--tc-shadow-2:0 2px 4px rgba(15,42,74,.06),0 12px 28px rgba(15,42,74,.10),0 32px 64px rgba(15,42,74,.10);
	--tc-heading:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
	--mpi-sun:#F4A62A;--mpi-sun-soft:#FDEBC8;
}
body{font-family:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
::selection{background:#DDF2EE;color:#0F2A4A}

/* Dégradés du thème parent : teintes de la charte. */
.tc-hero{background:radial-gradient(55% 75% at 88% 18%,rgba(14,124,112,.12),transparent 62%),radial-gradient(45% 60% at 4% 96%,rgba(30,90,168,.10),transparent 60%),var(--tc-surface)}
.tc-navy::before{background:radial-gradient(circle,rgba(76,201,182,.16),transparent 65%)}

/* Les pages intérieures gardent leur mise en page TAKE CAP, avec la typographie MPI. */
.wp-site-blocks h1,.wp-site-blocks h2,.wp-site-blocks h3,.wp-site-blocks h4{font-family:var(--tc-heading);letter-spacing:-.01em}
.wp-site-blocks h1,.wp-site-blocks h2{font-weight:800}

/* L'en-tête et le pied de page MPI sont rendus par des shortcodes : leur enveloppe ne doit ni décaler la page ni empêcher l'en-tête de rester collé en haut. */
.mpi-header-part,.mpi-footer-part{display:contents}
.wp-site-blocks > *{margin-block-start:0}
.wp-site-blocks > header.wp-block-template-part,.wp-site-blocks > footer.wp-block-template-part{margin:0}

/* Lien vers une page pas encore publiée. */
.mpi-soon{opacity:.6;cursor:default}
