
/* =========================================================
   LUMYA - INSTAGRAM V9
========================================================= */

.insta-capa,
.insta-capa *,
.insta-conteudo,
.insta-conteudo *,
.insta-chamada,
.insta-chamada * {
    box-sizing: border-box;
}


/* =========================================================
   CAPA
========================================================= */

.insta-capa {
    width: 100%;

    min-height: 650px;

    padding:
        90px 7%;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(320px, .7fr);

    gap: 80px;

    align-items: center;

    overflow: hidden;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(218,178,100,.18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #021f18 0%,
            #073c2f 100%
        );
}


.insta-capa-conteudo {
    max-width: 760px;
}


.insta-capa .eyebrow {
    display: block;

    margin-bottom: 18px;

    color: #d9af62;

    font-size: .76rem;

    font-weight: 800;

    letter-spacing: .22em;

    text-transform: uppercase;
}


.insta-capa h1 {
    margin:
        0 0
        26px;

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

    font-size:
        clamp(
            3.2rem,
            6vw,
            6rem
        );

    font-weight: 500;

    line-height: .98;

    letter-spacing: -.04em;

    color: #ffffff;
}


.insta-capa h1 em {
    display: inline;

    color: #efd398;

    font-weight: 500;
}


.insta-capa p {
    max-width: 680px;

    margin: 0;

    font-size: 1.06rem;

    line-height: 1.82;

    color:
        rgba(255,255,255,.72);
}


.insta-acoes {
    margin-top: 32px;

    display: flex;

    gap: 13px;

    align-items: center;

    flex-wrap: wrap;
}


.insta-acoes .botao {
    min-width: 210px;
}


/* =========================================================
   MOCKUP DO INSTAGRAM
========================================================= */

.insta-celular {
    width: 100%;

    display: flex;

    justify-content: center;
}


.insta-tela {
    width:
        min(
            390px,
            100%
        );

    padding: 18px;

    border:
        1px solid
        rgba(255,255,255,.13);

    border-radius: 34px;

    background:
        rgba(255,255,255,.065);

    box-shadow:
        0 35px 90px
        rgba(0,0,0,.28);

    backdrop-filter:
        blur(15px);

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


.insta-perfil {
    padding:
        9px 8px
        20px;

    display: flex;

    align-items: center;

    gap: 13px;
}


.insta-avatar {
    width: 56px;
    height: 56px;

    flex: 0 0 56px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #efd398,
            #b98c3d
        );

    color: #052b21;

    font-family:
        Georgia,
        serif;

    font-size: 1.7rem;

    font-weight: 700;
}


.insta-perfil > div:last-child {
    min-width: 0;
}


.insta-perfil strong {
    display: block;

    margin-bottom: 4px;

    color: #ffffff;
}


.insta-perfil span {
    display: block;

    color:
        rgba(255,255,255,.55);

    font-size: .78rem;

    line-height: 1.4;
}


.insta-preview-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 8px;
}


.insta-preview-grid > div {
    aspect-ratio: 1 / 1;

    min-width: 0;

    padding: 17px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            #0a4b3a,
            #032b21
        );

    color:
        rgba(255,255,255,.66);

    font-size: .76rem;

    line-height: 1.25;
}


.insta-preview-grid > div:nth-child(even) {
    color: #173a31;

    background:
        linear-gradient(
            145deg,
            #f4e7c7,
            #d8b66c
        );
}


.insta-preview-grid strong {
    display: block;

    margin-top: 4px;

    color: inherit;

    font-size: .98rem;

    line-height: 1.15;
}


/* =========================================================
   CONTEÚDOS
========================================================= */

.insta-conteudo {
    width: 100%;

    padding:
        110px 7%;

    background:
        #fbfaf7;
}


.insta-titulo {
    max-width: 850px;

    margin:
        0 auto
        58px;

    text-align: center;
}


.insta-titulo .eyebrow {
    display: block;

    margin-bottom: 16px;

    color: #c89d4d;

    font-size: .75rem;

    font-weight: 800;

    letter-spacing: .22em;
}


.insta-titulo h2 {
    margin:
        0 0
        22px;

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

    font-size:
        clamp(
            2.6rem,
            5vw,
            4.8rem
        );

    font-weight: 500;

    line-height: 1.02;

    color: #07382b;
}


.insta-titulo h2 em {
    color: #d7af61;

    font-weight: 500;
}


.insta-titulo p {
    max-width: 650px;

    margin: auto;

    line-height: 1.8;

    color: #65756f;
}


.insta-cards {
    width:
        min(
            1180px,
            100%
        );

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap: 20px;
}


.insta-cards article {
    min-width: 0;

    min-height: 265px;

    padding: 32px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    border:
        1px solid
        rgba(6,45,35,.07);

    border-radius: 25px;

    background: #ffffff;

    box-shadow:
        0 17px 48px
        rgba(6,45,35,.07);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.insta-cards article:hover {
    transform:
        translateY(-7px);

    box-shadow:
        0 27px 65px
        rgba(6,45,35,.13);
}


.insta-cards article > span {
    margin-bottom: auto;

    color: #c99d4e;

    font-size: .74rem;

    font-weight: 800;

    letter-spacing: .12em;
}


.insta-cards h3 {
    margin:
        30px 0
        11px;

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

    font-size: 1.55rem;

    font-weight: 500;

    line-height: 1.15;

    color: #07382b;
}


.insta-cards p {
    margin: 0;

    font-size: .96rem;

    line-height: 1.68;

    color: #65756f;
}


/* =========================================================
   CTA FINAL
========================================================= */

.insta-chamada {
    width: 100%;

    padding:
        80px 7%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 60px;

    background:
        linear-gradient(
            135deg,
            #f1e6d1,
            #faf7f0
        );
}


.insta-chamada > div {
    max-width: 760px;
}


.insta-chamada .eyebrow {
    display: block;

    margin-bottom: 16px;

    color: #c99d4e;

    font-size: .75rem;

    font-weight: 800;

    letter-spacing: .22em;
}


.insta-chamada h2 {
    margin:
        0 0
        18px;

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

    font-size:
        clamp(
            2.4rem,
            4vw,
            4rem
        );

    font-weight: 500;

    line-height: 1.05;

    color: #07382b;
}


.insta-chamada p {
    margin: 0;

    line-height: 1.75;

    color: #65756f;
}


.insta-chamada > .botao {
    flex-shrink: 0;

    min-width: 230px;
}


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

@media (max-width: 1000px) {

    .insta-capa {
        grid-template-columns:
            1fr;

        gap: 55px;
    }


    .insta-celular {
        justify-content: flex-start;
    }


    .insta-cards {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }


    .insta-chamada {
        flex-direction: column;

        align-items: flex-start;
    }

}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 650px) {

    .insta-capa {
        min-height: auto;

        padding:
            70px 20px;
    }


    .insta-capa h1 {
        font-size:
            clamp(
                2.8rem,
                14vw,
                4rem
            );
    }


    .insta-acoes {
        flex-direction: column;

        align-items: stretch;
    }


    .insta-acoes .botao {
        width: 100%;
    }


    .insta-celular {
        justify-content: center;
    }


    .insta-tela {
        border-radius: 24px;
    }


    .insta-conteudo {
        padding:
            75px 20px;
    }


    .insta-cards {
        grid-template-columns:
            1fr;
    }


    .insta-cards article {
        min-height: 230px;
    }


    .insta-chamada {
        padding:
            70px 20px;
    }


    .insta-chamada > .botao {
        width: 100%;
    }

}

