/*
 * ═══════════════════════════════════════════════════════════════
 *  MOONPAID — Design System v1.0
 *  Style : Moderne & Épuré (Néobanque)
 *  Auteur : MOONPAID
 * ═══════════════════════════════════════════════════════════════
 *
 *  UTILISATION :
 *  Importer ce fichier en PREMIER dans toutes les pages,
 *  avant les CSS spécifiques aux pages.
 *  <link rel="stylesheet" href="moonpaid-design-system.css">
 *
 *  POLICES À IMPORTER DANS LE <head> :
 *  <link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap" rel="stylesheet">
 * ═══════════════════════════════════════════════════════════════
 */


/* ──────────────────────────────────────────────
   1. TOKENS — CSS VARIABLES
   ────────────────────────────────────────────── */
:root {

	/* Couleurs primaires */
	--mp-red:           #CD0303;   /* rgb(205, 3, 3)     — Couleur principale */
	--mp-red-dark:      #A00000;   /* rgb(160, 0, 0)     — Hover, emphase */
	--mp-red-mid:       #F5BFBF;   /* rgb(245, 191, 191) — Bordures légères */
	--mp-red-light:     #FDEAEA;   /* rgb(253, 234, 234) — Fonds tintés */

	/* Neutres */
	--mp-black:         #0D0D0D;   /* rgb(13, 13, 13)    — Texte principal, fonds sombres */
	--mp-gray-900:      #1A1A1A;   /* rgb(26, 26, 26)    — Titres */
	--mp-gray-800:      #2C2C2C;   /* rgb(44, 44, 44)    — Corps de texte */
	--mp-gray-600:      #6B6B6B;   /* rgb(107, 107, 107) — Texte secondaire */
	--mp-gray-400:      #A8A8A8;   /* rgb(168, 168, 168) — Placeholders, hints */
	--mp-gray-200:      #E8E8E8;   /* rgb(232, 232, 232) — Bordures */
	--mp-gray-100:      #F5F5F5;   /* rgb(245, 245, 245) — Fond de page */
	--mp-surface:       #FAFAFA;   /* rgb(250, 250, 250) — Surface/cartes */
	--mp-white:         #FFFFFF;   /* rgb(255, 255, 255) — Blanc pur */

	/* Sémantiques */
	--mp-success:       #0E7040;   /* rgb(14, 112, 64)   */
	--mp-success-light: #EAF3DE;
	--mp-warning:       #BA7517;   /* rgb(186, 117, 23)  */
	--mp-warning-light: #FAEEDA;
	--mp-info:          #185FA5;   /* rgb(24, 95, 165)   */
	--mp-info-light:    #E6F1FB;
	--mp-danger:        #CD0303;
	--mp-danger-light:  #FDEAEA;

	/* Typographie */
	--mp-font-sans:     'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	--mp-font-mono:     'DM Mono', 'Courier New', monospace;

	/* Border radius */
	--mp-r-xs:    4px;
	--mp-r-sm:    6px;
	--mp-r-md:    10px;
	--mp-r-lg:    16px;
	--mp-r-xl:    24px;
	--mp-r-full:  999px;

	/* Espacements */
	--mp-space-1:   4px;
	--mp-space-2:   8px;
	--mp-space-3:   12px;
	--mp-space-4:   16px;
	--mp-space-5:   24px;
	--mp-space-6:   32px;
	--mp-space-7:   40px;
	--mp-space-8:   56px;
	--mp-space-9:   80px;

	/* Ombres */
	--mp-shadow-sm:   0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
	--mp-shadow-md:   0 4px 12px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
	--mp-shadow-lg:   0 10px 30px rgba(0,0,0,0.10), 0 4px 10px rgba(0,0,0,0.06);

	/* Transitions */
	--mp-transition: 0.15s ease;
	--mp-transition-slow: 0.3s ease;
}

/* ── DROPDOWN NAV ── */
.mp-nav-has-dropdown { position: relative; }

.mp-nav-dropdown-toggle {
	display: flex; align-items: center; gap: 5px;
}
.mp-nav-chevron {
	font-size: 10px;
	transition: transform 0.2s;
}
.mp-nav-has-dropdown:hover .mp-nav-chevron {
	transform: rotate(180deg);
}

