/* ==========================================================================
   BURO DYO — Design system
   Version 7 — socle minimal pour un site construit dans Elementor.

   CE QUE CE FICHIER FAIT ENCORE
   -----------------------------
   Uniquement ce qu'Elementor ne peut pas faire :
     · les pseudo-éléments (trait du sur-titre, puces en flèche) ;
     · le HTML brut posé dans les widgets HTML, qu'aucun onglet Style n'atteint ;
     · l'overlay plein écran du menu mobile ;
     · la galerie projet et sa lightbox, dont les dimensions sont calculées en JS ;
     · le contenu rédigé des articles, qui vient de l'éditeur WordPress.

   Tout le reste — couleurs, typographie, largeurs, espacements, fonds,
   comportement responsive — est réglé dans Elementor.

   La section 8 en fin de fichier est TRANSITOIRE : elle contient les styles
   de composants qui font peut-être doublon avec tes réglages Elementor.
   Supprime-la après vérification visuelle.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables
   Conservées parce que les sections suivantes s'y réfèrent. Elles doivent
   rester alignées sur les Global Colors d'Elementor.
   -------------------------------------------------------------------------- */

:root {
	--navy:       #0B1F3A;
	--blue:       #1A4FD6;
	--blue-mid:   #2B6BE6;
	--blue-light: #EBF0FF;
	--blue-pale:  #F4F7FF;
	--off-white:  #F7F8FC;
	--white:      #FFFFFF;
	--text:       #0B1F3A;
	--text-muted: #5B7399;
	--border:     #D8E0F0;

	--sans:    'DM Sans', sans-serif;
	--font-display: 'Barlow Condensed', sans-serif;
	/* « Cormorant Garant » n'existe pas au catalogue Google Fonts. */
	--serif:   'Cormorant Garamond', Georgia, serif;

	--radius: 2px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
img  { max-width: 100%; height: auto; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   3. Pseudo-éléments
   Aucun onglet Style ne produit ces formes.
   -------------------------------------------------------------------------- */

/* Trait horizontal de 28px devant le sur-titre du hero. */
.hero-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.8rem;
}
.hero-eyebrow::before {
	content: '';
	display: block;
	width: 28px;
	height: 1px;
	background: var(--blue);
	flex-shrink: 0;
}

/* Puces en flèche des listes, à l'intérieur des widgets de texte. */
.sd-block ul {
	list-style: none;
	margin: 0.8rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.sd-block ul li {
	position: relative;
	padding-left: 1.2rem;
	line-height: 1.6;
}
.sd-block ul li::before {
	content: '→';
	position: absolute;
	left: 0;
	top: 0.15em;
	color: var(--blue);
	font-size: 0.75rem;
}

/* Trait de séparation des en-têtes de section. */
.section-line,
.section-rule { flex: 1; height: 1px; background: var(--border); }

/* --------------------------------------------------------------------------
   4. Menu mobile en plein écran
   Transforme le menu déroulant du widget Menu en overlay bleu nuit.
   Dépend des classes internes d'Elementor : à revérifier après une mise à
   jour majeure du plugin.
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {

	.site-header .elementor-nav-menu--dropdown.elementor-nav-menu__container {
		position: fixed !important;
		inset: 0 !important;
		width: 100% !important;
		max-height: 100vh !important;
		margin: 0 !important;
		background: var(--navy) !important;
		z-index: 300;
		display: flex !important;
		flex-direction: column;
		justify-content: center;
		padding: 5rem 3rem 3rem;
		overflow-y: auto;
	}

	.site-header .elementor-nav-menu--dropdown a.elementor-item {
		font-family: var(--font-display);
		font-size: clamp(1.8rem, 6vw, 2.4rem);
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		color: rgba(255,255,255,0.85);
		text-align: center;
		justify-content: center;
		padding: 0.8rem 0;
		border-bottom: 1px solid rgba(255,255,255,0.07);
		background: none;
	}
	.site-header .elementor-nav-menu--dropdown a.elementor-item:hover,
	.site-header .elementor-nav-menu--dropdown a.elementor-item-active {
		color: var(--blue-mid);
		background: none;
	}

	.site-header .elementor-menu-toggle { z-index: 301; }
}

/* --------------------------------------------------------------------------
   5. Image du hero
   Le widget Image n'a pas de réglage « remplir la hauteur du conteneur ».
   -------------------------------------------------------------------------- */

.hero-right { position: relative; overflow: hidden; }

.hero-img-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(11,31,58,0.5) 0%, rgba(11,31,58,0.1) 100%);
	z-index: 1;
	pointer-events: none;
}

