/**
 * NRV Codes — CSS du site (spécifique à CE site).
 *
 * Chargé sur toutes les pages du site.
 * Modifiable dans l'admin : NRV Codes > Code du site, ou directement sur le serveur.
 *
 * ⚠️ Le CSS lié aux animations GSAP (états initiaux masqués…) va dans
 *    site/gsap/animations.css : il n'est chargé que si GSAP est actif.
 *
 * EDL TL 31 : styles des éléments générés par des shortcodes (menu NRV,
 * numéro caché, Contact Form 7, pré-devis) et du contenu des articles.
 * Les couleurs viennent des variables Oxygen (--edl-*).
 */

button,
input,
select,
textarea {
	font-family: inherit;
}

/* ==================================================================
 * Numéro caché [NumeroCache class="edl-call …"]
 * ================================================================== */
.edl-call.NumeroCache {
	min-height: 48px;
	padding: 0 20px;
	border-radius: var(--edl-radius-sm, 8px);
	border: 1.5px solid transparent;
	color: var(--edl-navy);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	gap: 8px;
	text-decoration: none;
	white-space: nowrap;
	justify-content: center;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.edl-call.NumeroCache:hover {
	text-decoration: none;
}
.edl-call.NumeroCache .PhoneIcon {
	width: 18px;
	height: 18px;
	margin-right: 8px;
}
.edl-call.NumeroCache .phone-number-real {
	font-variant-numeric: tabular-nums;
}
.edl-call--orange.NumeroCache {
	border-color: var(--edl-orange);
	background: transparent;
}
.edl-call--orange.NumeroCache .PhoneIcon {
	color: var(--edl-orange);
}
.edl-call--orange.NumeroCache:hover {
	background: var(--edl-orange-soft);
	color: var(--edl-navy);
}
.edl-call--white.NumeroCache {
	border-color: var(--edl-white);
	color: var(--edl-white);
	padding: 0 24px;
}
.edl-call--white.NumeroCache:hover {
	background: rgba(255, 255, 255, .08);
	color: var(--edl-white);
}
.edl-call--outline.NumeroCache {
	border-color: var(--edl-navy);
	padding: 0 24px;
}
.edl-call--outline.NumeroCache:hover {
	background: var(--edl-blue-soft);
}
.edl-call--text.NumeroCache {
	min-height: 0;
	padding: 0;
	border: 0;
	color: var(--edl-white);
}
.edl-call--text.NumeroCache:hover {
	color: var(--edl-yellow);
}
.edl-call--text.NumeroCache .PhoneIcon {
	color: var(--edl-yellow);
}
.edl-call--big.NumeroCache {
	min-height: 0;
	padding: 0;
	border: 0;
	font-size: 32px;
	font-weight: 700;
	color: var(--edl-white);
	letter-spacing: .01em;
}
.edl-call--big.NumeroCache .PhoneIcon {
	width: 26px;
	height: 26px;
	color: var(--edl-yellow);
}
.edl-call--block.NumeroCache {
	width: 100%;
}

/* ==================================================================
 * Menu [custom_menu] dans l'en-tête
 * ================================================================== */
.edl-header .Menu_items-container {
	gap: 28px;
}
.edl-header .Menu_item {
	margin: 0;
}
.edl-header .Menu_link {
	color: var(--edl-navy);
	font-family: var(--edl-font);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	padding: 4px 0;
	white-space: nowrap;
	text-decoration: none;
}
.edl-header .Menu_link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 0;
	height: 2px;
	background: var(--edl-blue);
	transition: width .3s ease;
}
.edl-header .Menu_title {
	overflow: visible;
}
.edl-header .current > .Menu_title .Menu_link,
.edl-header .current-parent > .Menu_title .Menu_link {
	color: var(--edl-navy);
}
@media (min-width: 1121px) {
	.edl-header .Menu_item:not(.highlight):hover > .Menu_title .Menu_link {
		color: var(--edl-blue);
	}
}
@media (max-width: 1120px) {
	.edl-header .Menu_items-container {
		gap: 0;
		padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + 8px);
		z-index: 100;
		overflow-y: auto;
	}
	.edl-header .Menu_item {
		padding: 18px 24px;
		border-top: 1px solid var(--edl-line);
	}
	.edl-header .Menu_link {
		font-size: 20px;
	}
	.edl-header .Menu_link::after {
		display: none;
	}
	.edl-header .current > .Menu_title .Menu_link {
		color: var(--edl-blue);
	}
	.edl-header .Menu_burger-icone-trait {
		height: 2px;
		background-color: var(--edl-navy);
	}
	.edl-header .Menu_close::before,
	.edl-header .Menu_close::after {
		background-color: var(--edl-navy);
	}
}

