/*
Theme Name: SDD+ (thème enfant)
Theme URI: https://sddplus.fr
Description: Thème enfant de Qondri pour la refonte de sddplus.fr (logistique et livraison mutualisée B2B, Charente et Vienne). Tout le code SiteProxi vit ici ; le thème parent n'est jamais modifié.
Author: SiteProxi
Author URI: https://siteproxi.fr
Template: qondri
Version: 1.0.0
Requires PHP: 7.4
Text Domain: sddplus
*/

/* ==========================================================================
   Jetons de design — repris du thème parent et du kit Elementor du site
   (bleu marine #183862, vert d'accent #89b92e, police Barlow).
   Tout ce qui suit est préfixé .sdd- et ne touche pas aux pages Elementor.
   Attention : le parent fixe html { font-size: 62.5% } (1rem = 10px), d'où
   des tailles en pixels ici.
   ========================================================================== */
:root {
	--sdd-navy: #183862;
	--sdd-navy-dark: #10274a;
	--sdd-green: #89b92e;
	--sdd-green-light: #a1bf30;
	--sdd-green-text: #4f7d12; /* vert lisible sur fond clair (contraste AA) */
	--sdd-text: #2b3441;
	--sdd-muted: #5f6b7a;
	--sdd-bg-light: #f4f6f8;
	--sdd-border: #dee3e8;
	--sdd-white: #fff;
	--sdd-container: 1170px;
	--sdd-radius: 6px;
}

/* Les pages en template PHP gèrent elles-mêmes leurs marges (sections pleine largeur). */
body.sdd-page #main-content {
	padding: 0;
}

/* ==========================================================================
   Base des pages en template PHP (.sdd-main)
   ========================================================================== */
.sdd-main {
	color: var(--sdd-text);
	font-size: 18px;
	line-height: 1.6;
}
.sdd-main p {
	margin: 0 0 1em;
}
.sdd-main h1,
.sdd-main h2,
.sdd-main h3 {
	color: var(--sdd-navy);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 0.6em;
}
.sdd-main h2 {
	font-size: clamp(28px, 3.2vw, 38px);
	max-width: 22em;
}
.sdd-main h3 {
	font-size: 20px;
}
.sdd-main a:focus-visible,
.sdd-main button:focus-visible,
.sdd-main summary:focus-visible {
	outline: 3px solid var(--sdd-green);
	outline-offset: 3px;
}
.sdd-container {
	width: min(var(--sdd-container), 90%);
	margin: 0 auto;
}
.sdd-container--narrow {
	max-width: 820px;
}
.sdd-section {
	padding: 72px 0;
}
.sdd-section--tight {
	padding: 36px 0;
}
.sdd-section--light {
	background: var(--sdd-bg-light);
}
.sdd-section--navy {
	background: var(--sdd-navy);
	color: #fff;
}
.sdd-main .sdd-section--navy h2,
.sdd-main .sdd-section__title--light {
	color: #fff;
}
.sdd-kicker {
	margin: 0 0 0.6em;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sdd-green-text);
}
.sdd-section--navy .sdd-kicker,
.sdd-hero .sdd-kicker {
	color: var(--sdd-green-light);
}
.sdd-lead {
	font-size: 19px;
	max-width: 46em;
}
.sdd-icon {
	display: inline-block;
	vertical-align: middle;
	flex: none;
}

/* Boutons */
.sdd-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding: 15px 26px;
	border: 2px solid var(--sdd-navy);
	border-radius: var(--sdd-radius);
	background: var(--sdd-navy);
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.sdd-btn:hover,
.sdd-btn:focus {
	background: var(--sdd-navy-dark);
	border-color: var(--sdd-navy-dark);
	color: #fff;
}
.sdd-btn--green {
	background: var(--sdd-green);
	border-color: var(--sdd-green);
	color: var(--sdd-navy-dark);
}
.sdd-btn--green:hover,
.sdd-btn--green:focus {
	background: #fff;
	border-color: #fff;
	color: var(--sdd-navy-dark);
}
.sdd-btn--light {
	background: #fff;
	border-color: #fff;
	color: var(--sdd-navy);
}
.sdd-btn--light:hover,
.sdd-btn--light:focus {
	background: var(--sdd-green-light);
	border-color: var(--sdd-green-light);
	color: var(--sdd-navy-dark);
}
.sdd-btn .sdd-icon {
	width: 20px;
	height: 20px;
}

