/**
 * Passe de finition — accueil 2026.
 *
 * Les grandes images peuvent demeurer pleine largeur; le contenu, les titres
 * et les grilles suivent une largeur et un rythme communs.
 */

:root {
	--lcd-container: 1360px;
	--lcd-container-wide: 1480px;
	--lcd-page-gutter: clamp(20px, 4vw, 64px);
	--lcd-home-h1: clamp(44px, 4.4vw, 68px);
	--lcd-home-h2: clamp(36px, 3vw, 42px);
	--lcd-home-h3: clamp(22px, 1.7vw, 28px);
	--lcd-home-section-space: clamp(48px, 4vw, 64px);
}

/* Navigation : plus lisible et en casse naturelle. */
body .lcd-home-header__nav-list > li > a,
body .edgtf-main-menu > ul > li > a,
body .edgtf-main-menu > ul > li > a .item_inner,
body .edgtf-main-menu > ul > li > a .item_text {
	font-size: 16px !important;
	font-weight: 600 !important;
	letter-spacing: 0.015em !important;
	text-transform: none !important;
}

body .lcd-home-header__nav-list .sub-menu a {
	font-size: 14px !important;
	text-transform: none !important;
}

/* Echelle typographique commune, sans toucher aux fiches produit. */
.home .lcd-home-hero h1 {
	font-size: var(--lcd-home-h1) !important;
	line-height: 1.04 !important;
	letter-spacing: -0.035em !important;
	text-transform: none !important;
}

.home .lcd-home-coffees__header h2,
.home .lcd-home-machines__header h2,
.home .lcd-home-pause__header h2,
.home .lcd-home-methods__header h2,
.home .lcd-home-testimonials__header h2 {
	margin: 0 !important;
	font-size: var(--lcd-home-h2) !important;
	font-weight: 400 !important;
	line-height: 1.08 !important;
	letter-spacing: -0.025em !important;
	text-transform: none !important;
}

.home .lcd-home-pause h3,
.home .lcd-home-machine-card h3,
.home .lcd-home-testimonial h3 {
	font-size: var(--lcd-home-h3) !important;
	line-height: 1.18 !important;
	text-transform: none !important;
}

/* Largeur et alignement communs des sections de contenu. */
.home .lcd-home-coffees__inner,
.home .lcd-home-subscription__inner,
.home .lcd-home-machines__inner,
.home .lcd-home-machine-offer__inner,
.home .lcd-home-roasting__inner,
.home .lcd-home-pause__inner,
.home .lcd-home-methods__inner,
.home .lcd-home-testimonials__inner {
	width: min(calc(100% - (var(--lcd-page-gutter) * 2)), var(--lcd-container)) !important;
	margin-inline: auto !important;
}

/* Rythme vertical uniforme entre les grands blocs de l'accueil. */
.home .lcd-home-coffees {
	padding-block: var(--lcd-home-section-space) !important;
}

.home .lcd-home-subscription,
.home .lcd-home-machines,
.home .lcd-home-machine-offer,
.home .lcd-home-roasting,
.home .lcd-home-pause,
.home .lcd-home-testimonials {
	margin-block: 0 !important;
	padding-top: 0 !important;
	padding-bottom: var(--lcd-home-section-space) !important;
}

.home .lcd-home-coffees__header,
.home .lcd-home-machines__header,
.home .lcd-home-pause__header,
.home .lcd-home-methods__header,
.home .lcd-home-testimonials__header {
	width: 100% !important;
	margin: 0 0 clamp(26px, 2.4vw, 36px) !important;
	align-items: end !important;
}

.home .lcd-home-methods {
	margin-top: var(--lcd-home-section-space) !important;
	padding-top: 0 !important;
	border-top: 0 !important;
}

/* Cinq cartes plus généreuses, dans la même largeur de section. */
@media (min-width: 1200px) {
	.home .lcd-home-coffees__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
		gap: clamp(18px, 1.6vw, 26px) !important;
	}
}

