:root {
    --site-bg: #f4f4f2;
    --site-surface: #ffffff;
    --site-text: #101010;
    --site-muted: #666666;
    --site-line: #dfdfdf;
    --site-accent: #d71920;
    --site-accent-blue: #0f3d8f;
    --site-accent-red: #d71920;
    --site-dark: #111111;
    --site-soft: #faf9f7;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--site-bg);
    color: var(--site-text);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.site-navbar {
    background: rgba(255, 255, 255);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(23, 23, 23, 0.3);
    padding: 3px 0;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-text {
    line-height: 1;
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand-subtext {
    color: var(--site-muted);
    font-size: 0.72rem;
    font-weight: 600;
}

.brand-mark {
    position: relative;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-mark-sm {
    width: 22px;
    height: 22px;
}

.brand-ring,
.brand-dot {
    position: absolute;
    border-radius: 50%;
}

.brand-ring {
    inset: 2px;
    border: 2px solid var(--site-accent);
}

.brand-dot {
    width: 8px;
    height: 8px;
    background: var(--site-accent);
}

.nav-link {
    color: var(--site-text);
    font-weight: 500;
}

.site-navbar .nav-link {
    font-size: 0.82rem;
    line-height: 1.25;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--site-accent);
}

.header-brand-toggle {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    background: var(--site-soft);
}

.header-brand-btn,
.brand-switch-btn {
    border: 0;
    background: transparent;
    color: var(--site-text);
}

.header-brand-btn {
    min-height: 34px;
    padding: 0 0.85rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
}

.header-brand-btn.is-active {
    background: #fff;
    box-shadow: 0 1px 0 rgba(16, 16, 16, 0.04);
}

.icon-btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    background: var(--site-surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--site-text);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--site-dark);
    color: #fff;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-section {
    padding: 4rem 0 3rem;
}

.hero-shell {
    padding: 1rem 0 3rem;
}

.home-commerce-banner {
    height: clamp(260px, 42vw, 620px);
    overflow: hidden;
    background: #f7f7f5;
}

.home-commerce-banner img {
    object-fit: cover;
    object-position: center top;
}

.category-surface,
.innovation-band {
    background: var(--site-surface);
    border: 1px solid var(--site-line);
    border-radius: 8px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--site-accent);
}