/* En-tête de page */
.sdd-hero {
	position: relative;
	overflow: hidden;
	padding: 88px 0 80px;
	background: var(--sdd-navy);
	color: #fff;
}
.sdd-hero::after {
	content: "";
	position: absolute;
	right: -10%;
	top: -35%;
	width: 42%;
	aspect-ratio: 1;
	border-radius: 14%;
	background: var(--sdd-green);
	opacity: 0.12;
	transform: rotate(18deg);
	pointer-events: none;
}
.sdd-hero .sdd-container {
	position: relative;
}
.sdd-main .sdd-hero__title {
	color: #fff;
	font-size: clamp(32px, 4.6vw, 54px);
	max-width: 16em;
	margin-bottom: 0.5em;
}
.sdd-hero__lead {
	font-size: clamp(17px, 1.6vw, 21px);
	line-height: 1.5;
	max-width: 40em;
	color: #e6ebf2;
}
.sdd-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px 28px;
	margin: 28px 0 0;
}
.sdd-hero__tel,
.sdd-cta__tel {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	color: #fff;
	font-weight: 700;
	font-size: 18px;
	text-decoration: none;
}
.sdd-hero__tel:hover,
.sdd-hero__tel:focus,
.sdd-cta__tel:hover,
.sdd-cta__tel:focus {
	color: var(--sdd-green-light);
}

/* Trois bénéfices */
.sdd-benefices {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 20px 28px;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.sdd-benefices li {
	display: grid;
	grid-template-columns: 30px 1fr;
	column-gap: 14px;
	align-items: center;
}
.sdd-benefices .sdd-icon {
	grid-row: 1 / 3;
	width: 30px;
	height: 30px;
	color: var(--sdd-green-text);
}
.sdd-benefices strong {
	color: var(--sdd-navy);
	font-size: 18px;
}
.sdd-benefices span {
	color: var(--sdd-muted);
	font-size: 16px;
	line-height: 1.45;
}

/* Grilles de tuiles */
.sdd-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	margin-top: 32px;
}
/* Six tuiles « Pour qui » : trois par ligne dès qu'il y a la place, jamais quatre plus deux. */
@media (min-width: 900px) {
	.sdd-grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}
}
/* Deux colonnes de tuiles à côté d'une illustration (page Livraison mutualisée). */
.sdd-grid--2 {
	grid-template-columns: repeat(2, 1fr);
}
.sdd-tile {
	background: #fff;
	border: 1px solid var(--sdd-border);
	border-radius: var(--sdd-radius);
	padding: 28px 26px;
}
.sdd-tile--compact {
	padding: 24px 22px;
}
.sdd-tile__icon {
	display: block;
	width: 40px;
	height: 40px;
	margin-bottom: 14px;
	color: var(--sdd-green-text);
}
.sdd-main .sdd-tile__title {
	font-size: 19px;
	margin-bottom: 0.4em;
}
.sdd-tile p {
	margin: 0;
	font-size: 16px;
	color: var(--sdd-muted);
}

/* Quatre étapes */
.sdd-steps {
	counter-reset: etape;
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
	display: grid;
	gap: 28px 22px;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.sdd-steps__item {
	position: relative;
	padding-top: 62px;
}
.sdd-steps__item::before {
	counter-increment: etape;
	content: counter(etape);
	position: absolute;
	top: 0;
	left: 0;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--sdd-green);
	color: var(--sdd-navy-dark);
	font-weight: 800;
	font-size: 20px;
	display: grid;
	place-items: center;
}
.sdd-main .sdd-steps__title {
	font-size: 19px;
}
.sdd-steps__item p {
	margin: 0;
	font-size: 16px;
	color: var(--sdd-muted);
}

/* Offre d'entrée et tarif */
.sdd-offre {
	display: grid;
	gap: 40px;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	align-items: start;
}
.sdd-offre__tarif {
	background: var(--sdd-bg-light);
	border-left: 4px solid var(--sdd-green);
	border-radius: var(--sdd-radius);
	padding: 28px 30px;
}

/* Bandeau chiffres */
.sdd-chiffres {
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.sdd-chiffres__item {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--sdd-radius);
	padding: 26px 22px;
}
.sdd-chiffres__valeur {
	display: block;
	font-size: clamp(26px, 2.6vw, 34px);
	font-weight: 800;
	line-height: 1.15;
	color: var(--sdd-green-light);
	margin-bottom: 0.3em;
}
.sdd-chiffres__libelle {
	font-size: 16px;
	color: #dfe6ef;
}

