/* =========================================================================
   Page Estimation (présentation) — mise en page éditoriale alignée à gauche.
   page-estimation.php, template-parts/sections/estimation-steps.php,
   estimation-contact.php. Aussi chargée sur la page Demande d'estimation
   (jetons, surtitre, étapes, contact) ; le questionnaire : estimation-form.css
   ========================================================================= */

.page-estimation {
	--estim-line: rgba( 0, 0, 0, 0.12 );
	--estim-sticky-top: calc( var( --header-height ) + 2rem );
}

.estim-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	margin-bottom: 1.5rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var( --color-accent-dark );
}

.estim-eyebrow::before {
	content: "";
	width: 40px;
	height: 1px;
	background: currentColor;
	opacity: 0.6;
}

/* ── 1. Bandeau ──────────────────────────────────────────────────── */

.estim-hero {
	padding: calc( var( --header-height ) + clamp( 3rem, 6vw, 5.5rem ) ) 0 clamp( 3.5rem, 6vw, 5.5rem );
	background: var( --color-cream );
}

.estim-hero-title {
	margin: 0;
	font-size: clamp( 2.75rem, 6.2vw, 6rem );
	font-weight: 500;
	line-height: 0.98;
	letter-spacing: -0.02em;
}

.estim-hero-title em {
	display: block;
	font-style: italic;
	font-weight: 400;
	color: var( --color-accent-dark );
}

.estim-hero-grid {
	display: grid;
	grid-template-columns: minmax( 0, 5fr ) minmax( 0, 7fr );
	gap: 2rem clamp( 2.5rem, 6vw, 7rem );
	align-items: start;
	margin-top: clamp( 2.5rem, 4vw, 3.5rem );
	padding-top: clamp( 2rem, 3vw, 2.5rem );
	border-top: 1px solid var( --estim-line );
}

.estim-hero-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.25rem;
}

.estim-hero-tel {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.92rem;
	color: var( --color-primary-soft );
	text-decoration: none;
	transition: color var( --transition );
}

.estim-hero-tel svg {
	width: 16px;
	height: 16px;
	color: var( --color-accent-dark );
}

.estim-hero-tel strong {
	font-weight: 600;
	white-space: nowrap;
}

.estim-hero-tel:hover {
	color: var( --color-accent-dark );
}

.estim-hero-intro {
	max-width: 42rem;
	font-size: 1.02rem;
	line-height: 1.75;
	color: var( --color-primary-soft );
}

.estim-hero-intro > :last-child {
	margin-bottom: 0;
}

/* Étapes : trois colonnes, filet noir au-dessus */
.estim-steps {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 2rem clamp( 1.5rem, 3vw, 3rem );
	margin: clamp( 3.5rem, 6vw, 5rem ) 0 0;
	padding: 0;
	list-style: none;
}

.estim-step {
	padding-top: 1.25rem;
	border-top: 1px solid var( --color-primary );
}

.estim-step-num {
	display: block;
	margin-bottom: 0.9rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	color: var( --color-accent-dark );
}

.estim-step-title {
	margin-bottom: 0.5rem;
	font-size: clamp( 1.35rem, 2vw, 1.65rem );
	line-height: 1.15;
}

.estim-step p {
	max-width: 34ch;
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.65;
	color: var( --color-text-muted );
}

/* ── 2. Appel vers le questionnaire (page Estimation) ────────────── */

.estim-appel {
	padding: clamp( 4rem, 8vw, 7rem ) 0;
	background: var( --color-white );
}

.estim-appel-grid {
	display: grid;
	grid-template-columns: minmax( 0, 5fr ) minmax( 0, 7fr );
	gap: 2rem clamp( 2.5rem, 6vw, 7rem );
	align-items: start;
}

.estim-appel h2 {
	margin: 0;
	font-size: clamp( 2rem, 3.4vw, 3rem );
	line-height: 1.05;
}

.estim-appel-body > p {
	max-width: 36rem;
	margin: 0 0 1.75rem;
	font-size: 1.05rem;
	line-height: 1.7;
	color: var( --color-primary-soft );
}

.estim-appel-body .estim-contact {
	max-width: 36rem;
	margin-top: clamp( 2.5rem, 4vw, 3.25rem );
}

/* ── Contact direct avec Léa ─────────────────────────────────────── */

.estim-contact {
	display: flex;
	align-items: center;
	gap: 1.1rem;
	padding-top: 1.75rem;
	border-top: 1px solid var( --color-border );
}

.estim-contact-photo {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center top;
}