.section-heading h2,
.newsletter-box h2,
.editorial-copy h2 {
    font-size: clamp(2.1rem, 3vw, 4rem);
    line-height: 1.02;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-copy,
.editorial-copy p,
.footer-copy {
    color: var(--site-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.hero-visual {
    border-radius: 8px;
    overflow: hidden;
    min-height: 560px;
    background: #ddd;
    border: 1px solid var(--site-line);
}

.hero-visual img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.brand-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.brand-switch-btn {
    padding: 1rem;
    text-align: left;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    background: var(--site-soft);
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.brand-switch-btn.is-active {
    background: #fff;
    border-color: rgba(16, 16, 16, 0.18);
    transform: translateY(-1px);
}

.switch-title,
.switch-subtitle {
    display: block;
}

.switch-title {
    font-weight: 700;
}

.switch-subtitle {
    color: var(--site-muted);
    font-size: 0.88rem;
    margin-top: 0.25rem;
}

.brand-stage,
.brand-collection-panel,
.product-grid-panel {
    display: none;
}

.brand-stage.is-active,
.brand-collection-panel.is-active,
.product-grid-panel.is-active {
    display: block;
}

.brand-stage-media {
    min-height: 420px;
}

.brand-stage-media img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.brand-stage-body {
    padding: 1.5rem;
}

.brand-stage-head h2,
.category-surface h3 {
    font-size: 1.6rem;
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 0.75rem;
}

.brand-stage-head p,
.category-surface p {
    color: var(--site-muted);
    line-height: 1.65;
    margin-bottom: 0;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.25rem 0.7rem;
    border-radius: 8px;
    background: rgba(16, 16, 16, 0.06);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.brand-badge-inline {
    font-size: 0.72rem;
}

.brand-card-logo {
    width: min(220px, 70%);
    min-height: 72px;
    display: flex;
    align-items: center;
}

.brand-card-logo img {
    max-height: 86px;
    width: auto;
    object-fit: contain;
}

.brand-page-logo {
    width: min(260px, 74%);
    min-height: 86px;
    display: flex;
    align-items: center;
}

.brand-page-logo img {
    max-height: 110px;
    width: auto;
    object-fit: contain;
}

.brand-family-card,
.brand-option-panel {
    border: 1px solid var(--site-line);
    border-radius: 8px;
    background: var(--site-surface);
}

.brand-family-card {

    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.brand-family-card:hover,
.brand-family-card:focus {
    border-color: var(--site-dark);
    background: #f7f7f7;
    transform: translateY(-1px);
}

.brand-family-card strong {
    font-size: 1.05rem;
}

.brand-family-card span:last-child,
.brand-family-index {
    color: var(--site-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.brand-option-panel {
    height: 100%;
    padding: 1.25rem;
}

.brand-option-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.brand-option-cloud a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--site-line);
    border-radius: 999px;
    background: #f7f7f7;
    color: var(--site-text);
    font-size: 0.88rem;
    font-weight: 700;
}

.brand-option-cloud a:hover,
.brand-option-cloud a:focus {
    border-color: var(--site-dark);
    background: var(--site-dark);
    color: #fff;
}

.color-swatch {
    width: 14px;
    height: 14px;
    border: 1px solid rgba(17, 17, 17, 0.18);
    border-radius: 50%;
}

.brand-stage-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.stage-metric {
    padding: 0.9rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(16, 16, 16, 0.08);
}

.stage-metric strong,
.innovation-point strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
}

.stage-metric span,
.innovation-point span {
    color: var(--site-muted);
    font-size: 0.88rem;
}

.mini-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.7;
}

.overview-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.overview-tags span {
    min-height: 30px;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--site-line);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
}

.newsletter-box,
.collection-card,
.editorial-copy {
    background: var(--site-surface);
    border: 1px solid var(--site-line);
    border-radius: 8px;
}

.section-soft {
    background: #fbfbfb;
}

.section-heading h2 {
    font-size: clamp(1.8rem, 2.2vw, 2.8rem);
    margin-bottom: 0;
}

.collection-card {
    position: relative;
    overflow: hidden;
    min-height: 420px;
}

.collection-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.collection-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.84), rgba(17, 17, 17, 0.12));
    color: #fff;
}

.collection-overlay span {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.collection-overlay h3 {
    font-size: 1.15rem;
    line-height: 1.3;
    margin: 0;
}

.product-card-image {
    aspect-ratio: 4 / 5;
    background: #f7f7f5;
}

.product-card-image > img {
    width: 100%;
    object-fit: cover;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .home-brand-card,
    .home-featured-card .product-card {
        transition: transform 180ms ease, box-shadow 180ms ease;
    }

    .home-brand-card:hover,
    .home-featured-card .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 0.6rem 1.5rem rgba(0, 0, 0, 0.12);
    }

    .home-featured-card .product-card-image > img {
        transition: transform 220ms ease;
    }

    .home-featured-card .product-card:hover .product-card-image > img {
        transform: scale(1.025);
    }
}

.product-ref {
    color: var(--site-muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.category-surface {
    padding: 1.5rem;
    min-height: 100%;
}

.category-index {
    color: var(--site-muted);
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1rem;
    font-weight: 700;
}

.editorial-copy {
    padding: 2rem;
}

.editorial-points li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.7rem;
    color: var(--site-text);
    font-weight: 500;
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 1rem;
}

.editorial-large,
.editorial-small {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    min-height: 280px;
}

.newsletter-box {
    padding: 2rem;
}

.newsletter-box-modern {
    background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
}

.newsletter-form .form-control {
    min-height: 56px;
    border-radius: 8px;
    border-color: var(--site-line);
}

.newsletter-form .btn,
.btn {
    border-radius: 8px;
}

.site-footer {
    background: #fff;
}

.error-shell {
    padding: 4rem 0 5rem;
}

.error-panel {
    max-width: 760px;
    padding: 2.5rem;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    background: var(--site-surface);
}

.error-code {
    color: var(--site-accent);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    font-weight: 800;
    margin-bottom: 1rem;
}

.error-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.02;
    font-weight: 800;
    margin-bottom: 1rem;
}

