/*
Theme Name: Wodexia
Theme URI: https://wodexia.com
Author: Wodexia SARL
Description: Thème du site Wodexia, solutions informatiques pour les IMF et les entreprises africaines.
Version: 1.0.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: wodexia
*/

:root {
	--wx-navy: #0B1F45;
	--wx-navy-2: #071634;
	--wx-blue: #0A8FEA;
	--wx-blue-dark: #0057B8;
	--wx-blue-soft: #E7F1FC;
	--wx-gold: #C9A227;
	--wx-gold-light: #E6C868;
	--wx-ink: #1E2D3D;
	--wx-text: #475569;
	--wx-mute: #64748B;
	--wx-line: #E2E8F0;
	--wx-bg: #F6F8FA;
	--wx-display: 'Sora', sans-serif;
	--wx-body: 'IBM Plex Sans', system-ui, sans-serif;
}

body {
	margin: 0;
	background: var(--wx-bg);
	color: var(--wx-ink);
	font-family: var(--wx-body);
	line-height: 1.55;
}

.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * { margin-block-start: 0 !important; }

a { color: var(--wx-blue-dark); }
a:hover { color: var(--wx-navy); }

h1, h2, h3 { font-family: var(--wx-display); }

/* ---------- Layout helpers ---------- */
.wx-container {
	max-width: 1200px;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
	width: 100%;
}
.wx-section { padding-top: 104px; padding-bottom: 40px; }
.wx-section-pad { padding-top: 96px; padding-bottom: 96px; }
.wx-white { background: #fff; }
.wx-bordered { border-top: 1px solid var(--wx-line); border-bottom: 1px solid var(--wx-line); }

.wx-eyebrow {
	font-size: 13px !important;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wx-blue-dark);
	margin: 0 0 14px !important;
}
.wx-h2 {
	font-size: clamp(30px, 3.6vw, 42px) !important;
	line-height: 1.15;
	color: var(--wx-navy);
	margin: 0 0 18px !important;
	font-weight: 700;
	max-width: 720px;
}
.wx-text { color: var(--wx-text); font-size: 17px; }
.wx-small { color: var(--wx-mute); font-size: 15px; }

