/* Zgarni : charte « or et rose ». Les conteneurs sont ciblés par [data-id]. */

body.zg {
	--zg-bg: #FBF7F2;
	--zg-white: #FFFFFF;
	--zg-sand: #F3EADF;
	--zg-line: #EFE4D6;
	--zg-rose: #F3DDE0;
	--zg-rose-ink: #8A4452;
	--zg-gold: #C9A24A;
	--zg-gold-ink: #8C6424;
	--zg-ink: #3B2A2E;
	--zg-ink-soft: #6E5B5E;
	--zg-shadow: 0 18px 40px -18px rgba(59, 42, 46, .28);
	background: var(--zg-bg);
	color: var(--zg-ink);
	font-family: Figtree, sans-serif;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

body.zg ::selection { background: var(--zg-rose); color: var(--zg-ink); }
body.zg a:focus-visible,
body.zg button:focus-visible { outline: 2px solid var(--zg-gold-ink); outline-offset: 3px; border-radius: 6px; }
body.zg .elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* ---------- Boutons ---------- */
body.zg .zg-btn .elementor-button {
	transition: background-color .25s ease, color .25s ease, transform .2s ease, box-shadow .25s ease;
	line-height: 1.2;
}
body.zg .zg-btn .elementor-button:hover { transform: translateY(-2px); box-shadow: var(--zg-shadow); }
body.zg .zg-btn .elementor-button:active { transform: translateY(0); }
body.zg .zg-textlink .elementor-button { transition: color .2s ease; }
body.zg .zg-textlink .elementor-button-icon { transition: transform .2s ease; }
body.zg .zg-textlink .elementor-button:hover .elementor-button-icon { transform: translateX(4px); }

/* ---------- En-tête ---------- */
body.zg [data-id="zghead00"] {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(255, 255, 255, .92) !important;
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--zg-line);
}
body.admin-bar.zg [data-id="zghead00"] { top: 32px; }
body.zg .zg-logo img { display: block; }
body.zg .zg-nav .hfe-nav-menu > li > a,
body.zg .zg-nav .hfe-nav-menu > li > .hfe-has-submenu-container > a { border-radius: 999px; transition: background-color .2s ease, color .2s ease; }
body.zg .zg-nav .hfe-nav-menu > li:hover > a,
body.zg .zg-nav .hfe-nav-menu > li:hover > .hfe-has-submenu-container > a { background: var(--zg-rose); color: var(--zg-ink) !important; }
body.zg .zg-nav .sub-menu {
	border-radius: 18px !important;
	border: 1px solid var(--zg-line) !important;
	box-shadow: 0 24px 48px -20px rgba(59, 42, 46, .25) !important;
	padding: 8px !important;
	min-width: 260px !important;
	overflow: hidden;
}
body.zg .zg-nav .sub-menu a { border-radius: 10px; }
body.zg .zg-socials .elementor-social-icon { transition: background-color .2s ease, transform .2s ease; }
body.zg .zg-socials .elementor-social-icon:hover { transform: translateY(-2px); }

/* ---------- Hero ---------- */
body.zg .zg-eyebrow .elementor-heading-title { display: inline-flex; align-items: center; gap: 10px; }
body.zg .zg-eyebrow .elementor-heading-title::before { content: ""; width: 28px; height: 1.5px; background: var(--zg-gold); }
body.zg .zg-h1 em { font-style: italic; color: var(--zg-gold-ink); padding-right: .06em; }
body.zg .zg-h1 .elementor-heading-title { padding-bottom: .06em; }
body.zg .zg-lead { max-width: 34em; }

body.zg [data-id="zghvis00"] { position: relative; }
body.zg [data-id="zghvis00"]::before {
	content: "";
	position: absolute;
	width: 58%;
	aspect-ratio: 1;
	right: -6%;
	top: -4%;
	border-radius: 50%;
	background: var(--zg-rose);
	z-index: 0;
}
body.zg .zg-arch { position: relative; z-index: 1; max-width: 460px; margin-inline: auto; }
body.zg .zg-arch .elementor-widget-container { position: relative; }
body.zg .zg-arch .elementor-widget-container::before {
	content: "";
	position: absolute;
	inset: -16px 16px 16px -16px;
	border: 1.5px solid var(--zg-gold);
	border-radius: 999px 999px 26px 26px;
	pointer-events: none;
}
body.zg .zg-arch img {
	display: block;
	width: 100%;
	aspect-ratio: 5 / 6;
	object-fit: cover;
	object-position: 42% center;
	border-radius: 999px 999px 26px 26px;
	position: relative;
}
body.zg [data-id="zghstat0"] {
	position: absolute !important;
	left: 0;
	bottom: 36px;
	width: auto !important;
	z-index: 2;
	box-shadow: 0 24px 50px -22px rgba(59, 42, 46, .35);
	border: 1px solid var(--zg-line);
}
body.zg [data-id="zghstat0"] .elementor-heading-title { line-height: 1 !important; }

