/**
 * Page Guide d'achat — design magazine premium (maquette validée).
 * Chargée uniquement sur la page « guide-achat ». Classes préfixées .mmm-
 * et scopées sous .mmm-guide pour ne pas affecter le reste du thème.
 * Header/footer restent ceux du thème.
 */

.mmm-guide {
	--mmm-navy: #001B33;
	--mmm-navy-deep: #000E24;
	--mmm-ivory: #FAF7F0;
	--mmm-ivory-2: #F3EEE5;
	--mmm-sand: #E8DDD0;
	--mmm-gold: #C89B55;
	--mmm-gold-soft: #D9B879;
	--mmm-text: #162033;
	--mmm-muted: #5F6673;
	--mmm-border: #E4DED4;
	--mmm-white: #FFFFFF;
	--mmm-shadow: 0 24px 70px rgba(0, 27, 51, 0.10);
	--mmm-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--mmm-container: 1240px;
	background: var(--mmm-ivory);
	color: var(--mmm-text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	line-height: 1.6;
}
.mmm-guide img { max-width: 100%; display: block; }

.mmm-guide .mmm-container { width: min(var(--mmm-container), calc(100% - 48px)); margin-inline: auto; }

.mmm-guide .mmm-overline {
	display: inline-flex; align-items: center; gap: 10px; color: var(--mmm-gold);
	font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1;
}
.mmm-guide .mmm-overline::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.75; }

.mmm-guide .mmm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
	padding: 0 24px; border-radius: 4px; border: 1px solid transparent; font-size: 12px; font-weight: 800;
	letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
	transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease; cursor: pointer;
}
.mmm-guide .mmm-btn:hover { transform: translateY(-1px); }
.mmm-guide .mmm-btn--gold { background: var(--mmm-gold); color: var(--mmm-white); border-color: var(--mmm-gold); }
.mmm-guide .mmm-btn--gold:hover { background: #B88941; border-color: #B88941; }
.mmm-guide .mmm-btn--outline-light { background: rgba(255,255,255,0.05); color: var(--mmm-white); border-color: rgba(255,255,255,0.7); }
.mmm-guide .mmm-btn--outline-light:hover { background: var(--mmm-white); color: var(--mmm-navy); }

/* Hero */
.mmm-guide .mmm-hero { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; background: var(--mmm-navy); }
.mmm-guide .mmm-hero__bg {
	position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(0,14,36,0.95) 0%, rgba(0,27,51,0.76) 34%, rgba(0,27,51,0.16) 68%, rgba(0,27,51,0.08) 100%),
		var(--mmm-hero-img, none) center right / cover no-repeat;
	background-color: var(--mmm-navy);
}
.mmm-guide .mmm-hero__content { position: relative; z-index: 1; width: min(690px, 100%); color: var(--mmm-white); padding: 84px 0 92px; }
.mmm-guide .mmm-hero h1 { font-family: var(--mmm-serif); font-size: clamp(40px, 4.6vw, 60px); line-height: 1.08; letter-spacing: -.015em; font-weight: 500; margin: 22px 0 24px; color: var(--mmm-white); text-shadow: 0 1px 26px rgba(0, 18, 38, .32); }
.mmm-guide .mmm-hero p { max-width: 560px; color: rgba(255,255,255,0.88); font-size: clamp(16px, 1.45vw, 19px); line-height: 1.75; margin: 0 0 34px; }
.mmm-guide .mmm-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Réassurance */
.mmm-guide .mmm-trust { background: var(--mmm-ivory); border-bottom: 1px solid var(--mmm-border); }
.mmm-guide .mmm-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.mmm-guide .mmm-trust__item { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; padding: 30px 26px; border-right: 1px solid var(--mmm-border); min-height: 118px; }
.mmm-guide .mmm-trust__item:last-child { border-right: none; }
.mmm-guide .mmm-trust__icon { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(200,155,85,0.45); color: var(--mmm-gold); display: grid; place-items: center; font-size: 22px; background: rgba(255,255,255,0.55); }
.mmm-guide .mmm-trust h3 { margin: 0 0 4px; font-family: var(--mmm-serif); font-size: 19px; font-weight: 600; line-height: 1.2; color: var(--mmm-navy); }
.mmm-guide .mmm-trust p { margin: 0; color: var(--mmm-muted); font-size: 13px; line-height: 1.45; }

