:root {
	--ink: #0a0a0a;
	--ink-soft: #121212;
	--ink-raised: #1a1a19;
	--ink-line: #2a2822;
	--gold: #c6a15b;
	--gold-bright: #e9c77b;
	--gold-dim: #8a713f;
	--cream: #f2ede1;
	--stone: #8f8a7c;
	--font-display: 'Playfair Display', serif;
	--font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html, body {
	background: var(--ink);
	color: var(--cream);
	font-family: var(--font-body);
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: var(--ink); }

.egp-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------- Boutons ---------- */
.egp-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 2px;
	font-family: var(--font-body);
}
.egp-btn-gold {
	background: linear-gradient(135deg, #e9c77b 0%, #c6a15b 55%, #a3803f 100%);
	color: var(--ink);
}
.egp-btn-gold:hover { filter: brightness(1.08); }
.egp-btn-ghost {
	background: transparent;
	border: 1px solid var(--ink-line);
	color: var(--cream);
}
.egp-btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

/* ---------- Icônes SVG (remplacent les emojis) ---------- */
.egp-icon { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; flex-shrink: 0; }
.egp-icon-box .egp-icon { width: 20px; height: 20px; vertical-align: 0; }
.egp-img-placeholder-icon { width: 26px; height: 26px; color: var(--stone); }
.egp-offer-icon .egp-icon { width: 20px; height: 20px; }
.egp-step-top .egp-icon { width: 22px; height: 22px; color: var(--gold); }
.egp-burger .egp-icon { width: 22px; height: 22px; vertical-align: -5px; }
.egp-phone-link .egp-icon, .egp-footer-list .egp-icon, .egp-contact-list .egp-icon { color: var(--gold); margin-right: 2px; }
.egp-hero-checks .egp-icon { color: var(--gold); }

/* ---------- Header ---------- */
.egp-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(10,10,10,0.95);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--ink-line);
}
.egp-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 80px;
}
.egp-logo-link { display: flex; align-items: center; max-height: 64px; overflow: hidden; }
.egp-logo-link a { display: flex; align-items: center; }
.egp-logo-text {
	font-family: var(--font-display);
	font-size: 20px;
	color: var(--cream);
}
.egp-logo-text span { color: var(--gold); }
.egp-logo-link img,
.egp-logo-link .custom-logo { max-height: 56px !important; width: auto !important; height: auto; display: block; }

.egp-nav-list { display: flex; align-items: stretch; gap: 32px; list-style: none; margin: 0; padding: 0; height: 80px; }
.egp-nav-list > li { position: relative; display: flex; }
.egp-nav-list > li > a { display: flex; align-items: center; gap: 4px; height: 100%; font-size: 14px; color: var(--stone); font-weight: 500; }
.egp-nav-list > li > a:hover { color: var(--gold); }
.egp-nav-list > li > a .egp-icon { width: 13px; height: 13px; transition: transform .15s ease; }
.egp-nav-list > li.has-dropdown:hover > a .egp-icon { transform: rotate(180deg); }

.egp-dropdown {
	position: absolute;
	top: 100%;
	left: -16px;
	min-width: 260px;
	list-style: none;
	margin: 0;
	padding: 8px;
	background: var(--ink-soft);
	border: 1px solid var(--ink-line);
	display: none;
	flex-direction: column;
	z-index: 60;
}
.egp-nav-list > li.has-dropdown:hover .egp-dropdown,
.egp-nav-list > li.has-dropdown:focus-within .egp-dropdown { display: flex; }
.egp-dropdown a { display: block; padding: 11px 14px; font-size: 14px; color: var(--stone); white-space: nowrap; }
.egp-dropdown a:hover { color: var(--gold); background: var(--ink-raised); }

.egp-mobile-sublink { padding-left: 20px !important; font-size: 14px !important; color: var(--stone) !important; }
.egp-header-right { display: flex; align-items: center; gap: 20px; }
.egp-phone-link { font-size: 14px; color: var(--stone); }
.egp-phone-link:hover { color: var(--gold); }
.egp-burger { display: none; background: none; border: none; color: var(--cream); font-size: 24px; cursor: pointer; }

