/**
 * Page « Faire estimer mon bateau » — design premium conversion (maquette
 * validée). Chargée uniquement sur cette page. Classes scopées sous
 * .mmm-estimate. Header/footer = ceux du thème.
 */

.mmm-estimate {
	--navy: #001b33;
	--navy-2: #062641;
	--navy-3: #0b314f;
	--ink: #162033;
	--muted: #617083;
	--gold: #c89b55;
	--gold-2: #d8b46e;
	--ivory: #fbf8f1;
	--sand: #eee5d8;
	--line: #e5dccf;
	--white: #fff;
	--shadow: 0 22px 70px rgba(0, 27, 51, .12);
	--soft-shadow: 0 14px 40px rgba(0, 27, 51, .08);
	--container: 1180px;
	--serif: "Playfair Display", Georgia, serif;
	--sans: "Inter", Arial, sans-serif;
	background: var(--ivory);
	color: var(--ink);
	font-family: var(--sans);
	-webkit-font-smoothing: antialiased;
}
.mmm-estimate img { display: block; max-width: 100%; }
.mmm-estimate a { color: inherit; text-decoration: none; }
.mmm-estimate button, .mmm-estimate input, .mmm-estimate select, .mmm-estimate textarea { font: inherit; }
.mmm-estimate input, .mmm-estimate select, .mmm-estimate textarea { width: 100%; }
.mmm-estimate h1, .mmm-estimate h2, .mmm-estimate h3 { margin: 0; }
.mmm-estimate .mmm-container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.mmm-estimate section { padding: 72px 0; }
.mmm-estimate .mmm-section-kicker { display: block; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.mmm-estimate h2 { font-family: var(--serif); color: var(--navy); font-size: clamp(34px, 3.6vw, 54px); line-height: 1.08; letter-spacing: -.025em; font-weight: 600; }

.mmm-estimate .mmm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 3px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; transition: transform .18s ease, background .18s ease, border .18s ease; }
.mmm-estimate .mmm-btn:hover { transform: translateY(-1px); }
.mmm-estimate .mmm-btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.mmm-estimate .mmm-btn-gold:hover { background: #b68642; }
.mmm-estimate .mmm-btn-outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.mmm-estimate .mmm-btn-outline:hover { background: rgba(200,155,85,.08); }

/* ---------------- Hero ---------------- */
.mmm-estimate .mmm-hero { position: relative; color: var(--white); overflow: hidden; padding: 0; background-color: var(--navy); background-size: cover; background-position: center; }
.mmm-estimate .mmm-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,27,51,.88) 0%, rgba(0,27,51,.72) 42%, rgba(0,27,51,.26) 74%, rgba(0,27,51,.12) 100%); }
.mmm-estimate .mmm-hero-inner { position: relative; z-index: 1; min-height: 660px; display: grid; align-items: center; padding: 80px 0; }
.mmm-estimate .mmm-hero-content { max-width: 660px; }
.mmm-estimate .mmm-overline { display: inline-flex; align-items: center; gap: 12px; color: var(--gold-2); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.mmm-estimate .mmm-overline::before { content: ""; width: 42px; height: 2px; background: var(--gold); }
.mmm-estimate .mmm-hero h1 { font-family: var(--serif); font-size: clamp(38px, 4.4vw, 58px); line-height: 1.06; letter-spacing: -.012em; font-weight: 400; max-width: 720px; color: var(--white); text-shadow: 0 1px 26px rgba(0, 18, 38, .32); }
.mmm-estimate .mmm-hero-text { margin: 24px 0 0; max-width: 560px; color: rgba(255,255,255,.92); font-size: 18px; line-height: 1.7; }
.mmm-estimate .mmm-hero-trust { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 44px; }
.mmm-estimate .mmm-hero-trust-item { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.90); font-weight: 700; font-size: 14px; max-width: 210px; }
.mmm-estimate .mmm-hero-trust-icon { width: 46px; height: 46px; border: 1px solid rgba(216,180,110,.65); border-radius: 50%; color: var(--gold-2); display: grid; place-items: center; flex: 0 0 auto; }
.mmm-estimate .mmm-hero-trust-icon svg { width: 22px; height: 22px; stroke-width: 1.6; }

