@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");



/* Formatação geral */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Plus Jakarta Sans", sans-serif;
}

html{
    scroll-behavior: smooth;
}

a{
    text-decoration: none;
}

h2{
    color: var(--title); 
    font-size: 1.5em;
}

h3{
   font-size: 1.2em;
}

.icon{
    color: var(--surface);
}

.cta-scheduling{
    border: none;
    font-size: 1em;
    font-weight: 600;
    background: var(--surface);
    padding: 12px;
    cursor: pointer;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--button);
    transition: transform 0.25s ease, box-shadow 0.25s ease;

    i{
        font-size: .9em;
    }
}
.cta-scheduling:hover{
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.35),
    inset 0 0 12px rgba(255, 255, 255, 0.25);
}

/* --------------------------- */

body{
    background: var(--background);
    overflow-x: hidden;
}
body.active{
    overflow: hidden;
}

/* Global margin */
.margin{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Animation */
@keyframes pulse{
    0% { transform: scale(1); }
    50% { transform: scale(1.04); }
    100% { transform: scale(1); }
}


/* Header */
#navbar{
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1em 2em;
    transition: all 0.3s ease;

    .logo{
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--title);
        gap: 0.2em;

        span{
            font-size: 1.5em;
        }

        p{
            font-size: 1.2em;
            font-weight: 700;
        }
    }

    #navigation{
        display: flex;
        gap: 2em;
        align-items: center;
        transition: right 0.4s ease-in-out;
        

        li{
            list-style: none;
        }

        a{
            font-size: 1em;
            color: var(--secondary-text);
            font-weight: 450;
            padding: 4px;
            transition: color 0.3s ease;
        }
        a:hover{
            color: var(--surface);
        }
    }
    #navigation.show{
        right: 0;
    }

    /* Menu mobile */
    .menu-mobile{
        display: none;
        font-size: 2.2em;
        color: #000;
        cursor: pointer;
        background: none;
        border: none;
    }
    .close{
        margin-left: 10px;
    }
}
#navbar.fixed{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0px 3px 10px rgba(0,0,0,0.15);
    z-index: 999;
    padding: 1em 3.5em;
}
#nav-spacer{
    width: 100%;
    height: 0;
    border: 1px solid red;
}


/* Overlay */
#overlay{
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    width: 100%;
    height: 100dvh;
    display: none;
    top: 0; left: 0;
    inset: 0;
    z-index: 9;
}
#navigation.show ~ #overlay{
    display: block;
}

 /* Hero-section */
    #hero-section{
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 1.5em;
        gap: 1em;

        .hero-text{
            width: 560px;
            display: flex;
            flex-direction: column;
            gap: 1.2em;

            .highlight{
                display: inline-block;
                position: relative;
            }
            .highlight::after{
                content: '';
                position: absolute;
                left: 0; bottom: 2px;
                width: 0%; height: 40%;
                background: var(--surface);
                z-index: -1;
                transition: width 2s ease;
                border-radius: 4px;
            }
            .highlight.animate::after{
                width: 100%;
            }

            /* Animation */
            > h1, p, button{
                opacity: 0;
                transform: translateX(-100%);
                transition: opacity .8s ease, transform .8s ease, box-shadow 0.3s ease;
            }

            > *.animate-left{
                opacity: 1;
                transform: translateX(0);
            }

            h1{
                font-size: clamp(2.2em, 0.6em + 2.6vw, 3em);
                line-height: 1.1em;
                font-weight: 900;
                color: var(--title);
            }

            p{
                color: var(--default);
            }

            .cta-scheduling{
                width: 80%;
                justify-content: center;
                font-size: 1.1em;
                margin-bottom: 10px;
                /* transition: box-shadow 0.3s ease; */

                animation: pulse 2s ease 1.5s infinite;
            }
        }

        .hero-image{
            position: relative;
            opacity: 0;
            transform: translateX(100%);
            transition: opacity .8s ease, transform .8s ease;

            .shape{
                z-index: -1;
                position: absolute;
                max-width: 500px; min-width: 280px;
                max-height: 500px; min-height: 280px;
                width: 100%; height: 100%;
                background-color: var(--surface);
                border-radius: 100%;
                top: 0; left: 0;
            }

            img{
                width: max(100%, 280px);
                border-bottom-left-radius: 50%;
                border-bottom-right-radius: 50%;
            }

            .warning{
                width: max-content;
                font-size: 1em;
                position: absolute;
                bottom: 0; left: 50%;
                transform: translateX(-50%);
                background: var(--warning);
                color: #FFF;
                padding: 8px;
                border-radius: 30px;
                font-weight: 600;
            }
        }
        .hero-image.animate-right{
            transform: translateX(0);
            opacity: 1;
        }
    }
/* --------------------------- */