.mp-nav-dropdown {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%) translateY(-6px);
	background: var(--mp-white);
	border: 1px solid var(--mp-gray-200);
	border-radius: 14px;
	padding: 6px;
	min-width: 220px;
	z-index: 1100;
	box-shadow: 0 12px 32px rgba(0,0,0,0.10);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.18s ease, transform 0.18s ease;
}
.mp-nav-has-dropdown:hover .mp-nav-dropdown {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

.mp-nav-dropdown-label {
	font-size: 10px; font-weight: 700;
	letter-spacing: 0.09em; text-transform: uppercase;
	color: var(--mp-gray-400);
	padding: 8px 12px 4px;
}
.mp-nav-dropdown-divider {
	height: 1px; background: var(--mp-gray-200); margin: 4px 8px;
}

.mp-nav-dropdown-item {
	display: flex; align-items: center; gap: 10px;
	padding: 9px 12px; border-radius: 8px;
	font-size: 13px; font-weight: 500;
	color: var(--mp-gray-700); text-decoration: none;
	transition: all 0.12s;
}
.mp-nav-dropdown-item:hover {
	background: var(--mp-red-light);
	color: var(--mp-red);
}
.mp-nav-dropdown-icon {
	width: 30px; height: 30px; border-radius: 8px;
	background: var(--mp-red-light); color: var(--mp-red);
	display: flex; align-items: center; justify-content: center;
	font-size: 13px; flex-shrink: 0;
	transition: all 0.12s;
}
.mp-nav-dropdown-item:hover .mp-nav-dropdown-icon {
	background: var(--mp-red); color: var(--mp-white);
}
/* ──────────────────────────────────────────────
   2. RESET & BASE
   ────────────────────────────────────────────── */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html { scroll-behavior: smooth; }

body {
	font-family: var(--mp-font-sans);
	font-size: 15px;
	line-height: 1.6;
	color: var(--mp-gray-800);
	background-color: var(--mp-gray-100);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--mp-red); text-decoration: none; transition: color var(--mp-transition); }
a:hover { color: var(--mp-red-dark); }


/* ──────────────────────────────────────────────
   3. TYPOGRAPHIE
   ────────────────────────────────────────────── */
h1, .mp-h1 {
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 700;
	color: var(--mp-gray-900);
	letter-spacing: -0.02em;
	line-height: 1.1;
}
h2, .mp-h2 {
	font-size: clamp(22px, 3vw, 28px);
	font-weight: 600;
	color: var(--mp-gray-900);
	letter-spacing: -0.01em;
	line-height: 1.2;
}
h3, .mp-h3 {
	font-size: 20px;
	font-weight: 600;
	color: var(--mp-gray-900);
	line-height: 1.3;
}
h4, .mp-h4 {
	font-size: 16px;
	font-weight: 600;
	color: var(--mp-gray-900);
}
h5, .mp-h5 {
	font-size: 14px;
	font-weight: 600;
	color: var(--mp-gray-900);
}

.mp-body    { font-size: 15px; color: var(--mp-gray-800); line-height: 1.6; }
.mp-small   { font-size: 13px; color: var(--mp-gray-600); }
.mp-label   { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mp-gray-400); }
.mp-mono    { font-family: var(--mp-font-mono); font-size: 13px; }

.mp-text-red     { color: var(--mp-red) !important; }
.mp-text-muted   { color: var(--mp-gray-600) !important; }
.mp-text-success { color: var(--mp-success) !important; }
.mp-text-warning { color: var(--mp-warning) !important; }
.mp-text-info    { color: var(--mp-info) !important; }
.mp-text-white   { color: var(--mp-white) !important; }


/* ──────────────────────────────────────────────
   4. BOUTONS
   ────────────────────────────────────────────── */
.mp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 24px;
	font-family: var(--mp-font-sans);
	font-size: 14px;
	font-weight: 600;
	border-radius: var(--mp-r-full);
	border: none;
	cursor: pointer;
	transition: all var(--mp-transition);
	text-decoration: none;
	white-space: nowrap;
	line-height: 1;
}
.mp-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	pointer-events: none;
}