/* ---------------- Bloc estimation (intro + formulaire) ---------------- */
.mmm-estimate .mmm-estimation-block { background: var(--white); border-bottom: 1px solid var(--line); }
.mmm-estimate .mmm-estimate-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 66px; align-items: start; }
.mmm-estimate .mmm-intro-copy { margin: 24px 0 32px; color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 500px; }
.mmm-estimate .mmm-check-list { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 20px; }
.mmm-estimate .mmm-check-list li { display: flex; align-items: center; gap: 14px; color: var(--ink); font-size: 15px; }
.mmm-estimate .mmm-check-list li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: 0 0 auto; }

.mmm-estimate .mmm-form-card { background: var(--white); border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--shadow); padding: 34px; }
.mmm-estimate .mmm-form-title { color: var(--navy); font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 26px; }
.mmm-estimate .mmm-success { margin-bottom: 22px; background: rgba(200,155,85,.10); border: 1px solid rgba(200,155,85,.4); color: #8a6a2f; border-radius: 3px; padding: 14px 16px; font-size: 14px; font-weight: 600; }

.mmm-estimate .mmm-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 30px; }
.mmm-estimate .mmm-steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 17px; height: 1px; background: var(--line); z-index: 0; }
.mmm-estimate .mmm-step-dot { position: relative; z-index: 1; text-align: center; color: var(--muted); font-size: 12px; font-weight: 600; }
.mmm-estimate .mmm-step-dot span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 9px; background: #dfe4ea; color: var(--ink); font-weight: 800; }
.mmm-estimate .mmm-step-dot.is-active span { background: var(--gold); color: var(--white); }

.mmm-estimate .mmm-form-step { display: block; }
.mmm-estimate .mmm-form.is-js .mmm-form-step { display: none; }
.mmm-estimate .mmm-form.is-js .mmm-form-step.is-active { display: block; }
.mmm-estimate .mmm-form-step + .mmm-form-step { margin-top: 18px; }
.mmm-estimate .mmm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mmm-estimate .mmm-field-full { grid-column: 1 / -1; }
.mmm-estimate label { display: block; color: var(--navy); font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.mmm-estimate input, .mmm-estimate select, .mmm-estimate textarea { min-height: 46px; border: 1px solid #d9e0e6; background: var(--white); color: var(--ink); padding: 0 13px; border-radius: 2px; outline: none; transition: border .18s ease, box-shadow .18s ease; }
.mmm-estimate textarea { min-height: 112px; resize: vertical; padding-top: 12px; line-height: 1.5; }
.mmm-estimate input:focus, .mmm-estimate select:focus, .mmm-estimate textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,155,85,.12); }
.mmm-estimate .mmm-form-note { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 18px 0 0; }
.mmm-estimate .mmm-form-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 24px; }
.mmm-estimate .mmm-form-actions .mmm-btn { min-width: 170px; }
.mmm-estimate .mmm-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------- Pourquoi (benefits) ---------------- */
.mmm-estimate .mmm-light-section { background: linear-gradient(180deg, #f7f9fb, var(--ivory)); }
.mmm-estimate .mmm-center-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.mmm-estimate .mmm-center-head h2 { margin-bottom: 16px; }
.mmm-estimate .mmm-center-head p { margin: 0; color: var(--muted); line-height: 1.7; }
.mmm-estimate .mmm-benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255,255,255,.72); border: 1px solid var(--line); }
.mmm-estimate .mmm-benefit { padding: 36px 28px; text-align: center; border-right: 1px solid var(--line); }
.mmm-estimate .mmm-benefit:last-child { border-right: 0; }
.mmm-estimate .mmm-benefit-icon { width: 70px; height: 70px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--navy); margin: 0 auto 18px; background: var(--ivory); }
.mmm-estimate .mmm-benefit-icon svg { width: 30px; height: 30px; stroke-width: 1.6; }
.mmm-estimate .mmm-benefit h3 { color: var(--navy); font-size: 17px; margin-bottom: 10px; }
.mmm-estimate .mmm-benefit p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---------------- Valeur (facteurs) ---------------- */
.mmm-estimate .mmm-value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.mmm-estimate .mmm-value-card { background: var(--white); border: 1px solid var(--line); padding: 38px; box-shadow: var(--soft-shadow); }
.mmm-estimate .mmm-value-card h2 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 20px; }
.mmm-estimate .mmm-factor-list { list-style: none; padding: 0; margin: 24px 0 0; columns: 2; column-gap: 34px; }
.mmm-estimate .mmm-factor-list li { break-inside: avoid; margin-bottom: 14px; padding-left: 24px; position: relative; color: var(--ink); font-size: 14px; line-height: 1.45; }
.mmm-estimate .mmm-factor-list li::before { content: "•"; position: absolute; left: 0; color: var(--gold); font-size: 22px; line-height: 16px; }
.mmm-estimate .mmm-value-image { min-height: 440px; border: 1px solid var(--line); background-color: var(--sand); background-size: cover; background-position: center; background-image: linear-gradient(180deg, rgba(0,27,51,.05), rgba(0,27,51,.35)), var(--mmm-value-img, none); }