/* FAQ */
.sdd-faq {
	margin-top: 24px;
	border-top: 1px solid var(--sdd-border);
}
.sdd-faq__item {
	border-bottom: 1px solid var(--sdd-border);
}
.sdd-faq__item summary {
	list-style: none;
	cursor: pointer;
	position: relative;
	padding: 18px 48px 18px 0;
	font-weight: 700;
	font-size: 18px;
	color: var(--sdd-navy);
}
.sdd-faq__item summary::-webkit-details-marker {
	display: none;
}
.sdd-faq__item summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--sdd-bg-light);
	color: var(--sdd-navy);
	font-weight: 700;
	display: grid;
	place-items: center;
}
.sdd-faq__item[open] summary::after {
	content: "–";
}
.sdd-faq__body {
	padding: 0 48px 20px 0;
}
.sdd-faq__body p {
	margin: 0;
}

/* Formulaire de qualification (Contact Form 7) */
.sdd-form {
	margin-top: 28px;
	background: #fff;
	border: 1px solid var(--sdd-border);
	border-radius: var(--sdd-radius);
	padding: 32px;
}
.sdd-form__grid {
	display: grid;
	gap: 18px 22px;
	grid-template-columns: 1fr 1fr;
}
.sdd-form__full {
	grid-column: 1 / -1;
}
.sdd-form p {
	margin: 0;
}
.sdd-form label,
.sdd-form legend {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
	font-size: 16px;
	color: var(--sdd-navy);
}
.sdd-req {
	color: var(--sdd-green-text);
}
.sdd-form .wpcf7-form-control-wrap {
	display: block;
}
.sdd-form input[type="text"],
.sdd-form input[type="email"],
.sdd-form input[type="tel"],
.sdd-form textarea,
.sdd-form select {
	width: 100%;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid #c9d1da;
	border-radius: var(--sdd-radius);
	background: #fff;
	color: var(--sdd-text);
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
}
.sdd-form textarea {
	min-height: 96px;
	resize: vertical;
}
.sdd-form input:focus,
.sdd-form textarea:focus,
.sdd-form select:focus {
	outline: 3px solid rgba(137, 185, 46, 0.55);
	outline-offset: 1px;
	border-color: var(--sdd-green-text);
}
.sdd-form__contraintes {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}
.sdd-form__contraintes .wpcf7-checkbox {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin-bottom: 12px;
}
.sdd-form__contraintes .wpcf7-list-item {
	margin: 0;
}
.sdd-form__contraintes .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-weight: 500;
	color: var(--sdd-text);
}
.sdd-form input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--sdd-navy);
}
.sdd-form__consent .wpcf7-acceptance label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0;
	font-weight: 500;
	font-size: 15px;
	line-height: 1.45;
	color: var(--sdd-muted);
}
.sdd-form__consent input[type="checkbox"] {
	margin-top: 3px;
}
.sdd-form__grid [hidden] {
	display: none;
}
.sdd-form__hors-tournees .wpcf7-list-item {
	margin: 0;
}
.sdd-form__hors-tournees .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-weight: 500;
	color: var(--sdd-text);
}
.sdd-form a {
	color: var(--sdd-green-text);
	text-decoration: underline;
}
.sdd-form a:hover,
.sdd-form a:focus {
	color: var(--sdd-navy);
}
.sdd-form .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	padding: 15px 26px;
	border: 2px solid var(--sdd-navy);
	border-radius: var(--sdd-radius);
	background: var(--sdd-navy);
	color: #fff;
	font: inherit;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
}
.sdd-form .wpcf7-submit:hover,
.sdd-form .wpcf7-submit:focus {
	background: var(--sdd-navy-dark);
	border-color: var(--sdd-navy-dark);
}
.sdd-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	font-size: 14px;
	color: #b3261e;
}
.sdd-form .wpcf7-response-output {
	margin: 18px 0 0;
	padding: 14px 16px;
	border: 1px solid var(--sdd-border);
	border-radius: var(--sdd-radius);
}
.sdd-form .wpcf7-form.sent .wpcf7-response-output {
	border-color: var(--sdd-green);
	background: #f3f8e8;
	color: var(--sdd-navy);
}
.sdd-form .wpcf7-form.invalid .wpcf7-response-output,
.sdd-form .wpcf7-form.failed .wpcf7-response-output,
.sdd-form .wpcf7-form.spam .wpcf7-response-output {
	border-color: #b3261e;
	background: #fbeeed;
	color: #7a1a14;
}
.sdd-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Appel à l'action final */
.sdd-cta {
	background: var(--sdd-navy);
	color: #fff;
	border-radius: 10px;
	padding: 48px 40px;
	text-align: center;
}
.sdd-main .sdd-cta__title {
	color: #fff;
	font-size: clamp(24px, 2.8vw, 32px);
	max-width: 20em;
	margin: 0 auto 0.5em;
}
/* Ce sont des <p> : il leur faut la même spécificité que .sdd-main p, sinon la règle générale
   écrase les marges horizontales « auto » et le texte se colle à gauche. */