/* Variantes */
.mp-btn-primary {
	background: var(--mp-red);
	color: var(--mp-white);
}
.mp-btn-primary:hover {
	background: var(--mp-red-dark);
	color: var(--mp-white);
}

.mp-btn-secondary {
	background: var(--mp-white);
	color: var(--mp-red);
	border: 1.5px solid var(--mp-red);
}
.mp-btn-secondary:hover {
	background: var(--mp-red-light);
	color: var(--mp-red-dark);
}

.mp-btn-ghost {
	background: transparent;
	color: var(--mp-gray-600);
	border: 1.5px solid var(--mp-gray-200);
}
.mp-btn-ghost:hover {
	border-color: var(--mp-gray-400);
	color: var(--mp-gray-900);
}

.mp-btn-dark {
	background: var(--mp-black);
	color: var(--mp-white);
}
.mp-btn-dark:hover {
	background: var(--mp-gray-800);
	color: var(--mp-white);
}

/* Tailles */
.mp-btn-sm {
	padding: 7px 16px;
	font-size: 12px;
}
.mp-btn-lg {
	padding: 14px 32px;
	font-size: 16px;
}
.mp-btn-icon {
	padding: 10px;
	border-radius: var(--mp-r-md);
}
.mp-btn-full { width: 100%; }


/* ──────────────────────────────────────────────
   5. CHAMPS DE FORMULAIRE
   ────────────────────────────────────────────── */
.mp-form-group  { margin-bottom: 1.25rem; }

.mp-form-label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: var(--mp-gray-600);
	letter-spacing: 0.04em;
	margin-bottom: 6px;
}

.mp-input,
.mp-select,
.mp-textarea {
	width: 100%;
	font-family: var(--mp-font-sans);
	font-size: 14px;
	color: var(--mp-gray-900);
	background: var(--mp-white);
	border: 1.5px solid var(--mp-gray-200);
	border-radius: var(--mp-r-md);
	outline: none;
	transition: border-color var(--mp-transition), box-shadow var(--mp-transition);
}
.mp-input       { height: 46px; padding: 0 14px; }
.mp-select      { height: 46px; padding: 0 14px; cursor: pointer; }
.mp-textarea    { padding: 12px 14px; min-height: 120px; resize: vertical; }

.mp-input::placeholder,
.mp-textarea::placeholder { color: var(--mp-gray-400); }

.mp-input:hover, .mp-select:hover, .mp-textarea:hover {
	border-color: var(--mp-gray-400);
}
.mp-input:focus, .mp-select:focus, .mp-textarea:focus {
	border-color: var(--mp-red);
	box-shadow: 0 0 0 3px rgba(205, 3, 3, 0.12);
}
.mp-input-error {
	border-color: var(--mp-red) !important;
}
.mp-input-error:focus {
	box-shadow: 0 0 0 3px rgba(205, 3, 3, 0.15);
}

/* Input avec icône */
.mp-input-wrapper { position: relative; }
.mp-input-wrapper .mp-input { padding-left: 44px; }
.mp-input-wrapper .mp-input-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--mp-gray-400);
	font-size: 18px;
	pointer-events: none;
}

.mp-form-hint   { font-size: 11px; color: var(--mp-gray-400); margin-top: 5px; }
.mp-form-error  { font-size: 11px; color: var(--mp-red); margin-top: 5px; }


/* ──────────────────────────────────────────────
   6. CARTES
   ────────────────────────────────────────────── */
.mp-card {
	background: var(--mp-white);
	border: 1px solid var(--mp-gray-200);
	border-radius: var(--mp-r-lg);
	padding: var(--mp-space-5);
}

.mp-card-dark {
	background: var(--mp-black);
	border: none;
	border-radius: var(--mp-r-lg);
	padding: var(--mp-space-5);
	color: var(--mp-white);
}

.mp-card-red {
	background: var(--mp-red);
	border: none;
	border-radius: var(--mp-r-lg);
	padding: var(--mp-space-5);
	color: var(--mp-white);
}