@media (min-width: 981px) {
	.home .lcd-home-methods nav ul {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

/* La nouvelle composition Pause cafe se termine sans ligne decorative. */
.home .lcd-home-pause,
.home .lcd-home-pause__inner,
.home .lcd-home-pause__cards {
	border-bottom: 0 !important;
}

.home .lcd-home-pause::after,
.home .lcd-home-pause__inner::after,
.home .lcd-home-pause__cards::after {
	display: none !important;
	content: none !important;
}

/* Temoignages : titre identique aux autres H2 et jamais en capitales forcees. */
.home .lcd-home-testimonials__header,
.home .lcd-home-testimonials__header h2 {
	max-width: none !important;
	text-transform: none !important;
}

/* Infolettre : le titre et son texte forment un seul bloc, decale vers la gauche. */
@media (min-width: 1201px) {
	.lcd-footer-newsletter__copy {
		transform: translateX(-130px);
	}
}

.lcd-footer-newsletter__copy,
.lcd-footer-newsletter__title,
.lcd-footer-newsletter__copy p {
	text-align: left !important;
}

.lcd-footer-newsletter__title,
.lcd-footer-newsletter__copy h2 {
	font-size: 50px !important;
	line-height: 1.08 !important;
	text-transform: none !important;
}

/* Pied de page epure : marque, trois colonnes utiles et localisation a droite. */
.lcd-footer-main__inner {
	width: min(calc(100% - (var(--lcd-page-gutter) * 2)), var(--lcd-container)) !important;
	grid-template-columns: minmax(280px, 340px) minmax(0, 1fr) minmax(220px, 260px) !important;
	gap: clamp(28px, 3vw, 46px) !important;
}

.lcd-footer-navigation {
	display: grid !important;
	width: 100% !important;
	max-width: 700px !important;
	grid-template-columns: repeat(3, minmax(140px, 1fr)) !important;
	gap: clamp(24px, 2.4vw, 42px) !important;
	justify-items: center !important;
	margin-inline: auto !important;
}

.lcd-footer-navigation > .lcd-footer-column {
	width: max-content !important;
	max-width: 100% !important;
}

.lcd-footer-location--final {
	grid-column: auto !important;
	justify-self: end !important;
	width: 100% !important;
	max-width: 240px !important;
	margin-top: 0 !important;
	padding: 0 0 0 clamp(20px, 2vw, 34px) !important;
	border-top: 0 !important;
	border-left: 1px solid rgba(168, 111, 69, 0.8) !important;
	text-align: left !important;
}

.lcd-footer-privacy {
	margin: 0 0 12px !important;
}

.lcd-footer-privacy a {
	color: rgba(255, 255, 255, 0.86) !important;
	font-size: 13px !important;
	text-decoration: none !important;
}

@media (max-width: 1200px) {
	.lcd-footer-newsletter__copy {
		transform: none;
	}

	.lcd-footer-main__inner {
		grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.7fr) !important;
	}

	.lcd-footer-location--final {
		grid-column: 1 / -1 !important;
		justify-self: stretch !important;
		max-width: none !important;
		padding: 24px 0 0 !important;
		border-top: 1px solid rgba(168, 111, 69, 0.55) !important;
		border-left: 0 !important;
	}
}

@media (max-width: 900px) {
	:root {
		--lcd-home-section-space: clamp(42px, 7vw, 56px);
	}

	.home .lcd-home-coffees__header,
	.home .lcd-home-machines__header,
	.home .lcd-home-pause__header,
	.home .lcd-home-methods__header,
	.home .lcd-home-testimonials__header {
		align-items: flex-start !important;
	}

	.lcd-footer-navigation {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.lcd-footer-main__inner {
		grid-template-columns: 1fr !important;
	}

	.lcd-footer-location--final {
		grid-column: auto !important;
	}
}

@media (max-width: 640px) {
	:root {
		--lcd-page-gutter: 20px;
		--lcd-home-h1: clamp(38px, 12vw, 48px);
		--lcd-home-h2: clamp(32px, 10vw, 38px);
	}

	body .lcd-home-header__nav-list > li > a,
	body .edgtf-main-menu > ul > li > a,
	body .edgtf-main-menu > ul > li > a .item_inner,
	body .edgtf-main-menu > ul > li > a .item_text {
		font-size: 16px !important;
	}

	.lcd-footer-navigation {
		grid-template-columns: 1fr !important;
		text-align: center !important;
	}

	.lcd-footer-navigation > * {
		justify-self: center !important;
	}

}
