/* HB Technologies — compléments au thème Electrician (démo 2).
   Les couleurs du parent sont remappées dans hbtech-colors.css (généré). */

:root {
	--hb-primary: #1E90FF;
	--hb-primary-rgb: 30, 144, 255;
	--hb-primary-light: #4DA8FF;
	--hb-primary-deep: #0A6FE0;
	--hb-accent: #19C3E6;
	--hb-dark: #0B1F3A;
	--hb-dark-rgb: 11, 31, 58;
	--hb-darker: #07152A;
	--hb-surface: #F4F7FB;
	--hb-text: #1B2433;
	--hb-radius: 10px;
}

/* ---------- Logo SVG (en-tête et pied de page) ---------- */
.tt-logo img,
#tt-header .tt-logo img {
	width: 230px;
	max-width: 100%;
	height: auto;
}
@media (max-width: 991px) {
	.tt-logo img,
	#tt-header .tt-logo img { width: 240px; }
}
/* Téléphone : logo bien lisible (≈ 60 % de la largeur), sans gêner panier et menu. */
@media (max-width: 575px) {
	.tt-logo img,
	#tt-header .tt-logo img { width: min(60vw, 240px); }
	#tt-header .tt-logo { min-width: 0; }
}
#tt-footer .f-logo img,
#tt-footer .tt-logo img { width: 220px; height: auto; }

/* ---------- Bandeau de page + H1 ---------- */
.hb-pagehead {
	position: relative;
	background-size: cover;
	background-position: center;
	min-height: 220px;
	display: flex;
	align-items: flex-end;
}
.hb-pagehead::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(var(--hb-dark-rgb), .92) 0%, rgba(var(--hb-dark-rgb), .65) 55%, rgba(var(--hb-dark-rgb), .35) 100%);
}
.hb-pagehead .container { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 40px; }
.hb-pagehead__title {
	color: #fff;
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.15;
	margin: 0 0 10px;
}
.hb-pagehead .rank-math-breadcrumb,
.hb-pagehead .rank-math-breadcrumb a,
.hb-pagehead #breadcrumbs,
.hb-pagehead #breadcrumbs a { color: rgba(255, 255, 255, .85); font-size: 14px; }
.hb-pagehead .rank-math-breadcrumb a:hover { color: var(--hb-accent); }
.hb-pagehead .rank-math-breadcrumb p { margin: 0; }

/* H1 de l'accueil (1er titre du diaporama) : même rendu que le titre d'origine */
.mainSlider h1.tt-title-02 { font: inherit; color: inherit; margin: 0; }

/* ---------- Repère « À compléter » (administrateurs uniquement) ---------- */
.hb-missing {
	display: inline-block;
	padding: 2px 10px;
	border: 1px dashed #d98b00;
	border-radius: 999px;
	background: #fff8e6;
	color: #8a5a00 !important;
	font: 600 12px/1.6 "Roboto", sans-serif;
	text-decoration: none !important;
	vertical-align: middle;
}

/* ---------- Bouton WhatsApp flottant ---------- */
.hb-wa {
	position: fixed;
	right: 18px;
	bottom: 86px;
	z-index: 998;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px 10px 12px;
	border-radius: 999px;
	background: #25D366;
	color: #fff !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
	font: 600 14px/1 "Roboto", sans-serif;
	text-decoration: none !important;
	transition: transform .2s ease, box-shadow .2s ease;
}
.hb-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .22); }
@media (max-width: 575px) {
	.hb-wa span { display: none; }
	.hb-wa { padding: 12px; bottom: 76px; }
}