/* ---------------- Méthode (process) ---------------- */
.mmm-estimate .mmm-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mmm-estimate .mmm-process-card { background: var(--white); border: 1px solid var(--line); padding: 28px; }
.mmm-estimate .mmm-process-num { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--white); display: grid; place-items: center; font-weight: 800; margin-bottom: 18px; }
.mmm-estimate .mmm-process-card h3 { color: var(--navy); font-size: 17px; margin-bottom: 10px; }
.mmm-estimate .mmm-process-card p { color: var(--muted); line-height: 1.6; font-size: 14px; margin: 0; }

/* ---------------- Bandeau marques ---------------- */
.mmm-estimate .mmm-brand-strip { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 38px 0; }
.mmm-estimate .mmm-brand-strip-title { text-align: center; color: var(--gold); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 28px; }
.mmm-estimate .mmm-brand-logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; align-items: center; border: 1px solid var(--line); }
.mmm-estimate .mmm-brand-logo { min-height: 78px; display: grid; place-items: center; border-right: 1px solid var(--line); color: var(--navy); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; text-align: center; padding: 12px; transition: color .2s ease, background .2s ease; }
.mmm-estimate .mmm-brand-logo:last-child { border-right: 0; }
.mmm-estimate a.mmm-brand-logo:hover { color: var(--gold); background: var(--ivory); }

/* ---------------- FAQ ---------------- */
.mmm-estimate .mmm-faq-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: start; }
.mmm-estimate .mmm-faq-intro { background: var(--white); border: 1px solid var(--line); padding: 34px; }
.mmm-estimate .mmm-faq-intro p { color: var(--muted); line-height: 1.7; margin: 18px 0 0; }
.mmm-estimate .mmm-faq-list details { background: var(--white); border: 1px solid var(--line); margin-bottom: 10px; }
.mmm-estimate .mmm-faq-list summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; gap: 18px; }
.mmm-estimate .mmm-faq-list summary::-webkit-details-marker { display: none; }
.mmm-estimate .mmm-faq-list summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
.mmm-estimate .mmm-faq-list details[open] summary::after { content: "–"; }
.mmm-estimate .mmm-faq-list details p { margin: 0; padding: 0 20px 18px; color: var(--muted); line-height: 1.65; font-size: 14px; }

