/* =========================================================
   FRACTIONS PARFUMS
   MODAL LOGIN GOOGLE
   ========================================================= */


/* =========================
   CONTAINER PRINCIPAL
   ========================= */

.modal-login-google {
    position: fixed;
    inset: 0;

    z-index: 99999;

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

    padding: 24px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}


/* =========================
   MODAL ABERTO
   ========================= */

.modal-login-google.ativo {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* =========================
   FUNDO ESCURECIDO
   ========================= */

.modal-login-google-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.64);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}


/* =========================================================
   CARD - DESKTOP
   ========================================================= */

.modal-login-google-card {
    position: relative;

    width: 100%;
    max-width: 780px;

    min-height: 520px;
    max-height: calc(100vh - 40px);

    box-sizing: border-box;

    overflow-y: auto;
    overflow-x: hidden;

    /*
       Área esquerda reservada ao conteúdo.
       A direita fica visualmente livre
       para a fotografia.
    */
    padding:
        42px
        365px
        30px
        42px;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.995) 0%,
            rgba(255, 255, 255, 0.99) 35%,
            rgba(255, 255, 255, 0.94) 47%,
            rgba(255, 255, 255, 0.55) 58%,
            rgba(255, 255, 255, 0.08) 76%,
            rgba(255, 255, 255, 0.00) 100%
        ),
        url("../images/modal-login-fractions.webp");

    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;

    border: 1px solid #c9a45d;
    border-radius: 24px;

    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.40),
        0 10px 30px rgba(0, 0, 0, 0.18);

    z-index: 2;

    transform:
        translateY(25px)
        scale(0.97);

    opacity: 0;

    transition:
        transform 0.4s ease,
        opacity 0.4s ease;
}


/* =========================
   ANIMAÇÃO DE ENTRADA
   ========================= */

.modal-login-google.ativo
.modal-login-google-card {
    transform:
        translateY(0)
        scale(1);

    opacity: 1;
}


/* =========================
   BOTÃO FECHAR
   ========================= */

.modal-login-google-fechar {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 38px;
    height: 38px;

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

    padding: 0;

    border: 1px solid #d7c49e;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.94);

    color: #8b6424;

    font-size: 27px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    z-index: 10;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.10);

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.modal-login-google-fechar:hover {
    background: #111;
    border-color: #111;
    color: #fff;

    transform: rotate(90deg);
}


/* =========================
   MARCA
   ========================= */

.modal-login-google-marca {
    position: relative;
    z-index: 2;

    margin-bottom: 18px;

    color: #111;

    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;

    white-space: nowrap;
}


/* =========================
   SELO SUPERIOR
   ========================= */

.modal-login-google-selo {
    position: relative;
    z-index: 2;

    display: inline-flex;

    margin-bottom: 13px;

    padding: 6px 10px;

    border: 1px solid #d9c39a;
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.80);

    color: #8a6426;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;

    white-space: nowrap;

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}


/* =========================
   TÍTULO
   ========================= */

.modal-login-google-card h2 {
    position: relative;
    z-index: 2;

    margin: 0;

    width: 100%;
    max-width: 350px;

    color: #111;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 39px;
    font-weight: 500;

    line-height: 1.05;

    letter-spacing: -1px;
}


/* =========================
   SUBTÍTULO
   ========================= */

.modal-login-google-subtitulo {
    position: relative;
    z-index: 2;

    margin: 14px 0 0;

    color: #111;

    font-size: 17px;
    font-weight: 700;

    white-space: nowrap;
}


/* =========================
   TEXTO
   ========================= */

.modal-login-google-texto {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 345px;

    margin: 11px 0 19px;

    color: #444;

    font-size: 13px;
    font-weight: 400;

    line-height: 1.55;
}


/* =========================
   BENEFÍCIOS
   ========================= */

.modal-login-google-beneficios {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;

    gap: 9px;

    width: 100%;
    max-width: 345px;

    margin-bottom: 22px;
}

.modal-login-google-beneficio {
    display: flex;
    align-items: center;

    gap: 10px;

    color: #333;

    font-size: 12px;
    font-weight: 500;
}

.modal-login-google-beneficio i {
    width: 22px;
    height: 22px;

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

    flex-shrink: 0;

    border: 1px solid #d7bd8a;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.85);

    color: #a4772f;

    font-size: 10px;
}


/* =========================
   BOTÃO GOOGLE
   ========================= */

.modal-login-google-btn-google {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 345px;

    min-height: 56px;

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

    gap: 12px;

    box-sizing: border-box;

    padding: 13px 20px;

    background: #444;

    border: 1px solid #c9a45d;
    border-radius: 14px;

    color: #fff;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.20);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.modal-login-google-btn-google:hover {
    background: #222;

    color: #fff;

    transform: translateY(-1px);

    box-shadow:
        0 11px 25px rgba(0, 0, 0, 0.25);
}

.modal-login-google-btn-google img {
    width: 22px;
    height: 22px;

    padding: 4px;

    box-sizing: content-box;

    background: #fff;

    border-radius: 50%;

    object-fit: contain;
}