/* ---------- Tuiles thèmes ---------- */
@media (min-width: 1025px) {
	body.zg [data-id="zgtile01"] { grid-row: span 2; }
	body.zg [data-id="zgtile07"] { grid-column: span 2; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	body.zg [data-id="zgthmgrd"] { grid-template-rows: none !important; grid-auto-rows: auto; }
	body.zg [data-id="zgtile07"] { grid-column: span 2; }
}
@media (max-width: 767px) {
	body.zg [data-id="zgthmgrd"] { grid-template-rows: none !important; }
}
body.zg .zg-tile {
	position: relative;
	overflow: hidden;
	text-decoration: none !important;
	transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
body.zg .zg-tile--white { box-shadow: inset 0 0 0 1px var(--zg-line); }
body.zg .zg-tile:hover { transform: translateY(-4px); box-shadow: var(--zg-shadow); }
body.zg .zg-tile--white:hover { background-color: var(--zg-bg) !important; box-shadow: inset 0 0 0 1px var(--zg-line), var(--zg-shadow); }
body.zg .zg-tile:not(.zg-tile--dark)::after {
	content: "";
	position: absolute;
	top: 24px;
	right: 24px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--zg-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B2A2E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / 18px no-repeat;
	box-shadow: inset 0 0 0 1px var(--zg-line);
	transition: transform .25s ease, background-color .25s ease;
}
body.zg .zg-tile--white::after { background-color: var(--zg-bg); }
body.zg .zg-tile:hover::after { transform: rotate(45deg); background-color: var(--zg-gold); }
body.zg [data-id="zgtile01"] { justify-content: space-between !important; }
body.zg [data-id="zgtile01"]::before {
	content: "";
	position: absolute;
	right: -40px;
	bottom: -40px;
	width: 260px;
	height: 260px;
	background: url("/wp-content/uploads/2020/11/cropped-cropped-cropped-cropped-logo-zgarni3.png") center / contain no-repeat;
	opacity: .22;
	pointer-events: none;
}
body.zg [data-id="zgtile01"] .elementor-heading-title { font-size: 34px !important; }
body.zg .zg-fakebtn .elementor-heading-title {
	display: inline-block;
	background: var(--zg-gold);
	padding: 14px 26px;
	border-radius: 999px;
	white-space: nowrap;
	transition: background-color .25s ease;
}
body.zg [data-id="zgtile07"]:hover .zg-fakebtn .elementor-heading-title { background: #F1D68E; }

/* ---------- Livres (Tutor LMS) ---------- */
body.zg .zg-courses .tutor-card,
body.zg .zg-courses .tutor-course-card {
	border: 0 !important;
	border-radius: 20px !important;
	overflow: hidden;
	background: var(--zg-white) !important;
	box-shadow: inset 0 0 0 1px var(--zg-line) !important;
	transition: transform .25s ease, box-shadow .25s ease;
	height: 100%;
}
body.zg .zg-courses .tutor-card:hover,
body.zg .zg-courses .tutor-course-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--zg-line), var(--zg-shadow) !important; }
body.zg .zg-courses .tutor-course-name,
body.zg .zg-courses .tutor-course-name a {
	font-family: Urbanist, sans-serif !important;
	font-weight: 800 !important;
	font-size: 20px !important;
	line-height: 1.2 !important;
	color: var(--zg-ink) !important;
}
body.zg .zg-courses .tutor-card-body { padding: 20px 22px 24px !important; }

/* ---------- Bases ---------- */
@media (min-width: 768px) {
	body.zg .zg-sticky { position: sticky !important; top: 120px; align-self: flex-start; }
}
body.zg .zg-base-illu img {
	width: 76px;
	height: 76px;
	object-fit: contain;
	padding: 10px;
	background: var(--zg-white);
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px var(--zg-line);
	filter: sepia(.35) saturate(.8) hue-rotate(-8deg);
}

/* ---------- Hadith ---------- */
body.zg [data-id="zghad000"] { position: relative; overflow: hidden; }
body.zg [data-id="zghadfr1"] .elementor-heading-title { max-width: 26em; margin-inline: auto; }
body.zg [data-id="zghadar1"] p { max-width: 24em; margin-inline: auto; }

/* ---------- Contact ---------- */
body.zg .zg-ctabox { box-shadow: inset 0 0 0 1px var(--zg-line); position: relative; overflow: hidden; }
body.zg .zg-ctabox::after {
	content: "";
	position: absolute;
	right: -60px;
	top: -60px;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: var(--zg-rose);
	opacity: .6;
	pointer-events: none;
}
body.zg .zg-ctabox > * { position: relative; z-index: 1; }

/* ---------- Pied de page ---------- */
body.zg .zg-flinks .elementor-icon-list-icon { display: none; }
body.zg .zg-flinks a { transition: color .2s ease; }
body.zg [data-id="zgflogo1"] img { background: #FFFFFF; border-radius: 50%; padding: 4px; }

/* ---------- Mobile ---------- */
@media (max-width: 1024px) {
	body.zg .zg-hactions .zg-socials { display: none; }
}
@media (max-width: 767px) {
	body.zg [data-id="zghead00"] { flex-wrap: nowrap !important; }
	body.zg .zg-hactions .zg-btn .elementor-button { padding: 10px 16px !important; font-size: 14px !important; }
	body.zg [data-id="zghstat0"] { position: relative !important; left: auto; bottom: auto; margin: -40px auto 0 !important; }
	body.zg .zg-arch { max-width: 320px; }
	body.zg [data-id="zghvis00"]::before { width: 70%; right: -10%; }
	body.zg [data-id="zgtile01"] .elementor-heading-title { font-size: 28px !important; }
	body.zg [data-id="zgtile01"]::before { width: 180px; height: 180px; }
	body.zg .zg-fakebtn .elementor-heading-title { padding: 12px 22px; }
}

@media (prefers-reduced-motion: reduce) {
	body.zg * { transition: none !important; animation: none !important; }
}

/* ---------- Correctifs de mise en page ---------- */
body.zg [data-id="zghact01"],
body.zg .zg-fcol,
body.zg [data-id="zgbookhd"] > .e-con,
body.zg [data-id="zgctatx0"] { width: auto !important; }
body.zg [data-id="zghact01"] { flex: 0 0 auto !important; }
body.zg .zg-fcol { flex: 0 0 auto !important; min-width: 170px; }
body.zg [data-id="zgctatx0"] { flex: 1 1 auto !important; }
body.zg .zg-nav { min-width: 0; }
body.zg .zg-nav .hfe-nav-menu { flex-wrap: nowrap !important; }
body.zg .zg-nav .hfe-nav-menu a { white-space: nowrap; }
body.zg .zg-btn .elementor-button { white-space: nowrap; }
body.zg .zg-arch { max-width: 420px; }
body.zg .zg-arch img { aspect-ratio: 10 / 11; }

/* Bandeau cookies (Complianz) aux couleurs du site */
body.zg .cmplz-cookiebanner { border-radius: 20px !important; box-shadow: 0 24px 60px -24px rgba(59, 42, 46, .35) !important; font-family: Figtree, sans-serif !important; }
body.zg .cmplz-cookiebanner .cmplz-btn { border-radius: 999px !important; font-weight: 600 !important; }
body.zg .cmplz-cookiebanner .cmplz-btn.cmplz-accept { background: #C9A24A !important; border-color: #C9A24A !important; color: #3B2A2E !important; }
body.zg .cmplz-cookiebanner .cmplz-btn:not(.cmplz-accept) { background: #FBF7F2 !important; border-color: #EFE4D6 !important; color: #3B2A2E !important; }
body.zg .cmplz-cookiebanner .cmplz-links a { color: #8C6424 !important; }

/* =========================================================
   Version « moderne » (identifiants zv…)
   ========================================================= */

/* En-tête flottant en pilule */
body.zg .zv-header {
	position: sticky !important;
	top: 12px !important;
	margin: 12px auto 0 !important;
	max-width: min(1240px, calc(100% - 32px));
	border-radius: 999px;
	border: 1px solid rgba(239, 228, 214, .9) !important;
	box-shadow: 0 12px 40px -18px rgba(59, 42, 46, .25);
	padding-left: 14px !important;
	padding-right: 10px !important;
}
body.admin-bar.zg .zv-header { top: 44px !important; }
body.zg .zv-header > .e-con-inner { padding: 0 !important; }

/* Panneau du haut : dégradé doux rose, or, beige */
body.zg .zv-panel {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(60% 80% at 100% 0%, rgba(243, 221, 224, .95) 0%, rgba(243, 221, 224, 0) 70%),
		radial-gradient(50% 70% at 0% 100%, rgba(233, 211, 166, .55) 0%, rgba(233, 211, 166, 0) 70%),
		#FBF4EE;
	isolation: isolate;
}
body.zg .zv-panel::after {
	content: "";
	position: absolute;
	right: -120px;
	bottom: -160px;
	width: 520px;
	height: 520px;
	background: url("/wp-content/uploads/2020/11/cropped-cropped-cropped-cropped-logo-zgarni3.png") center / contain no-repeat;
	opacity: .10;
	z-index: -1;
	pointer-events: none;
}
body.zg .zv-badge .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: rgba(255, 255, 255, .75);
	border: 1px solid rgba(201, 162, 74, .35);
	padding: 8px 16px 8px 10px;
	border-radius: 999px;
}
body.zg .zv-badge .elementor-heading-title::before {
	content: "";
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #C9A24A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B2A2E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
body.zg .zv-h1 .elementor-heading-title { text-wrap: balance; }

/* Collage de couvertures */
body.zg .zv-collage { position: relative; min-height: 500px; }
body.zg .zv-cover { position: absolute !important; width: 80% !important; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
body.zg .zv-cover img {
	display: block;
	width: 100%;
	aspect-ratio: 1078 / 543;
	object-fit: cover;
	border-radius: 22px;
	border: 6px solid #FFFFFF;
	box-shadow: 0 30px 60px -28px rgba(59, 42, 46, .45);
}
body.zg .zv-cover--1 { top: 0; right: 0; transform: rotate(4deg); z-index: 1; }
body.zg .zv-cover--2 { top: 30%; left: 0; transform: rotate(-5deg); z-index: 2; }
body.zg .zv-cover--3 { bottom: 0; right: 4%; transform: rotate(2deg); z-index: 3; }
body.zg .zv-collage:hover .zv-cover--1 { transform: rotate(6deg) translate(8px, -8px); }
body.zg .zv-collage:hover .zv-cover--2 { transform: rotate(-7deg) translate(-8px, 0); }
body.zg .zv-collage:hover .zv-cover--3 { transform: rotate(3deg) translate(6px, 8px); }
body.zg .zv-chip {
	position: absolute !important;
	left: -8px;
	bottom: 8%;
	width: auto !important;
	z-index: 4;
	background: rgba(255, 255, 255, .9);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border: 1px solid #EFE4D6;
	border-radius: 999px;
	padding: 8px 20px 8px 8px !important;
	box-shadow: 0 20px 40px -20px rgba(59, 42, 46, .35);
}
body.zg .zv-chip img { border-radius: 50%; background: #FFFFFF; }
body.zg .zv-chip p { line-height: 1.3 !important; }

/* Chiffres */
body.zg .zv-stat { flex: 1 1 0 !important; padding-left: 20px !important; border-left: 2px solid #C9A24A; }
body.zg .zv-stat .elementor-heading-title { line-height: 1 !important; letter-spacing: -2px !important; }

/* Rail horizontal « En ce moment » */
body.zg .zv-rail .tutor-course-list,
body.zg .zv-rail [class*="tutor-grid"] {
	display: grid !important;
	grid-auto-flow: column !important;
	grid-auto-columns: 290px !important;
	grid-template-columns: none !important;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	gap: 20px !important;
	padding-bottom: 16px;
	scrollbar-width: thin;
	scrollbar-color: #C9A24A transparent;
}
body.zg .zv-rail .tutor-course-list > *,
body.zg .zv-rail [class*="tutor-grid"] > * { scroll-snap-align: start; width: auto !important; max-width: none !important; padding: 0 !important; }
body.zg .zg-courses .tutor-card { border-radius: 24px !important; }
body.zg .zg-courses .tutor-course-thumbnail img,
body.zg .zg-courses .tutor-card-image-top img { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
body.zg .zg-courses .tutor-card:hover .tutor-course-thumbnail img,
body.zg .zg-courses .tutor-card:hover .tutor-card-image-top img { transform: scale(1.04); }

/* Sections arrondies */
body.zg .zv-rounded-top { border-radius: 40px 40px 0 0; }

/* Tuiles thèmes */
@media (min-width: 1025px) {
	body.zg [data-id="zvthm01"] { grid-column: span 2; grid-row: span 2; }
	body.zg [data-id="zvthm06"], body.zg [data-id="zvthm07"] { grid-column: span 2; }
}
body.zg .zv-theme { position: relative; overflow: hidden; text-decoration: none !important; transition: transform .3s ease, box-shadow .3s ease; isolation: isolate; }
body.zg .zv-theme:hover { transform: translateY(-5px); box-shadow: 0 28px 50px -26px rgba(59, 42, 46, .4); }
body.zg .zv-theme--white { background: #FBF7F2; }
body.zg .zv-theme--sand { background: #F3EADF; }
body.zg .zv-theme--rose { background: radial-gradient(90% 90% at 100% 0%, #F8E9EB 0%, #F3DDE0 60%); }
body.zg .zv-theme--gold { background: radial-gradient(90% 90% at 100% 0%, #F6E7C4 0%, #EBD3A0 70%); }
body.zg .zv-theme--dark { background: #3B2A2E; }
body.zg .zv-theme::after {
	content: "";
	position: absolute;
	top: 24px;
	right: 24px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B2A2E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / 18px no-repeat;
	transition: transform .3s ease, background-color .3s ease;
}
body.zg .zv-theme--dark::after { background-color: #C9A24A; }
body.zg .zv-theme:hover::after { transform: rotate(45deg) scale(1.05); background-color: #C9A24A; }
body.zg [data-id="zvthm01"]::before {
	content: "";
	position: absolute;
	right: -60px;
	top: 50%;
	transform: translateY(-50%);
	width: 380px;
	height: 380px;
	background: url("/wp-content/uploads/2020/11/cropped-cropped-cropped-cropped-logo-zgarni3.png") center / contain no-repeat;
	opacity: .28;
	z-index: -1;
}
body.zg [data-id="zvthm01"] .elementor-heading-title { font-size: 44px !important; letter-spacing: -1.2px !important; }
body.zg [data-id="zvthm01"] p { max-width: 24em; }

/* Bases */
@media (min-width: 1025px) {
	body.zg .zv-base--big { grid-row: span 2; justify-content: flex-end !important; }
	body.zg .zv-base--wide { grid-column: span 2; }
}
body.zg .zv-base { text-decoration: none !important; box-shadow: inset 0 0 0 1px #EFE4D6; transition: transform .3s ease, box-shadow .3s ease; }
body.zg .zv-base:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px #EFE4D6, 0 28px 50px -26px rgba(59, 42, 46, .35); }
body.zg .zv-base--big { background: radial-gradient(100% 70% at 50% 0%, #F8E9EB 0%, #FFFFFF 70%) !important; }
body.zg .zv-base--big .zv-base-illu img { width: 150px !important; height: 150px !important; padding: 18px !important; }
body.zg .zv-base-illu img {
	width: 84px;
	height: 84px;
	object-fit: contain;
	padding: 12px;
	background: #F3DDE0;
	border-radius: 50%;
	filter: sepia(.35) saturate(.8) hue-rotate(-8deg);
}

/* Hadith */
body.zg .zv-hadith { position: relative; overflow: hidden; isolation: isolate; }
body.zg .zv-hadith::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(40% 60% at 15% 0%, rgba(201, 162, 74, .28) 0%, rgba(201, 162, 74, 0) 70%),
		radial-gradient(40% 60% at 90% 100%, rgba(243, 221, 224, .18) 0%, rgba(243, 221, 224, 0) 70%);
	z-index: -1;
}
body.zg .zv-hadith .elementor-heading-title { max-width: 24em; margin-inline: auto; }

/* Contact */
body.zg .zv-ctabox {
	background:
		radial-gradient(60% 120% at 100% 0%, rgba(243, 221, 224, .95) 0%, rgba(243, 221, 224, 0) 70%),
		#F3EADF;
}
body.zg [data-id="zvctatx0"] { width: auto !important; flex: 1 1 auto !important; }
body.zg [data-id="zvnowhd0"] > *,
body.zg [data-id="zvbookhd"] > * { width: auto !important; }

/* Mobile */
@media (max-width: 767px) {
	body.zg .zv-header { top: 8px !important; max-width: calc(100% - 20px); }
	body.zg .zv-collage { min-height: 300px; margin-top: 8px; }
	body.zg .zv-cover { width: 78% !important; }
	body.zg .zv-chip { left: 0; bottom: -4px; }
	body.zg .zv-stat { padding-left: 16px !important; }
	body.zg .zv-rail .tutor-course-list,
	body.zg .zv-rail [class*="tutor-grid"] { grid-auto-columns: 82% !important; }
	body.zg [data-id="zvthm01"] .elementor-heading-title { font-size: 32px !important; }
	body.zg [data-id="zvthm01"]::before { width: 240px; height: 240px; }
	body.zg .zv-rounded-top { border-radius: 28px 28px 0 0; }
}
@media (max-width: 767px) {
	body.zg [data-id="zvstat00"] > .e-con-inner { flex-direction: row !important; flex-wrap: wrap !important; row-gap: 28px !important; }
	body.zg .zv-stat { flex: 1 1 calc(50% - 12px) !important; }
	body.zg .zv-stat .elementor-heading-title { font-size: 38px !important; }
}

/* Tuile « Les Noms d'Allah » : pas de logo en filigrane */
body.zg [data-id="zvthm01"]::before,
body.zg [data-id="zgtile01"]::before { content: none !important; display: none !important; }

/* =========================================================
   Site complet (en-tête et pied globaux, pages secondaires)
   ========================================================= */

/* En-tête UAE : le conteneur #masthead devient collant, le contenu est la pilule */
body.zg #masthead {
	position: sticky;
	top: 12px;
	z-index: 90;
	background: transparent;
	pointer-events: none;
}
body.admin-bar.zg #masthead { top: 44px; }
body.zg #masthead .zv-header { position: relative !important; top: 0 !important; pointer-events: auto; }
body.zg #masthead + * { margin-top: 0; }
body.zg .zv-header ~ .zv-header { display: none; }

/* Fil d'Ariane */
body.zg .zs-crumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; font-weight: 500; }
body.zg .zs-crumb a { color: #8C6424; text-decoration: none; }
body.zg .zs-crumb a:hover { color: #3B2A2E; text-decoration: underline; }
body.zg .zs-crumb span[aria-hidden] { color: #C9A24A; }
body.zg .zs-hero .zg-lead { max-width: 40em; }
body.zg .zs-h1 .elementor-heading-title { text-wrap: balance; }

/* Pastilles de thèmes */
body.zg .zs-chips {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 2px 2px 10px;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
	mask-image: linear-gradient(90deg, #000 92%, transparent);
}
body.zg .zs-chips::-webkit-scrollbar { display: none; }
body.zg .zs-chips a {
	flex: 0 0 auto;
	padding: 11px 20px;
	border-radius: 999px;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1px #EFE4D6;
	color: #3B2A2E;
	font: 500 15px/1.2 Figtree, sans-serif;
	text-decoration: none;
	transition: background-color .2s ease, box-shadow .2s ease, color .2s ease;
	white-space: nowrap;
}
body.zg .zs-chips a:hover { background: #F3DDE0; box-shadow: inset 0 0 0 1px #F3DDE0; }
body.zg .zs-chips a[aria-current="page"] { background: #3B2A2E; color: #FFFFFF; box-shadow: none; }

/* Recherche (page Tous les cours) */
body.zg .zs-search { max-width: 560px; width: 100%; }
body.zg .zs-search .hfe-search-form__container,
body.zg .zs-search form > div { border-radius: 999px !important; overflow: hidden; background: #FFFFFF !important; box-shadow: 0 16px 40px -24px rgba(59, 42, 46, .35); border: 1px solid #EFE4D6 !important; }
body.zg .zs-search input[type="search"] {
	background: #FFFFFF !important;
	border: 0 !important;
	color: #3B2A2E !important;
	font: 500 16px Figtree, sans-serif !important;
	padding-left: 24px !important;
	min-height: 56px;
}
body.zg .zs-search input[type="search"]::placeholder { color: #8A7A7D !important; font-weight: 400; }
body.zg .zs-search button { background: #C9A24A !important; color: #3B2A2E !important; border-radius: 999px !important; margin: 6px; min-width: 44px; }

/* Grilles de cours */
body.zg .zs-grid .tutor-pagination,
body.zg .zg-courses .tutor-pagination { margin-top: 32px; }
body.zg .zg-courses .tutor-pagination a,
body.zg .zg-courses .tutor-pagination span,
body.zg .zg-courses .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border-radius: 999px;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1px #EFE4D6;
	color: #3B2A2E !important;
	font: 600 15px Figtree, sans-serif;
	text-decoration: none;
}
body.zg .zg-courses .page-numbers.current,
body.zg .zg-courses .tutor-pagination .current { background: #3B2A2E; color: #FFFFFF !important; box-shadow: none; }
body.zg .zg-courses .tutor-course-name a:hover { color: #8C6424 !important; }
body.zg .zg-courses .tutor-card-image-top,
body.zg .zg-courses .tutor-course-thumbnail { overflow: hidden; }

/* Cartes Contact */
body.zg .zs-card { flex: 1 1 0 !important; }
body.zg .zs-card--rose { background: radial-gradient(90% 90% at 100% 0%, #F8E9EB 0%, #F3DDE0 70%); }
body.zg .zs-card--sand { background: #F3EADF; }
body.zg .zs-icon .elementor-icon {
	width: 56px;
	height: 56px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #FFFFFF;
}
body.zg .zs-grow { flex: 1 1 auto !important; width: auto !important; }

/* Connexion */
body.zg .zs-login-side { min-height: 560px; }
body.zg .zs-login-logo img { background: #FFFFFF; border-radius: 50%; padding: 6px; }
body.zg .zs-login-note a { color: #8C6424; font-weight: 600; }
body.zg .zs-login-form { box-shadow: inset 0 0 0 1px #EFE4D6; }

/* Formulaires Ultimate Member */
body.zg .um { max-width: 100% !important; font-family: Figtree, sans-serif !important; }
body.zg .um .um-field-label label { font: 600 14px Figtree, sans-serif !important; color: #3B2A2E !important; }
body.zg .um input[type="text"],
body.zg .um input[type="email"],
body.zg .um input[type="password"],
body.zg .um input[type="tel"],
body.zg .um textarea,
body.zg .um select {
	height: 54px !important;
	border-radius: 14px !important;
	border: 1px solid #E6D6C6 !important;
	background: #FBF7F2 !important;
	color: #3B2A2E !important;
	font: 16px Figtree, sans-serif !important;
	padding: 0 18px !important;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
body.zg .um input:focus,
body.zg .um textarea:focus { border-color: #C9A24A !important; box-shadow: 0 0 0 4px rgba(201, 162, 74, .2) !important; background: #FFFFFF !important; outline: 0; }
body.zg .um .um-button,
body.zg .um input[type="submit"].um-button {
	background: #3B2A2E !important;
	color: #FFFFFF !important;
	border-radius: 999px !important;
	height: 54px !important;
	font: 600 16px Figtree, sans-serif !important;
	box-shadow: none !important;
	transition: background-color .2s ease, color .2s ease;
}
body.zg .um .um-button:hover { background: #C9A24A !important; color: #3B2A2E !important; }
body.zg .um .um-button.um-alt,
body.zg .um .um-alt { background: #FFFFFF !important; color: #3B2A2E !important; box-shadow: inset 0 0 0 1.5px #3B2A2E !important; }
body.zg .um .um-field-checkbox-option,
body.zg .um .um-link-alt,
body.zg .um a { color: #6E5B5E !important; font-family: Figtree, sans-serif !important; }
body.zg .um a:hover { color: #8C6424 !important; }
body.zg .um .um-field-checkbox.active .um-icon-android-checkbox-outline,
body.zg .um .um-field-checkbox-state i { color: #C9A24A !important; }

/* Pages de texte (mentions légales, CGU, confidentialité…) */
body.zg:not(.elementor-page) .site-main,
body.zg.page-template-default .site-main { max-width: 820px; margin: 0 auto; padding: 56px 24px 96px; }
body.zg .site-main .page-header .entry-title,
body.zg .site-main > h1.entry-title {
	font: 800 52px/1.05 Urbanist, sans-serif;
	letter-spacing: -1.5px;
	color: #3B2A2E;
	margin-bottom: 32px;
}
body.zg .site-main .page-content { color: #4A3A3E; font: 17px/1.75 Figtree, sans-serif; }
body.zg .site-main .page-content h2,
body.zg .site-main .page-content h3 { font-family: Urbanist, sans-serif; font-weight: 800; color: #3B2A2E; letter-spacing: -.3px; margin: 1.8em 0 .6em; }
body.zg .site-main .page-content a { color: #8C6424; }

/* Titres par défaut (anciennes pages) */
body.zg h1, body.zg h2, body.zg h3 { font-family: Urbanist, sans-serif; }

/* Mobile */
@media (max-width: 767px) {
	body.zg #masthead { top: 8px; }
	body.zg .zs-login-side { min-height: 0; }
	body.zg .site-main .page-header .entry-title,
	body.zg .site-main > h1.entry-title { font-size: 36px; }
}

/* =========================================================
   Couleurs globales (kit Elementor et Tutor LMS) : les anciennes pages suivent
   ========================================================= */
body.zg.elementor-kit-49,
body.zg .elementor-kit-49 {
	--e-global-color-primary: #3B2A2E;
	--e-global-color-secondary: #C9A24A;
	--e-global-color-text: #5A474B;
	--e-global-color-accent: #8C6424;
	--e-global-typography-primary-font-family: "Urbanist";
	--e-global-typography-primary-font-weight: 800;
	--e-global-typography-secondary-font-family: "Urbanist";
	--e-global-typography-secondary-font-weight: 700;
	--e-global-typography-text-font-family: "Figtree";
	--e-global-typography-accent-font-family: "Figtree";
}
body.zg {
	--tutor-color-primary: #3B2A2E;
	--tutor-color-primary-rgb: 59, 42, 46;
	--tutor-color-primary-hover: #C9A24A;
	--tutor-color-black: #3B2A2E;
	--tutor-body-color: #5A474B;
	--tutor-color-secondary: #6E5B5E;
	--tutor-border-color: #EFE4D6;
}

/* Réseaux sociaux du pied de page alignés à gauche */
body.zg [data-id="zgfsoc01"] { text-align: left !important; }
body.zg [data-id="zgfsoc01"] .elementor-social-icons-wrapper { justify-content: flex-start !important; }

/* Champs remplis automatiquement par le navigateur */
body.zg input:-webkit-autofill,
body.zg input:-webkit-autofill:hover,
body.zg input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 1000px #FBF7F2 inset !important;
	-webkit-text-fill-color: #3B2A2E !important;
	transition: background-color 9999s ease-out;
}

/* =========================================================
   Fiche d'un cours (Tutor LMS)
   ========================================================= */
body.zg.single-courses .tutor-course-details-page { max-width: 1240px; padding: 40px 24px 96px !important; }
body.zg .tutor-course-details-header { margin-bottom: 32px !important; }
body.zg .tutor-course-details-title {
	font: 800 56px/1.05 Urbanist, sans-serif !important;
	letter-spacing: -1.8px;
	color: #3B2A2E !important;
	text-wrap: balance;
}
body.zg .tutor-course-details-top .tutor-meta { color: #6E5B5E; font: 500 15px Figtree, sans-serif; }
body.zg .tutor-course-details-top .tutor-meta a {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: #F3DDE0;
	color: #3B2A2E !important;
	font-weight: 600;
	text-decoration: none;
	margin: 2px 2px 2px 0;
}
body.zg .tutor-course-details-top .tutor-meta a:hover { background: #C9A24A; }
body.zg .tutor-course-thumbnail img,
body.zg .tutor-course-thumbnail { border-radius: 32px; overflow: hidden; }
body.zg .tutor-course-thumbnail { box-shadow: 0 30px 60px -34px rgba(59, 42, 46, .45); }

body.zg .tutor-course-details-tab .tutor-course-content-title,
body.zg .tutor-course-details-tab .tutor-fs-5 {
	font: 800 32px/1.1 Urbanist, sans-serif !important;
	letter-spacing: -.8px;
	color: #3B2A2E !important;
}
body.zg .tutor-accordion-item {
	border: 0 !important;
	border-radius: 28px !important;
	overflow: hidden;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1px #EFE4D6;
}
body.zg .tutor-accordion-item-header {
	background: #F3EADF !important;
	color: #3B2A2E !important;
	font: 700 20px Urbanist, sans-serif !important;
	padding: 20px 26px !important;
	border: 0 !important;
}
body.zg .tutor-accordion-item-header::after { color: #3B2A2E !important; }
body.zg .tutor-accordion-item-body-content { padding: 8px 12px 12px !important; border: 0 !important; }
body.zg .tutor-course-content-list-item {
	padding: 14px 14px !important;
	border-radius: 14px;
	transition: background-color .2s ease;
	margin: 0 !important;
}
body.zg .tutor-course-content-list-item + .tutor-course-content-list-item { border-top: 1px solid #F3EADF; }
body.zg .tutor-course-content-list-item:hover { background: #FBF7F2; }
body.zg .tutor-course-content-list-item-title,
body.zg .tutor-course-content-list-item-title a { color: #3B2A2E !important; font: 500 16px/1.4 Figtree, sans-serif !important; }
body.zg .tutor-course-content-list-item-icon { color: #C9A24A !important; }

/* Encadré latéral (prix + inscription) */
body.zg .tutor-sidebar-card {
	border: 0 !important;
	border-radius: 32px !important;
	overflow: hidden;
	background: radial-gradient(90% 70% at 100% 0%, #F8E9EB 0%, #FFFFFF 70%) !important;
	box-shadow: inset 0 0 0 1px #EFE4D6, 0 30px 60px -40px rgba(59, 42, 46, .35) !important;
	position: sticky;
	top: 110px;
}
body.zg .tutor-sidebar-card .tutor-card-body { padding: 32px !important; background: transparent !important; }
body.zg .tutor-sidebar-card .tutor-card-footer { display: none; }
body.zg .tutor-course-single-pricing .tutor-fs-4 { font: 800 40px/1 Urbanist, sans-serif !important; color: #3B2A2E !important; letter-spacing: -1px; }
body.zg .tutor-enroll-course-button,
body.zg .tutor-btn-primary {
	background: #3B2A2E !important;
	border: 0 !important;
	color: #FFFFFF !important;
	border-radius: 999px !important;
	font: 600 16px Figtree, sans-serif !important;
	padding: 16px 28px !important;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
body.zg .tutor-enroll-course-button:hover,
body.zg .tutor-btn-primary:hover { background: #C9A24A !important; color: #3B2A2E !important; transform: translateY(-2px); }
body.zg .tutor-sidebar-card .tutor-fs-7 { color: #6E5B5E !important; font: 14px Figtree, sans-serif !important; }

/* Fenêtre de connexion Tutor */
body.zg .tutor-modal-content { border-radius: 28px !important; }
body.zg .tutor-form-control { border-radius: 14px !important; border-color: #E6D6C6 !important; min-height: 50px; }
body.zg .tutor-form-control:focus { border-color: #C9A24A !important; box-shadow: 0 0 0 4px rgba(201, 162, 74, .2) !important; }

/* Pages de catégories Tutor (course-category) */
body.zg.tax-course-category .tutor-wrap,
body.zg.post-type-archive-courses .tutor-wrap { max-width: 1240px; margin: 0 auto; padding: 40px 24px 96px; }
body.zg.tax-course-category .tutor-course-card,
body.zg.post-type-archive-courses .tutor-course-card { border-radius: 24px !important; border: 0 !important; box-shadow: inset 0 0 0 1px #EFE4D6 !important; overflow: hidden; }
body.zg.tax-course-category .tutor-course-name a,
body.zg.post-type-archive-courses .tutor-course-name a { font: 800 20px/1.2 Urbanist, sans-serif !important; color: #3B2A2E !important; }

@media (max-width: 767px) {
	body.zg .tutor-course-details-title { font-size: 36px !important; }
	body.zg .tutor-sidebar-card { position: static; }
	body.zg .tutor-course-thumbnail, body.zg .tutor-course-thumbnail img { border-radius: 22px; }
}

/* =========================================================
   Page « Le parcours d'Oum Chems »
   ========================================================= */
body.zg .zs-basmala img { filter: sepia(.2) saturate(.9); }
body.zg .zs-khutba { max-width: 46em; margin-inline: auto; }
body.zg .zs-khutba p:first-child { font-family: Urbanist, sans-serif; font-size: 22px; letter-spacing: -.2px; }
body.zg .zs-studies { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 4px 0 0; padding: 0; }
body.zg .zs-studies li {
	padding: 10px 16px 10px 36px;
	border-radius: 999px;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1px #EFE4D6;
	font: 500 15px/1.35 Figtree, sans-serif;
	color: #3B2A2E;
	position: relative;
}
body.zg .zs-studies li::before {
	content: "";
	position: absolute;
	left: 14px;
	top: 50%;
	width: 10px;
	height: 10px;
	margin-top: -5px;
	border-radius: 50%;
	background: #C9A24A;
}
body.zg .zs-ocard { box-shadow: inset 0 0 0 1px #EFE4D6; }
body.zg .zs-ocard--rose { background: radial-gradient(90% 90% at 100% 0%, #F8E9EB 0%, #F3DDE0 70%) !important; box-shadow: none; }
body.zg .zs-ocard--sand { background: #F3EADF !important; box-shadow: none; }
body.zg .zs-ocard--line { background: #FBF7F2 !important; }
@media (min-width: 768px) {
	body.zg .zs-ocard--wide { grid-column: span 2; }
}
body.zg .zs-rich p { margin: 0 0 .6em; }
body.zg .zs-rich p:last-child { margin-bottom: 0; }
body.zg .zs-ar {
	font: 22px/1.9 Amiri, serif !important;
	color: #3B2A2E !important;
	text-align: right;
	padding: 10px 16px;
	margin: 8px 0 12px !important;
	border-right: 3px solid #C9A24A;
	background: #FFFFFF;
	border-radius: 12px 0 0 12px;
}
body.zg .zs-refs {
	background: #3B2A2E;
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
body.zg .zs-refs::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(40% 80% at 0% 0%, rgba(201, 162, 74, .3) 0%, rgba(201, 162, 74, 0) 70%);
	z-index: -1;
}
body.zg [data-id="zsouabt0"] > .e-con-inner > .zs-card,
body.zg [data-id="zsouabt0"] > .zs-card { flex: 1 1 0 !important; }

body.zg .zs-basmala .elementor-heading-title { font-size: clamp(38px, 10.5vw, 88px) !important; white-space: nowrap; }
@media (max-width: 767px) {
	body.zg .zg-arch { padding: 12px 0 0 12px; }
	body.zg .zg-arch .elementor-widget-container::before { inset: -12px 12px 12px -12px; }
}

/* =========================================================
   Zgarni At-Tadjwid : planning de la semaine
   ========================================================= */
body.zg .zs-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; font: 500 14px Figtree, sans-serif; color: #3B2A2E; }
body.zg .zs-legend li { display: inline-flex; align-items: center; gap: 8px; }
body.zg .zs-dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
body.zg .zs-dot--inscription { background: #F3DDE0; box-shadow: inset 0 0 0 2px #D9A5AE; }
body.zg .zs-dot--libre { background: #FFFFFF; box-shadow: inset 0 0 0 2px #E6D6C6; }
body.zg .zs-dot--baqara { background: #EBD3A0; box-shadow: inset 0 0 0 2px #C9A24A; }

body.zg .zs-day { background: #FFFFFF; box-shadow: inset 0 0 0 1px #EFE4D6; align-self: start; }
body.zg .zs-day-name .elementor-heading-title { padding: 4px 4px 6px; }
body.zg .zs-slot { position: relative; transition: transform .2s ease; }
body.zg .zs-slot:hover { transform: translateY(-2px); }
body.zg .zs-slot--inscription { background: #F3DDE0; }
body.zg .zs-slot--libre { background: #FBF7F2; box-shadow: inset 0 0 0 1px #EFE4D6; }
body.zg .zs-slot--baqara { background: radial-gradient(100% 120% at 100% 0%, #F6E7C4 0%, #EBD3A0 80%); }
body.zg .zs-slot-time .elementor-heading-title { letter-spacing: -.3px; }
body.zg .zs-slot-badge { margin-top: 6px !important; }
body.zg .zs-slot-badge .elementor-heading-title {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .75);
	text-transform: uppercase;
	letter-spacing: .6px;
}
body.zg .zs-note { max-width: 46em; }
body.zg .zs-note p::before { content: "* "; color: #8C6424; font-weight: 700; }
@media (min-width: 1025px) {
	body.zg [data-id="zstjday5"] { grid-row: span 2; }
}

/* =========================================================
   Zgarni Enfants
   ========================================================= */
body.zg .zs-kids-hero {
	background:
		radial-gradient(60% 80% at 100% 0%, rgba(214, 236, 245, .9) 0%, rgba(214, 236, 245, 0) 70%),
		radial-gradient(50% 70% at 0% 100%, rgba(243, 221, 224, .9) 0%, rgba(243, 221, 224, 0) 70%),
		#FBF4EE !important;
}
body.zg .zs-kids-logo img { background: #FFFFFF; border-radius: 50%; padding: 10px; box-shadow: 0 30px 60px -30px rgba(59, 42, 46, .35); }
body.zg [data-id="zsenprgr"] > .zs-card,
body.zg [data-id="zsenprgr"] > .e-con-inner > .zs-card,
body.zg [data-id="zstjjoin"] > .zs-card,
body.zg [data-id="zstjjoin"] > .e-con-inner > .zs-card { flex: 1 1 0 !important; }

body.zg [data-id="zgfsoc01"] { --justify-content: flex-start !important; }
body.zg [data-id="zgfsoc01"] .elementor-grid { justify-content: flex-start !important; }

body.zg .zs-card--gold { background: radial-gradient(90% 90% at 100% 0%, #F6E7C4 0%, #EBD3A0 75%); }
body.zg .zs-pause { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #FFFFFF; color: #8A4452 !important; font-weight: 600; font-size: 14px; }