.hero-img-wrap,
.hero-img-wrap .elementor-widget-container,
.hero-img-wrap figure { height: 100%; margin: 0; }

.hero-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 10s ease;
}
.hero-right:hover .hero-img-wrap img { transform: scale(1.04); }

/* --------------------------------------------------------------------------
   6. Galerie projet et lightbox
   Les largeurs de cellule et hauteurs de ligne sont calculées par
   burodyo.js : ne rien régler ici ni dans Elementor.
   -------------------------------------------------------------------------- */

/* Galerie projet — hauteurs de ligne calculées en CSS (pas de JS, WordPress fournit les dimensions natives) */
.gallery { container-type: inline-size; }

.g-row {
	display: flex;
	gap: 3px;
	margin-bottom: 3px;
	height: min(var(--hmax), calc((100cqw - 3px * (var(--n) - 1)) / var(--sum)));
}

.g-cell {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--off-white);
	min-width: 0;
}
.g-cell img {
	width: 100%; height: 100%;
	object-fit: contain; display: block;
	transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}
.g-cell:hover img { transform: scale(1.012); }
.g-cell::after {
	content: ''; position: absolute; inset: 0;
	background: rgba(11,31,58,0);
	transition: background .3s; pointer-events: none;
}
.g-cell:hover::after { background: rgba(11,31,58,0.04); }

.g-stack { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.g-stack .g-cell { flex: 1; min-height: 0; }

@media (max-width: 580px) {
	.g-row, .g-stack { flex-direction: column; height: auto; }
	.g-row > *, .g-stack > * { flex: none !important; width: 100%; }
	.g-cell img { height: auto; }
}

/* --------------------------------------------------------------------------
   7. Contenu rédigé des articles
   Le corps d'un article vient de l'éditeur WordPress : Elementor ne style
   pas ce contenu. Ces règles sont indispensables dès le premier article.
   -------------------------------------------------------------------------- */

.burodyo-prose { max-width: 760px; }

.burodyo-prose p {
	font-family: var(--sans);
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.8;
	color: var(--text-muted);
	margin-bottom: 1.4rem;
}

.burodyo-prose h2 {
	font-family: var(--font-display);
	font-size: clamp(1.6rem, 2.4vw, 2.2rem);
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.15;
	color: var(--navy);
	margin: 3rem 0 1.2rem;
}
.burodyo-prose h2 span { color: var(--blue); }

.burodyo-prose h3 {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--navy);
	margin: 2.2rem 0 0.9rem;
}

.burodyo-prose ul, .burodyo-prose ol { margin: 0 0 1.4rem; padding: 0; list-style: none; }
.burodyo-prose ul li {
	position: relative;
	padding-left: 1.2rem;
	font-size: 0.95rem;
	font-weight: 300;
	line-height: 1.7;
	color: var(--text-muted);
	margin-bottom: 0.5rem;
}
.burodyo-prose ul li::before {
	content: '→';
	position: absolute;
	left: 0;
	top: 0.15em;
	color: var(--blue);
	font-size: 0.8rem;
}
.burodyo-prose ol { counter-reset: prose-ol; }
.burodyo-prose ol li {
	counter-increment: prose-ol;
	position: relative;
	padding-left: 1.6rem;
	font-size: 0.95rem;
	font-weight: 300;
	line-height: 1.7;
	color: var(--text-muted);
	margin-bottom: 0.5rem;
}
.burodyo-prose ol li::before {
	content: counter(prose-ol) '.';
	position: absolute;
	left: 0;
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--blue);
}