/* ==================================================================
 * Barre « Pré-devis » [edl_predevis]
 * ================================================================== */
.edl-predevis {
	max-width: 1040px;
	min-height: 88px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	border-radius: 9999px;
	background: var(--edl-white);
	box-shadow: var(--edl-shadow);
	padding: 12px 12px 12px 40px;
	color: var(--edl-navy);
}
.edl-predevis__field {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 0;
	border: 0;
}
.edl-predevis__field--moment {
	flex-grow: 1.2;
}
.edl-predevis__label {
	padding: 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.edl-predevis__input {
	width: 100%;
	border: 0;
	background: transparent;
	padding: 0;
	font-size: 15px;
	color: var(--edl-muted);
	outline: none;
	cursor: pointer;
}
.edl-predevis__input:focus-visible {
	outline: 2px solid var(--edl-blue);
	outline-offset: 4px;
	border-radius: 4px;
}
.edl-predevis__sep {
	width: 1px;
	height: 36px;
	background: var(--edl-line);
	margin: 0 24px;
	flex: none;
}
.edl-predevis__pills {
	display: flex;
	gap: 6px;
}
.edl-predevis__pill {
	position: relative;
	cursor: pointer;
}
.edl-predevis__pill input {
	position: absolute;
	opacity: 0;
	inset: 0;
	cursor: pointer;
}
.edl-predevis__pill span {
	display: inline-flex;
	align-items: center;
	height: 28px;
	padding: 0 14px;
	border-radius: 9999px;
	border: 1px solid var(--edl-line);
	background: var(--edl-white);
	font-size: 13px;
	font-weight: 500;
}
.edl-predevis__pill input:checked + span {
	background: var(--edl-navy);
	border-color: var(--edl-navy);
	color: var(--edl-white);
}
.edl-predevis__pill input:focus-visible + span {
	outline: 2px solid var(--edl-blue);
	outline-offset: 2px;
}
.edl-predevis__submit {
	height: 64px;
	padding: 0 24px 0 20px;
	border-radius: 9999px;
	border: 0;
	background: var(--edl-navy);
	color: var(--edl-white);
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	margin-left: 24px;
	transition: background-color .2s ease;
}
.edl-predevis__submit:hover {
	background: var(--edl-navy-2);
}
@media (max-width: 1023px) {
	.edl-predevis {
		flex-wrap: wrap;
		gap: 16px;
		border-radius: 24px;
		padding: 24px;
	}
	.edl-predevis__field {
		flex: 1 1 200px;
	}
	.edl-predevis__sep {
		display: none;
	}
	.edl-predevis__submit {
		margin-left: 0;
		width: 100%;
		justify-content: center;
		height: 56px;
	}
}

/* ==================================================================
 * Contact Form 7 — formulaire de devis
 * ================================================================== */
.edl-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.edl-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.edl-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.edl-form__field--full {
	grid-column: 1 / -1;
}
.edl-form__label {
	font-size: 14px;
	font-weight: 500;
}
.edl-form__group {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.edl-form input[type="text"],
.edl-form input[type="email"],
.edl-form input[type="tel"],
.edl-form select,
.edl-form textarea,
.edl-nl-form input[type="email"] {
	width: 100%;
	height: 56px;
	border: 1px solid var(--edl-line);
	border-radius: var(--edl-radius-sm, 8px);
	padding: 0 16px;
	font-size: 16px;
	color: var(--edl-navy);
	background: var(--edl-white);
	outline: none;
}
.edl-form textarea {
	height: auto;
	min-height: 140px;
	padding: 14px 16px;
	resize: vertical;
}
.edl-form input:focus,
.edl-form select:focus,
.edl-form textarea:focus,
.edl-nl-form input:focus {
	border: 2px solid var(--edl-navy);
	padding-left: 15px;
}
.edl-form .wpcf7-form-control-wrap {
	display: block;
}
.edl-form__pills .wpcf7-list-item {
	margin: 0 8px 8px 0;
	display: inline-block;
}
.edl-form__pills label {
	position: relative;
	cursor: pointer;
}
.edl-form__pills input {
	position: absolute;
	opacity: 0;
	inset: 0;
	cursor: pointer;
}
.edl-form__pills .wpcf7-list-item-label {
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding: 0 18px;
	border-radius: 9999px;
	border: 1px solid var(--edl-line);
	font-size: 15px;
	font-weight: 500;
	background: var(--edl-white);
	transition: background-color .2s ease, color .2s ease;
}
.edl-form__pills input:checked + .wpcf7-list-item-label {
	background: var(--edl-navy);
	border-color: var(--edl-navy);
	color: var(--edl-white);
}
.edl-form__pills input:focus-visible + .wpcf7-list-item-label {
	outline: 2px solid var(--edl-blue);
	outline-offset: 2px;
}
.edl-form__consent {
	font-size: 14px;
	color: var(--edl-muted);
	line-height: 1.5;
}
.edl-form__consent .wpcf7-list-item {
	margin: 0;
}
.edl-form__consent label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}
.edl-form__consent input {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--edl-navy);
	flex: none;
}
.edl-form__submit,
.edl-nl-form__submit {
	height: 56px;
	padding: 0 28px;
	border-radius: var(--edl-radius-sm, 8px);
	border: 0;
	background: var(--edl-navy);
	color: var(--edl-white);
	font-size: 16px;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	cursor: pointer;
	flex: none;
	transition: background-color .2s ease;
}
.edl-form__submit {
	align-self: flex-start;
}
.edl-form__submit:hover,
.edl-nl-form__submit:hover {
	background: var(--edl-navy-2);
}
.wpcf7 .wpcf7-not-valid-tip {
	font-size: 13px;
	margin-top: 4px;
	color: #B42318;
}
.wpcf7 form .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 16px;
	border-radius: var(--edl-radius-sm, 8px);
	font-size: 15px;
}
.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--edl-orange);
	background: var(--edl-orange-soft);
	color: var(--edl-navy);
	font-weight: 500;
}
.wpcf7-spinner {
	margin: 0 0 0 12px;
}
@media (max-width: 767px) {
	.edl-form__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.edl-form__submit {
		width: 100%;
	}
}