/* Sections */
.mmm-guide .mmm-section { padding: clamp(54px, 6vw, 92px) 0; }
.mmm-guide .mmm-section--soft { background: var(--mmm-ivory-2); }
.mmm-guide .mmm-section__header { max-width: 820px; margin: 0 auto 40px; text-align: center; }
.mmm-guide .mmm-section__header h2 { margin: 0 0 14px; font-family: var(--mmm-serif); font-size: clamp(34px, 4vw, 54px); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; color: var(--mmm-navy); }
.mmm-guide .mmm-section__header p { margin: 0 auto; color: var(--mmm-muted); max-width: 740px; font-size: 17px; line-height: 1.7; }

/* Timeline */
.mmm-guide .mmm-timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; padding-top: 22px; }
.mmm-guide .mmm-timeline::before { content: ""; position: absolute; top: 52px; left: 7%; right: 7%; height: 1px; background: linear-gradient(90deg, transparent, rgba(200,155,85,0.65), transparent); }
.mmm-guide .mmm-step { position: relative; text-align: center; z-index: 1; }
.mmm-guide .mmm-step__number { width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--mmm-navy); color: var(--mmm-gold-soft); border: 2px solid var(--mmm-gold); font-family: var(--mmm-serif); font-size: 24px; line-height: 1; box-shadow: 0 16px 40px rgba(0, 27, 51, 0.16); }
.mmm-guide .mmm-step h3 { margin: 0 0 8px; color: var(--mmm-navy); font-family: var(--mmm-serif); font-size: 19px; font-weight: 600; line-height: 1.2; }
.mmm-guide .mmm-step p { margin: 0; color: var(--mmm-muted); font-size: 13px; line-height: 1.55; }

/* Cartes usage */
.mmm-guide .mmm-usage-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.mmm-guide .mmm-usage-card { position: relative; overflow: hidden; border-radius: 10px; background: var(--mmm-white); border: 1px solid var(--mmm-border); box-shadow: 0 18px 45px rgba(0, 27, 51, 0.06); transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.mmm-guide .mmm-usage-card:hover { transform: translateY(-4px); border-color: rgba(200,155,85,0.6); box-shadow: var(--mmm-shadow); }
.mmm-guide .mmm-usage-card__image { height: 174px; overflow: hidden; background: var(--mmm-sand); }
.mmm-guide .mmm-usage-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.mmm-guide .mmm-usage-card:hover img { transform: scale(1.05); }
.mmm-guide .mmm-usage-card__icon { width: 48px; height: 48px; margin: -24px 0 12px 24px; position: relative; z-index: 1; border-radius: 50%; background: var(--mmm-gold); color: var(--mmm-white); display: grid; place-items: center; border: 4px solid var(--mmm-white); font-size: 20px; }
.mmm-guide .mmm-usage-card__body { padding: 0 24px 24px; }
.mmm-guide .mmm-usage-card h3 { margin: 0 0 10px; font-family: var(--mmm-serif); font-size: 22px; font-weight: 600; line-height: 1.18; color: var(--mmm-navy); }
.mmm-guide .mmm-usage-card p { margin: 0 0 18px; color: var(--mmm-muted); font-size: 14px; line-height: 1.62; }
.mmm-guide .mmm-card-link { color: var(--mmm-gold); font-size: 11px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }

/* Panneaux split */
.mmm-guide .mmm-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mmm-guide .mmm-panel { position: relative; overflow: hidden; min-height: 430px; background: var(--mmm-white); border: 1px solid var(--mmm-border); border-radius: 12px; box-shadow: 0 18px 50px rgba(0, 27, 51, 0.06); }
.mmm-guide .mmm-panel--image-left, .mmm-guide .mmm-panel--image-right { display: grid; grid-template-columns: 38% 62%; }
.mmm-guide .mmm-panel--image-right { grid-template-columns: 62% 38%; }
.mmm-guide .mmm-panel__media { position: relative; min-height: 100%; background: var(--mmm-sand); }
.mmm-guide .mmm-panel__media img { width: 100%; height: 100%; object-fit: cover; }
.mmm-guide .mmm-panel__content { padding: clamp(26px, 3.2vw, 46px); position: relative; z-index: 1; }
.mmm-guide .mmm-panel h2, .mmm-guide .mmm-panel h3 { margin: 0 0 20px; font-family: var(--mmm-serif); color: var(--mmm-navy); font-size: clamp(28px, 3vw, 40px); font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; }
.mmm-guide .mmm-checklist, .mmm-guide .mmm-doc-list, .mmm-guide .mmm-simple-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.mmm-guide .mmm-checklist li, .mmm-guide .mmm-doc-list li, .mmm-guide .mmm-simple-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--mmm-text); font-size: 14px; line-height: 1.45; }
.mmm-guide .mmm-checklist li::before, .mmm-guide .mmm-doc-list li::before, .mmm-guide .mmm-simple-list li::before { content: "\2713"; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(200,155,85,0.14); color: var(--mmm-gold); font-size: 12px; font-weight: 900; margin-top: 1px; }
.mmm-guide .mmm-doc-list li::before { content: "\25A1"; border-radius: 4px; }
.mmm-guide .mmm-note { margin-top: 22px; padding: 16px 18px; border-left: 3px solid var(--mmm-gold); background: rgba(200,155,85,0.10); color: var(--mmm-muted); font-size: 13px; line-height: 1.6; }

