@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary-color: #2F2F2F;
    --text-primaty: #7e9685;
    --text-secundary: #3b493f;
    --box-color: #4F4F4F;
    --nav-footer: #1F1F1F;
    --max-width-computer: 1280px;
    --max-width-tablet: 80%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    text-decoration: none;
}

/* ================================ BODY ================================ */

body {
    background: var(--primary-color);
    /* overflow-x: hidden; */
    width: 100%;
}

/* ================================ HTML ================================ */

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

/* ================================ NAVBAR ================================ */

nav {
    position: fixed;
    isolation: isolate;
    width: 100%;
    z-index: 9;
}

.nav_header {
    padding: 0.3rem 2rem;
    width: 100%;
    /* justify-content: space-between; */
    background: var(--nav-footer);
    /* justify-content: center; */
}

.nav_header .nav-content {
    max-width: var(--max-width);
    display: flex;
    align-items: center;
    gap: 10rem;
    justify-content: space-around;
}

.nav_logo a img {
    width: 130px;
}

.nav_header .links{
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav_header .links li a {
    color: var(--text-primaty);
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
}

.nav_header .links li a::after {
    content: "";
    position: absolute;
    left: 0%;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #a7ccb2;
    transition: width 0.3s ease;
}

.nav_header .links li a:hover {
    color: #a7ccb2;
}

.nav_header .links li a:hover::after {
    width: 100%;
}

.nav_menu_btn {
    font-size: 1.5rem;
    color: var(--text-primaty);
    cursor: pointer;
    display: none;
}

.nav_links {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    padding: 2rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    background: var(--nav-footer);
    transition: 0.5s;
    z-index: -1;
    transform: translateY(-200%);
}

.nav_links.open {
    transform: translateY(0);
}

.nav_links a {
    font-weight: 500;
    color: var(--text-primaty);
}

/* ================================ HERO SECTION ================================ */

.hero {
    position: relative;
    padding: 15px;
}

.hero-container {
    max-width: var(--max-width-computer);
    margin: 0 auto;
    padding-top: 7rem;
}

.hero-container .content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-container .content .hero-img {
    flex: 1;
}

.hero-container .content .hero-img img{
    width: 60%;
    max-width: 100%;
    border-radius: 8px;
}

.hero-container .content .hero-desc {
    flex: 1;
    max-width: 100%;
    display: flex;
    gap: 3rem;
    flex-direction: column;
}

.hero-container .content .hero-desc .title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    color: var(--text-primaty);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-container .content .hero-desc .title .bar {
    width: 80px;
    height: 15px;
    background: var(--text-secundary);
    border-radius: 60px;
}

.hero-container .content .hero-desc p {
    color: var(--text-primaty);
    font-size: 20px;
}

.hero-container .content .hero-desc .cta-btn {
    max-width: 300px;
    width: 100%;
    padding-block: 0.5rem;
    border-radius: 10px;
    background: var(--text-secundary);
    align-self: flex-end;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #7e9685;
    transition: all .3s ease;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); */
}

.hero-container .content .hero-desc .cta-btn:hover,
.sobre-content .sobre-desc .btn-sobre:hover {
    background: #4e5f52;
}

.hero-container .content .hero-desc .social-content {
    align-self: flex-end;
}

.hero-container .content .hero-desc .social-content .redes {
    margin-block: 1rem;
}

.hero-container .content .hero-desc .social-content .redes i{
    color: var(--text-primaty);
    font-size: 24px;
    margin-right: 0.5rem;
}

/* ================================ SECTION TOPICOS ================================ */

.container {
    display: flex;
    justify-content: space-between;
    /* background: #222; Cor de fundo */
    padding: 20px;
    max-width: var(--max-width-computer);
    margin: 0 auto;
}

.box {
    flex: 1;
    text-align: center;
    padding: 10px;
    color: var(--text-primaty);
    position: relative;
    /* max-width: 256px; */
}


/* Adicionando a barra no meio */
.box:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 6px;
    border-radius: 4px;
    background-color: var(--text-secundary);
}

.box p {
    padding: 15px;
}

/* ================================ GALERIA DE FOTOS ================================ */

.galery {
    min-height: 100vh;
    width: 100%;
    /* background-image: url("../img/background.jpg"); */
    background: linear-gradient(rgba(51, 51, 51, 1),
                                rgba(51, 51, 51, 0.9),
                                rgba(51, 51, 51, 1)),
                                url("../img/background.jpg");
    /* background-position: center; */
    background-size: cover;
    padding-bottom: 3rem;
}