/* =========================
   CADASTRO
   ========================= */

.modal-login-google-cadastro {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 345px;

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

    flex-wrap: wrap;

    gap: 5px;

    margin-top: 17px;

    color: #555;

    font-size: 11px;
}

.modal-login-google-cadastro a {
    color: #9a6d28;

    font-weight: 700;

    text-decoration: none;
}

.modal-login-google-cadastro a:hover {
    text-decoration: underline;
}


/* =========================
   SEGURANÇA
   ========================= */

.modal-login-google-seguranca {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 345px;

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

    gap: 6px;

    margin-top: 15px;
    padding-top: 13px;

    border-top:
        1px solid
        rgba(205, 180, 137, 0.45);

    color: #777;

    font-size: 12px;
    font-weight: 500;
}

.modal-login-google-seguranca i {
    color: #aa813d;
}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .modal-login-google {
        padding: 16px;
    }


    /* =========================
       CARD MOBILE
       ========================= */

    .modal-login-google-card {
        width: 100%;
        max-width: 390px;

        min-height: 0;

        padding:
            34px
            24px
            24px;

        border-radius: 20px;

        background:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, 0.99) 0%,
                rgba(255, 255, 255, 0.97) 46%,
                rgba(255, 255, 255, 0.84) 68%,
                rgba(255, 255, 255, 0.40) 100%
            ),
            url("../images/modal-login-fractions.webp");

        background-size: cover;
        background-position: 64% center;
        background-repeat: no-repeat;
    }


    /* =========================
       FECHAR
       ========================= */

    .modal-login-google-fechar {
        top: 12px;
        right: 12px;

        width: 34px;
        height: 34px;

        font-size: 24px;
    }


    /* =========================
       MARCA
       ========================= */

    .modal-login-google-marca {
        margin-bottom: 14px;

        font-size: 10px;

        letter-spacing: 2.4px;
    }


    /* =========================
       SELO
       ========================= */

    .modal-login-google-selo {
        margin-bottom: 11px;

        font-size: 9px;
    }


    /* =========================
       TÍTULO
       ========================= */

    .modal-login-google-card h2 {
        max-width: 300px;

        font-size: 32px;

        line-height: 1.08;
    }


    /* =========================
       SUBTÍTULO
       ========================= */

    .modal-login-google-subtitulo {
        margin-top: 12px;

        font-size: 16px;
    }


    /* =========================
       TEXTO
       ========================= */

    .modal-login-google-texto {
        max-width: 300px;

        margin-top: 9px;
        margin-bottom: 17px;

        font-size: 13px;

        line-height: 1.5;
    }


    /* =========================
       BENEFÍCIOS
       ========================= */

    .modal-login-google-beneficios {
        max-width: none;

        gap: 8px;

        margin-bottom: 20px;
    }

    .modal-login-google-beneficio {
        font-size: 12px;
    }


    /* =========================
       GOOGLE
       ========================= */

    .modal-login-google-btn-google {
        max-width: none;

        min-height: 54px;

        padding: 12px 16px;

        font-size: 13px;

        border-radius: 13px;
    }

    .modal-login-google-btn-google img {
        width: 21px;
        height: 21px;
    }


    /* =========================
       CADASTRO / SEGURANÇA
       ========================= */

    .modal-login-google-cadastro,
    .modal-login-google-seguranca {
        max-width: none;
    }
}


/* =========================================================
   CELULARES PEQUENOS
   ========================================================= */

@media (max-width: 420px) {

    .modal-login-google {
        padding: 12px;
    }

    .modal-login-google-card {
        width: 100%;

        padding:
            32px
            22px
            22px;

        background:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, 0.99) 0%,
                rgba(255, 255, 255, 0.97) 52%,
                rgba(255, 255, 255, 0.86) 72%,
                rgba(255, 255, 255, 0.44) 100%
            ),
            url("../images/modal-login-fractions.webp");

        background-size: cover;
        background-position: 65% center;
        background-repeat: no-repeat;
    }

    .modal-login-google-card h2 {
        max-width: 280px;

        font-size: 30px;
    }

    .modal-login-google-texto {
        max-width: 280px;
    }
}


/* =========================================================
   TELAS MOBILE BAIXAS
   ========================================================= */

@media (max-width: 768px) and (max-height: 700px) {

    .modal-login-google-card {
        padding:
            28px
            22px
            20px;
    }

    .modal-login-google-marca {
        margin-bottom: 9px;
    }

    .modal-login-google-selo {
        margin-bottom: 8px;
    }

    .modal-login-google-card h2 {
        font-size: 28px;
    }

    .modal-login-google-subtitulo {
        margin-top: 8px;
    }

    .modal-login-google-texto {
        margin-bottom: 12px;
    }

    .modal-login-google-beneficios {
        gap: 6px;

        margin-bottom: 15px;
    }

    .modal-login-google-cadastro {
        margin-top: 13px;
    }

    .modal-login-google-seguranca {
        margin-top: 12px;

        padding-top: 11px;
    }
}