/* ============================================================
   Install24 — boutique en ligne de chauffe-eau installés en 24h
   Vanilla CSS. Palette : orange #FF6900, anthracite #1a1a1a.
   ============================================================ */
:root {
    --primary: #FF6900;
    --primary-dark: #e85f00;
    --primary-light: #fff4eb;
    --secondary: #28A0FD;
    --dark: #1a1a1a;
    --gray-900: #2c2c2c;
    --gray-700: #555;
    --gray-500: #777;
    --gray-300: #dcdce6;
    --gray-200: #eceef3;
    --gray-100: #f5f6fa;
    --white: #ffffff;
    --green: #00b67a;
    --yellow: #ffb400;
    --red: #d93025;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.06);
    --shadow: 0 8px 24px rgba(26, 26, 26, 0.08);
    --shadow-lg: 0 20px 50px rgba(26, 26, 26, 0.15);
    --shadow-orange: 0 10px 25px rgba(255, 105, 0, 0.3);
    --font-logo: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: min(1180px, 100% - 40px); margin: 0 auto; }
@media (max-width: 600px) { .container { width: calc(100% - 32px); } }
.accent { color: var(--primary); }
.muted { color: var(--gray-500); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* --------- Boutons --------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 24px; border-radius: var(--radius); font-weight: 700; font-size: 15px;
    border: 2px solid transparent; cursor: pointer; transition: all 0.2s; line-height: 1.2; text-align: center;
}
.btn-primary { background: var(--primary); color: var(--white); box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary { background: var(--white); color: var(--dark); border-color: var(--gray-300); }
.btn-secondary:hover { border-color: var(--dark); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--dark); }
.btn-white:hover { background: var(--gray-100); }
.btn-ghost { background: rgba(255,255,255,0.12); color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); }
.btn.full { width: 100%; }
.btn.big { padding: 16px 30px; font-size: 17px; }
.btn.sm { padding: 9px 14px; font-size: 14px; border-radius: 8px; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* --------- Barre haute --------- */
.topbar { background: var(--dark); color: #d8d8de; font-size: 13px; }
.topbar-inner { display: flex; justify-content: center; gap: 32px; padding: 8px 0; flex-wrap: wrap; }
.topbar-inner span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-inner svg { width: 14px; height: 14px; color: var(--primary); }

/* --------- Header --------- */
.header { position: sticky; top: 0; background: var(--white); border-bottom: 1px solid var(--gray-300); z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.logo { display: inline-flex; align-items: center; line-height: 1; }
.logo .wm {
    position: relative; display: inline-block; font-family: var(--font-logo); font-weight: 900; font-size: 38px;
    letter-spacing: -0.04em; color: var(--dark); line-height: 1; padding-top: 0.04em;
}
.logo .wm strong { color: var(--primary); font-weight: 900; }
.logo .wm .i { position: relative; display: inline-block; }
.logo .wm .i::before { content: ""; position: absolute; width: 0.2em; height: 0.2em; border-radius: 50%; background: #FF6900; left: calc(50% + 0.02em); margin-left: -0.1em; top: 0.09em; }
.footer-logo .wm { color: var(--white); }
.nav { display: flex; gap: 28px; flex: 1; justify-content: center; }
.nav a { font-size: 15px; font-weight: 600; color: var(--gray-700); transition: color 0.2s; white-space: nowrap; }
.nav a:hover, .nav a.on { color: var(--primary); }
.header-phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--dark); white-space: nowrap; }
.header-phone .phone-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; }
.header-phone .phone-icon svg { width: 18px; height: 18px; }
.header-phone small { display: block; font-size: 11px; font-weight: 600; color: var(--gray-500); letter-spacing: 0.06em; text-transform: uppercase; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; }

/* --------- Hero --------- */
.hero { background: linear-gradient(180deg, var(--primary-light) 0%, var(--white) 100%); padding: 56px 0 48px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--gray-300); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 20px; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(0,182,122,0.2); }
.hero h1 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 18px; text-wrap: balance; }
.hero-desc { font-size: 18px; color: var(--gray-700); max-width: 56ch; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-item .trust-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--white); box-shadow: var(--shadow-sm); display: inline-flex; align-items: center; justify-content: center; color: var(--primary); }
.trust-item .trust-icon svg { width: 20px; height: 20px; }
.trust-item strong { display: block; font-size: 16px; line-height: 1.2; }
.trust-item span { font-size: 13px; color: var(--gray-500); }
.hero-visual { position: relative; }
.hero-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 24px; }
.hero-pill { display: inline-block; background: var(--dark); color: var(--white); border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.hero-card-product { display: flex; gap: 18px; align-items: center; }
.hero-card-product .product-img { width: 120px; height: 120px; border-radius: 12px; background: var(--white); border: 1px solid var(--gray-300); flex-shrink: 0; overflow: hidden; }
.hero-card-product .product-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; box-sizing: border-box; display: block; }
.hero-card-product h3 { font-size: 18px; line-height: 1.25; margin-bottom: 4px; }
.hero-card-product p { color: var(--gray-500); font-size: 14px; margin-bottom: 8px; }
.product-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-from { font-size: 12px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.06em; }
.price-amount { font-size: 28px; font-weight: 800; color: var(--primary); letter-spacing: -0.02em; }
.price-amount small { font-size: 13px; font-weight: 600; color: var(--gray-500); margin-left: 4px; }
.hero-card-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0; font-size: 14px; color: var(--gray-700); }
.hero-card-features div::before { content: "✓ "; color: var(--green); font-weight: 800; }
.hero-card .btn { margin-top: 4px; }

