/* home.css — styles spécifiques à la page d'accueil. Les styles communs sont dans base.css */

/* Vente flash : bandeau espresso et or, lisible en un coup d'œil, compact sur téléphone. */
.flash-campaign {
    position: relative; overflow: hidden;
    background:
        radial-gradient(90% 180% at 0% 50%, rgb(201 168 117 / 26%) 0%, transparent 55%),
        linear-gradient(100deg, #2a1d16 0%, #3d2a1f 55%, #2a1d16 100%);
    color: #f8efe2;
    border-bottom: 1px solid rgb(201 168 117 / 35%);
}
.flash-campaign::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgb(255 236 205 / 10%) 50%, transparent 65%);
    transform: translateX(-100%); animation: flash-sheen 5.5s ease-in-out 1.2s infinite;
}
.flash-campaign[hidden] { display: none; }
.flash-campaign__inner {
    position: relative; z-index: 1;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: .45rem 1.1rem; padding-block: .55rem;
}
.flash-campaign p { margin: 0; }
.flash-campaign__badge {
    display: inline-flex; align-items: center; gap: .35rem; flex: none;
    padding: .28rem .7rem .28rem .55rem; border-radius: 999px;
    background: linear-gradient(135deg, #e3c48f, #c9a875); color: #2a1d16;
    font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    box-shadow: 0 0 0 1px rgb(255 255 255 / 25%) inset;
}
.flash-campaign__badge svg { width: 13px; height: 13px; fill: currentColor; animation: flash-pulse 1.6s ease-in-out infinite; }
.flash-campaign__offer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25rem .45rem; font-size: .88rem; line-height: 1.3; }
.flash-campaign__percent { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1; color: #f0d6a8; white-space: nowrap; }
.flash-campaign__with { color: rgb(248 239 226 / 85%); }
.flash-campaign__code {
    display: inline-flex; align-items: center; gap: .4rem;
    min-height: 32px; padding: 0 .55rem 0 .7rem;
    border: 1.5px dashed rgb(227 196 143 / 85%); border-radius: 8px;
    background: rgb(255 255 255 / 7%); color: #fff;
    font: 700 .86rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .1em;
    cursor: pointer; transition: background-color var(--transition-fast), border-color var(--transition-fast);
}
.flash-campaign__code:hover { background: rgb(255 255 255 / 14%); border-color: #f0d6a8; }
.flash-campaign__code:focus-visible { outline: 2px solid #f0d6a8; outline-offset: 2px; }
.flash-campaign__code svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; opacity: .8; }
.flash-campaign__code.is-copied { border-style: solid; border-color: #9fd3ae; background: rgb(159 211 174 / 16%); }
.flash-campaign__terms { color: rgb(248 239 226 / 70%); font-size: .74rem; }
.flash-campaign__terms:empty { display: none; }
.flash-campaign__terms span + span::before { content: " · "; }
.flash-campaign__time { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; color: rgb(248 239 226 / 78%); white-space: nowrap; }
.flash-campaign__timer {
    display: inline-block; min-width: 5.6em; padding: .3rem .55rem; border-radius: 6px;
    background: rgb(0 0 0 / 28%); box-shadow: inset 0 0 0 1px rgb(227 196 143 / 30%);
    color: #fff; font: 700 .9rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-variant-numeric: tabular-nums; letter-spacing: .06em; text-align: center;
}
.flash-campaign__timer:empty { display: none; }
.flash-campaign__cta {
    display: inline-flex; align-items: center; gap: .4rem; flex: none;
    min-height: 40px; padding: 0 1rem; border-radius: 999px;
    background: #f8efe2; color: #2a1d16; font-size: .82rem; font-weight: 700;
    text-decoration: none; transition: background-color var(--transition-fast), transform var(--transition-fast);
}
.flash-campaign__cta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--transition-fast); }
.flash-campaign__cta:hover { background: #fff; }
.flash-campaign__cta:hover svg { transform: translateX(3px); }
.flash-campaign__cta:focus-visible { outline: 2px solid #f0d6a8; outline-offset: 3px; }
@keyframes flash-sheen { 0%, 70% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes flash-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@media (max-width: 760px) {
    /* Téléphone : l'offre et son code en haut, puis badge, compte à rebours et bouton. */
    .flash-campaign__inner {
        display: grid; grid-template-columns: auto auto 1fr; align-items: center;
        grid-template-areas: "offer offer offer" "badge time cta";
        gap: .45rem .5rem; padding-block: .6rem .65rem;
    }
    .flash-campaign__offer { grid-area: offer; justify-content: flex-start; gap: .2rem .4rem; font-size: .82rem; }
    .flash-campaign__percent { font-size: 1.15rem; }
    .flash-campaign__terms { flex-basis: 100%; font-size: .68rem; line-height: 1.35; }
    .flash-campaign__badge { grid-area: badge; padding: .26rem .55rem .26rem .45rem; font-size: .6rem; letter-spacing: .12em; }
    .flash-campaign__time { grid-area: time; }
    .flash-campaign__ends { display: none; }
    .flash-campaign__timer { min-width: 5.2em; padding: .32rem .45rem; font-size: .82rem; }
    .flash-campaign__cta { grid-area: cta; justify-self: end; min-height: 36px; padding-inline: .85rem; font-size: .76rem; }
    .flash-campaign__code { min-height: 30px; padding-inline: .55rem .45rem; font-size: .78rem; }
}
@media (max-width: 370px) {
    .flash-campaign__badge { font-size: 0; gap: 0; padding: .35rem; }
    .flash-campaign__badge svg { width: 14px; height: 14px; }
    .flash-campaign__with { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .flash-campaign::after, .flash-campaign__badge svg { animation: none; }
}

/* ==========================================================================
   HERO — effet wow
   ========================================================================== */

.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height) - var(--promo-height));
    display: flex; align-items: center;
    overflow: hidden;
    background-color: var(--color-ink);
}

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-media__picture {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-media__picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* L'image mobile est sélectionnée par <picture> sous 768 px. */
@media (max-width: 768px) {
    .hero {
        min-height: calc(100svh - var(--header-height) - var(--promo-height));
    }
}

/* Point d'intérêt choisi dans le manager (Bannière d'accueil). */
.hero-media--focus-top .hero-media__picture img { object-position: center top; }
.hero-media--focus-bottom .hero-media__picture img { object-position: center bottom; }
.hero-media--focus-left .hero-media__picture img { object-position: left center; }
.hero-media--focus-right .hero-media__picture img { object-position: right center; }

.hero-media__veil {
    position: absolute; inset: 0;
    background:
        linear-gradient(115deg, rgb(20 15 12 / 82%) 0%, rgb(20 15 12 / 45%) 45%, rgb(20 15 12 / 15%) 100%);
}

.hero-content {
    position: relative; z-index: 1;
    padding-block: var(--spacing-xxl);
    color: #fff;
}

.hero-text { max-width: 660px; }
.hero-text .eyebrow { color: #f1e2cf; }
.hero-text .eyebrow::before { background-color: var(--color-gold); }

.hero-text h1 {
    color: #fff;
    font-weight: 400;
}

.hero-description {
    max-width: 500px;
    margin-bottom: var(--spacing-lg);
    font-size: 1.05rem;
    color: rgb(255 255 255 / 88%);
}

.hero-actions {
    display: flex; flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

/* Animations d'entrée du hero */
.hero-anim {
    opacity: 0;
    transform: translateY(28px);
    animation: heroFadeUp 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-anim[data-anim="1"] { animation-delay: 0.15s; }
.hero-anim[data-anim="2"] { animation-delay: 0.30s; }
.hero-anim[data-anim="3"] { animation-delay: 0.50s; }
.hero-anim[data-anim="4"] { animation-delay: 0.68s; }
.hero-anim[data-anim="5"] { animation-delay: 0.86s; }

@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Indicateur de scroll */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px; height: 42px;
    border: 1.5px solid rgb(255 255 255 / 45%);
    border-radius: 14px;
    display: flex; justify-content: center;
    z-index: 2;
}
.hero-scroll span {
    display: block;
    width: 3px; height: 8px;
    margin-top: 8px;
    border-radius: 2px;
    background-color: rgb(255 255 255 / 85%);
    animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
    0% { transform: translateY(0); opacity: 0.9; }
    60% { transform: translateY(12px); opacity: 0.2; }
    100% { transform: translateY(0); opacity: 0.9; }
}

/* ==========================================================================
   Trust bar
   ========================================================================== */

.trust-bar {
    padding-block: var(--spacing-lg);
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-line);
}
.trust-bar__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}
.trust-item {
    display: flex; align-items: center; gap: 0.85rem;
}
.trust-item__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: var(--color-bg-alt);
    color: var(--color-accent-dark);
}
.trust-item__icon .icon { width: 20px; height: 20px; }
.trust-item strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.trust-item span {
    display: block;
    font-size: 0.74rem;
    color: var(--color-ink-muted);
}

/* ==========================================================================
   Section header
   ========================================================================== */

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}
.section-description {
    max-width: 440px;
    margin-bottom: 0;
    color: var(--color-ink-muted);
    font-size: 0.95rem;
}
.text-link {
    flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 0.4rem;
    border-bottom: 1px solid var(--color-ink);
    padding-bottom: 2px;
    font-size: 0.86rem; font-weight: 500;
    transition: color var(--transition-fast), border-color var(--transition-fast), gap var(--transition-fast);
}
.text-link:hover {
    color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    gap: 0.7rem;
}

/* ==========================================================================
   ⭐ SECTION SIGNATURE (carrousel)
   ========================================================================== */

.featured-section {
    position: relative;
    padding-block: var(--spacing-xxl) var(--spacing-xl);
    background:
        radial-gradient(1200px 500px at 50% 0%, #fff 0%, transparent 60%),
        linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    overflow: hidden;
}

.featured-section__glow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(closest-side, rgb(176 122 74 / 14%), transparent 70%);
    pointer-events: none;
    filter: blur(40px);
}

/* Le carrousel reste centré dans sa zone, indépendamment de la grille */
.featured-section .carousel-section {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding-inline: 1rem;
}

/* Amélioration visuelle discrète du wrapper du carrousel */
.featured-section .carousel-wrapper {
    max-width: 1250px;
    margin: 0 auto;
}

/* ==========================================================================
   Catégories
   ========================================================================== */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}
