/* Retouches du design Amiso d'expressmailing.tn (mode intégration de l'extension, chargé sur tout le site).
   Couleurs du thème : --theme-color1 (rouge), --theme-color2 (encre). Les sélecteurs longs l'emportent sur les réglages
   Elementor des pages (.elementor-ID .elementor-element-…). */

/* ---------- Menu principal : tient sur une seule ligne (7 entrées depuis l'ajout de « Commander ») ---------- */
@media (min-width: 1025px) {
	.elementor .menuzord-primary-nav .menuzord-menu > li > a { padding-left: 9px !important; padding-right: 9px !important; }
}
@media (min-width: 1300px) {
	.elementor .menuzord-primary-nav .menuzord-menu > li > a { padding-left: 11px !important; padding-right: 11px !important; }
}
@media (min-width: 1025px) and (max-width: 1199px) {
	.elementor .menuzord-primary-nav .menuzord-menu > li > a { padding-left: 7px !important; padding-right: 7px !important; font-size: 14.5px !important; }
}

@media (min-width: 1025px) and (max-width: 1099px) {
	.elementor .menuzord-primary-nav .menuzord-menu > li > a { padding-left: 5px !important; padding-right: 5px !important; font-size: 14px !important; }
}
/* En-tête collant (modèle Elementor 40084) : colonne du menu plus étroite (599 px, dont 50 px de retrait à gauche). */
@media (min-width: 1025px) {
	.elementor-40084 .elementor-column:has(.menuzord-primary-nav) > .elementor-widget-wrap { padding-left: 8px !important; }
	.elementor-40084 .menuzord-primary-nav .menuzord-menu > li > a { padding-left: 5px !important; padding-right: 5px !important; }
}
@media (min-width: 1025px) and (max-width: 1199px) {
	.elementor-40084 .elementor-column:has(.menuzord-primary-nav) > .elementor-widget-wrap { padding-left: 8px !important; }
	.elementor-40084 .menuzord-primary-nav .menuzord-menu > li > a { padding-left: 5px !important; padding-right: 5px !important; font-size: 14px !important; }
}