/* --------- Sections --------- */
section { padding: 64px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.section-title { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.section-sub { color: var(--gray-500); font-size: 17px; margin-top: 6px; }
.section-link { font-weight: 700; color: var(--primary); white-space: nowrap; }
.section-link:hover { text-decoration: underline; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }
.gray { background: var(--gray-100); }

/* --------- Catégories --------- */
.cats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.cat-card { background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius-lg); padding: 18px; display: flex; flex-direction: column; gap: 6px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--primary); }
.cat-card img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 12px; background: var(--primary-light); margin-bottom: 8px; }
.cat-card h3 { font-size: 17px; line-height: 1.25; }
.cat-card p { font-size: 13.5px; color: var(--gray-500); flex: 1; }
.cat-card .cat-count { font-size: 13px; font-weight: 700; color: var(--primary); margin-top: 6px; }

/* --------- Cartes produit --------- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.product-card { background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius-lg); display: flex; flex-direction: column; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; position: relative; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card .pc-img { display: block; aspect-ratio: 1; background: var(--white); border-bottom: 1px solid var(--gray-100); overflow: hidden; }
.product-card .pc-img img { width: 100%; height: 100%; object-fit: contain; padding: 30px; box-sizing: border-box; transition: transform 0.3s; }
.product-card:hover .pc-img img { transform: scale(1.04); }
.product-card .pc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc-brand { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-500); }
.product-card h3 { font-size: 16.5px; line-height: 1.3; }
.product-card h3 a:hover { color: var(--primary); }
.pc-short { font-size: 13.5px; color: var(--gray-700); flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-price { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.pc-price .now { font-size: 24px; font-weight: 800; color: var(--primary); letter-spacing: -0.02em; }
.pc-price .old { font-size: 14px; color: var(--gray-500); text-decoration: line-through; }
.pc-price .note { width: 100%; font-size: 12px; color: var(--gray-500); margin-top: -4px; }
.pc-actions { display: flex; gap: 8px; margin-top: 10px; }
.pc-actions .btn { flex: 1; }
.tag { position: absolute; top: 12px; left: 12px; background: var(--dark); color: var(--white); font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 999px; z-index: 1; }
.tag.promo { background: var(--primary); }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.stock.sur_commande::before { background: var(--yellow); }
.stock.rupture::before { background: var(--red); }

/* --------- Marques --------- */
.brands-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.brand-chip { background: var(--white); border: 1px solid var(--gray-300); border-radius: 999px; padding: 12px 24px; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; transition: all 0.2s; display: inline-flex; align-items: center; gap: 10px; }
.brand-chip:hover { border-color: var(--primary); color: var(--primary); }
.brand-chip small { font-weight: 600; font-size: 12px; color: var(--gray-500); }
.brand-chip img { height: 26px; width: auto; }