/* Budget / accompagnement */
.mmm-guide .mmm-budget-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 24px; }
.mmm-guide .mmm-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--mmm-border); border: 1px solid var(--mmm-border); border-radius: 10px; overflow: hidden; margin-top: 22px; }
.mmm-guide .mmm-mini { background: rgba(255,255,255,0.76); padding: 20px 14px; text-align: center; min-height: 116px; display: grid; place-items: center; gap: 8px; }
.mmm-guide .mmm-mini span { color: var(--mmm-gold); font-size: 25px; line-height: 1; }
.mmm-guide .mmm-mini strong { display: block; color: var(--mmm-navy); font-size: 13px; line-height: 1.25; }
.mmm-guide .mmm-accompany { display: grid; grid-template-columns: 58% 42%; overflow: hidden; min-height: 430px; }
.mmm-guide .mmm-accompany .mmm-panel__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(250,247,240,0.22)); }

/* Éditorial SEO */
.mmm-guide .mmm-editorial { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 38px; align-items: center; border-top: 1px solid var(--mmm-border); border-bottom: 1px solid var(--mmm-border); padding: clamp(42px, 5vw, 72px) 0; }
.mmm-guide .mmm-editorial h2 { margin: 0 0 18px; font-family: var(--mmm-serif); font-size: clamp(34px, 4vw, 52px); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; color: var(--mmm-navy); }
.mmm-guide .mmm-editorial p { color: var(--mmm-muted); font-size: 16px; line-height: 1.78; margin: 0 0 16px; }
.mmm-guide .mmm-quote-card { position: relative; padding: 38px; border-radius: 12px; background: linear-gradient(180deg, rgba(0,27,51,0.04), rgba(200,155,85,0.08)), var(--mmm-white); border: 1px solid var(--mmm-border); box-shadow: 0 18px 50px rgba(0, 27, 51, 0.06); }
.mmm-guide .mmm-quote-card img { width: 100%; height: 210px; object-fit: cover; border-radius: 8px; margin-bottom: 26px; }
.mmm-guide .mmm-quote-card blockquote { margin: 0; font-family: var(--mmm-serif); color: var(--mmm-navy); font-size: clamp(24px, 3vw, 36px); font-weight: 500; line-height: 1.22; letter-spacing: -0.01em; }
.mmm-guide .mmm-quote-card blockquote::before { content: "\201C"; color: var(--mmm-gold); font-size: 1.3em; line-height: 0; vertical-align: -0.3em; }
.mmm-guide .mmm-quote-card blockquote::after { content: "\201D"; color: var(--mmm-gold); font-size: 1.3em; line-height: 0; }

