/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

/* Soleil sur le bouton CTA */
.hero-inner .btn-primary {
    position: relative;
}

.btn-sun {
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    width: 40px;
    height: auto;
    color: #f4a261;
    transform: translateX(-50%) translateY(22px) scale(0.1);
    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.8s ease-out,
        opacity   0.6s ease;
}

.hero-inner .btn-primary:hover .btn-sun {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
}

.btn-sun svg {
    width: 100%;
    height: 100%;
}

.hero {
    position: relative;
    height: calc(100svh - 4px);
    /* height: calc(100svh - var(--header-top-height) - var(--header-nav-height)); */
    display: fles;
    /* display: grid; */
    /* grid-template-columns: 1fr 1fr; */
    align-items: stretch;
    overflow: hidden;
    border-bottom: 4px solid white;
    padding: 0 4px;
    background-color: white;
}

.hero::after {
    content: '';
    position: absolute;
    left: 50%;
    height: 100%;
    width: 4px;
    background-color: white;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-inner {
    display: none;
    /* display: flex; */
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    padding: 3rem;
    background-color: var(--light-pink);
}

.hero-eyebrow {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.10rem;
    text-transform: uppercase;
    color: var(--blue);
}

.hero-home-content {
	position: absolute;
	left: 3rem;
	bottom: 4rem;
	color: white;
	z-index: 2;
	display: flex;
	justify-content: space-between;
	width: calc(100% - 6rem);
	align-items: flex-end;
}

/* Curseur custom sur le hero : créé en JS, positionné sur body */
.hero-home-toshop-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.15s ease;
    will-change: transform;
}

.hero-home-toshop-cursor.is-visible {
    opacity: 1;
}

.hero-visual:hover {
    cursor: none;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 11rem);
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: -0.15em;
}

.hero-subtitle {
    font-size: 1.4rem;
    line-height: 1.7;
    max-width: 60rem;
    margin-bottom: 4rem;
    text-transform: uppercase;
    font-weight: 500;
}

.hero-visual {
    position: relative;
    height: 100%;
    display: block;
}

.hero-gotoeshop-animation {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 3;
    justify-content: center;
    align-items: center;
}

.hero-gotoeshop-animation__item {
    font-size: 10rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    opacity: 0;
    color: white;
}

.hero-visual:hover .hero-gotoeshop-animation__item {
    animation: gotoeshop-item 3s ease-out infinite both;
}

.hero-visual:hover .hero-gotoeshop-animation__item:nth-of-type(1) { animation-delay: 0s; }
.hero-visual:hover .hero-gotoeshop-animation__item:nth-of-type(2) { animation-delay: 0.2s; }
.hero-visual:hover .hero-gotoeshop-animation__item:nth-of-type(3) { animation-delay: 0.4s; }
.hero-visual:hover .hero-gotoeshop-animation__item:nth-of-type(4) { animation-delay: 0.6s; }
.hero-visual:hover .hero-gotoeshop-animation__item:nth-of-type(5) { animation-delay: 0.8s; }
.hero-visual:hover .hero-gotoeshop-animation__item:nth-of-type(6) { animation-delay: 1.0s; }

@keyframes gotoeshop-item {
    0%   { opacity: 0; transform: translateY(12px); }
    10%  { opacity: 1; transform: translateY(0); }
    60%  { opacity: 1; transform: translateY(0); }
    75%  { opacity: 0; transform: translateY(-8px); }
    100% { opacity: 0; transform: translateY(-8px); }
}

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

/* Slideshow hero
   --------------------------------------------------------- */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide--2 { display: none; }
}


/* ---------------------------------------------------------
   Collections / Products
   --------------------------------------------------------- */
.collections {
    padding: 0 4px 4px;
}

/* Grille de vrais produits */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.product-slot {
    position: relative;
    overflow: hidden;
}

.product-card {
    overflow: hidden;
}

.product-card-link {
    position: relative;
    display: block;
}

.product-card-image {
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--cream-dark);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.04);
}

/* Overlay hover
   --------------------------------------------------------- */
.product-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.product-card-link:hover .product-card-overlay {
    opacity: 1;
}

.product-card-overlay-label {
    font-size: 5rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--light-pink);
    transform: translateY(-50px);
    opacity: 0;
    transition: transform 0.35s ease 0.05s, opacity 0.35s ease 0.05s;
}

.product-card-link:hover .product-card-overlay-label {
    transform: translateY(0);
    opacity: 1;
}

.product-card-overlay-arrow {
    width: 36px;
    height: auto;
    color: #fff;
    opacity: 0;
    transform: translateY(6px);
    transition: transform 0.35s ease 0.1s, opacity 0.35s ease 0.1s;
}