.galery .title,
.testimonials .title,
.sobre .title {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: clamp(1.5rem, 5vw, 2rem);
    color: var(--text-primaty);
    font-weight: 600;
    gap: 16px;
    padding: 3rem;
}

.galery .title .bar,
.testimonials .title .bar,
.sobre .title .bar {
    width: 150px;
    /* flex: 1; */
    height: 15px;
    background: var(--text-secundary);
    border-radius: 60px;
}

/* ================================ GALERIA DE FOTOS / SWIPER ================================ */

.swiper {
    width: 100%;
    padding: 50px 0;
}

.swiper-slide {
    position: relative;
    width: 320px;
    aspect-ratio: 3/4;
    border-radius: 14px;
    border: 1px solid rgba(177, 177, 177, 0.4);
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    user-select: none;
}

.swiper-slide .title {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translate(-50%, -20%);
    -ms-transform: translate(-50%, -20%);
    width: max-content;
    text-align: center;
    padding: 10px 18px;
    background: rgba(46, 39, 39, 0.3);
    border-radius: 8px;
    border: 2px solid rgba(177, 177, 177, 0.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blue(10px);
    -webkit-backdrop-filter: blue(10px);
    transition: all .5s linear;
    color: #fff;
}

.title span {
    font-size: 1rem;
    font-weight: 600;
}

.swiper-slide-active .title {
    bottom: -10px;
    /* box-shadow: 0 20px 30px 2px rgba(0, 148, 185, 0.6); */
}

.swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: #fff;
    transition: all .3s ease-in-out;
}

.swiper-pagination-bullet-active {
    width: 32px;
    background-color: var(--text-primaty);
    border-radius: 14px;
}

/* ================================ GALERIA DE FOTOS / FILTERABLE ================================ */

.grid-container {
    padding: 1rem;
}

.filterable-buttons {
    display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding-inline: 1rem;
  max-width: 1200px;
  margin: 3rem auto;
  gap: clamp(12px, 4vw, 24px);
}

.filterable-buttons button {
    border: none;
    background-color: var(--box-color);
    padding: 10px 20px;
    min-width: 120px;
    max-width: 100%;
    text-align: center;
    border-radius: 8px;
    color: var(--text-primaty);
    cursor: pointer;
    transition: all .3s ease;
    font-size: clamp(14px, 2vw, 17px);
}

.filterable-buttons button:hover {
    background-color: #3a3a3a;
}

.filterable-buttons button.active {
    background: #4070f4;
    color: #fff;
    transition: all .3s ease;
}

.filterable-buttons button.active:hover {
    background: #1c49c7;
}

.grid-itens {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 300px;
    gap: 15px;
    max-width: 1000px;
    margin: auto;
}

.grid-itens.active {
    display: grid;
}

.item {
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: all .5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    aspect-ratio: 1 / 1;
    /* object-position: center top; */
}

.item img.loaded {
    opacity: 1;
}

.item[data-face="top"] img {
    object-position: center top;
}

.item[data-face="center"] img {
    object-position: center center;
}


.item img:hover {
    transform: scale(1.08) translateY(-5px);
  opacity: 0.85;
}


.item5 {
    grid-row: span 2;
}

/* ================================ TESTIMONIALS ================================ */

/* .testimonials {
    width: 100%;
    background-image: url(../img/background-photo.png);
    background-size: cover;
    background-position: center;
}

.testimonials .testimonials-content {
    max-width: var(--max-width-computer);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.testimonials .testimonials-content .testimonial-box {
    position: relative;
    width: 350px;

    background: var(--box-color);
    text-align: center;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.testimonials .testimonials-content .testimonial-box .box-photo {
    position: absolute;
    width: 50px;
    height: 50px;
    left: 43%;
    top: -30px;
    border-radius: 50%;
    background-image: url(../img/foto-perfil2.jpeg);
    background-size: cover;
}

.testimonials .testimonials-content .testimonial-box .title-box-tes {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primaty);
    padding-bottom: 1rem;
}

.testimonials .testimonials-content .testimonial-box p {
    text-align: left;
    color: #fff;
}

.testimonials .testimonials-content .testimonial-box i {
    position: absolute;
    font-size: 50px;
    top: 10px;
    right: 30px;
    color: #797979;
} */

