﻿/* ========================================================= */
/* JOLIE CAPRICIEUSE PARIS                                  */
/* FILE : frontend/css/home.css                             */
/* VERSION : HOME V9 / HERO + CENTER HOMEPAGE STRUCTURE     */
/* ========================================================= */



/* ========================================================= */
/* HERO SECTION — FULLSCREEN MEDIA SLIDER                    */
/* ========================================================= */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: -10px;
    padding-top: 10px;
}

.hero-campaign-system {
    isolation: isolate;
}

.hero-background,
.hero::before {
    display: none;
}



/* ========================================================= */
/* HERO SLIDER                                               */
/* ========================================================= */

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-slider-track {
    display: flex;
    width: 100%;
    height: 100vh;
    transition: transform 0.8s ease;
    will-change: transform;
}

.hero-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}



/* ========================================================= */
/* HERO MEDIA                                                */
/* ========================================================= */

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

.hero-media picture {
    width: 100%;
    height: 100%;
    display: block;
}


.hero-media-element {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.01);
}

.hero-slide-video .hero-media-element {
    object-position: center center;
}



/* ========================================================= */
/* HERO OVERLAY                                              */
/* ========================================================= */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.68) 0%,
            rgba(0, 0, 0, 0.48) 33%,
            rgba(0, 0, 0, 0.18) 66%,
            rgba(0, 0, 0, 0.08) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.52) 0%,
            rgba(0, 0, 0, 0.10) 34%,
            rgba(0, 0, 0, 0.46) 100%
        );
    pointer-events: none;
}



/* ========================================================= */
/* HERO CONTAINER                                            */
/* ========================================================= */

.hero-container {
    position: relative;
    z-index: 3;
    width: min(1460px, calc(100% - 120px));
    min-height: 100vh;
    margin-inline: auto;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding-top: 230px;
    padding-bottom: 122px;
}



/* ========================================================= */
/* HERO CONTENT                                              */
/* ========================================================= */

.hero-content {
    max-width: 760px;
    color: #FFFFFF;
    transform: translateY(18px);
    opacity: 0;
    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}

.hero-slide.is-active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-subtitle {
    display: block;
    margin-bottom: 18px;
    color: #C6A062;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.hero-content h1 {
    margin: 0;
    max-width: 780px;
    font-family: var(--font-title);
    font-size: clamp(58px, 6.6vw, 122px);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.055em;
    color: #FFFFFF;
    text-shadow: 0 20px 70px rgba(0, 0, 0, 0.42);
}

.hero-content p {
    max-width: 560px;
    margin-top: 26px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    line-height: 1.75;
    text-shadow: 0 12px 44px rgba(0, 0, 0, 0.45);
}



/* ========================================================= */
/* HERO BUTTONS                                              */
/* ========================================================= */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.hero .btn-primary,
.hero .btn-secondary {
    min-width: 190px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 34px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition:
        transform 0.28s ease,
        background-color 0.28s ease,
        border-color 0.28s ease,
        color 0.28s ease;
}

.hero .btn-primary {
    background-color: #050505;
    border: 1px solid #050505;
    color: #FFFFFF;
}

.hero .btn-secondary {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.72);
    color: #FFFFFF;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero .btn-primary:hover,
.hero .btn-secondary:hover {
    transform: translateY(-2px);
}

.hero .btn-primary:hover {
    background-color: #FFFFFF;
    border-color: #FFFFFF;
    color: #050505;
}

.hero .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.18);
}



/* ========================================================= */
/* HERO PAGINATION                                           */
/* ========================================================= */

.hero-pagination {
    position: absolute;
    left: 50%;
    bottom: 52px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.18);
    cursor: pointer;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.hero-dot.active {
    transform: scale(1.18);
    background-color: #FFFFFF;
    border-color: #FFFFFF;
}



/* ========================================================= */
/* HERO NAVIGATION                                           */
/* ========================================================= */