.category-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 3 / 4;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}
.category-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
.category-card:hover img { transform: scale(1.08); }
.category-card::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgb(20 15 12 / 78%) 0%, rgb(20 15 12 / 15%) 55%, transparent 80%);
    transition: opacity var(--transition-normal);
}
.category-content {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 1;
    display: flex; align-items: center; justify-content: space-between;
    padding: var(--spacing-md);
    color: #fff;
}
.category-content h3 { margin: 0; color: #fff; font-size: 1.15rem; }
.category-content__cta {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    opacity: 0.85;
    transition: transform var(--transition-normal);
}
.category-card:hover .category-content__cta { transform: translateX(4px); opacity: 1; }

/* ==========================================================================
   Produits
   ========================================================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}
.product-card { min-width: 0; position: relative; }

.product-image {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    border-radius: var(--radius-md);
    background-color: var(--color-bg-alt);
    transform: perspective(900px) rotateX(0deg) rotateY(0deg);
    transition: transform 400ms ease, box-shadow 400ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .product-image {
        transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
    }
    .product-card:hover .product-image {
        box-shadow: var(--shadow-medium);
    }
}

.product-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
.product-card:hover .product-image img { transform: scale(1.07); }

.product-badge {
    position: absolute;
    top: 0.85rem; left: 0.85rem;
    z-index: 1;
    padding: 0.32rem 0.65rem;
    border-radius: var(--radius-sm);
    background-color: #fff;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgb(0 0 0 / 8%);
}
.product-badge--sale {
    background-color: var(--color-accent);
    color: #fff;
}
.product-badge--bestseller {
    background-color: var(--color-ink);
    color: #fff;
}
.product-badge-stack {
    position: absolute;
    top: 0.85rem; left: 0.85rem;
    z-index: 1;
    display: flex; flex-direction: column; gap: 0.4rem;
    align-items: flex-start;
}
.product-badge-stack .product-badge { position: static; }
/* Badge « Dernier exemplaire » : discret pour ne pas masquer la photo. */
.product-badge-stack .product-badge--stock {
    display: inline-flex; align-items: center; gap: .3rem;
    max-width: 100%;
    padding: .2rem .5rem;
    background: rgb(248 231 213 / 96%);
    color: #633727;
    border: 1px solid #d9ae8f;
    border-radius: 999px;
    font-size: .6875rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
    box-shadow: none;
}
.product-badge-stack .product-badge--stock::before {
    content: ""; flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%;
    background-color: currentColor;
}
.product-wishlist {
    position: absolute;
    top: 0.65rem; right: 0.65rem;
    z-index: 1;
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background-color: rgb(255 255 255 / 94%);
    box-shadow: 0 4px 14px rgb(0 0 0 / 8%);
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}
.product-wishlist:hover { transform: scale(1.08); background-color: #fff; }
.product-wishlist.is-active .icon {
    fill: #d6334a;
    stroke: #d6334a;
}
.product-wishlist.is-popping { animation: wishlist-pop 480ms cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes wishlist-pop {
    0% { transform: scale(1); }
    35% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

.product-add {
    position: absolute;
    left: 0.75rem; right: 0.75rem; bottom: 0.75rem;
    z-index: 1;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}
@media (hover: hover) and (pointer: fine) {
    .product-card:hover .product-add,
    .product-card:focus-within .product-add {
        opacity: 1; transform: translateY(0);
    }
}
@media (hover: none), (pointer: coarse) {
    .product-card.is-in-focus .product-add {
        opacity: 1; transform: translateY(0);
    }
}
.product-add .button.button--added { background-color: var(--color-success); }

.product-info h3 { margin-bottom: 0.2rem; font-size: 0.98rem; }
.product-category {
    margin-bottom: 0.35rem;
    color: var(--color-ink-muted);
    font-size: 0.76rem;
    letter-spacing: 0.02em;
}
.product-price {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
}
.product-price del {
    margin-right: 0.4rem;
    color: var(--color-ink-muted);
    font-weight: 400;
}
/* ==========================================================================
   Split banner
   ========================================================================== */

.split-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}
.split-banner__media {
    position: relative;
    min-height: 480px;
}
.split-banner__media img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.split-banner__content {
    display: flex; align-items: center;
    padding: var(--spacing-xxl) var(--spacing-xl);
    background-color: var(--color-ink);
    color: #fff;
}
.split-banner__content .eyebrow { color: #f1e2cf; }
.split-banner__content .eyebrow::before { background-color: var(--color-gold); }
.split-banner__content h2 { color: #fff; }
.split-banner__content p:not(.eyebrow) {
    max-width: 460px;
    margin-bottom: var(--spacing-lg);
    color: rgb(255 255 255 / 78%);
}

/* ==========================================================================
   Vus récemment
   ========================================================================== */

.recent-section { display: none; }
.recent-section.is-visible { display: block; }
.recent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

/* ==========================================================================
   Avis clients
   ========================================================================== */

.testimonials-section { background-color: var(--color-bg-alt); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}
.testimonial-card {
    position: relative;
    padding: var(--spacing-lg);
    background-color: var(--color-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}
.testimonial-stars {
    display: flex; gap: 0.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-accent);
}
.testimonial-stars .icon { width: 15px; height: 15px; fill: currentColor; }
.testimonial-quote {
    margin-bottom: var(--spacing-md);
    font-style: italic;
    color: var(--color-ink);
    line-height: 1.65;
}
.testimonial-author {
    margin: 0;
    color: var(--color-ink-muted);
    font-size: 0.82rem;
    font-weight: 600;
}

/* ==========================================================================
   Instagram
   ========================================================================== */

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-xs);
}
.instagram-item {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-sm);
}
.instagram-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
.instagram-item:hover img { transform: scale(1.1); }

/* ==========================================================================
   Newsletter
   ========================================================================== */

/* ==========================================================================
   Welcome modal
   ========================================================================== */

.welcome-modal-backdrop {
    position: fixed; inset: 0; z-index: 300;
    display: grid; place-items: center;
    padding: var(--spacing-md);
    background-color: var(--color-overlay);
    backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
}
.welcome-modal-backdrop.is-open { opacity: 1; visibility: visible; }
.welcome-modal {
    position: relative;
    width: min(100%, 480px);
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-lg);
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-strong);
    transform: translateY(16px) scale(0.97);
    transition: transform var(--transition-normal);
}
.welcome-modal-backdrop.is-open .welcome-modal {
    transform: translateY(0) scale(1);
}
.welcome-modal__close {
    position: absolute; top: 0.75rem; right: 0.75rem;
    width: 38px; height: 38px;
    border-radius: 50%;
}
.welcome-modal__close:hover { background-color: var(--color-bg-alt); }
.welcome-modal p { color: var(--color-ink-muted); }
.welcome-modal__code {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
    padding: 0.95rem 1.1rem;
    border: 1.5px dashed var(--color-accent);
    border-radius: var(--radius-sm);
    background-color: var(--color-bg-alt);
}
.welcome-modal__code code {
    font-family: var(--font-body);
    font-size: 1.05rem; font-weight: 700;
    letter-spacing: 0.1em;
}
.welcome-modal__copy {
    font-size: 0.76rem; font-weight: 600;
    text-decoration: underline;
    color: var(--color-accent-dark);
}

