/* Batterieland 2026: couleurs et accueil alignés sur le nouveau logo. */
:root {
    --primary-color: #4d67e8;
    --primary-dark: #233da8;
    --primary-light: rgba(77, 103, 232, 0.1);
    --primary: #4d67e8;
    --accent-color: #965fc3;
    --text-dark: #19264d;
    --text-light: #52607c;
    --bg-light: #f3f6ff;
}

body { background: #f7f9ff; }

.bandeau_haut {
    background: linear-gradient(105deg, #192e91, #4d67e8 62%, #965fc3);
}

header.header {
    grid-template-columns: 30px minmax(175px, 220px) minmax(200px, 1fr) 50px 120px;
    background: #fff;
    gap: 1.25rem;
}

header.header a[href="/"] { justify-self: start; display: block; width: 100%; }
header.header a[href="/"] img {
    display: block;
    width: 100%;
    max-height: 76px;
    object-fit: contain;
}
header.header a[href="/"] img:hover {
    transform: scale(1);
}

header.header input.search { background: #f6f8ff; }
header.header button.button_header {
    background: linear-gradient(135deg, #4d67e8, #233da8);
}

.hero-section {
    min-height: 0;
    padding: 76px 24px 110px;
    background: linear-gradient(125deg, #f8faff 5%, #e9efff 56%, #f4edfc 100%);
}

.hero-section::before {
    background-image: linear-gradient(rgba(77, 103, 232, .07) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(77, 103, 232, .07) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 1;
}

.hero-overlay {
    background: radial-gradient(circle at 90% 12%, rgba(150, 95, 195, .18), transparent 35%),
                radial-gradient(circle at 8% 75%, rgba(130, 197, 232, .2), transparent 35%);
}

.hero-content { max-width: 1220px; }
.hero-intro { max-width: 860px; margin: 0 auto 34px; text-align: center; }
.hero-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #233da8;
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .17em;
}
.hero-intro h1 {
    margin: 0;
    color: #172766;
    font-size: clamp(2.2rem, 5vw, 4.3rem);
    line-height: 1.13;
    letter-spacing: -.035em;
}
.hero-intro p {
    max-width: 700px;
    margin: 18px auto 0;
    color: #52607c;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.6;
}
.hero-shortcuts { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.hero-shortcuts a {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 11px 17px;
    border: 1px solid #cbd5fa;
    border-radius: 999px;
    background: rgba(255,255,255,.8);
    color: #233da8;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .2s;
}
.hero-shortcuts a:hover, .hero-shortcuts a:focus-visible { background: #fff; transform: translateY(-2px); }
.hero-shortcuts a span { font-size: 1.2em; }

.search_home_modern {
    max-width: 1160px;
    margin: 0 auto;
    padding: 31px 34px 35px;
    border: 1px solid #dbe3fb;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(31, 51, 139, .13);
}
.search_title { margin-bottom: 23px; color: #192e91; text-shadow: none; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.search_field label { color: #34446d; }
.custom-select__trigger { border-color: #d9e0fa; background: #f8faff; }
.custom-select__trigger:hover:not(:disabled) { border-color: #8fa1f1; }
.services-section { margin-top: -46px; padding-top: 88px; }
.service-card { border: 1px solid #e5eafd; box-shadow: 0 10px 30px rgba(36, 61, 168, .07); }
.service-card:hover { box-shadow: 0 18px 42px rgba(36, 61, 168, .15); }
.section-lead { max-width: 620px; margin: -29px auto 35px; text-align: center; color: #52607c; }
.categories-section, .full-banner-section { background: #fff; }
.category-item { border: 1px solid #e5eafd; }
.category-item:hover .category-overlay { background: linear-gradient(to top, rgba(35, 61, 168, .96), rgba(77, 103, 232, .72) 65%, transparent); }
.full-banner-section .img-fluid { display: block; max-width: 100%; margin: 0 auto; }
.info-content h2[itemprop="name"] { font-size: 32px; font-weight: 800; color: var(--text-dark); margin: 0 0 30px; }
.mini-cart-item-price { color: #233da8 !important; }
.mini-cart-btn { background: linear-gradient(135deg, #4d67e8, #233da8) !important; border-color: #233da8 !important; }
.mini-cart-btn-outline { color: #233da8 !important; border-color: #4d67e8 !important; }

@media (max-width: 768px) {
    header.header { grid-template-columns: 30px minmax(0,1fr) 44px 96px; gap: .7rem; }
    header.header a[href="/"] { max-width: 170px; }
    header.header a[href="/"] img { max-height: 56px; }
    .hero-section { min-height: 0; padding: 53px 15px 87px; }
    .hero-intro { margin-bottom: 26px; }
    .search_home_modern { margin: 0; padding: 24px 18px; }
    .services-section { margin-top: -32px; padding-top: 65px; }
    .section-lead { margin-top: -23px; padding: 0 15px; }
    .info-content h2[itemprop="name"] { font-size: 26px; }
}

@media (max-width: 480px) {
    .hero-eyebrow { font-size: .65rem; letter-spacing: .1em; }
    .hero-shortcuts { align-items: stretch; flex-direction: column; }
    .hero-shortcuts a { justify-content: space-between; }
    .info-content h2[itemprop="name"] { font-size: 22px; }
}