/* Carte statistique */
.mp-stat-card {
	background: var(--mp-white);
	border: 1px solid var(--mp-gray-200);
	border-radius: var(--mp-r-lg);
	padding: var(--mp-space-5);
}
.mp-stat-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--mp-gray-400);
	margin-bottom: 8px;
}
.mp-stat-value {
	font-size: 30px;
	font-weight: 700;
	color: var(--mp-gray-900);
	letter-spacing: -0.02em;
	line-height: 1;
}
.mp-stat-unit {
	font-size: 16px;
	font-weight: 400;
	color: var(--mp-gray-600);
	margin-left: 4px;
}
.mp-stat-change {
	font-size: 12px;
	font-weight: 600;
	margin-top: 8px;
	display: flex;
	align-items: center;
	gap: 4px;
}
.mp-stat-change.up   { color: var(--mp-success); }
.mp-stat-change.down { color: var(--mp-red); }

/* Carte bancaire visuelle */
.mp-bank-card {
	background: var(--mp-black);
	border-radius: var(--mp-r-xl);
	padding: 28px;
	color: var(--mp-white);
	width: 300px;
	position: relative;
	overflow: hidden;
	user-select: none;
}
.mp-bank-card::before {
	content: '';
	position: absolute; top: -60px; right: -60px;
	width: 200px; height: 200px;
	border-radius: 50%;
	background: rgba(205, 3, 3, 0.15);
}
.mp-bank-card::after {
	content: '';
	position: absolute; bottom: -40px; left: -40px;
	width: 160px; height: 160px;
	border-radius: 50%;
	background: rgba(205, 3, 3, 0.08);
}
.mp-bank-card-chip {
	width: 36px; height: 26px;
	background: var(--mp-red);
	border-radius: var(--mp-r-xs);
	margin-bottom: 24px;
}
.mp-bank-card-number {
	font-family: var(--mp-font-mono);
	font-size: 14px;
	letter-spacing: 3px;
	color: var(--mp-gray-400);
	margin-bottom: 20px;
}
.mp-bank-card-bottom {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}
.mp-bank-card-holder {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--mp-gray-400);
}
.mp-bank-card-name {
	font-size: 14px;
	font-weight: 600;
	margin-top: 3px;
}
.mp-bank-card-network {
	font-size: 20px;
	font-weight: 800;
	color: var(--mp-red);
	letter-spacing: -1px;
}


/* ──────────────────────────────────────────────
   7. BADGES & STATUTS
   ────────────────────────────────────────────── */