/* ---------- Boutique : devis ---------- */
.hb-quote { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.hb-quote .tt-btn { display: inline-flex; align-items: center; gap: 8px; }
.hb-quote-wa { background: #25D366 !important; border-color: #25D366 !important; color: #fff !important; }
.hb-price-quote { color: var(--hb-primary); font-weight: 600; }

/* ---------- Chiffres clés [hb_counters] ---------- */
.hb-counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.hb-counter { text-align: center; padding: 24px 16px; border-radius: var(--hb-radius); background: var(--hb-surface); }
.hb-counter__value { display: block; font: 600 40px/1 "Poppins", sans-serif; color: var(--hb-primary); }
.hb-counter__label { display: block; margin-top: 8px; color: var(--hb-text); }

/* ---------- Cartes de contact / blocs texte HB ---------- */
.hb-contact-list { list-style: none; margin: 0; padding: 0; }
.hb-contact-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #e6ebf2; }
.hb-contact-list li:last-child { border-bottom: 0; }
.hb-contact-list [class^="icon-"] { color: var(--hb-primary); font-size: 20px; line-height: 1.4; }

.hb-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 18px; align-items: center; }
.hb-logos span { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 10px; border: 1px solid #e6ebf2; border-radius: var(--hb-radius); background: #fff; color: var(--hb-dark); font-weight: 600; text-align: center; font-size: 14px; }

/* Accessibilité : focus visible */
a:focus-visible, button:focus-visible, .tt-btn:focus-visible { outline: 3px solid var(--hb-accent); outline-offset: 2px; }

/* ---------- En-tête : logo + menu de 9 entrées sur une ligne ---------- */
#tt-header .tt-logo { flex: 0 0 auto; min-width: 200px; }
@media (min-width: 1025px) {
	#tt-nav > ul > li > a { padding-left: 10px; padding-right: 10px; }
}
@media (min-width: 1025px) and (max-width: 1399px) {
	#tt-nav > ul > li > a { font-size: 15px; padding-left: 8px; padding-right: 8px; }
	#tt-header .tt-logo img { width: 200px; }
}

/* ---------- Blocs texte (pages de service) ---------- */
.hb-prose h2, .hb-prose h3 { color: var(--hb-dark); margin: 28px 0 14px; }
.hb-prose h3 { font-size: 20px; }
.hb-prose > *:first-child { margin-top: 0; }
.hb-prose p { font-size: 16px; line-height: 1.7; }
.hb-subtitle { font-size: 18px; color: var(--hb-dark); margin: 32px 0 16px; }
.hb-note { margin-top: 20px; font-size: 13px; color: #7b8494; }
.hb-partners .section-title, .hb-stats .section-title { margin-bottom: 30px; }

/* ---------- Formulaires CF7 au style du thème ---------- */
.wpcf7 .form-control { width: 100%; }
.wpcf7 .form-group p { margin: 0; }
.hb-consent { font-size: 13px; color: #6b7280; }
.hb-consent input { margin-right: 6px; }
.order-form .wpcf7 form { display: flex; flex-wrap: wrap; gap: 0 20px; align-items: flex-start; }
.order-form .wpcf7 form > .form-group { flex: 1 1 180px; margin-bottom: 16px; }
.order-form .wpcf7 form > .form-group:last-of-type { flex: 0 0 auto; }
.order-form .wpcf7-response-output { flex-basis: 100%; }

/* Sections étirées d'Elementor : pas de défilement horizontal */
#tt-pageContent { overflow-x: clip; }

/* Photos de présentation : cadrage homogène même pour les photos prises en portrait */
.layout01__single-img .layout01__img .tt-img-main img,
.layout01__img-more .layout01__img .tt-img-main img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.layout01__img-more .tt-img-more img { aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Pied de page ---------- */
#tt-footer .widget_text p, #tt-footer .hb-contact-list li { color: rgba(255, 255, 255, .78); }
#tt-footer .hb-contact-list li { border-color: rgba(255, 255, 255, .1); }
#tt-footer .hb-footer-links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
#tt-footer .hb-footer-links li { margin-bottom: 8px; break-inside: avoid; }
#tt-footer .hb-footer-links a { color: rgba(255, 255, 255, .78); }
#tt-footer .hb-footer-links a:hover { color: var(--hb-accent); }

/* ---------- Plan d'accès [hb_map] ---------- */
.hb-map { position: relative; border-radius: var(--hb-radius); overflow: hidden; box-shadow: 0 10px 30px rgba(var(--hb-dark-rgb), .12); }
.hb-map iframe { display: block; width: 100%; border: 0; }
.hb-map__btn { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Grille de logos clients / partenaires (cartes identiques, rangées centrées) ---------- */
.hb-logo-grid {
	--hb-cols: 6;
	--hb-gap: 16px;
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--hb-gap);
}
.hb-logo-grid__item {
	flex: 0 0 calc((100% - (var(--hb-cols) - 1) * var(--hb-gap)) / var(--hb-cols));
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 2 / 1;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid #e6ebf2;
	border-radius: var(--hb-radius);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hb-logo-grid__item::before { display: none; }
.hb-logo-grid__item img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hb-logo-grid__item:hover {
	transform: translateY(-3px);
	border-color: rgba(var(--hb-primary-rgb), .35);
	box-shadow: 0 10px 24px rgba(var(--hb-dark-rgb), .10);
}
.hb-logo-grid__item--text span { padding: 10px; font-weight: 600; font-size: 14px; color: var(--hb-dark); text-align: center; }
@media (max-width: 1199px) { .hb-logo-grid { --hb-cols: 4; } }
@media (max-width: 767px)  { .hb-logo-grid { --hb-cols: 3; --hb-gap: 10px; } }
@media (max-width: 479px)  { .hb-logo-grid { --hb-cols: 2; } }

/* ---------- Diaporama « Nos solutions » (ampoules) : photo calée au format du masque ----------
   Le masque ampoule fait 142×221 (104×162 ≤ 1024 px). Les photos réelles ont des formats variés :
   on les recadre exactement à ces dimensions pour que le bloc ait toujours la même hauteur
   et que le titre se place sous l'ampoule. */
.tt-box02 .tt-box02__img { width: 142px; margin-left: auto; margin-right: auto; }
.tt-box02 .tt-box02__img .tt-bg-dark {
	display: block;
	width: 142px;
	height: 221px;
	max-width: none;
	overflow: hidden;
}
.tt-box02 .tt-box02__img img.tt-img-main {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}
.tt-box02 .tt-box02__img img.tt-img-mask { width: 142px; height: 221px; max-width: none; }
.tt-box02 .tt-box02__title { position: relative; z-index: 3; }
@media (max-width: 1024.98px) {
	.tt-box02 .tt-box02__img { width: 104px; }
	.tt-box02 .tt-box02__img .tt-bg-dark { width: 104px; height: 162px; }
	.tt-box02 .tt-box02__img img.tt-img-mask { width: 104px; height: 162px; }
}

/* ---------- Textes SEO : chapeau, listes, FAQ ---------- */
.hb-prose .hb-lead { font-size: 18px; line-height: 1.7; color: var(--hb-dark); }
.hb-prose h2 { font-size: clamp(22px, 2.4vw, 28px); }
.hb-prose a:not(.tt-btn) { color: var(--hb-primary-deep); text-decoration: underline; text-underline-offset: 3px; }
.hb-prose a:not(.tt-btn):hover { color: var(--hb-primary); }
.hb-faq { border-top: 1px solid #e6ebf2; margin-top: 8px; }
.hb-faq h3 { font-size: 17px; margin: 0; padding: 18px 0 6px; }
.hb-faq p { margin: 0; padding-bottom: 18px; border-bottom: 1px solid #e6ebf2; }
.hb-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 8px 0 24px; }
.hb-photos .hb-inline-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--hb-radius); }

/* =====================================================================================
   Responsive (audit du 20/10/2026 : 360, 390, 414, 768, 820, 1024 px)
   ===================================================================================*/

/* Listes déroulantes des formulaires : texte jamais rogné, même hauteur que les champs voisins. */
.wpcf7 select.form-control {
	height: 38px;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	padding-right: 40px !important;
	line-height: normal;
	text-overflow: ellipsis;
	white-space: nowrap;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7280' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 12px 8px;
	cursor: pointer;
}
.modal .wpcf7 select.form-control,
#modalMakeAppointment .wpcf7 select.form-control { height: 52px; }
.wpcf7 select.form-control:invalid { color: #6b7280 !important; }
.wpcf7 select.form-control:invalid,
.wpcf7 select.form-control option[value=""] { color: #6b7280; }
.wpcf7 select.form-control option { color: var(--hb-text); }

/* Champs : 16 px minimum (pas de zoom automatique sur iPhone), zones tactiles de 44 px. */
@media (max-width: 767.98px) {
	.wpcf7 .form-control { font-size: 16px; }
	.wpcf7 input.form-control,
	.wpcf7 select.form-control { min-height: 44px; }
	.wpcf7 .hb-consent { font-size: 14px; line-height: 1.5; }
	.wpcf7 .hb-consent input[type="checkbox"] { width: 20px; height: 20px; vertical-align: -4px; }
	.wpcf7 [type="submit"] { width: 100%; min-height: 48px; }
	.order-form .wpcf7 form > .form-group { flex-basis: 100%; }
}

/* Bandeau de page : titre puis fil d'Ariane, l'un sous l'autre, avec marges latérales. */
.hb-pagehead .breadcrumb-area { display: block !important; text-align: left; padding: 0; margin: 0; }
.hb-pagehead__title { display: block; }
.hb-pagehead .rank-math-breadcrumb { display: block; margin-top: 6px; }
@media (max-width: 1199.98px) {
	.hb-pagehead .container { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 575.98px) {
	.hb-pagehead { min-height: 170px; }
	.hb-pagehead .container { padding-top: 40px; padding-bottom: 28px; }
	.hb-pagehead__title { font-size: 28px; overflow-wrap: anywhere; hyphens: auto; }
}

/* Barre d'informations du haut : jamais plus large que l'écran sur tablette. */
@media (max-width: 1199.98px) {
	.row.no-gutters > .col-auto:has(> .h-info01) { flex: 1 1 0; min-width: 0; }
	.h-info01 { flex-wrap: nowrap; min-width: 0; }
	.h-info01 .tt-item { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.h-info01 .tt-item address { display: inline; }
}
@media (max-width: 991.98px) {
	.h-info01 .tt-item + .tt-item { display: none; }
}

/* Textes longs et tableaux : pas de débordement horizontal. */
.hb-prose { overflow-wrap: break-word; }
.hb-prose table { display: block; max-width: 100%; overflow-x: auto; }
.hb-prose img { max-width: 100%; height: auto; }
@media (max-width: 767.98px) {
	.hb-prose h2 { font-size: 22px; line-height: 1.3; }
	.hb-prose p, .hb-prose li { font-size: 16px; line-height: 1.65; }
	.hb-photos { grid-template-columns: 1fr 1fr; gap: 10px; }
	.hb-faq h3 { font-size: 16px; }
}
@media (max-width: 420px) {
	.hb-photos { grid-template-columns: 1fr; }
}

/* Plan d'accès et bouton WhatsApp sur petit écran. */
@media (max-width: 575.98px) {
	.hb-map iframe { height: 320px; }
	.hb-map__btn { left: 12px; bottom: 12px; }
	.hb-wa { right: 12px; bottom: 72px; }
}

/* Pied de page mobile / tablette : blocs à hauteur naturelle, marges latérales, pas de chevauchement. */
@media (max-width: 1199.98px) {
	footer div:has(> .footer-widget3),
	footer div:has(> .footer-widget2) { height: auto !important; }
	footer .footer-widget2,
	footer .footer-widget3 { padding-left: 20px; padding-right: 20px; }
	footer .f-holder .row { margin-left: 0; margin-right: 0; }
	footer .f-copyright { margin-top: 24px; padding: 16px 20px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
}
@media (max-width: 767.98px) {
	footer .footer-widget2 .title-aside,
	footer .footer-widget3 .title-aside { text-align: center; font-size: 20px; margin-bottom: 16px; }
	footer .hb-footer-links { columns: 1; text-align: center; }
	footer .hb-footer-links li { margin-bottom: 10px; }
	footer .hb-contact-list li { padding: 12px 0; }
	footer .f-copyright { text-align: center; }
	footer .f-info-text { padding: 0 20px; }
	footer .footer-widget2 { margin-top: 24px; }
}

/* =====================================================================================
   Formulaires d'audience [hb_optin]
   ===================================================================================*/
.hb-optin {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 40px;
	align-items: start;
	margin: 8px 0;
	padding: 40px;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--hb-dark) 0%, #12305a 100%);
	color: #fff;
	box-shadow: 0 18px 40px rgba(var(--hb-dark-rgb), .18);
}
.hb-optin__kicker { margin: 0 0 8px; font: 600 13px/1.4 "Poppins", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--hb-accent); }
.hb-optin__title { margin: 0 0 14px; color: #fff; font: 600 clamp(24px, 2.6vw, 32px)/1.2 "Poppins", sans-serif; }
.hb-optin__text { margin: 0 0 18px; color: rgba(255, 255, 255, .82); font-size: 16px; line-height: 1.65; }
.hb-optin__bullets { list-style: none; margin: 0; padding: 0; }
.hb-optin__bullets li { position: relative; padding: 6px 0 6px 30px; color: rgba(255, 255, 255, .9); }
.hb-optin__bullets li::before {
	content: ""; position: absolute; left: 0; top: 9px; width: 18px; height: 18px; border-radius: 50%;
	background: var(--hb-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center / 10px 8px no-repeat;
}
.hb-optin__form { background: #fff; border-radius: 12px; padding: 24px; color: var(--hb-text); }
.hb-optin__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.hb-optin .form-group { margin-bottom: 14px; }
.hb-optin .wpcf7 .form-control { height: 46px; border: 1px solid #d9e1ec; border-radius: 8px; background-color: #fff; padding-left: 14px; }
.hb-optin .wpcf7 select.form-control { height: 46px; }
.hb-optin .hb-consent { color: #4b5563; font-size: 13px; margin-bottom: 8px; }
.hb-optin__submit [type="submit"] { width: 100%; min-height: 50px; border-radius: 8px; }
.hb-optin .wpcf7-response-output { margin: 12px 0 0 !important; border-radius: 8px; }
@media (max-width: 991.98px) {
	.hb-optin { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px; border-radius: 12px; }
}
@media (max-width: 575.98px) {
	.hb-optin__grid { grid-template-columns: 1fr; }
	.hb-optin__form { padding: 18px 16px; }
	.hb-optin .wpcf7 .form-control { height: 48px; font-size: 16px; }
}

/* =====================================================================
 * Pied de page HB (inc/footer.php) — grille harmonisée, barre légale centrée
 * ===================================================================== */
#tt-footer.hb-footer { background: var(--hb-dark); color: rgba(255, 255, 255, .78); padding: 64px 0 0; font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
#tt-footer.hb-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; transition: color .2s; }
#tt-footer.hb-footer a:hover, #tt-footer.hb-footer a:focus-visible { color: var(--hb-accent); }
.hb-footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.3fr); gap: 40px; padding-bottom: 48px; }
.hb-footer__col { min-width: 0; }
.hb-footer__logo { display: inline-block; margin-bottom: 18px; }
.hb-footer__logo img { width: 200px; max-width: 100%; height: auto; display: block; }
.hb-footer__desc { margin: 0 0 22px; color: rgba(255, 255, 255, .72); }
.hb-footer__title { margin: 0 0 18px; font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; line-height: 1.3; }
.hb-footer__title::after { content: ""; display: block; width: 36px; height: 3px; margin-top: 10px; border-radius: 2px; background: var(--hb-primary); }
.hb-footer__title--small { font-size: 13px; margin-bottom: 12px; }
.hb-footer__title--small::after { display: none; }
.hb-footer__links { list-style: none; margin: 0; padding: 0; }
.hb-footer__links li { margin: 0 0 10px; padding: 0; }
.hb-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hb-social li { margin: 0; padding: 0; }
#tt-footer.hb-footer .hb-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; }
#tt-footer.hb-footer .hb-social a:hover, #tt-footer.hb-footer .hb-social a:focus-visible { background: var(--hb-primary); border-color: var(--hb-primary); color: #fff; }
.hb-social svg { fill: currentColor; display: block; }
#tt-footer.hb-footer .hb-contact-list li { padding: 0 0 14px; margin: 0 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .78); }
#tt-footer.hb-footer .hb-contact-list li:last-child { border-bottom: 0; margin-bottom: 0; }
#tt-footer.hb-footer .hb-contact-list [class^="icon-"] { flex: 0 0 22px; font-size: 18px; line-height: 1.5; color: var(--hb-primary-light); }
.hb-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0 26px; text-align: center; }
.hb-footer__legal { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 4px; margin-bottom: 8px; font-size: 14px; }
.hb-footer__legal .hb-sep { margin: 0 8px; color: rgba(255, 255, 255, .35); }
.hb-footer__copy { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .6); }
.hb-footer__copy .hb-credit { display: inline-block; margin-left: 6px; }
.hb-footer__copy .hb-credit::before { content: "·"; margin-right: 8px; color: rgba(255, 255, 255, .35); }

@media (max-width: 1199.98px) {
	.hb-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
}
@media (max-width: 767.98px) {
	#tt-footer.hb-footer { padding-top: 48px; }
	.hb-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; text-align: center; padding-bottom: 36px; }
	.hb-footer__logo img { margin: 0 auto; }
	.hb-footer__title::after { margin-left: auto; margin-right: auto; }
	.hb-social { justify-content: center; }
	#tt-footer.hb-footer .hb-contact-list li { flex-direction: column; align-items: center; gap: 4px; }
	.hb-footer__legal { flex-direction: column; gap: 8px; }
	.hb-footer__legal .hb-sep { display: none; }
	.hb-footer__copy .hb-credit { display: block; margin: 6px 0 0; }
	.hb-footer__copy .hb-credit::before { display: none; }
	/* Le bouton WhatsApp flottant ne recouvre pas la barre légale. */
	.hb-footer__bottom { padding-bottom: 96px; }
}

/* Variante « clair » du pied de page (Réglages HB > Identité > Style du pied de page). */
#tt-footer.hb-footer--clair { background: linear-gradient(160deg, var(--hb-primary) 0%, var(--hb-primary-deep) 100%); color: #fff; }
#tt-footer.hb-footer--clair a,
#tt-footer.hb-footer--clair .hb-footer__desc,
#tt-footer.hb-footer--clair .hb-footer__copy,
#tt-footer.hb-footer--clair .hb-contact-list li,
#tt-footer.hb-footer--clair .hb-contact-list a { color: #fff; }
#tt-footer.hb-footer--clair a:hover, #tt-footer.hb-footer--clair a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
#tt-footer.hb-footer--clair .hb-footer__title::after { background: #fff; }
#tt-footer.hb-footer--clair .hb-contact-list [class^="icon-"] { color: #fff; }
#tt-footer.hb-footer--clair .hb-contact-list li { border-color: rgba(255, 255, 255, .28); }
#tt-footer.hb-footer--clair .hb-footer__bottom { border-color: rgba(255, 255, 255, .3); }
#tt-footer.hb-footer--clair .hb-footer__legal .hb-sep,
#tt-footer.hb-footer--clair .hb-footer__copy .hb-credit::before { color: rgba(255, 255, 255, .7); }
#tt-footer.hb-footer--clair .hb-footer__logo { background: #fff; border-radius: 12px; padding: 12px 18px; box-shadow: 0 6px 18px rgba(var(--hb-dark-rgb), .18); }
#tt-footer.hb-footer--clair .hb-footer__logo img { width: 180px; }
#tt-footer.hb-footer--clair .hb-social a { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); color: #fff; }
#tt-footer.hb-footer--clair .hb-social a:hover, #tt-footer.hb-footer--clair .hb-social a:focus-visible { background: #fff; border-color: #fff; color: var(--hb-primary-deep); text-decoration: none; }

/* =====================================================================
 * Sélecteur de langue FR / EN (inc/translate.php) — onglet fixe, milieu du bord droit
 * ===================================================================== */
.hb-lang { position: fixed; top: 50%; right: 0; transform: translateY(-50%); z-index: 9990; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 6px; background: #fff; border: 1px solid rgba(var(--hb-dark-rgb), .12); border-right: 0; border-radius: 12px 0 0 12px; box-shadow: 0 8px 24px rgba(var(--hb-dark-rgb), .18); font-family: 'Poppins', sans-serif; }
.hb-lang__icon { display: flex; color: var(--hb-primary); padding: 2px 0 4px; }
.hb-lang .gtranslate_wrapper { display: flex; flex-direction: column; gap: 4px; }
.hb-lang a.glink { display: flex; align-items: center; justify-content: center; width: 40px; height: 34px; border-radius: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--hb-dark) !important; text-decoration: none !important; background: transparent; transition: background .2s, color .2s; }
.hb-lang a.glink:hover, .hb-lang a.glink:focus-visible { background: rgba(var(--hb-primary-rgb), .12); }
.hb-lang a.glink.gt-current-lang { background: var(--hb-primary); color: #fff !important; font-weight: 700; }
@media (max-width: 767.98px) {
	.hb-lang { padding: 6px 4px; }
	.hb-lang a.glink { width: 36px; height: 32px; font-size: 12px; }
}
@media print { .hb-lang { display: none; } }