.error-text {
    max-width: 56ch;
    color: var(--site-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.error-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.innovation-band {
    padding: 2rem;
}

.innovation-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.innovation-point {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    background: var(--site-soft);
}

.brand-tone-bleu {
    color: var(--site-accent-blue);
}

.brand-tone-rouge {
    color: var(--site-accent-red);
}

.brand-tone-bleu h2,
.brand-tone-bleu h3,
.brand-tone-rouge h2,
.brand-tone-rouge h3 {
    color: var(--site-text);
}

.brand-tone-bleu .brand-badge,
.brand-tone-rouge .brand-badge {
    color: #fff;
}

.brand-tone-bleu .brand-badge {
    background: var(--site-accent-blue);
}

.brand-tone-rouge .brand-badge {
    background: var(--site-accent-red);
}

.brand-tone-bleu .mini-dot {
    color: var(--site-accent-blue);
}

.brand-tone-rouge .mini-dot {
    color: var(--site-accent-red);
}

.catalog-sticky {
    top: 88px;
}

.catalog-pagination .pagination {
    gap: 0.4rem;
    flex-wrap: wrap;
}

.catalog-pagination .page-link {
    min-width: 42px;
    min-height: 42px;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    background: var(--site-surface);
    color: var(--site-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: none;
}

.catalog-pagination .page-link:hover,
.catalog-pagination .page-link:focus {
    border-color: var(--site-dark);
    background: #f1f1f1;
    color: var(--site-dark);
    box-shadow: 0 0 0 0.18rem rgba(17, 17, 17, 0.08);
}

.catalog-pagination .page-item.active .page-link {
    border-color: var(--site-dark);
    background: var(--site-dark);
    color: #fff;
}

.catalog-pagination .page-item.disabled .page-link {
    border-color: var(--site-line);
    background: #eeeeee;
    color: #9a9a9a;
    opacity: 1;
}

.admin-content a:not(.btn):not(.admin-tab):not(.admin-submenu-link):not(.page-link):not(.badge):not(.text-decoration-none) {
    color: #245778;

    text-decoration-color: #9ab4c4;
    text-underline-offset: 0.2em;
}

.admin-content a:not(.btn):not(.admin-tab):not(.admin-submenu-link):not(.page-link):not(.text-decoration-none):hover {
    color: #163e59;
    text-decoration-color: currentColor;
}

.admin-content a.badge {

    text-decoration-color: #9ab4c4;
    text-underline-offset: 0.2em;
}

.admin-content a:focus-visible {
    outline: 2px solid #245778;
    outline-offset: 3px;
}

.product-color-choice {
    display: inline-flex;
    padding: 3px;
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
}

.product-color-swatch {
    display: block;
    width: 2.4rem;
    height: 2.4rem;
    object-fit: cover;
    border: 1px solid #adb5bd;
    border-radius: 50%;
}

.product-color-unknown {
    background: repeating-linear-gradient(135deg, #fff 0 5px, #ddd 5px 10px);
}

.btn-check:checked + .product-color-choice,
.btn-check:focus-visible + .product-color-choice {
    border-color: #212529;
    outline: 2px solid transparent;
}

.admin-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.4rem;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    background: var(--site-surface);
}

.admin-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    color: var(--site-muted);
    font-weight: 700;
}

.admin-tab:hover,
.admin-tab:focus {
    background: #f1f1f1;
    color: var(--site-dark);
}

.admin-tab.is-active {
    background: #dcebf3;
    color: #163e59;
}

.admin-menu {
    border: 1px solid transparent;
    border-radius: 8px;
}

.admin-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 40px;
    padding: 0.45rem 0.85rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--site-muted);
    font-weight: 700;
    text-align: left;
}

.admin-menu-toggle:hover,
.admin-menu-toggle:focus,
.admin-menu.is-active .admin-menu-toggle {
    background: #dcebf3;
    color: var(--site-dark);
}

.admin-menu-chevron {
    transition: transform 0.2s ease;
}

.admin-menu-toggle[aria-expanded="true"] .admin-menu-chevron {
    transform: rotate(180deg);
}

.admin-submenu {
    display: grid;
    gap: 0.2rem;
    padding: 0.3rem 0.4rem 0.4rem 1.25rem;
}

.admin-submenu-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 36px;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    color: var(--site-muted);
    font-size: 0.94rem;
    font-weight: 600;
}

