/*
Theme Name: Medinatouna Child
Theme URI: https://medinatouna.shop
Description: Thème enfant de GeneratePress aux couleurs de Médine pour l'agence Medinatouna (Omra, Médine, La Mecque, circuits historiques). Le thème affiche, l'extension « Medinatouna Travel Manager » gère le métier.
Author: Medinatouna
Version: 1.0.0
Template: generatepress
Text Domain: medinatouna-child
*/

:root {
	--mtm-emerald: #0C5C4C;
	--mtm-emerald-dark: #08463A;
	--mtm-emerald-deep: #063229;
	--mtm-sand: #F4EFE6;
	--mtm-cream: #FBF9F5;
	--mtm-gold: #B8954A;
	--mtm-gold-soft: #D9C38C;
	--mtm-ink: #23231D;
	--mtm-muted: #5E5D54;
	--mtm-line: rgba(35, 35, 29, .12);
}

/* ============================ Base ============================ */
body {
	font-family: 'Mulish', system-ui, -apple-system, sans-serif;
	color: var(--mtm-ink);
	background: var(--mtm-cream);
}

h1, h2, h3, h4,
.site-title {
	font-family: 'Marcellus', Georgia, serif;
	font-weight: 400;
}

a {
	color: var(--mtm-emerald);
}

a:hover {
	color: var(--mtm-emerald-dark);
}

/* ===================== Boutons (blocs / GP) ==================== */
.wp-block-button__link,
.button,
button.button,
input[type="submit"],
.wp-block-button__link:visited {
	background-color: var(--mtm-emerald);
	color: #fff;
	border: none;
	border-radius: 999px;
	font-weight: 700;
	padding: .8em 1.6em;
}

.wp-block-button__link:hover,
.button:hover,
button.button:hover,
input[type="submit"]:hover {
	background-color: var(--mtm-emerald-dark);
	color: #fff;
}

.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--mtm-emerald);
	border: 1.5px solid rgba(12, 92, 76, .35);
}

/* ========================= En-tête (GP) ======================= */
.site-header {
	background: var(--mtm-cream);
	border-bottom: 1px solid var(--mtm-line);
}

.site-title a,
.main-title a {
	color: var(--mtm-emerald);
}

.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle {
	color: var(--mtm-ink);
	font-weight: 600;
}

.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item a {
	color: var(--mtm-emerald);
}

/* Élément de menu à mettre en bouton WhatsApp : ajouter la classe CSS
   « menu-wa » à l'entrée de menu (Apparence → Menus → Options de l'écran). */
.main-navigation .main-nav ul li.menu-wa a {
	background: #1f8a55;
	color: #fff;
	border-radius: 999px;
	margin: 8px 0 8px 10px;
	padding: 8px 18px;
}

.main-navigation .main-nav ul li.menu-wa a:hover {
	background: #1a7549;
	color: #fff;
}

/* ========================= Pied de page ======================= */
.site-footer,
.site-info {
	background: var(--mtm-emerald-deep);
	color: rgba(255, 255, 255, .78);
}

.site-info a {
	color: var(--mtm-gold-soft);
}

.footer-widgets .widget-title {
	color: #fff;
	font-family: 'Mulish', sans-serif;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	font-size: .82rem;
}

/* ===================== Mise en page accueil =================== */
.mtm-home {
	overflow-x: hidden;
}

/* Bande pleine largeur (sort du conteneur GeneratePress). */
.mtm-bleed {
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

.mtm-h-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

.mtm-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	font-weight: 700;
	font-size: .74rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--mtm-gold);
}

.mtm-eyebrow-light {
	display: inline-block;
	margin-bottom: 14px;
	font-weight: 700;
	font-size: .74rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--mtm-gold-soft);
}

/* ---- Hero ---- */
.mtm-home-hero {
	position: relative;
	background: var(--mtm-emerald);
	color: #fff;
	overflow: hidden;
}

.mtm-hero-pattern {
	position: absolute;
	inset: 0;
	opacity: .10;
	pointer-events: none;
}

.mtm-hero-inner {
	position: relative;
	padding: 78px 24px 84px;
}

.mtm-home-hero h1 {
	font-size: clamp(2.2rem, 4.4vw, 3.6rem);
	color: #fff;
	max-width: 20ch;
	line-height: 1.14;
}