/* ---------------- CTA vendeur ---------------- */
.mmm-estimate .mmm-seller-cta { color: var(--white); padding: 60px 0; position: relative; background-color: var(--navy); background-size: cover; background-position: center; }
.mmm-estimate .mmm-seller-cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,27,51,.93), rgba(0,27,51,.78)); }
.mmm-estimate .mmm-seller-cta-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr repeat(3, .8fr); gap: 30px; align-items: center; }
.mmm-estimate .mmm-seller-cta h2 { color: var(--white); font-size: clamp(34px, 3.4vw, 48px); margin-bottom: 14px; }
.mmm-estimate .mmm-seller-cta p { color: rgba(255,255,255,.86); line-height: 1.65; margin: 0 0 24px; max-width: 560px; }
.mmm-estimate .mmm-contact-point { border-left: 1px solid rgba(255,255,255,.18); padding-left: 28px; }
.mmm-estimate .mmm-contact-point strong { display: block; color: var(--gold-2); margin-bottom: 8px; }
.mmm-estimate .mmm-contact-point span { display: block; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.55; }
.mmm-estimate .mmm-contact-point a { color: rgba(255,255,255,.82); }
.mmm-estimate .mmm-contact-point a:hover { color: var(--gold-2); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
	.mmm-estimate .mmm-estimate-grid, .mmm-estimate .mmm-value-grid, .mmm-estimate .mmm-faq-wrap, .mmm-estimate .mmm-seller-cta-grid { grid-template-columns: 1fr; }
	.mmm-estimate .mmm-benefits-grid, .mmm-estimate .mmm-process-grid { grid-template-columns: repeat(2, 1fr); }
	.mmm-estimate .mmm-benefit:nth-child(2) { border-right: 0; }
	.mmm-estimate .mmm-brand-logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
	.mmm-estimate .mmm-container { width: min(100% - 28px, var(--container)); }
	.mmm-estimate .mmm-hero-inner { min-height: 620px; align-items: end; padding: 72px 0 58px; }
	.mmm-estimate .mmm-hero h1 { font-size: 43px; }
	.mmm-estimate .mmm-hero-text { font-size: 16px; }
	.mmm-estimate .mmm-hero-trust { display: grid; gap: 16px; }
	.mmm-estimate section { padding: 48px 0; }
	.mmm-estimate .mmm-estimate-grid { gap: 36px; }
	.mmm-estimate .mmm-form-card { padding: 22px; }
	.mmm-estimate .mmm-form-grid { grid-template-columns: 1fr; }
	.mmm-estimate .mmm-steps { gap: 4px; }
	.mmm-estimate .mmm-step-dot { font-size: 10px; }
	.mmm-estimate .mmm-step-dot span { width: 28px; height: 28px; }
	.mmm-estimate .mmm-form-actions { flex-direction: column; }
	.mmm-estimate .mmm-form-actions .mmm-btn { width: 100%; }
	.mmm-estimate .mmm-benefits-grid, .mmm-estimate .mmm-process-grid, .mmm-estimate .mmm-brand-logos { grid-template-columns: 1fr; }
	.mmm-estimate .mmm-benefit, .mmm-estimate .mmm-brand-logo { border-right: 0; border-bottom: 1px solid var(--line); }
	.mmm-estimate .mmm-factor-list { columns: 1; }
	.mmm-estimate .mmm-value-image { min-height: 260px; }
	.mmm-estimate .mmm-contact-point { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.16); padding-top: 20px; }
}

/* ------------------------------------------------------------------ *
 * Mobile (téléphones) — réduction typographique & espacement.
 * ------------------------------------------------------------------ */
@media (max-width: 640px) {
	.mmm-estimate .mmm-hero h1 { font-size: 31px; line-height: 1.08; letter-spacing: -.01em; }
	.mmm-estimate h2 { font-size: 24px; line-height: 1.15; }
	.mmm-estimate .mmm-hero-text { font-size: 15px; line-height: 1.6; }
	.mmm-estimate .mmm-hero-inner { min-height: auto; padding: 52px 0; }
	.mmm-estimate .mmm-overline { font-size: 11px; }
	.mmm-estimate section { padding: 38px 0; }
	.mmm-estimate .mmm-form-card { padding: 20px; }
	.mmm-estimate .mmm-form-title { font-size: 17px; }
	.mmm-estimate .mmm-value-card { padding: 26px; }
	.mmm-estimate .mmm-benefit h3, .mmm-estimate .mmm-process-card h3 { font-size: 16px; }
	.mmm-estimate .mmm-btn { font-size: 12px; }
}