.sdd-main .sdd-cta__text {
	max-width: 40em;
	margin: 0 auto 24px;
	color: #dfe6ef;
}
.sdd-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 18px 30px;
	margin: 0;
}

/* Mobile */
@media (max-width: 640px) {
	.sdd-section {
		padding: 52px 0;
	}
	.sdd-hero {
		padding: 60px 0 56px;
	}
	.sdd-grid,
	.sdd-steps,
	.sdd-chiffres {
		margin-top: 24px;
	}
	.sdd-form {
		padding: 22px 18px;
	}
	.sdd-form__grid {
		grid-template-columns: 1fr;
	}
	.sdd-cta {
		padding: 36px 22px;
	}
}

/* ==========================================================================
   Page Zones desservies : carte et liste des communes
   ========================================================================== */
.sdd-hero--court {
	padding: 64px 0 56px;
}
.sdd-carte-section {
	background: var(--sdd-bg-light);
	padding-bottom: 20px;
}
.sdd-carte {
	width: 100%;
	height: 560px;
	background: #e9eef2;
}
.sdd-carte--simple {
	height: 420px;
	border-radius: var(--sdd-radius);
	border: 1px solid var(--sdd-border);
}
.leaflet-container {
	font-family: inherit;
	font-size: 14px;
}
.sdd-carte__depot svg {
	display: block;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}
