:root {
    --bs-primary: #dc2626;
    --bs-primary-rgb: 220, 38, 38;
    --bs-link-color: #dc2626;
    --bs-link-color-rgb: 220, 38, 38;
    --bs-link-hover-color: #b91c1c;
    --bs-link-hover-color-rgb: 185, 28, 28;
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --accent: #fd7e14;
    --dark: #111111;
    --dark-2: #1c1c1c;
    --light-bg: #f8fafc;
    --border: #e2e8f0;
    --muted: #64748b;
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease: all .3s cubic-bezier(.4, 0, .2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font); color: #334155; line-height: 1.6; overflow-x: hidden; }
.bg-light { background-color: var(--light-bg) !important; }
.text-white-75 { color: rgba(255, 255, 255, .78); }

/* ---------- Top bar ---------- */
.top-bar { background: var(--dark); color: #fff; font-size: .85rem; padding: .45rem 0; }
.top-bar-text { color: #94a3b8; }
.top-bar-link { color: #fff; text-decoration: none; transition: var(--ease); }
.top-bar-link:hover { color: var(--accent); }
.pulse-dot { animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .55; } }

/* ---------- Navbar ---------- */
.navbar { background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(226, 232, 240, .8); transition: var(--ease); padding: .75rem 0; }
.navbar.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .06); padding: .45rem 0; }
.brand-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.brand-text { display: flex; flex-direction: column; }
.brand-title { font-weight: 800; font-size: 1.1rem; line-height: 1; color: var(--dark); letter-spacing: -.5px; }
.brand-subtitle { font-size: .62rem; font-weight: 700; color: var(--primary); letter-spacing: 1px; }
.nav-link { font-weight: 500; color: #475569 !important; padding: .5rem 1rem !important; transition: var(--ease); }
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }

/* ---------- Buttons ---------- */
.btn-primary-custom { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border: none; font-weight: 600; border-radius: 50px; padding: .75rem 1.75rem; transition: var(--ease); box-shadow: 0 4px 14px rgba(220, 38, 38, .25); }
.btn-primary-custom:hover, .btn-primary-custom:focus { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(220, 38, 38, .35); color: #fff; }
.btn-primary-custom.btn-sm { padding: .45rem 1.1rem; }
.btn-outline-light-custom { border: 2px solid rgba(255, 255, 255, .35); color: #fff; font-weight: 600; border-radius: 50px; padding: .75rem 1.75rem; transition: var(--ease); }
.btn-outline-light-custom:hover { background: #fff; color: var(--dark); border-color: #fff; }

/* ---------- Hero ---------- */
.hero-section { position: relative; background: url('../images/hero.jpg') center/cover no-repeat, url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1920&q=75') center/cover no-repeat, #0f172a; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 17, 17, .88) 0%, rgba(17, 17, 17, .72) 100%); }
.hero-row { min-height: calc(100vh - 110px); padding: 5rem 0; }
.hero-badge { background: rgba(220, 38, 38, .18); color: #fca5a5; border: 1px solid rgba(252, 165, 165, .3); }
.hero-stats > div { display: flex; flex-direction: column; min-width: 110px; }
.hero-stats strong { font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1.1; }
.hero-stats span { font-size: .8rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Sections ---------- */
.section-padding { padding: 6rem 0; }
.section-kicker { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--primary); margin-bottom: .5rem; }
.max-w-700 { max-width: 700px; }
.grayscale-logos img { filter: grayscale(100%); opacity: .6; transition: var(--ease); max-height: 40px; object-fit: contain; }
.grayscale-logos img:hover { filter: none; opacity: 1; }

/* ---------- Services ---------- */
.service-card { position: relative; height: 100%; padding: 2rem; background: #fff; border: 1px solid var(--border); border-radius: 1.25rem; transition: var(--ease); }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0, 0, 0, .08); border-color: var(--primary); }
.service-card h3 { font-size: 1.25rem; font-weight: 700; margin: 1.25rem 0 .6rem; color: var(--dark); }
.service-card p { color: var(--muted); margin-bottom: 0; }
.service-card.urgent { border-color: rgba(220, 53, 69, .35); }
.service-card.urgent .service-icon-wrapper { background: #fef2f2; color: #dc3545; }
.service-card.urgent p { margin-bottom: .75rem; }
.service-icon-wrapper { width: 60px; height: 60px; background: #fef2f2; color: var(--primary); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }

/* ---------- Galerie ---------- */
.gallery-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.search-box { max-width: 230px; }
.search-box .form-control, .search-box .input-group-text, .sort-select { border-radius: 50px; }
.search-box .input-group-text { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.search-box .form-control { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.sort-select { width: auto; }
.btn-filter { background: #fff; border: 1px solid var(--border); color: var(--muted); border-radius: 50px; padding: .45rem 1.2rem; font-weight: 500; font-size: .9rem; transition: var(--ease); }
.btn-filter:hover, .btn-filter.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.vehicle-card { height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); transition: var(--ease); cursor: pointer; }
.vehicle-card:hover, .vehicle-card:focus-visible { transform: translateY(-5px); box-shadow: 0 20px 30px rgba(0, 0, 0, .09); outline: none; border-color: var(--primary); }
.vehicle-card.is-sold { opacity: .6; }
.vehicle-img-wrapper { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--border); }
.vehicle-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vehicle-card:hover .vehicle-img-wrapper img { transform: scale(1.06); }
.vehicle-price-badge { position: absolute; bottom: 12px; right: 12px; background: rgba(17, 17, 17, .88); backdrop-filter: blur(8px); color: #fff; font-weight: 700; padding: .4rem .85rem; border-radius: 8px; }
.status-badge { position: absolute; top: 12px; left: 12px; padding: .4rem .7rem; }
.photo-count { position: absolute; top: 12px; right: 12px; background: rgba(17, 17, 17, .7); color: #fff; font-size: .75rem; padding: .25rem .55rem; border-radius: 6px; }
.spec-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.spec-chips span { font-size: .78rem; background: var(--light-bg); border: 1px solid var(--border); border-radius: 50px; padding: .2rem .65rem; color: #475569; }
.spec-chips i { margin-right: .35rem; color: var(--primary); }

/* ---------- Fiche véhicule ---------- */
.vehicle-carousel { border-radius: 14px; overflow: hidden; background: var(--dark); }
.vehicle-carousel .carousel-item img { aspect-ratio: 4 / 3; object-fit: cover; }
.photo-credit { position: absolute; bottom: 6px; right: 8px; font-size: .68rem; color: #fff; background: rgba(0, 0, 0, .55); padding: .1rem .45rem; border-radius: 4px; text-decoration: none; }
.thumbs { display: flex; gap: .5rem; overflow-x: auto; }
.thumbs button { flex: 0 0 84px; height: 60px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; opacity: .65; background: none; transition: var(--ease); }
.thumbs button.active, .thumbs button:hover { border-color: var(--primary); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.spec-grid > div { background: var(--light-bg); border-radius: 10px; padding: .55rem .8rem; }
.spec-grid span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.spec-grid strong { color: var(--dark); font-size: .95rem; }
.equip-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .4rem 1.5rem; }
.equip-list i { color: #198754; margin-right: .5rem; }

/* ---------- Présentation ---------- */
.icon-square { width: 48px; height: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; border-radius: 12px; background: #fef2f2; color: var(--primary); }
.icon-square.solid { background: var(--primary); color: #fff; }
.icon-square.solid.wa { background: #25d366; }
.quote-box { border-left: 4px solid var(--primary); background: #fff; padding: 1rem 1.25rem; border-radius: 0 12px 12px 0; box-shadow: 0 4px 16px rgba(0, 0, 0, .05); font-style: italic; color: #475569; margin: 0; }
.map-card { border-radius: 1.25rem; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .12); height: 420px; }
.map-card iframe { width: 100%; height: 100%; border: 0; }

/* ---------- QR ---------- */
.qr-section { background: radial-gradient(circle at 20% 0%, #3b0d0d 0%, var(--dark) 60%); }
.qr-card { display: flex; gap: 1.5rem; align-items: center; background: #fff; border-radius: 1.25rem; padding: 1.5rem; height: 100%; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.qr-box { flex: 0 0 auto; padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: #fff; line-height: 0; }
.qr-box img, .qr-box canvas { width: 140px !important; height: 140px !important; }
@media (max-width: 440px) {
    .qr-card { flex-direction: column; text-align: center; }
}

/* ---------- Contact ---------- */
.contact-dark { background: var(--dark); color: #fff; }
.contact-line { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem; }
.contact-line .label { font-size: .8rem; color: #94a3b8; }
.contact-line a { color: #fff; font-weight: 600; text-decoration: none; }
.contact-line a:hover { color: #fca5a5; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--border); }
.hours li:last-child { border-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #fff; }
.social-btn { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: var(--ease); }
.social-btn:hover { background: var(--primary); color: #fff; }
.footer-links a { color: #94a3b8; text-decoration: none; line-height: 2; transition: var(--ease); }
.footer-links a:hover { color: #fff; padding-left: 5px; }

/* ---------- Boutons flottants mobile ---------- */
.floating-actions { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: .6rem; z-index: 1030; }
.fab-btn { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.35rem; text-decoration: none; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.fab-btn.call { background: #dc3545; }
.fab-btn.wa { background: #25d366; }
.fab-btn:hover { color: #fff; transform: scale(1.06); }

@media (max-width: 767.98px) {
    .section-padding { padding: 4rem 0; }
    .gallery-toolbar > div { width: 100%; }
    .search-box { max-width: none; flex: 1; }
    .map-card { height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Page partenaires ---------- */
.page-hero { position: relative; padding: 5rem 0 4.5rem; background: radial-gradient(circle at 15% 0%, #3b0d0d 0%, var(--dark) 65%); }
.partner-card { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--partner); border-radius: 1.25rem; padding: 1.75rem; transition: var(--ease); }
.partner-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0, 0, 0, .08); }
.partner-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.1rem; }
.partner-logo { flex: 0 0 96px; height: 72px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 8px; }
.partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-initials { width: 100%; height: 100%; border-radius: 10px; color: #fff; font-weight: 800; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; letter-spacing: 1px; }
.partner-cat { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--partner); margin-bottom: .2rem; }
.partner-perk { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; border-radius: 12px; padding: .75rem 1rem; font-size: .9rem; margin-bottom: 1rem; }
.partner-infos { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.partner-infos li { display: flex; gap: .7rem; padding: .3rem 0; }
.partner-infos i { width: 16px; margin-top: .3rem; color: var(--muted); text-align: center; }
.partner-infos a { color: inherit; }
.partner-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border-radius: 1.5rem; padding: 2.5rem; }
.btn-linkedin { background: #0a66c2; color: #fff; font-weight: 600; }
.btn-linkedin:hover { background: #004182; color: #fff; }

/* Nom de marque affiché si le fichier logo est absent */
.brand-word { display: inline-block; font-weight: 800; font-size: 1.15rem; letter-spacing: .5px; color: #94a3b8; text-transform: uppercase; padding: .35rem 0; transition: var(--ease); }
.grayscale-logos .brand-word:hover { color: var(--dark); }

/* ---------- Thème rouge : composants Bootstrap ---------- */
.btn-outline-primary { --bs-btn-color: #dc2626; --bs-btn-border-color: #dc2626; --bs-btn-hover-bg: #dc2626; --bs-btn-hover-border-color: #dc2626; --bs-btn-hover-color: #fff; --bs-btn-active-bg: #b91c1c; --bs-btn-active-border-color: #b91c1c; --bs-btn-focus-shadow-rgb: 220, 38, 38; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: #f87171; box-shadow: 0 0 0 .25rem rgba(220, 38, 38, .2); }
.form-check-input:checked { background-color: #dc2626; border-color: #dc2626; }
.carousel-indicators [data-bs-target] { background-color: #dc2626; }
::selection { background: #fecaca; }
/* Le bouton d'urgence reste distinct du rouge principal */
.service-card.urgent { border-color: rgba(220, 38, 38, .5); background: #fff7f7; }

/* ---------- Identité Expert Auto (carte de visite) ---------- */
.brand-logo { height: 52px; width: auto; }
.navbar.scrolled .brand-logo { height: 44px; }
.brand-subtitle { color: var(--primary); font-size: .65rem; font-weight: 800; letter-spacing: 1.5px; border-left: 2px solid #e5e5e5; padding-left: .6rem; }
.hero-logo { width: 170px; height: 170px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px rgba(220, 38, 38, .85), 0 20px 50px rgba(0, 0, 0, .5); }
.hero-logo img { width: 130px; height: auto; }
.hero-overlay { background: linear-gradient(180deg, rgba(10, 10, 10, .88) 0%, rgba(10, 10, 10, .70) 60%, rgba(60, 8, 8, .78) 100%); }
.hero-badge { background: rgba(220, 38, 38, .18); color: #fecaca; border-color: rgba(252, 165, 165, .35); }
.footer-logo img { height: 70px; width: auto; background: #fff; border-radius: 12px; padding: 6px 10px; }
.page-hero, .qr-section { background: radial-gradient(circle at 15% 0%, #4a0b0b 0%, #111111 65%); }

/* Services : cartes noires, titres rouges (comme la carte) */
.services-dark { background: linear-gradient(180deg, #111111 0%, #1a1a1a 100%); }
.services-dark .section-kicker { color: #f87171; }
.services-dark .service-card { background: #1c1c1c; border: 2px solid rgba(255, 255, 255, .85); border-radius: 22px; color: #fff; }
.services-dark .service-card:hover { border-color: var(--primary); box-shadow: 0 20px 40px rgba(220, 38, 38, .25); }
.services-dark .service-card h3 { color: #ef4444; text-transform: uppercase; letter-spacing: .5px; }
.services-dark .service-icon-wrapper { background: rgba(220, 38, 38, .15); color: #ef4444; }
.services-dark .service-card.urgent { background: #2a1111; border-color: #ef4444; }
.services-dark .service-card.urgent .service-icon-wrapper { background: #ef4444; color: #fff; }
.service-list { list-style: none; padding: 0; margin: 0 0 .5rem; columns: 1; }
.service-list li { position: relative; padding: .18rem 0 .18rem 1.1rem; color: #e5e5e5; font-weight: 500; }
.service-list li::before { content: ""; position: absolute; left: 0; top: .72rem; width: 6px; height: 6px; border-radius: 50%; background: #ef4444; }
.service-link { display: inline-block; margin-top: .6rem; color: #f87171; font-weight: 700; text-decoration: none; }
.service-link:hover { color: #fff; }
@media (min-width: 992px) { .services-dark .service-card .service-list { min-height: 1px; } }

/* =====================================================================
   VERSION DYNAMIQUE
   ===================================================================== */

/* ---------- Barre d'infos ---------- */
.top-bar .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #9ca3af; margin-right: .45rem; vertical-align: middle; }
.top-bar .dot.ok { background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* ---------- Méga-menu ---------- */
.mega-menu { left: 0; right: 0; margin-top: 0; border-radius: 0 0 18px 18px; padding: 1rem 0; border-top: 3px solid var(--primary) !important; }
.mega-menu ul { list-style: none; padding: 0; margin: .4rem 0 0; font-size: .86rem; color: var(--muted); }
.mega-menu li { padding: .12rem 0; }
.mega-title { display: flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--dark); text-decoration: none; text-transform: uppercase; font-size: .85rem; letter-spacing: .5px; }
.mega-title i { width: 30px; height: 30px; border-radius: 8px; background: #fef2f2; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; }
.mega-title:hover { color: var(--primary); }
.mega-card { display: flex; flex-direction: column; gap: .2rem; height: 100%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border-radius: 14px; padding: 1rem; text-decoration: none; }
.mega-card i { font-size: 1.4rem; }
.mega-card span { font-weight: 800; font-size: 1.05rem; }
.mega-card:hover { color: #fff; transform: translateY(-2px); }
@media (min-width: 992px) {
    .navbar .dropdown:hover > .mega-menu { display: block; animation: megaIn .25s ease; }
    .navbar .dropdown:hover > .dropdown-toggle { color: var(--primary) !important; }
}
@keyframes megaIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 991.98px) { .mega-menu { box-shadow: none !important; border-top: 0 !important; padding: .5rem 0; } .mega-menu ul { display: none; } }

/* ---------- Diaporama ---------- */
.hs { position: relative; height: calc(100vh - 110px); min-height: 520px; max-height: 860px; overflow: hidden; background: #111; outline: none; }
.hs-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.hs-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hs-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7.5s ease-out; }
.hs-slide.is-active .hs-bg { transform: scale(1); }
.hs-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 10, .92) 0%, rgba(10, 10, 10, .65) 50%, rgba(80, 10, 10, .35) 100%); }
.hs-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; color: #fff; padding-bottom: 3rem; }
.hs-kicker, .hs-title, .hs-text, .hs-ctas { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.hs-slide.is-active .hs-kicker { opacity: 1; transform: none; transition-delay: .35s; }
.hs-slide.is-active .hs-title { opacity: 1; transform: none; transition-delay: .55s; }
.hs-slide.is-active .hs-text { opacity: 1; transform: none; transition-delay: .75s; }
.hs-slide.is-active .hs-ctas { opacity: 1; transform: none; transition-delay: .95s; }
.hs-kicker { display: inline-block; align-self: flex-start; background: var(--primary); color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase; padding: .45rem 1rem; border-radius: 4px; margin-bottom: 1.25rem; clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%); padding-right: 1.6rem; }
.hs-title { font-size: clamp(2.2rem, 5.5vw, 4.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -1px; margin-bottom: 1.25rem; max-width: 780px; text-transform: uppercase; }
.hs-title span { color: #ef4444; }
.hs-text { font-size: clamp(1rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .82); max-width: 560px; margin-bottom: 2rem; }
.hs-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hs-arrow { position: absolute; top: 50%; z-index: 3; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .25); color: #fff; transition: var(--ease); }
.hs-arrow:hover { background: var(--primary); border-color: var(--primary); }
.hs-prev { left: 20px; } .hs-next { right: 20px; }
.hs-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 34px; display: flex; justify-content: center; gap: .6rem; }
.hs-dots button { width: 34px; height: 5px; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .4); padding: 0; transition: var(--ease); }
.hs-dots button.active { background: #fff; width: 54px; }
.hs-progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .12); }
.hs-progress span { display: block; height: 100%; background: var(--primary); transform-origin: left; transform: scaleX(0); }
@media (max-width: 767.98px) { .hs { height: 78vh; min-height: 520px; } .hs-arrow { display: none; } .hs-ctas .btn { width: 100%; } }

/* ---------- Chiffres clés ---------- */
.keyfigures { position: relative; z-index: 4; margin-top: -1px; background: var(--primary); color: #fff; }
.kf { padding: 1.8rem 1rem; border-right: 1px solid rgba(255, 255, 255, .2); }
.kf:last-child { border-right: 0; }
.kf strong { display: block; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1; }
.kf > span { display: block; margin-top: .4rem; font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255, 255, 255, .85); }
@media (max-width: 991.98px) { .kf:nth-child(2) { border-right: 0; } .kf:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .2); } }

/* ---------- Apparition au défilement ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.service-card[data-reveal].is-visible:hover { transform: translateY(-6px); }

/* ---------- Quel est votre besoin ? ---------- */
.need-band { background: linear-gradient(180deg, #1a1a1a 0%, var(--light-bg) 50%); padding: 0 0 2rem; }
.need-box { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: center; background: linear-gradient(135deg, #7f1d1d, var(--primary)); border-radius: 24px; padding: 2.5rem; box-shadow: 0 30px 60px rgba(127, 29, 29, .35); }
.need-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.need-btn { display: flex; align-items: center; gap: .7rem; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); color: #fff; border-radius: 14px; padding: .9rem 1rem; font-weight: 600; text-align: left; transition: var(--ease); }
.need-btn i { width: 34px; height: 34px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #fff; color: var(--primary); }
.need-btn:hover, .need-btn.active { background: #fff; color: var(--dark); transform: translateY(-3px); }
@media (max-width: 991.98px) { .need-box { grid-template-columns: 1fr; padding: 2rem 1.5rem; } .need-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .need-grid { grid-template-columns: 1fr; } }

/* ---------- Conseils ---------- */
.tip-card { height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); cursor: pointer; transition: transform .35s ease, box-shadow .35s ease, opacity .8s ease; }
.tip-card.is-visible:hover, .tip-card:focus-visible { transform: translateY(-6px); box-shadow: 0 24px 40px rgba(0, 0, 0, .1); outline: none; }
.tip-visual { position: relative; height: 170px; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 30% 20%, #3b0d0d, #111); overflow: hidden; }
.tip-visual i { font-size: 3.6rem; color: #ef4444; transition: transform .5s ease; }
.tip-visual img { width: 100%; height: 100%; object-fit: cover; }
.tip-card:hover .tip-visual i { transform: scale(1.15) rotate(-6deg); }
.tip-cat { position: absolute; top: 14px; left: 14px; background: var(--primary); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: .3rem .7rem; border-radius: 4px; }
.tip-cat.static { position: static; display: inline-block; }
.tip-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.tip-body h3 { font-size: 1.1rem; font-weight: 800; color: var(--dark); }
.tip-body p { color: var(--muted); font-size: .92rem; }
.tip-more { margin-top: auto; color: var(--primary); font-weight: 700; font-size: .9rem; }
.tip-more i { transition: transform .3s; }
.tip-card:hover .tip-more i { transform: translateX(5px); }
.tip-modal-body p { color: #374151; line-height: 1.75; }

/* ---------- Retour en haut ---------- */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 1030; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(220, 38, 38, .35); opacity: 0; visibility: hidden; transform: translateY(15px); transition: var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary-dark); }
@media (max-width: 991.98px) { .to-top { bottom: 150px; right: 20px; width: 44px; height: 44px; } }

@media (prefers-reduced-motion: reduce) {
    [data-reveal], .hs-kicker, .hs-title, .hs-text, .hs-ctas { opacity: 1 !important; transform: none !important; }
    .hs-bg { transform: none !important; }
}
.need-head .section-kicker { color: rgba(255, 255, 255, .7) !important; }
.need-head h2 { color: #fff; }
.need-head p { color: rgba(255, 255, 255, .75); }
