﻿/* ========================================================= */
/* JOLIE CAPRICIEUSE PARIS                                  */
/* FILE : frontend/css/footer.css                           */
/* VERSION : FOOTER OFFICIEL FINAL STABLE                   */
/* ========================================================= */

.footer-signature,
.footer-signature * {
    box-sizing: border-box;
}

.footer-signature {
    position: relative;
    overflow: hidden;
    background: #F5EDE7;
    padding: 0 !important;
    margin: 0 !important;
}

/* NEWSLETTER */

.footer-newsletter {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0 10px;
}

.footer-newsletter-form {
    width: min(680px, calc(100% - 40px));
    height: 64px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 999px;
    border: 1px solid rgba(198, 160, 98, 0.45);
    background: rgba(255, 255, 255, 0.92);
}

.footer-newsletter-form input {
    flex: 1;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 34px;
    color: #111111;
    font-size: 15px;
}

.footer-newsletter-form button {
    width: 250px;
    height: 100%;
    border: none;
    background: #050505;
    color: #C6A062;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
}

/* TRUST */

.footer-trust {
    width: min(1380px, calc(100% - 80px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 0 0 12px;
}

.footer-trust-item {
    position: relative;
    text-align: center;
    padding-inline: 26px;
}

.footer-trust-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 0;
    width: 1px;
    height: 92px;
    background: rgba(198, 160, 98, 0.22);
}

.footer-trust-icon {
    display: block;
    margin-bottom: 14px;
    color: #C6A062;
    font-size: 42px;
}

.footer-trust-item h3 {
    margin-bottom: 8px;
    color: #111111;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-trust-item p {
    color: rgba(17, 17, 17, 0.72);
    font-size: 14px;
    line-height: 1.5;
}

/* PARIS SKYLINE */

.footer-paris {
    position: relative;
    height: 340px;
    overflow: hidden;
    background: #F5EDE7;
}

.footer-skyline {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url("../assets/layout/footer/footer-paris-desktop.webp");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center 108%;
}

.footer-paris::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 180px;
    z-index: 2;
    background: linear-gradient(
        to bottom,
        rgba(5, 5, 5, 0) 0%,
        rgba(5, 5, 5, 0.12) 28%,
        rgba(5, 5, 5, 0.58) 68%,
        rgba(5, 5, 5, 0.92) 92%,
        #050505 100%
    );
    pointer-events: none;
}

/* BRANDING */

.footer-branding {
    position: absolute;
    z-index: 3;
    left: clamp(80px, 9vw, 160px);
    top: 70px;
    text-align: left;
}

.footer-branding .monogram {
    display: none;
}

.footer-branding h2 {
    color: #111111;
    font-family: var(--font-title);
    font-size: clamp(42px, 3.4vw, 62px);
    font-weight: 500;
    line-height: 1;
}

/* FOOTER NOIR */

.footer {
    background: #050505;
    margin-top: -1px;
    padding: 56px 0 34px;
}

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

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr 0.9fr 1fr;
    gap: 56px;
    padding-bottom: 54px;
}

.footer-column h3,
.footer-brand h3 {
    position: relative;
    width: fit-content;
    margin-bottom: 26px;
    padding-bottom: 12px;
    color: #FFFFFF;
    font-size: 20px;
    font-family: var(--font-title);
    font-weight: 500;
}

.footer-column h3::after,
.footer-brand h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 1px;
    background: #C6A062;
}

.footer-brand-stack {
    margin-bottom: 22px;
    color: #FFFFFF;
    font-size: 18px;
    line-height: 1.45;
}

.footer-description {
    max-width: 310px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.9;
}

.footer-column a {
    display: block;
    width: fit-content;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 15px;
    text-decoration: none;
}

.footer-column a:hover {
    color: #C6A062;
}

/* BOTTOM */

.footer-bottom {
    min-height: 220px;
    padding-top: 0;
    border-top: 1px solid rgba(198, 160, 98, 0.28);

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 48px;

    background: #050505;
    color: #F5F0E8;
}

.footer-bottom-brand {
    justify-self: start;
    text-align: center;
    color: #C6A062;
    opacity: 1;
}

.footer-bottom-brand h3 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #ffffff;
}