.estim-contact-label,
.estim-contact-name {
	margin: 0;
	font-size: 0.8rem;
	color: var( --color-text-muted );
}

.estim-contact-tel {
	display: inline-block;
	margin: 0.1rem 0 0.15rem;
	font-family: var( --font-heading );
	font-size: 1.65rem;
	font-weight: 500;
	line-height: 1.1;
	color: var( --color-primary );
	text-decoration: none;
	white-space: nowrap;
	transition: color var( --transition );
}

.estim-contact-tel:hover {
	color: var( --color-accent-dark );
}

.estim-contact-name {
	color: var( --color-text-light );
}

/* ── 3. La méthode (fond sombre) ─────────────────────────────────── */

.estim-methode {
	padding: clamp( 4.5rem, 9vw, 8rem ) 0;
	color: rgba( 255, 255, 255, 0.72 );
	background: var( --color-primary );
}

.estim-methode-grid,
.estim-final-grid {
	display: grid;
	grid-template-columns: minmax( 0, 5fr ) minmax( 0, 7fr );
	gap: 2rem clamp( 2.5rem, 6vw, 7rem );
	align-items: start;
}

.estim-methode-head,
.estim-final-head {
	position: sticky;
	top: var( --estim-sticky-top );
}

.estim-methode .estim-eyebrow {
	color: var( --color-accent-light );
}

.estim-methode h2,
.estim-final h2 {
	margin: 0;
	font-size: clamp( 2.2rem, 4vw, 3.5rem );
	line-height: 1.02;
}

.estim-methode h2 {
	color: var( --color-white );
}

.estim-methode .prose,
.estim-final .prose {
	max-width: 42rem;
	font-size: 1.02rem;
	line-height: 1.8;
}

.estim-methode .prose strong {
	color: var( --color-white );
}

.estim-methode .prose > :last-child,
.estim-final .prose > :last-child {
	margin-bottom: 0;
}

.estim-approches {
	margin: clamp( 2.5rem, 4vw, 3.5rem ) 0 0;
	padding: 0;
	list-style: none;
}

.estim-approche {
	display: grid;
	grid-template-columns: 4.5rem minmax( 0, 1fr );
	gap: 1.5rem;
	padding: 2rem 0;
	border-top: 1px solid rgba( 255, 255, 255, 0.16 );
}

.estim-approche:last-child {
	border-bottom: 1px solid rgba( 255, 255, 255, 0.16 );
}

.estim-approche-num {
	font-family: var( --font-heading );
	font-size: 2.75rem;
	font-style: italic;
	line-height: 0.9;
	color: var( --color-accent-light );
}

.estim-approche h3 {
	margin-bottom: 0.6rem;
	font-size: clamp( 1.35rem, 2vw, 1.65rem );
	color: var( --color-white );
}

.estim-approche p {
	max-width: 40rem;
	margin: 0;
	font-size: 0.97rem;
	line-height: 1.75;
}

/* ── 4. Conclusion ───────────────────────────────────────────────── */

.estim-final {
	padding: clamp( 4.5rem, 9vw, 8rem ) 0;
	background: var( --color-cream );
}

.estim-final-head h2 {
	margin-bottom: 2rem;
}

.estim-final .prose {
	color: var( --color-primary-soft );
}

.estim-final .prose + .prose {
	margin-top: 1.5rem;
}

/* ── Responsive ──────────────────────────────────────────────────── */

@media ( max-width: 1024px ) {
	.estim-hero-grid,
	.estim-appel-grid,
	.estim-methode-grid,
	.estim-final-grid {
		grid-template-columns: minmax( 0, 1fr );
	}

	.estim-methode-head,
	.estim-final-head {
		position: static;
	}
}

@media ( max-width: 760px ) {
	.estim-hero-grid {
		gap: 1.75rem;
	}

	.estim-hero {
		padding-top: calc( var( --header-height ) + 2rem );
	}

	.estim-eyebrow {
		margin-bottom: 1rem;
		font-size: 0.66rem;
		letter-spacing: 0.16em;
	}

	.estim-eyebrow::before {
		width: 24px;
	}

	.estim-steps {
		grid-template-columns: minmax( 0, 1fr );
		gap: 1.75rem;
	}

	.estim-approche {
		grid-template-columns: 2.75rem minmax( 0, 1fr );
		gap: 1rem;
		padding: 1.6rem 0;
	}

	.estim-approche-num {
		font-size: 2rem;
	}
}

@media ( max-width: 560px ) {
	.estim-hero-actions .btn {
		width: 100%;
	}
}
