@import url('scroll-progress.css');

body {
    font-family: Roboto, sans-serif;
    color: #1f2937;
    background: #fff;
}

.navbar-brand {
    letter-spacing: 0.08em;
}

.header-brand-name {
    font-size: 1.25rem;
}

.header-slogan {
    font-size: 0.67rem;
    line-height: 1.1;
}

.header-logo {
    height: 34px;
    width: auto;
    max-width: 150px;
}

.header-search {
    width: 100%;
    max-width: 280px;
}

.header-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1100;
    max-height: 320px;
    overflow-y: auto;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.navbar .navbar-collapse {
    gap: 0.75rem;
}

.navbar .navbar-nav .nav-link {
    text-align: center;
    position: relative;
}

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.35rem;
    height: 2px;
    background-color: #c9a962;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* Focus ring doré (thème) — laisse les états .is-invalid / .is-valid Bootstrap plus spécifiques */
.form-control:focus,
.form-select:focus {
    border-color: #c9a962;
    box-shadow: 0 0 0 0.25rem rgba(201, 169, 98, 0.25);
}

.form-check-input:focus {
    border-color: #c9a962;
    box-shadow: 0 0 0 0.25rem rgba(201, 169, 98, 0.25);
}

.hero-banner {
    position: relative;
}

.hero-swiper {
    width: 100%;
}

.hero-slide-link {
    display: block;
}

.hero-slide-image {
    width: 100%;
    height: min(74vh, 760px);
    min-height: 360px;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.12));
    color: #fff;
    z-index: 2;
    pointer-events: none;
}

.hero-overlay .container {
    position: relative;
    z-index: 4;
    pointer-events: auto;
}

.hero-overlay .lead {
    color: rgba(255, 255, 255, 0.9);
    max-width: 560px;
}

.hero-swiper-pagination {
    z-index: 6;
}

.hero-swiper-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.65);
    opacity: 1;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
    background: #fff;
}

.product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.08);
}

.product-card__image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.family-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.family-link:hover .family-card {
    transform: translateY(-5px);
    border-color: var(--family-color, #7a5c24);
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.12);
}

.family-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--family-color, #7a5c24) 14%, #ffffff);
    color: var(--family-color, #7a5c24);
    font-size: 1.2rem;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.family-link:hover .family-icon-wrap {
    transform: scale(1.06);
    background: var(--family-color, #7a5c24);
    color: #fff;
}

.family-link:hover .family-desc {
    color: #4b5563 !important;
}

.footer {
    margin-top: 2rem;
    background: #0f172a;
    color: #e2e8f0;
}

.footer .text-muted {
    color: #94a3b8 !important;
}

.footer-brand {
    color: #f8fafc;
    letter-spacing: 0.04em;
}

.footer-description {
    max-width: 420px;
}

.footer-title {
    color: #f8fafc;
    font-weight: 600;
    margin-bottom: 0.85rem;
}

.footer-links li + li {
    margin-top: 0.45rem;
}

.footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #ffffff;
}

.footer-contact-item i {
    color: #c9a962;
}

.footer-social-lead {
    color: #94a3b8 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.7rem !important;
    font-weight: 600;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.16);
    color: #e2e8f0;
    font-size: 1.05rem;
    line-height: 1;
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.15s ease;
}

.footer-social-link:hover {
    background: #c9a962;
    color: #0f172a;
    transform: translateY(-1px);
}

.footer-copyright {
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    padding: 1rem 0 1.25rem;
    color: #cbd5e1;
}

.footer-copyright a {
    color: #f8fafc;
}

.credits-line {
    font-size: 0.92rem;
}

#scroll-top.scroll-top {
    position: fixed;
    right: 22px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: #c9a962;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
    text-decoration: none;
    z-index: 1200;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

#scroll-top.scroll-top i {
    font-size: 1.4rem;
    line-height: 1;
    color: #ffffff;
}

#scroll-top.scroll-top:hover {
    background: #b8944f;
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.24);
}

.blank-home-arrow {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 9998;
}

.order-timeline .badge {
    padding: 0.5rem 0.75rem;
}

@media (max-width: 991.98px) {
    .header-logo {
        height: 30px;
    }

    .navbar .navbar-collapse {
        padding-top: 0.75rem;
    }

    .header-search {
        max-width: 100%;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .hero-slide-image {
        height: 62vh;
        min-height: 300px;
    }

    .hero-overlay h1 {
        font-size: 1.75rem;
    }

    .hero-overlay .lead {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer {
        text-align: center;
    }

    .footer-description {
        margin-left: auto;
        margin-right: auto;
    }

    #scroll-top.scroll-top {
        right: 14px;
        bottom: 16px;
        width: 42px;
        height: 42px;
    }

}
