/* ESB Site — système de design ESBTECH (v0.1.0)
   Typographie : Manrope (titres), Inter (texte). Couleurs : encre, papier, gris Apple, bleu ESBTECH, turquoise du logo. */
:root {
	--ds-ink: #0b0e14;
	--ds-text: #1d1d1f;
	--ds-sub: #5f6673;
	--ds-paper: #ffffff;
	--ds-mist: #f5f5f7;
	--ds-line: rgba(0, 0, 0, .08);
	--ds-deep: #0a1324;
	--ds-blue: #0f6fd6;
	--ds-blue-dark: #0b5bb3;
	--ds-teal: #11a5b6;
	--ds-display: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ds-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ds-radius: 20px;
	--ds-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base typographique (tout le site) ---------- */
html { overflow-x: clip; }
body.esb-design { font-family: var(--ds-body); color: var(--ds-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.esb-design h1, body.esb-design h2, body.esb-design h3, body.esb-design h4,
body.esb-design .product_title, body.esb-design .page-title, body.esb-design .heading-title { font-family: var(--ds-display); letter-spacing: -.015em; }
body.esb-design .product_title { text-transform: none; font-weight: 700; line-height: 1.2; }
body.esb-design a:focus-visible, body.esb-design button:focus-visible { outline: 2px solid var(--ds-blue); outline-offset: 3px; }

/* ---------- En-tête épuré ---------- */
body.esb-design .esb-topbar { background: var(--ds-mist) !important; border-bottom: 1px solid var(--ds-line); }
body.esb-design .esb-topbar, body.esb-design .esb-topbar * { color: var(--ds-sub) !important; font-size: 12px; }
body.esb-design .esb-topbar a:hover { color: var(--ds-blue) !important; }
body.esb-design .ts-header .header-middle { background: rgba(255, 255, 255, .94); }
body.esb-design .ts-header .header-bottom { background: rgba(255, 255, 255, .86) !important; border-top: 1px solid var(--ds-line); border-bottom: 1px solid var(--ds-line); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); }
body.esb-design .ts-header .header-bottom .main-menu > ul > li > a,
body.esb-design .ts-header .header-bottom .main-menu > ul > li > a > span { color: var(--ds-text) !important; background: transparent !important; font-family: var(--ds-body); font-weight: 500; font-size: 14px; text-transform: none; letter-spacing: 0; border-radius: 999px; box-shadow: none !important; border: 0 !important; transition: color .2s ease, background .2s ease; }
body.esb-design .ts-header .header-bottom .main-menu > ul > li > a:hover { color: var(--ds-blue) !important; background: rgba(15, 111, 214, .07) !important; }
body.esb-design .ts-header .header-bottom .main-menu > ul > li.esb-devis > a,
body.esb-design .ts-header .header-bottom .main-menu > ul > li.menu-item-devis > a { background: var(--ds-blue) !important; color: #fff !important; padding-inline: 18px !important; }
body.esb-design .ts-header .header-bottom .main-menu > ul > li.esb-devis > a:hover,
body.esb-design .ts-header .header-bottom .main-menu > ul > li.menu-item-devis > a:hover { background: var(--ds-blue-dark) !important; color: #fff !important; }
body.esb-design .ts-header .header-bottom .main-menu > ul > li.esb-devis > a span { color: #fff !important; }
body.esb-design .ts-header .header-bottom .main-menu > ul > li > a i,
body.esb-design .ts-header .header-bottom .main-menu > ul > li > a .menu-icon,
body.esb-design .ts-header .header-bottom .main-menu > ul > li > a img { display: none !important; }
body.esb-design .ts-header .header-bottom .main-menu > ul > li > a::before { content: none !important; }

/* Sous-menus */
body.esb-design .ts-header .header-bottom .main-menu .sub-menu { border-radius: 16px; border: 1px solid var(--ds-line); box-shadow: 0 24px 48px -24px rgba(10, 20, 40, .3); padding: 8px; }
body.esb-design .ts-header .header-bottom .main-menu .sub-menu li > a,
body.esb-design .ts-header .header-bottom .main-menu .sub-menu li > a span { background: transparent !important; color: var(--ds-text) !important; font-weight: 500; font-size: 14px; border-radius: 10px; box-shadow: none !important; }
body.esb-design .ts-header .header-bottom .main-menu .sub-menu li > a:hover { background: rgba(15, 111, 214, .07) !important; color: var(--ds-blue) !important; }

/* Barre de recherche */
body.esb-design .header-middle .search-table, body.esb-design .header-middle form.search { border-radius: 999px; }
body.esb-design .header-middle .search-button input[type="submit"],
body.esb-design .header-middle .search-button button { background: var(--ds-blue) !important; border-radius: 999px !important; }

/* ---------- Mobile : en-tête contenu dans l'écran ---------- */
@media (max-width: 767px) {
	body.esb-design .header-middle .container { max-width: 100%; padding-left: 14px; padding-right: 14px; }
	body.esb-design .header-middle .header-right { gap: 6px; flex-shrink: 1; min-width: 0; }
	body.esb-design .header-middle .header-right > * { margin-left: 0 !important; margin-right: 0 !important; }
	body.esb-design .header-middle .header-left { min-width: 0; flex-shrink: 1; }
	body.esb-design .header-middle .logo img, body.esb-design .header-middle .logo-wrapper img { max-width: 132px; height: auto; }
	body.esb-design .header-middle .my-account-wrapper .account-label,
	body.esb-design .header-middle .cart-label, body.esb-design .header-middle .cart-total { display: none !important; }
	body.esb-design .esb-mobile-ctas { display: flex !important; gap: 8px; padding: 8px 14px; background: #fff; border-bottom: 1px solid var(--ds-line); }
	body.esb-design .esb-mobile-ctas .esb-mobile-cta { flex: 1; min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; font-size: 13px; font-weight: 600; margin: 0; padding: 8px 12px; background: var(--ds-mist) !important; color: var(--ds-text) !important; box-shadow: none; }
	body.esb-design .esb-mobile-ctas .esb-mobile-cta-devis { background: var(--ds-blue) !important; color: #fff !important; }
	body.esb-design .esb-mobile-ctas .esb-mobile-cta i { display: none; }
	body.esb-design a, body.esb-design button { -webkit-tap-highlight-color: rgba(15, 111, 214, .12); }
}

/* ---------- Boutons ---------- */
.esb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border-radius: 999px; font: 600 15px/1 var(--ds-body); text-decoration: none !important; border: 0; cursor: pointer; transition: transform .25s var(--ds-ease), background .25s ease, box-shadow .25s ease, color .25s ease; }
.esb-btn:hover { transform: translateY(-1px); }
.esb-btn:active { transform: translateY(0) scale(.98); }
.esb-btn-primary { background: var(--ds-blue); color: #fff !important; }
.esb-btn-primary:hover { background: var(--ds-blue-dark); box-shadow: 0 10px 26px -12px rgba(15, 111, 214, .8); }
.esb-btn-ghost { background: transparent; color: var(--ds-blue) !important; box-shadow: inset 0 0 0 1.5px rgba(15, 111, 214, .35); }
.esb-btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ds-blue); }
.esb-btn-light { background: #fff; color: var(--ds-ink) !important; }
.esb-btn-outline-light { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.esb-btn-outline-light:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.esb-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ds-blue) !important; font-weight: 600; text-decoration: none !important; }
.esb-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ds-ease); }
.esb-link:hover svg { transform: translateX(4px); }

/* ---------- Page d'accueil ---------- */
.esb-home { color: var(--ds-text); font-family: var(--ds-body); }
.esb-home > section { width: 100vw; margin-left: calc(50% - 50vw); }
.esb-in { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.esb-narrow { max-width: 820px; text-align: center; }
.esb-band { padding-block: clamp(64px, 9vw, 120px); background: var(--ds-paper); }
.esb-mist { background: var(--ds-mist); }
.esb-dark { background: radial-gradient(120% 120% at 50% 0%, #15284a 0%, var(--ds-deep) 62%); color: #e9eef7; }
.esb-dark .esb-sub { color: #a7b4c9; }
.esb-dark .esb-kicker { color: #5fd3e0; }
.esb-kicker { font: 600 12px/1.2 var(--ds-body); letter-spacing: .14em; text-transform: uppercase; color: #0b7a87; margin: 0 0 14px; } /* contraste 5,1:1 */
.esb-display { font: 800 clamp(40px, 7.2vw, 88px)/1.02 var(--ds-display); letter-spacing: -.04em; color: var(--ds-ink); margin: 0 auto 20px; max-width: 14ch; text-wrap: balance; }
.esb-h2 { font: 800 clamp(30px, 4.6vw, 54px)/1.06 var(--ds-display) !important; letter-spacing: -.035em; color: inherit; margin: 0 0 16px; max-width: 18ch; text-wrap: balance; }
.esb-narrow .esb-h2, .esb-narrow .esb-sub { margin-left: auto; margin-right: auto; }
.esb-lede { font-size: clamp(17px, 2vw, 21px); line-height: 1.5; color: var(--ds-sub); max-width: 46ch; margin: 0 auto; }
.esb-sub { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: var(--ds-sub); max-width: 52ch; margin: 0 0 28px; }
.esb-actions { position: relative; z-index: 5; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.esb-split .esb-actions { justify-content: flex-start; }

/* Héros */
.esb-hero { text-align: center; padding-top: clamp(64px, 10vw, 128px); background: linear-gradient(180deg, #fff 0%, #f6f7fa 70%, var(--ds-mist) 100%); overflow: hidden; }
.esb-stage { position: relative; max-width: 1040px; height: clamp(220px, 34vw, 430px); margin: clamp(40px, 6vw, 72px) auto 0; }
.esb-glow { position: absolute; inset: 18% 10% -30%; background: radial-gradient(closest-side, rgba(17, 165, 182, .28), rgba(15, 111, 214, .12) 60%, transparent); filter: blur(24px); }
.esb-stage-img { position: absolute; bottom: 0; width: auto !important; height: auto; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--ds-ease); }
.esb-s1 { left: 50%; max-width: 56%; transform: translateX(-50%); z-index: 3; }
.esb-s2 { left: 2%; max-width: 36%; max-height: 78%; z-index: 2; opacity: .96; }
.esb-s3 { right: 2%; max-width: 30%; max-height: 74%; z-index: 2; opacity: .96; }

/* Domaines */
.esb-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 40px; }
.esb-tile { display: flex; flex-direction: column; gap: 6px; background: #fff; border-radius: var(--ds-radius); padding: 28px; text-decoration: none !important; color: var(--ds-text) !important; transition: transform .45s var(--ds-ease), box-shadow .45s var(--ds-ease); }
.esb-tile:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(10, 20, 40, .35); }
.esb-tile b { font: 700 18px/1.3 var(--ds-display); }
.esb-tile span:not(.esb-ic) { color: var(--ds-sub); font-size: 15px; line-height: 1.5; }
.esb-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(15, 111, 214, .08); color: var(--ds-blue); margin-bottom: 12px; }
.esb-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Sections image + texte */
.esb-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.esb-split > div { min-width: 0; }
.esb-rev > div:first-child { order: 2; }
.esb-visual { aspect-ratio: 1 / 1; max-width: 100%; border-radius: 28px; background: radial-gradient(80% 80% at 50% 40%, #ffffff 0%, #eef1f6 100%); display: grid; place-items: center; overflow: hidden; }
.esb-mist .esb-visual { background: radial-gradient(80% 80% at 50% 40%, #ffffff 0%, #e9edf3 100%); }
.esb-visual-img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--ds-ease); }
.esb-visual:hover .esb-visual-img { transform: scale(1.04); }
.esb-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.esb-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.esb-list li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--ds-teal); flex: none; }
.esb-list a { color: var(--ds-text) !important; text-decoration: none !important; border-bottom: 1px solid transparent; transition: border-color .2s; }
.esb-list a:hover { border-bottom-color: var(--ds-blue); color: var(--ds-blue) !important; }

/* Pourquoi */
.esb-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 40px; }
.esb-why div { border-top: 1px solid rgba(0, 0, 0, .12); padding-top: 20px; }
.esb-why b { display: block; font: 700 18px/1.3 var(--ds-display); margin-bottom: 6px; }
.esb-why span { color: var(--ds-sub); line-height: 1.55; }

/* Marques */
.esb-brands { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.esb-brands a { flex: 1 1 140px; text-align: center; padding: 22px 12px; border-radius: 16px; background: var(--ds-mist); color: var(--ds-sub) !important; font: 700 16px var(--ds-display); text-decoration: none !important; transition: background .3s, color .3s; }
.esb-brands a:hover { background: #e8ecf2; color: var(--ds-ink) !important; }

/* Appel final */
.esb-final .esb-contact { margin-top: 22px; color: var(--ds-sub); font-size: 15px; }

/* ---------- Pages vitrines ---------- */
.esb-page-hero { padding-bottom: clamp(48px, 7vw, 88px); }
.esb-display-sm { font-size: clamp(36px, 5.6vw, 68px); max-width: 16ch; }
.esb-anchors { position: sticky; top: 0; z-index: 4; padding-block: 12px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-block: 1px solid var(--ds-line); }
.esb-anchors .esb-in { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.esb-anchors a { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--ds-mist); color: var(--ds-text) !important; font-size: 14px; font-weight: 500; text-decoration: none !important; }
.esb-anchors a:hover { background: rgba(15, 111, 214, .1); color: var(--ds-blue) !important; }
.esb-page .esb-band[id] { scroll-margin-top: 140px; }
.esb-facts { display: grid; gap: 14px; }
.esb-facts div { background: var(--ds-mist); border-radius: var(--ds-radius); padding: 24px 26px; }
.esb-facts b { display: block; font: 800 clamp(28px, 4vw, 40px)/1.1 var(--ds-display); letter-spacing: -.03em; color: var(--ds-ink); }
.esb-facts span { color: var(--ds-sub); }
.esb-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.esb-contact-grid .esb-tile { background: var(--ds-mist); }
.esb-contact-grid .esb-tile span { font-size: 16px; color: var(--ds-text); }
.esb-top { align-items: start; }
.esb-form { background: #fff; border-radius: 24px; padding: clamp(20px, 3vw, 36px); box-shadow: 0 24px 60px -40px rgba(10, 20, 40, .35); min-width: 0; }
.esb-form .wpforms-container { margin: 0 !important; }
.esb-form input[type="text"], .esb-form input[type="email"], .esb-form input[type="tel"], .esb-form textarea, .esb-form select { width: 100% !important; max-width: 100% !important; border: 1px solid #d8dde5 !important; border-radius: 12px !important; padding: 12px 14px !important; font: 400 16px var(--ds-body) !important; background: #fff !important; transition: border-color .2s, box-shadow .2s; }
.esb-form input:focus, .esb-form textarea:focus { border-color: var(--ds-blue) !important; box-shadow: 0 0 0 4px rgba(15, 111, 214, .12) !important; outline: none !important; }
.esb-form label { font: 600 14px var(--ds-body) !important; color: var(--ds-text) !important; }
.esb-form button[type="submit"], .esb-form .wpforms-submit { background: var(--ds-blue) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 14px 28px !important; font: 600 15px var(--ds-body) !important; cursor: pointer; }
.esb-form button[type="submit"]:hover { background: var(--ds-blue-dark) !important; }

/* Mentions légales */
.esb-legal { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 24px 0 0; }
.esb-legal div { background: var(--ds-mist); border-radius: 14px; padding: 16px 18px; min-width: 0; }
.esb-legal dt { font: 600 12px/1.3 var(--ds-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ds-sub); margin: 0 0 4px; }
.esb-legal dd { margin: 0; font: 600 16px/1.4 var(--ds-body); color: var(--ds-text); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* ---------- Boutique : cartes produits ---------- */
body.esb-design .products .product .product-wrapper { background: #fff; border: 1px solid var(--ds-line); border-radius: 18px; padding: 12px 12px 16px; height: 100%; transition: transform .35s var(--ds-ease), box-shadow .35s var(--ds-ease), border-color .35s; }
body.esb-design .products .product .product-wrapper:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 22px 44px -26px rgba(10, 20, 40, .35); }
body.esb-design .products .product .thumbnail-wrapper { border-radius: 12px; overflow: hidden; background: #fff; }
body.esb-design .products .product .meta-wrapper .product-sku,
body.esb-design .products .product .meta-wrapper .product-categories { display: none !important; }
body.esb-design .products .product .product-brands a { font: 600 11px/1.4 var(--ds-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ds-sub) !important; }
body.esb-design .products .product .heading-title.product-name,
body.esb-design .products .product .heading-title.product-name a { font: 600 15px/1.35 var(--ds-body) !important; letter-spacing: 0; color: var(--ds-text) !important; text-transform: none !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.esb-design .products .product .heading-title.product-name a:hover { color: var(--ds-blue) !important; }
body.esb-design .products .product .price { font: 700 17px/1.3 var(--ds-display) !important; color: var(--ds-ink) !important; }
body.esb-design .products .product .price del { font-weight: 500; font-size: 13px; color: var(--ds-sub) !important; opacity: .8; }
body.esb-design .products .product .price ins { text-decoration: none; }
body.esb-design .products .product .woocommerce-product-rating { opacity: .7; transform: scale(.9); transform-origin: left center; }
body.esb-design .products .product .onsale { background: #e5484d !important; border-radius: 999px !important; font-weight: 700; padding: 2px 8px !important; }
body.esb-design .products .product .esb-compare-btn { border-radius: 999px; font-size: 12px; padding: 3px 10px; border-color: rgba(15, 111, 214, .3); }

/* Boutons WooCommerce */
body.esb-design .woocommerce a.button, body.esb-design .woocommerce button.button,
body.esb-design .woocommerce .single_add_to_cart_button, body.esb-design .woocommerce a.checkout-button,
body.esb-design .products .product .button, body.esb-design .products .product .add_to_cart_button { border-radius: 999px !important; background: var(--ds-blue) !important; color: #fff !important; border: 0 !important; font: 600 14px var(--ds-body) !important; text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important; transition: background .2s ease, transform .2s ease; }
body.esb-design .woocommerce a.button:hover, body.esb-design .woocommerce button.button:hover,
body.esb-design .woocommerce .single_add_to_cart_button:hover, body.esb-design .products .product .button:hover { background: var(--ds-blue-dark) !important; transform: translateY(-1px); }

/* Fiche produit */
body.esb-design.single-product .summary .price { font-family: var(--ds-display) !important; letter-spacing: -.02em; }
body.esb-design.single-product .woocommerce-tabs .tabs li a { font-family: var(--ds-body); text-transform: none; letter-spacing: 0; }
body.esb-design table.esb-specs th { font-weight: 600; color: var(--ds-text); }
body.esb-design table.esb-specs th, body.esb-design table.esb-specs td { padding: 10px 14px; border-color: var(--ds-line); }

/* Titres de catégories */
body.esb-design .breadcrumb-title-wrapper .page-title, body.esb-design .woocommerce-products-header__title { font-family: var(--ds-display) !important; font-weight: 800; letter-spacing: -.03em; }

/* ---------- Apparition au défilement (activée seulement si le script tourne) ---------- */
.esb-js [data-reveal] { opacity: .001; transform: translateY(18px); transition: opacity .9s var(--ds-ease), transform .9s var(--ds-ease); }
.esb-js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.esb-js [data-reveal] { opacity: 1; transform: none; transition: none; }
	.esb-btn, .esb-tile, .esb-stage-img, .esb-visual-img, .esb-link svg { transition: none; }
}

/* ---------- Tablette et mobile ---------- */
@media (max-width: 860px) {
	.esb-split { grid-template-columns: 1fr; }
	.esb-rev > div:first-child { order: 0; }
	.esb-visual { aspect-ratio: 4 / 3; }
	.esb-s2 { left: -4%; max-width: 40%; }
	.esb-s3 { right: -4%; max-width: 34%; }
	.esb-s1 { max-width: 70%; }
}
@media (max-width: 560px) {
	.esb-tile { padding: 22px; }
	.esb-actions .esb-btn { flex: 1 1 100%; }
	.esb-brands a { flex-basis: 40%; padding: 16px 8px; font-size: 14px; }
}

/* Page Nador West Med */
.esb-nwm .esb-why .esb-list { margin: 14px 0 0; font-size: 15px; }
.esb-nwm .esb-why .esb-list li { padding: 4px 0; }

/* Accueil : 5 domaines d'expertise sur une ligne, avec effet d'appel au survol */
#esb-solutions .esb-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
#esb-solutions .esb-tile { position: relative; padding: 24px 20px 22px; border: 1px solid rgba(15, 111, 214, .08); transition: transform .45s var(--ds-ease), box-shadow .45s var(--ds-ease), border-color .3s ease; }
#esb-solutions .esb-tile b { font-size: 17px; }
#esb-solutions .esb-tile span:not(.esb-ic) { font-size: 14px; }
#esb-solutions .esb-tile::after { content: "Découvrir \2192"; margin-top: auto; padding-top: 14px; font: 600 14px/1 var(--ds-body); color: var(--ds-blue); opacity: .75; transition: transform .35s var(--ds-ease), opacity .3s ease; }
#esb-solutions .esb-tile .esb-ic { transition: background .3s ease, color .3s ease, transform .45s var(--ds-ease); }
#esb-solutions .esb-tile:hover, #esb-solutions .esb-tile:focus-visible { transform: translateY(-8px); border-color: rgba(15, 111, 214, .45); box-shadow: 0 26px 50px -26px rgba(15, 111, 214, .45); outline: none; }
#esb-solutions .esb-tile:hover .esb-ic, #esb-solutions .esb-tile:focus-visible .esb-ic { background: var(--ds-blue); color: #fff; transform: scale(1.08); }
#esb-solutions .esb-tile:hover::after, #esb-solutions .esb-tile:focus-visible::after { opacity: 1; transform: translateX(6px); }
@media (max-width: 1100px) { #esb-solutions .esb-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { #esb-solutions .esb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { #esb-solutions .esb-tiles { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { #esb-solutions .esb-tile, #esb-solutions .esb-tile::after, #esb-solutions .esb-tile .esb-ic { transition: none; } }

/* Hero : image d'ensemble (médias « esb-hero-materiel ») */
.esb-stage.esb-stage-wide { height: auto; display: flex; justify-content: center; }
.esb-hero-wide { position: relative; display: block; width: 100%; max-width: 1040px; height: auto; z-index: 2; filter: drop-shadow(0 30px 40px rgba(10, 20, 40, .12)); }

/* Visuels de section choisis (photos d'ambiance) : remplissent le cadre */
.esb-visual .esb-visual-photo { width: 100%; height: 100%; max-height: none; object-fit: cover; border-radius: var(--ds-radius); mix-blend-mode: normal; }
.esb-visual:has(.esb-visual-photo) { aspect-ratio: 4 / 3; background: none; }

/* Accessibilité (PageSpeed) : titres du pied de page passés en h2, même aspect qu'en h6 */
footer h2.esb-was-h6 { font-family: Mulish, sans-serif; font-size: 20px; font-weight: 800; line-height: 20px; letter-spacing: .5px; text-transform: none; color: #000; margin: 0; padding: 0; }
/* Contraste suffisant (≥ 4,5:1) pour les libellés de l'en-tête et le texte d'aide de la recherche */
.ts-header .label, .header-middle .label { color: #5b6676 !important; }
.header-middle input::placeholder { color: #5b6676 !important; opacity: 1; }
footer .elementor-element-7bb8da1, footer .elementor-element-7bb8da1 p { color: #5b6676 !important; } /* ligne légale : contraste 5,9:1 */

/* Marques : grille de logos en couleur (accueil) */
.esb-brands-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.esb-brands-head .esb-h2 { margin: 0; position: relative; padding-bottom: 12px; }
.esb-brands-head .esb-h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 4px; border-radius: 2px; background: #f7811e; }
.esb-brands-head .esb-link { font-weight: 600; white-space: nowrap; }
.esb-brand-logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.esb-brand-logos a { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 84px; padding: 14px 12px; border-radius: 12px; background: #fff; border: 1px solid #e3e7ee; color: var(--ds-ink) !important; font: 800 12px/1.2 var(--ds-display); letter-spacing: .08em; text-transform: uppercase; transition: transform .3s var(--ds-ease), box-shadow .3s var(--ds-ease), border-color .3s; }
.esb-brand-logos a:hover { background: #fff; transform: translateY(-3px); border-color: transparent; box-shadow: 0 18px 36px -22px rgba(10, 20, 40, .35); }
.esb-brand-logos img { display: block; height: 30px; width: 100%; max-width: 92px; object-fit: contain; }
@media (max-width: 1024px) { .esb-brand-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .esb-brand-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .esb-brand-logos a { min-height: 76px; padding: 12px 8px; } .esb-brand-logos img { height: 26px; max-width: 80px; } }

/* Pied de page (0.4.17) : logos de paiement hors de portée des boutons flottants (WhatsApp, haut de page). */
@media (min-width: 768px) { footer .elementor-element-e185ca3 > .e-con-inner { padding-right: 104px; } }
@media (max-width: 767px) { footer .elementor-element-e185ca3 > .e-con-inner { padding-bottom: 88px; } }
footer .elementor-social-icon-linkedin svg { fill: #0a66c2 !important; }
footer .elementor-social-icon-linkedin:hover svg { fill: #004182 !important; }
footer .elementor-element-21a67c6 a { color: inherit; }
footer .elementor-element-21a67c6 a:hover { color: #0f6fd6; }
/* Rangée « Nos marques » du pied de page sur mobile : 3 colonnes, 12 marques = 4 rangées complètes. */
@media (max-width: 767px) {
	footer .esb-fbrands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	footer .esb-fbrands-t { grid-column: 1 / -1; text-align: center; margin: 0 0 4px; }
	footer .esb-fbrands a { text-align: center; padding: 9px 6px; }
}
footer .esb-social-instagram svg { fill: #e4405f !important; }
footer .esb-social-instagram:hover svg { fill: #c13584 !important; }
footer .elementor-element-b7d7cb1 .elementor-grid-item { margin-right: 14px; }
footer .elementor-element-b7d7cb1 .elementor-grid-item:last-child { margin-right: 0; }
footer .esb-social-facebook svg { fill: #1877f2 !important; }
footer .esb-social-facebook:hover svg { fill: #0b5fcc !important; }

/* Mobile : moins d'espace vide sous le haut des pages intérieures (Nador West Med, contact…), pour que la
   section suivante commence au-dessus de la ligne de flottaison (constat du 30/11/2026, écran de 375 px). */
@media (max-width: 767px) {
	.esb-page-hero { padding-bottom: 24px; }
	.esb-page-hero + .esb-band { padding-top: 32px; }
}