/* Main */
main{
    margin: var(--spacing-section) 0;

    #promotion{

        h2{
            margin-bottom: var(--spacing-medium);
        }

        .cards{
            display: flex;
            flex-direction: column;
            gap: var(--spacing-section);

            .card{
                width: 100%;
                background: #FFF;
                display: flex;
                border-top-right-radius: 30px;
                border-bottom-right-radius: 30px;
                border-top-left-radius: 10px;
                border-bottom-left-radius: 10px;
                box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
                opacity: 0;
                transform: translateY(100px);
                transition: opacity 0.8s ease, transform .8s ease;
                
                img{
                    border-top-left-radius: 10px;
                    border-bottom-left-radius: 10px;
                }

                .text-container{
                    display: flex;
                    flex-direction: column;
                    margin: 0 var(--spacing-small);
                    width: 100%;

                    h3{
                        margin: var(--spacing-small) 0;
                    }

                    .description{
                        font-size: 1.15em;
                        color: var(--default);
                        width: 80%;
                    }

                    .btn-container{
                        align-self: flex-end;
                    }
                }
            }
            .card.fade-up{
                opacity: 1;
                transform: translateY(0);
            }   
        }
    }

    #benefits{
        margin: var(--spacing-big) 0;

        .benefits-container{
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            width: 100%;


            .item{
                text-align: center;
                padding: 10px;
                opacity: 0;
                transform: scale(.8);
                transition: opacity .6s ease, transform .6s ease;
            }
            .item.scale-in{
                opacity: 1;
                transform: scale(1);
            }

            span{
                position: relative;
                color: var(--surface);
                font-size: 2em;
                z-index: 5;
                margin-bottom: 20px;
            }
            span::before{
                z-index: -1;
                position: absolute;
                content: '';
                width: 60px; height: 60px;
                border-radius: 50%;
                background: #F6EBCA;
                left: 50%; top: 50%;
                transform: translate(-50%, -50%);
            }
        }

        h2{
            text-align: center;
            margin-bottom: var(--spacing-section);
        }
    }

    #feedbacks{
        margin-top: 5em;

        h2{
            text-align: center;
            margin-bottom: var(--spacing-section);
        }

        img{
            border-radius: 50%;
        }

        .feedback-container{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
            justify-content: center;
            max-width: 1200px;
            margin: 0 auto;   
        }
        
        .feedback-card{
            position: relative;
            width: 100%;
            background: #FFF;
            box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
            border-radius: 10px;
            padding: 20px;
            opacity: 0;
            filter: blur(10px);
            transition: opacity .8s ease, filter .8s ease;

            .google{
                position: absolute;
                top: 6%; right: 3%;
                width: 20px; height: 20px;
            }

            .container-client{
                display: flex;
                align-items: flex-end;
                gap: 8px;
                margin-bottom: var(--spacing-small);

                .client-name-and-avaliable{

                    .star-container{
                        color: var(--surface);
                        font-size: 0.81em;
                    }
                }
            }

            .description{
                color: var(--secondary-text);
                font-size: 1em;
                font-weight: 500;
            }
        }
         .feedback-container > .blur-in{
            opacity: 1;
            filter: blur(0);
        }
    }

    .offer{
        width: min(100%, 820px);
        margin: var(--spacing-big) auto;
        color: #FFF;
        background: var(--secondary-background);
        text-align: center;
        padding: 30px;
        border-radius: 30px;
        transform: scale(.8);
        opacity: 0;
        transition: opacity .6s ease, transform .6s ease;

        h2{
            font-size: 2em;
            font-weight: 500;
            color: #FFF;
            margin-bottom: var(--spacing-small);
        }

        p{
            margin: 0 auto;
            width: min(680px, 100%);
            font-size: 1.2em;
            margin-bottom: var(--spacing-section);
        }

        .btn-container{

            .cta-scheduling{
                margin: 0 auto;
                width: max(50%, 200px);
                justify-content: center;
                font-size: 1.1em;
                font-weight: 500;
                animation: pulse 2s ease 0.3s infinite;
            }
        }
    }
     .offer.scale-in{
        opacity: 1;
        transform: scale(1);
    }
}

/* --------------------------- */

footer{
    .footer-content{
        display: grid;
        grid-template-columns: 2fr 1.5fr 0.5fr;
        gap: 40px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 20px;

        h3{
            margin-bottom: var(--spacing-small);
        }

        p{
            font-size: 1.1em;
            margin-bottom: var(--spacing-small);
            color: var(--secondary-text);
        }
        a{
            color: var(--secondary-text);
            transition: color 0.3s ease;
        }
        a:hover{
            color: var(--surface);
        }

        .social-media{
            align-self: center;
            a{
                margin-left: 5px;
                font-size: 1.4em;
            }
        }
    }

    .footer-copyright{
        text-align: center;
        padding: 15px 0;
        border-top: 1px solid #ddd;
    }
}