/*
Theme Name: JFB 2026 Premium
Theme URI: https://reparationjfb.ca/
Author: Réparation JFB
Description: Thème WooCommerce de Réparation JFB : boutique, prix de réparation et de rachat reliés à la Google Sheet, mode comptoir pour la télé.
Version: 4.9.10
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: jfb2026
*/

:root {
	--navy: #071B3A;
	--navy-2: #0C2B5A;
	--blue: #0A66E0;
	--blue-d: #0852B8;
	--sky: #5CC8FF;
	--ink: #0E1E36;
	--muted: #4F5F78;
	--line: #DDE5F0;
	--soft: #F2F6FC;
	--ok: #0B7A43;
	--ok-bg: #E4F5EC;
	--warn: #9A4A06;
	--warn-bg: #FDF0E1;
	--r-lg: 22px;
	--r-md: 14px;
	--r-sm: 10px;
	--shadow: 0 10px 30px rgba(7, 27, 58, .08);
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-d); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.jfb-skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 16px; z-index: 100; border-radius: 8px; }
.jfb-skip:focus { left: 8px; }
.jfb-ico { flex-shrink: 0; vertical-align: middle; }
.jfb-center { text-align: center; }
.jfb-muted { color: var(--muted); font-size: 14px; }

/* Boutons */
.jfb-btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 22px; border: 2px solid var(--blue); border-radius: var(--r-sm);
	background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer; text-align: center;
	transition: background .15s, border-color .15s;
}
.jfb-btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--blue-d); border-color: var(--blue-d); color: #fff; }
.jfb-btn-lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.jfb-btn-wide { width: 100%; }
.jfb-btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); }
.jfb-btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.jfb-btn-ghost-dark { background: #fff; color: var(--ink); border-color: var(--line); }
.jfb-btn-ghost-dark:hover { background: var(--soft); color: var(--ink); border-color: var(--blue); }
.jfb-btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.jfb-btn-light:hover { background: #E8F1FF; color: var(--navy); border-color: #E8F1FF; }

/* Barre du haut */
.jfb-topbar { background: var(--navy); color: #D6E2F5; font-size: 13px; }
.jfb-topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 9px; padding-bottom: 9px; }
.jfb-topbar span, .jfb-topbar a { display: inline-flex; align-items: center; gap: 6px; }
.jfb-topbar a { color: #fff; font-weight: 700; }
.jfb-topbar-right { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* En-tête */
.jfb-head { background: #fff; }
.jfb-head .wrap { display: flex; align-items: center; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.jfb-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; }
.jfb-logo { display: block; width: auto; max-width: 230px; max-height: 64px; object-fit: contain; }
.jfb-mark { width: 48px; height: 48px; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 16px; letter-spacing: .02em; }
.jfb-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.jfb-brand-text strong { font-size: 20px; font-weight: 800; }
.jfb-brand-text small { font-size: 13px; color: var(--muted); }

.jfb-search { position: relative; display: flex; align-items: center; flex: 1 1 auto; max-width: 620px; }
.jfb-search-ico { position: absolute; left: 16px; color: var(--muted); pointer-events: none; }
.jfb-search input[type="search"] { width: 100%; min-width: 0; height: 52px; padding: 0 16px 0 48px; border: 2px solid var(--line); border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); background: var(--soft); font-size: 16px; }
.jfb-search input[type="search"]:focus { outline: none; border-color: var(--blue); background: #fff; }
.jfb-search button { height: 52px; padding: 0 22px; border: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--blue); color: #fff; font-weight: 700; cursor: pointer; }
.jfb-search button:hover { background: var(--blue-d); }

.jfb-head-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.jfb-icon-link { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--ink); font-weight: 600; font-size: 15px; }
.jfb-icon-link:hover { background: var(--soft); color: var(--ink); }
.jfb-cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; display: inline-grid; place-items: center; }
.jfb-burger { display: none; width: 48px; height: 48px; border: 0; background: var(--soft); border-radius: var(--r-sm); cursor: pointer; color: var(--ink); align-items: center; justify-content: center; }

/* Menu */
.jfb-nav { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.jfb-nav .wrap { display: flex; align-items: center; gap: 12px; }
.jfb-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.jfb-menu li { position: relative; }
.jfb-menu a { display: block; padding: 15px 14px; color: var(--ink); font-weight: 700; font-size: 15px; }
.jfb-menu a:hover, .jfb-menu .current-menu-item > a { color: var(--blue); }
.jfb-menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 240px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); z-index: 30; }
.jfb-menu li:hover > .sub-menu, .jfb-menu li:focus-within > .sub-menu { display: block; }
.jfb-menu .sub-menu a { padding: 10px 12px; border-radius: 8px; font-weight: 600; }
.jfb-menu .sub-menu a:hover { background: var(--soft); }
.jfb-counter-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-sm); background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; }
.jfb-counter-btn:hover { background: var(--navy-2); color: #fff; }

/* Héros */
.jfb-hero { position: relative; color: #fff; background: radial-gradient(120% 140% at 85% 30%, #0F62D6 0%, #0A3F8F 35%, var(--navy) 75%); overflow: hidden; }
.jfb-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 110px; }
.jfb-hero-kicker { display: inline-block; margin: 0 0 18px; padding: 7px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-size: 14px; font-weight: 600; color: #DCE9FF; }
.jfb-hero h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 20px; max-width: 13ch; }
.jfb-hero-lead { font-size: 19px; color: #D3E1F7; max-width: 46ch; margin: 0 0 28px; }
.jfb-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.jfb-hero-points { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: #D3E1F7; }
.jfb-hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.jfb-hero-visual { min-width: 0; display: flex; justify-content: center; }
.jfb-hero-visual img, .jfb-hero-visual svg { width: 100%; max-width: 560px; height: auto; max-height: 420px; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 10, 30, .45)); }

/* Catégories (chevauchent le héros) */
.jfb-cats-wrap { position: relative; margin-top: -64px; z-index: 2; }
.jfb-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; padding: 14px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.jfb-cat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 20px 10px; border-radius: var(--r-md); color: var(--ink); }
.jfb-cat:hover { background: var(--soft); color: var(--ink); }
.jfb-cat-ico { width: 66px; height: 66px; border-radius: 18px; background: #E9F2FF; color: var(--blue); display: grid; place-items: center; margin-bottom: 6px; }
.jfb-cat strong { font-size: 16px; }
.jfb-cat small { font-size: 13px; color: var(--muted); line-height: 1.35; }

/* Sections */
.jfb-section { padding: 64px 0; }
.jfb-section-tight { padding: 8px 0; }
.jfb-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; margin-bottom: 26px; }
.jfb-section-head h2 { margin: 0; }
.jfb-section-head > a { font-weight: 700; }

.jfb-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.jfb-service { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; display: flex; flex-direction: column; gap: 6px; }
.jfb-service-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; margin-bottom: 10px; }
.jfb-service h3 { margin: 0; }
.jfb-service p { margin: 0 0 8px; color: var(--muted); }
.jfb-service a { margin-top: auto; font-weight: 700; }