.burodyo-prose blockquote {
	font-family: var(--serif);
	font-size: 1.15rem;
	font-weight: 300;
	font-style: italic;
	line-height: 1.6;
	color: var(--text-muted);
	border-left: 2.5px solid var(--blue);
	padding-left: 1.2rem;
	margin: 2rem 0;
}

.burodyo-prose a {
	color: var(--blue);
	text-decoration: none;
	border-bottom: 1px solid var(--blue-light);
	transition: border-color 0.2s;
}
.burodyo-prose a:hover { border-color: var(--blue); }

.burodyo-prose img { margin: 2rem 0; display: block; }

.burodyo-prose figcaption {
	font-size: 0.75rem;
	font-weight: 300;
	color: var(--text-muted);
	letter-spacing: 0.04em;
	margin-top: 0.6rem;
}

/* ==========================================================================
   8. TRANSITOIRE — à supprimer après vérification

   Ces règles habillent du HTML posé dans des widgets HTML : les onglets
   Style d'Elementor ne l'atteignent pas. Elles restent nécessaires tant que
   ces blocs sont en HTML brut.

   Si tu as reconstruit un de ces blocs en widgets natifs, supprime le
   paragraphe correspondant. Si tout a été reconstruit, supprime la section
   entière et le fichier tombe sous 8 Ko.
   ========================================================================== */

/* --- Boutons du hero, posés en HTML ------------------------------------- */
.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.btn-primary {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--white);
	background: var(--blue);
	padding: 0.85rem 2rem;
	border-radius: var(--radius);
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn-outline {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--blue);
	background: transparent;
	padding: 0.85rem 0;
	border: none;
	border-bottom: 1.5px solid var(--blue);
	text-decoration: none;
	transition: color 0.2s, border-color 0.2s;
}
.btn-outline:hover { color: var(--navy); border-color: var(--navy); }

/* --- Liens « En savoir plus » des cartes de service ---------------------- */
.service-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-display);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--blue);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s;
}
.service-link:hover { border-color: var(--blue); }

/* --- En-tête : logo et boutons, posés en HTML ou en widgets Bouton ------- */
.nav-logo {
	font-family: var(--font-display);
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--navy);
}
.nav-logo span { color: var(--blue); }

.lang-switch .elementor-button,
.nav-cta .elementor-button {
	background: none;
	padding: 0;
	border-radius: 0;
	font-family: inherit;
	color: inherit;
}
.lang-switch .elementor-button {
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--blue);
	border: 1px solid var(--blue);
	padding: 0.35rem 0.8rem;
	border-radius: var(--radius);
	transition: all 0.2s;
}
.lang-switch .elementor-button:hover { background: var(--blue); color: var(--white); }

.nav-cta .elementor-button {
	font-family: var(--sans);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--white);
	background: var(--blue);
	padding: 0.5rem 1.3rem;
	border-radius: var(--radius);
	transition: background 0.2s;
}
.nav-cta .elementor-button:hover { background: var(--navy); }

@media (max-width: 960px) { .site-header .nav-right { display: none; } }

/* --- Section « distinction » : liste posée en HTML ----------------------- */
.distinction-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.4rem; }
.distinction-point  { display: flex; gap: 1rem; align-items: flex-start; }

.d-icon {
	width: 32px; height: 32px;
	border-radius: 50%;
	background: rgba(26,79,214,0.2);
	border: 1px solid rgba(26,79,214,0.3);
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.d-icon svg { width: 13px; height: 13px; stroke: var(--blue-mid); fill: none; stroke-width: 2; }
.d-title { font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.9); margin-bottom: 0.2rem; }
.d-body  { font-size: 0.82rem; font-weight: 300; color: rgba(255,255,255,0.45); line-height: 1.65; }

/* --- Coordonnées du bloc contact, posées en HTML ------------------------- */
.contact-info { display: flex; flex-direction: column; gap: 0.8rem; }
.ci-item { display: flex; gap: 0.7rem; align-items: center; }
.ci-item svg { width: 13px; height: 13px; stroke: var(--blue-mid); fill: none; stroke-width: 1.5; flex-shrink: 0; }
.ci-item span { font-size: 0.83rem; font-weight: 300; color: rgba(255,255,255,0.45); }