/* --------- Étapes --------- */
.etapes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.etape { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); position: relative; }
.etape-num { width: 44px; height: 44px; border-radius: 12px; background: var(--primary); color: var(--white); font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.etape h3 { font-size: 19px; margin-bottom: 8px; }
.etape p { color: var(--gray-700); font-size: 15px; }
.etape-time { margin-top: 14px; display: inline-block; font-size: 12px; font-weight: 700; color: var(--primary); background: var(--primary-light); padding: 4px 10px; border-radius: 999px; }

/* --------- Pourquoi --------- */
.why-inner { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 64px; align-items: start; }
.why-head { position: sticky; top: 110px; }
.why-kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.why-head .section-title { margin-bottom: 14px; }
.why-head > p { color: var(--gray-700); font-size: 16px; margin-bottom: 22px; }
.why-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.why-list { display: flex; flex-direction: column; }
.why-item { display: grid; grid-template-columns: 180px 1fr; gap: 30px; align-items: center; padding: 24px 0; border-top: 1px solid var(--gray-300); }
.why-item:last-child { border-bottom: 1px solid var(--gray-300); }
.why-ill { background: var(--primary-light); border-radius: 14px; overflow: hidden; }
.why-ill svg { width: 100%; height: auto; }
.why-num { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 4px; }
.why-item h3 { font-size: 20px; margin-bottom: 6px; }
.why-item p { font-size: 15px; color: var(--gray-700); max-width: 540px; }

/* --------- Avis --------- */
.avis-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.avis-score { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.stars, .big-stars { color: var(--yellow); letter-spacing: 2px; }
.big-stars { font-size: 24px; }
.avis-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.avis-card { background: var(--white); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.avis-card p { font-size: 15px; color: var(--gray-900); flex: 1; }
.avis-author { font-size: 13px; font-weight: 700; color: var(--gray-500); }

/* --------- Zone --------- */
.zone-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.zone p { color: var(--gray-700); margin: 12px 0; }
.zone-dpts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.zone-dpts span { background: var(--gray-100); border-radius: 999px; padding: 6px 14px; font-size: 13.5px; font-weight: 600; }
.zone-card { background: var(--dark); color: var(--white); border-radius: var(--radius-lg); padding: 32px; text-align: center; }
.zone-card .zone-ico { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; }
.zone-card .zone-ico svg { width: 26px; height: 26px; }
.zone-card h3 { font-size: 22px; margin-bottom: 6px; }
.zone-card p { color: #c8c8d0; margin-bottom: 18px; }
.zone-card .btn + .btn { margin-top: 10px; }

/* --------- FAQ --------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-list details { background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius); padding: 0 20px; }
.faq-list summary { cursor: pointer; font-weight: 700; font-size: 16px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 22px; color: var(--primary); line-height: 1; flex-shrink: 0; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 0 18px; color: var(--gray-700); font-size: 15px; }

/* --------- CTA final --------- */
.final-cta { background: linear-gradient(135deg, var(--primary) 0%, #ff8a2b 100%); color: var(--white); text-align: center; }
.final-cta h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; }
.final-cta p { font-size: 17px; opacity: 0.95; margin-bottom: 24px; }
.final-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* --------- Footer --------- */
.footer { background: var(--dark); color: #c8c8d0; padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { margin-bottom: 16px; }
.footer p { font-size: 14px; }
.footer h4 { color: var(--white); margin-bottom: 14px; font-size: 16px; }
.footer ul li { padding: 5px 0; font-size: 14px; }
.footer ul a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* --------- Sticky mobile --------- */
.sticky-mobile { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: var(--white); border-top: 1px solid var(--gray-300); padding: 10px 12px; gap: 10px; }
.sticky-mobile a { flex: 1; text-align: center; padding: 12px; border-radius: var(--radius); font-weight: 700; font-size: 15px; }
.sticky-call { background: var(--dark); color: var(--white); }
.sticky-form { background: var(--primary); color: var(--white); }

/* --------- Formulaires --------- */
.form { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.form-title { font-size: 20px; margin-bottom: 4px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { padding: 12px 14px; border: 1.5px solid var(--gray-300); border-radius: 8px; font-size: 15px; background: var(--white); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,105,0,0.15); }
.form textarea { min-height: 80px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-foot { font-size: 12.5px; color: var(--gray-500); text-align: center; }
.form-feedback { font-size: 14px; font-weight: 600; text-align: center; min-height: 1em; }
.form-feedback.ok { color: var(--green); }
.form-feedback.err { color: var(--red); }
.form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-section { background: var(--gray-100); }
.form-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.form-left h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; margin-bottom: 14px; }
.form-left p { color: var(--gray-700); font-size: 16px; margin-bottom: 18px; }
.form-bullets li { padding: 5px 0; font-size: 15px; }
.form-bullets li::before { content: "✓ "; color: var(--green); font-weight: 800; }
.form-rating { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; }

/* --------- Menu catégories (sous l'en-tête) --------- */
.catnav { background: var(--white); border-bottom: 1px solid var(--gray-300); box-shadow: 0 2px 10px rgba(26,26,26,0.04); position: relative; z-index: 90; }
.catnav-inner { display: flex; align-items: stretch; gap: 2px; overflow-x: auto; scrollbar-width: none; min-height: 50px; }
.catnav-inner::-webkit-scrollbar { display: none; }
.catnav a { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; padding: 14px 12px; font-size: 14px; font-weight: 700; color: var(--gray-900); white-space: nowrap; border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; }
.catnav a:hover { color: var(--primary); }
.catnav a.on { color: var(--primary); border-bottom-color: var(--primary); }

/* --------- Page catalogue --------- */
.page-head { background: var(--gray-100); padding: 32px 0 24px; }
.breadcrumb { font-size: 13px; color: var(--gray-500); margin-bottom: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--primary); }
.page-head h1 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -0.02em; }
.page-head p { color: var(--gray-700); margin-top: 8px; max-width: 80ch; }
.catalogue { padding: 28px 0 64px; }
.catalogue-layout { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; }
.filters-panel { background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius-lg); padding: 18px 20px; position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow-y: auto; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.filters-head h2 { font-size: 18px; }
.filters-close { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--gray-500); }
.filter-group { padding: 14px 0; border-top: 1px solid var(--gray-200); }
.filter-group h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-500); margin-bottom: 10px; }
.filter-list { display: flex; flex-direction: column; gap: 2px; }
.filter-list li { display: block; }
.f-item { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; transition: background .15s; }
.f-item:hover { background: var(--gray-100); }
.f-item.on { background: var(--primary-light); color: var(--primary); font-weight: 700; }
.f-item .n { font-size: 12px; color: var(--gray-500); background: var(--gray-100); border-radius: 999px; padding: 1px 8px; min-width: 26px; text-align: center; }
.f-item.on .n { background: var(--white); color: var(--primary); }
.f-check { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 8px; font-size: 14px; cursor: pointer; }
.f-check:hover { background: var(--gray-100); }
.f-check input { width: 17px; height: 17px; accent-color: var(--primary); flex-shrink: 0; }
.f-check span { flex: 1; }
.f-check .n { font-size: 12px; color: var(--gray-500); }
.f-check.dim { opacity: 0.45; }
.price-row { display: flex; align-items: center; gap: 8px; }
.price-row input { width: 100%; min-width: 0; padding: 9px 10px; border: 1.5px solid var(--gray-300); border-radius: 8px; font-size: 14px; }
.price-row input:focus { outline: none; border-color: var(--primary); }
.price-row span { color: var(--gray-500); font-size: 13px; }
.filters-panel .btn { margin-top: 14px; }
.filters-backdrop { display: none; }
.results { min-width: 0; }
.results-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.results-bar .search { flex: 1; min-width: 200px; position: relative; }
.results-bar .search input { width: 100%; padding: 11px 14px 11px 40px; border: 1.5px solid var(--gray-300); border-radius: 10px; font-size: 14.5px; background: var(--white); }
.results-bar .search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,105,0,0.12); }
.results-bar .search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--gray-500); }
.results-bar select { padding: 11px 12px; border: 1.5px solid var(--gray-300); border-radius: 10px; font-size: 14px; background: var(--white); }
.result-count { font-size: 14px; color: var(--gray-500); white-space: nowrap; }
.filters-toggle { display: none; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.active-filters:empty { display: none; }
.af { display: inline-flex; align-items: center; gap: 6px; background: var(--dark); color: var(--white); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; border: 0; }
.af:hover { background: var(--primary); }
.af.clear { background: var(--white); color: var(--gray-700); border: 1.5px solid var(--gray-300); }
.af.clear:hover { color: var(--primary); border-color: var(--primary); background: var(--white); }
.empty { padding: 48px 20px; text-align: center; color: var(--gray-500); background: var(--gray-100); border-radius: var(--radius-lg); }
@media (max-width: 900px) {
    .catalogue-layout { grid-template-columns: 1fr; }
    .filters-toggle { display: inline-flex; }
    .filters-panel { position: fixed; inset: 0 auto 0 0; width: min(340px, 88vw); max-height: none; border-radius: 0; z-index: 200; transform: translateX(-105%); transition: transform .25s; box-shadow: var(--shadow-lg); top: 0; }
    .filters-panel.open { transform: none; }
    .filters-close { display: block; }
    .filters-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 190; display: none; }
    .filters-backdrop.open { display: block; }
}
.brands-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.brand-card { border: 1px solid var(--gray-300); border-radius: var(--radius-lg); padding: 22px; background: var(--white); }
.brand-card h3 { font-size: 20px; margin-bottom: 6px; }
.brand-card p { font-size: 14px; color: var(--gray-700); margin-bottom: 12px; }
.brand-card a { font-weight: 700; color: var(--primary); }