.egp-mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 16px 20px 24px 20px; border-top: 1px solid var(--ink-line); }
.egp-mobile-menu.is-open { display: flex; }
.egp-mobile-menu-list { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.egp-mobile-menu-list a { padding: 12px 0; color: var(--cream); font-size: 16px; }

@media (max-width: 900px) {
	.egp-nav, .egp-header-right { display: none; }
	.egp-burger { display: block; }
}

/* ---------- Offer banner ---------- */
.egp-offer-banner {
	background: linear-gradient(135deg, #e9c77b 0%, #c6a15b 45%, #8a713f 100%);
	color: var(--ink);
	text-align: center;
	padding: 16px 20px;
}
.egp-offer-inner { display: flex; align-items: center; justify-content: center; gap: 10px; }
.egp-offer-inner p { margin: 0; font-size: 14px; font-weight: 600; }

/* ---------- Hero ---------- */
.egp-hero { position: relative; border-bottom: 1px solid var(--ink-line); padding: 80px 0; background-size: cover; background-position: center; overflow: hidden; }
.egp-hero-overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.72); z-index: 1; }
.egp-hero .egp-container { position: relative; z-index: 2; }
.egp-hero-inner { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 900px) { .egp-hero-inner { grid-template-columns: 1fr 1fr; } }

.egp-eyebrow { color: var(--gold); font-size: 14px; font-weight: 500; margin: 0 0 20px 0; }
.egp-eyebrow-gold { color: var(--gold); font-size: 14px; font-weight: 500; margin: 0; }

.egp-h1 { font-family: var(--font-display); font-size: 40px; line-height: 1.15; color: var(--cream); margin: 0; font-weight: 600; }
@media (min-width: 900px) { .egp-h1 { font-size: 54px; } }
.egp-h2 { font-family: var(--font-display); font-size: 30px; color: var(--cream); margin: 8px 0 0 0; font-weight: 600; }
@media (min-width: 900px) { .egp-h2 { font-size: 36px; } }
.egp-h3 { font-family: var(--font-display); font-size: 24px; color: var(--cream); margin: 0; font-weight: 600; }
@media (min-width: 900px) { .egp-h3 { font-size: 28px; } }

.egp-lead { color: var(--stone); font-size: 16px; line-height: 1.6; max-width: 480px; }
.egp-lead-center { color: var(--stone); font-size: 14px; line-height: 1.6; text-align: center; max-width: 420px; margin: 16px auto 0 auto; }

.egp-hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.egp-hero-checks { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 40px; font-size: 14px; color: var(--stone); }
.egp-hero-graphic { max-width: 460px; margin: 0 auto; }
.egp-hero-svg { width: 100%; height: auto; }

/* ---------- Sections génériques ---------- */
.egp-section { padding: 80px 0; }
.egp-border-b { border-bottom: 1px solid var(--ink-line); }
.egp-bg-soft { background: var(--ink-soft); }
.egp-section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
.egp-section-head-center { text-align: center; max-width: 640px; margin: 0 auto 40px auto; }
.egp-link-gold { color: var(--gold); font-size: 14px; font-weight: 500; }
.egp-link-gold:hover { text-decoration: underline; }

/* ---------- Grilles ---------- */
.egp-grid-3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .egp-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .egp-grid-3 { grid-template-columns: 1fr 1fr 1fr; } }

.egp-grid-4 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .egp-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .egp-grid-4 { grid-template-columns: repeat(4,1fr); } }

/* ---------- Cards / services ---------- */
.egp-card { border: 1px solid var(--ink-line); background: var(--ink-soft); padding: 28px; display: block; }
.egp-service-card:hover { border-color: rgba(198,161,91,0.6); }
.egp-icon-box {
	width: 44px; height: 44px;
	border: 1px solid rgba(198,161,91,0.4);
	color: var(--gold);
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 20px; font-size: 20px;
}
.egp-card h3 { font-family: var(--font-display); font-size: 18px; color: var(--cream); margin: 0; font-weight: 600; }
.egp-card p { margin: 8px 0 0 0; font-size: 14px; color: var(--stone); line-height: 1.5; }
.egp-card-more { margin-top: 24px; font-size: 12px; color: var(--gold); font-weight: 500; }

.egp-step-card { border: 1px solid var(--ink-line); background: var(--ink); padding: 24px; }
.egp-step-top { display: flex; align-items: center; justify-content: space-between; }
.egp-step-num { font-family: var(--font-display); font-size: 24px; color: var(--ink-line); }
.egp-step-card h4 { margin: 20px 0 0 0; font-size: 15px; font-weight: 600; color: var(--cream); }
.egp-step-card p { margin: 8px 0 0 0; font-size: 13px; color: var(--stone); line-height: 1.5; }

