/* Page d'accueil premium — Racine Vita */

body.page-home {
    background: #fff;
    color: #1a1a1a;
}

body.page-home .header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: none;
}

body.page-home .header .nav-link {
    color: var(--text-medium);
}

body.page-home .header .nav-link:hover,
body.page-home .header .nav-link.active {
    color: var(--primary-dark);
}

body.page-home .header .menu-toggle span {
    background: var(--text-dark);
}

body.page-home .header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: rgba(0, 0, 0, 0.06);
    box-shadow: none;
}

/* Bandeau annonce */
.home-promo-bar {
    margin-top: max(85px, calc(72px + env(safe-area-inset-top, 0px)));
    background: #f7f5f2;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
}

.home-promo-bar__inner {
    padding: 10px 20px;
}

.home-promo-bar p {
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #4a4a4a;
    font-weight: 500;
}

.home-promo-bar a {
    color: #1a1a1a;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home-promo-bar a:hover {
    color: var(--primary-gold-dark);
}

/* —— Bande titres défilants (sous le hero) —— */
.home-values-ticker {
    position: relative;
    overflow: hidden;
    background: var(--soft-cream, #f2faf0);
    border-top: 1px solid rgba(114, 192, 64, 0.16);
    border-bottom: 1px solid rgba(114, 192, 64, 0.16);
    padding: 12px 0;
    user-select: none;
}

.home-values-ticker__track {
    display: flex;
    width: max-content;
    animation: homeValuesTicker 42s linear infinite;
}

.home-values-ticker:hover .home-values-ticker__track {
    animation-play-state: paused;
}

.home-values-ticker__list {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-values-ticker__list li {
    flex-shrink: 0;
    padding: 0 28px;
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-dark);
    white-space: nowrap;
    line-height: 1.3;
    position: relative;
}

.home-values-ticker__list li::after {
    content: '·';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    color: var(--primary);
    font-size: 1.35em;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

@keyframes homeValuesTicker {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-values-ticker__track {
        animation: none;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        row-gap: 6px;
    }

    .home-values-ticker__list[aria-hidden="true"] {
        display: none;
    }

    .home-values-ticker__list {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 4px 0;
    }

    .home-values-ticker__list li {
        padding: 4px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .home-values-ticker {
        padding: 10px 0;
    }

    .home-values-ticker__list li {
        padding: 0 20px;
        font-size: 0.9rem;
    }

    .home-values-ticker__track {
        animation-duration: 32s;
    }
}

/* —— Hero slider (bannière rectangulaire pleine largeur) —— */
/* Annule les anciennes règles .hero-mosaic de style.css (grille + texte en overlay) */
section.hero-mosaic,
body.page-home section.hero-mosaic {
    position: relative;
    margin-top: 0;
    display: flex !important;
    flex-direction: column;
    grid-template-columns: unset !important;
    grid-template-rows: unset !important;
    gap: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    background: #fff;
    overflow: hidden;
}

.hero-mosaic-visual {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: hidden;
    background: #fff;
    padding: 0;
    box-sizing: border-box;
    touch-action: pan-y pinch-zoom;
}

.hero-mosaic-container {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hero-mosaic-stage {
    position: relative;
    width: 100%;
}

/* Bannière rectangulaire — pleine largeur sur tous les écrans */
.hero-mosaic-slider {
    position: relative;
    width: 100%;
    height: clamp(200px, 36vw, 520px);
    overflow: hidden;
    border-radius: 0;
    background: #f7f5f2;
}

.hero-mosaic-banner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-mosaic-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.hero-mosaic-banner img.is-zoom-in {
    animation: heroTileZoomIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Entrée / sortie des diapositives */
.hero-mosaic-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
}

.hero-mosaic-slide.is-active {
    z-index: 2;
    pointer-events: auto;
    animation: heroSlideEnterForward 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-mosaic-slide.is-active.is-backward {
    animation-name: heroSlideEnterBackward;
}

.hero-mosaic-slide.is-leaving {
    z-index: 1;
    pointer-events: none;
    animation: heroSlideLeaveForward 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-mosaic-slide.is-leaving.is-backward {
    animation-name: heroSlideLeaveBackward;
}

@keyframes heroSlideEnterForward {
    from {
        opacity: 0;
        transform: translate3d(5%, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes heroSlideLeaveForward {
    from {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
    to {
        opacity: 0;
        transform: translate3d(-5%, 0, 0);
    }
}

@keyframes heroSlideEnterBackward {
    from {
        opacity: 0;
        transform: translate3d(-5%, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes heroSlideLeaveBackward {
    from {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
    to {
        opacity: 0;
        transform: translate3d(5%, 0, 0);
    }
}

@keyframes heroTileZoomIn {
    from {
        transform: scale(1.08);
    }
    to {
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-mosaic-banner img {
        animation: none !important;
    }
}

/* Flèches */
.hero-mosaic-arrow {
    display: flex;
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-dark, #1e3a1e);
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    transform: translateY(-50%);
}

.hero-mosaic-arrow--prev {
    left: 8px;
}

.hero-mosaic-arrow--next {
    right: 8px;
}

.hero-mosaic-arrow:hover {
    background: var(--primary-gold, #72c040);
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}

.hero-mosaic-arrow:focus-visible {
    outline: 3px solid var(--primary-gold, #72c040);
    outline-offset: 2px;
}

/* Points — bas gauche du slider principal (style parapharma) */
.hero-mosaic-dots {
    position: absolute;
    left: clamp(12px, 2vw, 20px);
    bottom: clamp(12px, 2vw, 18px);
    z-index: 5;
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(6px);
}

.hero-mosaic-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-mosaic-dot {
    position: relative;
    width: 8px;
    height: 8px;
    min-height: 44px;
    min-width: 44px;
    padding: 18px 0;
    margin: -18px 0;
    border: none;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    overflow: visible;
    box-sizing: content-box;
}

.hero-mosaic-dot::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: rgba(30, 58, 30, 0.25);
    transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease, background 0.25s ease;
}

.hero-mosaic-dot.is-active::before {
    width: 22px;
    height: 8px;
    margin: -4px 0 0 -11px;
    border-radius: 4px;
    background: var(--primary-gold, #72c040);
}

.hero-mosaic-dot-fill {
    display: none;
}

.hero-mosaic-dot.is-active .hero-mosaic-dot-fill {
    display: none;
}

.hero-mosaic-dot:hover::before {
    background: rgba(30, 58, 30, 0.4);
}

.hero-mosaic-dot.is-active:hover::before {
    background: var(--primary-gold-dark, #509a28);
}

@keyframes heroMosaicDotProgress {
    from { width: 0; }
    to { width: 100%; }
}

.hero-mosaic-panel .hero-mosaic-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 12px;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.hero-mosaic-panel .hero-mosaic-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.8vw, 2.35rem);
    font-weight: 600;
    line-height: 1.12;
    margin-bottom: 14px;
    color: #fff;
    text-shadow: 0 1px 16px rgba(0, 0, 0, 0.2);
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.hero-mosaic-panel .hero-mosaic-subtitle {
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 22px;
    font-weight: 300;
    max-width: 420px;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.hero-mosaic-panel .hero-mosaic-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
}

.hero-mosaic-panel .hero-mosaic-actions .btn-outline {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.65);
}

.hero-mosaic-panel .hero-mosaic-actions .btn-outline:hover {
    background: #fff;
    color: var(--text-dark);
    border-color: #fff;
}

.hero-mosaic-panel::after {
    content: none;
}

.hero-mosaic-actions .btn {
    border-radius: 50px;
    padding: 15px 30px;
    text-transform: none;
    font-size: 15px;
}

@media (prefers-reduced-motion: reduce) {
    .hero-mosaic-slide {
        animation: none !important;
    }

    .hero-mosaic-slide.is-active {
        opacity: 1;
    }

    .hero-mosaic-slide:not(.is-active) {
        opacity: 0;
    }

    .hero-mosaic-dot::before {
        transition: none;
    }
}

/* Legacy hero (autres pages) */
.hero-premium {
    position: relative;
    min-height: 100vh;
    margin-top: 85px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #FAF9F7 0%, #F5F0EB 45%, #EAF5E4 100%);
}

.hero-premium-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-premium-glow--1 {
    width: 500px;
    height: 500px;
    top: -10%;
    right: 5%;
    background: rgba(114, 192, 64, 0.15);
    animation: heroFloat 8s ease-in-out infinite;
}

.hero-premium-glow--2 {
    width: 350px;
    height: 350px;
    bottom: 10%;
    left: -5%;
    background: rgba(30, 58, 30, 0.06);
    animation: heroFloat 10s ease-in-out infinite reverse;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -15px); }
}

.hero-premium-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0 80px;
    position: relative;
    z-index: 1;
}

.hero-premium-content {
    max-width: 560px;
}

.hero-premium-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary-gold-dark);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-premium-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.15;
    color: #1A1A1A;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.15s forwards;
}

.hero-premium-subtitle {
    font-size: 18px;
    color: var(--text-medium);
    line-height: 1.75;
    margin-bottom: 36px;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.hero-premium-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.45s forwards;
}

.hero-premium-actions .btn {
    border-radius: 50px;
    padding: 16px 32px;
    text-transform: none;
    letter-spacing: 0.5px;
    font-size: 15px;
}

.hero-premium-actions .btn-outline-dark {
    background: transparent;
    color: #1A1A1A;
    border: 2px solid rgba(26, 26, 26, 0.2);
}

.hero-premium-actions .btn-outline-dark:hover {
    background: #1A1A1A;
    color: #fff;
    border-color: #1A1A1A;
}

.hero-premium-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 1s ease 0.35s forwards;
}

.hero-premium-product-ring {
    position: absolute;
    width: 85%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(245, 240, 235, 0.4) 70%);
    box-shadow: 0 40px 100px rgba(30, 58, 30, 0.12);
}

.hero-premium-product {
    position: relative;
    z-index: 2;
    max-height: 520px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.12));
    animation: productFloat 5s ease-in-out infinite;
}

@keyframes productFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* —— Sections communes home —— */
.home-section {
    padding: clamp(56px, 8vw, 88px) 0;
}

.home-section--cream {
    background: #faf9f7;
}

.home-section--white {
    background: #fff;
}

.home-section--sand {
    background: #f7f5f2;
}

.home-section--beige {
    background: #f7f5f2;
}

.home-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(40px, 6vw, 56px);
}

.home-section-header--caudalie .section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #1a1a1a;
    margin-bottom: 0;
    line-height: 1.2;
}

.home-section-quote {
    margin: 16px auto 0;
    max-width: 520px;
    font-size: 15px;
    line-height: 1.65;
    color: #5c5c5c;
    font-weight: 300;
    font-style: italic;
}

.home-link-all {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.home-link-all:hover {
    color: var(--primary-gold-dark);
}

.home-section-header .section-description {
    margin-bottom: 0;
}

/* —— Produits phares —— */
.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.featured-products-grid--three {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.featured-product-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: opacity 0.35s ease;
    text-align: center;
}

.featured-product-card:hover {
    transform: none;
    box-shadow: none;
    opacity: 0.92;
}

.featured-product-image {
    position: relative;
    height: clamp(260px, 32vw, 340px);
    background: #f7f5f2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 20px;
}

.featured-product-image img {
    max-height: 85%;
    width: auto;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.featured-product-card:hover .featured-product-image img {
    transform: scale(1.04);
}

.featured-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    background: #1a1a1a;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 2px;
}

.featured-product-body {
    padding: 0 8px;
}

.featured-product-benefit {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6b6b6b;
    margin-bottom: 6px;
}

.featured-product-name {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 500;
    margin-bottom: 8px;
    color: #1a1a1a;
    line-height: 1.35;
}

.featured-product-price {
    font-size: 14px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.featured-product-discover {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a1a1a;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.featured-product-discover:hover {
    color: var(--primary-gold-dark);
    gap: 6px;
}

.featured-product-discover i {
    display: none;
}

.featured-products-cta {
    text-align: center;
    margin-top: clamp(32px, 5vw, 48px);
}

/* —— L'expérience Racine Vita (style Caudalie) —— */
.home-experience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2.5vw, 24px);
}

.home-experience-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-experience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.home-experience-card__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f7f5f2;
}

.home-experience-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-experience-card:hover .home-experience-card__media img {
    transform: scale(1.05);
}

.home-experience-card__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    margin: 16px 16px 8px;
    color: #1a1a1a;
    line-height: 1.3;
}

.home-experience-card__text {
    font-size: 13px;
    line-height: 1.6;
    color: #5c5c5c;
    margin: 0 16px 12px;
    flex: 1;
}

.home-experience-card__link {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: #1a1a1a;
    margin: 0 16px 18px;
}

.home-experience-card:hover .home-experience-card__link {
    color: var(--primary-gold-dark);
}

/* —— Pourquoi nous —— */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-us-card {
    text-align: center;
    padding: 44px 28px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(30, 58, 30, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.why-us-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(30, 58, 30, 0.08);
}

.why-us-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #EAF5E4, #F5F0EB);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary-gold-dark);
}

.why-us-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #1A1A1A;
}

.why-us-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.65;
}

/* —— Ingrédients phares (bandeau horizontal compact, fond sombre) —— */
.home-ingredients {
    overflow: hidden;
    padding: clamp(40px, 5vw, 56px) 0;
    background:
        radial-gradient(ellipse 70% 55% at 15% 0%, rgba(72, 160, 40, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 60% 45% at 90% 100%, rgba(114, 192, 64, 0.1) 0%, transparent 50%),
        #1a2218;
}

.home-ingredients .home-section-header {
    margin-bottom: clamp(18px, 3vw, 26px);
}

.home-ingredients .section-title {
    color: #f2f7ef;
}

.home-ingredients .home-section-quote {
    color: rgba(232, 240, 228, 0.72);
}

.home-ingredients .home-link-all {
    color: #e8f0e4;
}

.home-ingredients .home-link-all:hover {
    color: var(--primary-light);
}

.ingredients-track-wrap {
    position: relative;
}

.ingredients-track-wrap::before,
.ingredients-track-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 14px;
    width: min(56px, 7vw);
    z-index: 2;
    pointer-events: none;
}

.ingredients-track-wrap::before {
    left: 0;
    background: linear-gradient(90deg, #1a2218 0%, rgba(26, 34, 24, 0) 100%);
}

.ingredients-track-wrap::after {
    right: 0;
    background: linear-gradient(270deg, #1a2218 0%, rgba(26, 34, 24, 0) 100%);
}

.ingredients-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    align-items: stretch;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(20px, calc((100vw - var(--container-max-width)) / 2 + 20px));
    -webkit-overflow-scrolling: touch;
    padding: 6px max(20px, calc((100vw - var(--container-max-width)) / 2 + 20px)) 18px;
    scrollbar-width: thin;
    scrollbar-color: rgba(181, 224, 138, 0.45) transparent;
}

.ingredients-track::-webkit-scrollbar {
    height: 3px;
}

.ingredients-track::-webkit-scrollbar-track {
    background: transparent;
}

.ingredients-track::-webkit-scrollbar-thumb {
    background: rgba(181, 224, 138, 0.4);
    border-radius: 999px;
}

.ingredient-panel {
    flex: 0 0 min(220px, 72vw);
    scroll-snap-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 16px 16px;
    background: rgba(36, 48, 36, 0.92);
    border: 1px solid rgba(208, 232, 200, 0.14);
    border-radius: 14px;
    min-height: 168px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.3s ease,
        box-shadow 0.35s ease,
        background 0.3s ease;
    isolation: isolate;
    overflow: hidden;
}

.ingredient-panel::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0.9;
    transform: scaleX(0.3);
    transform-origin: left center;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ingredient-panel::after {
    content: '';
    position: absolute;
    right: -28px;
    bottom: -28px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(114, 192, 64, 0.14) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.ingredient-panel:hover {
    transform: translateY(-3px);
    background: rgba(42, 56, 42, 0.98);
    border-color: rgba(114, 192, 64, 0.35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.ingredient-panel:hover::before {
    transform: scaleX(1);
}

.ingredient-panel__index {
    position: absolute;
    top: 12px;
    right: 14px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(181, 224, 138, 0.18);
    line-height: 1;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.ingredient-panel:hover .ingredient-panel__index {
    color: rgba(181, 224, 138, 0.32);
}

.ingredient-panel__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(26, 34, 24, 0.7);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    border: 1px solid rgba(208, 232, 200, 0.2);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.ingredient-panel:hover .ingredient-panel__icon {
    transform: scale(1.06);
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-color: transparent;
}

.ingredient-panel__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
}

.ingredient-panel__name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    color: #f2f7ef;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.ingredient-panel__benefit {
    display: inline-flex;
    align-self: flex-start;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin: 0;
    padding: 3px 8px;
    background: rgba(26, 34, 24, 0.75);
    border-radius: 999px;
}

.ingredient-panel__text {
    font-size: 12.5px;
    line-height: 1.55;
    color: rgba(232, 240, 228, 0.7);
    margin: 2px 0 0;
    max-width: 24ch;
}

.home-ingredients .featured-products-cta {
    margin-top: clamp(4px, 1.5vw, 10px);
}

/* —— Catégories — une ligne —— */
.categories-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 18px;
    align-items: stretch;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 4px 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-gold) transparent;
}

.categories-row::-webkit-scrollbar {
    height: 6px;
}

.categories-row::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 3px;
}

.categories-row__card {
    flex: 0 0 calc(16.666% - 15px);
    min-width: 140px;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 0;
    background: transparent;
    border-radius: 4px;
    box-shadow: none;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
    border: none;
}

.categories-row__card:hover {
    transform: none;
    box-shadow: none;
    opacity: 0.88;
}

.categories-row__icon {
    display: none;
}

.categories-row__image {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #f7f5f2;
}

.categories-row__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.categories-row__card:hover .categories-row__image img {
    transform: scale(1.08);
}

.categories-row__name {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 4px;
    line-height: 1.3;
}

.categories-row__cta {
    display: none;
}

/* —— Catalogue premium (legacy) —— */
.catalogue-premium-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-auto-rows: minmax(200px, auto);
    gap: 24px;
}

.catalogue-premium-card:nth-child(4) {
    grid-column: 1 / -1;
    min-height: 240px;
}

.catalogue-premium-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 320px;
    display: block;
    text-decoration: none;
    color: inherit;
}