/* --- Encadré « highlight » dans les blocs de service -------------------- */
.sd-highlight {
	background: var(--blue-light);
	padding: 1.2rem 1.5rem;
	border-radius: var(--radius);
	font-family: var(--serif);
	font-size: 0.88rem;
	font-style: italic;
	color: var(--blue);
	line-height: 1.65;
}

/* ==========================================================================
   9. RÉSERVE — pages projet
   Inutilisé tant que le type de contenu « projet » n'existe pas.
   Conservé volontairement pour cette étape.
   ========================================================================== */

.breadcrumb {
	display: flex; align-items: center; gap: 0.5rem;
	font-family: var(--sans); font-size: 0.72rem;
	letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb > span:last-child { color: var(--blue); }
.breadcrumb-sep { color: var(--border); }

/* Fil d'ariane réel : widget Elementor Breadcrumbs (#breadcrumbs), distinct de .breadcrumb ci-dessus */
#breadcrumbs a {
	color: var(--blue-mid);
	text-decoration: none;
	transition: color 0.2s;
}
#breadcrumbs a:hover {
	color: var(--blue);
}
#breadcrumbs .breadcrumb_last {
	color: var(--blue);
}

.project-meta { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.meta-item {
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--border);
	display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
}
.meta-item:last-child { border-bottom: none; }
.meta-label {
	font-family: var(--font-display); font-size: 0.65rem; font-weight: 600;
	letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--text-muted); flex-shrink: 0;
}
.meta-value { font-size: 0.88rem; font-weight: 400; color: var(--text); text-align: right; }

.intro-description p {
	font-size: 0.92rem; font-weight: 300; line-height: 1.8;
	color: var(--text-muted); margin-bottom: 1rem;
}
.intro-description p:first-of-type {
	font-family: var(--serif); font-size: 1.05rem; font-style: italic;
	line-height: 1.7; border-left: 2.5px solid var(--blue);
	padding-left: 1rem; margin-bottom: 1.5rem;
}

.scope-section { border-top: 1px solid var(--border); }
.scope-eyebrow {
	font-size: 0.65rem; font-weight: 500; letter-spacing: 0.22em;
	text-transform: uppercase; color: var(--blue); margin-bottom: 1rem;
}
.scope-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.scope-tag {
	font-family: var(--font-display); font-size: 0.75rem; font-weight: 500;
	letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted);
	padding: 4px 10px; border: 1px solid var(--border); border-radius: var(--radius);
	background: var(--white); text-decoration: none; cursor: default;
	transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.scope-tag:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }

.back-link {
	display: inline-block; font-family: var(--font-display); font-size: 0.75rem;
	font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--blue); text-decoration: none;
	border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.back-link:hover { border-color: var(--blue); }

.project-card {
	display: flex; flex-direction: column;
	background: var(--white); text-decoration: none; color: inherit;
	overflow: hidden; border: 1px solid var(--border); transition: box-shadow 0.25s;
}
.project-card:hover { box-shadow: 0 4px 24px rgba(11,31,58,0.1); }

.card-img { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--off-white); }
.card-img img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
}
.project-card:hover .card-img img { transform: scale(1.04); }

.card-title {
	font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
	text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.15; color: var(--navy);
}
.card-title span { color: var(--blue); }

/* Titre de section (H2) — voir charte §3 / §4.3 */
.section-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.2em;
	text-transform: uppercase;
	line-height: 1.1;
	color: var(--navy);
}
.section-title span {
	color: var(--blue);
}

/* Titre section Distinction (réassurance) — voir charte §4.9 */
.distinction-quote {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.8rem, 2.8vw, 2.6rem);
	text-transform: uppercase;
}
.distinction-quote span {
	color: var(--blue-mid);
}
.card-sep { width: 100%; height: 1px; background: var(--border); }

.card-meta-item {
	display: flex; justify-content: space-between; align-items: baseline;
	gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--border);
}
.card-meta-item:last-child { border-bottom: none; }
.card-meta-label {
	font-family: var(--font-display); font-size: 0.62rem; font-weight: 600;
	letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); flex-shrink: 0;
}
.card-meta-value { font-size: 0.82rem; font-weight: 300; color: var(--text); text-align: right; }