/* Newsletter */
.edl-nl-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.edl-nl-form__row {
	display: flex;
	gap: 8px;
}
.edl-nl-form__row .wpcf7-form-control-wrap {
	flex: 1;
	min-width: 0;
}
.edl-nl-form__note {
	font-size: 13px;
	color: var(--edl-muted);
}
.edl-nl-form--stack .edl-nl-form__row {
	flex-direction: column;
}
@media (max-width: 479px) {
	.edl-nl-form__row {
		flex-direction: column;
	}
}

/* Rappel (pied de page) */
.edl-rappel-form {
	height: 56px;
	border: 1px solid var(--edl-line);
	border-radius: 9999px;
	background: var(--edl-white);
	padding: 0 6px 0 20px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.edl-rappel-form .wpcf7-form-control-wrap {
	flex: 1;
	min-width: 0;
}
.edl-rappel-form input[type="email"] {
	width: 100%;
	border: 0;
	outline: none;
	font-size: 15px;
	color: var(--edl-navy);
	background: transparent;
}
.edl-rappel-form .wpcf7-not-valid-tip {
	position: absolute;
}
.edl-rappel-form__submit {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	background: var(--edl-navy);
	color: var(--edl-white);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex: none;
}
.edl-rappel-form__submit:hover {
	background: var(--edl-navy-2);
}

/* ==================================================================
 * FAQ (balises details / summary)
 * ================================================================== */
.edl-faq__item summary {
	list-style: none;
}
.edl-faq__item summary::-webkit-details-marker {
	display: none;
}
.edl-faq__item[open] .edl-faq__icon {
	background: var(--edl-navy);
	color: var(--edl-white);
}
.edl-faq__item[open] .edl-faq__icon::before {
	content: "−";
}
.edl-faq__icon::before {
	content: "+";
}

/* ==================================================================
 * Filtres (portfolio, actualités) — état actif piloté par scripts-site.js
 * ================================================================== */
.edl-filter.is-active,
.edl-tab.is-active {
	background: var(--edl-navy);
	border-color: var(--edl-navy);
	color: var(--edl-white);
}
.edl-is-hidden {
	display: none !important;
}

/* ==================================================================
 * Contenu des articles (corps WordPress)
 * ================================================================== */
.edl-article__content {
	font-size: 18px;
	font-weight: 300;
	line-height: 1.7;
	color: var(--edl-navy);
}
.edl-article__content > * + * {
	margin-top: 20px;
}
.edl-article__content h2 {
	margin-top: 40px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .015em;
	text-transform: uppercase;
}
.edl-article__content h3 {
	margin-top: 32px;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.3;
}
.edl-article__content a {
	color: var(--edl-blue);
	text-decoration: underline;
}
.edl-article__content ul,
.edl-article__content ol {
	padding-left: 1.2em;
}
.edl-article__content li + li {
	margin-top: 8px;
}
.edl-article__content blockquote {
	margin: 32px 0;
	padding: 4px 0 4px 28px;
	border-left: 3px solid var(--edl-orange);
}
.edl-article__content blockquote p {
	font-size: 24px;
	font-weight: 400;
	line-height: 1.4;
}
.edl-article__content blockquote cite {
	display: block;
	margin-top: 10px;
	font-size: 14px;
	font-style: normal;
	color: var(--edl-muted);
}
.edl-article__content .edl-retenir {
	background: var(--edl-blue-soft);
	border-radius: var(--edl-radius, 14px);
	padding: 28px 32px;
}
.edl-article__content .edl-retenir__titre {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--edl-blue-dark);
}
.edl-article__content .edl-retenir ul {
	list-style: none;
	padding: 0;
	margin-top: 12px;
	font-size: 16px;
	font-weight: 400;
}
.edl-article__content .edl-retenir li {
	display: flex;
	gap: 12px;
}
.edl-article__content .edl-retenir li::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--edl-blue);
	margin-top: 10px;
	flex: none;
}
.edl-article__content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--edl-radius, 14px);
}
@media (max-width: 767px) {
	.edl-article__content {
		font-size: 17px;
	}
	.edl-article__content h2 {
		font-size: 23px;
	}
	.edl-article__content blockquote p {
		font-size: 20px;
	}
}