.sdd-carte .leaflet-tooltip.sdd-carte__etiquette {
	background: var(--sdd-navy);
	color: #fff;
	border: 0;
	border-radius: 4px;
	font-weight: 700;
	font-size: 13px;
	padding: 4px 8px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.sdd-carte .leaflet-tooltip.sdd-carte__etiquette::before {
	border-right-color: var(--sdd-navy);
}
.sdd-main .sdd-carte__legende {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 26px;
	margin: 14px auto 0;
	font-size: 15px;
	color: var(--sdd-muted);
}
.sdd-carte__legende-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.sdd-carte__puce {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	flex: none;
}
.sdd-carte__puce--depot {
	background: var(--sdd-navy);
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
}
.sdd-carte__puce--pole {
	background: var(--sdd-green);
	border: 2px solid var(--sdd-navy);
}
.sdd-carte__puce--commune {
	width: 9px;
	height: 9px;
	background: var(--sdd-green);
}
.sdd-carte__puce--axe {
	width: 26px;
	height: 0;
	border-top: 3px dashed var(--sdd-navy);
	border-radius: 0;
	opacity: 0.6;
}
.sdd-zone {
	margin-top: 44px;
}
.sdd-main .sdd-zone__titre {
	font-size: clamp(22px, 2.4vw, 28px);
	margin-bottom: 0.3em;
}
.sdd-zone__depot {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 22px;
	font-weight: 700;
	color: var(--sdd-navy);
}
.sdd-zone__depot .sdd-icon {
	color: var(--sdd-green-text);
}
.sdd-zone__poles {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(2, 1fr);
}
.sdd-pole {
	background: #fff;
	border: 1px solid var(--sdd-border);
	border-radius: var(--sdd-radius);
	padding: 22px 22px 18px;
}
.sdd-main .sdd-pole__titre {
	font-size: 17px;
	margin: 0 0 12px;
	color: var(--sdd-navy);
	font-weight: 800;
	line-height: 1.3;
}
.sdd-pole__nb {
	color: var(--sdd-muted);
	font-weight: 500;
}
.sdd-pole__communes {
	list-style: none;
	margin: 0;
	padding: 0;
	columns: 3;
	column-gap: 18px;
	font-size: 15px;
	line-height: 1.5;
}
.sdd-pole__communes li {
	break-inside: avoid;
	padding: 2px 0;
}
.sdd-pole__cp {
	color: var(--sdd-muted);
	font-size: 13px;
}
.sdd-zone__source {
	margin: 36px 0 0;
	font-size: 15px;
	color: var(--sdd-muted);
}
@media (max-width: 900px) {
	.sdd-pole__communes {
		columns: 2;
	}
}
@media (max-width: 640px) {
	.sdd-carte {
		height: 380px;
	}
	.sdd-carte--simple {
		height: 320px;
	}
	.sdd-zone__poles {
		grid-template-columns: 1fr;
	}
	.sdd-pole__communes {
		columns: 1;
	}
}

/* ==========================================================================
   Page Comment ça marche
   ========================================================================== */
.sdd-etapes-detail {
	counter-reset: etape;
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
	display: grid;
	gap: 26px;
}
.sdd-etapes-detail__item {
	position: relative;
	max-width: 900px;
	padding: 0 0 0 78px;
}
.sdd-etapes-detail__item::before {
	counter-increment: etape;
	content: counter(etape);
	position: absolute;
	left: 0;
	top: 0;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: var(--sdd-green);
	color: var(--sdd-navy-dark);
	font-weight: 800;
	font-size: 24px;
	display: grid;
	place-items: center;
}
.sdd-main .sdd-etapes-detail__item h3 {
	font-size: 22px;
	margin-bottom: 0.3em;
}
.sdd-etapes-detail__item p {
	margin: 0;
	color: var(--sdd-muted);
}
.sdd-infos {
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	align-items: start;
}
.sdd-checklist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}
.sdd-checklist li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--sdd-border);
	border-radius: var(--sdd-radius);
	padding: 14px 16px;
}
.sdd-checklist .sdd-icon {
	width: 24px;
	height: 24px;
	margin-top: 2px;
	color: var(--sdd-green-text);
}
.sdd-pilote {
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	align-items: start;
}
.sdd-pilote__points {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
}
.sdd-pilote__points li {
	display: grid;
	gap: 4px;
	padding: 18px 20px;
	background: #fff;
	border-left: 4px solid var(--sdd-green);
	border-radius: var(--sdd-radius);
}
.sdd-pilote__points strong {
	color: var(--sdd-navy);
	font-size: 18px;
}
.sdd-pilote__points span {
	color: var(--sdd-muted);
	font-size: 16px;
}
@media (max-width: 800px) {
	.sdd-infos,
	.sdd-pilote {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.sdd-etapes-detail__item {
		padding-left: 66px;
	}
}

/* ==========================================================================
   Page d'accueil
   ========================================================================== */
.sdd-hero .sdd-container {
	z-index: 2;
}
.sdd-hero--photo {
	padding: 64px 0;
}
.sdd-hero__grid {
	display: grid;
	gap: 44px;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: center;
}
.sdd-hero__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.sdd-section--chiffres {
	padding: 48px 0;
}
.sdd-section--chiffres .sdd-chiffres {
	margin-top: 0;
}
.sdd-section__suite {
	margin: 28px 0 0;
}
.sdd-lien {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-weight: 700;
	color: var(--sdd-navy);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.sdd-lien:hover,
.sdd-lien:focus {
	color: var(--sdd-green-text);
}
.sdd-lien .sdd-icon {
	width: 20px;
	height: 20px;
}
.sdd-zones-apercu {
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
	align-items: center;
}
.sdd-confiance {
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	align-items: center;
}
.sdd-confiance__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}
.sdd-benefices--colonne {
	grid-template-columns: 1fr;
	gap: 14px;
	margin-top: 24px;
}
@media (max-width: 900px) {
	.sdd-hero__grid,
	.sdd-zones-apercu,
	.sdd-confiance {
		grid-template-columns: 1fr;
		gap: 26px;
	}
	.sdd-hero--photo {
		padding: 48px 0;
	}
}

/* ==========================================================================
   Pied de page (footer.php du thème enfant)
   ========================================================================== */
.sdd-footer {
	background: var(--sdd-navy);
	color: #dfe6ef;
	font-size: 16px;
	line-height: 1.55;
}
.sdd-footer a {
	color: #fff;
	text-decoration: none;
}
.sdd-footer a:hover,
.sdd-footer a:focus {
	color: var(--sdd-green-light);
	text-decoration: underline;
}
.sdd-footer a:focus-visible {
	outline: 3px solid var(--sdd-green);
	outline-offset: 3px;
}
.sdd-footer__grid {
	display: grid;
	gap: 36px;
	grid-template-columns: 1.3fr 1fr 1fr 1fr;
	padding: 56px 0 40px;
}
.sdd-footer__logo {
	display: block;
	margin-bottom: 28px;
}
.sdd-footer__logo img {
	display: block;
	width: 100%;
	max-width: 300px;
	height: auto;
}
.sdd-footer__marque p {
	margin: 0;
	max-width: 32em;
}
.sdd-footer__titre {
	margin: 0 0 12px;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: #fff;
}
/* Les deux dépôts tiennent dans une seule colonne : chacun a son sous-titre. */
.sdd-footer__sous-titre {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
}
.sdd-footer__adresse {
	font-style: normal;
	margin: 0 0 16px;
}

.sdd-footer__liens {
	list-style: none;
	margin: 0;
	padding: 0;
}
.sdd-footer__liens li {
	margin: 0 0 8px;
}
.sdd-footer__jeton {
	color: var(--sdd-green-light);
}
.sdd-footer__bas {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	padding: 18px 0;
	font-size: 14px;
}
.sdd-footer__bas-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 10px 24px;
}
.sdd-footer__bas p {
	margin: 0;
}
.sdd-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}
@media (max-width: 900px) {
	.sdd-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 560px) {
	.sdd-footer__grid {
		grid-template-columns: 1fr;
		gap: 26px;
		padding: 40px 0 28px;
	}
}

