﻿/* ========================================================= */
/* JOLIE CAPRICIEUSE PARIS                                  */
/* FILE : frontend/css/responsive.css                       */
/* VERSION : RESPONSIVE PREMIUM V3                          */
/* ADN : SWAROVSKI + PANDORA + JCP                          */
/* ========================================================= */



/* ========================================================= */
/* ULTRA LARGE DESKTOP                                       */
/* ========================================================= */

@media screen and (max-width: 1680px) {

    .hero-container,
    .editorial-container,
    .campaign-section,
    .story-container {

        width: min(100% - 80px, 100%);

    }

}



/* ========================================================= */
/* LARGE DESKTOP                                             */
/* ========================================================= */

@media screen and (max-width: 1440px) {

    /* ===================================================== */
    /* HERO                                                   */
    /* ===================================================== */

    .hero {

        padding-top: 220px;

    }

    .hero-container {

        gap: 80px;

    }

    .hero-content h1 {

        font-size: clamp(76px, 8vw, 122px);

    }

    .hero-visual img {

        width: min(100%, 720px);

    }



    /* ===================================================== */
    /* EDITORIAL                                              */
    /* ===================================================== */

    .editorial-card {

        min-height: 620px;

    }

    .editorial-large {

        min-height: 1268px;

    }



    /* ===================================================== */
    /* CAMPAIGN                                               */
    /* ===================================================== */

    .campaign-section {

        gap: 80px;

    }

    .campaign-content h2 {

        font-size: clamp(60px, 5vw, 90px);

    }



    /* ===================================================== */
    /* STORY                                                  */
    /* ===================================================== */

    .story-container {

        gap: 80px;

    }

    .story-content h2 {

        font-size: clamp(60px, 5vw, 90px);

    }

}



/* ========================================================= */
/* LAPTOP                                                    */
/* ========================================================= */

@media screen and (max-width: 1280px) {

    /* ===================================================== */
    /* GLOBAL                                                 */
    /* ===================================================== */

    section {

        padding-top: 120px;

        padding-bottom: 120px;

    }



    /* ===================================================== */
    /* HERO                                                   */
    /* ===================================================== */

    .hero {

        min-height: auto;

        padding-top: 210px;

        padding-bottom: 120px;

    }

    .hero-container {

        grid-template-columns: 1fr;

        text-align: center;

        gap: 90px;

    }

    .hero-content {

        max-width: 100%;

        margin-inline: auto;

    }

    .hero-content p {

        margin-inline: auto;

    }

    .hero-buttons {

        justify-content: center;

    }

    .hero-subtitle {

        justify-content: center;

    }

    .hero-visual img {

        width: min(100%, 680px);

    }

    .hero-navigation {

        right: 50%;

        transform: translateX(50%);

    }



    /* ===================================================== */
    /* EDITORIAL                                              */
    /* ===================================================== */

    .editorial-container {

        grid-template-columns: 1fr;

    }

    .editorial-side {

        grid-template-columns: 1fr 1fr;

        grid-template-rows: auto;

    }

    .editorial-large {

        min-height: 920px;

    }



    /* ===================================================== */
    /* CAMPAIGN                                               */
    /* ===================================================== */

    .campaign-section {

        grid-template-columns: 1fr;

        gap: 70px;

    }

    .campaign-content {

        max-width: 100%;

    }



    /* ===================================================== */
    /* STORY                                                  */
    /* ===================================================== */

    .story-container {

        grid-template-columns: 1fr;

        gap: 70px;

    }

    .story-content {

        max-width: 100%;

    }

}



/* ========================================================= */
/* TABLET                                                    */
/* ========================================================= */