/* Pages légales */
.edl-legal__content h2 {
	margin: 32px 0 12px;
	font-size: 22px;
	font-weight: 700;
	text-transform: uppercase;
}
.edl-legal__content p,
.edl-legal__content li {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.7;
}

/* ==================================================================
 * Équipe : anneau orange pour les deux gérants (boucle « Équipe »)
 * ================================================================== */
.edl-team-grid--all .edl-member:nth-child(-n+2) .edl-member__photo {
	box-shadow: 0 0 0 3px var(--edl-white), 0 0 0 5px var(--edl-orange);
}

/* ==================================================================
 * Fil d'Ariane NRV [breadcrumb]
 * ================================================================== */
.edl-article-head__crumbs .NRV_breadcrumb ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.edl-article-head__crumbs .NRV_breadcrumb li + li::before {
	content: "/";
	margin-right: 6px;
	color: var(--edl-line);
}
.edl-article-head__crumbs .NRV_breadcrumb a {
	color: var(--edl-blue);
	text-decoration: none;
}
.edl-article-head__crumbs .NRV_breadcrumb a:hover {
	text-decoration: underline;
}

/* ==================================================================
 * Pages légales générées par NRV Codes (Mentions / Confidentialité)
 * ================================================================== */
.edl-legal__content .ct-section-inner-wrap {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.edl-legal__content .Bouton {
	align-self: flex-start;
	font-size: 14px;
	color: var(--edl-blue);
}
.edl-legal__content h1 {
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: .015em;
}
.edl-legal__content h2 {
	margin-top: 20px;
	font-size: 22px;
	font-weight: 700;
	text-transform: uppercase;
}
.edl-legal__content p,
.edl-legal__content li {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.7;
}
.edl-legal__content ul {
	padding-left: 1.2em;
}
.edl-legal__content a {
	color: var(--edl-blue);
}
@media (max-width: 767px) {
	.edl-legal__content h1 {
		font-size: 28px;
	}
}