/* ==========================================================================
   Header Elementor : le logo signé (format 6,4:1) est plus large que l'ancien ;
   on borne sa hauteur pour qu'il ne pousse pas le menu et qu'il tienne sur mobile.
   ========================================================================== */
#site-header-wrap .master-logo img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 60px;
}
@media (max-width: 767px) {
	#site-header-wrap .master-logo img {
		max-height: 42px;
	}
}

/* ==========================================================================
   Pages Elementor historiques : contrastes AA (specs §10, Lighthouse accessibilité).
   Le gris de texte du kit (#747f8e, 4,06:1) et le vert d'accent sur blanc (2,32:1)
   sont sous le seuil de 4,5:1. On assombrit sans toucher aux réglages Elementor.
   ========================================================================== */
:root,
body.elementor-kit-9 {
	--e-global-color-qondri_text: #5f6b7a; /* 5,6:1 sur blanc */
}
body .elementor-widget-container .master-icon-box .headline-2 {
	color: #5f6b7a !important; /* couleur codée en dur par Elementor sur la page Contact */
}
body .master-heading .pre-heading {
	color: var(--sdd-green-text) !important; /* sur-titre vert : 5,9:1 sur blanc */
}
body .elementor-widget-text-editor a {
	color: var(--sdd-green-text);
	text-decoration: underline;
}
body .master-button.btn-accent {
	background-color: var(--sdd-green-text) !important; /* texte blanc lisible : 5,3:1 */
}
body button.master-button.btn-accent:hover {
	background-color: var(--sdd-navy-dark) !important;
}
body .elementor-counter .elementor-counter-number-wrapper {
	color: var(--sdd-green-text) !important; /* compteurs de la page Diffusion : 5,9:1 */
}

/* ==========================================================================
   Itération 2 : en-tête photo, colonnes texte + illustration, mentions
   ========================================================================== */
.sdd-hero--image {
	padding: 96px 0 88px;
	background: var(--sdd-navy-dark);
}
.sdd-hero--image::after {
	display: none;
}
.sdd-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0; /* sous le voile ::before, qui est généré avant l'image dans le DOM */
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 68% center;
}
.sdd-hero--image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(16, 39, 74, 0.97) 0%, rgba(16, 39, 74, 0.95) 40%, rgba(16, 39, 74, 0.72) 62%, rgba(16, 39, 74, 0.3) 100%);
}
.sdd-hero__panel {
	max-width: 660px;
}
.sdd-split {
	display: grid;
	gap: 32px 40px;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	align-items: start;
	margin-top: 32px;
}
.sdd-split--intro {
	margin-top: 0;
	align-items: center;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}