/* FAQ */
.mmm-guide .mmm-faq-wrap { display: grid; grid-template-columns: 38% 1fr; gap: 26px; align-items: stretch; background: var(--mmm-white); border: 1px solid var(--mmm-border); border-radius: 12px; overflow: hidden; box-shadow: 0 18px 50px rgba(0, 27, 51, 0.06); }
.mmm-guide .mmm-faq-image { min-height: 420px; background: var(--mmm-sand); }
.mmm-guide .mmm-faq-image img { width: 100%; height: 100%; object-fit: cover; }
.mmm-guide .mmm-faq-content { padding: clamp(28px, 4vw, 50px); }
.mmm-guide .mmm-faq-content h2 { margin: 0 0 26px; font-family: var(--mmm-serif); font-size: clamp(30px, 3.6vw, 48px); font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; color: var(--mmm-navy); }
.mmm-guide .mmm-faq details { border-top: 1px solid var(--mmm-border); }
.mmm-guide .mmm-faq details:last-child { border-bottom: 1px solid var(--mmm-border); }
.mmm-guide .mmm-faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; color: var(--mmm-navy); font-size: 15px; font-weight: 800; }
.mmm-guide .mmm-faq summary::-webkit-details-marker { display: none; }
.mmm-guide .mmm-faq summary::after { content: "+"; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--mmm-gold); border: 1px solid rgba(200,155,85,0.45); flex: 0 0 auto; }
.mmm-guide .mmm-faq details[open] summary::after { content: "\2013"; }
.mmm-guide .mmm-faq details p { margin: -4px 0 18px; color: var(--mmm-muted); font-size: 14px; line-height: 1.7; max-width: 760px; }

/* CTA */
.mmm-guide .mmm-cta { position: relative; overflow: hidden; background: linear-gradient(90deg, rgba(0,14,36,0.96), rgba(0,27,51,0.82)), var(--mmm-cta-img, none) center / cover no-repeat; background-color: var(--mmm-navy); color: var(--mmm-white); padding: clamp(54px, 7vw, 90px) 0; }
.mmm-guide .mmm-cta__inner { display: grid; grid-template-columns: 1.2fr auto; align-items: center; gap: 32px; }
.mmm-guide .mmm-cta h2 { margin: 0 0 14px; font-family: var(--mmm-serif); font-size: clamp(36px, 4.2vw, 58px); font-weight: 600; line-height: 1.05; letter-spacing: -0.015em; color: var(--mmm-white); }
.mmm-guide .mmm-cta p { margin: 0; max-width: 720px; color: rgba(255,255,255,0.78); font-size: 17px; line-height: 1.75; }
.mmm-guide .mmm-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* Responsive */
@media (max-width: 1120px) {
	.mmm-guide .mmm-usage-grid { grid-template-columns: repeat(3, 1fr); }
	.mmm-guide .mmm-timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
	.mmm-guide .mmm-timeline::before { display: none; }
	.mmm-guide .mmm-trust__grid { grid-template-columns: repeat(2, 1fr); }
	.mmm-guide .mmm-trust__item:nth-child(2) { border-right: none; }
	.mmm-guide .mmm-trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--mmm-border); }
}
@media (max-width: 900px) {
	.mmm-guide .mmm-container { width: min(100% - 32px, var(--mmm-container)); }
	.mmm-guide .mmm-split-grid, .mmm-guide .mmm-budget-grid, .mmm-guide .mmm-editorial, .mmm-guide .mmm-faq-wrap, .mmm-guide .mmm-cta__inner { grid-template-columns: 1fr; }
	.mmm-guide .mmm-panel--image-left, .mmm-guide .mmm-panel--image-right, .mmm-guide .mmm-accompany { grid-template-columns: 1fr; }
	.mmm-guide .mmm-panel--image-right .mmm-panel__media { order: -1; }
	.mmm-guide .mmm-panel__media { min-height: 250px; }
	.mmm-guide .mmm-faq-image { min-height: 260px; }
	.mmm-guide .mmm-cta__actions { justify-content: flex-start; }
}
@media (max-width: 720px) {
	.mmm-guide .mmm-hero__content { padding: 64px 0 72px; }
	.mmm-guide .mmm-hero__actions, .mmm-guide .mmm-cta__actions { flex-direction: column; align-items: stretch; }
	.mmm-guide .mmm-btn { width: 100%; }
	.mmm-guide .mmm-trust__grid, .mmm-guide .mmm-usage-grid, .mmm-guide .mmm-timeline { grid-template-columns: 1fr; }
	.mmm-guide .mmm-trust__item { border-right: none; border-bottom: 1px solid var(--mmm-border); }
	.mmm-guide .mmm-trust__item:last-child { border-bottom: none; }
	.mmm-guide .mmm-mini-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
	.mmm-guide .mmm-mini-grid { grid-template-columns: 1fr; }
	.mmm-guide .mmm-usage-card__image { height: 200px; }
}

/* Mobile — CTA hero à la largeur du contenu. */
@media (max-width: 640px) {
	.mmm-guide .mmm-hero__actions { align-items: flex-start; }
	.mmm-guide .mmm-hero__actions .mmm-btn { width: auto; }
}
