/* =========================
   FOOTER – Global
========================= */

.site-footer-wrapper {
    background: #111;
    color: #ddd;
    margin-top: 40px;
}

.site-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-footer-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-footer-title {
    font-size: 12px;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer a {
    color: #bbb;
    text-decoration: none;
    font-size: 13px;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 10px;
    padding-top: 8px;
    font-size: 12px;
    opacity: .6;
    text-align: center;
    width: 100%;
}

@media (max-width: 600px) {
    .site-footer {
        gap: 10px;
        padding: 12px;
        justify-content: center;
    }

    .site-footer-section--galleries {
        display: flex;
    }

    .site-footer-section--about .site-footer-title {
        display: inline;
    }

    .site-footer-section--about ul {
        justify-content: center;
        gap: 10px;
    }

    .site-footer-section--about a {
        white-space: nowrap;
        font-size: 12px;
    }

    .site-footer-bottom {
        margin-top: 6px;
        padding-top: 6px;
    }
}
/* =========================
/* ****** BREADCRUMB *******
========================= */
.breadcrumbs {
    font-size: 0.9rem;
    margin: 1rem 0;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    padding: 0;
}

.breadcrumbs li::after {
    content: ">";
    margin-left: 0.5rem;
    color: #999;
}

.breadcrumbs li:last-child::after {
    content: "";
}

.breadcrumbs a {
    text-decoration: none;
    color: var(--color-primary);
}

/* =========================
/* ****** BOUTON *******
========================= */
/* ===== Boutons ===== */

.btn,
button {
    appearance: none;
    border: 1px solid var(--color-border);
    background: var(--btn-bg);
    color: var(--btn-text);
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--btn-radius);
    cursor: pointer;
    line-height: 1;
    box-shadow: var(--shadow-sm);
    transition:
            background 0.15s ease,
            border-color 0.15s ease,
            box-shadow 0.15s ease,
            transform 0.05s ease;
}

.btn:hover,
button:hover {
    background: var(--btn-bg-hover);
    box-shadow: var(--shadow-md);
    text-decoration: none;

}

.btn:active,
button:active {
    transform: translateY(1px);
}

.site-promo-banner {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: #0f172a;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    z-index: 900;
}

@media (max-width: 600px) {
    .site-promo-banner {
        font-size: 10px;
    }
}

.site-promo-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.01em;
    box-sizing: border-box;
}

.site-promo-banner__slider {
    overflow: hidden;
    display: block;
    width: 100%;
}

.site-promo-banner__track {
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: transform .45s ease;
    will-change: transform;
}

.site-promo-banner__item {
    padding: 0;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: opacity .35s ease;
}

.site-promo-banner__inner p,
.site-promo-banner__inner div {
    margin: 0;
}

.site-promo-banner__inner > p,
.site-promo-banner__inner > div:not(.site-promo-banner__slider) {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.site-promo-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -2px;
}

.btn:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.btn-primary-blue {
    --btn-bg: #93c5fd; /* bleu pastel */
    --btn-bg-hover: #60a5fa; /* légèrement plus soutenu au hover */
    --btn-text: #1e3a8a; /* texte bleu foncé pour bon contraste */
    --color-border: #93c5fd;
    font-weight: 600;
    text-decoration: none;
}

.btn-primary-blue:hover,
.btn-primary-blue:focus,
.btn-primary-blue:active {
    text-decoration: none;
}

.btn-download {
    --btn-bg: #CDEAC0; /* vert pastel pistache */
    --btn-bg-hover: #A9D18E; /* légèrement plus soutenu au hover */
    --btn-text: #1B5E20; /* vert foncé pour bon contraste */
    --color-border: #B7E4C7; /* bordure pistache très légère */
    font-weight: 600;
    text-decoration: none;
}

.btn-download:hover,
.btn-download:focus,
.btn-download:active {
    text-decoration: none;
}

/* =========================
   Reusable Pill Button System
========================= */

.btn-pill {
    --btn-pill-bg: #1f2937;
    --btn-pill-bg-hover: #111827;
    --btn-pill-bg-active: #0f172a;
    --btn-pill-text: #ffffff;
    --btn-pill-border: transparent;
    --btn-pill-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
    --btn-pill-shadow-hover: 0 12px 24px rgba(15, 23, 42, 0.22);
    --btn-pill-ring: rgba(31, 41, 55, 0.24);
    --btn-pill-px: 1.2rem;
    --btn-pill-py: 0.72rem;
    --btn-pill-font: 0.95rem;
    --btn-pill-weight: 700;
    --btn-pill-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 42px;
    padding: var(--btn-pill-py) var(--btn-pill-px);
    border: 1px solid var(--btn-pill-border);
    border-radius: var(--btn-pill-radius);
    background: var(--btn-pill-bg);
    color: var(--btn-pill-text);
    font-size: var(--btn-pill-font);
    font-weight: var(--btn-pill-weight);
    line-height: 1;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: var(--btn-pill-shadow);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.22s ease,
        transform 0.16s ease;
}