.sdd-split .sdd-grid {
	margin-top: 0;
}
/* Colonne illustration qui prend toute la hauteur des tuiles (page Livraison mutualisée). */
.sdd-split--stretch {
	align-items: stretch;
}
.sdd-split--stretch .sdd-figure {
	display: flex;
	flex-direction: column;
}
.sdd-split--stretch .sdd-figure img {
	flex: 1 1 auto;
	min-height: 0;
	object-fit: cover;
	object-position: center top;
}
.sdd-figure {
	margin: 0;
}
.sdd-figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}
.sdd-figure figcaption {
	margin-top: 12px;
	font-size: 15px;
	color: var(--sdd-muted);
}
.sdd-infos__media {
	margin-top: 26px;
}
.sdd-asterisque {
	font-size: 0.55em;
	color: var(--sdd-green-text);
	margin-left: 2px;
}
.sdd-mention {
	font-size: 14px;
	color: var(--sdd-muted);
	max-width: 46em;
}
@media (max-width: 900px) {
	.sdd-split,
	.sdd-split--intro {
		grid-template-columns: 1fr;
	}
	.sdd-split__aside {
		max-width: 520px;
	}
	.sdd-hero--image {
		padding: 64px 0 60px;
	}
	.sdd-hero--image::before {
		background: rgba(16, 39, 74, 0.86);
	}
}
.sdd-split--media-first {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
}
@media (min-width: 1100px) {
	.sdd-grid--4 {
		grid-template-columns: repeat(4, 1fr);
	}
}
/* Contact */
.sdd-contact {
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	align-items: start;
}
.sdd-contact__depots {
	display: grid;
	gap: 18px;
}
.sdd-depot {
	position: relative;
	padding: 22px 22px 22px 66px;
	background: #fff;
	border: 1px solid var(--sdd-border);
	border-radius: var(--sdd-radius);
}
.sdd-depot__icon {
	position: absolute;
	left: 22px;
	top: 24px;
	width: 28px;
	height: 28px;
	color: var(--sdd-green-text);
}
.sdd-main .sdd-depot__titre {
	font-size: 18px;
	margin-bottom: 8px;
}
.sdd-depot__adresse {
	font-style: normal;
	line-height: 1.6;
}
.sdd-depot p {
	margin: 0;
	font-size: 16px;
	color: var(--sdd-muted);
}
.sdd-jeton {
	color: var(--sdd-green-text);
	font-weight: 700;
}
.sdd-contact__form {
	margin-top: 0;
}
/* Section « Où nous trouver » : une photo par dépôt côte à côte, puis la carte en pleine largeur. */
.sdd-contact__carte {
	margin-top: 32px;
}
.sdd-main .sdd-form__titre {
	font-size: 24px;
	margin-bottom: 18px;
}
/* Nos marques */
.sdd-marques {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, 1fr);
}
.sdd-marque {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--sdd-border);
	border-radius: 10px;
	padding: 28px;
}
.sdd-marque__logo {
	display: grid;
	place-items: center;
	height: 190px;
	margin-bottom: 20px;
	background: var(--sdd-bg-light);
	border-radius: var(--sdd-radius);
}
.sdd-marque__logo img {
	max-width: 70%;
	max-height: 150px;
	width: auto;
	height: auto;
}
.sdd-main .sdd-marque__nom {
	font-size: 22px;
	margin-bottom: 0.4em;
}
.sdd-marque p {
	color: var(--sdd-muted);
	font-size: 16px;
}
.sdd-marque__lien {
	margin: auto 0 0 !important;
	padding-top: 12px;
}
@media (max-width: 900px) {
	.sdd-split--media-first,
	.sdd-contact,
	.sdd-marques {
		grid-template-columns: 1fr;
	}
}
/* Liens dans le texte des pages en template PHP : vert lisible et soulignés (contraste AA),
   sans toucher aux boutons ni aux liens de la carte. */
.sdd-main a:not(.sdd-btn):not(.sdd-lien) {
	color: var(--sdd-green-text);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.sdd-main a:not(.sdd-btn):not(.sdd-lien):hover,
.sdd-main a:not(.sdd-btn):not(.sdd-lien):focus {
	color: var(--sdd-navy);
}
.sdd-main .leaflet-container a {
	color: #0078a8;
	text-decoration: none;
}
.sdd-main .sdd-section--navy a:not(.sdd-btn),
.sdd-main .sdd-hero a:not(.sdd-btn),
.sdd-main .sdd-cta a:not(.sdd-btn) {
	color: var(--sdd-green-light);
}
/* Zones : le pôle de l'agglomération occupe toute la ligne, ses communes sur cinq colonnes. */
.sdd-pole--large {
	grid-column: 1 / -1;
}
.sdd-pole--large .sdd-pole__communes {
	columns: 5;
}
@media (max-width: 900px) {
	.sdd-pole--large .sdd-pole__communes {
		columns: 3;
	}
}
@media (max-width: 640px) {
	.sdd-pole--large .sdd-pole__communes {
		columns: 1;
	}
}
/* Variante : panneau de texte à droite, image visible à gauche (page Zones desservies). */
.sdd-hero--panel-right .sdd-container {
	display: flex;
	justify-content: flex-end;
}
.sdd-hero--panel-right::before {
	background: linear-gradient(270deg, rgba(16, 39, 74, 0.97) 0%, rgba(16, 39, 74, 0.95) 40%, rgba(16, 39, 74, 0.72) 62%, rgba(16, 39, 74, 0.3) 100%);
}
.sdd-hero--panel-right .sdd-hero__bg {
	object-position: 30% center;
}
@media (max-width: 900px) {
	.sdd-hero--panel-right::before {
		background: rgba(16, 39, 74, 0.86);
	}
}
/* Barre de menu fixe (header Elementor 652) : même logo signé que le header principal ;
   le widget le limite à 100 px de large, ce qui rendait la signature illisible. */
#site-header-wrap .qondri-header-fixed .master-logo {
	max-width: none;
}
#site-header-wrap .qondri-header-fixed .master-logo img {
	max-height: 48px;
}
@media (max-width: 767px) {
	/* Le widget logo de la barre fixe est limité à 34 % de large par Elementor sur mobile. */
	#site-header-wrap .qondri-header-fixed .elementor-widget-mae-logo {
		width: auto;
		max-width: 75%;
	}
	#site-header-wrap .qondri-header-fixed .master-logo img {
		max-height: 36px;
	}
}
/* Mobile : les tuiles en deux colonnes (Livraison mutualisée) passent sur une seule. */
@media (max-width: 640px) {
	.sdd-grid--2 {
		grid-template-columns: 1fr;
	}
}
/* Panneau de menu mobile : le thème force une capitale à chaque mot (« Comment Ça Marche »). */
#site-header-wrap .qondri-hamburger-menu a,
#site-header-wrap .hamburger-menu-wrap a {
	text-transform: none;
}
/* L'icône LinkedIn du panneau se pose en bas à droite : c'est le seul accès à LinkedIn sur mobile,
   la barre haute du header qui la porte sur grand écran étant masquée sous 767 px par Elementor.
   Le panneau fait la hauteur de l'écran ; « close-menu » est en position absolue, hors du flux. */