@media screen and (max-width: 980px) {

    /* ===================================================== */
    /* GLOBAL                                                 */
    /* ===================================================== */

    section {

        padding-top: 100px;

        padding-bottom: 100px;

    }



    /* ===================================================== */
    /* HERO                                                   */
    /* ===================================================== */

    .hero {

        padding-top: 50px;

        padding-bottom: 30px;

    }

    .hero-container {

        width: min(100% - 40px, 100%);

        gap: 60px;

    }

    .hero-content h1 {

        font-size: clamp(58px, 10vw, 92px);

        line-height: 0.92;

    }

    .hero-content p {

        font-size: 15px;

    }

    .hero-pagination {

        bottom: 36px;

    }

    .hero-navigation {

        display: none;

    }



    /* ===================================================== */
    /* EDITORIAL                                              */
    /* ===================================================== */

    .editorial-container {

        width: min(100% - 40px, 100%);

        gap: 20px;

    }

    .editorial-side {

        grid-template-columns: 1fr;

    }

    .editorial-large {

        min-height: 620px;

    }

    .editorial-card {

        min-height: 520px;

        border-radius: 28px;

    }

    .editorial-overlay {

        padding: 34px;

    }

    .editorial-overlay h2 {

        font-size: 48px;

    }



    /* ===================================================== */
    /* CAMPAIGN                                               */
    /* ===================================================== */

    .campaign-section {

        width: min(100% - 40px, 100%);

        gap: 50px;

    }

    .campaign-image {

        border-radius: 28px;

    }

    .campaign-image img {

        min-height: 620px;

    }

    .campaign-content h2 {

        font-size: clamp(48px, 8vw, 72px);

    }



    /* ===================================================== */
    /* STORY                                                  */
    /* ===================================================== */

    .story-container {

        width: min(100% - 40px, 100%);

        gap: 50px;

    }

    .story-image {

        border-radius: 28px;

    }

    .story-image img {

        min-height: 620px;

    }

    .story-content h2 {

        font-size: clamp(48px, 8vw, 72px);

    }



    /* ===================================================== */
    /* NEWSLETTER                                             */
    /* ===================================================== */

    .newsletter-container {

        width: min(100% - 40px, 100%);

    }

    .newsletter h2 {

        font-size: clamp(46px, 8vw, 72px);

    }



    /* ===================================================== */
    /* FOOTER                                                 */
    /* ===================================================== */

    .footer-top {

        grid-template-columns: 1fr 1fr;

        gap: 60px;

    }

}



/* ========================================================= */
/* MOBILE                                                    */
/* ========================================================= */

@media screen and (max-width: 768px) {

    /* ===================================================== */
    /* GLOBAL                                                 */
    /* ===================================================== */

    section {

        padding-top: 80px;

        padding-bottom: 80px;

    }



    /* ===================================================== */
    /* HERO                                                   */
    /* ===================================================== */

    .hero {

        padding-top: 25px;

        padding-bottom: 70px;

    }

    .hero-background {

        display: none;

    }

    .hero-container {

        width: min(100% - 32px, 100%);

        gap: 46px;

    }

    .hero-content h1 {

        font-size: clamp(52px, 14vw, 72px);

    }

    .hero-content p {

        font-size: 15px;

        line-height: 1.9;

    }

    .hero-buttons {

        flex-direction: column;

        width: 100%;

    }

    .hero-subtitle {

        justify-content: center;

    }

    .btn-primary,
    .btn-secondary {

        width: 100%;

    }



    /* ===================================================== */
    /* EDITORIAL                                              */
    /* ===================================================== */

    .editorial-container {

        width: min(100% - 32px, 100%);

    }

    .editorial-card {

        border-radius: 24px;

    }

    .editorial-overlay {

        padding: 28px;

    }

    .editorial-overlay h2 {

        font-size: 42px;

    }



    /* ===================================================== */
    /* CAMPAIGN                                               */
    /* ===================================================== */

    .campaign-section {

        width: min(100% - 32px, 100%);

    }

    .campaign-image {

        border-radius: 24px;

    }

    .campaign-image img {

        min-height: 520px;

    }

    .campaign-content h2 {

        font-size: clamp(42px, 11vw, 60px);

    }



    /* ===================================================== */
    /* STORY                                                  */
    /* ===================================================== */

    .story-container {

        width: min(100% - 32px, 100%);

    }

    .story-image {

        border-radius: 24px;

    }

    .story-image img {

        min-height: 520px;

    }

    .story-content h2 {

        font-size: clamp(42px, 11vw, 60px);

    }



    /* ===================================================== */
    /* NEWSLETTER                                             */
    /* ===================================================== */

    .newsletter-container {

        width: min(100% - 32px, 100%);

    }

    .newsletter h2 {

        font-size: clamp(40px, 11vw, 56px);

    }

    .newsletter-form {

        flex-direction: column;

    }

    .newsletter-form input,
    .newsletter-form button {

        width: 100%;

        max-width: 100%;

    }



    /* ===================================================== */
    /* FOOTER                                                 */
    /* ===================================================== */

    .footer {

        padding-top: 90px;

        padding-bottom: 60px;

    }

    .footer-container {

        width: min(100% - 32px, 100%);

    }

    .footer-top {

        grid-template-columns: 1fr;

        gap: 48px;

        margin-bottom: 60px;

    }

    .footer-logo img {

        width: 220px;

    }

    .footer-bottom {

        flex-direction: column;

        align-items: flex-start;

        gap: 18px;

    }

}



/* ========================================================= */
/* SMALL MOBILE                                              */
/* ========================================================= */

@media screen and (max-width: 480px) {

    .hero-content h1 {

        font-size: 48px;

    }

    .editorial-overlay h2 {

        font-size: 34px;

    }

    .campaign-content h2,
    .story-content h2 {

        font-size: 44px;

    }

    .newsletter h2 {

        font-size: 40px;

    }

}