.catalogue-premium-card--tall {
    grid-row: span 2;
    min-height: 100%;
}

.catalogue-premium-image {
    position: absolute;
    inset: 0;
}

.catalogue-premium-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.catalogue-premium-card:hover .catalogue-premium-image img {
    transform: scale(1.06);
}

.catalogue-premium-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.75) 0%, rgba(26, 26, 26, 0.15) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    transition: background 0.4s ease;
}

.catalogue-premium-card:hover .catalogue-premium-overlay {
    background: linear-gradient(to top, rgba(80, 154, 40, 0.85) 0%, rgba(80, 154, 40, 0.35) 55%, transparent 100%);
}

.catalogue-premium-name {
    font-family: var(--font-heading);
    font-size: 26px;
    color: #fff;
    margin-bottom: 8px;
}

.catalogue-premium-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
}

.catalogue-premium-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.catalogue-premium-card:hover .catalogue-premium-link {
    opacity: 1;
    transform: translateY(0);
}

.catalogue-premium-cta {
    text-align: center;
    margin-top: 40px;
}

/* —— Story / Vidéo (style éditorial Caudalie) —— */
.story-premium {
    margin: 0;
    padding: clamp(60px, 8vw, 96px) 0;
    background: #fff;
}

.story-premium-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.story-premium-media {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f7f5f2;
}