/* ---------- Images / placeholders ---------- */
.egp-img { width: 100%; height: 100%; object-fit: cover; }
.egp-img-wide-wrap { margin-bottom: 40px; }
.egp-img-wide { width: 100%; object-fit: cover; }
.egp-img-placeholder {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 6px; text-align: center; padding: 24px;
	border: 1px dashed rgba(198,161,91,0.4);
	background: var(--ink-raised);
	color: var(--stone);
}
.egp-img-placeholder-icon { font-size: 24px; }
.egp-img-placeholder p { margin: 0; font-size: 13px; }
.egp-img-placeholder-hint { font-size: 11px; color: var(--gold-dim); }

/* ---------- FAQ ---------- */
.egp-faq { max-width: 760px; margin: 0 auto; }
.egp-faq-item { border-bottom: 1px solid var(--ink-line); padding: 20px 0; }
.egp-faq-item summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	font-family: var(--font-display);
	font-size: 17px;
	color: var(--cream);
	font-weight: 600;
}
.egp-faq-item summary::-webkit-details-marker { display: none; }
.egp-faq-item summary .egp-icon { color: var(--gold); flex-shrink: 0; transition: transform .2s ease; }
.egp-faq-item[open] summary .egp-icon { transform: rotate(180deg); }
.egp-faq-item p { margin: 14px 0 0 0; color: var(--stone); font-size: 14px; line-height: 1.65; max-width: 640px; }

/* ---------- CTA ---------- */
.egp-cta { text-align: center; }
.egp-cta .egp-btn { margin-top: 32px; }

/* ---------- Badges de réassurance (fiches prestation) ---------- */
.egp-trust-badge { display: flex; gap: 14px; align-items: flex-start; }
.egp-trust-badge .egp-icon { width: 26px; height: 26px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.egp-trust-badge h4 { margin: 0; font-size: 15px; color: var(--cream); font-weight: 600; }
.egp-trust-badge p { margin: 6px 0 0 0; font-size: 13px; color: var(--stone); line-height: 1.5; }

/* ---------- Prestations : détail par service ---------- */
.egp-service-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 900px) { .egp-service-grid { grid-template-columns: 1fr 1fr; } }
.egp-service-grid.is-reversed > *:first-child { order: 2; }
.egp-detail-list { list-style: none; margin: 0; padding: 24px; border: 1px solid var(--ink-line); background: var(--ink-raised); }
.egp-detail-list li { position: relative; padding-left: 18px; margin-bottom: 12px; font-size: 14px; color: var(--stone); }
.egp-detail-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; background: var(--gold); }

/* ---------- Contact ---------- */
.egp-contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 900px) { .egp-contact-grid { grid-template-columns: 1fr 1fr; } }
.egp-contact-list { list-style: none; margin: 24px 0 0 0; padding: 0; }
.egp-contact-list li { margin-bottom: 14px; font-size: 14px; color: var(--stone); }
.egp-contact-list a:hover { color: var(--gold); }
.egp-map-wrap { min-height: 320px; border: 1px solid var(--ink-line); background: var(--ink-soft); padding: 8px; }
.egp-map-iframe { width: 100%; height: 100%; min-height: 300px; border: 0; filter: grayscale(1) invert(0.92) contrast(1.05); }

/* ---------- Footer ---------- */
.egp-footer { border-top: 1px solid var(--ink-line); }
.egp-footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 64px 0; }
@media (min-width: 900px) { .egp-footer-grid { grid-template-columns: repeat(4,1fr); } }
.egp-footer-logo { margin-bottom: 16px; }
.egp-footer-text { font-size: 14px; color: var(--stone); line-height: 1.6; max-width: 260px; }
.egp-footer-h4 { font-size: 14px; font-weight: 600; color: var(--cream); margin: 0 0 16px 0; }
.egp-footer-list { list-style: none; margin: 0; padding: 0; }
.egp-footer-list li { margin-bottom: 10px; font-size: 14px; color: var(--stone); }
.egp-footer-list a:hover { color: var(--gold); }
.egp-footer-bottom { border-top: 1px solid var(--ink-line); }
.egp-footer-bottom-inner { display: flex; flex-direction: column; gap: 8px; justify-content: space-between; padding: 20px 0; font-size: 12px; color: var(--stone); }
@media (min-width: 640px) { .egp-footer-bottom-inner { flex-direction: row; } }
.egp-footer-bottom-inner a:hover { color: var(--gold); }

/* ---------- Contenu générique (page.php / index.php) ---------- */
.egp-prose { color: var(--stone); font-size: 16px; line-height: 1.7; margin-top: 20px; }
.egp-prose a { color: var(--gold); text-decoration: underline; }
.egp-prose img { margin: 24px 0; }