.jfb-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 40px 44px; border-radius: var(--r-lg); color: #fff; background: linear-gradient(110deg, var(--navy) 0%, var(--navy-2) 45%, var(--blue) 100%); }
.jfb-banner h2 { margin: 0 0 8px; max-width: 30ch; }
.jfb-banner p { margin: 0; color: #D3E1F7; }

/* Cartes produits (accueil et recherche) */
.jfb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.jfb-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; min-width: 0; }
.jfb-card:hover { border-color: #B8CBE6; box-shadow: var(--shadow); }
.jfb-card-img { display: block; aspect-ratio: 1 / 1; background: #fff; padding: 14px; border-bottom: 1px solid var(--line); }
.jfb-card-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.jfb-card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.jfb-card-cat { font-size: 13px; color: var(--muted); font-weight: 600; }
.jfb-card h3 { font-size: 17px; margin: 0; overflow-wrap: anywhere; }
.jfb-card h3 a { color: var(--ink); }
.jfb-card-foot { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.jfb-card-price { font-size: 21px; font-weight: 800; color: var(--navy); }
.jfb-card-price del { font-size: 14px; color: var(--muted); font-weight: 500; }
.jfb-card-price ins { text-decoration: none; }

.jfb-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.jfb-badge.ok { background: var(--ok-bg); color: var(--ok); }
.jfb-badge.low { background: var(--warn-bg); color: var(--warn); }
.jfb-badge.out { background: #EEF1F5; color: var(--muted); }

/* Pourquoi JFB */
.jfb-why { background: var(--soft); }
.jfb-why-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.jfb-why-grid:has(.jfb-why-photos) { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.jfb-why-text p { color: var(--muted); font-size: 17px; max-width: 54ch; }
.jfb-facts { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 640px; }
.jfb-facts li { background: #fff; border-radius: var(--r-md); padding: 18px; display: flex; flex-direction: column; }
.jfb-facts strong { font-size: 28px; font-weight: 800; color: var(--blue); line-height: 1.1; }
.jfb-facts span { font-size: 14px; color: var(--muted); }
.jfb-why-photos { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jfb-why-photos img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; border-radius: var(--r-md); }
.jfb-why-photos.n3 img:first-child { grid-row: span 2; }
.jfb-why-photos.n1 { grid-template-columns: 1fr; }

/* Avis */
.jfb-rating { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.jfb-rating .jfb-ico { color: #F5A524; }
.jfb-review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.jfb-review { margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); display: flex; flex-direction: column; gap: 12px; }
.jfb-stars { color: #F5A524; display: flex; gap: 2px; }
.jfb-review blockquote { margin: 0; font-size: 16px; color: var(--ink); }
.jfb-review figcaption { margin-top: auto; font-weight: 700; color: var(--muted); font-size: 14px; }
.jfb-reviews .jfb-center { margin-top: 28px; }

/* Bandeau de confiance + pied de page */
.jfb-trust { border-top: 1px solid var(--line); background: #fff; }
.jfb-trust .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding-top: 26px; padding-bottom: 26px; }
.jfb-trust-item { display: flex; align-items: center; gap: 14px; color: var(--blue); }
.jfb-trust-item span { display: flex; flex-direction: column; color: var(--ink); }
.jfb-trust-item small { color: var(--muted); font-size: 13px; }
.jfb-footer { background: var(--navy); color: #C6D4EA; font-size: 15px; }
.jfb-footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; padding-top: 52px; padding-bottom: 36px; }
.jfb-footer p { margin: 0 0 10px; }
.jfb-footer a { display: flex; align-items: center; gap: 8px; color: #fff; padding: 5px 0; }
.jfb-footer a:hover { color: var(--sky); }
.jfb-footer-brand { font-size: 20px; font-weight: 800; color: #fff; }
.jfb-footer-title { font-weight: 800; color: #fff; }
.jfb-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.jfb-bottombar { display: none; }

/* Pages internes */
.jfb-content { padding-top: 32px; padding-bottom: 64px; min-height: 50vh; }
.jfb-page-hero { background: var(--soft); padding: 48px 0 40px; }
.jfb-page-hero p { margin: 0; max-width: 60ch; font-size: 18px; color: var(--muted); }
.jfb-empty { background: var(--soft); border-radius: var(--r-md); padding: 32px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.jfb-empty p { margin: 0; font-size: 17px; }
.jfb-admin-note { font-size: 14px !important; color: var(--warn); }
.jfb-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.jfb-crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.jfb-crumbs .sep { color: #A3B1C6; }

/* Puces */
.jfb-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 24px; }
.jfb-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 18px; border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; cursor: pointer; }
.jfb-chip small { color: var(--muted); font-weight: 600; }
.jfb-chip:hover { border-color: var(--blue); color: var(--ink); }
.jfb-chip.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.jfb-chip .jfb-ico { color: var(--blue); }
.jfb-chip.is-on .jfb-ico { color: #fff; }

/* Boutique : barre latérale + grille */
.jfb-shop-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; align-items: start; }
.jfb-sidebar { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow: auto; background: var(--soft); border-radius: var(--r-md); padding: 8px 16px 16px; }
.jfb-sidebar-toggle > summary { list-style: none; font-weight: 800; font-size: 18px; padding: 12px 0; cursor: default; }
.jfb-sidebar-toggle > summary::-webkit-details-marker { display: none; }
.jfb-tree { list-style: none; margin: 0; padding: 0; }
.jfb-tree .jfb-tree { padding-left: 12px; margin: 2px 0 6px; border-left: 2px solid #D3E0F2; }
.jfb-tree li { margin: 0; }
.jfb-tree summary { cursor: pointer; padding: 8px 6px; font-weight: 700; border-radius: 8px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.jfb-tree summary::-webkit-details-marker { display: none; }
.jfb-tree summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s; margin-right: 4px; }
.jfb-tree details[open] > summary::after { transform: rotate(45deg); }
.jfb-tree summary:hover { background: #fff; }
.jfb-tree a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 6px; color: var(--ink); border-radius: 8px; font-size: 15px; }
.jfb-tree a small { color: var(--muted); }
.jfb-tree a:hover { background: #fff; color: var(--blue); }
.jfb-tree a[aria-current="page"] { background: var(--blue); color: #fff; }
.jfb-tree a[aria-current="page"] small { color: #DCE9FF; }
.jfb-tree-all { font-size: 14px !important; color: var(--blue) !important; font-weight: 600; }
.jfb-shop-main { min-width: 0; }

/* WooCommerce : listes */
.woocommerce .woocommerce-products-header__title, .woocommerce-products-header h1 { margin-bottom: 8px; }
.woocommerce .woocommerce-result-count { color: var(--muted); margin: 8px 0 18px; }
.woocommerce .woocommerce-ordering select { height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin: 0 0 32px !important; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; padding: 0 0 16px !important; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.woocommerce ul.products li.product:hover { border-color: #B8CBE6; box-shadow: var(--shadow); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; color: var(--ink); }
.woocommerce ul.products li.product a img { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: contain; margin: 0 0 12px !important; padding: 14px; background: #fff; border-bottom: 1px solid var(--line); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 17px !important; font-weight: 700; padding: 0 16px !important; margin: 0 0 6px !important; overflow-wrap: anywhere; }
.woocommerce ul.products li.product .price { padding: 0 16px; margin: 0 0 6px !important; font-size: 21px !important; font-weight: 800; color: var(--navy) !important; }
.woocommerce ul.products li.product .jfb-badge { margin: 0 16px 10px; align-self: flex-start; }
.woocommerce ul.products li.product .button { margin: auto 16px 0 !important; }
.woocommerce ul.products li.product .onsale, .woocommerce span.onsale { min-width: 0; min-height: 0; padding: 4px 10px; line-height: 1.4; border-radius: 999px; background: var(--blue); font-size: 13px; top: 10px; left: 10px; right: auto; margin: 0; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--line); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* WooCommerce : fiche produit */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none !important; width: auto !important; margin: 0 !important; min-width: 0; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img { width: 100%; max-height: 520px; object-fit: contain; background: #fff; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 10px !important; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; float: none !important; }
.woocommerce div.product div.images .flex-control-thumbs img { aspect-ratio: 1 / 1; object-fit: contain; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.woocommerce div.product .product_title { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 18px; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--muted); }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 !important; }
.woocommerce div.product form.cart .quantity .qty { height: 52px; width: 76px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1 1 220px; min-height: 52px; font-size: 17px; }
.woocommerce div.product p.stock { font-weight: 700; }
.woocommerce div.product p.stock.in-stock { color: var(--ok); }
.summary[data-jfb-current="rachat"] form.cart, .summary[data-jfb-current="rachat"] > .stock,
.summary[data-jfb-current="reparation"] form.cart, .summary[data-jfb-current="reparation"] > .stock { display: none !important; }

.jfb-modes { margin: 0 0 8px; }
.jfb-modes-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 6px; background: var(--soft); border-radius: var(--r-md); margin-bottom: 18px; }
.jfb-modes-tabs button { min-height: 50px; padding: 8px; border: 0; border-radius: var(--r-sm); background: transparent; font-weight: 700; font-size: 15px; color: var(--ink); cursor: pointer; }
.jfb-modes-tabs button:hover { background: #fff; }
.jfb-modes-tabs button[aria-selected="true"] { background: var(--blue); color: #fff; }
.jfb-mode-panel[hidden] { display: none !important; }
.jfb-big-price { font-size: 40px !important; font-weight: 800; color: var(--navy) !important; margin: 0 0 4px; }
.jfb-mode-intro { color: var(--muted); margin: 0 0 14px; }
.jfb-mode-empty { background: var(--soft); padding: 16px; border-radius: var(--r-sm); margin: 0 0 14px; }
.jfb-price-list { list-style: none; margin: 0 0 16px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.jfb-price-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); }
.jfb-price-list li:first-child { border-top: 0; }
.jfb-price-list span { display: flex; flex-direction: column; font-weight: 600; }
.jfb-price-list small { font-weight: 500; color: var(--muted); font-size: 14px; }
.jfb-price-list strong { font-size: 19px; color: var(--blue); white-space: nowrap; }
.jfb-mini-trust { list-style: none; margin: 18px 0 8px; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 600; }
.jfb-mini-trust li { display: inline-flex; align-items: center; gap: 8px; }
.jfb-mini-trust .jfb-ico { color: var(--blue); }
.jfb-grades-link { font-size: 14px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0; background: none; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 16px; font-weight: 700; color: var(--muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--blue); box-shadow: inset 0 -3px 0 var(--blue); }

/* Page des prix */
.jfb-price-tools { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.jfb-type-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.jfb-price-search { position: relative; display: flex; align-items: center; max-width: 560px; color: var(--muted); }
.jfb-price-search .jfb-ico { position: absolute; left: 16px; }
.jfb-price-search input { width: 100%; height: 54px; padding: 0 16px 0 48px; border: 2px solid var(--line); border-radius: var(--r-sm); font-size: 17px; color: var(--ink); }
.jfb-price-search input:focus { outline: none; border-color: var(--blue); }
.jfb-price-table { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.jfb-pt-head, .jfb-pt-row { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr .8fr; gap: 12px; padding: 14px 20px; align-items: center; }
.jfb-pt-head { background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; }
.jfb-pt-row { border-top: 1px solid var(--line); }
.jfb-pt-row:nth-child(odd) { background: #FAFCFF; }
.jfb-pt-row[hidden] { display: none; }
.jfb-pt-device { font-weight: 700; }
.jfb-pt-delay { color: var(--muted); font-size: 15px; }
.jfb-pt-price { font-weight: 800; color: var(--blue); font-size: 18px; text-align: right; }
.jfb-pt-none { margin: 0; padding: 20px; }

/* Mode comptoir (télé) */
.jfb-tvbar { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 40; }
.jfb-tvbar .wrap { display: flex; align-items: center; gap: 18px; padding-top: 12px; padding-bottom: 12px; }
.jfb-tvbar a { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.jfb-tvbar-back { padding: 10px 16px; background: rgba(255,255,255,.12); border-radius: var(--r-sm); font-size: 18px; }
.jfb-tvbar .jfb-search input[type="search"] { border-right: 2px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); }
.jfb-tvbar-exit { margin-left: auto; font-size: 13px !important; font-weight: 500 !important; opacity: .7; }
.jfb-counter { background: var(--soft); min-height: calc(100vh - 76px); padding: 40px 0 60px; }
.jfb-counter-head { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; margin-bottom: 26px; }
.jfb-counter-head h1 { font-size: clamp(34px, 4vw, 52px); margin: 0; }
.jfb-search-xl { width: 100%; max-width: 820px; }
.jfb-search-xl input[type="search"] { height: 68px; font-size: 22px; padding-left: 58px; background: #fff; }
.jfb-search-xl button { height: 68px; font-size: 19px; padding: 0 30px; }
.jfb-counter-crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; min-height: 10px; margin-bottom: 22px; }
.jfb-counter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.jfb-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 220px; padding: 24px; text-align: center; background: #fff; border: 2px solid transparent; border-radius: var(--r-lg); box-shadow: var(--shadow); color: var(--ink); }
.jfb-tile .jfb-ico { color: var(--blue); }
.jfb-tile strong { font-size: 24px; }
.jfb-tile small { font-size: 16px; color: var(--muted); }
.jfb-tile:hover, .jfb-tile:focus-visible { border-color: var(--blue); color: var(--ink); }
.jfb-tile-alt { background: var(--navy); color: #fff; }
.jfb-tile-alt .jfb-ico, .jfb-tile-alt small { color: #BFD6FF; }
.jfb-tile-alt:hover { color: #fff; }

body.jfb-tv { font-size: 18px; }
body.jfb-tv .jfb-sidebar { display: none; }
body.jfb-tv .jfb-shop-layout { grid-template-columns: minmax(0, 1fr); }
body.jfb-tv .jfb-chip { min-height: 56px; font-size: 19px; padding: 10px 24px; }
body.jfb-tv .woocommerce ul.products { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
body.jfb-tv .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 21px !important; }
body.jfb-tv .woocommerce ul.products li.product .price { font-size: 26px !important; }
body.jfb-tv .jfb-crumbs { font-size: 17px; }

/* Tablette */
@media (max-width: 1080px) {
	.jfb-topbar-right span:nth-child(2) { display: none; }
	.jfb-head-actions .jfb-icon-link span:not(.jfb-cart-count) { display: none; }
	.jfb-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jfb-why-grid:has(.jfb-why-photos) { grid-template-columns: minmax(0, 1fr); }
}

/* Mobile */
@media (max-width: 860px) {
	body { padding-bottom: 72px; }
	body.jfb-tv { padding-bottom: 0; }
	.jfb-topbar .wrap > span:first-child, .jfb-topbar-right span { display: none; }
	.jfb-topbar .wrap { justify-content: center; }
	.jfb-head .wrap { flex-wrap: wrap; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
	.jfb-burger { display: inline-flex; }
	.jfb-search { order: 3; flex-basis: 100%; max-width: none; }
	.jfb-search button { padding: 0 16px; }
	.jfb-nav { display: none; }
	.jfb-nav.is-open { display: block; }
	.jfb-nav .wrap { flex-direction: column; align-items: stretch; padding-bottom: 14px; }
	.jfb-menu { flex-direction: column; }
	.jfb-menu a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
	.jfb-menu .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 14px; }
	.jfb-counter-btn { display: none; }
	.jfb-hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 40px; padding-bottom: 96px; gap: 24px; }
	.jfb-hero-visual { order: -1; }
	.jfb-hero-visual img, .jfb-hero-visual svg { max-height: 220px; }
	.jfb-hero-lead { font-size: 17px; }
	.jfb-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jfb-section { padding: 44px 0; }
	.jfb-banner { padding: 28px 24px; }
	.jfb-grid, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
	.jfb-card-price, .woocommerce ul.products li.product .price { font-size: 18px !important; }
	.jfb-card h3, .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px !important; }
	.jfb-facts { grid-template-columns: minmax(0, 1fr); }
	.jfb-shop-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.jfb-sidebar { position: static; max-height: none; }
	.jfb-sidebar-toggle:not([open]) > summary::after { content: " (afficher)"; font-weight: 600; font-size: 14px; color: var(--blue); }
	.jfb-sidebar-toggle > summary { cursor: pointer; }
	.woocommerce div.product { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.jfb-big-price { font-size: 32px !important; }
	.jfb-pt-head { display: none; }
	.jfb-pt-row { grid-template-columns: 1fr auto; gap: 2px 12px; }
	.jfb-pt-device { grid-column: 1 / -1; }
	.jfb-pt-price { grid-row: 2 / span 2; grid-column: 2; align-self: center; }
	.jfb-footer-grid { grid-template-columns: minmax(0, 1fr); }
	.jfb-bottombar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
	.jfb-bottombar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; font-size: 12px; font-weight: 600; color: var(--ink); }
	.jfb-bottombar .jfb-ico { color: var(--blue); }
	.jfb-tvbar .wrap { flex-wrap: wrap; }
	.jfb-tvbar .jfb-search { order: 3; flex-basis: 100%; }
}

@media (max-width: 420px) {
	.wrap { padding: 0 16px; }
	.jfb-brand-text small { display: none; }
	.jfb-modes-tabs button { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}


/* ===== v1.3 : en-tête façon « magasin de pièces », carrousel, raccourcis ===== */

/* Recherche en pilule avec bouton rond */
.jfb-search-pill input[type="search"] { height: 54px; padding: 0 64px 0 22px; border: 2px solid var(--line); border-radius: 999px; background: #fff; }
.jfb-search-pill input[type="search"]:focus { border-color: var(--blue); }
.jfb-search-pill button { position: absolute; right: 5px; top: 5px; width: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center; }

/* Compte + panier en pilules */
.jfb-pill-link { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px; border: 2px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 700; font-size: 15px; }
.jfb-pill-link:hover { border-color: var(--blue); color: var(--ink); }
.jfb-cart-pill { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--blue); color: #fff; }
.jfb-cart-pill:hover { background: var(--blue-d); color: #fff; }
.jfb-cart-lines { display: flex; flex-direction: column; line-height: 1.1; font-size: 13px; font-weight: 600; }
.jfb-cart-pill .jfb-cart-count { min-width: 0; height: auto; padding: 0; background: none; font-size: 13px; display: inline; }
.jfb-cart-total { font-size: 15px; font-weight: 800; }
.jfb-cart-total .woocommerce-Price-amount { color: #fff; }

/* Barre des marques */
.jfb-nav { border: 0; padding-bottom: 12px; }
.jfb-navbar { display: flex; align-items: center; gap: 8px; padding: 6px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; }
.jfb-brands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.jfb-brand-item { position: relative; }
.jfb-brand-link { display: block; padding: 11px 18px; border-radius: 999px; color: var(--ink); font-weight: 700; font-size: 15px; }
.jfb-brand-item:hover > .jfb-brand-link, .jfb-brand-item:focus-within > .jfb-brand-link { background: #fff; color: var(--blue); box-shadow: 0 1px 4px rgba(7,27,58,.08); }
.jfb-mega { display: none; position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; }
.jfb-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.jfb-brand-item:hover > .jfb-mega, .jfb-brand-item:focus-within > .jfb-mega { display: block; }
.jfb-mega-inner { display: flex; gap: 28px; padding: 20px 22px; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); }
.jfb-mega-col { display: flex; flex-direction: column; min-width: 170px; }
.jfb-mega-title { margin: 0 0 6px; font-size: 13px; font-weight: 800; color: var(--muted); }
.jfb-mega a { display: flex; justify-content: space-between; gap: 14px; padding: 8px 10px; margin: 0 -10px; border-radius: 8px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.jfb-mega a small { color: var(--muted); font-weight: 500; }
.jfb-mega a:hover { background: var(--soft); color: var(--blue); }
.jfb-navbar .jfb-menu { margin-left: auto; padding-left: 10px; border-left: 1px solid var(--line); }
.jfb-navbar .jfb-menu a { padding: 11px 14px; border-radius: 999px; font-size: 14px; color: var(--navy); }
.jfb-navbar .jfb-menu a:hover { background: #fff; }
.jfb-navbar .jfb-menu li:first-child > a { background: var(--navy); color: #fff; }
.jfb-navbar .jfb-menu li:first-child > a:hover { background: var(--navy-2); }

/* Carrousel */
.jfb-carousel { padding: 0; background: var(--navy); }
.jfb-slides { display: flex; transition: transform .6s cubic-bezier(.22, .61, .36, 1); will-change: transform; }
.jfb-slide { flex: 0 0 100%; min-width: 0; background: radial-gradient(120% 140% at 85% 30%, #0F62D6 0%, #0A3F8F 35%, var(--navy) 75%); }
.jfb-slide-repair { background: radial-gradient(120% 140% at 85% 30%, #1A7BEA 0%, #0B4C9E 38%, #06183A 78%); }
.jfb-slide-buyback { background: radial-gradient(120% 140% at 85% 30%, #1593C9 0%, #0B4A8A 38%, #061A38 78%); }
.jfb-slide .jfb-hero-grid { min-height: 470px; }
.jfb-slide-title { font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; color: #fff; max-width: 14ch; margin: 0 0 20px; }
.jfb-carousel-ui { position: absolute; bottom: 84px; right: max(24px, calc((100% - 1320px) / 2 + 24px)); display: flex; align-items: center; gap: 8px; z-index: 3; }
.jfb-car-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; cursor: pointer; }
.jfb-car-btn:hover { background: rgba(255,255,255,.22); }
.jfb-car-btn .jfb-play { display: none; }
.jfb-car-btn.is-paused .jfb-p1, .jfb-car-btn.is-paused .jfb-p2 { display: none; }
.jfb-car-btn.is-paused .jfb-play { display: inline; }
.jfb-dots { display: flex; gap: 4px; padding: 0 6px; }
.jfb-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.jfb-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.45); transition: width .2s, background .2s; }
.jfb-dots button[aria-current="true"]::before { width: 26px; background: #fff; }
.jfb-dots button[aria-current="true"] { width: 34px; }

/* Bouton d’ajout sur les cartes */
.jfb-card-add { margin: 12px 16px 16px; min-height: 46px; font-size: 14px; }
.jfb-card-body + .jfb-card-add { margin-top: 0; }
.jfb-card-add.added::after { content: " ✓"; }
.jfb-card .added_to_cart { display: block; margin: -8px 16px 14px; font-size: 14px; font-weight: 700; text-align: center; }

/* Paiements en boutique */
.jfb-pay-title { margin-top: 18px !important; }
.jfb-pay { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jfb-pay li { padding: 5px 12px; border-radius: 8px; background: rgba(255,255,255,.1); color: #fff; font-size: 13px; font-weight: 700; }

/* Bouton texto flottant + retour en haut */
.jfb-float-sms { position: fixed; right: 22px; bottom: 22px; z-index: 45; display: inline-flex; align-items: center; gap: 8px; height: 58px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 800; box-shadow: 0 10px 24px rgba(10, 102, 224, .35); }
.jfb-float-sms:hover { background: var(--blue-d); color: #fff; }
.jfb-totop { position: fixed; right: 30px; bottom: 96px; z-index: 45; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.jfb-totop[hidden] { display: none; }

@media (max-width: 1180px) {
	.jfb-pill-link span { display: none; }
	.jfb-pill-link { padding: 0 14px; }
	.jfb-brand-link { padding: 11px 13px; }
}

@media (max-width: 860px) {
	.jfb-cart-lines { display: none; }
	.jfb-cart-pill { padding: 0 14px; }
	.jfb-cart-pill .jfb-ico { margin-right: 0; }
	.jfb-pill-link { display: none; }
	.jfb-nav { padding-bottom: 0; border-bottom: 1px solid var(--line); }
	.jfb-navbar { flex-direction: column; align-items: stretch; gap: 0; padding: 0; border: 0; border-radius: 0; background: none; }
	.jfb-brands { flex-direction: column; }
	.jfb-brand-link { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; }
	.jfb-brand-item:hover > .jfb-brand-link, .jfb-brand-item:focus-within > .jfb-brand-link { background: none; box-shadow: none; }
	.jfb-mega, .jfb-brand-item:hover > .jfb-mega, .jfb-brand-item:focus-within > .jfb-mega { display: none; }
	.jfb-navbar .jfb-menu { margin: 0; padding: 0; border: 0; }
	.jfb-navbar .jfb-menu a { border-radius: 0; padding: 14px 4px; font-size: 17px; }
	.jfb-navbar .jfb-menu li:first-child > a { background: none; color: var(--blue); }
	.jfb-slide .jfb-hero-grid { min-height: 0; padding-bottom: 130px; }
	.jfb-carousel-ui { bottom: 80px; right: auto; left: 50%; transform: translateX(-50%); }
	.jfb-car-btn[data-jfb-prev], .jfb-car-btn[data-jfb-next] { display: none; }
	.jfb-float-sms { display: none; }
	.jfb-totop { bottom: 86px; right: 16px; }
}

/* v1.5 : images de catégories et fonds photo */
.jfb-cat-ico.has-img { background: #fff; padding: 6px; }
.jfb-cat-ico.has-img img { width: 100%; height: 100%; object-fit: contain; }
.jfb-tile-img { width: 110px; height: 110px; object-fit: contain; }
.jfb-banner[style] { min-height: 220px; }

/* v1.6 : versions, conseils, articles */
.jfb-versions { border: 0; margin: 4px 0 8px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.jfb-versions legend { font-weight: 800; margin-bottom: 8px; }
.jfb-version { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--r-md); cursor: pointer; background: #fff; }
.jfb-version:hover { border-color: #B8CBE6; }
.jfb-version.is-on { border-color: var(--blue); background: #F4F8FF; }
.jfb-version input { width: 20px; height: 20px; accent-color: var(--blue); flex-shrink: 0; }
.jfb-version-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.jfb-version-text small { color: var(--muted); font-size: 14px; }
.jfb-version b { font-size: 18px; color: var(--navy); white-space: nowrap; }
.jfb-tips { background: #fff; }
.jfb-tip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.jfb-tip { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); background: #fff; }
.jfb-tip:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--ink); }
.jfb-tip-ico { width: 44px; height: 44px; border-radius: 12px; background: #FFF4D6; color: #9A6700; display: grid; place-items: center; }
.jfb-tip strong { font-size: 18px; line-height: 1.3; }
.jfb-tip span:not(.jfb-tip-ico) { color: var(--muted); font-size: 15px; }
.jfb-tip em { font-style: normal; font-weight: 700; color: var(--blue); margin-top: auto; }
.jfb-article { max-width: 820px; }
.jfb-prose { font-size: 17px; line-height: 1.7; }
.jfb-prose h2 { font-size: 24px; margin-top: 1.6em; }
.jfb-prose li { margin-bottom: 6px; }
.jfb-article-img img { border-radius: var(--r-md); margin: 8px 0 20px; }
.jfb-article-cta { margin-top: 36px; padding: 24px; border-radius: var(--r-md); background: var(--soft); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.jfb-page .entry-content, .jfb-page > h2, .jfb-page p, .jfb-page li { max-width: 860px; }
.jfb-page h2 { margin-top: 1.4em; font-size: 24px; }
.jfb-page p, .jfb-page li { font-size: 17px; line-height: 1.7; }

/* v1.6.3 : cellulaire */
.jfb-brand-scroll { display: none; }
.jfb-chip-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.jfb-chip-dark:hover { color: #fff; }
@media (max-width: 860px) {
	.jfb-brand-scroll { display: block; background: #fff; border-bottom: 1px solid var(--line); }
	.jfb-brand-scroll-inner { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
	.jfb-brand-scroll-inner::-webkit-scrollbar { display: none; }
	.jfb-brand-scroll .jfb-chip { flex: 0 0 auto; min-height: 42px; padding: 8px 16px; font-size: 15px; scroll-snap-align: start; }
	.jfb-hero h1, .jfb-slide-title { font-size: clamp(30px, 8.5vw, 40px); }
	.jfb-hero-kicker { font-size: 13px; margin-bottom: 12px; }
	.jfb-hero-cta .jfb-btn { width: 100%; }
	.jfb-hero-points { gap: 8px 16px; font-size: 13px; }
	.jfb-cats { gap: 8px; padding: 8px; }
	.jfb-cat { padding: 14px 6px; }
	.jfb-cat-ico { width: 54px; height: 54px; }
	.jfb-cat small { display: none; }
	.jfb-section-head { margin-bottom: 18px; }
	.jfb-banner h2 { font-size: 22px; }
	.jfb-banner .jfb-btn { width: 100%; }
	.jfb-card-body { padding: 12px 12px 14px; }
	.jfb-card-img { padding: 8px; }
	.jfb-card-add { margin: 0 12px 12px; min-height: 42px; font-size: 13px; padding: 8px; }
	.jfb-card-add .jfb-ico { display: none; }
	.woocommerce ul.products li.product a img { padding: 8px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .price { padding: 0 12px !important; }
	.woocommerce ul.products li.product .jfb-badge { margin: 0 12px 8px; }
	.woocommerce ul.products li.product .button { margin: auto 12px 0 !important; font-size: 13px; min-height: 42px; padding: 8px; }
	.jfb-chips { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scrollbar-width: none; }
	.jfb-chips::-webkit-scrollbar { display: none; }
	.jfb-chips .jfb-chip { flex: 0 0 auto; }
	.woocommerce div.product .product_title { font-size: 26px; }
	.woocommerce div.product div.images .woocommerce-product-gallery__image img { max-height: 380px; }
	.jfb-version { padding: 12px; gap: 10px; }
	.jfb-version b { font-size: 16px; }
	.jfb-price-list li { padding: 12px 14px; }
	.jfb-review { padding: 18px; }
	.jfb-tip { padding: 18px; }
	.jfb-trust .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.jfb-trust-item { flex-direction: column; align-items: flex-start; gap: 6px; }
	.jfb-content { padding-top: 20px; }
}

/* v1.7 : nous joindre, listes de prix par modèle, rachat */
.jfb-contact-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.jfb-contact-btns .jfb-btn { flex: 1 1 200px; }
.jfb-question { background: #EEF4FF; border-top: 1px solid #D6E3FA; }
.jfb-question .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 22px; padding-bottom: 22px; }
.jfb-question .wrap > div:first-child, .jfb-ask > div:first-child { display: flex; flex-direction: column; }
.jfb-question strong, .jfb-ask strong { font-size: 19px; }
.jfb-question span, .jfb-ask span { color: var(--muted); }
.jfb-question .jfb-contact-btns { flex: 0 1 460px; }
.jfb-ask { margin-top: 32px; padding: 24px; border-radius: var(--r-md); background: var(--soft); display: flex; flex-direction: column; gap: 14px; }
.jfb-promise { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.jfb-promise li { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); }
.jfb-promise .jfb-ico { color: var(--blue); margin-top: 2px; }
.jfb-model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.jfb-model-card { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.jfb-model-card[hidden] { display: none; }
.jfb-model-card header { padding: 14px 16px 10px; background: var(--soft); }
.jfb-model-card header span { font-size: 13px; color: var(--muted); font-weight: 700; }
.jfb-model-card h2 { font-size: 18px; margin: 0; }
.jfb-model-card ul { list-style: none; margin: 0; padding: 4px 16px 10px; }
.jfb-model-card li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.jfb-model-card li:last-child { border-bottom: 0; }
.jfb-model-card li strong { color: var(--blue); white-space: nowrap; }
.jfb-deductions { background: #FFF8E6; border: 1px solid #F3E2B3; border-radius: var(--r-md); padding: 14px 16px; margin: 0 0 14px; font-size: 15px; }
.jfb-deductions ul { margin: 6px 0 0; padding-left: 18px; }
.jfb-deductions-wide { margin-bottom: 24px; }
.jfb-deductions-wide p { margin: 6px 0; }
@media (max-width: 860px) {
	.jfb-question .jfb-contact-btns { flex-basis: 100%; }
	.jfb-model-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ===== v1.8 : en-tête refait + look « punché » ===== */
:root { --display: "Montserrat", "Plus Jakarta Sans", system-ui, sans-serif; }

/* Barre du haut */
.jfb-topbar .wrap { align-items: center; }
.jfb-topbar-left { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.jfb-topbar-left span { display: inline-flex; align-items: center; gap: 6px; }
.jfb-topbar-right { align-items: center; }
.jfb-toplink { color: #D6E2F5 !important; font-weight: 600 !important; }
.jfb-toplink:hover { color: #fff !important; }
.jfb-topsms { background: var(--blue); padding: 4px 12px; border-radius: 999px; }

/* Logo + nom */
.jfb-head .wrap { gap: 28px; padding-top: 16px; padding-bottom: 16px; }
.jfb-logo { max-height: 72px; max-width: 90px; }
.jfb-wordmark { display: flex; flex-direction: column; line-height: 1; }
.jfb-wordmark strong { font-family: var(--display); font-weight: 900; font-size: 26px; text-transform: uppercase; letter-spacing: -0.01em; color: var(--navy); }
.jfb-wordmark em { font-style: normal; color: var(--blue); }
.jfb-wordmark small { margin-top: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.jfb-search-pill { flex: 1 1 480px; max-width: 640px; margin: 0 auto; }
.jfb-head-actions { margin-left: 0; }

/* Barre de navigation bleue pleine largeur */
.jfb-nav { background: linear-gradient(90deg, var(--navy) 0%, #0B3C86 55%, var(--blue) 100%); border: 0; padding: 0; }
.jfb-navbar { display: flex; align-items: center; gap: 12px; min-height: 58px; background: none; border: 0; border-radius: 0; padding-top: 0; padding-bottom: 0; }
.jfb-brands { flex-wrap: nowrap; }
.jfb-brand-link { color: #fff; font-weight: 700; font-size: 15px; padding: 18px 14px; border-radius: 0; }
.jfb-brand-item:hover > .jfb-brand-link, .jfb-brand-item:focus-within > .jfb-brand-link { background: rgba(255,255,255,.12); color: #fff; box-shadow: none; }
.jfb-mega { top: 100%; }
.jfb-nav-cta { margin-left: auto; display: flex; gap: 8px; flex-shrink: 0; }
.jfb-cta { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 800; font-size: 14px; white-space: nowrap; }
.jfb-cta:hover { background: #E3EEFF; color: var(--navy); }
.jfb-cta .jfb-ico { color: var(--blue); }
.jfb-cta-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.jfb-cta-ghost .jfb-ico { color: #fff; }
.jfb-cta-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.jfb-nav-extra { display: none; }

/* Carrousel punché */
.jfb-slide { position: relative; }
.jfb-slide::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.09) 1px, transparent 0); background-size: 22px 22px; mask-image: linear-gradient(90deg, #000 0%, transparent 70%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%); }
.jfb-slide .jfb-hero-grid { position: relative; z-index: 1; }
.jfb-hero-kicker { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.08); }
.jfb-hero h1.jfb-punch, .jfb-punch { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 4.4vw, 62px); line-height: 1.04; letter-spacing: -0.01em; color: #fff; max-width: 17ch; margin: 0 0 22px; }
.jfb-ribbon { display: inline-block; margin-top: 0.12em; padding: 0.04em 0.28em 0.08em; background: linear-gradient(90deg, #2E8BFF, var(--blue)); border-radius: 8px; transform: skewX(-7deg); box-shadow: 0 14px 34px rgba(10, 102, 224, .5); }
.jfb-hero-lead { font-weight: 700; color: #D6E4FF; }
.jfb-btn-punch { background: #fff; color: var(--navy); border-color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.jfb-btn-punch:hover { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.jfb-slide-full { display: flex; align-items: flex-start; justify-content: center; padding-bottom: 72px; background: var(--navy); }
.jfb-slide-full-link { display: block; width: 100%; max-width: 1320px; }
.jfb-slide-full img { display: block; width: 100%; height: auto; max-height: 600px; object-fit: contain; }

/* Bandeau des atouts (comme ton affiche) */
.jfb-features { padding: 34px 0 6px; }
.jfb-features .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.jfb-feature { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 8px; border-right: 1px solid var(--line); }
.jfb-feature:last-child { border-right: 0; }
.jfb-feature-ico { width: 66px; height: 66px; border-radius: 50%; background: linear-gradient(145deg, #0B3C86, var(--navy)); color: #fff; display: grid; place-items: center; margin-bottom: 8px; box-shadow: 0 8px 20px rgba(7,27,58,.25); }
.jfb-feature strong { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 15px; color: var(--navy); }
.jfb-feature span { font-size: 14px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }

/* Titres de sections plus forts */
.jfb-section-head h2, .jfb-why h2, .jfb-page-hero h1, .jfb-banner h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -0.005em; }
.jfb-section-head h2 { font-size: clamp(24px, 2.6vw, 34px); }

@media (max-width: 1240px) {
	.jfb-brand-link { padding: 18px 10px; font-size: 14px; }
	.jfb-cta { padding: 0 12px; font-size: 13px; }
}
@media (max-width: 1080px) {
	.jfb-cta-ghost { display: none; }
	.jfb-hide-md { display: none !important; }
	.jfb-wordmark strong { font-size: 21px; }
}
@media (max-width: 860px) {
	.jfb-toplink { display: none !important; }
	.jfb-topbar-left { display: none; }
	.jfb-topbar-right span, .jfb-topbar-right a.jfb-topsms { display: inline-flex !important; }
	.jfb-head .wrap { gap: 10px; }
	.jfb-logo { max-height: 48px; max-width: 60px; }
	.jfb-wordmark strong { font-size: 17px; }
	.jfb-wordmark small { display: none; }
	.jfb-search-pill { flex-basis: 100%; margin: 0; }
	.jfb-head-actions { margin-left: auto; }
	.jfb-nav { background: #fff; }
	.jfb-navbar { flex-direction: column; align-items: stretch; min-height: 0; gap: 0; padding-bottom: 16px; }
	.jfb-brand-link { color: var(--ink); padding: 14px 4px; }
	.jfb-brand-item:hover > .jfb-brand-link { background: none; color: var(--blue); }
	.jfb-nav-cta { margin: 14px 0 6px; flex-direction: column; }
	.jfb-cta { justify-content: center; height: 48px; font-size: 15px; background: var(--blue); color: #fff; }
	.jfb-cta .jfb-ico { color: #fff; }
	.jfb-cta-ghost { display: inline-flex; background: #fff; color: var(--navy); border-color: var(--line); }
	.jfb-cta-ghost .jfb-ico { color: var(--blue); }
	.jfb-nav-extra { display: flex; flex-direction: column; }
	.jfb-nav-extra a { padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
	.jfb-hero h1.jfb-punch, .jfb-punch { font-size: clamp(28px, 8vw, 38px); }
	.jfb-hero-lead { font-size: 15px; }
	.jfb-slide-full { padding-bottom: 96px; }
	.jfb-features .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jfb-feature { border-right: 0; }
	.jfb-feature-ico { width: 54px; height: 54px; }
	.jfb-feature strong { font-size: 13px; }
	.jfb-feature span { font-size: 12px; }
}

/* JFB 1.9 — retouches visuelles non structurelles */
.jfb-carousel { background: #eef5ff; border-bottom: 1px solid #d7e4f5; }
.jfb-carousel .jfb-slide-full { background: linear-gradient(125deg,#e9f2ff,#fff 48%,#dceaff); padding: 0 0 62px; align-items: center; }
.jfb-carousel .jfb-slide-full::after { display:none; }
.jfb-slide-full-image { width: min(100%, 1440px); margin: 0 auto; display: block; box-shadow: 0 16px 38px rgba(7,27,58,.12); }
.jfb-carousel .jfb-slide-full-image img { display:block; width:100%; height:auto; max-height:none; object-fit:contain; }
.jfb-carousel .jfb-carousel-ui { bottom: 10px; right: 50%; transform: translateX(50%); background: #071b3ae8; padding: 6px 12px; border:1px solid #ffffff38; border-radius: 999px; box-shadow: 0 8px 24px #071b3a44; }
.jfb-carousel .jfb-car-btn { width: 34px; height:34px; }
.jfb-carousel .jfb-dots button { width:20px; height:25px; }
.jfb-carousel .jfb-dots button[aria-current="true"] { width:28px; }
.jfb-section-head h2, .jfb-why h2, .jfb-banner h2 { text-shadow: 0 2px 0 #dce8fa; }
.jfb-service, .jfb-cat, .jfb-product-card, .jfb-review { border-radius: 17px; box-shadow: 0 6px 20px rgba(7,27,58,.08); transition: transform .2s ease,box-shadow .2s ease; }
.jfb-service:hover, .jfb-cat:hover, .jfb-product-card:hover { transform: translateY(-3px); box-shadow:0 12px 28px rgba(7,27,58,.15); }
.jfb-service-ico, .jfb-feature-ico { box-shadow:0 6px 18px #0a66e044, inset 0 1px 0 #ffffff55; }
@media (max-width: 680px) {
 .jfb-carousel .jfb-slide-full { padding-bottom: 54px; }
 .jfb-carousel .jfb-slide-full-image { width:100%; }
 .jfb-carousel .jfb-slide-full-image img { width:100%; height:auto; }
 .jfb-carousel .jfb-carousel-ui { bottom:7px; padding:4px 8px; gap:4px; }
 .jfb-carousel .jfb-car-btn { width:30px; height:30px; }
 .jfb-carousel .jfb-dots { gap:0; padding:0 2px; }
 .jfb-carousel .jfb-dots button { width:17px; }
 .jfb-carousel .jfb-dots button[aria-current="true"] { width:24px; }
 .jfb-carousel .jfb-dots button::before { width:7px; height:7px; }
 .jfb-carousel .jfb-dots button[aria-current="true"]::before { width:18px; }
}
@media (prefers-reduced-motion: reduce) { .jfb-service, .jfb-cat, .jfb-product-card { transition:none; } }

/* JFB 2.0 — bannière réellement uniforme, sans modifier la structure du site */
.jfb-home .jfb-carousel { position:relative; overflow:hidden; background:#071b3a; }
.jfb-home .jfb-slides { align-items:stretch; }
.jfb-home .jfb-slide { height:clamp(205px, 30vw, 400px); min-height:0; overflow:hidden; }
.jfb-home .jfb-slide-full { padding:0 !important; display:flex; align-items:center; justify-content:center; }
.jfb-home .jfb-slide-full-image { width:100%; height:100%; max-width:none; margin:0; box-shadow:none; }
.jfb-home .jfb-slide-full-image img { display:block; width:100%; height:100%; max-height:100%; object-fit:contain; object-position:center; }
.jfb-home .jfb-carousel .jfb-carousel-ui { bottom:9px; z-index:5; }
/* Image de marque : lettres plus franches, contraste et relief discrets */
.jfb-head { background:linear-gradient(180deg,#fff 0%,#f2f7ff 100%); border-bottom:1px solid #d6e5fb; }
.jfb-brand .jfb-logo { filter:drop-shadow(0 3px 5px rgba(3,34,83,.18)); }
.jfb-brand .jfb-wordmark strong { font-weight:900; letter-spacing:-.035em; color:#071b3a; text-shadow:0 1px 0 #fff, 0 2px 2px #c7d9f3; }
.jfb-brand .jfb-wordmark em { color:#0877ec; text-shadow:0 1px 0 #fff,0 2px 3px #a2d5ff; }
.jfb-brand .jfb-wordmark small { color:#304969; letter-spacing:.14em; }
.jfb-btn, .woocommerce a.button, .woocommerce button.button, .jfb-cart-pill, .jfb-search-pill button { border-radius:12px; font-weight:850; box-shadow:0 4px 0 #07428f,0 8px 18px rgba(4,63,145,.15); transition:transform .16s ease,box-shadow .16s ease; }
.jfb-btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .jfb-cart-pill:hover { transform:translateY(-2px); box-shadow:0 6px 0 #07428f,0 11px 22px rgba(4,63,145,.2); }
.jfb-section-head h2, .jfb-why h2 { letter-spacing:-.035em; text-shadow:0 2px 0 #fff,0 3px 5px #c3d7f2; }
.jfb-cat, .jfb-service, .jfb-product-card { border:1px solid #d9e6f7; box-shadow:0 5px 0 #e4edfa,0 12px 24px rgba(7,27,58,.07); }
@media(max-width:680px){
 .jfb-home .jfb-slide { height:clamp(170px, 49vw, 260px); }
 .jfb-home .jfb-carousel .jfb-carousel-ui { bottom:5px; }
 .jfb-brand .jfb-wordmark strong { letter-spacing:-.03em; }
}
@media(prefers-reduced-motion:reduce){ .jfb-btn,.jfb-home .jfb-slides { transition:none; } }


/* JFB 2.1 — carrousel et catégories sans superposition */
.jfb-home .jfb-carousel { overflow:visible; display:flex; flex-direction:column; background:#edf4ff; }
.jfb-home .jfb-slides { position:relative; width:100%; overflow:hidden; }
.jfb-home .jfb-slide { height:clamp(230px, 33vw, 460px); }
.jfb-home .jfb-slide-full-image img { object-fit:contain; }
.jfb-home .jfb-carousel .jfb-carousel-ui { position:relative !important; inset:auto !important; left:auto !important; right:auto !important; bottom:auto !important; transform:none !important; align-self:center; margin:12px auto 15px; width:max-content; max-width:calc(100% - 24px); }
.jfb-home .jfb-cats-wrap { position:relative !important; margin-top:22px !important; transform:none !important; z-index:1; }
.jfb-home .jfb-cats { margin-top:0 !important; }
/* Accent par signification : fiabilité, promotion, environnement, service */
.jfb-features .jfb-feature:nth-child(1) .jfb-feature-ico { background:linear-gradient(135deg,#16a34a,#087d3d) !important; color:white !important; border-color:#16a34a !important; box-shadow:0 5px 16px #16a34a40; }
.jfb-features .jfb-feature:nth-child(2) .jfb-feature-ico { background:linear-gradient(135deg,#ff4664,#d30b34) !important; color:white !important; border-color:#ff4664 !important; box-shadow:0 5px 16px #e11d4840; }
.jfb-features .jfb-feature:nth-child(3) .jfb-feature-ico { background:linear-gradient(135deg,#45bb62,#087e44) !important; color:white !important; border-color:#45bb62 !important; box-shadow:0 5px 16px #16a34a40; }
.jfb-features .jfb-feature:nth-child(4) .jfb-feature-ico { background:linear-gradient(135deg,#19b6ec,#0860d0) !important; color:white !important; border-color:#19b6ec !important; box-shadow:0 5px 16px #0877ec40; }
.jfb-services .jfb-service:nth-child(2) .jfb-service-ico { background:linear-gradient(135deg,#2ab56a,#087c43) !important; color:#fff !important; }
.jfb-services .jfb-service:nth-child(3) .jfb-service-ico { background:linear-gradient(135deg,#ff5274,#d50a3e) !important; color:#fff !important; }
.jfb-brand .jfb-wordmark strong { font-size:clamp(19px,2vw,29px); text-transform:uppercase; font-weight:950; letter-spacing:-.045em; }
.jfb-brand .jfb-wordmark em { font-style:normal; color:#087ff1; }
@media(max-width:680px){
 .jfb-home .jfb-slide { height:clamp(190px,54vw,300px); }
 .jfb-home .jfb-carousel .jfb-carousel-ui { margin:9px auto 14px; }
 .jfb-home .jfb-cats-wrap { margin-top:18px !important; }
}

/* JFB 2.2 : logo de référence, six bannières conservées et visibles */
.jfb-head { background:#fff; }
.jfb-brand-reference { background:linear-gradient(115deg,#071b3a,#0b2857); padding:8px 17px 8px 9px; border-radius:16px; box-shadow:0 5px 18px rgba(6,27,64,.18); gap:10px; }
.jfb-reference-icon { display:flex; flex:0 0 auto; }
.jfb-reference-text { display:flex; flex-direction:column; min-width:0; line-height:1.12; }
.jfb-reference-text strong { font-family:var(--display); color:#fff; font-size:clamp(17px,2vw,26px); font-weight:900; letter-spacing:-.025em; white-space:nowrap; text-shadow:0 1px 2px rgba(0,0,0,.25); }
.jfb-reference-text em { font-style:normal; color:#32b7ff; }
.jfb-reference-text small { color:#e9f2ff; font-size:clamp(8px,.85vw,11px); font-weight:800; letter-spacing:.15em; white-space:nowrap; margin-top:5px; }
.jfb-home .jfb-carousel { display:flex; flex-direction:column; overflow:visible; background:#eef4ff; }
.jfb-home .jfb-carousel .jfb-slides { width:100%; overflow:hidden; background:#eef4ff; }
.jfb-home .jfb-carousel .jfb-slide { height:clamp(230px,34vw,480px); flex:0 0 100%; overflow:hidden; background:#eef4ff; }
.jfb-home .jfb-carousel .jfb-slide-full { padding:0 !important; }
.jfb-home .jfb-carousel .jfb-slide-full-image { display:flex; align-items:center; justify-content:center; height:100%; width:100%; background:#eef4ff; }
.jfb-home .jfb-carousel .jfb-slide-full-image img { display:block; width:100%; height:100%; object-fit:contain; object-position:center; }
.jfb-home .jfb-carousel .jfb-carousel-ui { position:relative !important; inset:auto !important; transform:none !important; margin:12px auto 18px !important; align-self:center; }
@media(max-width:767px){
 .jfb-brand-reference { padding:6px 10px 6px 5px; border-radius:11px; }
 .jfb-reference-icon svg { width:39px; height:46px; }
 .jfb-reference-text strong { font-size:clamp(13px,3.4vw,19px); }
 .jfb-reference-text small { font-size:7px; letter-spacing:.09em; }
 .jfb-home .jfb-carousel .jfb-slide { height:clamp(180px,54vw,290px); }
}

/* =========================================================
   JFB 3.0 — interface prête à utiliser, inspirée de l'aperçu
   Styles placés en fin de fichier pour prévaloir sur v2.2.
   ========================================================= */
:root { --navy:#062653; --blue:#0966e9; --sky:#29b9ff; --r-md:15px; }
.jfb-topbar { background:linear-gradient(100deg,#003b7c,#08234a); color:#f1f8ff; font-size:12px; }
.jfb-topbar .wrap { max-width:1600px; gap:10px 18px; padding-top:7px; padding-bottom:7px; }
.jfb-topbar-left, .jfb-topbar-right { display:flex; align-items:center; flex-wrap:wrap; gap:12px 24px; }
.jfb-topbar .jfb-ico { color:#48b5ff; }
.jfb-head { background:#fff; }
.jfb-head .wrap { max-width:1600px; padding-top:12px; padding-bottom:12px; gap:30px; }
.jfb-brand-reference { background:transparent !important; border-radius:0 !important; box-shadow:none !important; padding:0 !important; gap:8px; }
.jfb-reference-text strong { color:#061d3d !important; text-shadow:0 1px 0 #e3edfa !important; font-weight:950 !important; font-size:clamp(17px,2.1vw,30px) !important; letter-spacing:-.045em; }
.jfb-reference-text em { color:#0969e8 !important; text-shadow:0 2px 4px #b6d9ff !important; }
.jfb-reference-text small { color:#132a51 !important; letter-spacing:.16em; font-size:clamp(8px,.85vw,12px) !important; }
.jfb-reference-icon svg { filter:drop-shadow(0 3px 2px #c1d9f6); }
.jfb-search-pill { border-radius:15px; box-shadow:0 3px 12px #0d3b7410; }
.jfb-nav { background:linear-gradient(90deg,#062550,#003c85,#062550); box-shadow:0 3px 12px #071b3a20; }
.jfb-nav a { transition:background .18s, color .18s, transform .18s; }
.jfb-nav a:hover { transform:translateY(-1px); }
.jfb-home .jfb-carousel { display:flex !important; flex-direction:column; background:#eaf3ff; overflow:visible; }
.jfb-home .jfb-carousel .jfb-slides { display:flex; width:100%; overflow:hidden; background:#eaf3ff; }
.jfb-home .jfb-carousel .jfb-slide { height:clamp(210px,26vw,390px) !important; flex:0 0 100%; min-width:0; overflow:hidden; }
.jfb-home .jfb-carousel .jfb-slide-full-image { width:100%; height:100%; display:flex; align-items:center; justify-content:center; background:#eaf3ff; }
.jfb-home .jfb-carousel .jfb-slide-full-image img { width:100%; height:100%; object-fit:contain; display:block; }
.jfb-home .jfb-carousel .jfb-carousel-ui { position:relative !important; inset:auto !important; transform:none !important; align-self:center; margin:9px auto 12px !important; background:#fff !important; border:1px solid #d8e6f9 !important; box-shadow:0 4px 16px #002a6620 !important; padding:5px 12px !important; }
.jfb-home .jfb-carousel .jfb-car-btn { color:#fff; background:#086ce7; border:0; width:30px; height:30px; }
.jfb-home .jfb-carousel .jfb-car-btn:hover { background:#034caa; }
.jfb-home .jfb-carousel .jfb-dots button::before { background:#9eacc1; }
.jfb-home .jfb-carousel .jfb-dots button[aria-current="true"]::before { background:#0873ee; }
.jfb-home .jfb-cats-wrap { margin-top:0 !important; padding-top:0 !important; }
.jfb-cats { gap:8px !important; }
.jfb-cat { position:relative; display:flex; align-items:center; gap:10px; background:linear-gradient(145deg,#fff,#f4f8ff) !important; border:1px solid #dfebfa !important; border-radius:15px !important; box-shadow:0 5px 16px #0c316014 !important; padding:12px 10px !important; min-height:105px !important; transition:transform .18s,box-shadow .18s !important; }
.jfb-cat:hover { transform:translateY(-4px); box-shadow:0 12px 26px #0b60b52a !important; }
.jfb-cat-ico { flex:0 0 auto; width:58px !important; height:64px !important; display:grid !important; place-items:center; color:#0866d6 !important; background:linear-gradient(140deg,#d9efff,#f0f6ff) !important; border:1px solid #d6e9ff !important; border-radius:12px !important; }
.jfb-cat-ico .jfb-ico { width:40px; height:40px; filter:drop-shadow(0 2px 1px #9bc7ef); }
.jfb-cat strong { font-size:14px !important; line-height:1.15; color:#0b2853; }
.jfb-cat small { font-size:11px !important; line-height:1.3; }
.jfb-features { background:#fff; }
.jfb-features .wrap { display:grid !important; grid-template-columns:repeat(7,minmax(0,1fr)) !important; max-width:1600px; gap:0; }
.jfb-feature { display:flex !important; flex-direction:row !important; align-items:center; justify-content:center; gap:10px; min-width:0; padding:15px 9px; }
.jfb-feature-copy { display:flex !important; flex-direction:column; text-align:left; min-width:0; }
.jfb-feature-copy strong { color:#0b2853; font-size:13px !important; line-height:1.2; }
.jfb-feature-copy span { color:#233d63; font-size:12px !important; line-height:1.25; }
.jfb-feature-ico { width:52px !important; height:52px !important; min-width:52px; display:grid; place-items:center; border-radius:50% !important; color:#fff !important; }
.jfb-feature:nth-child(1) .jfb-feature-ico { background:linear-gradient(140deg,#36c847,#087b31) !important; }
.jfb-feature:nth-child(2) .jfb-feature-ico { background:linear-gradient(140deg,#ff4166,#db0c39) !important; }
.jfb-feature:nth-child(3) .jfb-feature-ico { background:linear-gradient(140deg,#43c851,#088137) !important; }
.jfb-feature:nth-child(4) .jfb-feature-ico { background:linear-gradient(140deg,#38b8ff,#0862d6) !important; }
.jfb-feature:nth-child(5) .jfb-feature-ico { background:linear-gradient(140deg,#9853d9,#5823a5) !important; }
.jfb-feature:nth-child(6) .jfb-feature-ico { background:linear-gradient(140deg,#ffac27,#f06a00) !important; }
.jfb-feature:nth-child(7) .jfb-feature-ico { background:linear-gradient(140deg,#ff3e84,#e00052) !important; }
.jfb-btn, .jfb-cta { box-shadow:0 4px 0 #043b91,0 8px 14px #082c6a20; border-radius:12px; }
@media(min-width:1181px){ .jfb-cats-wrap .wrap { max-width:1600px; } .jfb-cats { grid-template-columns:repeat(7,minmax(0,1fr)) !important; } }
@media(max-width:1180px){ .jfb-features .wrap { grid-template-columns:repeat(4,minmax(0,1fr)) !important; } .jfb-feature:nth-child(4){border-right:0;} }
@media(max-width:767px){
 .jfb-topbar-left span:nth-child(n+3){display:none;}
 .jfb-head .wrap { gap:10px; }
 .jfb-reference-text strong { font-size:clamp(13px,3.6vw,19px) !important; }
 .jfb-reference-text small { font-size:7px !important; letter-spacing:.08em; }
 .jfb-home .jfb-carousel .jfb-slide { height:clamp(150px,50vw,280px) !important; }
 .jfb-cat { min-height:94px !important; padding:10px !important; }
 .jfb-cat-ico { width:46px !important; height:52px !important; }
 .jfb-cat-ico .jfb-ico { width:32px; height:32px; }
 .jfb-features .wrap { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
 .jfb-feature { justify-content:flex-start; padding:11px 8px; }
 .jfb-feature-ico { width:43px !important; height:43px !important; min-width:43px; }
}

/* JFB 3.1 — barre de recherche homogène (sans bouton flottant) */
.jfb-head .jfb-search-pill {
  display:flex; align-items:stretch; position:relative; height:54px;
  border:1.5px solid #b9cce6; border-radius:16px; overflow:hidden;
  background:#fff; box-shadow:0 4px 15px rgba(10,49,100,.10);
}
.jfb-head .jfb-search-pill:focus-within { border-color:#0877ec; box-shadow:0 0 0 3px rgba(8,119,236,.13); }
.jfb-head .jfb-search-pill input[type="search"] {
  flex:1; min-width:0; width:100%; height:100%; padding:0 18px;
  margin:0; border:0 !important; border-radius:0 !important;
  box-shadow:none !important; outline:none !important; background:#fff;
}
.jfb-head .jfb-search-pill button {
  position:static !important; flex:0 0 58px; width:58px; height:100%;
  padding:0; margin:0; border:0; border-radius:0 !important;
  display:grid; place-items:center; background:linear-gradient(135deg,#138aff,#0749bb);
  color:#fff; box-shadow:none !important; transform:none !important;
}
.jfb-head .jfb-search-pill button:hover { background:linear-gradient(135deg,#076de1,#053b99); }
@media(max-width:680px){.jfb-head .jfb-search-pill{height:48px}.jfb-head .jfb-search-pill button{flex-basis:52px;width:52px}}

/* JFB 3.2 — illustrations produits réelles dans les cartes catégories */
.jfb-home .jfb-cat {min-height:130px !important; padding:12px 8px !important;}
.jfb-home .jfb-cat-ico.jfb-cat-illustration {width:100px !important;height:84px !important;max-width:100%;border:0 !important;background:transparent !important;padding:0 !important;border-radius:0 !important;}
.jfb-cat-illustration img {display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 3px rgba(11,50,97,.16));}
@media(max-width:650px){.jfb-home .jfb-cat {min-height:120px !important;}.jfb-home .jfb-cat-ico.jfb-cat-illustration{width:82px !important;height:70px !important;}}

/* ============================================================
   JFB 3.3 — Peaufinage visuel 2026 (en-tête + carrousel + boutons)
   Objectif : en-tête accrocheur bleu, carrousel cadre fixe
   identique PC/mobile, boutons et états actifs clairs.
   ============================================================ */

/* --- En-tête plus présent et moderne --- */
.jfb-head {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%) !important;
  border-bottom: 1px solid #d0e0f5 !important;
  box-shadow: 0 4px 18px rgba(7, 27, 58, .06);
  position: relative;
  z-index: 40;
}
.jfb-head .wrap {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  gap: 20px;
}

/* Logo / marque : plus de présence, ton bleu fort */
.jfb-brand-reference {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  gap: 12px !important;
  transition: transform .18s ease;
}
.jfb-brand-reference:hover {
  transform: translateY(-1px);
}
.jfb-reference-icon svg {
  display: block;
  filter: drop-shadow(0 4px 10px rgba(10, 111, 234, .28));
  transition: filter .2s ease, transform .2s ease;
}
.jfb-brand-reference:hover .jfb-reference-icon svg {
  filter: drop-shadow(0 6px 14px rgba(10, 111, 234, .4));
  transform: scale(1.04);
}
.jfb-reference-text strong {
  color: #061d3d !important;
  font-weight: 950 !important;
  font-size: clamp(18px, 2.2vw, 28px) !important;
  letter-spacing: -0.04em !important;
  text-shadow: 0 1px 0 #e8f1fc !important;
  line-height: 1.05;
}
.jfb-reference-text em {
  color: #0870ec !important;
  font-style: normal !important;
  text-shadow: 0 2px 6px rgba(8, 112, 236, .25) !important;
}
.jfb-reference-text small {
  color: #3a5578 !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
  font-size: clamp(9px, .9vw, 11px) !important;
  margin-top: 3px !important;
}

/* Barre de recherche : style « pill » clair + accent bleu */
.jfb-head .jfb-search-pill {
  border: 1.5px solid #b8cde8 !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 4px 16px rgba(8, 49, 110, .09) !important;
  height: 52px !important;
}
.jfb-head .jfb-search-pill:focus-within {
  border-color: #0870ec !important;
  box-shadow: 0 0 0 3px rgba(8, 112, 236, .15), 0 6px 20px rgba(8, 49, 110, .12) !important;
}
.jfb-head .jfb-search-pill button {
  background: linear-gradient(135deg, #1a8bff, #0756c4) !important;
  border-radius: 0 999px 999px 0 !important;
  width: 56px !important;
  flex-basis: 56px !important;
}
.jfb-head .jfb-search-pill button:hover {
  background: linear-gradient(135deg, #0a6fe0, #0548a0) !important;
}

/* Actions en-tête (compte + panier) */
.jfb-pill-link {
  border: 1.5px solid #c5d7ef !important;
  border-radius: 999px !important;
  background: #fff !important;
  transition: border-color .15s, background .15s, transform .15s !important;
}
.jfb-pill-link:hover {
  border-color: #0870ec !important;
  background: #f0f7ff !important;
  color: #061d3d !important;
  transform: translateY(-1px);
}
.jfb-cart-pill {
  background: linear-gradient(135deg, #1a8bff, #0756c4) !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 0 #05408f, 0 8px 18px rgba(7, 80, 180, .22) !important;
  transition: transform .15s, box-shadow .15s !important;
}
.jfb-cart-pill:hover {
  background: linear-gradient(135deg, #0a6fe0, #0548a0) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #05408f, 0 12px 22px rgba(7, 80, 180, .28) !important;
  color: #fff !important;
}

/* --- Navigation : surlignage bleu clair et actif --- */
.jfb-nav {
  background: #0a1f45 !important;
  border: none !important;
}
.jfb-nav a,
.jfb-navbar a {
  color: #d6e4ff !important;
  font-weight: 700 !important;
  transition: color .15s, background .15s !important;
}
.jfb-nav a:hover,
.jfb-navbar a:hover,
.jfb-nav .current-menu-item > a,
.jfb-navbar .current-menu-item > a {
  color: #5ad4ff !important;
}
.jfb-nav .wrap a[href*="accueil"],
.jfb-nav .wrap .current-menu-item > a,
.jfb-brandbar a.is-active {
  background: rgba(26, 139, 255, .18) !important;
  color: #5ad4ff !important;
  border-radius: 8px;
}

/* Bouton Mode comptoir */
.jfb-cta,
.jfb-nav-cta a {
  border-radius: 10px !important;
  font-weight: 800 !important;
}
.jfb-cta:first-child,
.jfb-nav-cta a:first-child {
  background: linear-gradient(135deg, #1a8bff, #0756c4) !important;
  color: #fff !important;
  box-shadow: 0 3px 0 #05408f !important;
}
.jfb-cta:first-child:hover {
  transform: translateY(-1px);
}

/* --- Carrousel : cadre HORIZONTAL fixe identique PC + mobile --- */
/* Toutes les affiches sont 1536×650 → ratio 2.363 */
.jfb-home .jfb-carousel {
  background: #071b3a !important;
  overflow: hidden !important;
  position: relative;
}
.jfb-home .jfb-slides {
  display: flex !important;
  width: 100%;
  align-items: stretch;
}
.jfb-home .jfb-slide,
.jfb-home .jfb-slide-full {
  flex: 0 0 100% !important;
  width: 100% !important;
  min-width: 0 !important;
  /* Cadre fixe : même proportion partout */
  aspect-ratio: 1536 / 650 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #071b3a !important;
}
.jfb-home .jfb-slide-full-image {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  box-shadow: none !important;
  display: block !important;
}
.jfb-home .jfb-slide-full-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important; /* remplit le cadre sans déformation ni bande */
  object-position: center center !important;
}

/* Contrôles carrousel plus discrets et modernes */
.jfb-home .jfb-carousel .jfb-carousel-ui {
  bottom: 12px !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  background: rgba(7, 27, 58, .82) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 14px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,.25) !important;
  gap: 6px !important;
}
.jfb-home .jfb-carousel .jfb-car-btn {
  width: 32px !important;
  height: 32px !important;
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background .15s;
}
.jfb-home .jfb-carousel .jfb-car-btn:hover {
  background: rgba(255,255,255,.15) !important;
}
.jfb-home .jfb-carousel .jfb-dots button {
  width: 18px !important;
  height: 18px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  position: relative;
}
.jfb-home .jfb-carousel .jfb-dots button::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  transition: width .2s, background .2s;
}
.jfb-home .jfb-carousel .jfb-dots button[aria-current="true"]::before {
  width: 22px;
  border-radius: 4px;
  background: #5ad4ff !important;
}

/* Mobile : même ratio, un peu plus compact si besoin */
@media (max-width: 680px) {
  .jfb-home .jfb-slide,
  .jfb-home .jfb-slide-full {
    aspect-ratio: 1536 / 650 !important;
    /* Sur très petit écran on garde le ratio, le navigateur calcule la hauteur */
  }
  .jfb-home .jfb-carousel .jfb-carousel-ui {
    bottom: 8px !important;
    padding: 4px 10px !important;
  }
  .jfb-reference-icon svg {
    width: 48px !important;
    height: 48px !important;
  }
  .jfb-reference-text strong {
    font-size: clamp(15px, 4.2vw, 20px) !important;
  }
  .jfb-reference-text small {
    font-size: 8px !important;
    letter-spacing: .08em !important;
  }
  .jfb-head .jfb-search-pill {
    height: 46px !important;
  }
}

/* --- Catégories : style clair + icônes bleues (comme la photo) --- */
.jfb-home .jfb-cats {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  gap: 12px !important;
}
.jfb-home .jfb-cat {
  background: linear-gradient(160deg, #ffffff, #f3f8ff) !important;
  border: 1px solid #d5e4f7 !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 18px rgba(8, 40, 90, .07) !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s !important;
  padding: 14px 12px !important;
  min-height: 120px !important;
}
.jfb-home .jfb-cat:hover,
.jfb-home .jfb-cat:focus-visible {
  transform: translateY(-4px);
  border-color: #0870ec !important;
  box-shadow: 0 14px 28px rgba(8, 112, 236, .16) !important;
}
.jfb-home .jfb-cat-ico.jfb-cat-illustration {
  background: transparent !important;
  border: 0 !important;
}
.jfb-home .jfb-cat strong {
  color: #0b2853 !important;
  font-weight: 800 !important;
}
.jfb-home .jfb-cat small {
  color: #4a658a !important;
}

/* Features / atouts : icônes colorées plus nettes */
.jfb-features {
  background: #fff !important;
  border-top: 1px solid #e4eef9;
  border-bottom: 1px solid #e4eef9;
}
.jfb-feature-ico {
  box-shadow: 0 6px 16px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.35) !important;
}

/* Boutons généraux plus « 2026 » */
.jfb-btn,
.woocommerce a.button,
.woocommerce button.button {
  border-radius: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .01em;
  box-shadow: 0 4px 0 #05408f, 0 8px 18px rgba(7, 80, 180, .18) !important;
  transition: transform .15s ease, box-shadow .15s ease !important;
}
.jfb-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #05408f, 0 12px 24px rgba(7, 80, 180, .24) !important;
}
.jfb-btn-punch {
  background: #fff !important;
  color: #061d3d !important;
  border-color: #fff !important;
  box-shadow: 0 6px 20px rgba(0,0,0,.2) !important;
}
.jfb-btn-punch:hover {
  background: #5ad4ff !important;
  color: #061d3d !important;
}

/* Petit effet de profondeur sur les cartes produits */
.jfb-product-card,
.woocommerce ul.products li.product {
  border-radius: 16px !important;
  border: 1px solid #d8e6f6 !important;
  box-shadow: 0 6px 20px rgba(7,27,58,.07) !important;
  transition: transform .2s, box-shadow .2s !important;
}
.jfb-product-card:hover,
.woocommerce ul.products li.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(7,27,58,.13) !important;
}

/* Topbar plus discrète mais lisible */
.jfb-topbar {
  background: #071b3a !important;
  color: #c5d8f5 !important;
  font-size: 13px;
  font-weight: 600;
}
.jfb-topbar a {
  color: #5ad4ff !important;
}
.jfb-topbar a:hover {
  color: #fff !important;
}

/* Force définitive du cadre carrousel (écrase les anciens height:clamp) */
.jfb-home .jfb-carousel .jfb-slide,
.jfb-home .jfb-carousel .jfb-slide-full,
.jfb-home .jfb-slide,
.jfb-home .jfb-slide-full {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 1536 / 650 !important;
}
.jfb-home .jfb-carousel .jfb-slide-full-image img,
.jfb-home .jfb-slide-full-image img {
  object-fit: cover !important;
  object-position: center center !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
}

/* ============================================================
   JFB 3.4 — Punch 2026 : topbar animée, logo, search, tips,
   promos, boutons contact, catégories plus vivantes
   ============================================================ */

/* --- Topbar plus vivante + heures qui flashent --- */
.jfb-topbar {
  background: linear-gradient(90deg, #061a38 0%, #0a2a5c 50%, #061a38 100%) !important;
  color: #c8dbf5 !important;
  font-size: 13.5px !important;
  font-weight: 650 !important;
  padding: 9px 0 !important;
  letter-spacing: .01em;
}
.jfb-topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.jfb-topbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.jfb-top-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: .92;
  transition: opacity .2s, color .2s;
}
.jfb-top-item:hover { opacity: 1; color: #7ae0ff; }
.jfb-top-hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #0d4a9e, #1a7bff, #0d4a9e);
  background-size: 200% 100%;
  animation: jfbHoursPulse 3.2s ease-in-out infinite;
  color: #fff !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(90, 212, 255, .35), 0 4px 14px rgba(10, 111, 234, .4);
  letter-spacing: .02em;
}
.jfb-top-hours strong {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
  opacity: .95;
}
.jfb-top-hours em {
  font-style: normal;
  color: #b8f0ff;
  font-weight: 900;
}
@keyframes jfbHoursPulse {
  0%, 100% { background-position: 0% 50%; box-shadow: 0 0 0 2px rgba(90,212,255,.35), 0 4px 14px rgba(10,111,234,.4); }
  50% { background-position: 100% 50%; box-shadow: 0 0 0 3px rgba(90,212,255,.55), 0 6px 20px rgba(10,111,234,.55); }
}
.jfb-topsms {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7ae0ff !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  transition: color .15s, transform .15s;
}
.jfb-topsms:hover {
  color: #fff !important;
  transform: translateY(-1px);
}

/* --- Logo plus clair et représentatif --- */
.jfb-brand-reference {
  gap: 14px !important;
}
.jfb-reference-icon svg {
  display: block;
  filter: drop-shadow(0 4px 12px rgba(10, 111, 234, .28));
  transition: transform .22s ease, filter .22s ease;
}
.jfb-brand-reference:hover .jfb-reference-icon svg {
  transform: scale(1.05) rotate(-2deg);
  filter: drop-shadow(0 6px 16px rgba(10, 111, 234, .4));
}
.jfb-reference-text strong {
  font-size: clamp(19px, 2.3vw, 30px) !important;
  letter-spacing: -.045em !important;
  color: #051a38 !important;
}
.jfb-reference-text em {
  color: #0870ec !important;
  text-shadow: 0 2px 8px rgba(8, 112, 236, .22) !important;
}
.jfb-reference-text small {
  color: #3d5a80 !important;
  font-weight: 800 !important;
  letter-spacing: .14em !important;
  font-size: clamp(9px, .95vw, 12px) !important;
  margin-top: 4px !important;
}

/* --- Barre de recherche propre (loupe bien intégrée) --- */
.jfb-head .jfb-search-pill {
  display: flex !important;
  align-items: stretch !important;
  position: relative !important;
  height: 52px !important;
  border: 1.5px solid #b4c9e6 !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 4px 16px rgba(8, 49, 110, .08) !important;
  max-width: 580px;
}
.jfb-head .jfb-search-pill:focus-within {
  border-color: #0870ec !important;
  box-shadow: 0 0 0 3px rgba(8, 112, 236, .18), 0 6px 20px rgba(8, 49, 110, .12) !important;
}
.jfb-head .jfb-search-pill input[type="search"] {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 18px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
  font-size: 15.5px !important;
  color: #0b2853 !important;
}
.jfb-head .jfb-search-pill input[type="search"]::placeholder {
  color: #7a92b0 !important;
}
.jfb-head .jfb-search-pill button {
  position: static !important;
  flex: 0 0 56px !important;
  width: 56px !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  display: grid !important;
  place-items: center !important;
  background: linear-gradient(135deg, #1a8bff 0%, #0656c8 100%) !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: pointer;
}
.jfb-head .jfb-search-pill button:hover {
  background: linear-gradient(135deg, #0a6fe0 0%, #0548a0 100%) !important;
}
.jfb-head .jfb-search-pill button .jfb-ico {
  width: 22px;
  height: 22px;
}

/* --- Catégories plus vivantes (effet photo) --- */
.jfb-home .jfb-cat {
  background: linear-gradient(165deg, #ffffff 0%, #f0f6ff 100%) !important;
  border: 1px solid #d0e2f7 !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 22px rgba(8, 40, 90, .08) !important;
  padding: 16px 14px !important;
  min-height: 128px !important;
  transition: transform .22s cubic-bezier(.22,.61,.36,1), box-shadow .22s, border-color .22s !important;
}
.jfb-home .jfb-cat:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: #0870ec !important;
  box-shadow: 0 16px 36px rgba(8, 112, 236, .18) !important;
}
.jfb-home .jfb-cat-ico.jfb-cat-illustration {
  width: 110px !important;
  height: 92px !important;
  background: radial-gradient(circle at 50% 40%, #e8f4ff, #f7fbff) !important;
  border-radius: 14px !important;
  padding: 6px !important;
  border: 1px solid #d8e8fa !important;
}
.jfb-home .jfb-cat-ico.jfb-cat-illustration img {
  filter: drop-shadow(0 4px 8px rgba(11, 50, 97, .2)) !important;
}
.jfb-home .jfb-cat strong {
  font-size: 15px !important;
  font-weight: 850 !important;
  color: #0a2448 !important;
}
.jfb-home .jfb-cat small {
  font-size: 12px !important;
  color: #4a658a !important;
}

/* --- Section Astuces / Trucs du jour (mise en évidence) --- */
.jfb-tips-highlight {
  background: linear-gradient(180deg, #f0f7ff 0%, #e8f2ff 40%, #f5f9ff 100%) !important;
  border-top: 1px solid #d0e4fa;
  border-bottom: 1px solid #d0e4fa;
  padding: 48px 0 52px !important;
  position: relative;
}
.jfb-tips-highlight::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0870ec, #5ad4ff, #0870ec);
  background-size: 200% 100%;
  animation: jfbHoursPulse 4s linear infinite;
}
.jfb-tips-highlight .jfb-section-head h2 {
  font-size: clamp(26px, 3.2vw, 36px) !important;
  color: #051a38 !important;
  font-weight: 950 !important;
  letter-spacing: -.03em;
}
.jfb-tips-lead {
  margin: -8px 0 28px;
  font-size: 16px;
  color: #3d5a80;
  font-weight: 600;
  max-width: 62ch;
}
.jfb-tips-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800 !important;
  font-size: 15px !important;
  color: #0870ec !important;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid #b8d4f5;
  box-shadow: 0 4px 12px rgba(8, 80, 180, .1);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.jfb-tips-all:hover {
  transform: translateY(-2px);
  border-color: #0870ec;
  box-shadow: 0 8px 20px rgba(8, 112, 236, .18);
  color: #0548a0 !important;
}
.jfb-tip-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 18px !important;
}
.jfb-tip {
  background: #fff !important;
  border: 1px solid #d4e4f7 !important;
  border-radius: 18px !important;
  padding: 22px 20px !important;
  box-shadow: 0 8px 24px rgba(8, 40, 90, .08) !important;
  transition: transform .2s, box-shadow .2s, border-color .2s !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none !important;
  color: inherit !important;
}
.jfb-tip:hover {
  transform: translateY(-4px);
  border-color: #0870ec !important;
  box-shadow: 0 16px 36px rgba(8, 112, 236, .16) !important;
}
.jfb-tip-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e0f0ff, #c8e4ff);
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #0870ec;
  margin-bottom: 4px;
}
.jfb-tip strong {
  font-size: 17px !important;
  font-weight: 850 !important;
  color: #0a2448 !important;
  line-height: 1.25;
}
.jfb-tip span {
  font-size: 14.5px !important;
  color: #4a658a !important;
  line-height: 1.45;
  flex: 1;
}
.jfb-tip em {
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  color: #0870ec;
  margin-top: 6px;
}

/* --- Section Aubaines --- */
.jfb-promos {
  background: linear-gradient(180deg, #fff8f0 0%, #fff 100%);
  border-top: 1px solid #ffe0c0;
  padding-top: 40px;
  padding-bottom: 20px;
}
.jfb-promo-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff5a3c, #e82020);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-right: 10px;
  vertical-align: middle;
  box-shadow: 0 4px 12px rgba(232, 32, 32, .3);
  animation: jfbPromoPulse 2.4s ease-in-out infinite;
}
@keyframes jfbPromoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.jfb-promos .jfb-section-head h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

/* --- Boutons Texto / Courriel plus uniques --- */
.jfb-contact-btns {
  display: flex !important;
  flex-wrap: wrap;
  gap: 14px !important;
  margin-top: 8px;
}
.jfb-btn-contact {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 58px !important;
  padding: 10px 22px 10px 14px !important;
  border-radius: 16px !important;
  border: 0 !important;
  text-align: left !important;
  box-shadow: 0 6px 0 #05408f, 0 10px 24px rgba(7, 80, 180, .2) !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}
.jfb-btn-contact:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 0 #05408f, 0 16px 32px rgba(7, 80, 180, .28) !important;
}
.jfb-btn-contact .jfb-btn-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,.22);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.jfb-btn-contact .jfb-btn-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: 2px;
}
.jfb-btn-contact .jfb-btn-txt strong {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .01em;
}
.jfb-btn-contact .jfb-btn-txt small {
  font-size: 12.5px;
  font-weight: 650;
  opacity: .9;
}
.jfb-btn-sms {
  background: linear-gradient(135deg, #1a8bff 0%, #0656c8 100%) !important;
  color: #fff !important;
}
.jfb-btn-mail {
  background: linear-gradient(135deg, #ffffff 0%, #eef5ff 100%) !important;
  color: #0a2448 !important;
  border: 1.5px solid #b8d4f5 !important;
  box-shadow: 0 5px 0 #c5d7ef, 0 10px 22px rgba(8, 40, 90, .1) !important;
}
.jfb-btn-mail:hover {
  border-color: #0870ec !important;
  box-shadow: 0 7px 0 #a0c4f0, 0 14px 28px rgba(8, 112, 236, .15) !important;
  color: #0a2448 !important;
}
.jfb-btn-mail .jfb-btn-ico {
  background: #e0efff;
  color: #0870ec;
}

/* --- Mobile adjustments --- */
@media (max-width: 860px) {
  .jfb-top-hours {
    font-size: 13px !important;
    padding: 4px 11px;
  }
  .jfb-reference-icon svg {
    width: 52px !important;
    height: 52px !important;
  }
  .jfb-head .jfb-search-pill {
    height: 48px !important;
  }
  .jfb-head .jfb-search-pill button {
    flex-basis: 50px !important;
    width: 50px !important;
  }
  .jfb-tips-highlight {
    padding: 36px 0 40px !important;
  }
  .jfb-btn-contact {
    flex: 1 1 100%;
    justify-content: flex-start;
  }
}
@media (max-width: 680px) {
  .jfb-topbar-left .jfb-top-item:nth-child(n+3) {
    display: none;
  }
  .jfb-top-hours {
    order: -1;
    width: 100%;
    justify-content: center;
    margin-bottom: 2px;
  }
  .jfb-home .jfb-cat-ico.jfb-cat-illustration {
    width: 88px !important;
    height: 74px !important;
  }
}

/* Réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
  .jfb-top-hours,
  .jfb-promo-badge,
  .jfb-tips-highlight::before {
    animation: none !important;
  }
}

/* ============================================================
   JFB 3.5 — Vrai logo rouge JFB + texte punch blanc/bleu
   ============================================================ */

.jfb-brand-reference {
  gap: 14px !important;
  align-items: center !important;
}
.jfb-reference-icon {
  display: flex !important;
  flex-shrink: 0 !important;
}
.jfb-logo-img {
  display: block !important;
  width: 68px !important;
  height: 68px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 4px 12px rgba(180, 20, 20, .28));
  transition: transform .22s ease, filter .22s ease;
  border-radius: 50%;
}
.jfb-brand-reference:hover .jfb-logo-img {
  transform: scale(1.07) rotate(-3deg);
  filter: drop-shadow(0 6px 16px rgba(200, 30, 30, .4));
}

/* Texte style affiche : RÉPARATION en navy, JFB en bleu électrique fort */
.jfb-reference-text {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.05 !important;
}
.jfb-reference-text strong {
  font-family: var(--display, "Plus Jakarta Sans", system-ui, sans-serif) !important;
  font-weight: 950 !important;
  font-size: clamp(20px, 2.4vw, 32px) !important;
  letter-spacing: -0.04em !important;
  color: #051a38 !important;
  text-shadow: 0 1px 0 #e8f1fc, 0 2px 4px rgba(5, 26, 56, .08) !important;
}
.jfb-reference-text em {
  font-style: normal !important;
  color: #0870ec !important;
  text-shadow: 0 2px 10px rgba(8, 112, 236, .28) !important;
  background: linear-gradient(135deg, #1a8bff, #0870ec);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* fallback */
  color: #0870ec;
}
@supports (-webkit-background-clip: text) {
  .jfb-reference-text em {
    -webkit-text-fill-color: transparent;
  }
}
.jfb-reference-text small {
  color: #3d5a80 !important;
  font-weight: 800 !important;
  letter-spacing: .16em !important;
  font-size: clamp(9px, .95vw, 12px) !important;
  margin-top: 5px !important;
  text-transform: uppercase;
}

/* Mobile logo */
@media (max-width: 680px) {
  .jfb-logo-img {
    width: 52px !important;
    height: 52px !important;
  }
  .jfb-reference-text strong {
    font-size: clamp(16px, 4.5vw, 22px) !important;
  }
  .jfb-reference-text small {
    font-size: 8px !important;
    letter-spacing: .1em !important;
  }
}

/* ============================================================
   JFB 3.6 — Logo interactif + badges + micro-animations +
   Avant/Après + polish final
   ============================================================ */

/* Logo interactif (garde le logo intact, ajoute vie au hover) */
.jfb-logo-img {
  width: 74px !important;
  height: 74px !important;
  object-fit: contain !important;
  border-radius: 50%;
  transition: transform .28s cubic-bezier(.22,.61,.36,1), filter .28s ease !important;
  filter: drop-shadow(0 4px 14px rgba(180, 20, 20, .32)) !important;
}
.jfb-brand-reference:hover .jfb-logo-img {
  transform: scale(1.1) rotate(-4deg) !important;
  filter: drop-shadow(0 8px 22px rgba(200, 30, 30, .45)) !important;
}
.jfb-brand-reference:active .jfb-logo-img {
  transform: scale(1.02) rotate(-1deg) !important;
}

/* Badges flottants sur les cartes produits */
.jfb-card {
  position: relative !important;
  overflow: visible !important;
  transition: transform .22s cubic-bezier(.22,.61,.36,1), box-shadow .22s ease !important;
}
.jfb-card:hover {
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 18px 40px rgba(7, 27, 58, .16) !important;
}
.jfb-card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
  pointer-events: none;
}
.jfb-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
}
.jfb-badge-garantie {
  background: linear-gradient(135deg, #0a6fe0, #0548a0);
}
.jfb-badge-sale {
  background: linear-gradient(135deg, #ff4d3a, #d01010);
  animation: jfbPromoPulse 2.2s ease-in-out infinite;
}
.jfb-card-sale .jfb-card-price {
  color: #d01010 !important;
  font-weight: 900 !important;
}

/* Section Avant / Après */
.jfb-beforeafter {
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border-top: 1px solid #d4e4f7;
  border-bottom: 1px solid #d4e4f7;
  padding: 48px 0 52px !important;
}
.jfb-ba-lead {
  margin: -6px 0 28px;
  font-size: 16px;
  color: #3d5a80;
  font-weight: 600;
  max-width: 56ch;
}
.jfb-ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.jfb-ba-card {
  background: #fff;
  border: 1px solid #d4e4f7;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(8, 40, 90, .08);
  transition: transform .22s ease, box-shadow .22s ease;
}
.jfb-ba-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(8, 112, 236, .14);
}
.jfb-ba-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.jfb-ba-before { color: #b04040; }
.jfb-ba-after { color: #0a7a40; }
.jfb-ba-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.jfb-ba-half {
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.jfb-ba-broken {
  background: linear-gradient(160deg, #fff0f0, #ffe4e4);
  border: 1px solid #f5c0c0;
}
.jfb-ba-fixed {
  background: linear-gradient(160deg, #e8fff0, #d4f8e0);
  border: 1px solid #a8e0bc;
}
.jfb-ba-ico {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 4px;
}
.jfb-ba-half strong {
  font-size: 14px;
  font-weight: 850;
  color: #0a2448;
}
.jfb-ba-half small {
  font-size: 12px;
  color: #5a7090;
}
.jfb-ba-card > p {
  font-size: 14px;
  color: #4a658a;
  margin: 0;
  line-height: 1.45;
}
.jfb-ba-cta {
  text-align: center;
  margin-top: 28px;
}

/* Micro-animations catégories & services */
.jfb-cat, .jfb-service, .jfb-tip {
  transition: transform .22s cubic-bezier(.22,.61,.36,1), box-shadow .22s ease, border-color .22s ease !important;
}
.jfb-cat:hover, .jfb-service:hover {
  transform: translateY(-5px) scale(1.015) !important;
}

/* Dark mode optionnel (activé via class sur <html> ou body) */
html.jfb-dark body,
body.jfb-dark {
  background: #0a1424 !important;
  color: #d6e4f7 !important;
}
html.jfb-dark .jfb-head,
body.jfb-dark .jfb-head {
  background: linear-gradient(180deg, #0e1c32, #0a1528) !important;
  border-bottom-color: #1a3050 !important;
}
html.jfb-dark .jfb-reference-text strong {
  color: #e8f2ff !important;
  text-shadow: none !important;
}
html.jfb-dark .jfb-cat,
html.jfb-dark .jfb-tip,
html.jfb-dark .jfb-ba-card,
html.jfb-dark .jfb-card {
  background: #122038 !important;
  border-color: #1e3a5c !important;
  color: #d6e4f7 !important;
}
html.jfb-dark .jfb-tips-highlight,
html.jfb-dark .jfb-beforeafter {
  background: linear-gradient(180deg, #0c182c, #0a1424) !important;
}

/* Mobile logo & badges */
@media (max-width: 680px) {
  .jfb-logo-img {
    width: 56px !important;
    height: 56px !important;
  }
  .jfb-badge {
    font-size: 10px;
    padding: 3px 8px;
  }
  .jfb-ba-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   JFB 3.8 — Qui sommes-nous + photo JF + atelier
   ============================================================ */

.jfb-about-hero {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  margin: 0 0 32px;
  padding: 24px;
  background: linear-gradient(135deg, #f0f7ff, #e8f2ff);
  border: 1px solid #d0e4fa;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(8, 40, 90, .08);
}
.jfb-about-photo {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(7, 27, 58, .18);
  border: 3px solid #fff;
}
.jfb-about-intro h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 32px);
  color: #051a38;
}
.jfb-about-tagline {
  font-weight: 800;
  color: #0870ec;
  margin: 0 0 12px !important;
  font-size: 15px;
}
.jfb-about-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0 36px;
}
.jfb-about-gallery figure {
  margin: 0;
  background: #fff;
  border: 1px solid #d4e4f7;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(8, 40, 90, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.jfb-about-gallery figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(8, 112, 236, .14);
}
.jfb-about-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.jfb-about-gallery figcaption {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 750;
  color: #0a2448;
  text-align: center;
  background: #f5f9ff;
}

.jfb-why-photos img {
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(7, 27, 58, .12);
}
.jfb-why-photos.n3 {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 14px;
}
.jfb-why-photos.n3 img:first-child {
  grid-row: span 1;
}

@media (max-width: 780px) {
  .jfb-about-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .jfb-about-photo {
    margin: 0 auto;
  }
  .jfb-about-gallery {
    grid-template-columns: 1fr;
  }
  .jfb-why-photos.n3 {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   JFB 3.9.1 — Logo officiel + menu mobile lisible + astuce flottante
   ============================================================ */

/* Logo officiel rouge (blanc sur rouge), net */
.jfb-logo-img {
  width: 58px !important;
  height: 58px !important;
  object-fit: contain !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 3px 12px rgba(180, 20, 20, .28) !important;
  filter: none !important;
}
.jfb-brand-reference:hover .jfb-logo-img {
  transform: scale(1.06) !important;
  filter: none !important;
}
@media (max-width: 680px) {
  .jfb-logo-img {
    width: 48px !important;
    height: 48px !important;
  }
}

/* MENU MOBILE : fond clair, texte foncé lisible */
@media (max-width: 860px) {
  .jfb-nav,
  .jfb-nav.is-open {
    background: #ffffff !important;
    border-bottom: 1px solid #d0e0f5 !important;
    box-shadow: 0 12px 32px rgba(7, 27, 58, .15) !important;
  }
  .jfb-nav .wrap,
  .jfb-navbar {
    background: #fff !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 8px 16px 20px !important;
    gap: 0 !important;
  }
  .jfb-nav a,
  .jfb-navbar a,
  .jfb-brandbar a,
  .jfb-menu a,
  .jfb-nav-extra a,
  .jfb-nav-cta a {
    color: #0a2448 !important;
    background: transparent !important;
    font-weight: 750 !important;
    font-size: 16px !important;
    padding: 14px 12px !important;
    border-bottom: 1px solid #e4eef9 !important;
    border-radius: 0 !important;
    display: block !important;
  }
  .jfb-nav a:hover,
  .jfb-navbar a:hover,
  .jfb-menu a:hover {
    color: #0870ec !important;
    background: #f0f7ff !important;
  }
  .jfb-nav .current-menu-item > a,
  .jfb-navbar .current-menu-item > a,
  .jfb-brandbar a.is-active {
    color: #0870ec !important;
    background: #e8f2ff !important;
  }
  .jfb-nav-cta {
    margin: 12px 0 0 !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  .jfb-nav-cta a,
  .jfb-cta {
    background: linear-gradient(135deg, #1a8bff, #0656c8) !important;
    color: #fff !important;
    border-radius: 12px !important;
    text-align: center !important;
    border: 0 !important;
    border-bottom: 0 !important;
  }
  .jfb-cta-ghost {
    background: #f0f7ff !important;
    color: #0a2448 !important;
    border: 1.5px solid #b8d4f5 !important;
  }
  /* Brand menu rows on mobile open */
  .jfb-brandbar,
  .jfb-brands {
    background: #fff !important;
  }
  .jfb-brand-link,
  .jfb-brands a {
    color: #0a2448 !important;
    background: #fff !important;
    border-bottom: 1px solid #e4eef9 !important;
  }
}

/* Section tips compacte sur l’accueil (l’essentiel est dans le popup) */
.jfb-tips-compact .jfb-tip-grid {
  display: none !important;
}
.jfb-tips-compact .jfb-tips-lead {
  margin-bottom: 12px;
}
.jfb-tips-compact {
  padding: 28px 0 !important;
  text-align: center;
}
.jfb-tips-compact .jfb-section-head {
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

/* Astuce du jour — fenêtre flottante style conversation */
.jfb-tip-float {
  position: fixed;
  z-index: 9999;
  left: 16px;
  right: 16px;
  bottom: 88px;
  max-width: 380px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #d0e4fa;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(7, 27, 58, .22);
  padding: 16px 18px 16px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(24px) scale(.96);
  transition: opacity .28s ease, transform .28s ease;
  pointer-events: none;
}
.jfb-tip-float.is-show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.jfb-tip-float-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  background: #f0f4fa;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #3d5a80;
}
.jfb-tip-float-close:hover {
  background: #e0eaf8;
  color: #0a2448;
}
.jfb-tip-float-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e0f0ff, #c8e4ff);
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}
.jfb-tip-float-body {
  flex: 1;
  min-width: 0;
  padding-right: 20px;
}
.jfb-tip-float-body strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #0870ec;
  font-weight: 850;
  margin-bottom: 2px;
}
.jfb-tip-float-body b {
  display: block;
  font-size: 16px;
  color: #0a2448;
  margin-bottom: 4px;
}
.jfb-tip-float-body p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.4;
  color: #4a658a;
}
.jfb-tip-float-body a {
  font-size: 13px;
  font-weight: 800;
  color: #0870ec;
}
@media (min-width: 720px) {
  .jfb-tip-float {
    left: auto;
    right: 24px;
    bottom: 24px;
    margin: 0;
  }
}

/* Force lisibilité menu marques sur mobile (fond blanc, texte foncé) */
@media (max-width: 860px) {
  .jfb-nav.is-open,
  .jfb-nav.is-open * {
    color: inherit;
  }
  .jfb-nav.is-open {
    background: #fff !important;
  }
  .jfb-nav.is-open .jfb-brand-item,
  .jfb-nav.is-open .jfb-brand-link,
  .jfb-nav.is-open .jfb-brands,
  .jfb-nav.is-open .jfb-mega,
  .jfb-nav.is-open .jfb-navbar,
  .jfb-nav.is-open .wrap {
    background: #fff !important;
    color: #0a2448 !important;
  }
  .jfb-nav.is-open .jfb-brand-link,
  .jfb-nav.is-open a {
    color: #0a2448 !important;
    background: #fff !important;
    border-bottom: 1px solid #e8eef6 !important;
    padding: 15px 14px !important;
    font-size: 16px !important;
    font-weight: 750 !important;
  }
  .jfb-nav.is-open .jfb-mega {
    position: static !important;
    display: block !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 0 0 12px !important;
    background: #f7fafc !important;
  }
  .jfb-nav.is-open .jfb-mega a {
    font-size: 15px !important;
    color: #3d5a80 !important;
  }
}


/* =========================================================
   JFB 4.0 — adresse et heures bien en vue, logo mascotte,
   affiches entières, bulles de conseils
   ========================================================= */

/* Barre du haut : adresse + heures en évidence */
.jfb-topbar.jfb-topbar-v4 { background: linear-gradient(90deg, #071b3a 0%, #0b3c86 60%, #0966e9 100%); color: #fff; font-size: 15px; }
.jfb-topbar-v4 .wrap { padding-top: 9px; padding-bottom: 9px; gap: 8px 18px; align-items: center; }
.jfb-topbar-v4 .jfb-topbar-left { display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.jfb-top-address, .jfb-top-hours { display: inline-flex !important; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; line-height: 1.2; }
.jfb-top-address { position: relative; overflow: hidden; background: #ffd21f; color: #071b3a !important; box-shadow: 0 0 0 3px rgba(255,210,31,.25), 0 6px 18px rgba(255,210,31,.35); }
.jfb-top-address .jfb-ico { color: #d30b34 !important; }
.jfb-top-address strong, .jfb-top-hours strong { font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: -.005em; }
.jfb-top-address::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); transform: skewX(-20deg); animation: jfbShine 4.5s ease-in-out infinite; }
.jfb-top-address:hover { color: #071b3a !important; filter: brightness(1.05); }
.jfb-top-hours { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: #fff; font-weight: 600; }
.jfb-top-hours .jfb-ico { color: #7fd3ff !important; }
.jfb-live-dot { width: 10px; height: 10px; border-radius: 50%; background: #2ee66b; box-shadow: 0 0 0 0 rgba(46,230,107,.7); animation: jfbPulse 1.8s infinite; flex: 0 0 auto; }
.jfb-topbar-v4 .jfb-topbar-right { display: flex; align-items: center; gap: 8px 16px; margin-left: auto; }
.jfb-topbar-v4 .jfb-topsms { background: #fff; color: #071b3a !important; padding: 6px 14px; border-radius: 999px; font-weight: 800; }
.jfb-topbar-v4 .jfb-topsms .jfb-ico { color: var(--blue) !important; }
@keyframes jfbShine { 0%, 55% { left: -60%; } 80%, 100% { left: 130%; } }
@keyframes jfbPulse { 0% { box-shadow: 0 0 0 0 rgba(46,230,107,.7); } 70% { box-shadow: 0 0 0 9px rgba(46,230,107,0); } 100% { box-shadow: 0 0 0 0 rgba(46,230,107,0); } }

/* Logo mascotte */
.jfb-brand-reference .jfb-logo-mascotte { width: 76px; height: 76px; border-radius: 50%; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.jfb-brand-reference { padding-top: 6px; padding-bottom: 6px; }

/* Affiches du carrousel : toujours entières, fond flouté de la même image */
.jfb-home .jfb-carousel .jfb-slide { height: clamp(240px, 36vw, 540px); }
.jfb-home .jfb-carousel .jfb-slide-full-image { position: relative; overflow: hidden; background: #0b1f40; cursor: pointer; }
.jfb-home .jfb-carousel .jfb-slide-full-image::before { content: ""; position: absolute; inset: -40px; background: var(--jfb-slide-bg) center / cover no-repeat; filter: blur(28px) saturate(1.25) brightness(.8); transform: scale(1.12); }
.jfb-home .jfb-carousel .jfb-slide-full-image img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: center; filter: drop-shadow(0 12px 30px rgba(0,0,0,.35)); }

/* Six atouts bien alignés */
.jfb-features .wrap { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 12px; }

/* Bulles de conseils */
.jfb-bubbles { background: linear-gradient(180deg, #f4f8ff 0%, #fff 100%); }
.jfb-bubbles-lead { margin: -10px 0 22px; color: var(--muted); font-size: 16px; }
.jfb-bubble-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.jfb-bubble { --c: #0966e9; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px; padding: 20px 14px 18px; min-height: 168px; border: 2px solid color-mix(in srgb, var(--c) 22%, #fff); border-radius: 28px 28px 28px 8px; background: #fff; color: var(--ink); font: inherit; text-align: center; cursor: pointer; box-shadow: 0 6px 0 color-mix(in srgb, var(--c) 14%, #fff), 0 14px 28px rgba(7,27,58,.08); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.jfb-bubble:hover, .jfb-bubble:focus-visible { transform: translateY(-4px); border-color: var(--c); box-shadow: 0 9px 0 color-mix(in srgb, var(--c) 22%, #fff), 0 18px 32px rgba(7,27,58,.14); }
.jfb-bubble-emoji { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; background: color-mix(in srgb, var(--c) 14%, #fff); box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--c) 30%, #fff); }
.jfb-bubble-title { font-weight: 800; font-size: 15px; line-height: 1.3; }
.jfb-bubble-batterie { --c: #16a34a; }
.jfb-bubble-securite { --c: #e11d48; }
.jfb-bubble-ordi { --c: #0966e9; }
.jfb-bubble-urgence { --c: #0891b2; }
.jfb-bubble-pratique { --c: #7c3aed; }
.jfb-tip-dialog { width: min(640px, calc(100% - 28px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: 30px 30px 30px 10px; box-shadow: 0 30px 80px rgba(7,27,58,.45); color: var(--ink); }
.jfb-tip-dialog::backdrop { background: rgba(7,27,58,.62); backdrop-filter: blur(4px); }
.jfb-tip-dialog[open] { animation: jfbPop .22s ease-out; }
.jfb-tip-dialog-inner { position: relative; padding: 30px 28px 24px; }
.jfb-tip-dialog h3 { font-family: var(--display); font-weight: 900; font-size: 24px; margin: 8px 0 12px; padding-right: 36px; }
.jfb-tip-dialog-emoji { font-size: 44px; line-height: 1; }
.jfb-tip-dialog .jfb-prose { font-size: 16.5px; line-height: 1.65; }
.jfb-tip-dialog .jfb-prose li { margin-bottom: 6px; }
.jfb-tip-close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--soft); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.jfb-tip-close:hover { background: #e3ecf9; }
.jfb-tip-dialog-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-weight: 700; }
html.jfb-modal-open { overflow: hidden; }
@keyframes jfbPop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
	.jfb-features .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 860px) {
	.jfb-topbar.jfb-topbar-v4 { font-size: 13.5px; }
	.jfb-topbar-v4 .wrap { justify-content: center; padding-top: 8px; padding-bottom: 8px; }
	.jfb-topbar-v4 .jfb-topbar-left { justify-content: center; width: 100%; }
	.jfb-top-address strong, .jfb-top-hours strong { font-size: 14px; }
	.jfb-top-address, .jfb-top-hours { padding: 5px 11px; }
	.jfb-topbar-v4 .jfb-topbar-right { display: none !important; }
	.jfb-brand-reference .jfb-logo-mascotte { width: 52px; height: 52px; }
	.jfb-home .jfb-carousel .jfb-slide { height: clamp(190px, 60vw, 330px); }
	.jfb-features .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.jfb-bubble-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.jfb-bubble { min-height: 150px; padding: 16px 10px; }
	.jfb-bubble-emoji { width: 56px; height: 56px; font-size: 28px; }
	.jfb-bubble-title { font-size: 14px; }
	.jfb-tip-dialog-inner { padding: 24px 18px 18px; }
	.jfb-tip-dialog h3 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.jfb-top-address::after, .jfb-live-dot { animation: none; }
	.jfb-bubble, .jfb-tip-dialog[open] { transition: none; animation: none; }
}


/* =========================================================
   JFB 4.1 — aligné sur la maquette (couleurs, cartes, menu)
   ========================================================= */

/* Logo + nom sur fond blanc, comme la maquette */
.jfb-head .jfb-brand-reference { background: none; box-shadow: none; padding: 0; border-radius: 0; gap: 14px; }
.jfb-head .jfb-reference-text strong { color: #071b3a; text-shadow: none; font-size: clamp(22px, 2.5vw, 36px); letter-spacing: -.03em; }
.jfb-head .jfb-reference-text em { color: #0966e9; }
.jfb-head .jfb-reference-text small { color: #1f3350; font-size: clamp(9px, .95vw, 13px); letter-spacing: .22em; margin-top: 6px; }
.jfb-head .jfb-brand-reference .jfb-logo-mascotte { width: 84px; height: 84px; filter: drop-shadow(0 4px 10px rgba(7,27,58,.22)); }

/* Menu bleu : Accueil, marques, Nos services, Conseils, Contact */
.jfb-nav.jfb-nav-v41 { background: linear-gradient(180deg, #0a2f6b 0%, #082656 100%); }
.jfb-nav-v41 .jfb-navbar { gap: 2px; min-height: 54px; }
.jfb-nav-home { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; margin-right: 6px; border-radius: 10px; color: #fff; font-weight: 800; font-size: 15px; }
.jfb-nav-home.is-active, .jfb-nav-home:hover { background: #0966e9; color: #fff; }
.jfb-nav-v41 .jfb-brands { display: flex; flex-wrap: nowrap; }
.jfb-nav-v41 .jfb-brand-link { padding: 17px 12px; font-size: 15px; font-weight: 600; color: #fff; }
.jfb-nav-v41 .jfb-brand-item:not(.jfb-plain) > .jfb-brand-link::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .85; }
.jfb-nav-v41 .jfb-nav-more { margin-left: 0; }
.jfb-nav-counter { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; background: #0966e9; color: #fff; font-weight: 800; white-space: nowrap; }
.jfb-nav-counter:hover { background: #2a86ff; color: #fff; }
.jfb-nav-v41 .jfb-nav-cta { display: none; }

/* Carrousel en carte arrondie, flèches sur les côtés, points par-dessus */
.jfb-home section.jfb-carousel { position: relative; max-width: 1480px; margin: 12px auto 0; padding: 0 22px; background: none; }
.jfb-home section.jfb-carousel .jfb-slides { border-radius: 18px; overflow: hidden; box-shadow: 0 14px 34px rgba(7,27,58,.16); }
.jfb-home section.jfb-carousel .jfb-carousel-ui { position: absolute !important; inset: 0 22px !important; margin: 0 !important; transform: none !important; width: auto !important; max-width: none !important; pointer-events: none; display: block; }
.jfb-home section.jfb-carousel .jfb-carousel-ui > * { pointer-events: auto; }
.jfb-home section.jfb-carousel [data-jfb-prev], .jfb-home section.jfb-carousel [data-jfb-next] { position: absolute; top: calc(50% - 26px); width: 52px !important; height: 52px !important; border-radius: 50%; border: 0; background: #fff; color: #071b3a; box-shadow: 0 6px 18px rgba(7,27,58,.25); display: grid !important; place-items: center; z-index: 6; }
.jfb-home section.jfb-carousel [data-jfb-prev] { left: -4px; }
.jfb-home section.jfb-carousel [data-jfb-next] { right: -4px; }
.jfb-home section.jfb-carousel .jfb-dots { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 7px 12px !important; border-radius: 999px; background: rgba(255,255,255,.9); box-shadow: 0 4px 14px rgba(7,27,58,.18); z-index: 6; display: flex; }
.jfb-home section.jfb-carousel .jfb-dots button::before { background: #b9c8e0 !important; }
.jfb-home section.jfb-carousel .jfb-dots button[aria-current="true"]::before { background: #0966e9 !important; }
.jfb-home section.jfb-carousel [data-jfb-pause] { position: absolute; right: 14px; bottom: 12px; width: 34px !important; height: 34px !important; border-radius: 50%; background: rgba(255,255,255,.9); color: #071b3a; border: 0; z-index: 6; }

/* Catégories : cartes horizontales (image à gauche, texte, flèche) */
.jfb-home .jfb-cats-wrap { margin-top: 14px !important; }
.jfb-home .jfb-cats { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important; gap: 12px !important; background: none !important; box-shadow: none !important; padding: 0 !important; }
.jfb-home .jfb-cat { position: relative; display: flex !important; flex-direction: row !important; align-items: center !important; text-align: left !important; gap: 12px !important; min-height: 104px; padding: 10px 44px 10px 12px !important; background: #fff !important; border: 1px solid #dfe8f5 !important; border-radius: 14px !important; box-shadow: 0 6px 18px rgba(7,27,58,.06) !important; }
.jfb-home .jfb-cat:hover { border-color: #0966e9 !important; transform: translateY(-2px); }
.jfb-home .jfb-cat .jfb-cat-ico { width: 92px !important; height: 80px !important; margin: 0 !important; flex: 0 0 92px; background: none !important; box-shadow: none !important; }
.jfb-home .jfb-cat .jfb-cat-ico img { width: 100%; height: 100%; object-fit: contain; }
.jfb-cat-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.jfb-home .jfb-cat-copy strong { font-size: 17px; color: #071b3a; }
.jfb-home .jfb-cat-copy small { display: block !important; font-size: 13px; color: #4a5a72; line-height: 1.35; }
.jfb-home .jfb-cat::after { content: "›"; position: absolute; right: 12px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; border: 2px solid #0966e9; color: #0966e9; font-weight: 900; line-height: 21px; text-align: center; font-size: 18px; }

/* Sept atouts colorés sur une ligne */
.jfb-features .wrap { grid-template-columns: repeat(7, minmax(0, 1fr)) !important; }
.jfb-features .jfb-feature { flex-direction: row !important; align-items: center !important; text-align: left !important; gap: 10px; border-right: 1px solid #dfe8f5; }
.jfb-features .jfb-feature:nth-child(5) .jfb-feature-ico { background: linear-gradient(135deg, #8b5cf6, #6d28d9) !important; color: #fff !important; }
.jfb-features .jfb-feature:nth-child(6) .jfb-feature-ico { background: linear-gradient(135deg, #fb923c, #ea580c) !important; color: #fff !important; }
.jfb-features .jfb-feature:nth-child(7) .jfb-feature-ico { background: linear-gradient(135deg, #fb7185, #e11d48) !important; color: #fff !important; }
.jfb-features .jfb-feature-copy { display: flex; flex-direction: column; }
.jfb-features .jfb-feature-copy strong, .jfb-features .jfb-feature-copy span { font-family: inherit; text-transform: none; font-size: 14.5px; font-weight: 700; color: #071b3a; letter-spacing: 0; }

/* Trois services en couleur + conseil du jour */
.jfb-services-v41 { padding-top: 22px; padding-bottom: 10px; }
.jfb-svc-grid { display: grid; grid-template-columns: 1fr 1fr 1fr .85fr; gap: 16px; }
.jfb-svc { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: 16px; border: 1px solid transparent; }
.jfb-svc-ico { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: 0 0 66px; }
.jfb-svc h2 { font-size: 21px; margin: 2px 0 6px; font-family: inherit; text-transform: none; text-shadow: none; letter-spacing: -.01em; }
.jfb-svc p { margin: 0 0 14px; color: #3c4b63; font-size: 15px; }
.jfb-svc-btn { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 10px; background: #fff; font-weight: 800; box-shadow: 0 3px 10px rgba(7,27,58,.1); }
.jfb-svc-blue { background: #d9e8ff; border-color: #c4dafc; } .jfb-svc-blue .jfb-svc-ico { background: #0966e9; } .jfb-svc-blue .jfb-svc-btn { color: #0a3f8f; }
.jfb-svc-green { background: #dcf3df; border-color: #c6eacb; } .jfb-svc-green .jfb-svc-ico { background: #16a34a; } .jfb-svc-green .jfb-svc-btn { color: #0b6b33; }
.jfb-svc-pink { background: #ffe1e7; border-color: #ffccd6; } .jfb-svc-pink .jfb-svc-ico { background: #e11d48; } .jfb-svc-pink .jfb-svc-btn { color: #b0123a; }
.jfb-tip-day { flex-direction: column; gap: 6px; background: #fff; border-color: #dfe8f5; box-shadow: 0 6px 18px rgba(7,27,58,.06); }
.jfb-tip-day p { margin: 0; }
.jfb-tip-day-head { font-weight: 900; font-size: 17px; color: #071b3a; }
.jfb-tip-day-title { font-weight: 800; color: #0a3f8f; }
.jfb-tip-day-text { color: #3c4b63; font-size: 15px; }
.jfb-tip-day-more { margin-top: auto; align-self: flex-start; padding: 0; border: 0; background: none; color: #0966e9; font: inherit; font-weight: 800; cursor: pointer; }

/* Astuces incontournables : une rangée de pastilles qui défile */
.jfb-bubbles { background: none; padding-top: 16px; }
.jfb-astuces-box { background: #fff; border: 1px solid #dfe8f5; border-radius: 18px; padding: 22px 24px; box-shadow: 0 8px 22px rgba(7,27,58,.06); }
.jfb-astuces-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.jfb-astuces-head > div { flex: 1 1 320px; }
.jfb-astuces-book { font-size: 40px; line-height: 1; }
.jfb-astuces-head h2 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(22px, 2.4vw, 32px); text-transform: none; color: #071b3a; text-shadow: none; }
.jfb-blue { color: #0966e9; }
.jfb-astuces-head p { margin: 2px 0 0; color: #4a5a72; }
.jfb-astuces-all { padding: 9px 16px; border: 1px solid #c4dafc; border-radius: 999px; font-weight: 800; white-space: nowrap; }
.jfb-astuces-row { position: relative; display: flex; align-items: center; gap: 10px; }
.jfb-astuces-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 4px 2px 8px; flex: 1; min-width: 0; }
.jfb-astuces-track::-webkit-scrollbar { display: none; }
.jfb-astuce { --c: #0966e9; flex: 0 0 auto; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 10px; min-height: 58px; max-width: 240px; padding: 8px 16px 8px 10px; border: 1px solid #dfe8f5; border-radius: 14px; background: #fff; color: #071b3a; font: inherit; font-size: 14.5px; font-weight: 700; text-align: left; line-height: 1.25; cursor: pointer; box-shadow: 0 3px 0 #eef3fb; transition: transform .15s ease, border-color .15s ease; }
.jfb-astuce:hover, .jfb-astuce:focus-visible { transform: translateY(-2px); border-color: var(--c); }
.jfb-astuce-emoji { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; display: grid; place-items: center; font-size: 22px; background: color-mix(in srgb, var(--c) 13%, #fff); }
.jfb-astuces-next { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid #dfe8f5; background: #fff; color: #071b3a; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(7,27,58,.12); }

@media (max-width: 1280px) {
	.jfb-nav-v41 .jfb-brand-link { padding: 17px 8px; font-size: 14px; }
	.jfb-features .wrap { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
	.jfb-svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.jfb-head .jfb-brand-reference .jfb-logo-mascotte { width: 54px; height: 54px; }
	.jfb-head .jfb-reference-text small { display: none; }
	.jfb-nav.jfb-nav-v41 { background: #fff; }
	.jfb-nav-home { color: #071b3a; padding: 0 4px; height: auto; margin: 10px 0; }
	.jfb-nav-home.is-active { background: none; color: #0966e9; }
	.jfb-nav-v41 .jfb-brand-link { color: #071b3a; }
	.jfb-nav-v41 .jfb-brand-item > .jfb-brand-link::after { display: none; }
	.jfb-nav-v41 .jfb-brands { flex-direction: column; }
	.jfb-nav-counter { margin: 10px 0 0; justify-content: center; }
	.jfb-home section.jfb-carousel { padding: 0 10px; margin-top: 8px; }
	.jfb-home section.jfb-carousel .jfb-carousel-ui { inset: 0 10px !important; }
	.jfb-home section.jfb-carousel [data-jfb-prev], .jfb-home section.jfb-carousel [data-jfb-next] { width: 38px !important; height: 38px !important; top: calc(50% - 19px); }
	.jfb-home section.jfb-carousel .jfb-dots { bottom: 8px; padding: 5px 9px !important; }
	.jfb-home .jfb-cats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
	.jfb-home .jfb-cat { flex-direction: column !important; text-align: center !important; padding: 12px 8px !important; min-height: 0; }
	.jfb-home .jfb-cat::after { display: none; }
	.jfb-home .jfb-cat .jfb-cat-ico { width: 72px !important; height: 60px !important; flex-basis: 60px; }
	.jfb-home .jfb-cat-copy small { display: none !important; }
	.jfb-features .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.jfb-features .jfb-feature { border-right: 0; }
	.jfb-svc-grid { grid-template-columns: 1fr; gap: 12px; }
	.jfb-svc { padding: 18px; }
	.jfb-svc-ico { width: 54px; height: 54px; flex-basis: 54px; }
	.jfb-astuces-box { padding: 18px 14px; }
	.jfb-astuces-next { display: none; }
	.jfb-astuce { max-width: 200px; }
}


/* =========================================================
   JFB 4.2 — lisibilité, couleurs plus douces, page épurée
   ========================================================= */

/* 1. Adresse et heures : même principe, couleurs douces */
.jfb-top-address { background: rgba(255,255,255,.14) !important; color: #fff !important; border: 1px solid rgba(127,211,255,.65); box-shadow: 0 0 0 3px rgba(41,185,255,.12) !important; }
.jfb-top-address:hover { color: #fff !important; background: rgba(255,255,255,.22) !important; filter: none; }
.jfb-top-address .jfb-ico { color: #7fd3ff !important; }
.jfb-top-address::after { background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); }
.jfb-top-address strong, .jfb-top-hours strong { font-family: var(--font) !important; font-weight: 700 !important; letter-spacing: .01em !important; }
.jfb-top-mini { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: #e6f0ff; white-space: nowrap; }
.jfb-top-mini .jfb-ico { color: #7fd3ff !important; }
@media (max-width: 1500px) { .jfb-hide-xl { display: none !important; } }
@media (max-width: 1300px) { .jfb-hide-lg { display: none !important; } }

/* 2. Bannière JFB dans l’en-tête */
.jfb-head .jfb-brand-banner { display: block; flex: 0 0 auto; padding: 0; background: none; box-shadow: none; }
.jfb-head .jfb-header-banner { display: block; height: clamp(72px, 7.2vw, 108px); width: auto; max-width: 340px; border-radius: 10px; }
@media (max-width: 860px) {
	.jfb-head .jfb-header-banner { height: 58px; max-width: 60vw; }
}

/* 3. Lettres lisibles : plus de lettres collées ni de texte flou */
h1, h2, h3, h4, .jfb-punch, .jfb-section-head h2, .jfb-why h2, .jfb-page-hero h1, .jfb-banner h2, .jfb-astuces-head h2, .jfb-tip-dialog h3, .jfb-card h3, .woocommerce-loop-product__title, .product_title { letter-spacing: .005em !important; text-shadow: none !important; -webkit-text-stroke: 0 !important; }
.jfb-section-head h2, .jfb-why h2, .jfb-banner h2, .jfb-page-hero h1, .jfb-astuces-head h2, .jfb-tip-dialog h3 { font-family: var(--font) !important; font-weight: 800 !important; text-transform: none !important; }
.jfb-section-head h2 { font-size: clamp(24px, 2.4vw, 32px) !important; color: #071b3a !important; }
.jfb-banner h2 { font-size: clamp(22px, 2.4vw, 32px) !important; line-height: 1.2 !important; }
.jfb-card h3, .jfb-card h3 a, .woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font) !important; font-weight: 700 !important; text-transform: none !important; }
.jfb-promo-badge { display: inline-block; font-family: var(--font) !important; font-weight: 800 !important; font-size: 14px !important; letter-spacing: .06em !important; text-transform: uppercase; color: #fff !important; background: #e11d48 !important; padding: 5px 12px !important; border-radius: 8px !important; transform: none !important; filter: none !important; text-shadow: none !important; vertical-align: middle; }
.jfb-btn, .woocommerce a.button, .woocommerce button.button { letter-spacing: .01em; font-weight: 800; }

/* 4. Menu : « Accueil » bien visible, sous-menus lisibles */
.jfb-nav-home, .jfb-nav-home.is-active { background: #fff !important; color: #0a2f6b !important; }
.jfb-nav-home:hover { background: #e3eeff !important; color: #0a2f6b !important; }
.jfb-nav .jfb-mega, .jfb-nav .jfb-mega-inner { background: #fff !important; }
.jfb-nav .jfb-mega a, .jfb-nav .jfb-mega a:visited { color: #071b3a !important; opacity: 1 !important; font-weight: 600 !important; text-shadow: none !important; }
.jfb-nav .jfb-mega a:hover { color: #0966e9 !important; background: #f2f6fc !important; }
.jfb-nav .jfb-mega a small, .jfb-nav .jfb-mega-title { color: #4a5a72 !important; opacity: 1 !important; }

/* 5. Boutons Texto / Courriel : texte bien contrasté */
.jfb-contact-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.jfb-btn-contact { display: inline-flex !important; align-items: center; gap: 12px; min-height: 58px; padding: 8px 20px 8px 10px !important; border-radius: 14px !important; text-align: left; flex: 1 1 210px; }
.jfb-btn-contact .jfb-btn-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 40px; }
.jfb-btn-contact .jfb-btn-txt { display: flex; flex-direction: column; line-height: 1.2; }
.jfb-btn-contact strong { font-size: 16px; font-weight: 800; color: inherit !important; }
.jfb-btn-contact small { font-size: 14px; font-weight: 600; color: inherit !important; opacity: .9; }
.jfb-btn-sms, .jfb-btn-sms:visited { background: #0966e9 !important; border-color: #0966e9 !important; color: #fff !important; }
.jfb-btn-sms .jfb-btn-ico { background: rgba(255,255,255,.2); color: #fff; }
.jfb-btn-sms:hover { background: #0852b8 !important; color: #fff !important; }
.jfb-btn-mail, .jfb-btn-mail:visited { background: #fff !important; border: 2px solid #c9d8f5 !important; color: #071b3a !important; box-shadow: none !important; }
.jfb-btn-mail .jfb-btn-ico { background: #eaf2ff; color: #0966e9; }
.jfb-btn-mail:hover { border-color: #0966e9 !important; color: #071b3a !important; }
.jfb-question { background: #eef4ff !important; }
.jfb-question .wrap > div:first-child strong { color: #071b3a !important; }
.jfb-question .wrap > div:first-child span { color: #3c4b63 !important; }

/* 6. Carrousel : fond blanc, coins arrondis, seulement les flèches */
.jfb-home section.jfb-carousel { background: transparent !important; }
.jfb-home section.jfb-carousel .jfb-slides { border-radius: 22px !important; background: #fff !important; box-shadow: 0 10px 30px rgba(7,27,58,.12) !important; }
.jfb-home section.jfb-carousel .jfb-slide, .jfb-home section.jfb-carousel .jfb-slide-full, .jfb-home section.jfb-carousel .jfb-slide-full-image { background: #fff !important; }
.jfb-home section.jfb-carousel .jfb-slide-full-image::before { display: none !important; }
.jfb-home section.jfb-carousel .jfb-slide-full-image img { filter: none !important; }
.jfb-home section.jfb-carousel .jfb-carousel-ui { background: transparent !important; border: 0 !important; box-shadow: none !important; height: auto !important; min-height: 0 !important; padding: 0 !important; }
.jfb-home section.jfb-carousel .jfb-carousel-ui::before, .jfb-home section.jfb-carousel .jfb-carousel-ui::after { display: none !important; }
.jfb-home section.jfb-carousel .jfb-dots, .jfb-home section.jfb-carousel [data-jfb-pause] { display: none !important; }

/* 7. Catégories : la flèche ne passe plus par-dessus le texte */
.jfb-home .jfb-cat { padding: 10px 14px 10px 12px !important; }
.jfb-home .jfb-cat-copy { flex: 1 1 auto; }
.jfb-home .jfb-cat::after { position: static !important; flex: 0 0 26px; margin: 0 0 0 auto !important; }

/* 8. « Pourquoi Réparation JFB » : seulement ta photo */
.jfb-why-photos.n1 { display: flex; justify-content: center; }
.jfb-why-photos.n1 img { width: 100%; max-width: 380px; height: auto !important; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; grid-row: auto !important; }

/* 9. Astuce du jour (discrète) */
.jfb-tipday { padding: 18px 0 8px; }
.jfb-tipday-box { background: #fff; border: 1px solid #dfe8f5; border-radius: 18px; padding: 16px 18px; box-shadow: 0 6px 18px rgba(7,27,58,.06); }
.jfb-tipday-main { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.jfb-tipday-emoji { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 16px; background: #fff6d6; display: grid; place-items: center; font-size: 30px; }
.jfb-tipday-copy { flex: 1 1 280px; min-width: 0; }
.jfb-tipday-copy p, .jfb-tipday-label { margin: 0; }
.jfb-tipday-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #b26a00; }
.jfb-tipday-all .jfb-tipday-label { margin-bottom: 12px; font-size: 15px; color: #071b3a; text-transform: none; letter-spacing: 0; }
.jfb-tipday-title { font-size: 18px; font-weight: 800; color: #071b3a; }
.jfb-tipday-sum { font-size: 15px; color: #3c4b63; }
.jfb-tipday-read { height: 44px; padding: 0 20px; border: 0; border-radius: 12px; background: #0966e9; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.jfb-tipday-read:hover { background: #0852b8; }
.jfb-tipday-more { margin-top: 12px; border-top: 1px solid #e6edf7; padding-top: 10px; }
.jfb-tipday-more > summary { cursor: pointer; font-weight: 800; color: #0966e9; list-style: none; padding: 4px 0; }
.jfb-tipday-more > summary::-webkit-details-marker { display: none; }
.jfb-tipday-more > summary::after { content: " ▾"; }
.jfb-tipday-more[open] > summary::after { content: " ▴"; }
.jfb-tipday-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-top: 10px; }
.jfb-tipday-list .jfb-astuce { max-width: none; width: 100%; }

/* 10. Les fenêtres d’astuces ne s’ouvrent jamais toutes seules */
.jfb-tip-dialog:not([open]) { display: none !important; }
.jfb-tip-dialog .jfb-prose h4 { font-size: 17px; font-weight: 800; color: #0a3f8f; margin: 18px 0 6px; }
.jfb-tip-dialog .jfb-prose ol, .jfb-tip-dialog .jfb-prose ul { padding-left: 22px; margin: 0 0 10px; }

@media (max-width: 860px) {
	.jfb-tipday-read { width: 100%; }
	.jfb-tipday-list { grid-template-columns: minmax(0, 1fr); }
	.jfb-tip-dialog { width: calc(100% - 16px); max-height: calc(100vh - 24px); }
}


/* =========================================================
   JFB 4.3 — barre du haut sur une ligne, en-tête compact,
   titres en bulle, survols partout, logo vivant
   ========================================================= */

/* Texto toujours blanc sur bleu, partout */
.jfb-btn-sms, .jfb-btn-sms * { color: #fff !important; }
.jfb-btn-sms .jfb-btn-ico { background: rgba(255,255,255,.22) !important; }
.jfb-btn-mail strong { color: #071b3a !important; }
.jfb-btn-mail small { color: #3c4b63 !important; }

/* Barre du haut : tout sur une seule ligne */
.jfb-topbar.jfb-topbar-v4 .wrap { flex-wrap: nowrap !important; gap: 10px !important; padding-top: 7px !important; padding-bottom: 7px !important; }
.jfb-topbar-v4 .jfb-topbar-left { flex-wrap: nowrap !important; flex: 0 0 auto; gap: 8px !important; }
.jfb-topbar-v4 .jfb-topbar-right { flex-wrap: nowrap !important; gap: 6px !important; min-width: 0; }
.jfb-top-address, .jfb-top-hours { padding: 4px 12px !important; white-space: nowrap; }
.jfb-top-address strong, .jfb-top-hours strong { font-size: 14px !important; }
.jfb-top-hours { font-size: 14px; }
.jfb-top-mini { display: none !important; }
.jfb-top-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 3px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.jfb-top-chip i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; }
.jfb-top-chip i .jfb-ico { color: #fff !important; }
.jfb-top-chip.c-green i { background: #16a34a; }
.jfb-top-chip.c-red i { background: #e11d48; }
.jfb-top-chip.c-orange i { background: #f97316; }
.jfb-top-chip.c-pink i { background: #db2777; }
.jfb-topbar-v4 .jfb-topsms { height: 28px; display: inline-flex !important; align-items: center; gap: 6px; padding: 0 12px !important; font-size: 13px; white-space: nowrap; }
@media (max-width: 1700px) { .jfb-hide-xxl { display: none !important; } }
@media (max-width: 1560px) { .jfb-hide-xl { display: none !important; } }
@media (max-width: 1400px) { .jfb-hide-lg { display: none !important; } }
@media (max-width: 1180px) { .jfb-hide-md { display: none !important; } }

/* En-tête compact : bannière sans marges, moins d'espace blanc */
.jfb-head .wrap { padding-top: 8px !important; padding-bottom: 8px !important; min-height: 0 !important; gap: 24px !important; align-items: center; }
.jfb-head .jfb-header-banner { height: clamp(62px, 5.4vw, 84px) !important; max-width: none !important; width: auto; border-radius: 0; }
.jfb-head .jfb-search-pill input[type="search"] { height: 48px !important; }
.jfb-head .jfb-search-pill button { width: 40px !important; height: 40px !important; top: 4px !important; }
.jfb-head .jfb-pill-link, .jfb-head .jfb-cart-pill { height: 46px !important; }

/* Logo vivant : effet 3D au survol + reflet */
.jfb-brand-banner { position: relative; perspective: 900px; overflow: visible; }
.jfb-brand-banner .jfb-header-banner { transform-origin: 30% 50%; transition: transform .35s cubic-bezier(.2,.8,.2,1), filter .35s ease; }
.jfb-brand-banner { animation: jfbLogoFloat 6s ease-in-out infinite; }
.jfb-brand-banner:hover { animation-play-state: paused; }
.jfb-brand-banner:hover .jfb-header-banner, .jfb-brand-banner:focus-visible .jfb-header-banner { transform: rotateY(-10deg) rotateX(5deg) scale(1.04); filter: drop-shadow(0 12px 18px rgba(7,27,58,.25)); }
.jfb-brand-banner::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 45%, transparent 60%); background-size: 250% 100%; background-position: 150% 0; mix-blend-mode: soft-light; animation: jfbLogoShine 7s ease-in-out infinite; }
@keyframes jfbLogoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes jfbLogoShine { 0%, 70% { background-position: 150% 0; } 100% { background-position: -50% 0; } }

/* Titres de sections dans une belle bulle */
.jfb-section-head h2, .jfb-why h2, .jfb-reviews h2 { display: inline-flex !important; align-items: center; gap: 10px; padding: 10px 24px 10px 20px !important; border-radius: 999px !important; background: linear-gradient(135deg, #0966e9 0%, #0a3f8f 100%) !important; color: #fff !important; font-size: clamp(20px, 2vw, 26px) !important; box-shadow: 0 8px 0 #c9dbf7, 0 14px 26px rgba(9,102,233,.25); transition: transform .2s ease, box-shadow .2s ease; }
.jfb-section-head h2::before, .jfb-why h2::before, .jfb-reviews h2::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #7fd3ff; box-shadow: 0 0 0 4px rgba(127,211,255,.3); flex: 0 0 auto; }
.jfb-section-head h2:hover, .jfb-why h2:hover, .jfb-reviews h2:hover { transform: translateY(-2px); box-shadow: 0 10px 0 #c9dbf7, 0 18px 30px rgba(9,102,233,.3); }
.jfb-section-head h2 .jfb-promo-badge { background: #fff !important; color: #e11d48 !important; }

/* Survol interactif sur toutes les zones */
.jfb-card, .woocommerce ul.products li.product, .jfb-cat, .jfb-review, .jfb-tip, .jfb-astuce, .jfb-tipday-box, .jfb-model-card, .jfb-trust-item, .jfb-btn, .jfb-chip, .jfb-cta, .jfb-pill-link, .jfb-cart-pill, .jfb-top-chip, .jfb-top-address, .jfb-top-hours, .jfb-why-photos img, .jfb-banner { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease; }
.jfb-card:hover, .woocommerce ul.products li.product:hover, .jfb-review:hover, .jfb-tip:hover, .jfb-model-card:hover, .jfb-tipday-box:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(7,27,58,.14) !important; border-color: #9cc2f5 !important; }
.jfb-card:hover img, .woocommerce ul.products li.product:hover img { transform: scale(1.04); }
.jfb-card img, .woocommerce ul.products li.product img { transition: transform .3s ease; }
.jfb-trust-item:hover, .jfb-top-chip:hover, .jfb-top-address:hover, .jfb-top-hours:hover { transform: translateY(-1px); }
.jfb-btn:hover, .jfb-cta:hover, .jfb-chip:hover, .jfb-pill-link:hover, .jfb-cart-pill:hover { transform: translateY(-2px); }
.jfb-why-photos img:hover { transform: scale(1.02) rotate(-.5deg); box-shadow: 0 18px 36px rgba(7,27,58,.2); }
.jfb-banner:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(7,27,58,.22); }

@media (max-width: 860px) {
	.jfb-topbar.jfb-topbar-v4 .wrap { flex-wrap: wrap !important; justify-content: center; }
	.jfb-topbar-v4 .jfb-topbar-left { flex-wrap: wrap !important; justify-content: center; }
	.jfb-head .jfb-header-banner { height: 54px !important; }
	.jfb-section-head h2, .jfb-why h2, .jfb-reviews h2 { font-size: 19px !important; padding: 8px 18px 8px 14px !important; }
}
@media (prefers-reduced-motion: reduce) {
	.jfb-brand-banner, .jfb-brand-banner::after { animation: none !important; }
	.jfb-card:hover, .jfb-review:hover, .jfb-btn:hover { transform: none !important; }
}


/* =========================================================
   JFB 4.4 — logo rond qui déborde, slogan dans la bande blanche
   ========================================================= */
.jfb-head { position: relative; z-index: 70; overflow: visible !important; }
.jfb-head .wrap { padding-top: 4px !important; padding-bottom: 4px !important; min-height: 62px !important; }
.jfb-brand-duo { position: relative; display: flex; align-items: center; gap: 14px; flex: 0 0 auto; padding-left: 128px; height: 58px; }
.jfb-logo-round-wrap { position: absolute; left: 0; top: 50%; width: 120px; height: 134px; margin-top: -67px; z-index: 80; perspective: 700px; animation: jfbLogoFloat 6s ease-in-out infinite; }
.jfb-logo-round { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(7,27,58,.35)); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.jfb-brand-duo:hover .jfb-logo-round { transform: rotateY(-14deg) scale(1.06); }
.jfb-logo-slogan { height: 56px; width: auto; display: block; transition: transform .25s ease; }
.jfb-brand-duo:hover .jfb-logo-slogan { transform: translateX(3px); }
.jfb-head .jfb-search-pill input[type="search"] { height: 44px !important; }
.jfb-head .jfb-search-pill button { width: 36px !important; height: 36px !important; top: 4px !important; }
.jfb-head .jfb-pill-link, .jfb-head .jfb-cart-pill { height: 42px !important; }
/* Laisser la place au rond dans la barre du haut et le menu */
.jfb-topbar-v4 .jfb-topbar-left { padding-left: 132px; }
.jfb-nav .jfb-navbar { padding-left: 132px !important; }
.jfb-topbar, .jfb-nav { position: relative; z-index: 60; }
@media (max-width: 1100px) {
	.jfb-logo-slogan { height: 46px; }
}
@media (max-width: 860px) {
	.jfb-brand-duo { padding-left: 0; height: auto; gap: 8px; }
	.jfb-logo-round-wrap { position: static; width: 56px; height: 62px; margin: 0; }
	.jfb-logo-slogan { height: 42px; max-width: 46vw; object-fit: contain; }
	.jfb-topbar-v4 .jfb-topbar-left { padding-left: 0; }
	.jfb-nav .jfb-navbar { padding-left: 0 !important; }
}
@media (prefers-reduced-motion: reduce) { .jfb-logo-round-wrap { animation: none; } }


/* =========================================================
   JFB 4.5 — pleine largeur, menu sur une ligne, logo plus gros,
   affiches jamais coupées, tuiles sans flèche
   ========================================================= */

/* Utiliser toute la largeur de l'écran */
.wrap { max-width: 1600px !important; }
.jfb-topbar .wrap, .jfb-head .wrap, .jfb-nav .wrap { max-width: 1760px !important; padding-left: 20px !important; padding-right: 20px !important; }

/* Logo plus gros, slogan un peu plus gros et lisible */
.jfb-head .wrap { min-height: 74px !important; }
.jfb-brand-duo { padding-left: 158px; height: 70px; }
.jfb-logo-round-wrap { width: 148px; height: 164px; margin-top: -82px; }
.jfb-logo-slogan { height: 68px; }
.jfb-topbar-v4 .jfb-topbar-left { padding-left: 162px; }
.jfb-nav .jfb-navbar { padding-left: 162px !important; }

/* Menu : une seule ligne, pas de flèches qui tombent en dessous */
.jfb-nav-v41 .jfb-navbar { flex-wrap: nowrap !important; gap: 0 !important; min-height: 52px; align-items: center; }
.jfb-nav-v41 .jfb-brands { flex-wrap: nowrap !important; }
.jfb-nav-v41 .jfb-brand-link { white-space: nowrap !important; display: inline-flex !important; align-items: center; padding: 15px 11px !important; font-size: 15px !important; }
.jfb-nav-v41 .jfb-brand-item:not(.jfb-plain) > .jfb-brand-link::after { transform: translateY(-2px) rotate(45deg) !important; margin-left: 6px; }
.jfb-nav-home { height: 36px !important; padding: 0 16px !important; font-size: 15px !important; flex: 0 0 auto; }
.jfb-nav-counter { height: 36px !important; padding: 0 14px !important; font-size: 14px !important; border-radius: 10px !important; flex: 0 0 auto; align-self: center; line-height: 1; }
.jfb-nav-counter .jfb-ico { width: 16px; height: 16px; }
.jfb-new-link { gap: 7px; color: #ffd76a !important; font-weight: 800 !important; }
.jfb-new-dot { width: 8px; height: 8px; border-radius: 50%; background: #ffd76a; box-shadow: 0 0 0 0 rgba(255,215,106,.7); animation: jfbPulse 2s infinite; }
@media (max-width: 1500px) {
	.jfb-nav-v41 .jfb-brand-link { padding: 15px 8px !important; font-size: 14px !important; }
}
@media (max-width: 1320px) {
	.jfb-brand-duo { padding-left: 130px; }
	.jfb-logo-round-wrap { width: 122px; height: 136px; margin-top: -68px; }
	.jfb-logo-slogan { height: 56px; }
	.jfb-topbar-v4 .jfb-topbar-left, .jfb-nav .jfb-navbar { padding-left: 134px !important; }
	.jfb-nav-v41 .jfb-brand-link { padding: 15px 6px !important; font-size: 13.5px !important; }
}

/* Affiches du carrousel : toujours entières, jamais coupées */
.jfb-home section.jfb-carousel .jfb-slide { height: clamp(240px, 34vw, 600px) !important; }
.jfb-home section.jfb-carousel .jfb-slide-full-image { display: flex !important; align-items: center; justify-content: center; width: 100% !important; height: 100% !important; padding: 0 !important; }
.jfb-home section.jfb-carousel .jfb-slide-full-image img { width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; object-position: center !important; }
@media (max-width: 860px) {
	.jfb-home section.jfb-carousel .jfb-slide { height: auto !important; aspect-ratio: 2.4 / 1; }
}

/* Tuiles de catégories : plus de flèche, toute la tuile est cliquable */
.jfb-home .jfb-cat::after { content: none !important; display: none !important; }
.jfb-home .jfb-cat { padding: 10px 16px 10px 12px !important; }
.jfb-home .jfb-cat:hover .jfb-cat-copy strong { color: #0966e9; }

@media (max-width: 860px) {
	.jfb-brand-duo { padding-left: 0; height: auto; }
	.jfb-logo-round-wrap { width: 60px; height: 66px; margin: 0; }
	.jfb-logo-slogan { height: 44px; }
	.jfb-topbar-v4 .jfb-topbar-left, .jfb-nav .jfb-navbar { padding-left: 0 !important; }
	.jfb-nav-v41 .jfb-navbar { flex-wrap: wrap !important; }
}


/* =========================================================
   JFB 4.6 — nouveau logo plus large, loupe pleine hauteur
   ========================================================= */
.jfb-brand-duo { padding-left: 142px !important; height: 72px !important; }
.jfb-logo-round-wrap { width: 132px !important; height: 168px !important; margin-top: -84px !important; }
.jfb-logo-slogan { height: 70px !important; width: auto !important; }
.jfb-topbar-v4 .jfb-topbar-left, .jfb-nav .jfb-navbar { padding-left: 146px !important; }

/* Recherche : un peu plus à droite, loupe qui remplit tout le côté droit */
.jfb-head .jfb-search-pill { position: relative !important; flex: 1 1 420px !important; max-width: 560px !important; margin: 0 0 0 auto !important; }
.jfb-head .jfb-search-pill input[type="search"] { height: 46px !important; padding-right: 66px !important; border-radius: 999px !important; }
.jfb-head .jfb-search-pill button { position: absolute !important; top: 0 !important; right: 0 !important; bottom: 0 !important; height: 100% !important; width: 58px !important; border-radius: 0 999px 999px 0 !important; display: grid !important; place-items: center; margin: 0 !important; }
.jfb-head .jfb-search-pill button .jfb-ico { width: 22px; height: 22px; }
.jfb-head .jfb-head-actions { margin-left: 18px !important; }

@media (max-width: 1320px) {
	.jfb-brand-duo { padding-left: 118px !important; }
	.jfb-logo-round-wrap { width: 110px !important; height: 140px !important; margin-top: -70px !important; }
	.jfb-logo-slogan { height: 58px !important; }
	.jfb-topbar-v4 .jfb-topbar-left, .jfb-nav .jfb-navbar { padding-left: 122px !important; }
}
@media (max-width: 860px) {
	.jfb-brand-duo { padding-left: 0 !important; height: auto !important; }
	.jfb-logo-round-wrap { width: 52px !important; height: 66px !important; margin: 0 !important; }
	.jfb-logo-slogan { height: 46px !important; max-width: 52vw; }
	.jfb-topbar-v4 .jfb-topbar-left, .jfb-nav .jfb-navbar { padding-left: 0 !important; }
	.jfb-head .jfb-search-pill { max-width: none !important; margin: 0 !important; flex-basis: 100% !important; }
}
.jfb-why-photos.n1 img { object-position: 52% 30% !important; }


/* =========================================================
   JFB 4.7 — logo rond, slogan lisible, menu centré,
   bouton « Nous joindre », carte
   ========================================================= */

/* Logo : vrai rond + appareils + slogan en texte net */
.jfb-brand-duo { padding-left: 172px !important; height: 76px !important; gap: 12px !important; align-items: center; }
.jfb-logo-round-wrap { width: 160px !important; height: 160px !important; margin-top: -80px !important; }
.jfb-logo-round { border-radius: 50%; }
.jfb-logo-slogan { display: none !important; }
.jfb-logo-devices { height: 70px; width: auto; display: block; transition: transform .3s ease; }
.jfb-brand-duo:hover .jfb-logo-devices { transform: scale(1.05) rotate(-1deg); }
.jfb-slogan-html { display: flex; flex-direction: column; gap: 6px; line-height: 1; }
.jfb-sl-top { font-family: "Montserrat", var(--font); font-style: italic; font-weight: 900; font-size: 25px; color: #0b1b3f; text-transform: uppercase; letter-spacing: .005em; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.jfb-sl-top i { width: 9px; height: 9px; border-radius: 50%; background: #e3061b; display: inline-block; }
.jfb-sl-row { display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.jfb-sl-pill, .jfb-sl-red { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 11px; border-radius: 8px; font-family: "Montserrat", var(--font); font-style: italic; font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: .01em; transform: skewX(-6deg); }
.jfb-sl-pill { background: #0b1b3f; color: #fff; }
.jfb-sl-pill b { color: #ffd21f; font-weight: 900; }
.jfb-sl-pill .jfb-ico { color: #fff !important; }
.jfb-sl-red { background: linear-gradient(180deg, #ef2b2b, #c4061b); color: #fff; box-shadow: 0 0 0 2px #ffd21f inset; }
.jfb-head .jfb-search-pill { max-width: 470px !important; }
.jfb-topbar-v4 .jfb-topbar-left, .jfb-nav .jfb-navbar { padding-left: 178px !important; }
@media (max-width: 1500px) {
	.jfb-sl-top { font-size: 21px; }
	.jfb-sl-pill, .jfb-sl-red { font-size: 11.5px; height: 24px; padding: 0 9px; }
	.jfb-logo-devices { height: 60px; }
	.jfb-head .jfb-search-pill { max-width: 380px !important; }
}
@media (max-width: 1320px) {
	.jfb-brand-duo { padding-left: 138px !important; }
	.jfb-logo-round-wrap { width: 128px !important; height: 128px !important; margin-top: -64px !important; }
	.jfb-logo-devices { display: none; }
	.jfb-topbar-v4 .jfb-topbar-left, .jfb-nav .jfb-navbar { padding-left: 142px !important; }
}
@media (max-width: 1100px) { .jfb-sl-row .jfb-sl-red { display: none; } }
@media (max-width: 860px) {
	.jfb-brand-duo { padding-left: 0 !important; height: auto !important; gap: 8px !important; }
	.jfb-logo-round-wrap { width: 62px !important; height: 62px !important; margin: 0 !important; }
	.jfb-logo-devices { display: none; }
	.jfb-sl-top { font-size: 15px; gap: 6px; }
	.jfb-sl-top i { width: 6px; height: 6px; }
	.jfb-sl-pill, .jfb-sl-red { font-size: 9.5px; height: 20px; padding: 0 6px; }
	.jfb-sl-row .jfb-sl-red { display: none; }
	.jfb-topbar-v4 .jfb-topbar-left, .jfb-nav .jfb-navbar { padding-left: 0 !important; }
}

/* Menu centré, décollé du logo; « Accueil » toujours lisible */
.jfb-nav.jfb-nav-v41 .jfb-navbar { justify-content: center !important; gap: 2px !important; }
.jfb-nav.jfb-nav-v41 .jfb-navbar a.jfb-nav-home { margin-right: 4px !important; }
.jfb-nav.jfb-nav-v41 .jfb-navbar a.jfb-nav-home:not(.is-active), .jfb-nav.jfb-nav-v41 .jfb-navbar a.jfb-nav-home:not(.is-active):visited { background: transparent !important; color: #fff !important; border: 1.5px solid rgba(255,255,255,.45) !important; }
.jfb-nav.jfb-nav-v41 .jfb-navbar a.jfb-nav-home:not(.is-active):hover { background: rgba(255,255,255,.14) !important; color: #fff !important; }
.jfb-nav.jfb-nav-v41 .jfb-navbar a.jfb-nav-home.is-active, .jfb-nav.jfb-nav-v41 .jfb-navbar a.jfb-nav-home.is-active:visited { background: #fff !important; color: #0a2f6b !important; border: 1.5px solid #fff !important; }
.jfb-nav.jfb-nav-v41 .jfb-nav-counter { margin-left: 10px !important; }
@media (max-width: 860px) {
	.jfb-nav.jfb-nav-v41 .jfb-navbar { justify-content: flex-start !important; }
	.jfb-nav.jfb-nav-v41 .jfb-navbar a.jfb-nav-home:not(.is-active) { color: #071b3a !important; border-color: #dfe8f5 !important; }
}

/* Bouton flottant « Nous joindre » avec 3 choix */
.jfb-float-sms { display: none !important; }
.jfb-fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.jfb-fab-btn { display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; background: #0966e9; color: #fff; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; box-shadow: 0 10px 24px rgba(9,102,233,.4); transition: transform .2s ease, background .2s ease; }
.jfb-fab-btn:hover { background: #0852b8; transform: translateY(-2px); }
.jfb-fab-btn .jfb-ico { color: #fff !important; }
.jfb-fab-menu { width: 320px; max-width: calc(100vw - 28px); background: #fff; border: 1px solid #dfe8f5; border-radius: 20px 20px 6px 20px; padding: 14px; box-shadow: 0 22px 50px rgba(7,27,58,.28); animation: jfbPop .2s ease-out; }
.jfb-fab-menu[hidden] { display: none !important; }
.jfb-fab-title { margin: 2px 4px 10px; font-weight: 800; color: #071b3a; }
.jfb-fab-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: #071b3a !important; }
.jfb-fab-item:hover { background: #f2f6fc; }
.jfb-fab-item strong { display: block; font-size: 15px; color: #071b3a; }
.jfb-fab-item small { display: block; font-size: 13px; color: #4a5a72; }
.jfb-fab-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: 0 0 40px; }
.jfb-fab-ico .jfb-ico { color: #fff !important; }
.jfb-fab-ico.is-blue { background: #0966e9; } .jfb-fab-ico.is-green { background: #16a34a; } .jfb-fab-ico.is-purple { background: #7c3aed; }
.jfb-fab-copy { width: 100%; margin-top: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px; border: 1px dashed #c9d8f5; border-radius: 10px; background: #f8fbff; color: #0a3f8f; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
@media (max-width: 860px) { .jfb-fab { bottom: 84px; right: 14px; } .jfb-fab-btn { height: 50px; padding: 0 16px; font-size: 15px; } }

/* Carte Google Maps */
.jfb-map { margin: 30px 0; border: 1px solid #dfe8f5; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 8px 22px rgba(7,27,58,.08); }
.jfb-map-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 16px 18px; }
.jfb-map-head strong { display: block; font-size: 19px; color: #071b3a; }
.jfb-map-head span { color: #3c4b63; font-size: 15px; }
.jfb-map-frame { position: relative; aspect-ratio: 16 / 7; min-height: 280px; }
.jfb-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }


/* =========================================================
   JFB 4.8 — logo stable partout, bouton panier, recherche
   instantanée, mobile repensé, boutique compacte
   ========================================================= */

/* Logo : mêmes dimensions sur TOUTES les pages (panier, produit…) */
header.jfb-head a.jfb-brand-duo img.jfb-logo-round { width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; object-fit: contain !important; border-radius: 50% !important; }
header.jfb-head a.jfb-brand-duo .jfb-logo-round-wrap { overflow: visible; }
header.jfb-head a.jfb-brand-duo img.jfb-logo-devices { height: 70px !important; width: auto !important; max-width: none !important; max-height: none !important; }
@media (max-width: 1500px) { header.jfb-head a.jfb-brand-duo img.jfb-logo-devices { height: 60px !important; } }

/* Facebook */
.jfb-top-chip.c-fb i { background: #1877f2; }
a.jfb-top-chip { color: #fff !important; }
.jfb-fab-ico.is-fb { background: #1877f2; }

/* Recherche instantanée */
.jfb-head .jfb-search-pill { z-index: 95; }
.jfb-live { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 200; background: #fff; border: 1px solid #dfe8f5; border-radius: 16px; box-shadow: 0 22px 50px rgba(7,27,58,.25); padding: 8px; max-height: 70vh; overflow-y: auto; }
.jfb-live[hidden] { display: none !important; }
.jfb-live-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: #071b3a !important; }
.jfb-live-item:hover, .jfb-live-item.is-active { background: #eef4ff; }
.jfb-live-item img, .jfb-live-noimg { width: 46px; height: 46px; object-fit: contain; border-radius: 8px; background: #f3f6fb; flex: 0 0 46px; }
.jfb-live-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.jfb-live-txt strong { font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jfb-live-txt small { font-size: 12.5px; color: #16a34a; font-weight: 600; }
.jfb-live-item b { font-weight: 800; color: #0a3f8f; white-space: nowrap; }
.jfb-live-empty { margin: 0; padding: 12px; color: #4a5a72; font-size: 14px; }
.jfb-live-all { width: 100%; margin-top: 6px; padding: 10px; border: 0; border-radius: 10px; background: #0966e9; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }

/* Bouton « Ajouter au panier » : bleu, icône panier, format boutique */
.woocommerce div.product form.cart { align-items: center; }
.woocommerce div.product form.cart .single_add_to_cart_button, .woocommerce button.button.alt, .woocommerce a.button.alt { flex: 0 0 auto !important; width: auto !important; min-width: 0 !important; display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; height: 52px !important; padding: 0 30px !important; border-radius: 14px !important; background: linear-gradient(180deg, #1a78f2, #0857c7) !important; border: 0 !important; color: #fff !important; font-weight: 800 !important; font-size: 16px !important; box-shadow: 0 6px 0 #063f91, 0 12px 22px rgba(9,102,233,.3) !important; transition: transform .15s ease, box-shadow .15s ease !important; }
.woocommerce div.product form.cart .single_add_to_cart_button::before { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M3 4h2l2.4 11.2a1 1 0 0 0 1 .8h9.2a1 1 0 0 0 1-.8L20 8H6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M3 4h2l2.4 11.2a1 1 0 0 0 1 .8h9.2a1 1 0 0 0 1-.8L20 8H6'/%3E%3C/svg%3E") center / contain no-repeat; }
.woocommerce div.product form.cart .single_add_to_cart_button:hover, .woocommerce button.button.alt:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #063f91, 0 16px 26px rgba(9,102,233,.35) !important; }
.woocommerce div.product form.cart .single_add_to_cart_button:active { transform: translateY(3px); box-shadow: 0 2px 0 #063f91 !important; }

/* Carrousel : format fixe 1920 × 672 sur ordinateur, 4:3 sur cellulaire */
.jfb-home section.jfb-carousel .jfb-slide { height: auto !important; aspect-ratio: 1920 / 672 !important; max-height: 640px; }
.jfb-home section.jfb-carousel .jfb-slide-full-image picture { display: block; width: 100%; height: 100%; }
@media (max-width: 860px) {
	.jfb-home section.jfb-carousel .jfb-slide { aspect-ratio: 4 / 3 !important; max-height: none; }
}

/* Boutique : bande d'icônes de catégories */
.jfb-shopcats { margin: 4px 0 18px; }
.jfb-shopcats-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.jfb-shopcat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border: 1px solid #dfe8f5; border-radius: 14px; background: #fff; color: #071b3a !important; font-weight: 700; font-size: 14px; text-align: center; line-height: 1.2; transition: transform .15s ease, border-color .15s ease; }
.jfb-shopcat:hover { transform: translateY(-2px); border-color: #0966e9; }
.jfb-shopcat.is-on { border-color: #0966e9; background: #eef4ff; box-shadow: inset 0 0 0 1px #0966e9; }
.jfb-shopcat-ico { width: 46px; height: 46px; border-radius: 12px; background: #eef4ff; color: #0966e9; display: grid; place-items: center; }
.jfb-shopcat-ico img { width: 40px; height: 40px; object-fit: contain; }
.jfb-shopcat.is-new .jfb-shopcat-ico { background: #fff4d6; color: #b26a00; }

/* ---------- Cellulaire : en-tête repensé ---------- */
@media (max-width: 860px) {
	/* barre du haut : une seule petite ligne */
	.jfb-topbar.jfb-topbar-v4 .wrap { flex-wrap: nowrap !important; justify-content: flex-start !important; overflow-x: auto; scrollbar-width: none; padding-top: 6px !important; padding-bottom: 6px !important; }
	.jfb-topbar.jfb-topbar-v4 .wrap::-webkit-scrollbar { display: none; }
	.jfb-topbar-v4 .jfb-topbar-left { flex-wrap: nowrap !important; justify-content: flex-start !important; width: auto !important; gap: 6px !important; }
	.jfb-top-address, .jfb-top-hours { padding: 3px 9px !important; }
	.jfb-top-address strong, .jfb-top-hours strong, .jfb-top-hours { font-size: 12px !important; }
	.jfb-top-hours .jfb-ico, .jfb-top-address .jfb-ico { width: 13px; height: 13px; }
	/* logo + panier + menu sur la même ligne, recherche pleine largeur dessous */
	.jfb-head .wrap { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand actions" "search search"; gap: 8px 10px !important; padding-top: 8px !important; padding-bottom: 10px !important; min-height: 0 !important; }
	.jfb-head .jfb-brand-duo { grid-area: brand; min-width: 0; }
	.jfb-head .jfb-head-actions { grid-area: actions; margin: 0 !important; gap: 6px !important; display: flex; align-items: center; }
	.jfb-head .jfb-search-pill { grid-area: search; max-width: none !important; width: 100%; margin: 0 !important; }
	.jfb-head .jfb-search-pill input[type="search"] { height: 44px !important; font-size: 16px; }
	.jfb-head .jfb-cart-pill { width: 44px !important; height: 44px !important; padding: 0 !important; justify-content: center; border-radius: 12px !important; }
	.jfb-head .jfb-cart-pill .jfb-cart-lines { display: none !important; }
	.jfb-head .jfb-burger { width: 44px !important; height: 44px !important; }
	header.jfb-head a.jfb-brand-duo .jfb-logo-round-wrap { width: 50px !important; height: 50px !important; }
	.jfb-sl-top { font-size: clamp(12px, 3.6vw, 15px) !important; gap: 5px !important; }
	.jfb-sl-row { display: none !important; }
	/* marques : toutes visibles, sur plusieurs lignes */
	.jfb-brand-scroll-inner { flex-wrap: wrap !important; overflow: visible !important; gap: 6px !important; padding: 10px 14px !important; }
	.jfb-brand-scroll .jfb-chip { min-height: 34px !important; padding: 5px 12px !important; font-size: 14px !important; }
	/* boutique : catégories en rangée qui glisse, plus compactes */
	.jfb-shopcats-track { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; gap: 8px; padding-bottom: 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
	.jfb-shopcats-track::-webkit-scrollbar { display: none; }
	.jfb-shopcat { flex: 0 0 86px; padding: 8px 4px; font-size: 12.5px; scroll-snap-align: start; }
	.jfb-shopcat-ico { width: 38px; height: 38px; }
	.woocommerce div.product form.cart .single_add_to_cart_button { width: 100% !important; }
}

/* 4.8.1 — cellulaire : adresse et heures empilées, rien ne déborde */
@media (max-width: 860px) {
	.jfb-topbar.jfb-topbar-v4 .wrap { overflow: visible !important; justify-content: center !important; flex-wrap: wrap !important; }
	.jfb-topbar-v4 .jfb-topbar-left { flex-direction: column !important; align-items: center !important; width: 100% !important; gap: 5px !important; }
	.jfb-top-address, .jfb-top-hours { max-width: 100%; justify-content: center; }
	.jfb-top-address strong, .jfb-top-hours, .jfb-top-hours strong { font-size: 12.5px !important; white-space: nowrap; }
	.jfb-hours-label { display: none; }
}
@media (max-width: 360px) {
	.jfb-top-address strong, .jfb-top-hours, .jfb-top-hours strong { font-size: 11.5px !important; }
}

/* 4.8.2 — cellulaire : adresse + heures en entier, engagements qui défilent */
.jfb-mtick { display: none; }
@media (max-width: 860px) {
	.jfb-topbar.jfb-topbar-v4 .wrap { overflow: visible !important; justify-content: center !important; flex-wrap: wrap !important; padding-top: 7px !important; padding-bottom: 5px !important; }
	.jfb-topbar-v4 .jfb-topbar-left { flex-direction: column !important; align-items: center !important; width: 100% !important; gap: 5px !important; padding-left: 0 !important; }
	.jfb-top-address, .jfb-top-hours { max-width: 100% !important; justify-content: center; padding: 3px 10px !important; }
	.jfb-top-address strong, .jfb-top-hours, .jfb-top-hours strong { font-size: 12.5px !important; white-space: nowrap; }
	.jfb-hours-label { display: none !important; }
	.jfb-topbar-v4 .jfb-topbar-right { display: none !important; }
	.jfb-mtick { display: block; overflow: hidden; background: #0b2c63; padding: 6px 0 7px; position: relative; z-index: 59; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
	.jfb-mtick-track { display: flex; width: max-content; animation: jfbTicker 26s linear infinite; }
	.jfb-mtick:hover .jfb-mtick-track, .jfb-mtick:focus-within .jfb-mtick-track { animation-play-state: paused; }
	.jfb-mtick-set { display: flex; gap: 6px; padding-right: 6px; }
	.jfb-mtick .jfb-top-chip { height: 24px; font-size: 12px; }
	.jfb-mtick .jfb-top-chip.c-sms { background: #fff; color: #071b3a !important; border-color: #fff; }
	.jfb-mtick .jfb-top-chip.c-sms i { background: #0966e9; }
}
@keyframes jfbTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
	.jfb-mtick { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.jfb-mtick-track { animation: none; }
	.jfb-mtick-set[aria-hidden="true"] { display: none; }
}
@media (max-width: 360px) { .jfb-top-address strong, .jfb-top-hours, .jfb-top-hours strong { font-size: 11.5px !important; } }

/* 4.8.3 — carrousel : la piste ne se coupe plus elle-même (affiches 2 à 8 visibles) */
.jfb-home section.jfb-carousel .jfb-viewport { position: relative; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(7,27,58,.12); }
.jfb-home section.jfb-carousel .jfb-slides, .jfb-home .jfb-carousel .jfb-slides, .jfb-home .jfb-slides { overflow: visible !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; width: 100% !important; }
.jfb-home section.jfb-carousel .jfb-slide { flex: 0 0 100% !important; width: 100% !important; }
@media (max-width: 860px) { .jfb-home section.jfb-carousel .jfb-viewport { border-radius: 16px; } }

/* 4.8.4 — cellulaire : même logo qu'à l'ordinateur (rond + appareils + slogan complet) */
@media (max-width: 1320px) and (min-width: 861px) {
	header.jfb-head a.jfb-brand-duo img.jfb-logo-devices { display: block !important; height: 52px !important; }
	.jfb-sl-row .jfb-sl-red { display: inline-flex !important; }
	.jfb-sl-pill, .jfb-sl-red { font-size: 10.5px !important; height: 22px !important; padding: 0 7px !important; }
	.jfb-sl-top { font-size: 18px !important; }
}
@media (max-width: 860px) {
	.jfb-head .wrap { grid-template-columns: minmax(0, 1fr) auto !important; grid-template-areas: "brand brand" "search actions" !important; row-gap: 10px !important; }
	.jfb-head .jfb-brand-duo { justify-content: center; width: 100%; gap: 8px !important; }
	header.jfb-head a.jfb-brand-duo .jfb-logo-round-wrap { width: 62px !important; height: 62px !important; flex: 0 0 62px; }
	header.jfb-head a.jfb-brand-duo img.jfb-logo-devices { display: block !important; height: 48px !important; width: auto !important; flex: 0 0 auto; }
	.jfb-slogan-html { min-width: 0; gap: 4px !important; }
	.jfb-sl-top { font-size: clamp(11px, 3.3vw, 15px) !important; gap: 4px !important; }
	.jfb-sl-top i { width: 5px !important; height: 5px !important; }
	.jfb-sl-row { display: flex !important; flex-wrap: wrap; gap: 3px !important; }
	.jfb-sl-row .jfb-sl-red { display: inline-flex !important; }
	.jfb-sl-pill, .jfb-sl-red { font-size: clamp(8px, 2.4vw, 10px) !important; height: 18px !important; padding: 0 6px !important; gap: 3px !important; border-radius: 6px !important; }
	.jfb-sl-pill .jfb-ico { width: 10px; height: 10px; }
	.jfb-head .jfb-search-pill { grid-area: search; }
	.jfb-head .jfb-head-actions { grid-area: actions; }
}
@media (max-width: 380px) {
	header.jfb-head a.jfb-brand-duo .jfb-logo-round-wrap { width: 54px !important; height: 54px !important; flex-basis: 54px; }
	header.jfb-head a.jfb-brand-duo img.jfb-logo-devices { height: 40px !important; }
}

/* 4.9 — avis prix, mode comptoir 8 par ligne avec zoom */
.jfb-note { margin: 16px 0; padding: 14px 16px; border-radius: 14px; border: 1px solid #c9dbf7; background: #f2f7ff; color: #1d2f4d; font-size: 15px; line-height: 1.5; }
.jfb-note-warn { background: #fff7e8; border-color: #f5d79a; }
.jfb-note-title { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; color: #071b3a; font-size: 16px; }
.jfb-note ul { margin: 0; padding-left: 20px; }
.jfb-note li { margin: 4px 0; }

body.jfb-tv .woocommerce ul.products, body.jfb-tv .jfb-grid, body.jfb-tv ul.products { grid-template-columns: repeat(8, minmax(0, 1fr)) !important; gap: 14px !important; }
@media (max-width: 1700px) { body.jfb-tv .woocommerce ul.products, body.jfb-tv .jfb-grid, body.jfb-tv ul.products { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; } }
@media (max-width: 1200px) { body.jfb-tv .woocommerce ul.products, body.jfb-tv .jfb-grid, body.jfb-tv ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
body.jfb-tv .jfb-card-add, body.jfb-tv .add_to_cart_button, body.jfb-tv .woocommerce ul.products li.product .button { display: none !important; }
body.jfb-tv .woocommerce ul.products li.product, body.jfb-tv .jfb-card { position: relative; transition: transform .25s ease, box-shadow .25s ease !important; transform-origin: center; }
body.jfb-tv .woocommerce ul.products li.product:hover, body.jfb-tv .jfb-card:hover, body.jfb-tv .jfb-card:focus-within { transform: scale(1.14) !important; z-index: 20; box-shadow: 0 24px 50px rgba(7,27,58,.3) !important; }
body.jfb-tv .woocommerce ul.products li.product .woocommerce-loop-product__title, body.jfb-tv .jfb-card h3 { font-size: 16px !important; line-height: 1.25 !important; }
body.jfb-tv .woocommerce ul.products li.product .price, body.jfb-tv .jfb-card-price { font-size: 20px !important; }
body.jfb-tv .jfb-card-badges .jfb-badge { font-size: 11px; padding: 3px 7px; }

/* 4.9.2 — prix : rien d'affiché avant la recherche, cartes lisibles */
.jfb-pt-hint { margin: 14px 0 6px; padding: 16px; border: 2px dashed #c9dbf7; border-radius: 14px; background: #f8fbff; color: #0a3f8f; font-weight: 700; text-align: center; }
.jfb-pt-hint[hidden], .jfb-pt-row[hidden] { display: none !important; }
.jfb-model-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important; gap: 14px !important; margin-top: 14px; }
.jfb-model-card { display: block !important; padding: 0 !important; border: 1px solid #dfe8f5 !important; border-radius: 16px !important; background: #fff !important; overflow: hidden; box-shadow: 0 6px 18px rgba(7,27,58,.06); }
.jfb-model-card header { display: block !important; width: auto !important; padding: 12px 16px !important; background: linear-gradient(135deg, #0966e9, #0a3f8f) !important; color: #fff !important; border-radius: 0 !important; }
.jfb-model-card header span { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .85; color: #fff !important; }
.jfb-model-card header h2 { margin: 2px 0 0 !important; font-size: 19px !important; color: #fff !important; line-height: 1.2; background: none !important; box-shadow: none !important; padding: 0 !important; display: block !important; border-radius: 0 !important; }
.jfb-model-card header h2::before { display: none !important; }
.jfb-model-card ul { list-style: none; margin: 0 !important; padding: 6px 16px 10px !important; }
.jfb-model-card li { display: flex !important; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 0 !important; border-bottom: 1px solid #eef3fa; font-size: 15px; }
.jfb-model-card li:last-child { border-bottom: 0; }
.jfb-model-card li span { color: #24364f; text-transform: none; }
.jfb-model-card li strong { color: #0a3f8f; font-weight: 800; white-space: nowrap; }

/* 4.9.3 */
.jfb-sell-form { margin-top: 26px; padding: 20px; border: 1px solid #dfe8f5; border-radius: 16px; background: #fff; }
.jfb-sell-form h2 { font-size: 20px !important; margin: 0 0 12px !important; }

/* 4.9.4 — prix « 195,46 $ » sur une ligne, choix de l'état pour le rachat */
.jfb-money { white-space: nowrap; }
.jfb-price-list li strong { white-space: nowrap; }
.jfb-cond-box { margin: 10px 0 14px; }
.jfb-cond-ask { margin: 0 0 8px; color: #071b3a; }
.jfb-cond-ask span { color: #4a5a72; font-size: 14px; }
.jfb-cond-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.jfb-cond-chip { padding: 9px 14px; border: 2px solid #c9d8f5; border-radius: 999px; background: #fff; color: #071b3a; font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; transition: all .15s ease; }
.jfb-cond-chip:hover { border-color: #0966e9; }
.jfb-cond-chip.is-on { background: #0966e9; border-color: #0966e9; color: #fff; }
.jfb-cond-state { margin: 6px 0 0; font-size: 14px; color: #0a3f8f; font-weight: 600; }