.mtm-home-hero p {
	margin: 18px 0 0;
	font-size: 1.12rem;
	color: rgba(255, 255, 255, .86);
	max-width: 46ch;
}

.mtm-hero-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: 28px;
}

.mtm-btn-ghost-light {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	padding: .85em 1.5em;
	border-radius: 999px;
	color: #fff;
	text-decoration: none;
	border: 1.5px solid rgba(255, 255, 255, .5);
}

.mtm-btn-ghost-light:hover {
	background: rgba(255, 255, 255, .1);
	color: #fff;
}

.mtm-hero-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	margin-top: 32px;
	font-size: .86rem;
	font-weight: 600;
	color: rgba(255, 255, 255, .82);
}

/* ---- Bande de confiance ---- */
.mtm-home-trust {
	background: var(--mtm-emerald-dark);
	color: rgba(255, 255, 255, .9);
}

.mtm-trust-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	padding: 20px 24px;
}

.mtm-trust-grid .it {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: .9rem;
	font-weight: 600;
}

.mtm-trust-grid .it svg {
	flex: none;
	width: 22px;
	height: 22px;
	stroke: var(--mtm-gold-soft);
	fill: none;
}

/* ---- Sections ---- */
.mtm-home-section {
	padding: 78px 0;
}

.mtm-home-section.mtm-alt {
	background: var(--mtm-sand);
}

.mtm-h-head {
	max-width: 60ch;
	margin-bottom: 40px;
}

.mtm-h-head.center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.mtm-h-head h2 {
	margin-top: 12px;
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	color: var(--mtm-emerald);
}

.mtm-h-head p {
	margin-top: 12px;
	font-size: 1.05rem;
	color: var(--mtm-muted);
}

.mtm-h-more {
	margin-top: 28px;
	text-align: center;
}

.mtm-h-more a {
	font-weight: 700;
	color: var(--mtm-emerald);
	text-decoration: none;
}

/* ---- Piliers ---- */
.mtm-pillars {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

.mtm-pillar {
	background: #fff;
	border: 1px solid var(--mtm-line);
	border-radius: 14px;
	padding: 28px 24px;
}

.mtm-pillar .ic {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 16px;
	border-radius: 11px;
	background: rgba(12, 92, 76, .08);
}

.mtm-pillar .ic svg {
	width: 24px;
	height: 24px;
	stroke: var(--mtm-emerald);
	fill: none;
}

.mtm-pillar h3 {
	font-size: 1.18rem;
	color: var(--mtm-ink);
}

.mtm-pillar p {
	margin-top: 9px;
	font-size: .95rem;
	color: var(--mtm-muted);
}

/* ---- Valeurs ---- */
.mtm-home-values {
	position: relative;
	overflow: hidden;
	background: var(--mtm-emerald);
	color: #fff;
	text-align: center;
}

.mtm-values-inner {
	position: relative;
	max-width: 760px;
	padding: 74px 24px;
}

.mtm-home-values h2 {
	margin-top: 12px;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	color: #fff;
}

.mtm-home-values p {
	margin-top: 16px;
	font-size: 1.06rem;
	color: rgba(255, 255, 255, .85);
}

/* ---- Appel à l'action ---- */
.mtm-home-cta {
	background: var(--mtm-gold);
	color: #2a2110;
}

.mtm-cta-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
	padding: 46px 24px;
}

.mtm-home-cta h2 {
	max-width: 20ch;
	font-size: clamp(1.6rem, 2.6vw, 2.1rem);
	color: #2a2110;
}

.mtm-home-cta p {
	margin-top: 6px;
	font-weight: 600;
	color: #5a4a23;
}

/* Espacement des grilles de shortcodes (déjà stylées par l'extension). */
.mtm-home-section .mtm-shortcode {
	margin-top: 10px;
}

/* ========================= Responsive ========================= */
@media (max-width: 900px) {
	.mtm-trust-grid,
	.mtm-pillars {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 600px) {
	.mtm-trust-grid,
	.mtm-pillars {
		grid-template-columns: 1fr;
	}

	.mtm-home-section {
		padding: 54px 0;
	}

	.mtm-hero-inner {
		padding: 54px 24px 60px;
	}

	.mtm-cta-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}