/* ==========================================================================
   Reveal au scroll
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Carrousel 3D — section "Notre sélection signature"
   (fusionné depuis test.css)
   ========================================================================== */

.carousel-section {
    width: 100%;
    max-width: 1250px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-scene {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 13%, black 87%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 13%, black 87%, transparent 100%);
}

.carousel {
    position: relative;
    width: 330px;
    height: 480px;
    transform-style: preserve-3d;
    user-select: none;
    cursor: grab;
    touch-action: pan-y;
    will-change: transform;
}

.carousel.is-dragging {
    cursor: grabbing;
}

.card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 330px;
    height: 480px;
    aspect-ratio: 330 / 480;
    transform-style: preserve-3d;
    transform:
        translate(-50%, -50%)
        translateX(0)
        translateZ(0)
        rotateY(0deg)
        scale(1);
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    transition:
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 700ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
    pointer-events: auto;
    cursor: pointer;
}

.card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 22px 18px rgba(0, 0, 0, 0.16));
}
.card__details {
    position: absolute; top: calc(100% - 2rem); left: 50%;
    transform: translateX(-50%); width: max-content; max-width: 170%;
    display: flex; flex-direction: column; align-items: center;
    gap: .2rem; padding: .25rem .5rem;
    border-radius: var(--radius-sm); background: transparent;
    color: var(--color-ink); text-align: center;
    font-size: clamp(.75rem, 1.5vw, 1rem);
}
.card:focus-visible { outline: 3px solid var(--color-accent-dark); outline-offset: 4px; }

.carousel-button {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: rgba(0, 0, 0, 0.45);
    padding: 0;
    cursor: pointer;
    z-index: 100;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: color 180ms ease, transform 180ms ease;
}

.carousel-button span {
    position: relative;
    top: -2px;
    font-size: 42px;
    font-weight: 200;
    line-height: 1;
}

.carousel-button:hover {
    background: transparent;
    color: rgba(0, 0, 0, 0.75);
}

.carousel-button:active {
    transform: translateY(-50%) scale(0.90);
}

.carousel-button--prev {
    left: 30px;
}

.carousel-button--next {
    right: 30px;
}

@media (max-width: 900px) {
    .carousel-wrapper {
        height: 580px;
    }
    .carousel {
        width: min(34vw, 290px);
        height: auto;
        aspect-ratio: 330 / 480;
    }
    .card {
        width: min(34vw, 290px);
        height: auto;
        aspect-ratio: 330 / 480;
    }
    .carousel-button--prev { left: 10px; }
    .carousel-button--next { right: 10px; }
}