/* --------- Page produit --------- */
.product { padding: 32px 0 56px; }
.product-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.gallery { background: var(--gray-100); border-radius: var(--radius-lg); aspect-ratio: 1; overflow: hidden; position: sticky; top: 98px; }
.gallery img { width: 100%; height: 100%; object-fit: contain; }
.product-info .pc-brand { margin-bottom: 8px; }
.product-info h1 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 12px; }
.product-info .lead { font-size: 16.5px; color: var(--gray-700); margin-bottom: 18px; }
.features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.features li { display: flex; gap: 10px; font-size: 15px; }
.features li::before { content: "✓"; color: var(--green); font-weight: 800; flex-shrink: 0; }
.buy-box { background: var(--white); border: 1.5px solid var(--gray-300); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.buy-box .pc-price .now { font-size: 36px; }
.buy-box .pc-price .old { font-size: 17px; }
.buy-box .incl { margin: 14px 0; font-size: 14px; color: var(--gray-700); display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.buy-box .incl div::before { content: "✓ "; color: var(--green); font-weight: 800; }
.buy-box .btn + .btn { margin-top: 10px; }
.buy-box .pay { font-size: 12.5px; color: var(--gray-500); text-align: center; margin-top: 12px; }
.product-tabs { margin-top: 48px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; }
.product-desc h2, .specs h2 { font-size: 22px; margin-bottom: 14px; }
.product-desc p { color: var(--gray-700); font-size: 15.5px; margin-bottom: 12px; }
.specs-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.specs-table th, .specs-table td { padding: 10px 12px; border-bottom: 1px solid var(--gray-300); text-align: left; vertical-align: top; }
.specs-table th { font-weight: 600; color: var(--gray-500); width: 42%; }
.order-panel { margin-top: 48px; background: var(--gray-100); border-radius: var(--radius-lg); padding: 36px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: start; scroll-margin-top: 90px; }
.order-panel h2 { font-size: 26px; margin-bottom: 8px; }
.order-panel .recap { background: var(--white); border-radius: var(--radius); padding: 16px 18px; margin-top: 18px; display: flex; gap: 14px; align-items: center; }
.order-panel .recap img { width: 64px; height: 64px; object-fit: contain; padding: 5px; box-sizing: border-box; background: var(--white); border: 1px solid var(--gray-300); border-radius: 8px; }
.order-panel .recap strong { display: block; }
.order-panel .recap .now { color: var(--primary); font-weight: 800; font-size: 20px; }
.related { background: var(--gray-100); }
.notfound { padding: 80px 0; text-align: center; }
.notfound h1 { font-size: 30px; margin-bottom: 10px; }

/* --------- Chargement --------- */
.loading { color: var(--gray-500); font-size: 14px; padding: 30px 0; text-align: center; grid-column: 1 / -1; }

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

/* --------- Responsive --------- */
@media (max-width: 1024px) {
    .why-inner { grid-template-columns: 1fr; gap: 28px; }
    .why-head { position: static; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .nav { gap: 18px; }
}
@media (max-width: 860px) {
    .hero-inner, .zone-inner, .form-inner, .product-top, .product-tabs, .order-panel { grid-template-columns: 1fr; }
    .gallery { position: static; max-width: 460px; }
    .etapes-grid { grid-template-columns: 1fr; }
    .nav { position: absolute; top: 78px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--gray-300); flex-direction: column; gap: 0; padding: 8px 0; display: none; box-shadow: var(--shadow); }
    .nav.open { display: flex; }
    .nav a { padding: 12px 24px; }
    .burger { display: flex; }
    .header-phone .phone-number, .header-phone small { display: none; }
    .header-phone .phone-icon { width: 44px; height: 44px; }
    .header-inner { gap: 12px; }
}
@media (max-width: 600px) {
    .topbar { display: none; }
    .header-inner { height: 68px; }
    .logo .wm { font-size: 32px; }
    section { padding: 44px 0; }
    .hero { padding: 36px 0 32px; }
    .hero-trust { gap: 14px; }
    .trust-item { flex: 1; min-width: 130px; }
    .form-row { grid-template-columns: 1fr; }
    .why-item { grid-template-columns: 1fr; gap: 14px; }
    .why-ill { max-width: 240px; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .sticky-mobile { display: flex; }
    body { padding-bottom: 70px; }
    .order-panel { padding: 22px; }
    .hero-card-features { grid-template-columns: 1fr; }
    .buy-box .incl { grid-template-columns: 1fr; }
}

/* --------- SEO : textes d'introduction et guide des pages catégorie / marque --------- */
.seo-intro { margin-top: 14px; max-width: 86ch; }
.seo-intro p { color: var(--gray-700); font-size: 15px; margin-top: 8px; }
.seo-guide { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--gray-300); max-width: 86ch; }
.seo-guide h2 { font-size: 22px; letter-spacing: -0.01em; margin-bottom: 12px; }
.seo-guide p { color: var(--gray-700); font-size: 15px; margin-bottom: 12px; }
.seo-links { font-size: 14px; line-height: 1.9; }
.seo-links a { color: var(--primary); font-weight: 600; }
.brand-card h3 a:hover { color: var(--primary); }

/* --------- En-tête : barre de recherche + avis clients --------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hsearch { flex: 1; max-width: 560px; margin: 0 auto; display: flex; align-items: center; height: 48px; padding: 0 4px 0 0; border: 2px solid var(--gray-300); border-radius: 999px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.hsearch:hover { border-color: #c4c4d0; }
.hsearch:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255, 105, 0, .12); }
.hsearch input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; padding: 0 16px 0 20px; font: inherit; font-size: 15px; color: var(--dark); }
.hsearch input::placeholder { color: #8a8a96; }
.hsearch button { flex: none; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.hsearch button:hover { background: var(--primary-dark, #e85f00); }
.hsearch button svg { width: 18px; height: 18px; }
.hreviews { flex: none; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; text-decoration: none; line-height: 1; }
.hr-title { font-family: "Lobster", cursive; font-size: 19px; color: var(--primary); line-height: 1; }
.hr-stars { display: flex; gap: 2px; }
.hr-star { width: 19px; height: 19px; border-radius: 3px; background: linear-gradient(90deg, var(--primary) var(--f), #dcdce6 var(--f)); display: inline-flex; align-items: center; justify-content: center; }
.hr-star svg { width: 13px; height: 13px; fill: #fff; }
.hreviews:hover .hr-title { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 980px) {
    .header-inner { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 10px; column-gap: 12px; }
    /* Ligne 1 : logo + téléphone (mis en avant) ; ligne 2 : recherche ; avis masqués */
    .header-phone, .header-cta { order: 2; margin-left: auto; }
    .hsearch { order: 3; flex: 1 1 100%; max-width: none; margin: 0; height: 40px; border-width: 1px; }
    .hsearch input { font-size: 14px; padding: 0 10px 0 14px; }
    .hsearch button { width: 32px; height: 32px; }
    .hsearch button svg { width: 15px; height: 15px; }
    .hreviews { display: none; }
    .header-phone { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: #fff; border-radius: 999px; padding: 6px 16px 6px 6px; box-shadow: 0 6px 16px rgba(255, 105, 0, .28); }
    .header-phone .phone-icon { width: 32px; height: 32px; background: rgba(255, 255, 255, .22); color: #fff; }
    .header-phone svg.phone-icon { width: 18px; height: 18px; background: none; }
    .header-phone .phone-number { display: inline; font-size: 17px; font-weight: 800; color: #fff; white-space: nowrap; }
    .header-phone small { display: none; }
    .header-cta .header-phone { padding: 9px 16px; }
}
@media (max-width: 420px) {
    .logo .wm { font-size: 27px; }
    .header-phone .phone-number { font-size: 15px; }
    .header-phone { padding-right: 13px; }
    .header-cta .header-phone { padding: 8px 13px; }
}

/* --------- Menu métiers (sous l'en-tête) : Plomberie / Chauffage / Serrurerie --------- */
.tradenav { background: var(--white); border-bottom: 1px solid var(--gray-300); box-shadow: 0 2px 10px rgba(26,26,26,0.04); position: relative; z-index: 90; }
.tradenav-inner { display: flex; align-items: stretch; gap: 4px; min-height: 50px; }
.tn-item { position: relative; display: flex; }
.tn-link, .tn-cat { display: inline-flex; align-items: center; gap: 6px; padding: 0 18px; font-size: 15px; font-weight: 800; color: var(--gray-900); text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
.tn-link svg { width: 12px; height: 12px; opacity: .6; transition: transform .2s; }
.tn-cat { margin-left: auto; font-weight: 700; font-size: 14px; color: var(--gray-700); }
.tn-link:hover, .tn-cat:hover, .tn-item.on .tn-link { color: var(--primary); }
.tn-item.on .tn-link { border-bottom-color: var(--primary); }
.tn-drop { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--white); border: 1px solid var(--gray-300); border-radius: 0 0 12px 12px; box-shadow: var(--shadow); padding: 8px; flex-direction: column; }
.tn-drop a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--gray-900); text-decoration: none; }
.tn-drop a small { font-size: 12px; font-weight: 700; color: var(--gray-500); background: var(--gray-100); border-radius: 999px; padding: 2px 8px; }
.tn-drop a:hover, .tn-drop a.on { background: var(--primary-light, #fff4eb); color: var(--primary); }
.tn-drop .tn-all { margin-top: 4px; border-top: 1px solid var(--gray-200, #eceef3); border-radius: 0 0 8px 8px; color: var(--primary); font-weight: 700; }
@media (hover: hover) {
    .tn-item:hover .tn-drop, .tn-item:focus-within .tn-drop { display: flex; }
    .tn-item:hover .tn-link svg { transform: rotate(180deg); }
}
@media (max-width: 600px) {
    .tradenav-inner { gap: 0; min-height: 46px; overflow-x: auto; scrollbar-width: none; }
    .tradenav-inner::-webkit-scrollbar { display: none; }
    .tn-link, .tn-cat { padding: 0 11px; font-size: 14px; }
    .tn-link svg { display: none; }
    .tn-cat { display: none; }
    .tn-item { flex: 1; justify-content: center; }
}
/* Pied de page : métiers en tête de groupe */
.footer-trades .ft-trade { padding-top: 10px; }
.footer-trades .ft-trade:first-child { padding-top: 0; }
.footer-trades .ft-trade a { color: var(--white); font-weight: 800; }

/* --------- Accueil : cartes des 3 métiers --------- */
.trades-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trade-card { position: relative; display: flex; flex-direction: column; gap: 18px; background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius-lg); padding: 26px 24px 24px; overflow: hidden; transition: box-shadow .2s, border-color .2s, transform .2s; }
.trade-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--primary); }
.trade-card:hover { box-shadow: var(--shadow); border-color: #ffc59c; transform: translateY(-2px); }
.trade-head { display: flex; gap: 14px; align-items: flex-start; }
.trade-ico { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--primary-light); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; }
.trade-ico svg { width: 28px; height: 28px; }
.trade-head h3 { font-size: 22px; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 4px; }
.trade-head h3 a:hover { color: var(--primary); }
.trade-head p { font-size: 14px; color: var(--gray-500); line-height: 1.45; }
.trade-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.trade-badges li { font-size: 12px; font-weight: 700; color: var(--gray-900); background: var(--gray-100); border-radius: 999px; padding: 5px 10px; }
.trade-cats { display: flex; flex-direction: column; border-top: 1px solid var(--gray-200); flex: 1; }
.trade-cats li { border-bottom: 1px solid var(--gray-200); }
.trade-cats a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 2px; font-size: 15px; font-weight: 600; color: var(--gray-900); }
.trade-cats a::after { content: "→"; color: var(--gray-300); font-weight: 700; transition: color .2s, transform .2s; }
.trade-cats a small { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--gray-500); }
.trade-cats a:hover { color: var(--primary); }
.trade-cats a:hover::after { color: var(--primary); transform: translateX(3px); }
@media (max-width: 960px) { .trades-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
@media (max-width: 600px) { .trades { padding-top: 40px; } .trade-card { padding: 22px 18px 18px; } .trade-head h3 { font-size: 20px; } }

/* --------- Page métier --------- */
.trade-hero { background: linear-gradient(180deg, var(--primary-light) 0%, var(--white) 100%); padding: 26px 0 48px; }
.trade-hero-inner { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 40px; align-items: center; margin-top: 14px; }
.trade-hero h1 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 16px; text-wrap: balance; }
.trade-hero-badges { display: flex; flex-direction: column; gap: 12px; }
.trade-hero-badges li { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--gray-300); border-radius: 12px; padding: 14px 16px; font-weight: 700; font-size: 15px; box-shadow: var(--shadow-sm); }
.trade-hero-badges svg { flex: none; width: 22px; height: 22px; color: #fff; background: var(--primary); border-radius: 50%; padding: 4px; }
.trade-args-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trade-arg { background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius-lg); padding: 22px 20px; }
.trade-arg h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.25; }
.trade-arg p { font-size: 14px; color: var(--gray-700); line-height: 1.55; }
@media (max-width: 960px) { .trade-hero-inner { grid-template-columns: 1fr; gap: 24px; } .trade-args-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .trade-hero { padding: 18px 0 36px; } .trade-args-grid { grid-template-columns: 1fr; } }