#site-header-wrap .hidden-menu-wrap {
	display: flex;
	flex-direction: column;
}
#site-header-wrap .hidden-menu-wrap .master-social-icons {
	margin-top: auto;
	padding-bottom: 28px;
	justify-content: flex-end;
}
/* Petits écrans (iPhone SE, 360 px…) : le widget logo gardait sa largeur intrinsèque et poussait
   le hamburger à la ligne. Il rétrécit désormais pour laisser la place au bouton de menu. */
@media (max-width: 767px) {
	#site-header-wrap .elementor-widget-mae-logo {
		flex: 1 1 auto;
		min-width: 0;
		width: auto;
		max-width: calc(100% - 64px);
	}
	#site-header-wrap .elementor-widget-mae-logo .master-logo,
	#site-header-wrap .elementor-widget-mae-logo .master-logo a {
		display: block;
		max-width: 100%;
	}
	#site-header-wrap .master-logo img {
		max-width: 100%;
		height: auto;
	}
}
/* Formulaires : les textarea (cols="40") et les select ont une largeur minimale intrinsèque qui
   empêchait la grille de se comprimer sur petit écran ; les champs débordaient du cadre. */
.sdd-form__grid > *,
.sdd-form .wpcf7-form-control-wrap {
	min-width: 0;
}
.sdd-form input[type="text"],
.sdd-form input[type="email"],
.sdd-form input[type="tel"],
.sdd-form textarea,
.sdd-form select {
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

/* --- Diaporama des deux dépôts (template-parts/diapo-depots.php) ---------------------------
   Deux images superposées, opacité animée : 2 s d'affichage, 1 s de fondu, cycle de 6 s.
   Les sélecteurs portent deux classes pour passer devant `.sdd-hero__media img` et
   `.sdd-confiance__media img`, qui règlent la hauteur et l'ombre des images simples. */
.sdd-diapo {
	position: relative;
	width: 100%;
	aspect-ratio: var(--sdd-diapo-ratio, 16 / 9);
	border-radius: 10px;
	overflow: hidden;
}
.sdd-diapo .sdd-diapo__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	object-fit: cover;
	border-radius: 0;
	box-shadow: none;
	opacity: 0;
	animation: sdd-diapo 6s linear infinite;
}
.sdd-diapo .sdd-diapo__img:nth-child(2) {
	animation-delay: -3s; /* démarre à mi-cycle : la seconde photo entre quand la première sort */
}
@keyframes sdd-diapo {
	0%, 33.33% { opacity: 1; }
	50%, 83.33% { opacity: 0; }
	100% { opacity: 1; }
}
.sdd-hero__media .sdd-diapo {
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
/* Qui a demandé moins d'animations garde la première photo, fixe. */
@media (prefers-reduced-motion: reduce) {
	.sdd-diapo .sdd-diapo__img {
		animation: none;
	}
	.sdd-diapo .sdd-diapo__img:first-child {
		opacity: 1;
	}
}