.story-premium-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-premium-content {
    text-align: left;
    color: #1a1a1a;
    max-width: 520px;
    padding: 0;
}

.story-premium-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.25;
}

.story-premium-text {
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.75;
    margin-bottom: 28px;
}

.story-play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    border: none;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: transform 0.35s ease, background 0.35s ease;
    padding-left: 4px;
}

.story-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.06);
    background: #fff;
}

.story-video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 24px;
}

.story-video-modal.active {
    opacity: 1;
    visibility: visible;
}

.story-video-modal-inner {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
}

.story-video-modal-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-video-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.story-video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
    padding: 40px;
    text-align: center;
}

.story-video-placeholder i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-gold);
}

/* —— Footer premium —— */
.footer-premium {
    background: #1A1A1A;
    color: rgba(255, 255, 255, 0.85);
    padding: 44px 0 0;
}

.footer-premium .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 32px;
    max-width: 1120px;
    margin: 0 auto;
    align-items: start;
    justify-items: stretch;
    text-align: center;
}

.footer-premium .footer-column,
.footer-premium .footer-column--brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
    text-align: center;
}

.footer-premium .footer-brand-head {
    width: 100%;
    margin: 0 0 10px;
    padding: 0 0 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.footer-premium .footer-brand-logo {
    display: block;
    margin: 0 auto;
    line-height: 0;
}

.footer-premium .footer-brand-logo-img {
    display: block;
    width: auto !important;
    height: 48px !important;
    max-width: min(200px, 80%);
    margin: 0 auto;
    object-fit: contain;
}

.footer-premium .footer-title {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 10px;
    padding: 0 0 8px;
    line-height: 1.2;
    width: 100%;
    align-self: stretch;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.footer-premium .footer-column--brand .footer-description {
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    line-height: 1.4;
    margin: 0 0 12px;
    width: 100%;
    text-align: center;
}

.footer-premium .footer-column--brand .footer-social {
    justify-content: center;
    width: 100%;
    margin: 0;
}

.footer-premium .footer-links li,
.footer-premium .footer-contact li {
    display: block !important;
    width: 100%;
    margin-bottom: 5px;
    line-height: 1.3;
    text-align: left;
    gap: 0;
}

.footer-premium .footer-links,
.footer-premium .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    text-align: left;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-premium .footer-links a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    line-height: 1.35;
    display: inline-block;
    text-align: left;
}

.footer-premium .footer-links a:hover {
    color: var(--primary-gold-light);
    padding-left: 0;
}

.footer-premium .footer-contact li {
    display: inline-flex !important;
    justify-content: flex-start;
    align-items: center;
    width: auto;
    max-width: 100%;
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.65;
    text-align: left;
    gap: 8px;
}

.footer-premium .footer-contact i {
    display: inline-block;
    flex-shrink: 0;
    font-size: 14px;
    margin: 0;
    width: 14px;
    text-align: center;
}

.footer-premium .footer-contact a {
    color: rgba(255, 255, 255, 0.62);
    transition: color 0.2s ease;
    line-height: 1.65;
}

.footer-premium .footer-contact a:hover {
    color: var(--primary-gold-light);
}

.footer-whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 24px;
    background: #25D366;
    color: #fff !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-whatsapp-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    color: #fff !important;
    padding-left: 24px;
}