@media (max-width: 600px) {
    .carousel-wrapper {
        height: 400px;
    }
    .carousel {
        width: min(28vw, 135px);
        height: auto;
        aspect-ratio: 330 / 480;
    }
    .card {
        width: min(28vw, 135px);
        height: auto;
        aspect-ratio: 330 / 480;
        border-radius: 0;
    }
    .carousel-button { width: 44px; height: 44px; }
    .carousel-button span { font-size: 34px; }
    .carousel-button--prev { left: 2px; }
    .carousel-button--next { right: 2px; }
    /* Téléphone : navigation au glissement. Les flèches restent dans la page (clavier, lecteur
       d'écran) mais sont invisibles et ne captent pas le doigt ; elles réapparaissent au focus clavier. */
    .carousel-wrapper { touch-action: pan-y; }
    .carousel-button { opacity: 0; pointer-events: none; }
    .carousel-button:focus-visible { opacity: 1; pointer-events: auto; }
}

@media (max-width: 380px) {
    .carousel-wrapper { height: 350px; }
    .carousel { width: 30vw; }
    .card { width: 30vw; }
    .carousel-button { width: 44px; height: 45px; }
    .carousel-button span { font-size: 30px; }
}

/* ==========================================================================
   Responsive — page d'accueil
   ========================================================================== */

@media (max-width: 1100px) {
    .products-grid, .recent-grid { grid-template-columns: repeat(3, 1fr); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .instagram-grid { grid-template-columns: repeat(4, 1fr); }
    .trust-bar__inner { grid-template-columns: repeat(2, 1fr); row-gap: var(--spacing-md); }
}

@media (max-width: 900px) {
    .split-banner { grid-template-columns: 1fr; }
    .split-banner__media { min-height: 340px; }
    .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .hero { min-height: auto; padding-block: 0; }
    .hero-content { padding-block: 5rem 4rem; }
    .hero-scroll { display: none; }

    .section-header { display: block; }
    .section-description { margin-top: var(--spacing-md); }

    .categories-grid, .products-grid, .recent-grid { grid-template-columns: repeat(2, 1fr); }
    .instagram-grid { grid-template-columns: repeat(3, 1fr); }

    .split-banner__content { padding: var(--spacing-xl) var(--spacing-md); }
}

@media (max-width: 500px) {
    .categories-grid, .products-grid, .recent-grid { grid-template-columns: 1fr; }
    .instagram-grid { grid-template-columns: repeat(2, 1fr); }

    .trust-bar__inner { grid-template-columns: 1fr; }
    .trust-item__icon { width: 40px; height: 40px; }
}

/* ==========================================================================
   Reduced motion — parties spécifiques à l'accueil
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .hero-media img { animation: none; transform: none; }
    .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   MISE À JOUR — v2 (bandeau flash, réassurance, carrousel, produits,
   avis, communauté). Placé en fin de fichier pour surcharger proprement.
   ========================================================================== */

/* --- Barre de réassurance : cartes modernes, grille 2x2 sur mobile --- */
.trust-bar { padding-block: 1.1rem; }
.trust-bar__inner { gap: 0.75rem; }
.trust-item {
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #fff, var(--color-bg));
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.trust-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: var(--color-accent-soft); }
.trust-item__icon { width: 42px; height: 42px; background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark)); color: #fff; box-shadow: 0 6px 14px rgb(138 90 50 / 28%); }
@media (max-width: 600px) {
    .trust-bar { padding-block: 0.75rem; }
    .trust-bar__inner { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .trust-item { flex-direction: column; text-align: center; gap: 0.4rem; padding: 0.7rem 0.4rem; }
    .trust-item__icon { width: 34px; height: 34px; }
    .trust-item__icon .icon { width: 17px; height: 17px; }
    .trust-item strong { font-size: 0.74rem; line-height: 1.25; }
    .trust-item span { font-size: 0.66rem; }
}

/* --- Sélection signature : espace titre / carrousel réduit (cartes inchangées) --- */
.featured-section { padding-block: var(--spacing-xl) var(--spacing-lg); }
.featured-section .section-header { margin-bottom: 0; }
.featured-section .carousel-wrapper { margin-top: -50px; margin-bottom: -40px; }
@media (max-width: 600px) { .featured-section .carousel-wrapper { margin-top: -60px; margin-bottom: -50px; } }
@media (max-width: 380px) { .featured-section .carousel-wrapper { margin-top: -45px; margin-bottom: -40px; } }

/* --- Nouveautés : bouton panier à côté du prix --- */
.product-buy { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.35rem; }
.product-buy .product-price { margin: 0; }
.product-cart {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    height: 44px; min-width: 44px; padding-inline: 0.7rem; border-radius: 999px;
    background-color: var(--color-ink); color: #fff; font-size: 0.72rem; font-weight: 600;
    box-shadow: 0 6px 16px rgb(28 22 19 / 22%);
    transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.product-cart:hover { background-color: var(--color-accent-dark); transform: translateY(-2px); }
.product-cart:active { transform: scale(0.94); }
.product-cart .icon { width: 18px; height: 18px; }
.product-cart__label { display: none; }
.product-cart.is-added { background-color: var(--color-success); }
@media (min-width: 1101px) { .product-cart__label { display: inline; } }
@media (max-width: 500px) {
    .categories-grid, .products-grid, .recent-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem 0.6rem; }
    .product-info h3 { font-size: 0.84rem; line-height: 1.25; }
    .product-category { font-size: 0.68rem; }
    .product-price { font-size: 0.86rem; }
    .product-cart { height: 44px; min-width: 44px; padding-inline: 0.55rem; }
    .product-badge { font-size: 0.56rem; padding: 0.22rem 0.45rem; top: 0.5rem; left: 0.5rem; }
    .product-badge-stack { top: 0.5rem; left: 0.5rem; gap: 0.25rem; }
    .product-badge-stack .product-badge--stock { gap: .25rem; padding: .15rem .42rem; font-size: .625rem; }
    .product-badge-stack .product-badge--stock::before { width: 4px; height: 4px; }
    .product-wishlist { width: 44px; height: 44px; top: 0.4rem; right: 0.4rem; }
    .category-content { padding: 0.75rem; }
    .category-content h3 { font-size: 0.95rem; }
    .category-content__cta { display: none; }
}

/* --- Avis : lien + carrousel horizontal sur mobile --- */
.testimonial-link {
    display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.85rem;
    padding: 0.4rem 0.85rem; border: 1px solid var(--color-line); border-radius: 999px;
    color: var(--color-accent-dark); font-size: 0.78rem; font-weight: 600;
    transition: background-color var(--transition-fast), color var(--transition-fast), gap var(--transition-fast);
}
.testimonial-link .icon { width: 14px; height: 14px; }
.testimonial-link:hover { background-color: var(--color-accent-dark); color: #fff; gap: 0.6rem; }
.testimonials-cta { margin-top: var(--spacing-lg); text-align: center; }
@media (max-width: 900px) {
    .testimonials-grid {
        display: flex; gap: 0.85rem; overflow-x: auto; scroll-snap-type: x mandatory;
        margin-inline: -1rem; padding: 0.5rem 1rem 1rem; scrollbar-width: none;
    }
    .testimonials-grid::-webkit-scrollbar { display: none; }
    .testimonial-card { flex: 0 0 82%; scroll-snap-align: center; padding: var(--spacing-md); }
}

/* --- Communauté : stories + reels --- */
.community .section-header { align-items: center; margin-bottom: var(--spacing-md); }
.stories {
    display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity;
    padding: 0.25rem 0.25rem 1rem; scrollbar-width: none;
}
.stories::-webkit-scrollbar, .reels::-webkit-scrollbar { display: none; }
.story { flex: 0 0 auto; width: 78px; display: grid; justify-items: center; gap: 0.45rem; scroll-snap-align: start; font-size: 0.72rem; font-weight: 500; text-align: center; }
.story__ring {
    width: 76px; height: 76px; padding: 3px; border-radius: 50%;
    background: conic-gradient(from 210deg, var(--color-gold), var(--color-accent), #d3543a, var(--color-gold));
    transition: transform var(--transition-fast);
}
.story:hover .story__ring { transform: scale(1.07); }
.story__ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--color-bg); }
.reels {
    display: flex; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -1rem; padding: 0.25rem 1rem 1rem; scrollbar-width: none;
}
.reel {
    position: relative; flex: 0 0 58%; aspect-ratio: 9 / 16; overflow: hidden; scroll-snap-align: start;
    border-radius: var(--radius-md); background-color: var(--color-ink); box-shadow: var(--shadow-soft);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.reel:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1); }