.card-link {
	margin-top: auto; align-self: flex-start;
	font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
	letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue);
	border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.project-card:hover .card-link { border-color: var(--blue); }

/* --------------------------------------------------------------------------
   Formulaire « Estimation travaux » (page 464, widget Form V3 dans .bd-estimation)
   -------------------------------------------------------------------------- */

.bd-estimation h1 span { color: var(--blue); }

.bd-estimation .elementor-form { font-family: var(--sans); color: var(--text); }
.bd-estimation .elementor-field-label {
	font-family: var(--sans); font-size: 0.82rem; font-weight: 500;
	color: var(--navy); margin-bottom: 6px;
}
.bd-estimation .elementor-mark-required .elementor-field-label::after { color: var(--blue); }
.bd-estimation .elementor-field-group .elementor-field:not(.elementor-select-wrapper):not([type="checkbox"]):not([type="radio"]),
.bd-estimation .elementor-field-group .elementor-select-wrapper select {
	background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
	color: var(--text); padding: 11px 14px; min-height: 46px;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.bd-estimation .elementor-field-group .elementor-field:focus,
.bd-estimation .elementor-field-group select:focus {
	border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-light); outline: none;
}
.bd-estimation .elementor-field-type-upload .elementor-field {
	border-style: dashed; background: var(--blue-pale); padding: 16px 14px;
}

/* Étapes : barre de progression et boutons */
.bd-estimation .e-form__indicators { margin-bottom: 32px; }
.bd-estimation .e-form__indicators__indicator__progress { background: var(--blue-light); border-radius: var(--radius); }
.bd-estimation .e-form__indicators__indicator__progress__meter {
	background: var(--blue); color: var(--white); border-radius: var(--radius);
	font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.1em; padding-left: 6px;
}
.bd-estimation .elementor-form .elementor-button {
	font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
	letter-spacing: 0.14em; text-transform: uppercase;
	background: var(--blue); color: var(--white); border: 1px solid var(--blue); border-radius: var(--radius);
	padding: 14px 28px; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.bd-estimation .elementor-form .elementor-button:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Boutons d'étape : sur leur propre ligne, côte à côte */
.bd-estimation .elementor-form .e-form__step .e-form__buttons {
	/* 12px = moitié de l'espacement de colonnes du formulaire (24px), pour s'aligner sur les champs */
	flex: 0 0 calc(100% - 24px); width: calc(100% - 24px); max-width: calc(100% - 24px);
	display: flex; flex-wrap: nowrap; align-items: center; gap: 12px;
	margin: 16px 12px 0; padding-top: 24px; border-top: 1px solid var(--border);
}
.bd-estimation .elementor-form .e-form__step .e-form__buttons .e-form__buttons__wrapper {
	flex: 0 0 auto; width: auto; margin: 0; padding: 0;
}
.bd-estimation .elementor-form .e-form__step .e-form__buttons .e-form__buttons__wrapper .e-form__buttons__wrapper__button-previous {
	background: var(--white); color: var(--navy); border-color: var(--border);
}
.bd-estimation .elementor-form .e-form__step .e-form__buttons .e-form__buttons__wrapper .e-form__buttons__wrapper__button-previous:hover {
	background: var(--off-white); color: var(--navy); border-color: var(--navy);
}

/* Intitulé de rubrique en tête d'étape */
.bd-estimation .bd-step-title {
	width: 100%; margin: 0 0 8px;
	font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; line-height: 1.1;
	text-transform: uppercase; color: var(--navy);
}
.bd-estimation .bd-step-title span {
	display: block; margin-bottom: 6px;
	font-family: var(--sans); font-size: 0.7rem; font-weight: 500;
	letter-spacing: 0.22em; color: var(--blue);
}
@media (max-width: 767px) { .bd-estimation .bd-step-title { font-size: 1.5rem; } }
/* Elementor place le focus sur le haut de l'étape : on garde le focus, sans cadre */
.bd-estimation .elementor-field-group[class*="html_titre_"]:focus { outline: none; }

/* Blocs HTML du formulaire */
.bd-estimation .bd-block-title {
	font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
	letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy);
	margin: 12px 0 0; padding-bottom: 8px; border-bottom: 1px solid var(--border); width: 100%;
}
.bd-estimation .bd-highlight {
	margin: 4px 0 0; padding: 14px 18px; background: var(--blue-pale);
	border-left: 3px solid var(--blue); border-radius: var(--radius);
	font-size: 0.9rem; font-weight: 300; line-height: 1.6; color: var(--navy); width: 100%;
}