.footer-bottom-brand span {
    display: block;
    margin-top: 12px;
    color: #C6A062;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.55em;
    text-indent: 0.55em;
}

.footer-brand-line {
    margin-top: 18px;
    color: #C6A062;
    font-size: 14px;
    letter-spacing: 0.72em;
}

.footer-bottom-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;

    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    white-space: nowrap;
}

.footer-bottom-legal a {
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}

.footer-socials {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.footer-socials a {
    width: 54px;
    height: 54px;

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

    border: 1px solid rgba(198, 160, 98, 0.72);
    border-radius: 50%;

    color: #C6A062;
    background: transparent;
    text-decoration: none;

    transition:
        background 0.28s ease,
        color 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        transform 0.28s ease;
}

.footer-socials a i {
    font-size: 22px;
    line-height: 1;
}

.footer-socials a:hover {
    color: #050505;
    background: #C6A062;
    border-color: #C6A062;
    transform: translateY(-2px);
    box-shadow:
        0 0 16px rgba(198, 160, 98, 0.30),
        0 0 34px rgba(198, 160, 98, 0.14);
}

/* TABLET */

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

    .footer-trust {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 34px;
    }

    .footer-trust-item:nth-child(2)::after {
        display: none;
    }

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

    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-bottom-brand {
        justify-self: center;
    }

    .footer-bottom-legal {
        flex-wrap: wrap;
        white-space: normal;
        text-align: center;
    }
}

/* MOBILE */

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

    .footer-newsletter-form {
        flex-direction: column;
        height: auto;
        border-radius: 28px;
    }

    .footer-newsletter-form input,
    .footer-newsletter-form button {
        width: 100%;
        height: 58px;
        text-align: center;
    }

    .footer-trust {
        grid-template-columns: 1fr;
        width: calc(100% - 34px);
    }

    .footer-trust-item::after {
        display: none !important;
    }

    .footer-paris {
        height: 360px;
    }

    .footer-skyline {
        background-image: url("../assets/layout/footer/footer-paris-mobile.webp");
        background-size: cover;
        background-position: center 42%;
    }

    .footer-branding {
        left: 50%;
        top: 58px;
        transform: translateX(-50%);
        width: calc(100% - 40px);
        text-align: center;
    }

    .footer-branding h2 {
        font-size: 38px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-container {
        width: calc(100% - 34px);
    }
}

/* ========================================================= */
/* MOBILE NEWSLETTER V2 + FOOTER V2                          */
/* Dedicated mobile structure. Desktop footer remains intact. */
/* ========================================================= */