/* ---------- Header ---------- */
.wx-header {
	background: #fff;
	border-bottom: 1px solid var(--wx-line);
	position: sticky;
	top: 0;
	z-index: 50;
}
.wx-header-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 14px;
	padding-bottom: 14px;
}
.wx-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wx-brand img { display: block; width: auto; }
.wx-brand-symbol { height: 38px; }
.wx-brand-word { height: 22px; }
.wx-nav { font-size: 15px; font-weight: 500; gap: 28px; }
.wx-nav a { color: #334155 !important; text-decoration: none; }
.wx-nav a:hover { color: var(--wx-blue-dark) !important; }
.wx-header-right { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.wx-btn-gold .wp-block-button__link,
.wx-btn-gold .wp-element-button {
	background: var(--wx-gold) !important;
	color: var(--wx-navy) !important;
	font-weight: 600;
	border-radius: 10px;
	padding: 14px 24px;
	font-size: 16px;
}
.wx-btn-outline .wp-block-button__link {
	background: transparent !important;
	color: #fff !important;
	border: 1px solid rgba(255,255,255,0.35);
	border-radius: 10px;
	padding: 14px 24px;
	font-weight: 600;
	font-size: 16px;
}
.wx-btn-navy .wp-block-button__link {
	background: var(--wx-navy) !important;
	color: #fff !important;
	border-radius: 10px;
	padding: 14px 24px;
	font-weight: 600;
}
.wx-header .wx-btn-gold .wp-block-button__link { padding: 11px 20px; font-size: 15px; border-radius: 8px; }

/* ---------- Hero ---------- */
.wx-hero {
	background: var(--wx-navy);
	color: #fff;
	position: relative;
	overflow: hidden;
}
.wx-hero::before, .wx-hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.08);
	pointer-events: none;
}
.wx-hero::before { right: -180px; top: -220px; width: 640px; height: 640px; }
.wx-hero::after { right: -60px; top: -100px; width: 400px; height: 400px; }
.wx-hero-cols { padding-top: 64px; padding-bottom: 96px; gap: 56px !important; align-items: center !important; position: relative; z-index: 1; }
.wx-badge {
	display: inline-block;
	font-size: 13px !important;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wx-gold-light);
	border: 1px solid rgba(230,200,104,0.4);
	padding: 6px 14px;
	border-radius: 999px;
	margin: 0 0 24px !important;
	width: fit-content;
}
.wx-h1 {
	font-size: clamp(36px, 5vw, 58px) !important;
	line-height: 1.08 !important;
	letter-spacing: -0.02em;
	font-weight: 700;
	color: #fff;
	margin: 0 0 24px !important;
}
.wx-lead { font-size: 19px; color: #CBD5E1; max-width: 540px; margin: 0 0 32px !important; }

/* Product mockup */
.wx-mock { background: #fff; border-radius: 16px; box-shadow: 0 40px 80px rgba(0,0,0,0.35); overflow: hidden; color: var(--wx-ink); }
.wx-mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #EEF2F6; border-bottom: 1px solid var(--wx-line); }
.wx-mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #CBD5E1; display: block; }
.wx-mock-bar span { margin-left: 12px; font-size: 12px; color: var(--wx-mute); }
.wx-mock-body { display: flex; min-height: 340px; }
.wx-mock-side { width: 150px; flex: none; background: var(--wx-navy-2); color: #94A3B8; padding: 18px 14px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.wx-mock-side b { color: #fff; font-family: var(--wx-display); margin-bottom: 10px; }
.wx-mock-side span { padding: 7px 10px; }
.wx-mock-side .on { background: rgba(0,155,253,0.25); color: #fff; border-radius: 6px; }
.wx-mock-main { flex: 1; min-width: 0; padding: 20px; display: flex; flex-direction: column; gap: 16px; background: var(--wx-bg); }
.wx-mock-head { display: flex; justify-content: space-between; align-items: center; }
.wx-mock-head b { font-family: var(--wx-display); font-size: 15px; font-weight: 600; }
.wx-mock-head span { font-size: 11px; background: #fff; border: 1px solid var(--wx-line); padding: 4px 10px; border-radius: 6px; color: var(--wx-mute); }
.wx-mock-kpis { display: flex; gap: 10px; }
.wx-mock-kpis div { flex: 1; background: #fff; border-radius: 10px; padding: 12px; border: 1px solid var(--wx-line); font-size: 11px; color: var(--wx-mute); }
.wx-mock-kpis em { display: block; height: 8px; border-radius: 4px; margin-top: 10px; }
.wx-mock-chart { flex: 1; background: #fff; border-radius: 10px; padding: 16px; border: 1px solid var(--wx-line); display: flex; flex-direction: column; gap: 12px; font-size: 12px; color: var(--wx-mute); }
.wx-mock-bars { flex: 1; display: flex; align-items: flex-end; gap: 10px; min-height: 120px; }
.wx-mock-bars i { flex: 1; background: #D4E7FB; border-radius: 4px 4px 0 0; display: block; }
.wx-mock-bars i:last-child { background: var(--wx-blue); }

/* ---------- Compliance band ---------- */
.wx-band { background: #fff; border-bottom: 1px solid var(--wx-line); }
.wx-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; padding-bottom: 28px; }
.wx-band-label { font-size: 18px !important; color: var(--wx-mute); margin: 0 !important; }
.wx-band-items { font-family: var(--wx-display); font-weight: 600; font-size: 19px !important; color: var(--wx-navy); margin: 0 !important; word-spacing: 0.2em; }
.wx-band-items span { margin-left: 28px; }
.wx-band-items span:first-child { margin-left: 0; }

/* ---------- About ---------- */
.wx-facts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--wx-line); }
.wx-facts div { display: flex; flex-direction: column; gap: 2px; }
.wx-facts small { font-size: 13px; color: var(--wx-mute); }
.wx-facts strong { font-family: var(--wx-display); font-weight: 600; color: var(--wx-navy); }
.wx-mv { border-radius: 22px; padding: 36px !important; margin-bottom: 20px !important; }
.wx-mv:last-child { margin-bottom: 0 !important; }
.wx-mv-dark { background: var(--wx-navy); color: #fff; }
.wx-mv-dark p { color: #CBD5E1; font-size: 17px; }
.wx-mv-light { background: #fff; border: 2px solid var(--wx-blue); }
.wx-mv-light p { color: var(--wx-text); font-size: 17px; }
.wx-mv-title { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.wx-mv-title span { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.wx-mv-dark .wx-mv-title span { background: rgba(0,155,253,0.18); }
.wx-mv-light .wx-mv-title span { background: var(--wx-blue-soft); }
.wx-mv-title h3 { margin: 0; font-size: 24px; }
.wx-mv-light .wx-mv-title h3 { color: var(--wx-navy); }

/* ---------- Products ---------- */
.wx-flagship {
	background: var(--wx-navy);
	color: #fff;
	border-radius: 22px;
	padding: 48px !important;
	gap: 48px !important;
	align-items: center !important;
	margin-top: 40px !important;
	margin-bottom: 24px !important;
}
.wx-flag-badge { display: inline-block; font-size: 12px !important; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wx-navy); background: var(--wx-gold-light); padding: 5px 12px; border-radius: 999px; margin: 0 0 18px !important; width: fit-content; }
.wx-flag-title { font-size: 38px !important; margin: 0 0 6px !important; color: #fff; }
.wx-flag-sub { color: var(--wx-blue); font-weight: 600; letter-spacing: 0.04em; margin: 0 0 16px !important; }
.wx-flag-text { color: #CBD5E1; font-size: 17px; }
.wx-link-gold a, a.wx-link-gold { color: var(--wx-gold-light) !important; font-weight: 600; text-decoration: none; }
.wx-chips2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wx-chips2 div { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 16px; font-weight: 500; }

.wx-cards { gap: 24px !important; }
.wx-card {
	background: #fff;
	border: 1px solid var(--wx-line);
	border-radius: 22px;
	padding: 40px !important;
}
.wx-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.wx-icon-blue { background: var(--wx-blue-soft); color: var(--wx-blue-dark); }
.wx-icon-gold { background: #FBF4DE; color: #8A6D12; }
.wx-card-title { font-size: 28px !important; color: var(--wx-navy); margin: 0 0 8px !important; }
.wx-card-sub { font-size: 13px !important; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wx-blue-dark); margin: 0 0 14px !important; }
.wx-card-sub.gold { color: #8A6D12; }
.wx-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.wx-tags span { font-size: 13px; color: var(--wx-navy); background: #EEF2F6; padding: 5px 11px; border-radius: 999px; }

/* Modules grid */
.wx-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.wx-head-row p { max-width: 420px; color: var(--wx-mute); margin: 0; }
.wx-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.wx-module { background: #fff; border: 1px solid var(--wx-line); border-radius: 16px; padding: 26px; }
.wx-module h3 { font-size: 18px; color: var(--wx-navy); margin: 12px 0 8px; }
.wx-module p { font-size: 15px; color: var(--wx-mute); margin: 0; }

/* Deployment */
.wx-deploy { gap: 20px !important; }
.wx-deploy-card { border: 1px solid var(--wx-line); border-radius: 20px; padding: 34px !important; }
.wx-deploy-card.featured { border: 2px solid var(--wx-blue); background: #F0F6FE; }
.wx-deploy-card h3 { font-size: 22px; color: var(--wx-navy); margin: 14px 0 10px; }
.wx-deploy-card p { color: var(--wx-text); margin: 0; }
.wx-pill { display: inline-block; font-size: 12px; font-weight: 600; color: #fff; background: var(--wx-blue-dark); padding: 4px 10px; border-radius: 999px; margin-left: 10px; vertical-align: middle; }

/* Strengths */
.wx-strengths { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.wx-strengths div { border-top: 3px solid var(--wx-gold); padding-top: 18px; }
.wx-strengths h3 { font-size: 18px; color: var(--wx-navy); margin: 0 0 8px; }
.wx-strengths p { color: var(--wx-mute); font-size: 15px; margin: 0; }

/* Contact */
.wx-contact { background: var(--wx-navy-2); color: #fff; }
.wx-contact-cols { padding-top: 96px; padding-bottom: 96px; gap: 56px !important; }
.wx-contact .wx-h2 { color: #fff; }
.wx-contact .wx-text { color: #CBD5E1; }
.wx-contact-info { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; font-size: 16px; color: #CBD5E1; }
.wx-contact-info a { color: var(--wx-gold-light); text-decoration: none; font-weight: 600; }
.wx-form-card { background: #fff; color: var(--wx-ink); border-radius: 20px; padding: 34px !important; }
.wx-form-card h3 { color: var(--wx-navy); font-size: 24px; margin: 0 0 10px; }
.wx-form-card p { color: var(--wx-text); }

/* Footer */
.wx-footer { background: var(--wx-navy-2); color: #94A3B8; border-top: 1px solid rgba(255,255,255,0.08); }
.wx-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 32px; padding-bottom: 32px; font-size: 14px; }
.wx-footer-brand { display: flex; align-items: center; gap: 10px; }
.wx-footer-brand img { display: block; width: auto; }
.wx-footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.wx-footer a { color: #94A3B8; text-decoration: none; }
.wx-footer a:hover { color: #fff; }

/* Generic pages */
.wx-page { padding-top: 64px; padding-bottom: 96px; }

/* Mobile */
@media (max-width: 781px) {
	.wx-hero-cols { padding-top: 40px; padding-bottom: 64px; }
	.wx-flagship, .wx-card, .wx-mv { padding: 28px !important; }
	.wx-chips2 { grid-template-columns: 1fr; }
	.wx-mock-side { display: none; }
	.wx-band-items span { margin-left: 0; margin-right: 18px; display: inline-block; }
	.wx-header { position: static; }
}