/* Cases à cocher et messages */
.bd-estimation .elementor-field-type-acceptance .elementor-field-subgroup .elementor-field-option {
	display: flex; align-items: flex-start; gap: 10px;
}
.bd-estimation .elementor-field-type-acceptance .elementor-field-subgroup .elementor-field-option input {
	flex: 0 0 auto; width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; accent-color: var(--blue);
}
.bd-estimation .elementor-field-type-acceptance .elementor-field-subgroup label { font-size: 0.88rem; font-weight: 300; line-height: 1.5; padding: 0; }
.bd-estimation .elementor-message { font-size: 0.95rem; line-height: 1.6; }
.bd-estimation .elementor-message-success { color: var(--navy); }


/* --------------------------------------------------------------------------
   En-tête fixe (sticky) sur toutes les pages
   Fond plein : un backdrop-filter casserait le menu mobile en overlay
   (position: fixed à l'intérieur de l'en-tête).
   -------------------------------------------------------------------------- */
header.elementor-location-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 300;
	background: var(--off-white);
}
/* Ancres (#contact, sommaire…) : s'arrêter sous l'en-tête fixe. */
[id] { scroll-margin-top: 96px; }

/* Section « distinction » sur fond clair (variante --light) */
.distinction-quote--light span { color: var(--blue); }
.distinction-points--light .d-icon { background: var(--blue-light); border-color: rgba(26,79,214,0.25); }
.distinction-points--light .d-icon svg { stroke: var(--blue); }
.distinction-points--light .d-title { color: var(--navy); }
.distinction-points--light .d-body { color: var(--text-muted); }

/* Formulaire de contact des accueils (fond bleu nuit) : état coché bien visible.
   Conteneurs 6060803 (FR, EL) et dc1fcd3 (EN). */
html body .elementor .elementor-element:is(.elementor-element-6060803, .elementor-element-dc1fcd3) .elementor-field-option input:is([type="radio"], [type="checkbox"]) {
	border: 1.5px solid rgba(255,255,255,0.45);
}
html body .elementor .elementor-element:is(.elementor-element-6060803, .elementor-element-dc1fcd3) .elementor-field-option input:is([type="radio"], [type="checkbox"]):checked {
	background-color: var(--blue-mid);
	border-color: #fff;
	box-shadow: 0 0 0 3px rgba(43,107,230,0.35);
}
html body .elementor .elementor-element:is(.elementor-element-6060803, .elementor-element-dc1fcd3) .elementor-field-option input[type="radio"]:checked {
	background-size: 8px 8px;
}
html body .elementor .elementor-element:is(.elementor-element-6060803, .elementor-element-dc1fcd3) .elementor-field-option:has(input:checked) label {
	color: #fff;
	font-weight: 400;
}

/* Listes à puces des paragraphes V4 (e-paragraph) : retrait limité à 10 px, ordinateur et mobile (19/11/2026). */
.e-paragraph-base ul { margin: 0; padding-left: 10px; }
.e-paragraph-base ul li { margin: 0 0 4px; }

/* Pied de page : texte court sur mobile (< 768 px), texte complet au-delà. Libellés dans les menus Footer FR / EN / EL (19/11/2026). */
.bd-ft-long, .bd-ft-short { white-space: pre; } /* garde l'espace avant « © » */
.bd-ft-short { display: none; }
@media (max-width: 767px) {
    .bd-ft-long { display: none; }
    .bd-ft-short { display: inline; }
}