/* ---------- Onglets horizontaux (« Nos services » de l'accueil) ---------- */
.elementor .elementor-widget-tm-ele-tabs .elementor-widget-container .tm-tabs-horizontal-nav .nav-tabs {
	gap: 10px; margin-bottom: 30px; border: 0;
}
.elementor .elementor-widget-tm-ele-tabs .elementor-widget-container .tm-tabs-horizontal-nav .nav-tabs .nav-item { margin: 0 !important; }
.elementor .elementor-widget-tm-ele-tabs .elementor-widget-container .tm-tabs-horizontal-nav .nav-tabs .nav-link {
	margin: 0 !important; padding: 14px 24px !important; height: 100%;
	display: flex; align-items: center; justify-content: center;
	background: #fff !important; border: 1px solid #e6e6e6 !important; border-radius: 8px !important;
	box-shadow: 0 6px 18px rgba(17, 17, 37, .06); transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.elementor .elementor-widget-tm-ele-tabs .elementor-widget-container .tm-tabs-horizontal-nav .nav-tabs .nav-link::before { display: none !important; }
.elementor .elementor-widget-tm-ele-tabs .elementor-widget-container .tm-tabs-horizontal-nav .nav-tabs .nav-link .tabs-title {
	margin: 0 !important; color: var(--theme-color2, #181818) !important; font-size: 15px !important; font-weight: 600 !important;
	text-transform: none !important; letter-spacing: 0 !important; line-height: 1.35;
}
.elementor .elementor-widget-tm-ele-tabs .elementor-widget-container .tm-tabs-horizontal-nav .nav-tabs .nav-link:hover { border-color: var(--theme-color1) !important; }
.elementor .elementor-widget-tm-ele-tabs .elementor-widget-container .tm-tabs-horizontal-nav .nav-tabs .nav-link:hover .tabs-title { color: var(--theme-color1) !important; }
.elementor .elementor-widget-tm-ele-tabs .elementor-widget-container .tm-tabs-horizontal-nav .nav-tabs .nav-link.active {
	background: var(--theme-color1) !important; border-color: var(--theme-color1) !important; box-shadow: 0 10px 24px rgba(255, 56, 56, .28);
}
.elementor .elementor-widget-tm-ele-tabs .elementor-widget-container .tm-tabs-horizontal-nav .nav-tabs .nav-link.active .tabs-title { color: #fff !important; }
.elementor .elementor-widget-tm-ele-tabs .elementor-widget-container .tm-tabs-horizontal-nav .nav-tabs .nav-link:focus-visible { outline: 2px solid var(--theme-color2, #181818); outline-offset: 2px; }
@media (max-width: 767px) {
	.elementor .elementor-widget-tm-ele-tabs .elementor-widget-container .tm-tabs-horizontal-nav .nav-tabs {
		display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; padding: 0 15px; /* la colonne déborde de 15 px de chaque côté */
	}
	.elementor .elementor-widget-tm-ele-tabs .elementor-widget-container .tm-tabs-horizontal-nav .nav-tabs .nav-link { padding: 12px 10px !important; text-align: center; }
	.elementor .elementor-widget-tm-ele-tabs .elementor-widget-container .tm-tabs-horizontal-nav .nav-tabs .nav-link .tabs-title { font-size: 13.5px !important; }
}

/* ---------- Tableaux de prix (sections .em-prix des pages Tarifs et Accueil) ---------- */
/* Cartes d'une même rangée à la même hauteur, bouton aligné en bas. */
.em-prix .elementor-inner-section .elementor-widget-wrap { align-content: stretch; }
.em-prix .elementor-widget-tm-ele-pricing-plan,
.em-prix .elementor-widget-tm-ele-pricing-plan > .elementor-widget-container,
.em-prix .tm-sc-pricing-plan,
.em-prix .pricing-plan-inner-wrapper { height: 100%; }
.em-prix .pricing-plan-inner { height: 100%; display: flex; flex-direction: column; }
.em-prix .pricing-plan-footer { margin-top: auto; padding-top: 8px; }
.em-prix .tm-sc-pricing-plan { transition: transform .25s ease, box-shadow .25s ease; border-radius: 12px; }
.em-prix .tm-sc-pricing-plan:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(17, 17, 37, .12); }
.em-prix .pricing-plan-subtitle { color: #6a6a6a !important; line-height: 1.6 !important; margin-top: 6px; }
.em-prix .pricing-plan-pricing > div, .em-prix .pricing-plan-pricing span { line-height: 1.15 !important; }
.em-prix .pricing-plan-pricing { margin: 18px 0 6px; }
.em-prix .features-list li { line-height: 1.55; }
.em-prix .features-list li .icon { color: var(--theme-color1) !important; }
/* Elementor rend l'icône en SVG en ligne, que le thème ne dimensionne pas. */
.em-prix .features-list li svg.icon { width: 15px !important; height: 15px !important; fill: var(--theme-color1) !important; vertical-align: -2px; margin-right: 8px; flex-shrink: 0; }
.em-prix .btn-view-details .btn { padding: 13px 26px; font-size: 14px; }
@media (min-width: 1025px) {
	/* Accueil, 4 colonnes : titres et accroches de même hauteur pour aligner les prix. */
	.em-offres .pricing-plan-title { min-height: 2.5em; }
	.em-offres .pricing-plan-subtitle { min-height: 3.2em; }
}

/* Sélecteur « Au trimestre / À l'année » */
.em-prix .tm-pricing-plan-switcher {
	display: flex; align-items: center; justify-content: center; gap: 14px; width: max-content; max-width: 100%;
	margin: 10px auto 0; padding: 10px 20px; background: #fff; border: 1px solid #ececec; border-radius: 999px;
	box-shadow: 0 8px 24px rgba(17, 17, 37, .07);
}
.em-prix .tm-pricing-plan-switcher .title-normal,
.em-prix .tm-pricing-plan-switcher .title-secondary { margin: 0; font-size: 17px; font-weight: 600; color: #8a8a8a; transition: color .2s; white-space: nowrap; }
.em-prix .tm-pricing-plan-switcher > * { flex-shrink: 0; }
.em-prix .tm-pricing-plan-switcher .title-normal,
.em-prix .tm-pricing-plan-switcher:has(.secondary-active) .title-secondary { color: var(--theme-color2, #181818); }
.em-prix .tm-pricing-plan-switcher:has(.secondary-active) .title-normal { color: #8a8a8a; }
.em-prix .tm-pricing-plan-switcher .price-switcher { margin: 0; }
.em-prix .tm-pricing-plan-switcher .btn-toggle { background: var(--theme-color1) !important; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .15); }
.em-prix .tm-pricing-plan-switcher .btn-toggle .round { box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.em-prix .tm-pricing-plan-switcher .price-offer {
	margin: 0; padding: 4px 10px; background: #ffeaea; color: var(--theme-color1); font-weight: 700; font-size: 13px; border-radius: 999px;
}
@media (max-width: 767px) {
	.em-prix .tm-pricing-plan-switcher { gap: 8px; padding: 8px 12px; }
	.em-prix .tm-pricing-plan-switcher .btn-toggle { transform: scale(.9); }
	.em-prix .tm-pricing-plan-switcher .title-normal,
	.em-prix .tm-pricing-plan-switcher .title-secondary { font-size: 15px; }
	.em-prix .tm-pricing-plan-switcher .price-offer { padding: 3px 7px; font-size: 12px; }
}

/* Liste « Ce qui est inclus » (Tarifs) : deux colonnes cochées */
.em-coches ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.em-coches li { position: relative; margin: 0; padding-left: 30px; line-height: 1.5; }
.em-coches li::before {
	content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--theme-color1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.em-coches li a { color: var(--theme-color2, #181818); font-weight: 500; }
.em-coches li a:hover { color: var(--theme-color1); }
@media (max-width: 575px) { .em-coches ul { grid-template-columns: 1fr; } }

/* ---------- Newsletter du pied de page ([em_newsletter], fond sombre) ---------- */
.em-newsletter { margin: 0; }
.em-newsletter .em-nl-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.em-newsletter .em-nl-ligne { display: flex; gap: 10px; align-items: stretch; }
.em-newsletter input[type="email"] {
	flex: 1; min-width: 0; height: 52px; margin: 0; padding: 0 4px; background: transparent; color: #fff; font-size: 16px;
	border: 0; border-bottom: 3px solid rgba(255, 255, 255, .14); border-radius: 0; box-shadow: none; transition: border-color .2s;
}
.em-newsletter input[type="email"]::placeholder { color: rgba(255, 255, 255, .55); }
.em-newsletter input[type="email"]:focus { outline: 0; border-bottom-color: var(--theme-color1); }
.em-newsletter button {
	flex-shrink: 0; height: 52px; padding: 0 26px; border: 0; border-radius: 7px; cursor: pointer;
	background: var(--theme-color1); color: #fff; font-weight: 700; font-size: 15px; transition: filter .2s;
}
.em-newsletter button:hover { filter: brightness(.92); }
.em-newsletter button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.em-newsletter .em-nl-note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .55); }
.em-newsletter .em-nl-note a { color: rgba(255, 255, 255, .8); text-decoration: underline; }
.em-newsletter .em-nl-msg { scroll-margin-top: 200px; display: none; margin: 12px 0 0; padding: 10px 14px; border-radius: 7px; font-size: 14px; background: rgba(46, 160, 67, .18); color: #b8f0c4; }
.em-newsletter .em-nl-msg:target { display: block; }
.em-newsletter .em-nl-erreur { background: rgba(255, 56, 56, .18); color: #ffc9c9; }
@media (max-width: 575px) { .em-newsletter .em-nl-ligne { flex-direction: column; } .em-newsletter button { width: 100%; } }

/* ---------- Cartes générées par [em_offres] (panneau Offres) : même rendu que les widgets de prix Amiso ---------- */
.em-grille-offres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 30px 0 10px; }
.em-grille-offres.em-n4, .em-grille-offres.em-n5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.em-grille-offres.em-n1 { grid-template-columns: minmax(0, 420px); }
.em-grille-offres.em-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1199px) { .em-grille-offres.em-n4, .em-grille-offres.em-n5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1024px) { .em-grille-offres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .em-grille-offres, .em-grille-offres[class*="em-n"] { grid-template-columns: minmax(0, 1fr); } }
.em-carte, .em-carte .tm-sc-pricing-plan, .em-carte .pricing-plan-inner-wrapper { height: 100%; }
.em-carte .pricing-plan-inner { height: 100%; display: flex; flex-direction: column; }
.em-carte .pricing-plan-footer { margin-top: auto; padding-top: 8px; }
/* Décors des widgets d'origine (réglages Elementor de la page Tarifs) */
.em-carte .tm-sc-pricing-plan .pricing-plan-inner-wrapper { background-image: url(/wp-content/uploads/2023/01/spider-nest.png); background-position: top right; background-repeat: no-repeat; }
.em-carte:hover .tm-sc-pricing-plan .pricing-plan-inner-wrapper { background-image: url(/wp-content/uploads/2023/01/spider-nest-hover.png); }
.em-carte .tm-sc-pricing-plan .pricing-plan-inner-wrapper::before { background-image: url(/wp-content/uploads/2023/01/price-logo.png); background-position: 0 0; background-repeat: no-repeat; opacity: 1; }
.em-carte:hover .tm-sc-pricing-plan .pricing-plan-inner-wrapper::before { background-image: url(/wp-content/uploads/2023/01/price-logo-hover.png); opacity: .82; }
.em-carte .tm-sc-pricing-plan .pricing-plan-inner-wrapper::after { background-image: url(/wp-content/uploads/2023/01/price-icon.png); background-position: bottom right; background-repeat: no-repeat; opacity: 1; }
.em-carte:hover .tm-sc-pricing-plan .pricing-plan-inner-wrapper::after { background-image: url(/wp-content/uploads/2023/01/price-icon-hover.png); opacity: .5; }
.em-carte .features-list li.no-action, .em-carte .features-list li.no-action span { color: #1d1d1d !important; }
.em-carte .features-list .icon { display: inline-block; }
.em-carte .pricing-plan-pricing .pricing-plan-price { color: #211F1F !important; font-size: 48px !important; font-weight: 700 !important; }
.em-carte .features-list li svg.icon { width: 15px !important; height: 15px !important; fill: var(--theme-color1) !important; vertical-align: -2px; margin-right: 8px; flex-shrink: 0; }
.em-carte .pricing-plan-subtitle { color: #6a6a6a !important; line-height: 1.6 !important; margin-top: 6px; }
.em-carte .pricing-plan-pricing > div, .em-carte .pricing-plan-pricing span { line-height: 1.15 !important; }
.em-carte .pricing-plan-pricing { margin: 18px 0 6px; }
.em-carte .btn-view-details .btn { padding: 13px 26px; font-size: 14px; }
.em-carte .em-badge { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; background: var(--theme-color1); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
/* Survol : le thème passe le fond de la carte en anthracite (#23252a) ; tout le texte passe en clair. */
.em-carte .pricing-plan-inner-wrapper * { transition: color .3s, border-color .3s; }
.em-carte:hover .pricing-plan-title,
.em-carte:hover .pricing-plan-pricing .pricing-plan-price,
.em-carte:hover .pricing-plan-pricing,
.em-carte:hover .pricing-plan-pricing span,
.em-carte:hover .features-list li,
.em-carte:hover .features-list li span,
.em-carte:hover .features-list li a,
.em-carte:hover .features-list li.no-action,
.em-carte:hover .features-list li.no-action span { color: #fff !important; }
.em-carte:hover .pricing-plan-subtitle { color: rgba(255, 255, 255, .78) !important; }
.em-carte:hover .features-list li { border-color: rgba(255, 255, 255, .14) !important; }
.em-carte .em-recommandee { box-shadow: 0 0 0 2px var(--theme-color1), 0 22px 50px rgba(17, 17, 37, .10); }
.em-grille-offres.em-n4 .pricing-plan-pricing .pricing-plan-price, .em-grille-offres.em-n5 .pricing-plan-pricing .pricing-plan-price { font-size: 42px !important; }
.em-carte .btn-view-details .btn { white-space: nowrap; }
.em-grille-offres.em-n4 .btn-view-details .btn, .em-grille-offres.em-n5 .btn-view-details .btn { padding: 12px 18px; font-size: 13px; }
@media (min-width: 1025px) {
	.em-offres .em-carte .pricing-plan-title { min-height: 2.5em; }
	.em-offres .em-carte .pricing-plan-subtitle { min-height: 3.2em; }
}
.em-famille { margin-top: 70px; scroll-margin-top: 140px; }

/* ---------- Agent IA du site (assets/agent.js) ---------- */
#ema { position: fixed; right: 24px; bottom: 24px; z-index: 99990; font-family: inherit; }
#ema .ema-bulle { width: 60px; height: 60px; border: 0; border-radius: 50%; background: var(--theme-color1); color: #fff; cursor: pointer; box-shadow: 0 10px 28px rgba(255, 56, 56, .4); display: flex; align-items: center; justify-content: center; }
#ema .ema-bulle svg { width: 26px; height: 26px; fill: #fff; }
#ema .ema-bulle:focus-visible, #ema button:focus-visible, #ema a:focus-visible, #ema input:focus-visible { outline: 2px solid var(--theme-color2, #181818); outline-offset: 2px; }
#ema .ema-fenetre { position: absolute; right: 0; bottom: 76px; width: 370px; max-height: min(600px, calc(100vh - 120px)); display: flex; flex-direction: column; background: #fff; border-radius: 14px; box-shadow: 0 24px 60px rgba(17, 17, 37, .22); overflow: hidden; }
#ema .ema-fenetre[hidden] { display: none; }
#ema .ema-tete { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--theme-color2, #181818); color: #fff; }
#ema .ema-tete strong { display: block; font-size: 15px; }
#ema .ema-tete span { font-size: 12px; opacity: .7; }
#ema .ema-fermer { background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
#ema .ema-fil { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #f6f6f6; min-height: 200px; }
#ema .ema-msg { max-width: 88%; padding: 10px 13px; border-radius: 12px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; }
#ema .ema-assistant { align-self: flex-start; background: #fff; color: #1d1d1d; border: 1px solid #ececec; }
#ema .ema-user { align-self: flex-end; background: var(--theme-color1); color: #fff; }
#ema .ema-attente { color: #999; }
#ema .ema-action { display: block; margin-top: 8px; padding: 8px 12px; border-radius: 8px; background: var(--theme-color1); color: #fff !important; font-weight: 700; font-size: 13px; text-align: center; text-decoration: none; white-space: normal; }
#ema .ema-action-rappel { background: var(--theme-color2, #181818); }
#ema .ema-suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; background: #f6f6f6; }
#ema .ema-suggestions button { border: 1px solid #ddd; background: #fff; border-radius: 999px; padding: 6px 11px; font-size: 13px; cursor: pointer; color: #1d1d1d; }
#ema .ema-suggestions button:hover { border-color: var(--theme-color1); color: var(--theme-color1); }
#ema .ema-saisie { display: flex; gap: 6px; padding: 10px; border-top: 1px solid #ececec; margin: 0; }
#ema .ema-saisie input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; }
#ema .ema-saisie button { width: 44px; height: 42px; border: 0; border-radius: 8px; background: var(--theme-color1); color: #fff; cursor: pointer; font-size: 16px; }
#ema .ema-note { margin: 0; padding: 0 12px 10px; font-size: 11px; line-height: 1.4; color: #888; }
@media (max-width: 575px) {
	#ema { right: 14px; bottom: 14px; }
	#ema .ema-fenetre { position: fixed; right: 8px; left: 8px; bottom: 84px; width: auto; max-height: calc(100vh - 110px); }
}
#ema .ema-tete strong, #ema .ema-tete span { color: #fff !important; }

/* ===== Audit du 02/12 : recommandations côté interface ===== */
/* R-08 : barre « Appeler · WhatsApp » en bas d'écran sur mobile (absente du tunnel de commande). */
.em-barre-contact { display: none; }
@media (max-width: 767px) {
	.em-barre-contact { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; background: #fff; box-shadow: 0 -4px 18px rgba(0,0,0,.12); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
	.em-barre-contact a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 6px; font-weight: 700; font-size: 15px; text-decoration: none !important; color: #fff !important; }
	.em-barre-contact svg { width: 20px; height: 20px; fill: currentColor; }
	.em-barre-tel { background: var(--theme-color1, #e3262b); }
	.em-barre-wa { background: #1f8f4e; }
	body { padding-bottom: 66px; }
	/* Les bulles flottantes (robot, retour en haut) remontent au-dessus de la barre. */
	#wp-chatbot-ball-container, .scrollToTop, #scrollToTop, .tm-scroll-to-top, #ema .ema-bulle { bottom: 78px !important; }
}
a.em-lien-tel, a.em-lien-mail { color: inherit; text-decoration: none; }
a.em-lien-tel:hover, a.em-lien-mail:hover { text-decoration: underline; }

/* R-24 : premier paiement sous le prix ; R-31 : « Sur devis ». */
.em-carte .em-premier-paiement { margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: #6a6a6a; }
.em-carte:hover .em-premier-paiement { color: rgba(255, 255, 255, .78); }
.em-carte .pricing-plan-price.em-sur-devis { font-size: 34px !important; }

/* R-18 : sur mobile, les cartes d'une famille défilent à l'horizontale au lieu de s'empiler. */
@media (max-width: 767px) {
	.em-famille .em-grille-offres, .em-famille .em-grille-offres[class*="em-n"] { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
	.em-famille .em-grille-offres > .em-carte { scroll-snap-align: start; }
	.em-famille .em-grille-offres.em-n1 { grid-auto-columns: 100%; }
}

/* R-13 : bandeau de titre réduit sur la page Commande. */
body.page-id-51983 .elementor-section:has(.elementor-widget-tm-ele-page-title) { padding-top: 26px !important; padding-bottom: 26px !important; min-height: 0 !important; }
body.page-id-51983 .elementor-section:has(.elementor-widget-tm-ele-page-title) .elementor-container { min-height: 0 !important; }
@media (max-width: 767px) {
	body.page-id-51983 .elementor-widget-tm-ele-page-title h1.title { font-size: 26px !important; line-height: 1.2 !important; margin: 0 !important; }
	body.page-id-51983 .elementor-widget-tm-ele-page-title .breadcrumbs, body.page-id-51983 .elementor-widget-tm-ele-page-title [class*="breadcrumb"] { display: none !important; }
}

/* R-23 : encadré en bas des pages Services. */
.em-encadre-service { background: #f6f6f6; border-top: 4px solid var(--theme-color1, #e3262b); padding: 34px 0; margin-top: 40px; }
.em-encadre-service .conteneur { max-width: 1140px; margin: 0 auto; padding: 0 15px; }
.em-encadre-service p { margin: 0 0 14px; font-size: 17px; }
.em-encadre-service .btn { display: inline-block; margin: 0 8px 8px 0; padding: 12px 22px; border-radius: 4px; font-weight: 700; text-decoration: none; }
.em-encadre-service .btn-plein { background: var(--theme-color1, #e3262b); color: #fff; }
.em-encadre-service .btn-neutre { background: #fff; color: #1d1d1d; border: 1px solid #d6d6d6; }
/* R-09 : sous-titre et repères du bandeau d'accueil */
.em-accroche { color: #fff; font-size: 19px; line-height: 1.6; margin: 0 0 14px; max-width: 760px; }
.em-reperes { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.em-reperes li { color: #fff; font-size: 15px; font-weight: 600; padding-left: 22px; position: relative; }
.em-reperes li::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--theme-color1, #e3262b); }
@media (max-width: 767px) { .em-accroche { font-size: 16px; } .em-reperes { flex-direction: column; gap: 4px; } }
/* R-09 : titre du bandeau d'accueil plus compact sur mobile. */
@media (max-width: 767px) { .elementor-49682 .elementor-element-91740ba .elementor-heading-title { font-size: 32px !important; line-height: 1.2 !important; } }

/* =====================================================================================================
   Raffinage du 02/12/2026 : boutons homogènes, CTA « Commander » dans le menu, bandeau aligné,
   étapes en cartes, pied de page lisible, liens sociaux sans adresse masqués, cibles tactiles, focus.
   ===================================================================================================== */

/* ---------- Boutons : un seul système (arrondi 10 px, 46 px de haut au moins, texte non capitalisé) ---------- */
.btn.btn-theme-colored1, .tm-sc-button .btn, .elementor-button { border-radius: 10px; }
.tm-sc-button .btn, .btn-view-details .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; text-transform: none !important; letter-spacing: 0 !important; font-weight: 700; }
.btn-view-details .btn.btn-xs { min-height: 40px; padding: 10px 18px; font-size: 13px; }
.post-btn-readmore .btn { text-transform: none !important; min-height: 0; font-weight: 700; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--theme-color1); outline-offset: 3px; }
/* Bouton secondaire (« Être rappelé » du bandeau d'accueil) : contour blanc sur fond sombre */
.em-bouton-secondaire .btn.btn-theme-colored1 { background: transparent !important; border: 2px solid #fff !important; color: #fff !important; }
.em-bouton-secondaire .btn.btn-theme-colored1:hover { background: #fff !important; color: var(--theme-color2, #181818) !important; }
.em-bouton-secondaire .btn.btn-theme-colored1::before, .em-bouton-secondaire .btn.btn-theme-colored1::after { display: none !important; }
/* Cartes d'offres : bouton sur toute la largeur, donc alignés d'une carte à l'autre */
.em-carte .btn-view-details, .em-carte .btn-view-details .btn { width: 100%; }
.em-carte .btn-view-details .btn { padding-left: 12px; padding-right: 12px; }

/* ---------- Bandeau d'accueil : texte aligné sur la grille du site, deux boutons côte à côte ---------- */
.em-hero { flex-direction: row !important; flex-wrap: wrap !important; align-items: center !important; align-content: center !important; column-gap: 14px; row-gap: 0; }
.em-hero > .elementor-widget:not(.elementor-widget-tm-ele-button) { width: 100% !important; }
.em-hero > .elementor-widget-tm-ele-button { width: auto !important; margin: 0 0 10px !important; }
@media (min-width: 1025px) {
	.em-hero { max-width: 1140px !important; width: 100% !important; margin-left: auto !important; margin-right: auto !important; padding-left: 15px !important; padding-right: 15px !important; justify-content: flex-start !important; }
}
@media (max-width: 1024px) { .em-hero { justify-content: center !important; } }
@media (max-width: 767px) {
	.em-hero { column-gap: 10px; }
	.em-hero > .elementor-widget-tm-ele-button { width: calc(50% - 5px) !important; }
	.em-hero > .elementor-widget-tm-ele-button .btn { width: 100%; padding-left: 8px !important; padding-right: 8px !important; }
}

/* ---------- « Comment ça marche » : trois cartes numérotées ---------- */
ol.em-etapes-accueil { list-style: none; counter-reset: etape; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0; margin: 28px 0 0; }
ol.em-etapes-accueil li { counter-increment: etape; position: relative; margin: 0; padding: 62px 24px 24px; background: #fff; border: 1px solid #e7e9eb; border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .05); line-height: 1.6; }
ol.em-etapes-accueil li::before { content: counter(etape); position: absolute; left: 24px; top: 20px; width: 32px; height: 32px; border-radius: 50%; background: var(--theme-color1); color: #fff; font-weight: 700; font-size: 15px; display: grid; place-items: center; }
ol.em-etapes-accueil li strong { display: block; margin-bottom: 6px; color: var(--theme-color2, #181818); font-size: 17px; }
@media (max-width: 767px) { ol.em-etapes-accueil { grid-template-columns: 1fr; gap: 14px; } ol.em-etapes-accueil li { padding: 20px 20px 20px 70px; } ol.em-etapes-accueil li::before { top: 20px; left: 20px; } }

/* ---------- Menu : « Commander » devient le bouton d'action de l'en-tête ---------- */
@media (min-width: 1025px) {
	.menuzord-primary-nav .menuzord-menu > li.em-menu-cta { display: inline-flex; align-items: center; }
	.elementor .menuzord-primary-nav .menuzord-menu > li.em-menu-cta > a { background: var(--theme-color1); color: #fff !important; border-radius: 10px; padding: 10px 16px !important; margin-left: 8px; line-height: 1.2 !important; transition: filter .2s; }
	.elementor .menuzord-primary-nav .menuzord-menu > li.em-menu-cta > a:hover { filter: brightness(.9); }
	.menuzord-primary-nav .menuzord-menu > li.em-menu-cta > a::before, .menuzord-primary-nav .menuzord-menu > li.em-menu-cta > a::after { display: none !important; }
}
@media (max-width: 1024px) {
	.menuzord-primary-nav .menuzord-menu > li.em-menu-cta > a { background: var(--theme-color1); color: #fff !important; border-radius: 10px; text-align: center; margin: 10px 0; }
}

/* ---------- Réseaux sociaux : seules les icônes qui mènent quelque part restent affichées ---------- */
.tm-sc-social-links li:has(> a[href="#"]), a.social-link[href="#"] { display: none !important; }

/* ---------- Pied de page (modèle 693) : colonnes à la bonne largeur, liens sur deux colonnes ---------- */
@media (min-width: 1025px) {
	.elementor-693 .elementor-element-7860b0e, .elementor-693 .elementor-element-2bc702c, .elementor-693 .elementor-element-84d601a { display: none !important; }
	.elementor-693 .elementor-element-87e6883 { width: 30% !important; padding-right: 30px; }
	.elementor-693 .elementor-element-41ccdba { width: 26% !important; }
	.elementor-693 .elementor-element-4eccc3d { width: 20% !important; }
	.elementor-693 .elementor-element-ccae7b6 { width: 24% !important; }
	.elementor-693 .elementor-element-97cb0e7 ul { columns: 2; column-gap: 28px; }
	.elementor-693 .elementor-element-97cb0e7 li { break-inside: avoid; }
}
.elementor-693 .elementor-element-97cb0e7 li a, .elementor-693 .elementor-element-4a0f5c2 li a { white-space: nowrap; }
@media (max-width: 767px) {
	.elementor-693 .elementor-element-97cb0e7 ul { columns: 2; column-gap: 16px; }
	.elementor-693 .elementor-element-97cb0e7 li a, .elementor-693 .elementor-element-4a0f5c2 li a, .elementor-693 .tm-sc-contact-list a { display: inline-block; padding: 6px 0; white-space: normal; }
}

/* ---------- Cibles tactiles et fil d'Ariane sur mobile ---------- */
@media (max-width: 767px) {
	.breadcrumbs a { display: inline-block; padding: 8px 0; }
	.em-module .note a, .em-rappel .note a { display: inline-block; padding: 6px 0; }
}