/* ================================ SOBRE ================================ */

.sobre {
    width: 100%;
    /* height: 100vh; */
    background: #282828;
    padding: 5rem 2rem;
}

.sobre .sobre-content {
    max-width: var(--max-width-computer);
    margin: 0 auto;
    /* margin-block: 3rem; */
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5rem;
    padding-top: 2rem;
}

.sobre .title {
    padding: 0;
}

.sobre-content .sobre-imgs {
    flex: 1;
    position: relative;
}

.sobre-content .sobre-imgs .box-img-sobre img {
    max-width: 400px;
    width: 100%;
    border-radius: 10px;
}

.sobre-content .sobre-desc {
    flex: 1;    
}

.sobre-content .sobre-desc p {
    font-size: 18px;
    color: var(--text-primaty);
}

.sobre-content .sobre-desc .btn-sobre {
    /* width: 300px; */
    background: var(--text-secundary);
    text-align: center;
    padding: 12px;
    font-weight: 600;
    border-radius: 10px;
    margin-top: 3rem;
    cursor: pointer;
    color: var(--text-primaty);
    transition: all .3s ease;
}

/* ================================ FOOTER ================================ */

footer {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    gap: 2rem;
}

footer .logo {
    display: flex;
    justify-content: center;
    width: 100%;
}

footer .logo img {
    max-width: 120px;
    width: 100%;
}

footer .menu-footer ul li{
    display: inline-block;
    margin-left: 0.5rem;
}

footer .menu-footer ul li a {
    color: #999999;
    transition: all .3s ease;
}

footer .menu-footer ul li a:hover,
footer .menu-footer .ul-redes i:hover {
    color: #b9b9b9;
}

footer .menu-footer .ul-redes {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-top: 1rem;
}

footer .menu-footer .ul-redes i {
    font-size: 20px;
    color: #999999;
    transition: all .3s ease;
}

footer .copyright p {
    color: #5c5c5c;
}

/* ================================ Responsividade para mobile ================================ */
@media (max-width: 900px) {
    .grand-title {
        display: none;
    }
    .hero-container .content {
        flex-direction: column;
        text-align: center;
    }

    .hero-container .content .hero-img img {
        width: 40%;
    }

    .hero-container .content .hero-desc {
        align-items: center;
        margin-top: 2rem;
    }

    .hero-container .content .hero-desc .title .bar {
        display: none;
    }

    .hero-container .content .hero-desc .cta-btn {
        align-self: center;
    }
    .hero-container .content .hero-desc .social-content {
        align-self: center;
    }
    .hero-container .content .hero-desc .social-content .redes {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sobre .sobre-content {
        flex-direction: column;
    }

    .sobre-content .sobre-imgs .box-img-sobre img {
        max-width: 400px;
        width: 100%;
    }
}   

/* ================================ RESPONSIBILIDADE / 700PX ================================ */

@media screen and (max-width: 700px) {
    .nav_header .links {
        display: none;
    }
    .nav_menu_btn {
        display: block;
    }
    .nav_header .nav-content {
        justify-content: space-between;
    }

    .container {
        flex-direction: column;
    }

    .box {
        padding-bottom: 20px;
    }

    .box:not(:last-child)::after {
        width: 50%;
        height: 4px;
        top: auto;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    .hero-container .content .hero-img {
        width: 50%;
    }
    
    .hero-container .content .hero-desc {
        width: 80%;
        display: flex;
        gap: 3rem;
        flex-direction: column;
    }
    
    .hero-container .content .hero-img img {
        width: 300px;
    }
}

/* ================================ RESPONSIBILIDADE / 450px ================================ */

@media screen and (max-width: 450px) {
    .hero-container .content .hero-img {
        width: 100%;
    }
    .hero-container .content .hero-img img {
        width: 250px;
    }
    .filterable-buttons {
    justify-content: flex-start;
  }

}

/* Responsividade para mobile do Swiper */

@media (max-width: 1100px) {
    .swiper-slide {
        width: 300px;
    }
}

@media (max-width: 900px) {
    .swiper-slide {
        width: 250px;
    }
}

@media (max-width: 700px) {
    .swiper-slide {
        width: 230px;
    }
}

@media (max-width: 610px) {
    .swiper-slide {
        width: 200px;
    }
}