.reel:hover img { transform: scale(1.06); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(20 15 12 / 80%) 0%, transparent 55%); }
.reel__tag { position: absolute; top: 0.7rem; left: 0.7rem; z-index: 1; padding: 0.22rem 0.6rem; border-radius: 999px; background: rgb(255 255 255 / 92%); font-size: 0.66rem; font-weight: 600; }
.reel__play {
    position: absolute; top: 50%; left: 50%; z-index: 1; display: grid; place-items: center;
    width: 52px; height: 52px; border-radius: 50%; transform: translate(-50%, -50%);
    background: rgb(255 255 255 / 22%); backdrop-filter: blur(8px); color: #fff; border: 1px solid rgb(255 255 255 / 45%);
}
.reel__play .icon { fill: currentColor; width: 20px; height: 20px; margin-left: 2px; }
.reel__caption { position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.85rem; z-index: 1; color: #fff; font-size: 0.86rem; font-weight: 500; line-height: 1.3; }
.community__note { margin: 0.5rem 0 0; text-align: center; color: var(--color-ink-muted); font-size: 0.8rem; }
@media (max-width: 760px) { .community__cta { display: none; } }
@media (min-width: 600px) { .reel { flex-basis: 32%; } }
@media (min-width: 900px) {
    .stories { justify-content: center; gap: 1.5rem; }
    .story { width: 96px; font-size: 0.78rem; }
    .story__ring { width: 92px; height: 92px; }
}
@media (min-width: 1100px) {
    .reels { margin-inline: 0; padding-inline: 0; overflow: visible; }
    .reel { flex: 1 1 0; min-width: 0; }
}


/* ==========================================================================
   MISE À JOUR — v3
   ========================================================================== */

/* --- Réassurance intégrée en bas du hero --- */
.hero { flex-direction: column; align-items: stretch; justify-content: flex-end; }
.hero-content { flex: 1; display: flex; align-items: center; padding-block: var(--spacing-xl) var(--spacing-lg); }
.hero-scroll { display: none; }
.hero-trust {
    position: relative; z-index: 2;
    padding-bottom: clamp(1rem, 2.6vw, 1.75rem);
}
.hero-trust__inner {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem;
    margin: 0; padding: .55rem; list-style: none;
    border: 1px solid rgb(255 255 255 / 55%); border-radius: 22px;
    background: rgb(250 247 244 / 84%);
    -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
    box-shadow: 0 18px 44px rgb(20 15 12 / 22%);
}
.hero-trust__inner > li { min-width: 0; display: flex; }
.hero-trust__item {
    flex: 1; min-width: 0; min-height: 44px;
    display: flex; align-items: center; gap: .8rem;
    padding: .8rem .9rem; border-radius: 16px;
    color: var(--color-ink); text-decoration: none;
    transition: background-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}
.hero-trust__item:hover { background-color: #fff; box-shadow: 0 6px 18px rgb(36 31 28 / 10%); transform: translateY(-1px); }
.hero-trust__item:focus-visible { outline: 2px solid var(--color-accent-dark); outline-offset: 2px; }
.hero-trust__icon {
    display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(145deg, #3b2a1d, #5a3f2b); color: #f0d6a8;
    box-shadow: 0 0 0 3px rgb(201 168 117 / 28%), 0 6px 14px rgb(59 42 29 / 25%);
    transition: transform var(--transition-fast);
}
.hero-trust__item:hover .hero-trust__icon { transform: scale(1.06) rotate(-4deg); }
.hero-trust__icon .icon { width: 19px; height: 19px; stroke-linecap: round; stroke-linejoin: round; }
.hero-trust__text { min-width: 0; }
.hero-trust__text strong { display: block; font-size: .88rem; font-weight: 600; line-height: 1.25; color: var(--color-ink); }
.hero-trust__text > span { display: block; margin-top: .15rem; font-size: .76rem; line-height: 1.35; color: var(--color-ink-muted); }
@media (max-width: 1100px) {
    .hero-trust__item { gap: .65rem; padding: .7rem .65rem; }
    .hero-trust__icon { width: 38px; height: 38px; }
    .hero-trust__text strong { font-size: .82rem; }
    .hero-trust__text > span { font-size: .72rem; }
}
@media (max-width: 900px) {
    /* Tablette et téléphone : 2 × 2 cartes compactes, icône à gauche, texte lisible. */
    .hero-trust__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; padding: .4rem; border-radius: 18px; }
}
@media (max-width: 760px) { .hero-content { padding-block: 3.5rem 2rem; } }
@media (max-width: 600px) {
    .hero-trust { padding-bottom: .85rem; }
    .hero-trust__inner { gap: .3rem; padding: .3rem; border-radius: 16px; background: rgb(250 247 244 / 90%); }
    .hero-trust__item { gap: .5rem; padding: .55rem .5rem; border-radius: 12px; }
    .hero-trust__icon { width: 32px; height: 32px; box-shadow: 0 0 0 2px rgb(201 168 117 / 30%); }
    .hero-trust__icon .icon { width: 15px; height: 15px; }
    .hero-trust__text strong { font-size: .74rem; line-height: 1.2; }
    .hero-trust__text > span { margin-top: .1rem; font-size: .64rem; line-height: 1.25; }
}
@media (max-width: 359px) {
    .hero-trust__text > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-trust__item, .hero-trust__icon { transition: none; }
    .hero-trust__item:hover, .hero-trust__item:hover .hero-trust__icon { transform: none; }
}

/* --- Espacement entre sections réduit --- */
.section { padding-block: 5rem; }
.section-header { margin-bottom: 3rem; }
.featured-section { padding-block: 4rem 2.5rem; }
@media (max-width: 760px) {
    .section { padding-block: 3.25rem; }
    .section-header { margin-bottom: 1.75rem; }
    .featured-section { padding-block: 3rem 1.5rem; }
}

/* --- Carrousel signature : section ~15 % moins haute, cartes/images inchangées --- */
.featured-section .carousel-wrapper { height: 555px; margin-top: -10px; margin-bottom: -10px; }
@media (max-width: 900px) { .featured-section .carousel-wrapper { height: 495px; } }
@media (max-width: 600px) { .featured-section .carousel-wrapper { height: 340px; } }
@media (max-width: 380px) { .featured-section .carousel-wrapper { height: 298px; } }

/* --- Avis : tout se réduit sur petit écran --- */
@media (max-width: 500px) {
    .testimonial-card { flex-basis: 86%; padding: 1.1rem; }
    .testimonial-stars { margin-bottom: 0.5rem; }
    .testimonial-stars .icon { width: 13px; height: 13px; }
    .testimonial-quote { font-size: 0.86rem; line-height: 1.55; margin-bottom: 0.7rem; }
    .testimonial-author { font-size: 0.76rem; }
    .testimonial-link { margin-top: 0.6rem; padding: 0.3rem 0.7rem; font-size: 0.72rem; }
    .testimonials-cta { margin-top: 1.25rem; }
    .testimonials-cta .button { min-height: 46px; font-size: 0.74rem; }
}

/* --- Communauté : glisser pour voir la suite (tactile + souris) --- */
.stories, .reels, .testimonials-grid { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.stories, .reels { cursor: grab; }
.is-grabbing { scroll-snap-type: none !important; cursor: grabbing !important; user-select: none; }
.stories img, .reels img { -webkit-user-drag: none; user-select: none; }
.stories { justify-content: flex-start; }
.reels { padding-block: 0.5rem 1rem; }
@media (min-width: 900px) { .stories { justify-content: flex-start; } }
@media (min-width: 1100px) {
    .reels { margin-inline: 0; padding-inline: 0; overflow-x: auto; }
    .reel { flex: 0 0 calc((100% - 3rem) / 5); }
}
@media (max-width: 500px) {
    .story { width: 68px; font-size: 0.66rem; }
    .story__ring { width: 66px; height: 66px; }
    .reel { flex-basis: 62%; }
    .reel__caption { font-size: 0.78rem; }
}









/* ==========================================================================
   COMMUNAUTÉ — centrage, médias et visionneuse responsive
   ========================================================================== */

/* Le groupe reste centré et les nouvelles stories remplissent les côtés
   avant de passer proprement à une nouvelle ligne. */
.community .stories {
    display: flex;
    justify-content: center !important;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: clamp(.75rem, 2vw, 1.25rem);
    overflow: visible;
    padding: .5rem 0 1.15rem;
    margin-inline: auto;
    width: 100%;
}
.community .story {
    flex: 0 0 78px;
    width: 78px;
    min-width: 0;
    scroll-snap-align: none;
    text-decoration: none;
}
.community .story__ring {
    position: relative;
    display: block;
    overflow: hidden;
    isolation: isolate;
}
.community .story__ring img,
.community .story__ring video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.community .stories .story > span:last-child {
    max-width: 100%;
    overflow-wrap: anywhere;
}
.community .reel {
    isolation: isolate;
    cursor: pointer;
}
.community .reel img,
.community .reel video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.community .reel video,
.community .story video {
    pointer-events: none;
}
.community .reel__tag { display: none !important; }
.community .reel__play { pointer-events: none; }

/* Visionneuse vidéo : fond flouté, carte stable et fermeture accessible. */
.community-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    overflow-y: auto;
    background: rgb(12 10 9 / 82%);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease;
}
.community-modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.community-modal {
    position: relative;
    width: min(92vw, 430px);
    max-height: min(92dvh, 820px);
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 24px;
    background: #080808;
    box-shadow: 0 28px 100px rgb(0 0 0 / 45%);
    transform: translateY(14px) scale(.985);
    transition: transform 260ms cubic-bezier(.2,.8,.2,1);
    outline: none;
}
.community-modal-backdrop.is-open .community-modal { transform: translateY(0) scale(1); }
.community-modal__media {
    width: 100%;
    height: min(78dvh, 760px);
    aspect-ratio: 9 / 16;
    background: #000;
}
.community-modal__media video,
.community-modal__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}
.community-modal__close {
    position: absolute;
    top: .7rem;
    right: .7rem;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 28%);
    border-radius: 50%;
    color: #fff;
    background: rgb(15 15 15 / 62%);
    font-size: 1.7rem;
    line-height: 1;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    cursor: pointer;
}
.community-modal__close:hover { background: rgb(255 255 255 / 20%); }
.community-modal__body { padding: .9rem 1.1rem 1.1rem; color: #fff; }
.community-modal__type {
    margin: 0 0 .3rem;
    color: #d8b47a;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.community-modal__body h3 { margin: 0 0 .25rem; color: #fff; font-size: 1.05rem; }
.community-modal__body p:last-child { margin: 0; color: rgb(255 255 255 / 70%); font-size: .82rem; }
body.community-modal-open { overflow: hidden; }

@media (min-width: 900px) {
    .community .story { flex-basis: 96px; width: 96px; }
    .community .story__ring { width: 92px; height: 92px; }
}
@media (max-width: 600px) {
    .community .stories { gap: .85rem .7rem; }
    .community .story { flex-basis: 68px; width: 68px; font-size: .68rem; }
    .community .story__ring { width: 66px; height: 66px; }
    .community .reel { flex-basis: min(62vw, 220px); }
    .community-modal-backdrop { padding: .5rem; }
    .community-modal { width: min(94vw, 380px); max-height: 94dvh; border-radius: 18px; }
    .community-modal__media { height: min(78dvh, 720px); }
}
@media (prefers-reduced-motion: reduce) {
    .community-modal-backdrop,
    .community-modal { transition: none; }
}


/* Stories : carrousel horizontal centré lorsqu'il tient, défilant sinon. */
.community .stories {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start !important;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    cursor: grab;
}
.community .stories::-webkit-scrollbar { display: none; }
.community .story { flex-shrink: 0; scroll-snap-align: center; }
.community .story__ring { position: relative; }
@media (max-width: 600px) {
    .community .stories {
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
        padding-inline: .35rem;
        gap: .7rem;
        scroll-padding-inline: .35rem;
    }
    .community .story { scroll-snap-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .community .stories { scroll-behavior: auto; }
}


/* Les reels gardent une vignette épurée : pas d'icône lecture/pause superposée. */
.community .reel__play { display: none !important; }


/* Les témoignages de l'accueil proviennent des avis approuvés en base. */
.testimonial-stars--text { display: block; color: #b07a4a; letter-spacing: .08em; font-size: 1.1rem; }
.testimonial-link { display: inline-flex; align-items: center; gap: .4rem; }
.testimonials-empty { grid-column: 1 / -1; color: var(--color-ink-muted, #666); text-align: center; }

/* Newsletter: email and consent have independent layouts at every viewport. */
.newsletter-section { background: var(--color-bg-alt); text-align: center; }
.newsletter-content { max-width: 640px; margin-inline: auto; min-width: 0; }
.newsletter-form { display: grid; gap: 16px; margin-top: 28px; text-align: left; }
.newsletter-label { font-size: .875rem; font-weight: 600; }
.newsletter-fields { display: flex; gap: 10px; }
.newsletter-fields input { flex: 1; width: 100%; min-width: 0; min-height: 54px; padding: 14px 16px; border: 1px solid var(--color-line); border-radius: 8px; background: var(--color-surface); font: inherit; font-size: 16px; }
.newsletter-fields .button { min-height: 54px; flex-shrink: 0; border-radius: 8px; }
.newsletter-consent { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 12px; align-items: start; font-size: .875rem; line-height: 1.6; cursor: pointer; }
.newsletter-consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--color-accent-dark); }
.newsletter-note { margin: 0; font-size: .8125rem; line-height: 1.6; color: var(--color-ink-muted); }
.newsletter-note a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
.newsletter-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.newsletter-form :focus-visible { outline: 2px solid var(--color-accent-dark); outline-offset: 3px; }
@media (max-width: 480px) { .newsletter-fields { flex-direction: column; } .newsletter-fields .button { width: 100%; } }


/* Réserve la place du bouton favoris sur les cartes étroites. */
.product-badge-stack { right: 3.75rem; }
@media (max-width: 500px) { .product-badge-stack { right: 2.1rem; } }
@media (max-width: 374px) {
    .product-badge-stack { right: 3.25rem; }
    .product-badge-stack .product-badge--stock { white-space: normal; }
}

/* Cœur des favoris : tracé symétrique, jointures arrondies, centré dans le bouton. */
.product-wishlist .icon { width: 18px; height: 18px; stroke-linecap: round; stroke-linejoin: round; }

/* --- Produit épuisé : visible, badge « Bientôt de retour » et alerte --- */
.product-badge-stack .product-badge--soldout,
.product-badge--soldout {
    background-color: rgb(28 22 19 / 86%); color: #fff;
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    letter-spacing: .04em;
}
.product-card[data-availability="soldout"] .product-image img { filter: saturate(.55) brightness(1.03); opacity: .88; }
.product-availability { margin: .15rem 0 0; color: var(--color-ink-muted); font-size: .75rem; font-weight: 500; }
.product-cart.product-notify {
    background-color: #fff; color: var(--color-ink);
    border: 1px solid var(--color-line);
    box-shadow: 0 6px 16px rgb(28 22 19 / 12%);
}
.product-cart.product-notify:hover { background-color: var(--color-ink); color: #fff; border-color: var(--color-ink); }
.product-cart.product-notify .icon { stroke-linecap: round; stroke-linejoin: round; }
.product-cart.product-notify[data-alert-active="true"] { background-color: #eef5ef; color: var(--color-success); border-color: #cfe3d4; }

/* ==========================================================================
   Sélection signature — finitions (jalon 6)
   Cartes plus grandes sur mobile, détails visibles sur la pièce active,
   socle lumineux sous les sacs détourés.
   ========================================================================== */
.carousel { --card-spacing: 1.24; }
.card::before {
    content: "";
    position: absolute;
    left: 12%; right: 12%; bottom: 9%;
    height: 9%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgb(74 52 33 / 22%), transparent);
    filter: blur(6px);
    opacity: 0;
    transition: opacity 600ms ease;
    pointer-events: none;
}
.card.is-active::before { opacity: 1; }
.card img { position: relative; filter: drop-shadow(0 26px 22px rgb(52 36 22 / 18%)); }
.card__details {
    top: calc(100% - 1.4rem);
    gap: .3rem;
    max-width: 150%;
    opacity: 0;
    transform: translate(-50%, 6px);
    transition: opacity 450ms ease, transform 450ms ease;
}
.card.is-active .card__details { opacity: 1; transform: translate(-50%, 0); }
.card__details strong {
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-weight: 500;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    letter-spacing: -.01em;
    line-height: 1.2;
}
.card__price {
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--color-accent-dark, #8a6340);
}
.card__cta {
    margin-top: .2rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--color-ink);
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}
.featured-section .section-description { max-width: 440px; }

@media (max-width: 900px) {
    .carousel { --card-spacing: 1.02; }
}
@media (max-width: 600px) {
    .carousel { --card-spacing: .72; }
    .carousel,
    .card { width: min(66vw, 280px); aspect-ratio: 4 / 5; }
    .featured-section .carousel-wrapper { height: min(122vw, 500px); margin-top: -48px; margin-bottom: -10px; }
    .carousel-scene { mask-image: linear-gradient(to right, transparent 0%, black 9%, black 91%, transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0%, black 9%, black 91%, transparent 100%); }
    .card__details { top: calc(100% - 2.1rem); max-width: 135%; }
    .card__cta { display: none; }
    .card__details strong { font-size: 1.12rem; }
    .card__price { font-size: .8rem; }
    .carousel-button { width: 40px; height: 40px; border-radius: 50%; background: rgb(255 255 255 / 72%); box-shadow: 0 4px 14px rgb(0 0 0 / 8%); color: var(--color-ink); }
    .carousel-button span { font-size: 26px; top: -1px; }
    .carousel-button--prev { left: 6px; }
    .carousel-button--next { right: 6px; }
    .featured-section .section-header { text-align: center; justify-items: center; }
    .featured-section .section-description { margin-inline: auto; font-size: .92rem; }
}
@media (max-width: 380px) {
    .carousel,
    .card { width: 68vw; }
    .featured-section .carousel-wrapper { height: 126vw; }
}
@media (prefers-reduced-motion: reduce) {
    .card__details, .card::before { transition: none; }
}
.community-modal__link { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; margin-top: .5rem; padding: 0 1rem; border-radius: 999px; background: #fff; color: var(--color-ink); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.community-modal__link[hidden] { display: none; }
.community-modal__link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* --- Vus récemment : carrousel horizontal sur mobile et tablette (mêmes cartes) --- */
@media (max-width: 900px) {
    .recent-section { --rv-pad: 1.5rem; }
    .recent-section .container { width: 100%; }
    .recent-section .section-header { padding-inline: var(--rv-pad); }
    .recent-grid {
        display: flex;
        grid-template-columns: none;
        gap: .85rem;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--rv-pad);
        padding: .25rem var(--rv-pad) 1rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .recent-grid::-webkit-scrollbar { display: none; }
    .recent-grid > * { flex: 0 0 44%; min-width: 0; scroll-snap-align: start; }
}
@media (max-width: 788px) { .recent-section { --rv-pad: 1rem; } }
@media (max-width: 600px) {
    .recent-grid > * { flex-basis: 64%; }
}
@media (prefers-reduced-motion: no-preference) {
    .recent-grid { scroll-behavior: smooth; }
}

/* Avis vérifiés mis en avant : photo cliente facultative. */
.testimonial-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 1rem; background: var(--color-bg-alt); }
.testimonial-verified { color: var(--color-success); font-weight: 500; }

/* ================= Avis vérifiés (accueil) ================= */
.hrv-section{background:linear-gradient(180deg,var(--color-bg-alt) 0%,var(--color-bg) 100%)}
.hrv-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1.2rem;margin-bottom:clamp(1.5rem,4vw,2.5rem)}
.hrv-head h2{margin:0}
.hrv-score{display:flex;align-items:center;gap:.9rem;padding:.75rem 1.1rem;border:1px solid var(--color-line);border-radius:18px;background:var(--color-surface,#fff);box-shadow:0 12px 30px rgb(36 31 28 / 6%)}
.hrv-score strong{font-family:var(--font-display);font-size:2.3rem;line-height:1;color:var(--color-ink)}
.hrv-score strong small{font-size:.9rem;color:var(--color-ink-muted)}
.hrv-score>span{display:grid;gap:.25rem}
.hrv-score>span small{font-size:.78rem;color:var(--color-ink-muted)}
.hrv-stars{--r:0%;position:relative;display:inline-block;line-height:1;letter-spacing:.12em;color:#e4d9cb;font-size:1rem;white-space:nowrap}
.hrv-stars::before{content:"★★★★★"}
.hrv-stars::after{content:"★★★★★";position:absolute;inset:0;width:var(--r);overflow:hidden;color:#c9a24f}
.hrv-list{display:flex;gap:1.1rem;margin:0;padding:.3rem .1rem 1rem;list-style:none;align-items:stretch;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-x:contain}
.hrv-list::-webkit-scrollbar{display:none}
.hrv-card{flex:0 0 calc((100% - 2.2rem) / 3);scroll-snap-align:start}
.hrv-nav{display:flex;gap:.5rem}
.hrv-nav button{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--color-line);border-radius:50%;background:var(--color-surface,#fff);color:var(--color-ink);cursor:pointer;transition:background-color .2s ease,opacity .2s ease}
.hrv-nav button:hover:not(:disabled){background:var(--color-ink);color:#fff}
.hrv-nav button:disabled{opacity:.35;cursor:default}
.hrv-nav svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hrv-head__side{display:flex;flex-wrap:wrap;align-items:center;gap:.9rem}
.hrv-card{display:flex;flex-direction:column;border:1px solid var(--color-line);border-radius:22px;background:var(--color-surface,#fff);overflow:hidden;box-shadow:0 14px 34px rgb(36 31 28 / 5%);transition:transform .25s ease,box-shadow .25s ease}
.hrv-card:hover{transform:translateY(-3px);box-shadow:0 22px 44px rgb(36 31 28 / 9%)}
.hrv-card__photo{height:190px;background:var(--color-bg-alt);overflow:hidden}
.hrv-card__photo img{width:100%;height:100%;object-fit:cover}
.hrv-card__body{display:grid;align-content:start;gap:.65rem;padding:1.25rem 1.3rem 1rem;flex:1}
.hrv-card__title{margin:0;font-family:Inter,Arial,sans-serif;font-size:1rem;font-weight:700;color:var(--color-ink)}
.hrv-card__quote{position:relative;margin:0}
.hrv-card__quote p{margin:0;color:var(--color-ink-soft);font-size:.92rem;line-height:1.7;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
.hrv-card__body:not(:has(.hrv-card__title)) .hrv-card__quote::before{content:"“";display:block;height:1.4rem;font-family:var(--font-display);font-size:3rem;line-height:1;color:#d8bf92}
.hrv-card__author{display:flex;align-items:center;gap:.65rem;margin-top:.3rem}
.hrv-card__author>span:last-child{display:grid;gap:.1rem}
.hrv-card__author strong{font-size:.88rem;color:var(--color-ink)}
.hrv-avatar{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,#efe2cf,#d9bf96);color:#5a4433;font-family:var(--font-display);font-weight:600}
.hrv-verified{display:inline-flex;align-items:center;gap:.25rem;color:#2f6a45;font-size:.72rem;font-weight:600}
.hrv-verified svg{width:14px;height:14px;fill:#e5f1e8;stroke:#2f6a45;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.hrv-card__product{display:flex;align-items:center;gap:.7rem;margin:0 1rem 1rem;padding:.55rem .7rem;border-radius:14px;background:var(--color-bg-alt);color:var(--color-ink);text-decoration:none;transition:background-color .2s ease}
.hrv-card__product:hover{background:#ebe1d4}
.hrv-card__product img{width:40px;height:46px;object-fit:cover;border-radius:8px;flex:none}
.hrv-card__product>span{display:grid;min-width:0;flex:1}
.hrv-card__product small{font-size:.68rem;color:var(--color-ink-muted);text-transform:uppercase;letter-spacing:.08em}
.hrv-card__product strong{font-size:.84rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hrv-card__product svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hrv-note{margin:1.5rem 0 0;text-align:center;font-size:.8rem;color:var(--color-ink-muted)}
@media(max-width:1023px){.hrv-card{flex-basis:calc((100% - 1.1rem) / 2)}}
@media(max-width:720px){
  .hrv-list{gap:.8rem;margin:0 -1rem;padding:.3rem 1rem .8rem;scroll-padding-inline:1rem}
  .hrv-card{flex-basis:84%}
  .hrv-head__side{width:100%}.hrv-score{flex:1}.hrv-nav{display:none}
  .hrv-card__photo{height:170px}
}
@media(prefers-reduced-motion:reduce){.hrv-card{transition:none}.hrv-card:hover{transform:none}}

/* Communauté : invitation à suivre la marque */
.community__header { align-items: flex-end; }
.community-follow { display: grid; gap: .7rem; justify-items: end; max-width: 460px; text-align: right; }
.community-follow__lead { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--color-ink-muted); }
.community-follow__tag { margin: 0; font-size: .8rem; color: var(--color-ink-muted); }
.community-follow__tag strong { color: var(--color-accent-dark); font-weight: 600; }
.community-follow .social-links { justify-content: flex-end; }
@media (max-width: 900px) {
    .community-follow { justify-items: start; text-align: left; margin-top: var(--spacing-md); max-width: none; }
    .community-follow .social-links { justify-content: flex-start; }
}
@media (max-width: 420px) {
    .community-follow { min-width: 0; width: 100%; }
    .community-follow .social-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
    .community-follow .social-link { min-width: 0; padding-right: .7rem; }
    .community-follow .social-link__text { min-width: 0; overflow: hidden; }
    .community-follow .social-link__text strong, .community-follow .social-link__text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 359px) {
    .community-follow .social-links { grid-template-columns: 1fr; }
}