.footer-qr-block {
    text-align: center;
}

.footer-qr-box {
    width: 100px;
    height: 100px;
    margin: 0 auto 12px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.footer-qr-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-qr-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

.footer-premium .footer-social {
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.footer-premium .footer-social a {
    width: 36px;
    height: 36px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.footer-premium .footer-social a:hover {
    background: var(--primary-gold);
    transform: none;
}

.footer-premium .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.1);
    margin-top: 28px;
    padding: 14px 0 16px;
    gap: 8px;
    justify-content: center;
    text-align: center;
}

.footer-premium .footer-copyright {
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
    line-height: 1.3;
    margin: 0;
}

.footer-premium .footer-legal {
    font-size: 12px;
    line-height: 1.3;
    gap: 6px;
    justify-content: center;
}

.footer-premium .footer-legal a {
    color: rgba(255, 255, 255, 0.42);
    text-decoration: none;
}

.footer-premium .footer-legal a:hover {
    color: var(--primary-gold-light);
}

.footer-premium .footer-legal span {
    color: rgba(255, 255, 255, 0.25);
}

/* —— Responsive —— */
@media (max-width: 1200px) {
    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .story-premium-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .story-premium-content {
        max-width: none;
        text-align: center;
    }

    .story-premium-content .home-link-all {
        display: inline-block;
    }

    .categories-row__card {
        flex: 0 0 calc(33.333% - 12px);
        min-width: 140px;
    }

    .hero-premium-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 40px 0 60px;
    }

    .hero-premium-content {
        max-width: 100%;
    }

    .hero-premium-actions {
        justify-content: center;
    }

    .hero-premium-product {
        max-height: 380px;
    }

    .catalogue-premium-grid {
        grid-template-columns: 1fr;
    }

    .catalogue-premium-card--tall {
        grid-row: span 1;
        min-height: 280px;
    }

    .footer-premium .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .home-section {
        padding: 60px 0;
    }

    .featured-products-grid {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .ingredient-panel {
        flex: 0 0 min(200px, 78vw);
        min-height: 156px;
        padding: 16px 14px 14px;
        gap: 10px;
    }

    .ingredient-panel__name {
        font-size: 1rem;
    }

    .ingredient-panel__text {
        font-size: 12px;
        max-width: none;
    }

    .ingredients-track-wrap::before,
    .ingredients-track-wrap::after {
        width: 20px;
    }

    .home-experience-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-mosaic-arrow {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .hero-mosaic-arrow--prev {
        left: 4px;
    }

    .hero-mosaic-arrow--next {
        right: 4px;
    }

    .hero-mosaic-dots {
        left: 10px;
        bottom: 10px;
        padding: 6px 10px;
    }

    .categories-row__card {
        flex: 0 0 min(85%, 280px);
        min-width: 200px;
    }

    .categories-row__cta {
        opacity: 1;
        transform: none;
    }

    .featured-products-grid--three {
        gap: clamp(16px, 4vw, 24px);
    }

    .hero-premium {
        min-height: auto;
    }

    .footer-premium {
        padding: 36px 0 0;
    }

    .footer-premium .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-premium .footer-bottom {
        margin-top: 20px;
        padding: 12px 0 14px;
        flex-direction: column;
        text-align: center;
    }

    .footer-premium .footer-description {
        max-width: none;
    }

    .footer-qr-block {
        text-align: left;
    }

    .footer-qr-box {
        margin: 0 0 12px;
    }
}

[data-theme="dark"] body.page-home .hero-mosaic-arrow {
    background: rgba(30, 42, 30, 0.92);
    border-color: var(--border-light);
    color: var(--text-dark);
}

[data-theme="dark"] body.page-home .hero-mosaic-arrow:hover {
    background: var(--primary-gold, #72c040);
    color: #fff;
}

[data-theme="dark"] body.page-home .hero-mosaic-dots {
    background: rgba(30, 42, 30, 0.9);
}