.admin-submenu-link:hover,
.admin-submenu-link:focus {
    background: #f1f1f1;
    color: var(--site-dark);
}

.admin-submenu-link.is-active {
    background: #dcebf3;
    color: #163e59;
}

@media (min-width: 992px) {
    .admin-tabs {
        flex-direction: row;
        align-items: flex-start;
    }

    .admin-menu,
    .admin-tab {
        flex: 1 1 0;
    }

    .admin-menu {
        position: relative;
    }

    .admin-menu > .collapse,
    .admin-menu > .collapsing {
        position: absolute;
        z-index: 10;
        top: calc(100% + 0.35rem);
        left: 0;
        width: 100%;
        min-width: 220px;
        padding: 0.25rem;
        border: 1px solid var(--site-line);
        border-radius: 8px;
        background: var(--site-surface);
        box-shadow: 0 0.5rem 1.25rem rgba(20, 37, 48, 0.14);
    }

    .admin-submenu {
        padding-left: 0.4rem;
    }
}

.admin-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-contact-message {
    white-space: normal;
    color: var(--site-text);
    line-height: 1.75;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p,
.legal-content dd {
    color: var(--site-muted);
    line-height: 1.7;
}

.legal-content dt {
    font-weight: 800;
}

.contact-honeypot,
.contact-honeypot-wrap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.site-breadcrumb {
    display: inline-flex;
    max-width: 100%;
    margin-bottom: 1.25rem;
    padding: 0.65rem 0.85rem;

}

.site-breadcrumb .breadcrumb {
    align-items: center;
    flex-wrap: wrap;
    row-gap: 0.25rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.site-breadcrumb .breadcrumb-item a {
    color: var(--site-muted);
}

.site-breadcrumb .breadcrumb-item a:hover,
.site-breadcrumb .breadcrumb-item a:focus {
    color: var(--site-accent);
}

.site-breadcrumb .breadcrumb-item.active {
    color: var(--site-text);
}

.catalog-card-visual {
    aspect-ratio: 16 / 9;
    background: #f7f7f5;
}

.product-gallery-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    background: #f7f7f5;
    transition: transform 0.16s ease;
}

.product-zoom {
    cursor: zoom-in;
}

.product-gallery-empty {
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f5;
}

.js-gallery-nav {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-thumb {
    width: 72px;
    height: 72px;
    overflow: hidden;
    flex: 0 0 auto;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-thumb.is-active {
    border-color: var(--site-dark);
    box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.08);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f7f7f5;
}


.footer-brand,
.footer-title {
    font-weight: 800;
    margin-bottom: 0.75rem;
}

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

.footer-links a,
.site-footer .bi {
    color: var(--site-muted);
}

.footer-links a:hover,
.site-footer .bi:hover {
    color: var(--site-accent);
}

@media (max-width: 991.98px) {
    .hero-visual,
    .hero-visual img,
    .brand-stage-media img,
    .brand-stage-media {
        min-height: 440px;
        height: 440px;
    }

    .editorial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .header-brand-toggle,
    .brand-switch,
    .brand-stage-metrics {
        grid-template-columns: 1fr;
    }

    .header-brand-toggle {
        display: grid;
        width: 100%;
    }

    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .collection-card,
    .collection-card img {
        min-height: 340px;
        height: 340px;
    }

    .section-heading h2,
    .newsletter-box h2,
    .editorial-copy h2 {
        font-size: 2rem;
    }

    .brand-stage-body,
    .category-surface,
    .innovation-band,
    .newsletter-box,
    .error-panel {
        padding: 1.25rem;
    }
}
/* Ruban de promotion sur les cartes catalogue et les fiches produit. */
.quantity-promotion-heading {
    padding-right: 4rem;
    min-height: 3rem;
}

.quantity-promotion-ribbon {
    position: absolute;
    top: 0.8rem;
    right: -2rem;
    width: 7rem;
    padding: 0.15rem 0;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-align: center;
    transform: rotate(45deg);
    pointer-events: none;
}
.catalog-color-options {
    max-height: 14rem;
    overflow-y: auto;
}

.catalog-color-swatch {
    display: inline-flex;
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 1.25rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #adb5bd;
    border-radius: 50%;
    object-fit: cover;
    font-size: 0.75rem;
}