.product-card-link:hover .product-card-overlay-arrow {
    opacity: 1;
    transform: translateY(0);
    animation: arrow-slide 1.1s cubic-bezier(0.4, 0, 0.2, 1) infinite 0.45s;
}

@keyframes arrow-slide {
    0%        { transform: translateX(0);     }
    45%       { transform: translateX(10px);  }
    50%       { transform: translateX(10px);  }
    100%      { transform: translateX(0);     }
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--cream-dark), var(--gold-pale));
}

.product-card-info {
    position: absolute;
    bottom: 3rem;
    right: 0;
    padding: 0 2rem;
    left: 0;
}

.product-card-name {
    font-size: 5rem;
    font-weight: 700;
    color: var(--light-pink);
    text-transform: uppercase;
    text-align: center;
}

.product-card-link:hover .product-card-name {
    animation: name-summer 2.5s ease-in-out infinite;
}

.product-card-suptitle {
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--light-pink);
    text-align: center;
    margin-bottom: 0.3rem;
    letter-spacing: 0.05rem;
    font-weight: 500;
}

.product-card-price {
    font-size: 2rem;
    color: var(--light-pink);
    font-weight: 700;
    text-align: center;
    margin-top: 0.3rem;
}

.products-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
}

.products-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 3vw, 2rem);
    width: 100%;
}

.product-placeholder-card {
    background-color: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.placeholder-image {
    aspect-ratio: 1;
    background: linear-gradient(110deg, var(--cream-dark) 30%, var(--cream) 50%, var(--cream-dark) 70%);
    background-size: 200% 100%;
    animation: shimmer 1.8s infinite;
}

.placeholder-text {
    padding: 1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.placeholder-line {
    height: 14px;
    border-radius: 4px;
    background: linear-gradient(110deg, var(--cream-dark) 30%, var(--cream) 50%, var(--cream-dark) 70%);
    background-size: 200% 100%;
    animation: shimmer 1.8s infinite;
}

.placeholder-line.short {
    width: 55%;
    animation-delay: 0.15s;
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ---------------------------------------------------------
   Bandeau défilant
   --------------------------------------------------------- */
.marquee-band {
    overflow: hidden;
    background-color: var(--blue);
    color: var(--light-pink);
    padding: 3rem 0;
    border-bottom: 4px solid white;
}

.marquee-track {
    display: inline-flex;
    white-space: nowrap;
}

.marquee-inner {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    font-size: 6rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.marquee-item {
    padding: 0 1.5rem;
}

.marquee-sep {
    opacity: 0.45;
    font-size: 0.7em;
    flex-shrink: 0;
}

/* ---------------------------------------------------------
   Storytelling
   --------------------------------------------------------- */
.section-eyebrow {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.10rem;
    text-transform: uppercase;
    color: var(--blue);
}

.storytelling {
    overflow-x: clip;
    background-color: white;
    padding: 0 4px 4px;
}

.storytelling-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    align-items: stretch;
}

.storytelling-visual {
    overflow: hidden;
    max-height: 800px;
}

.storytelling-visual--img {
    overflow: visible;
    position: relative;
    transform: translateX(calc(100% + 4px));
    transition: transform 0.8s linear;
    z-index: 2;
}

.storytelling-visual--img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background: var(--light-pink);
    transition: width 1.2s linear;
}

.storytelling-visual--img.is-visible {
    transform: translateX(0);
}

.storytelling-visual--img.is-visible::before {
    width: 0;
}

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

.storytelling-visual video {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
    transform: scale(1.06);
}

.storytelling-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 5rem 10rem 5rem 5rem;
    justify-content: center;
    background-color: var(--light-pink);
}

/* Coeur flottant sur le bouton storytelling */
.storytelling-content .btn-primary {
    position: relative;
}

.btn-heart {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    opacity: 0;
    pointer-events: none;
    font-size: 2.2rem;
    line-height: 1;
    user-select: none;
    color: var(--terracotta);
}

.btn-heart-glyph {
    display: block;
}

.storytelling-content .btn-primary:hover .btn-heart {
    animation: heart-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.storytelling-content .btn-primary:hover .btn-heart-glyph {
    animation: heart-sway 1.4s ease-in-out infinite;
}

@keyframes heart-rise {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes heart-sway {
    0%, 100% { transform: rotate(-10deg); }
    50%       { transform: rotate(10deg); }
}

.storytelling-content h2 {
    font-size: clamp(3rem, 7vw, 8rem);
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
}

.storytelling-content p {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.7;
    max-width: 56rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

