/* =========================================================
   LE BAS DE LA LAINE
   LANDING PAGE NEWSLETTER
   URL : /newsletter/
========================================================= */


/* =========================================================
   VARIABLES ET BODY
========================================================= */

body.bdl-newsletter-landing {

    --bdl-text: #222222;
    --bdl-brown: #3B2F2A;
    --bdl-green: #88B75C;
    --bdl-gold: #EABA4F;
    --bdl-cream: #FAF7F1;
    --bdl-white: #FFFFFF;

    margin: 0;

    min-height: 100vh;

    color: #222222;

    background: #FAF7F1;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    -webkit-font-smoothing: antialiased;
}


/* =========================================================
   RESET LOCAL
========================================================= */

body.bdl-newsletter-landing *,
body.bdl-newsletter-landing *::before,
body.bdl-newsletter-landing *::after {
    box-sizing: border-box;
}


html {
    margin: 0 !important;
}


/* =========================================================
   PAGE PRINCIPALE + IMAGE DE FOND
========================================================= */

.bdl-newsletter-page {

    position: relative;

    width: 100%;

    min-height: 100vh;

    padding:
        34px
        20px
        48px;

    overflow: hidden;

    background-color: #FAF7F1;

    background-image:
        url("../images/newsletter-background.png");

    background-repeat: no-repeat;

    background-position: top center;

    background-size: cover;

    background-attachment: scroll;
}


/* =========================================================
   CONTENEUR PRINCIPAL
========================================================= */

.bdl-newsletter-container {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 980px;

    margin: 0 auto;
}


/* =========================================================
   LOGO
========================================================= */

.bdl-newsletter-logo {

    position: relative;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    width: 100% !important;

    max-width: none !important;

    min-height: 60px;

    margin:
        0
        auto
        13px !important;

    padding: 0;

    text-align: center !important;
}


.bdl-newsletter-logo a {

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    width: auto !important;

    margin: 0 auto !important;

    padding: 0;
}


.bdl-newsletter-logo img,
.bdl-newsletter-logo .bdl-logo-image {

    position: static !important;

    display: block !important;

    width: auto !important;

    height: auto !important;

    max-width: 145px !important;

    max-height: 68px !important;

    margin: 0 auto !important;

    padding: 0;

    float: none !important;

    transform: none !important;
}


.bdl-logo-fallback {

    display: inline-block;

    margin: 0 auto;

    color: #222222;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 24px;

    font-weight: 600;

    text-align: center;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.bdl-newsletter-intro {

    width: 100%;

    max-width: 980px;

    margin:
        0
        auto
        27px;

    text-align: center;
}


/* Petite ligne dorée */

.bdl-intro-line {

    display: block;

    width: 47px;

    height: 2px;

    margin:
        0
        auto
        16px;

    background: #EABA4F;
}


/* =========================================================
   TITRE PRINCIPAL
========================================================= */

.bdl-newsletter-intro h1 {

    width: 100%;

    max-width: 950px;

    margin:
        0
        auto
        14px;

    padding: 0;

    color: #222222;

    font-family:
        "Playfair Display",
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            42px,
            3.5vw,
            55px
        );

    line-height: 1.08;

    font-weight: 600;

    letter-spacing: -0.025em;
}


/* =========================================================
   SOUS-TITRE
========================================================= */

.bdl-newsletter-intro p {

    width: 100%;

    max-width: 720px;

    margin: 0 auto;

    padding: 0;

    color: #222222;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;

    line-height: 1.55;

    font-weight: 400;
}


/* =========================================================
   CARTE EXTERIEURE DU FORMULAIRE
========================================================= */

.bdl-newsletter-card {

    width: 100%;

    max-width: 760px;

    margin:
        0
        auto;

    padding: 0;

    overflow: hidden;

    border:
        1px solid
        rgba(59, 47, 42, 0.10);

    border-radius: 17px;

    background: #FFFFFF;

    box-shadow:
        0
        20px
        55px
        rgba(59, 47, 42, 0.09);
}


/* =========================================================
   CONTENEUR DU SHORTCODE KONTIKI
========================================================= */

.bdl-newsletter-form {

    width: 100%;

    margin: 0;

    padding: 0;

    color: #222222;

    background: #FFFFFF;
}


/*
   IMPORTANT :

   Ne pas utiliser :

   .bdl-newsletter-form * {
       color: #222222;
   }

   Le formulaire Kontiki possède son propre bandeau marron
   avec des textes blancs.
*/


/* =========================================================
   LABELS
========================================================= */

.bdl-newsletter-form label {
    color: #222222;
}


/* =========================================================
   CHAMPS
========================================================= */

.bdl-newsletter-form input[type="text"],
.bdl-newsletter-form input[type="email"],
.bdl-newsletter-form input[type="tel"],
.bdl-newsletter-form input[type="date"],
.bdl-newsletter-form input[type="number"],
.bdl-newsletter-form select,
.bdl-newsletter-form textarea {
    color: #222222;
}