.footer-mobile-v2 {
    display: none;
}

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

    .footer-signature,
    .footer {
        display: none !important;
    }

    .footer-mobile-v2 {
        display: block;
        background: #000000;
        color: #ffffff;
        font-family: "Inter", sans-serif;
        padding: 0 !important;
        margin: 0 !important;
        
    }

    .footer-mobile-newsletter {
        padding: 58px 28px 52px;
        background: #f5ede7;
        color: #111111;
        text-align: center;
    }

    .footer-mobile-kicker {
        margin: 0 0 14px;
        color: #c89b4f;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.24em;
        text-transform: uppercase;
    }

    .footer-mobile-newsletter h2 {
        margin: 0;
        font-family: "Cormorant Garamond", serif;
        font-size: clamp(34px, 10vw, 48px);
        font-weight: 500;
        line-height: 0.96;
    }

    .footer-mobile-newsletter p:not(.footer-mobile-kicker) {
        margin: 22px auto 28px;
        max-width: 300px;
        font-size: 14px;
        line-height: 1.65;
        color: rgba(17, 17, 17, 0.76);
    }

    .footer-mobile-newsletter-form {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .footer-mobile-newsletter-form input,
    .footer-mobile-newsletter-form button {
        width: 100%;
        min-height: 52px;
        border-radius: 0;
        font-family: "Inter", sans-serif;
        font-size: 12px;
        letter-spacing: 0.12em;
    }

    .footer-mobile-newsletter-form input {
        border: 1px solid rgba(200, 155, 79, 0.42);
        background: #ffffff;
        color: #111111;
        padding: 0 18px;
        letter-spacing: 0.02em;
    }

    .footer-mobile-newsletter-form button {
        border: 1px solid #000000;
        background: #000000;
        color: #ffffff;
        font-weight: 800;
        text-transform: uppercase;
        cursor: pointer;
    }

    .footer-mobile-trust {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        background: #ffffff;
        color: #111111;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .footer-mobile-trust-item {
        min-height: 154px;
        padding: 28px 18px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-right: 1px solid rgba(0, 0, 0, 0.08);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .footer-mobile-trust-item:nth-child(2n) {
        border-right: none;
    }

    .footer-mobile-trust-item:nth-child(n+3) {
        border-bottom: none;
    }

    .footer-mobile-trust-item span {
        margin-bottom: 16px;
        color: #c89b4f;
        font-family: "Cormorant Garamond", serif;
        font-size: 34px;
        line-height: 1;
    }

    .footer-mobile-trust-item h3 {
        margin: 0 0 7px;
        font-family: "Cormorant Garamond", serif;
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .footer-mobile-trust-item p {
        margin: 0;
        font-size: 12px;
        line-height: 1.35;
        color: rgba(17, 17, 17, 0.68);
    }

    .footer-mobile-paris {
        min-height: 250px;
        padding: 54px 26px 118px;
        display: flex;
        align-items: flex-start;
        background:
            linear-gradient(180deg, rgba(245, 237, 231, 0.92) 0%, rgba(245, 237, 231, 0.72) 45%, rgba(0, 0, 0, 0.92) 100%),
            url("../assets/layout/footer/footer-paris-mobile.webp") center bottom / cover no-repeat;
        color: #111111;
    }

    .footer-mobile-paris h2 {
        margin: 0;
        font-family: "Cormorant Garamond", serif;
        font-size: clamp(34px, 11vw, 52px);
        font-weight: 500;
        line-height: 0.98;
    }

    .footer-mobile-accordion {
        padding: 28px 26px 10px;
        background: #000000;
    }

    .footer-mobile-panel {
        border-bottom: 1px solid rgba(200, 155, 79, 0.32);
    }

    .footer-mobile-panel-button {
        width: 100%;
        min-height: 66px;
        padding: 0;
        border: none;
        background: transparent;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-family: "Inter", sans-serif;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        cursor: pointer;
    }

    .footer-mobile-panel-button span:last-child {
        color: #c89b4f;
        font-size: 24px;
        font-weight: 300;
        line-height: 1;
        transition: transform 0.25s ease;
    }

    .footer-mobile-panel.is-open .footer-mobile-panel-button span:last-child {
        transform: rotate(45deg);
    }

    .footer-mobile-panel-content {
        max-height: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        gap: 14px;
        transition: max-height 0.28s ease, padding-bottom 0.28s ease;
    }

    .footer-mobile-panel.is-open .footer-mobile-panel-content {
        max-height: 240px;
        padding-bottom: 24px;
    }

    .footer-mobile-panel-content a {
        color: rgba(255, 255, 255, 0.78);
        font-size: 14px;
        line-height: 1.2;
        text-decoration: none;
    }

    .footer-mobile-bottom {
        padding: 30px 26px 40px;
        background: #000000;
        color: rgba(255, 255, 255, 0.78);
    }

    .footer-mobile-payment {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 11px 14px;
        color: #c89b4f;
        font-size: 13px;
    }

    .footer-mobile-payment strong {
        color: #c89b4f;
        font-size: 13px;
        font-weight: 700;
    }

    .footer-mobile-socials {
        margin-top: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
    }

    .footer-mobile-socials a {
        width: 44px;
        height: 44px;
        border: 1px solid rgba(200, 155, 79, 0.68);
        border-radius: 50%;
        color: #c89b4f;
        background: transparent;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition:
            background 0.25s ease,
            color 0.25s ease,
            border-color 0.25s ease,
            transform 0.25s ease;
    }

    .footer-mobile-socials a i {
        font-size: 19px;
        line-height: 1;
    }

    .footer-mobile-socials a:hover {
        background: #c89b4f;
        border-color: #c89b4f;
        color: #000000;
        transform: translateY(-2px);
    }

    .footer-mobile-bottom p {
        margin: 28px 0 0;
        color: rgba(255, 255, 255, 0.58);
        font-size: 12px;
        line-height: 1.5;
    }

}    