.mp-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	padding: 4px 10px;
	border-radius: var(--mp-r-full);
}
.mp-badge-red     { background: var(--mp-red-light);       color: var(--mp-red-dark);  }
.mp-badge-success { background: var(--mp-success-light);   color: #27500A;             }
.mp-badge-warning { background: var(--mp-warning-light);   color: #633806;             }
.mp-badge-info    { background: var(--mp-info-light);      color: #0C447C;             }
.mp-badge-neutral { background: var(--mp-gray-200);        color: var(--mp-gray-800);  }
.mp-badge-dark    { background: var(--mp-black);           color: var(--mp-white);     }

/* Point de statut animé */
.mp-status-dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	display: inline-block;
}
.mp-status-dot.active  { background: var(--mp-success); animation: mp-pulse 2s infinite; }
.mp-status-dot.pending { background: var(--mp-warning); }
.mp-status-dot.error   { background: var(--mp-red);     }
.mp-status-dot.inactive{ background: var(--mp-gray-400);}

@keyframes mp-pulse {
	0%, 100% { opacity: 1; }
	50%       { opacity: 0.4; }
}


/* ──────────────────────────────────────────────
   8. ALERTES & NOTIFICATIONS
   ────────────────────────────────────────────── */
.mp-alert {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border-radius: var(--mp-r-md);
	font-size: 13px;
	border-left: 3px solid;
}
.mp-alert i          { font-size: 18px; margin-top: 1px; flex-shrink: 0; }
.mp-alert-title      { font-weight: 600; font-size: 13px; margin-bottom: 2px; }

.mp-alert-success { background: var(--mp-success-light); border-color: var(--mp-success); color: #27500A; }
.mp-alert-danger  { background: var(--mp-danger-light);  border-color: var(--mp-red);     color: var(--mp-red-dark); }
.mp-alert-warning { background: var(--mp-warning-light); border-color: var(--mp-warning); color: #633806; }
.mp-alert-info    { background: var(--mp-info-light);    border-color: var(--mp-info);    color: #0C447C; }

/* Toast / Notification flottante */
.mp-toast {
	position: fixed;
	top: 20px; right: 20px;
	z-index: 9999;
	background: var(--mp-white);
	border-left: 4px solid;
	border-radius: var(--mp-r-md);
	padding: 14px 18px;
	box-shadow: var(--mp-shadow-lg);
	font-size: 13px;
	font-weight: 600;
	max-width: 340px;
	animation: mp-slideIn 0.3s ease;
}
.mp-toast-success { border-color: var(--mp-success); color: var(--mp-success); }
.mp-toast-danger  { border-color: var(--mp-red);     color: var(--mp-red);     }
.mp-toast-info    { border-color: var(--mp-info);    color: var(--mp-info);    }

@keyframes mp-slideIn {
	from { opacity: 0; transform: translateX(20px); }
	to   { opacity: 1; transform: translateX(0);    }
}


/* ──────────────────────────────────────────────
   9. NAVIGATION
   ────────────────────────────────────────────── */
.mp-navbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 40px;
	height: 64px;
	background: var(--mp-white);
	border-bottom: 1px solid var(--mp-gray-200);
	position: sticky; top: 0; z-index: 100;
}
.mp-navbar-logo {
	font-family: var(--mp-font-sans);
	font-size: 18px;
	font-weight: 300;
	letter-spacing: 6px;
	color: var(--mp-black);
	text-decoration: none;
}
.mp-navbar-links {
	display: flex;
	gap: 32px;
	list-style: none;
}
.mp-navbar-links a {
	font-size: 14px;
	font-weight: 500;
	color: var(--mp-gray-600);
	text-decoration: none;
	transition: color var(--mp-transition);
}
.mp-navbar-links a:hover,
.mp-navbar-links a.active { color: var(--mp-red); }

.mp-navbar-actions { display: flex; gap: 10px; align-items: center; }

/* Sidebar */
.mp-sidebar {
	width: 240px;
	background: var(--mp-white);
	border-right: 1px solid var(--mp-gray-200);
	height: 100vh;
	padding: 24px 16px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.mp-sidebar-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: var(--mp-r-md);
	font-size: 14px;
	font-weight: 500;
	color: var(--mp-gray-600);
	text-decoration: none;
	transition: all var(--mp-transition);
	cursor: pointer;
}
.mp-sidebar-item:hover { background: var(--mp-gray-100); color: var(--mp-gray-900); }
.mp-sidebar-item.active { background: var(--mp-red-light); color: var(--mp-red); }
.mp-sidebar-item.active i { color: var(--mp-red); }


/* ──────────────────────────────────────────────
   10. TABLEAUX
   ────────────────────────────────────────────── */
.mp-table-wrapper {
	background: var(--mp-white);
	border: 1px solid var(--mp-gray-200);
	border-radius: var(--mp-r-lg);
	overflow: hidden;
}
.mp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mp-table thead tr {
	background: var(--mp-gray-100);
	border-bottom: 1px solid var(--mp-gray-200);
}
.mp-table th {
	padding: 12px 16px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--mp-gray-400);
	text-align: left;
}
.mp-table td {
	padding: 14px 16px;
	color: var(--mp-gray-800);
	border-bottom: 1px solid var(--mp-gray-200);
}
.mp-table tbody tr:last-child td { border-bottom: none; }
.mp-table tbody tr:hover { background: var(--mp-gray-100); }


/* ──────────────────────────────────────────────
   11. OVERLAY LOADER
   ────────────────────────────────────────────── */
.mp-overlay {
	position: fixed; inset: 0;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(3px);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 99999;
}
.mp-overlay-inner { text-align: center; }
.mp-overlay-spinner {
	width: 40px; height: 40px;
	border: 3px solid var(--mp-red-mid);
	border-top-color: var(--mp-red);
	border-radius: 50%;
	animation: mp-spin 0.7s linear infinite;
	margin: 0 auto 12px;
}
.mp-overlay-text {
	font-size: 14px;
	font-weight: 600;
	color: var(--mp-gray-600);
}
@keyframes mp-spin {
	to { transform: rotate(360deg); }
}


/* ──────────────────────────────────────────────
   12. UTILITAIRES
   ────────────────────────────────────────────── */

/* Divider */
.mp-divider { height: 1px; background: var(--mp-gray-200); margin: 24px 0; }
.mp-divider-v { width: 1px; background: var(--mp-gray-200); align-self: stretch; }

/* Flex helpers */
.mp-flex         { display: flex; }
.mp-flex-center  { display: flex; align-items: center; justify-content: center; }
.mp-flex-between { display: flex; align-items: center; justify-content: space-between; }
.mp-flex-gap-sm  { gap: 8px; }
.mp-flex-gap-md  { gap: 16px; }
.mp-flex-gap-lg  { gap: 24px; }

/* Grid */
.mp-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mp-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mp-grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }

/* Backgrounds */
.mp-bg-white   { background-color: var(--mp-white) !important; }
.mp-bg-surface { background-color: var(--mp-surface) !important; }
.mp-bg-page    { background-color: var(--mp-gray-100) !important; }
.mp-bg-dark    { background-color: var(--mp-black) !important; }
.mp-bg-red     { background-color: var(--mp-red) !important; }
.mp-bg-red-light { background-color: var(--mp-red-light) !important; }

/* Borders */
.mp-border         { border: 1px solid var(--mp-gray-200); }
.mp-border-red     { border: 1px solid var(--mp-red); }
.mp-border-top     { border-top: 1px solid var(--mp-gray-200); }
.mp-border-bottom  { border-bottom: 1px solid var(--mp-gray-200); }

/* Radius */
.mp-rounded-sm   { border-radius: var(--mp-r-sm) !important; }
.mp-rounded      { border-radius: var(--mp-r-md) !important; }
.mp-rounded-lg   { border-radius: var(--mp-r-lg) !important; }
.mp-rounded-xl   { border-radius: var(--mp-r-xl) !important; }
.mp-rounded-full { border-radius: var(--mp-r-full) !important; }

/* Spacing — padding */
.mp-p-1 { padding: var(--mp-space-1); }
.mp-p-2 { padding: var(--mp-space-2); }
.mp-p-3 { padding: var(--mp-space-3); }
.mp-p-4 { padding: var(--mp-space-4); }
.mp-p-5 { padding: var(--mp-space-5); }

/* Spacing — margin bottom */
.mp-mb-1 { margin-bottom: var(--mp-space-1); }
.mp-mb-2 { margin-bottom: var(--mp-space-2); }
.mp-mb-3 { margin-bottom: var(--mp-space-3); }
.mp-mb-4 { margin-bottom: var(--mp-space-4); }
.mp-mb-5 { margin-bottom: var(--mp-space-5); }
.mp-mb-6 { margin-bottom: var(--mp-space-6); }

/* Display */
.mp-hidden { display: none !important; }
.mp-block  { display: block !important; }

/* Section container */
.mp-section {
	padding: var(--mp-space-9) 0;
}
.mp-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
}

/* ──────────────────────────────────────────────
   13. RESPONSIVE
   ────────────────────────────────────────────── */
@media (max-width: 991px) {
	.mp-container { padding: 0 20px; }
	.mp-section   { padding: var(--mp-space-7) 0; }
	.mp-navbar    { padding: 0 20px; }
	.mp-navbar-links { display: none; }
	.mp-grid-3,
	.mp-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
	.mp-grid-2,
	.mp-grid-3,
	.mp-grid-4 { grid-template-columns: 1fr; }
	.mp-btn-lg  { padding: 12px 24px; font-size: 15px; }
}