/* =========================================================
   PLACEHOLDERS
========================================================= */

.bdl-newsletter-form input::placeholder,
.bdl-newsletter-form textarea::placeholder {

    color:
        rgba(
            34,
            34,
            34,
            0.38
        );
}


/* =========================================================
   FOCUS DES CHAMPS
========================================================= */

.bdl-newsletter-form input[type="text"]:focus,
.bdl-newsletter-form input[type="email"]:focus,
.bdl-newsletter-form input[type="tel"]:focus,
.bdl-newsletter-form input[type="date"]:focus,
.bdl-newsletter-form input[type="number"]:focus,
.bdl-newsletter-form select:focus,
.bdl-newsletter-form textarea:focus {

    border-color: #EABA4F;

    outline: none;

    box-shadow:
        0
        0
        0
        3px
        rgba(234, 186, 79, 0.12);
}


/* =========================================================
   CHECKBOXES
========================================================= */

.bdl-newsletter-form input[type="checkbox"] {
    accent-color: #88B75C;
}


/* =========================================================
   BOUTON
========================================================= */

.bdl-newsletter-form input[type="submit"],
.bdl-newsletter-form button[type="submit"] {

    background: #EABA4F;

    color: #222222;
}


/* =========================================================
   MESSAGE SI SHORTCODE INDISPONIBLE
========================================================= */

.bdl-newsletter-error {

    margin: 0;

    padding:
        40px
        25px;

    color: #222222;

    font-size: 14px;

    line-height: 1.5;

    text-align: center;
}


/* =========================================================
   REASSURANCE SOUS LE FORMULAIRE
========================================================= */

.bdl-newsletter-trust {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 7px;

    width: 100%;

    max-width: 760px;

    margin:
        14px
        auto
        0;

    color: #222222;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    font-size: 11px;

    line-height: 1.4;

    text-align: center;

    opacity: 0.55;
}


.bdl-newsletter-trust i {
    font-style: normal;
}


/* =========================================================
   TABLETTE
========================================================= */

@media (max-width: 900px) {

    .bdl-newsletter-page {

        padding:
            30px
            18px
            42px;

        background-position: top center;

        background-size: cover;
    }


    .bdl-newsletter-container {
        max-width: 760px;
    }


    .bdl-newsletter-intro {
        max-width: 720px;
    }


    .bdl-newsletter-intro h1 {

        max-width: 720px;

        font-size: 43px;
    }


    .bdl-newsletter-intro p {
        max-width: 600px;
    }


    .bdl-newsletter-card,
    .bdl-newsletter-trust {
        max-width: 700px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .bdl-newsletter-page {

        padding:
            24px
            13px
            35px;

        background-color: #FAF7F1;

        background-image:
            url("../images/newsletter-background.png");

        background-repeat: no-repeat;

        background-position: top center;

        background-size: auto 100%;

        background-attachment: scroll;
    }


    .bdl-newsletter-container {
        max-width: 620px;
    }


    /* LOGO */

    .bdl-newsletter-logo {

        min-height: 55px;

        margin-bottom: 12px !important;
    }


    .bdl-newsletter-logo img,
    .bdl-newsletter-logo .bdl-logo-image {

        max-width: 125px !important;

        max-height: 60px !important;
    }


    /* INTRO */

    .bdl-newsletter-intro {

        max-width: 600px;

        margin-bottom: 22px;
    }


    .bdl-newsletter-intro h1 {

        max-width: 600px;

        font-size: 37px;

        line-height: 1.1;
    }


    .bdl-newsletter-intro p {

        max-width: 520px;

        font-size: 15px;
    }


    /* FORMULAIRE */

    .bdl-newsletter-card {

        max-width: 100%;

        border-radius: 13px;
    }


    /* REASSURANCE */

    .bdl-newsletter-trust {

        max-width: 100%;

        font-size: 10px;
    }

}


/* =========================================================
   PETITS TELEPHONES
========================================================= */

@media (max-width: 480px) {

    .bdl-newsletter-page {

        padding:
            20px
            10px
            30px;

        background-position: top center;
    }


    /* LOGO */

    .bdl-newsletter-logo {
        min-height: 50px;
    }


    .bdl-newsletter-logo img,
    .bdl-newsletter-logo .bdl-logo-image {
        max-width: 115px !important;
    }


    /* INTRO */

    .bdl-newsletter-intro {
        max-width: 100%;
    }


    .bdl-newsletter-intro h1 {

        max-width: 100%;

        font-size: 32px;

        line-height: 1.1;
    }


    .bdl-newsletter-intro p {

        max-width: 100%;

        font-size: 14px;
    }


    /* FORMULAIRE */

    .bdl-newsletter-card {
        border-radius: 11px;
    }


    /* REASSURANCE */

    .bdl-newsletter-trust {
        font-size: 10px;
    }

}