/* --------- Accueil : grands boutons métiers (liens vers les pages métier) --------- */
.trades { padding: 40px 0 24px; }
.tt-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 76px; padding: 18px 20px; border: 2px solid var(--gray-300); border-radius: 999px; background: var(--white); font-size: 22px; font-weight: 800; letter-spacing: -0.01em; color: var(--gray-900); text-align: center; transition: border-color .2s, background .2s, color .2s, box-shadow .2s, transform .2s; }
.tt-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: var(--shadow-orange); transform: translateY(-2px); }
.tt-btn:focus-visible { outline: 3px solid rgba(255, 105, 0, .35); outline-offset: 3px; }
.tt-btn small { font-size: 12px; font-weight: 700; color: var(--gray-500); background: var(--gray-100); border-radius: 999px; padding: 3px 9px; transition: background .2s, color .2s; }
.tt-btn:hover small { background: rgba(255, 255, 255, .22); color: #fff; }
.tt-soon { border-style: dashed; color: var(--gray-700); }
@media (max-width: 960px) { .tt-btn { font-size: 19px; min-height: 68px; padding: 14px 14px; } }
@media (max-width: 600px) {
    .trades { padding: 28px 0 12px; }
    .tt-list { grid-template-columns: 1fr 1fr; gap: 10px; }
    .tt-btn { font-size: 17px; min-height: 58px; padding: 12px 10px; gap: 6px; min-width: 0; }
    .tt-btn small { font-size: 11px; padding: 2px 7px; }
}
