/* ============================================
   FIX ESPACE HEADER / HERO (PROPRE)
   ============================================ */
header.wp-block-template-part {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.wp-block-post-content {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.wp-block-post-content > :first-child {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.wp-site-blocks {
	padding-top: 0 !important;
}

.wp-site-blocks > * {
	margin-block-start: 0 !important;
}

main {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.wp-block-group.is-layout-constrained {
	margin-block-start: 0 !important;
}

.wp-block-template-part ~ .wp-block-post-content {
	margin-top: 0 !important;
}

.lmd-hero {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.admin-bar .lmd-hero {
	padding-top: 46px !important;
}

/* ============================================
   BLOBS VISIBLES
   ============================================ */
.wp-block-html, .wp-block-post-content, .entry-content {
	overflow: visible !important;
}

/* ============================================
   MASQUER TITRE PAGE (sauf articles)
   ============================================ */
.entry-header, .page-title,
.post-title, header.entry-header {
	display: none !important;
}

/* Cacher le titre seulement sur la page d'accueil */
.home h1.entry-title,
.home .wp-block-post-title,
.home h1.wp-block-post-title {
	display: none !important;
}

/* ============================================
   ARTICLES UNIQUES
   ============================================ */
.single .wp-block-post-content,
.single .entry-content {
	max-width: 780px !important;
	margin: 0 auto !important;
	padding: 2rem !important;
}

.single .wp-block-post-title,
.single h1.entry-title,
.single h1.wp-block-post-title {
	display: block !important;
	max-width: 780px !important;
	margin: 2rem auto .5rem !important;
	padding: 0 2rem !important;
	font-family: 'Nunito', sans-serif !important;
	font-weight: 900 !important;
	color: #2F4C5E !important;
	font-size: clamp(1.8rem, 3vw, 2.4rem) !important;
}

.single .wp-block-post-date {
	max-width: 780px !important;
	margin: 0 auto 2rem !important;
	padding: 0 2rem !important;
	display: block !important;
	color: #E97952 !important;
	font-size: .85rem !important;
}

.single h2 {
	font-family: 'Nunito', sans-serif !important;
	font-weight: 800 !important;
	color: #2F4C5E !important;
	font-size: 1.5rem !important;
}

.single h3 {
	font-family: 'Nunito', sans-serif !important;
	font-weight: 700 !important;
	color: #2F4C5E !important;
	font-size: 1.2rem !important;
}

.single p {
	font-family: 'Nunito Sans', sans-serif !important;
	color: #2F3337 !important;
	line-height: 1.75 !important;
	font-size: 1rem !important;
}

/* ============================================
   RESET THEME
   ============================================ */
body {
	background: #F1F9FA !important;
}

.wp-block-post-content, .entry-content {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.wp-block-post-content > *, .entry-content > * {
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* ============================================
   COULEURS & TYPO
   ============================================ */
.lmd-wrap h1, .lmd-wrap h2, .lmd-wrap h3, .lmd-wrap h4 {
	color: #2F4C5E !important;
}

.lmd-wrap p {
	color: #2F3337 !important;
}

:root {
}

.lmd-wrap, .lmd-wrap * {
	letter-spacing: normal !important;
	word-spacing: normal !important;
	box-sizing: border-box;
}

.lmd-wrap {
	font-family: 'Nunito Sans', sans-serif;
	color: #2F3337;
}

/* ============================================
   HERO
   ============================================ */
.lmd-hero {
	min-height: 100vh;
	padding-left: 2rem;
	padding-right: 2rem;
	padding-bottom: 80px;
	padding-top: 0 !important;
	margin-top: 0 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	background: #F1F9FA !important;
	flex-direction: column;
}

.admin-bar .lmd-hero {
	min-height: calc(100vh - 46px);
}

.lmd-hero-bg {
	position: absolute;
	background: radial-gradient(ellipse 60% 50% at 80% 50%, rgba(165,211,212,0.35) 0%, transparent 70%), radial-gradient(ellipse 40% 60% at 10% 80%, rgba(233,121,82,0.12) 0%, transparent 60%);
}

.lmd-blob {
	position: absolute;
	border-radius: 50%;
	opacity: .12;
	animation: lmd-float 8s ease-in-out infinite;
}

.lmd-blob-1 {
	width: 300px;
	height: 300px;
	background: #A5D3D4;
	top: 10%;
	right: 5%;
}

.lmd-blob-2 {
	width: 200px;
	height: 200px;
	background: #E97952;
	bottom: 15%;
	right: 20%;
	animation-delay: -3s;
}

.lmd-blob-3 {
	width: 150px;
	height: 150px;
	background: #7D3F7A;
	top: 40%;
	right: 35%;
	animation-delay: -5s;
}

@keyframes lmd-float {
	0%,100% {
		transform: translateY(0) scale(1);
	}
	
	50% {
		transform: translateY(-20px) scale(1.05);
	}
}

.lmd-hero-inner {
	max-width: 1100px;
	width: 100%;
	display: grid;
	grid-template-columns: 4fr 3fr;
	gap: 4rem;
	align-items: center;
	position: relative;
	z-index: 1;
}

.lmd-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 2rem;
}

.lmd-h1 {
	font-family: 'Nunito', sans-serif !important;
	font-weight: 900 !important;
	font-size: clamp(1.6rem, 2.8vw, 2.4rem) !important;
	line-height: 1.15 !important;
	color: #2F4C5E !important;
	margin-bottom: 1.25rem !important;
}

.lmd-h1 em {
	font-style: normal;
	color: #E97952 !important;
	position: relative;
}

.lmd-h1 em::after {
	content: '';
	position: absolute;
	bottom: 2px;
	left: 0;
	right: 0;
	height: 4px;
	background: #E97952;
	border-radius: 2px;
	opacity: .3;
}

.lmd-hero-desc {
	font-size: 1.1rem !important;
	line-height: 1.7 !important;
	color: #2F3337 !important;
	opacity: .8;
	margin-bottom: 2rem;
	max-width: 440px;
}

.lmd-hero-btns {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 2.5rem;
	align-items: center;
}

/* ============================================
   BOUTONS STORE
   ============================================ */
.lmd-store-imgs {
	display: flex !important;
	gap: 12px !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	pointer-events: auto !important;
	position: relative !important;
	z-index: 100 !important;
	margin-bottom: 2.5rem !important;
}

.lmd-store-imgs a,
.lmd-store-imgs a:link,
.lmd-store-imgs a:visited,
.lmd-store-imgs a:hover,
.lmd-store-imgs a:active {
	pointer-events: auto !important;
	cursor: pointer !important;
	display: inline-block !important;
	text-decoration: none !important;
	transition: transform .2s !important;
}

.lmd-store-imgs a:hover {
	transform: translateY(-2px) !important;
}

.lmd-store-imgs img {
	display: block !important;
}

/* ============================================
   AVATARS
   ============================================ */
.lmd-proof {
	display: flex;
	align-items: center;
	gap: 12px;
}

.lmd-avatars {
	display: flex;
}

.lmd-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2px solid #F1F9FA;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Nunito', sans-serif;
	font-weight: 800;
	font-size: .7rem;
	margin-left: -8px;
	flex-shrink: 0;
}

.lmd-avatars .lmd-avatar:first-child {
	margin-left: 0;
}

.lmd-proof-text {
	font-family: 'Nunito', sans-serif !important;
	font-size: .85rem;
	font-weight: 600;
	color: #2F4C5E !important;
	opacity: .75;
}

/* ============================================
   PHONE
   ============================================ */
.lmd-hero-visual {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	padding: 20px 60px;
	overflow: visible;
}

.lmd-phone {
	width: 420px;
	background: transparent !important;
	border-radius: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
	position: relative;
	animation: lmd-phone-float 6s ease-in-out infinite;
	overflow: visible;
	z-index: 1;
}

@keyframes lmd-phone-float {
	0%,100% {
		transform: translateY(0);
	}
	
	50% {
		transform: translateY(-12px);
	}
}

.lmd-notch {
	display: none !important;
}

.lmd-screen {
	background: transparent !important;
	border-radius: 0 !important;
	overflow: visible !important;
	aspect-ratio: unset !important;
	height: auto !important;
	position: static !important;
}

.lmd-screen img {
	width: 100% !important;
	height: auto !important;
	object-fit: contain !important;
	display: block !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

/* ============================================
   FLOATING CARDS
   ============================================ */
.lmd-float-card {
	position: absolute;
	background: rgba(255,255,255,0.65);
	border: 1px solid rgba(255,255,255,0.85);
	border-radius: 16px;
	padding: 12px 16px;
	box-shadow: 0 8px 32px rgba(47,76,94,0.12);
	font-family: 'Nunito', sans-serif;
	animation: lmd-card-float 7s ease-in-out infinite;
	z-index: 10;
	white-space: nowrap;
	min-width: 130px !important;
	min-height: 90px !important;
}

.lmd-card-l {
	left: -50px;
	top: 15%;
	animation-delay: -2s;
}

.lmd-card-r {
	right: -50px;
	top: 55%;
	animation-delay: -4s;
}

@keyframes lmd-card-float {
	0%,100% {
		transform: translateY(0);
	}
	
	50% {
		transform: translateY(-10px);
	}
}

.lmd-card-emoji {
	font-size: 1.2rem;
	margin-bottom: 4px;
}

.lmd-card-stat {
	font-weight: 800 !important;
	font-size: 1.1rem !important;
	color: #2F4C5E !important;
}

.lmd-card-lbl {
	font-size: .65rem;
	font-weight: 600;
	color: #2F3337 !important;
	opacity: .6;
}

/* ============================================
   MOBILE HERO
   ============================================ */
.lmd-hero-mobile {
	display: none;
}

.lmd-mobile-phone-wrap {
	display: flex;
	justify-content: center;
	margin: 1.5rem 0;
	position: relative;
}

.lmd-mobile-phone-wrap .lmd-phone {
	width: 200px;
}

.lmd-mobile-cards {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-bottom: 1.5rem;
}

.lmd-mobile-card {
	background: rgba(255,255,255,0.65);
	border: 1px solid rgba(255,255,255,0.85);
	border-radius: 16px;
	padding: 12px 20px;
	box-shadow: 0 8px 32px rgba(47,76,94,0.12);
	font-family: 'Nunito', sans-serif;
	text-align: center;
	flex: 1;
	max-width: 160px;
}

/* ============================================
   SECTIONS
   ============================================ */
.lmd-section {
	padding: 100px 2rem;
	background: transparent;
}

.lmd-stag {
	font-family: 'Nunito', sans-serif !important;
	font-weight: 800;
	font-size: .75rem;
	letter-spacing: .05em !important;
	text-transform: uppercase;
	color: #E97952 !important;
	margin-bottom: 12px;
	display: block;
}

.lmd-h2 {
	font-family: 'Nunito', sans-serif !important;
	font-weight: 900 !important;
	font-size: clamp(1.8rem,3vw,2.6rem) !important;
	color: #2F4C5E !important;
	line-height: 1.2 !important;
	margin-bottom: 1rem;
}

.lmd-sdesc {
	font-size: 1.05rem;
	line-height: 1.7;
	color: #2F3337 !important;
	opacity: .75;
	max-width: 520px;
	margin-bottom: 3rem;
}

/* ============================================
   FEATURES
   ============================================ */
.lmd-features {
	background: white !important;
}

.lmd-feat-grid {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 24px;
	margin-top: 3rem;
	align-items: stretch !important;
}

.lmd-feat-card {
	background: #F1F9FA !important;
	border-radius: 20px !important;
	padding: 2rem;
	position: relative;
	overflow: hidden;
	transition: transform .3s;
	border: none !important;
	box-shadow: none !important;
	display: flex;
	flex-direction: column;
	height: 100% !important;
}

.lmd-feat-card:hover {
	transform: translateY(-4px);
}

.lmd-feat-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	border-radius: 20px 20px 0 0;
}

.lmd-feat-card:nth-child(1)::before {
	background: #E97952;
}

.lmd-feat-card:nth-child(2)::before {
	background: #7D3F7A;
}

.lmd-feat-card:nth-child(3)::before {
	background: #A5D3D4;
}

.lmd-feat-icon {
	width: 52px;
	height: 52px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	margin-bottom: 1.25rem;
}

.lmd-feat-card:nth-child(1) .lmd-feat-icon {
	background: rgba(233,121,82,0.12);
}

.lmd-feat-card:nth-child(2) .lmd-feat-icon {
	background: rgba(125,63,122,0.10);
}

.lmd-feat-card:nth-child(3) .lmd-feat-icon {
	background: rgba(165,211,212,0.3);
}

.lmd-feat-card h3 {
	font-family: 'Nunito', sans-serif !important;
	font-weight: 800 !important;
	font-size: 1.1rem !important;
	color: #2F4C5E !important;
	margin-bottom: .5rem;
}

.lmd-feat-card p {
	font-size: .92rem;
	line-height: 1.65;
	color: #2F3337 !important;
	opacity: .75;
}

/* ============================================
   STEPS
   ============================================ */
.lmd-steps {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	position: relative;
	margin-top: 3rem;
}

.lmd-steps::before {
	content: '';
	position: absolute;
	top: 40px;
	left: 16%;
	right: 16%;
	height: 2px;
	background: linear-gradient(90deg,#E97952,#7D3F7A,#2F4C5E);
	opacity: .25;
}

.lmd-step {
	text-align: center;
	padding: 0 1.5rem;
	position: relative;
	z-index: 1;
}

.lmd-step-num {
	width: 80px;
	height: 80px;
	border-radius: 50% !important;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Nunito', sans-serif !important;
	font-weight: 900 !important;
	font-size: 1.8rem !important;
	margin: 0 auto 1.5rem;
	color: white !important;
	background: #7D3F7A !important;
}

.lmd-step h3 {
	font-family: 'Nunito', sans-serif !important;
	font-weight: 800 !important;
	font-size: 1.05rem !important;
	color: #2F4C5E !important;
	margin-bottom: .5rem;
}

.lmd-step p {
	font-size: .9rem;
	line-height: 1.65;
	color: #2F3337 !important;
	opacity: .7;
}

/* ============================================
   PARTNERS
   ============================================ */
.lmd-partners {
	background: linear-gradient(135deg, #2F4C5E 0%, #3B6C8E 100%) !important;
	color: white;
	position: relative;
	overflow: hidden;
}

.lmd-partners .lmd-inner {
	position: relative;
	z-index: 1;
}

.lmd-partners h2, .lmd-partners .lmd-h2 {
	color: white !important;
}

.lmd-partners h3, .lmd-partners h4 {
	color: white !important;
}

.lmd-partners p {
	color: rgba(255,255,255,0.75) !important;
}

.lmd-partners .lmd-stag {
	color: #A5D3D4 !important;
}

.lmd-partners .lmd-sdesc {
	max-width: none;
}

.lmd-offers {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 2rem;
	align-items: stretch;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.lmd-offer-card {
	background: rgba(255,255,255,0.08) !important;
	border: 1px solid rgba(255,255,255,0.2) !important;
	border-radius: 20px !important;
	padding: 24px;
	display: flex;
	flex-direction: column;
}

.lmd-offer-card h3 {
	font-family: 'Nunito', sans-serif !important;
	font-weight: 800 !important;
	font-size: 1rem !important;
	color: white !important;
	margin-bottom: 16px;
}

.lmd-offer-list {
	list-style: none;
	padding: 0;
	margin: 0;
	flex: 1;
}

.lmd-offer-list li {
	font-size: .88rem;
	color: rgba(255,255,255,0.85) !important;
	padding: 6px 0;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}

.lmd-offer-list li:last-child {
	border-bottom: none;
}

a.lmd-btn-partner,
a.lmd-btn-partner:link,
a.lmd-btn-partner:visited,
a.lmd-btn-partner:hover,
a.lmd-btn-partner:active {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	background-color: #E97952 !important;
	background: #E97952 !important;
	color: white !important;
	padding: 14px 24px !important;
	border-radius: 50px !important;
	text-decoration: none !important;
	font-family: 'Nunito', sans-serif !important;
	font-weight: 800 !important;
	font-size: .95rem !important;
	border: none !important;
	box-shadow: 0 4px 20px rgba(233,121,82,0.4) !important;
}

a.lmd-btn-partner:hover {
	background-color: #d4673e !important;
	transform: translateY(-2px) !important;
}

/* ============================================
   CTA
   ============================================ */
.lmd-cta {
	text-align: center;
	background: white !important;
}

.lmd-cta-btns {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 2rem;
	align-items: center;
}

.lmd-cta-sub {
	font-size: .85rem;
	opacity: .5;
	font-family: 'Nunito', sans-serif !important;
	font-weight: 600;
	color: #2F3337 !important;
}

/* ============================================
   ARTICLES UNIQUES
   ============================================ */
.single .wp-block-post-content,
.single .entry-content {
	max-width: 780px !important;
	margin: 0 auto !important;
	padding: 2rem !important;
}

.single h1.entry-title,
.single .wp-block-post-title {
	display: block !important;
	max-width: 780px !important;
	margin: 2rem auto .5rem !important;
	padding: 0 2rem !important;
	font-family: 'Nunito', sans-serif !important;
	font-weight: 900 !important;
	font-size: clamp(1.8rem, 3vw, 2.4rem) !important;
	color: #2F4C5E !important;
}

.single .wp-block-post-date {
	max-width: 780px !important;
	margin: 0 auto 2rem !important;
	padding: 0 2rem !important;
	display: block !important;
	color: #E97952 !important;
	font-size: .85rem !important;
	text-transform: uppercase !important;
	letter-spacing: .05em !important;
}

.single h2 {
	font-family: 'Nunito', sans-serif !important;
	font-weight: 800 !important;
	font-size: 1.5rem !important;
	color: #2F4C5E !important;
	margin-top: 2rem !important;
}

.single h3 {
	font-family: 'Nunito', sans-serif !important;
	font-weight: 700 !important;
	font-size: 1.15rem !important;
	color: #2F4C5E !important;
}

.single p {
	font-family: 'Nunito Sans', sans-serif !important;
	font-size: 1rem !important;
	line-height: 1.75 !important;
	color: #2F3337 !important;
}

@media(max-width: 900px) {
	.lmd-hero-inner {
		grid-template-columns: 1fr;
		gap: 3rem;
	}
	
	.lmd-hero-visual {
		padding: 20px 80px;
		display: flex !important;
	}
	
	.lmd-phone {
		width: 180px;
	}
	
	.lmd-feat-grid {
		grid-template-columns: 1fr 1fr;
	}
	
	.lmd-steps {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	
	.lmd-steps::before {
		display: none;
	}
	
	.lmd-offers {
		grid-template-columns: 1fr;
	}
}

/* ============================================
   RESPONSIVE TABLETTE
   ============================================ */
@media(max-width: 768px) {
	.lmd-hero {
		margin-top: -50px !important;
		padding-top: 130px !important;
	}
	
	.admin-bar .lmd-hero {
		padding-top: 160px !important;
	}
	
	.lmd-hero-inner {
		display: none !important;
	}
	
	.lmd-hero-mobile {
		display: flex;
		flex-direction: column;
		width: 100%;
		max-width: 480px;
		margin: 0 auto;
		padding: 0 1.5rem;
		position: relative;
		z-index: 1;
	}
	
	.lmd-hero-mobile .lmd-h1 {
		text-align: center;
		margin-bottom: 1.5rem;
		font-size: 1.8rem !important;
	}
	
	.lmd-hero-mobile .lmd-hero-desc {
		text-align: center;
		max-width: 100%;
	}
	
	.lmd-hero-mobile .lmd-hero-btns {
		justify-content: center;
	}
	
	.lmd-hero-mobile .lmd-proof {
		justify-content: center;
	}
	
	.lmd-feat-grid {
		grid-template-columns: 1fr;
	}
	
	.lmd-h1 {
		font-size: 1.8rem !important;
	}
	
	.lmd-mobile-phone-wrap .lmd-phone {
		width: 320px !important;
	}
}