.hero-navigation {
    position: absolute;
    inset: 0;
    z-index: 9;
    pointer-events: none;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    width: 64px;
    height: 64px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    font-weight: 200;
    line-height: 1;
    transform: translateY(-50%);
    pointer-events: auto;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.hero-arrow:hover {
    color: #FFFFFF;
}

.hero-arrow-prev {
    left: 26px;
}

.hero-arrow-next {
    right: 26px;
}

.hero-arrow-prev:hover {
    transform: translate(-4px, -50%);
}

.hero-arrow-next:hover {
    transform: translate(4px, -50%);
}

.hero-visual {
    display: none;
}



/* ========================================================= */
/* ZONE 1 — BRAND STORY                                      */
/* ========================================================= */

.brand-story-section {
    background: #FFFFFF;
    padding: 40px 0 45px;
}

.brand-story-container {
    width: min(980px, calc(100% - 48px));
    margin-inline: auto;
    text-align: center;
}

.brand-story-kicker {
    display: block;
    margin-bottom: 22px;
    color: #B98952;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.brand-story-container h2 {
    margin-bottom: 34px;
    color: #111111;
    font-family: var(--font-title);
    font-size: clamp(54px, 6vw, 96px);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.brand-story-container p {
    max-width: 820px;
    margin-inline: auto;
    margin-bottom: 20px;
    color: rgba(17, 17, 17, 0.74);
    font-size: 17px;
    line-height: 1.95;
}

.brand-story-container p:last-child {
    margin-bottom: 0;
}



/* ========================================================= */
/* ZONE 2 — FEATURED PRODUCT PREMIUM                         */
/* ========================================================= */

.featured-product-section {
    background: #FFFFFF;
    padding: 112px 0;
}

.featured-product-container {
    width: min(1460px, calc(100% - 90px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: center;
    gap: 74px;
}

.featured-product-content {
    max-width: 520px;
}

.featured-product-kicker {
    display: block;
    margin-bottom: 22px;
    color: #B98952;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.featured-product-content h2 {
    margin-bottom: 30px;
    color: #111111;
    font-family: var(--font-title);
    font-size: clamp(54px, 5vw, 86px);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.055em;
}

.featured-product-content p {
    margin-bottom: 38px;
    color: rgba(17, 17, 17, 0.72);
    font-size: 16px;
    line-height: 1.9;
}

.featured-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.featured-product-actions .btn-primary,
.featured-product-actions .btn-secondary {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
}

.featured-product-actions .btn-primary {
    background: #050505;
    border: 1px solid #050505;
    color: #FFFFFF;
}

.featured-product-actions .btn-secondary {
    background: transparent;
    border: 1px solid rgba(5, 5, 5, 0.22);
    color: #050505;
}

.featured-product-gallery {
    position: relative;
    width: min(720px, 100%);
    min-height: 980px;
    overflow: hidden;
    border-radius: 0;
    background: #F5EDE7;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.06);
    justify-self: center;
}

.featured-product-track {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 980px;
}

.featured-product-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.015);
    transition:
        opacity 0.6s ease,
        transform 0.8s ease;
}

.featured-product-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.featured-product-slide img {
    width: 100%;
    height: 100%;
    min-height: 980px;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.featured-product-dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 4;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.featured-product-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 1px solid rgba(5, 5, 5, 0.52);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.featured-product-dot.active {
    background: #050505;
}



/* ========================================================= */
/* ZONE 3 — BEST SELLERS                                     */
/* ========================================================= */

.best-sellers-section {
    background: #F5EDE7;
    padding: 108px 0 118px;
}

.best-sellers-container {
    width: min(1460px, calc(100% - 90px));
    margin-inline: auto;
}

.best-sellers-heading {
    max-width: 780px;
    margin-inline: auto;
    margin-bottom: 58px;
    text-align: center;
}

.best-sellers-kicker {
    display: block;
    margin-bottom: 18px;
    color: #B98952;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.best-sellers-heading h2 {
    margin-bottom: 22px;
    color: #111111;
    font-family: var(--font-title);
    font-size: clamp(54px, 5.4vw, 92px);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.055em;
}

.best-sellers-heading p {
    color: rgba(17, 17, 17, 0.68);
    font-size: 16px;
    line-height: 1.8;
}

.best-sellers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.best-seller-card {
    background: #FFFFFF;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.best-seller-image {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1.35;
    overflow: hidden;
    background: #FFFFFF;
}

.home-promotion-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 26px;
    padding: 5px 10px;

    background: #ff7893;
    color: #FFFFFF;
    border-radius: 4px;

    font-size: 12px;
    font-weight: 700;
    line-height: 1;

    pointer-events: none;
}

.best-seller-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.best-seller-card:hover .best-seller-image img {
    transform: scale(1.035);
}

.best-seller-info {
    padding: 22px 22px 26px;
    text-align: center;
}

.best-seller-info h3 {
    margin-bottom: 8px;
    color: #111111;
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
}

.best-seller-info p {
    color: #111111;
    font-size: 16px;
    font-weight: 700;
}

/* ============================================================
   HOME — PRIX PROMOTION
   ============================================================ */

.best-seller-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.best-seller-price-before {
    color: #c62828;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    font-weight: 600;
}

.best-seller-price-discount {
    color: #111111;
    font-weight: 700;
}

.best-seller-price-current {
    color: #111111;
    font-weight: 800;
}



/* ========================================================= */
/* RESPONSIVE                                                */
/* ========================================================= */

@media screen and (max-width: 1180px) {

    .featured-product-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .featured-product-content {
        max-width: 760px;
        text-align: center;
        margin-inline: auto;
    }

    .featured-product-actions {
        justify-content: center;
    }

    .best-sellers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}



@media screen and (max-width: 980px) {

    .hero,
    .hero-slider,
    .hero-slider-track,
    .hero-slide {
        min-height: 72svh;
        height: 72svh;
    }

    .hero-container {
        width: calc(100% - 44px);
        min-height: 72svh;
        align-items: flex-end;
        padding-top: 120px;
        padding-bottom: 74px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.70) 0%,
                rgba(0, 0, 0, 0.36) 58%,
                rgba(0, 0, 0, 0.16) 100%
            ),
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.48) 0%,
                rgba(0, 0, 0, 0.06) 42%,
                rgba(0, 0, 0, 0.58) 100%
            );
    }

    .hero-content {
        max-width: 620px;
    }

    .hero-content h1 {
        font-size: clamp(44px, 12vw, 76px);
    }

    .hero-content p {
        max-width: 460px;
        font-size: 15px;
        line-height: 1.7;
    }

    .hero .btn-primary,
    .hero .btn-secondary {
        min-width: 160px;
        min-height: 50px;
        padding-inline: 26px;
    }

    .hero-arrow {
        display: none;
    }

    .brand-story-section,
    .featured-product-section,
    .best-sellers-section {
        padding-block: 82px;
    }

    .featured-product-gallery,
    .featured-product-track,
    .featured-product-slide img {
        min-height: 560px;
    }

}


