@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

@font-face {
    font-family: SafiraMarch;
    src: url(../fonts/Safira\ March\ Personal\ Use\ Only.ttf);
}

@font-face {
    font-family: CartonSix;
    src: url(../fonts/Carton_Six.ttf);
}

@font-face {
    font-family: Fontspring;
    src: url(../fonts/Fontspring-DEMO-theseasons-lt.otf);
}

*{
    padding: 0;
    margin: 0;
}

:root{
    --purple: #555369;
    --orange: #EF7F1F;
    --orange_opaco: #ecb37e;
    --light_orange: #FFF4EB;
    --blue: #347889;
    --red: #DC143C;
    --green: #32CD32;
    --white: #FFFFFF;
    --black: #000000;
    --gap: 5rem;
}

html{
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body{
    font-family: Lora, 'Open Sans', sans-serif;
    font-size: 2rem;
    color: black;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6{
    font-family: SafiraMarch , sans-serif;
}

h1{
    font-size: 8.5rem;
}

h2{
    font-size: 9rem;
    color: var(--purple);
    font-weight: lighter;
}

h3{
    font-size: 7rem;
    font-weight: lighter;
    color: var(--purple);
}

h4{
    font-size: 6rem;
}

h5{
    font-size: 5rem;
}

h6{
    font-size: 4rem;
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

button{
    transition: all 300ms ease-in-out;
}

button:hover{
    transform: scale(1.04);
}

.main-bg{
    background-image: url(../img/comidas_fundo.webp);
}

.main-content{
    max-width: 160rem;
    margin: 0 auto;
    padding: var(--gap);
}

.section{
    min-height: 100vh;
}

.close-menu{
    display: none;
}

.menu-spacing{
    background-color: var(--purple);
    height: 5rem;
}

.menu-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0;
    padding-top: 0;
}

.menu{
    background: var(--purple);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.menu ul{
    display: flex;
    align-items: center;
}

.menu ul li a{
    display: block;
    color: var(--white);
    padding: 1rem 2rem;
    font-size: 2rem;
    position: relative;
}

.menu button{
    font-family: Lora, sans-serif;
    border: none;
    border-radius: 0.8rem;
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    color: var(--white);
    background-color: var(--orange);
}

.li-hover::after{
    content: '';
    position: absolute;
    bottom: 0.7rem;
    left: 50%;
    width: 0;
    height: 0.2rem;
    background-color: var(--white);
    transition: all 300ms ease-in-out;
}

.li-hover:hover::after{
    left: 25%;
    width: 50%;
}

.texto-laranja{
    color: var(--orange);
}

.destaque-laranja{
    color: var(--white);
    background-color: var(--orange);
    padding: 0 1rem 0.8rem 1rem 0rem;
}

.texto-pequeno{
    font-size: 5rem;
}

.intro-content {
    gap: 5rem;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.intro-text,
.intro-img {
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.intro-img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.intro-img img {
    max-width: 100%;
    height: auto; 
    display: block;
}

.sobre {
    margin-top: 10rem;
}

.sobre h2 {
    text-align: center;
    text-transform: uppercase;
}

.sobre p {
    font-family: Lora, sans-serif;
    font-size: 2.3rem;
    font-style: italic;
}

.modulo-container {
    text-align: center;
    background-color: var(--light_orange);
    padding-top: 5rem;
    padding-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modulo {
    display: grid;
    grid-template-columns: auto 1fr;
    max-width: 100rem;
    width: 80%;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 3rem;
    box-shadow: 0.15rem 0.15rem 0.6rem rgba(0, 0, 0, 0.13);
    gap: var(--gap);
    margin: 0 auto 3rem auto;
}

.modulo-numero {
    border-radius: 100%;
    background-color: var(--orange);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 9rem;
    height: 9rem;
    margin: auto 0;
}

.modulo-numero h3 {
    color: var(--white);
    font-size: 5.3rem;
    align-items: center;
    text-align: center;
    text-box-trim: trim-end;
    padding-top: 1.5rem;
}

.modulo-content {
    text-align: left;
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.modulo-content ul {
    list-style: disc;
    padding: 0;
    margin: 0;
}

.modulo-content ul li {
    margin-bottom: 0.5rem;
}

.modulo-content ul li p {
    font-size: 1.8rem;
}

.caderno-clips {
    background-image: url(../img/caderno-clips.webp);
    padding: 20rem 0 0 4rem;
}

.investimento-container {
    padding: 10rem 0;
    text-align: center;
}

.investimento-container h2 {
    text-transform: uppercase;
    padding-bottom: 5rem;
}

.investimento-content {
    background-color: var(--white);
    margin: 0 auto;
    max-width: 35%;
    padding: 5rem;
    border-radius: 4rem;
    box-shadow: 0.15rem 0.15rem 0.6rem rgba(0, 0, 0, 0.13);
}

.investimento-content img {
    width: 100%;
    height: auto;
    padding-bottom: 3rem;
}

.investimento-content h3 {
    font-size: 9rem;
}

.botoes-content button {
    font-family: Lora, sans-serif;
    border: none;
    border-radius: 0.8rem;
    font-size: 2.4rem;
    padding: 1.5rem 2rem;
    cursor: pointer;
    margin-right: 2rem;
    margin-bottom: 2rem;
    color: var(--white);
    text-transform: uppercase;
}

.contato-bnt-content {
    margin: 5rem;
    text-align: center;
}

.contato-btn {
    font-family: Lora, sans-serif;
    border: 1rem solid var(--orange_opaco);
    border-radius: 5rem;
    font-size: 6rem;
    padding: 1.5rem 3rem;
    cursor: pointer;
    color: var(--white);
    background-color: var(--orange);
    text-transform: uppercase;
    margin-bottom: 5rem;
}

.rodape {
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 10%;
    background-color: var(--purple);
    height: auto;
    padding: 2rem 5rem;
    flex-wrap: wrap;
}


.social-and-phone-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.social-icons-container {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.telefone {
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
    color: var(--white);
}

.telefone p{
    margin: 0;
}

.barra {
    display: none;
}

.back-to-top{
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--white);
    width: 5rem;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 0.1rem solid var(--purple);
    color: var(--purple);
    transform: rotate(-90deg);
    z-index: 20;
}

#sobre, #servicos, #contato, #formulario, #nossosModulos, #fases, #conteudo{
    scroll-margin-top: 8rem;
}

@media (max-width: 768px) {
    html {
        font-size: 50%;
    }

    .menu{
        bottom: 0;
        text-align: center;
        display: none;
    }

    .menu-content{
        height: 100vh;
    }

    .menu-content, .menu-content ul{
        flex-direction: column;
        justify-content: center;
    }

    .close-menu-label{
        display: inline;
    }

    .close-menu-label::after{
        content: '☰';
        box-sizing: content-box;
        position: fixed;
        z-index: 21;
        top: 2rem;
        right: 2rem;
        background-color: var(--purple);
        color: var(--white);
        font-size: 3rem;
        line-height: 3rem;
        width: 3rem;
        height: 3rem;
        text-align: center;
        padding: 0.5rem;
        cursor: pointer;
    }

    .close-menu:checked~.menu{
        display: block;
    }

    .close-menu:checked~.close-menu-label::after{
        content: '×';
    }

    .menu-spacing{
        display: none;
    }

    .main-content {
        padding: 2rem;
    }

    .intro {
        min-height: 130rem;
    }

    .intro-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .intro-img.erick img{
        width: 30rem;
    }

    .intro-img.erick-divertidamente img{
        width: 25rem;
    }

    .intro-img {
        max-width: 100%;
        max-height: 100%;
        margin-bottom: 4rem;
    }

    .intro-text h2, .intro-text h1 {
        font-size: 8rem;
    }

    .intro-text p {
        font-size: 2.2rem;
    }

    .botoes-content button {
        margin-right: 0;
        margin-bottom: 1.5rem;
        width: 80%;
    }

    .sobre{
        margin-bottom: 15rem;
    }

    .sobre h2, .produtos h2 {
        font-size: 6rem;
    }

    .intro-text ul li {
        font-size: 2rem;
        flex-direction: column;
        text-align: center;
        padding-top: 1.5rem;
    }

    .intro-text ul li img {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 5rem;
        height: 5rem;
    }

    .modulo-container {
        padding: 3rem 0;
    }

    .modulo {
        grid-template-columns: 1fr;
        width: 90%;
        padding: 1.5rem;
        gap: 2rem;
    }

    .modulo-numero {
        width: 7rem;
        height: 7rem;
        margin: 0 auto 1.5rem auto;
    }

    .modulo-numero h3 {
        font-size: 4rem;
        padding-top: 1rem;
    }

    .modulo-content {
        text-align: center;
    }

    .modulo-content ul {
        padding-left: 2rem;
    }

    .modulo-content ul li p {
        font-size: 1.6rem;
    }

    .investimento-container {
        padding: 5rem 0;
    }

    .investimento-container h2 {
        font-size: 6rem;
        padding-bottom: 3rem;
    }

    .investimento-content {
        max-width: 85%;
        padding: 3rem;
    }

    .investimento-content h3 {
        font-size: 7rem;
    }

    .contato-bnt-content {
        margin: 3rem 0;
    }

    .contato-btn {
        font-size: 4rem;
        padding: 1rem 2rem;
        margin-bottom: 3rem;
    }

    .rodape {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 20px 10px;
    }

    .rodape .logo {
        max-width: 200px;
    }

    .social-and-phone-container {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 15px;
        width: 100%;
    }

    .social-icons-container {
        justify-content: center;
        gap: 15px;
    }

    .telefone {
        justify-content: center;
    }
}