/*========================== RESET ==========================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

html {
    font-size: 16px;
}

body {
    overflow-x: hidden;
}

.wrapper {
    width: 100%;
    overflow-x: hidden;
}

/*========================== HEADER ==========================*/
header {
    min-height: 70vh;
    padding: 100px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg,
            rgba(244, 203, 194, 1) 0%,
            rgba(244, 203, 194, 0.8) 15%,
            rgba(244, 203, 194, 0.8) 100%), url(./assets/fotoCapa.png) no-repeat center / cover;
    position: relative;
}

/* NAV */
.nav {
    display: flex;
    gap: 36px;
    position: absolute;
    top: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 0 20px;
}

.nav a {
    text-decoration: none;
    color: #bc1823;
    font-size: 1.05rem;
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 4px;
    background-color: #bc1823;
    transition: width .4s;
}

.nav a:hover::after {
    width: 100%;
}

/* LOGO */
.img-logo {
    max-width: 420px;
    width: 85%;
}

/* TEXTO HERO */
.p-logo {
    color: #fff;
    text-align: center;
    width: min(90%, 780px);
    font-size: clamp(1.05rem, 2vw, 1.5rem);
    margin: 28px auto;
    line-height: 1.4;
    text-shadow: 0 0 8px rgba(0, 0, 0, .6);
}

.span-p-logo {
    color: #bc1823;
    text-shadow: 0 0 10px #fff;
}

/* BOTÃO HERO */
.link-logo {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: min(90%, 420px);
    padding: 15px 24px;
    margin: 20px auto 0;
    background-color: #f5b8ab;
    border-radius: 999px;
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    color: #bc1823;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px #bc1823;
    transition: .3s ease;
}

.link-logo:hover {
    transform: scale(1.05);
}

/*========================== SERVIÇOS ==========================*/
#container-matters {
    width: min(90%, 1200px);
    margin: 80px auto;
    text-align: center;
}

.title-matters {
    font-size: clamp(2rem, 2vw, 2rem);
    color: #bc1823;
    margin-bottom: 60px;
}

.content-matters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.matters {
    max-width: 260px;
    margin: 0 auto;
}

.icon-circle {
    width: 100px;
    height: 100px;
    background: #f1dbd6;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    transition: .3s ease-in-out;
}

.icon-circle:hover {
    transform: scale(1.05);
    background-color: #f5b8ab;
}

.img-matters {
    width: 50px;
}

.description-matters {
    margin-top: 20px;
    font-size: 1rem;
    font-family: "Poppins", sans-serif;
}

/*========================== ABOUT ==========================*/
#about {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 60px 30px;
    background: linear-gradient(90deg,
            rgba(92, 4, 23, 1) -59%,
            rgba(120, 8, 33, 1) 0%,
            rgba(120, 8, 33, 1) 45%);
}

.img-about {
    width: min(90%, 350px);
    border-radius: 30px;
    box-shadow: 0 0 10px #fff;
    transition: .5s ease-in-out;
}

.img-about:hover {
    transform: scale(1.05);
}

.content-about {
    width: min(90%, 600px);
    text-align: justify;
}

.title-about {
    color: #fff;
    font-size: 2rem;
}

.description-about {
    color: #fff;
    font-size: clamp(1rem, 1vw, 1rem);
    margin-top: 20px;
    line-height: 1.4;
    font-family: "Poppins", sans-serif;
}

.button-about {
    display: inline-flex;
    justify-content: center;
    width: min(100%, 400px);
    padding: 12px;
    margin-top: 30px;
    background-color: #f5b8ab;
    border-radius: 999px;
    color: #b11620;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 0 10px #ff866b;
    font-size: 1.3rem;
}

.button-about:hover {
    scale: .9;
    transition: .5s ease-in-out;
}

/*========================== FOOTER ==========================*/
#footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #f5b8ab;
    padding: 30px 0;
    gap: 40px;
}

.img-footer {
    width: 220px;
}

.content-footer {
    padding: 20px;
}

.content-footer h2 {
    color: #bc1823;
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.content-footer a {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    text-decoration: none;
    color: #bc1823;
    transition: color .5s ease-in-out;
}

.content-footer a:hover {
    color: #FFF;
}

.content-footer img {
    width: 20px;
}

.social-media {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-media a {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .5s ease-in-out;
}

.social-media .whatsapp:hover {
    background: #25D366;
    transform: scale(1.1);
}

.social-media .instagram:hover {
    background: linear-gradient(135deg,
            #fde7a7 0%,
            #f8a35c 25%,
            #e56aa0 50%,
            #b57ad8 75%,
            #7f8be6 100%);
    transform: scale(1.1);
}

.social-media img {
    width: 30px;
}

/*========================== MOBILE ==========================*/
@media (max-width: 768px) {
    .nav {
        position: static;
        gap: 18px;
        margin-bottom: 30px;
    }

    .nav a {
        font-size: 0.95rem;
    }

    header {
        min-height: auto;
        padding: 40px 16px 50px;
    }

    .img-logo {
        max-width: 300px;
    }

    .p-logo {
        font-size: 1rem;
        line-height: 1.5;
    }

    .link-logo {
        width: 100%;
        max-width: 340px;
        font-size: 1rem;
        padding: 14px 18px;
    }

    #about {
        flex-direction: column;
        text-align: justify;
    }

    .content-about {
        width: 100%;
        text-align: center;
    }

    .title-about {
        font-size: 2rem;
    }

    .description-about {
        font-size: 1rem;
    }

}