@media screen and (min-width:581px) and (max-width:980px){

    .hero-picture-turtle .hero-media-element{

        object-fit:cover;
        object-position:72% 50%;
        transform:scale(1.02);

    }

}



@media screen and (max-width: 580px) {


    .hero,
    .hero-slider,
    .hero-slider-track,
    .hero-slide {
        min-height: 82svh;
        height: 82svh;
    }

    .hero-container {
        width: calc(100% - 34px);
        min-height: 82svh;
        padding-top: 0;
        padding-bottom: 108px;
    }

    .hero-media-element {
        object-position: center 48%;
    }

    .hero-picture-turtle .hero-media-element {

        object-fit: cover;
        object-position: center 35%;
        transform: scale(1.03);

    }

    .hero-picture-necklace {
        transform: translateY(-95px) scale(1.06);
    }


    .hero-content h1 {
        font-size: clamp(36px, 13vw, 54px);
        line-height: 0.96;
    }

    .hero-content p {
        max-width: 92%;
        margin-inline: auto;
        margin-top: 18px;
        font-size: 14px;
    }

    .hero-buttons{
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:12px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary{

        width:200px;
        height:50px;

        display:flex;
        justify-content:center;
        align-items:center;

        padding:0;

        font-size:12px;
        font-weight:600;
        letter-spacing:.12em;
        text-transform:uppercase;

    }

    .hero-pagination {
        bottom: 74px;
    }

    .brand-story-section,
    .featured-product-section,
    .best-sellers-section {
        padding-block: 42px;
        padding-bottom: 0;
    }

    .brand-story-container h2,
    .featured-product-content h2,
    .best-sellers-heading h2 {
        font-size: 46px;
    }

    .brand-story-container p,
    .featured-product-content p,
    .best-sellers-heading p {
        font-size: 14px;
        line-height: 1.75;
    }

    .featured-product-container,
    .best-sellers-container {
        width: calc(100% - 34px);
    }

    .featured-product-gallery,
    .featured-product-track,
    .featured-product-slide img {
        min-height: 430px;
        border-radius: 0px;
    }

    .featured-product-actions .btn-primary,
    .featured-product-actions .btn-secondary {
        width: 100%;
    }

    .best-sellers-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 10px;
    }

    .best-seller-image {
        aspect-ratio: 1 / 1.20;
    }

    .best-seller-info {
        padding: 12px 8px 16px;
    }

    .best-seller-info h3 {
        font-size: 16px;
        margin-bottom: 6px;
        line-height: 1.15;
    }

    .best-seller-info p {
        font-size: 12px;
        line-height: 1.4;
    }
}