.btn-pill:hover,
.btn-pill:focus-visible {
    background: var(--btn-pill-bg-hover);
    color: var(--btn-pill-text);
    border-color: var(--btn-pill-border);
    box-shadow: var(--btn-pill-shadow-hover);
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-pill:active {
    background: var(--btn-pill-bg-active);
    transform: translateY(0);
}

.btn-pill:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px var(--btn-pill-ring),
        var(--btn-pill-shadow-hover);
}

.btn-pill:disabled,
.btn-pill[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-pill--sm {
    --btn-pill-px: 1rem;
    --btn-pill-py: 0.55rem;
    --btn-pill-font: 0.86rem;
    min-height: 36px;
}

.btn-pill--md {
    --btn-pill-px: 1.2rem;
    --btn-pill-py: 0.72rem;
    --btn-pill-font: 0.95rem;
}

.btn-pill--lg {
    --btn-pill-px: 1.35rem;
    --btn-pill-py: 0.82rem;
    --btn-pill-font: 1rem;
    min-height: 46px;
}

.btn-pill--primary {
    --btn-pill-bg: #111827;
    --btn-pill-bg-hover: #0b1220;
    --btn-pill-bg-active: #070d18;
    --btn-pill-text: #ffffff;
    --btn-pill-border: #111827;
    --btn-pill-shadow: 0 8px 18px rgba(17, 24, 39, 0.28);
    --btn-pill-shadow-hover: 0 12px 28px rgba(17, 24, 39, 0.35);
    --btn-pill-ring: rgba(17, 24, 39, 0.28);
}

.btn-pill--accent {
    --btn-pill-bg: #d2672b;
    --btn-pill-bg-hover: #bf561e;
    --btn-pill-bg-active: #a64919;
    --btn-pill-text: #ffffff;
    --btn-pill-border: #c15b23;
    --btn-pill-shadow: 0 10px 22px rgba(191, 86, 30, 0.32);
    --btn-pill-shadow-hover: 0 14px 28px rgba(191, 86, 30, 0.4);
    --btn-pill-ring: rgba(191, 86, 30, 0.26);
}

.btn-pill--neutral {
    --btn-pill-bg: #f3f4f6;
    --btn-pill-bg-hover: #e5e7eb;
    --btn-pill-bg-active: #dbe0e7;
    --btn-pill-text: #1f2937;
    --btn-pill-border: #d1d5db;
    --btn-pill-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
    --btn-pill-shadow-hover: 0 10px 20px rgba(15, 23, 42, 0.18);
    --btn-pill-ring: rgba(100, 116, 139, 0.25);
}

.btn-pill--danger {
    --btn-pill-bg: #dc2626;
    --btn-pill-bg-hover: #b91c1c;
    --btn-pill-bg-active: #991b1b;
    --btn-pill-text: #ffffff;
    --btn-pill-border: #b91c1c;
    --btn-pill-shadow: 0 9px 20px rgba(185, 28, 28, 0.3);
    --btn-pill-shadow-hover: 0 13px 26px rgba(185, 28, 28, 0.36);
    --btn-pill-ring: rgba(220, 38, 38, 0.24);
}

/* =========================
   Reusable Action Pill Button
========================= */

.btn-action-pill {
    --btn-action-bg-start: rgba(255, 88, 88, 0.82);
    --btn-action-bg-end: rgba(236, 12, 12, 0.72);
    --btn-action-bg-hover-start: rgba(38, 38, 38, 0.95);
    --btn-action-bg-hover-end: rgba(17, 17, 17, 0.9);
    pointer-events: auto;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--btn-action-bg-start) 0%, var(--btn-action-bg-end) 100%);
    color: #fff;
    font-weight: 700;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    cursor: pointer;
    backdrop-filter: blur(2px);
    transition: background 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.btn-action-pill:hover,
.btn-action-pill:focus-visible {
    background: linear-gradient(180deg, var(--btn-action-bg-hover-start) 0%, var(--btn-action-bg-hover-end) 100%);
    transform: translateY(-1px);
}

.btn-action-pill--cyan {
    --btn-action-bg-start: #22c7db;
    --btn-action-bg-end: #0ea5b7;
    --btn-action-bg-hover-start: #0f9fb1;
    --btn-action-bg-hover-end: #0b8190;
}

.btn-action-pill--orange {
    --btn-action-bg-start: #fb7a31;
    --btn-action-bg-end: #ea580c;
    --btn-action-bg-hover-start: #df5a18;
    --btn-action-bg-hover-end: #c2410c;
}

.btn-action-pill--green {
    --btn-action-bg-start: #1ea955;
    --btn-action-bg-end: #15803d;
    --btn-action-bg-hover-start: #1a8b48;
    --btn-action-bg-hover-end: #166534;
}

.btn-action-pill--light {
    --btn-action-bg-start: #f3f4f6;
    --btn-action-bg-end: #e5e7eb;
    --btn-action-bg-hover-start: #e5e7eb;
    --btn-action-bg-hover-end: #d1d5db;
    color: #1f2937;
}

