body { margin: 0; overflow-x: hidden; background: #fff; color: #1f2933; font-family: "IBM Plex Sans", "Segoe UI", sans-serif; font-size: 16px; line-height: 1.55; }
* { box-sizing: border-box; }
a { color: #1663c0; }
a:hover { color: #114f9c; }
h1, h2, h3 { letter-spacing: -.015em; }
.lp-wrap { max-width: 1160px; margin: 0 auto; padding-inline: 32px; }
.lp-nav a { text-decoration: none; color: #1f2933; }
.lp-nav a:hover { color: #1663c0; }
.lp-chip { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: #1f2933; border: 1px solid #dce2e8; border-radius: 4px; padding: 8px 14px; font-size: 15px; }
.lp-chip:hover { border-color: #1663c0; color: #1663c0; }
.lp-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.lp-table th, .lp-table td { border: 1px solid #dce2e8; padding: 12px 16px; text-align: left; }
.lp-table thead th { background: #f5f7f9; font-weight: 600; }
.lp-table .num { text-align: right; white-space: nowrap; }
.lp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: #dce2e8; border: 1px solid #dce2e8; }
.lp-cards > div { background: #fff; padding: 22px; }
.lp-two { display: grid; grid-template-columns: 1fr 380px; gap: 48px; }
.lp-map { border: 1px solid #dce2e8; border-radius: 4px; overflow: hidden; background: #e4e7eb; }
.lp-map iframe { display: block; width: 100%; height: 320px; border: 0; }
.lp-map-lien { margin: 10px 0 0; font-size: 15px; }
.lp-callbar { display: none; }
.lp-search { display: flex; gap: 10px; max-width: 720px; }
.lp-search input { flex-grow: 1; min-height: 52px; border: 1px solid #9aa5b1; border-radius: 4px; padding: 0 14px; font-family: inherit; font-size: 17px; color: #1f2933; }
.lp-search button { flex: none; min-height: 52px; padding: 0 26px; border: 0; border-radius: 4px; background: #1663c0; color: #fff; font-family: inherit; font-size: 17px; font-weight: 600; cursor: pointer; }
.lp-btn-tel { display: inline-flex; align-items: center; gap: 9px; background: #1663c0; color: #fff; text-decoration: none; padding: 11px 18px; border-radius: 4px; font-weight: 600; }
.lp-btn-tel:hover { background: #114f9c; color: #fff; }
.lp-hero { position: relative; }
.lp-utility, header { position: relative; z-index: 3; }
.lp-hero > div { position: relative; z-index: 2; max-width: 640px; }
.lp-hero::before { content: ""; position: absolute; z-index: 1; inset: 0 auto 0 -32px; width: 74%; background: linear-gradient(90deg, #f5f7f9 58%, rgba(245, 247, 249, 0) 100%); pointer-events: none; }
/* Le debordement est borne ici, et non sur la section : sinon la liste de
   suggestions du champ de recherche serait coupee au bord du hero. */
.lp-hero img { position: absolute; z-index: 0; pointer-events: none; right: -110px; top: 50%; width: 70%; max-width: 1000px; height: auto; opacity: 0; transform: translateY(calc(-50% + 12px)); animation: lp-fade-in .7s cubic-bezier(.2, .6, .3, 1) .1s forwards; }
@keyframes lp-fade-in { to { opacity: 1; transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) { .lp-hero img { animation: none; opacity: 1; transform: translateY(-50%); } }

@media (max-width: 980px) {
	.lp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp-two { grid-template-columns: 1fr; gap: 28px; }
	.lp-hero > div { max-width: none; }
	.lp-hero::before { display: none; }
			.lp-hero img { position: static; width: 100%; max-width: 520px; margin: 24px auto 0; display: block; transform: translateY(12px); }
	@keyframes lp-fade-in { to { opacity: 1; transform: none; } }
}

@media (max-width: 720px) {
	.lp-wrap { padding-inline: 18px; }
	h1 { font-size: 27px !important; }
	h2 { font-size: 21px !important; }
	.lp-nav, .lp-utility { display: none !important; }
	.lp-cards { grid-template-columns: 1fr; }
	.lp-search { flex-direction: column; }
	.lp-faq { grid-template-columns: 1fr !important; }
	.lp-footer-grid { grid-template-columns: 1fr 1fr !important; }
	.lp-cta-final { flex-direction: column; align-items: flex-start !important; }
	body { padding-bottom: 76px; }
	.lp-callbar { position: fixed; inset: auto 0 0 0; z-index: 99; display: flex; gap: 10px; padding: 10px 14px 16px; background: #fff; border-top: 1px solid #dce2e8; }
	.lp-callbar a { flex-grow: 1; display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; border-radius: 4px; text-decoration: none; font-weight: 600; }
}

/* ------------------------------------------------------------- résultats */

.lp-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }

.lp-results a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
	padding: 14px 18px;
	border: 1px solid #dce2e8;
	border-radius: 4px;
	text-decoration: none;
	color: #1f2933;
}

.lp-results a:hover { border-color: #1663c0; }
.lp-results strong { font-weight: 600; font-size: 16px; }
.lp-results span { color: #52606d; font-size: 14px; display: block; }
.lp-results .lp-from { text-align: right; white-space: nowrap; color: #1663c0; font-weight: 600; font-size: 15px; }

.lp-pagination { margin-top: 24px; }
.lp-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid #dce2e8;
	border-radius: 4px;
	text-decoration: none;
	color: #1f2933;
	font-size: 15px;
}
.lp-pagination .page-numbers:hover { border-color: #1663c0; color: #1663c0; }
.lp-pagination .page-numbers.current { background: #1663c0; border-color: #1663c0; color: #fff; font-weight: 600; }
.lp-pagination .page-numbers.dots { border-color: transparent; }
.lp-pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* -------------------------------------------------------- suggestions */

/* Le champ et sa liste passent au-dessus du texte qui suit dans le hero. */
.lp-search { position: relative; z-index: 5; }
.lp-suggest-anchor { position: relative; flex-grow: 1; }
.lp-suggest-anchor input { width: 100%; }

.lp-suggest {
	position: absolute;
	z-index: 20;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid #9aa5b1;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(31, 41, 51, .12);
	overflow-y: auto;
	overscroll-behavior: contain;
	max-height: min(46vh, 340px);
}

.lp-suggest a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 14px;
	min-height: 48px;
	text-decoration: none;
	color: #1f2933;
	font-size: 16px;
	border-bottom: 1px solid #eef1f4;
}

.lp-suggest a:last-child { border-bottom: 0; }
.lp-suggest a:hover, .lp-suggest a.is-active { background: #f5f7f9; color: #1663c0; }
.lp-suggest-price { color: #52606d; font-size: 14px; white-space: nowrap; }

/* ------------------------------------------------------------ fiche modèle */

.lp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0 0 20px; padding: 0; font-size: 14px; color: #52606d; }
.lp-crumbs a { text-decoration: none; }
.lp-crumbs a:hover { text-decoration: underline; }
.lp-crumbs li + li::before { content: "›"; margin-right: 8px; color: #9aa5b1; }

.lp-modele-tete { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }

.lp-devis { border: 1px solid #dce2e8; border-radius: 4px; background: #fff; padding: 22px; }
.lp-devis-faits { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; padding-top: 14px; border-top: 1px solid #dce2e8; font-size: 15px; }
.lp-devis-faits dt { color: #52606d; }
.lp-devis-faits dd { margin: 0; font-weight: 600; text-align: right; }

.lp-famille { margin-bottom: 28px; }
.lp-famille-tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 10px; }
.lp-famille-tete h3 { margin: 0; font-size: 18px; font-weight: 700; }
.lp-famille-tete p { margin: 0; font-size: 15px; color: #52606d; }

/* Le texte éditorial reste rendu par Divi : on neutralise sa mise en page. */
.lp-copy { max-width: 76ch; }
.lp-copy .et_pb_section, .lp-copy .et_pb_row, .lp-copy .et_pb_column { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; float: none !important; background: none !important; }
.lp-copy .et_pb_module { margin-bottom: 20px !important; }
.lp-copy h1, .lp-copy h2 { font-size: 22px; font-weight: 700; margin: 28px 0 10px; }
.lp-copy h3, .lp-copy h4 { font-size: 17px; font-weight: 600; margin: 22px 0 8px; }
.lp-copy p { margin: 0 0 14px; color: #52606d; text-align: left !important; }
.lp-copy img { max-width: 100%; height: auto; }

@media (max-width: 980px) {
	.lp-modele-tete { grid-template-columns: 1fr; gap: 24px; }
}

/* Cartes illustrées de la section « Ce que nous réparons ». */
.lp-cards-illustrees > div { display: flex; flex-direction: column; padding: 0; }
.lp-cards-illustrees img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
/* Le lien d'action est collé en bas : les cartes n'ont pas toutes autant de texte. */
.lp-cards-corps { display: flex; flex-direction: column; flex-grow: 1; padding: 20px 22px 22px; }
.lp-cards-corps p:first-of-type { flex-grow: 1; }

/* ------------------------------------------------------------ apparitions */

.lp-reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease-out, transform .5s cubic-bezier(.2, .6, .3, 1); }
.lp-reveal.is-visible { opacity: 1; transform: none; }

.lp-reveal-item { opacity: 0; transform: translateY(12px); transition: opacity .45s ease-out, transform .45s cubic-bezier(.2, .6, .3, 1); transition-delay: calc(var(--lp-rang, 0) * 60ms + 120ms); }
.lp-reveal.is-visible .lp-reveal-item { opacity: 1; transform: none; }

/* Le hero est déjà à l'écran au chargement : il s'anime sans attendre. */
.lp-hero > div > * { opacity: 0; animation: lp-fade-up .6s cubic-bezier(.2, .6, .3, 1) forwards; }
.lp-hero > div > *:nth-child(1) { animation-delay: .05s; }
.lp-hero > div > *:nth-child(2) { animation-delay: .12s; }
.lp-hero > div > *:nth-child(3) { animation-delay: .19s; }
.lp-hero > div > *:nth-child(4) { animation-delay: .26s; }

@keyframes lp-fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	.lp-reveal, .lp-reveal-item, .lp-hero > div > * { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}

/* ------------------------------------------------------- étapes du parcours */

.lp-etapes { list-style: none; margin: 0; padding: 0; counter-reset: lp-etape; }

.lp-etapes li {
	display: grid;
	grid-template-columns: 34px 1fr;
	gap: 3px 16px;
	align-items: start;
	padding: 18px 0;
	border-top: 1px solid #dce2e8;
}

.lp-etapes li:first-child { border-top: 0; padding-top: 0; }
.lp-etapes li:last-child { padding-bottom: 0; }

.lp-etapes li::before {
	counter-increment: lp-etape;
	content: counter(lp-etape);
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #e8f1fd;
	color: #1663c0;
	font-weight: 700;
	font-size: 16px;
}

/* Le numéro occupe la première colonne, titre et texte la seconde. */
.lp-etapes strong { grid-column: 2; font-size: 17px; font-weight: 600; }
.lp-etapes span { grid-column: 2; font-size: 16px; color: #52606d; }

.lp-utility-item { display: inline-flex; align-items: center; gap: 8px; }
.lp-utility-item svg { flex: none; color: #f95251; }

/* Liseré aux deux couleurs du logo, en tête de page. */
.lp-brandline { height: 3px; background: linear-gradient(90deg, #5ca6f4 0 55%, #f95251 55% 100%); }

/* Le corail sert d'accent : chiffres mis en avant, marqueurs, survols. */
.lp-devis p:nth-of-type(2) { color: #f95251; }
.lp-famille-tete h3 { position: relative; padding-left: 14px; }
.lp-famille-tete h3::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 4px; border-radius: 2px; background: #f95251; }
.lp-etapes li::before { background: #e8f1fd; color: #1663c0; }
.lp-etapes li:first-child::before { background: #f95251; color: #fff; }
.lp-results a:hover .lp-from { color: #f95251; }
.lp-suggest a.is-active .lp-suggest-price, .lp-suggest a:hover .lp-suggest-price { color: #f95251; }
.lp-logo-accent { color: #f95251; }

.lp-logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.lp-logo span { font-size: 22px; font-weight: 700; color: #1f2933; }

/* --------------------------------------------- soulignement des sections */

/* Le trait est visible par défaut : sans JavaScript, aucune classe n'est posée
   et le titre reste souligné. Il ne se rétracte que le temps de l'apparition. */
/* inline-block : le trait épouse la largeur du texte, pas celle de la colonne. */
body > section h2 { position: relative; display: inline-block; padding-bottom: 14px; }

body > section h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 3px;
	border-radius: 2px;
	background: #f95251;
	transition: width .55s cubic-bezier(.2, .6, .3, 1) .2s;
}

.lp-reveal:not(.is-visible) h2::after { width: 0; }

@media (prefers-reduced-motion: reduce) {
	body > section h2::after { width: 100% !important; transition: none; }
}