@media (prefers-reduced-motion: reduce) {
    .btn-pill,
    .btn-pill:hover,
    .btn-pill:focus-visible,
    .btn-pill:active,
    .btn-action-pill:hover,
    .btn-action-pill:focus-visible {
        transition: none;
        transform: none;
    }
}
/* ================================
   TEXTE
   ================================ */

    .text-left {
        text-align: left;
    }

    .text-center {
        text-align: center;
    }

    .text-right {
        text-align: right;
    }

    .text-muted {
        color: var(--color-muted, #777);
    }

    .text-small {
        font-size: 0.875rem;
    }

    .text-bold {
        font-weight: 600;
    }

    .text-uppercase {
        text-transform: uppercase;
    }

    /* =========================
       PANIER - message pack actif
    ========================= */

    .cart-pack-match-message {
        margin: 0 0 14px;
        padding: 10px 14px;
        border: 1px solid #bfdbfe;
        border-radius: 10px;
        background: #eff6ff;
        color: #1e3a8a;
        font-weight: 600;
        text-align: center;
    }


    /* ============================
       PANIER – Message pack appliqué
       ============================ */

    .cart-pack-match-message {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        background: #f0f9ff;
        border: 1px solid #bae6fd;
        padding: 12px 16px;
        border-radius: 8px;
        font-weight: 500;
        color: #0c4a6e;
    }

    .cart-pack-icon {
        flex-shrink: 0;
        margin-top: 2px;
    }

    .icon-gift {
        width: 40px;
        height: 40px;
        color: #f59e0b; /* jaune/orangé */
    }

.cart-pack-text {
    line-height: 1.4;
}

/* =========================
   CMP
========================= */

.cmp-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 8rem;
    z-index: 1350;
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 -14px 34px rgba(2, 6, 23, 0.28);
    color: #e5e7eb;}

.cmp-banner__content {
    max-width: 1200px;
    min-height: 8rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
}

.cmp-banner__content p {
    margin: 0;
    font-size: 0.9rem;
    color: #f8fafc;
    line-height: 1.45;
    max-width: 760px;
    letter-spacing: 0.005em;
}

.cmp-banner__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cmp-btn {
    font-size: 0.84rem;
    padding: 0.5rem 0.88rem;
}

.cmp-btn--ghost {
    --btn-bg: rgba(255, 255, 255, 0.08);
    --btn-bg-hover: rgba(255, 255, 255, 0.14);
    --btn-text: #e5e7eb;
    --color-border: rgba(255, 255, 255, 0.22);
}

.cmp-btn--primary {
    --btn-bg: #f8fafc;
    --btn-bg-hover: #ffffff;
    --btn-text: #0f172a;
    --color-border: #f8fafc;
}

.cmp-banner .cmp-btn:not(.cmp-btn--ghost):not(.cmp-btn--primary) {
    --btn-bg: rgba(15, 23, 42, 0.22);
    --btn-bg-hover: rgba(255, 255, 255, 0.12);
    --btn-text: #e5e7eb;
    --color-border: rgba(255, 255, 255, 0.26);
}

.cmp-modal {
    position: fixed;
    inset: 0;
    z-index: 1400;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.cmp-modal[hidden] {
    display: none;
}

.cmp-modal.is-visible {
    opacity: 1;
}

.cmp-modal.is-closing {
    opacity: 0;
}

.cmp-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
    transition: opacity 0.22s ease;
}

.cmp-modal__panel {
    position: relative;
    max-width: 620px;
    margin: 12vh auto 0;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.24);
    overflow: hidden;
    transform: translateY(22px);
    opacity: 0;
    transition: transform 0.24s ease, opacity 0.24s ease;
}

.cmp-modal.is-visible .cmp-modal__panel {
    transform: translateY(0);
    opacity: 1;
}

.cmp-modal__header,
.cmp-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
}

.cmp-modal__header {
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.cmp-modal__footer {
    border-top: 1px solid #e5e7eb;
    justify-content: flex-end;
}

.cmp-modal__header h2 {
    margin: 0;
    font-size: 1.02rem;
    color: #111827;
    letter-spacing: 0.01em;
}

.cmp-modal__close {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    color: #374151;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.3rem 0.5rem;
    box-shadow: none;
}

.cmp-modal__close:hover {
    background: #f9fafb;
}

.cmp-modal__intro {
    padding: 14px 16px 0;
}

.cmp-modal__intro p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #374151;
}

.cmp-modal__body {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.cmp-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 12px;
    background: #f9fafb;
}

.cmp-toggle strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.cmp-toggle small {
    display: block;
    color: #4b5563;
    line-height: 1.3;
}

.cmp-toggle--locked {
    opacity: 0.9;
}

.cmp-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.cmp-modal-open {
    overflow: hidden;
}

@media (max-width: 700px) {
    .cmp-banner {
        min-height: 8rem;
    }

    .cmp-banner__content {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        min-height: 8rem;
        padding: 12px 14px;
        gap: 10px;
    }

    .cmp-banner__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .cmp-modal__panel {
        margin: 18vh 12px 0;
        max-width: none;
    }

    .cmp-modal__footer {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}
