@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&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');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.btn {
    position: relative;
    display: inline-block;
    /* padding: 15px 30px; */
    background: linear-gradient(to right, #614A00, #BD9000);
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skew(-20deg);
    animation: btnAnimate 3s ease-in-out infinite;
    animation-delay: 2s;
}

/* ============================ NAVGATION BAR ============================*/

.navbar-container {
    width: 100%;
    height: 60px;
    border-bottom: 4px solid #736200;
    background: linear-gradient(to right, #0d1b2a, #1b263b);
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    z-index: 2000;
}

.navbar-container .logo span {
    font-size: 24px;
    color: #fff;
    font-weight: 600;
}

.navbar-container .nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.navbar-container .nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
}

.navbar-container .nav-links .btn{
    padding: 8px 20px;
    font-size: 15px;
    margin-left: 2rem;
}

.hamburger {
    display: none;
    cursor: pointer;    
    z-index: 2000;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    display: block;
    transition: all .3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translateY(11px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transition: none;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-11px);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #0D1B2A, #1B263B);
    position: absolute;
    top: -500px;
    left: 0;
    width: 100%;
    padding: 20px;
    gap: 2rem;
    z-index: 999;
    border-radius: 8px;
    border-bottom: 4px solid #736200;
    box-shadow: 2px 2px 5px #736200;
    
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.mobile-menu .btn {
    padding: 12px 15px;
}

/* ============================ CONTAINER HOME ============================*/

.container-home {
    background-image: url(./img/background-home.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding-inline: 10vw;
    position: relative;
    overflow: hidden;
}

.container-home::before {  
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #07032F 0%, #050A1A 50%, #070C06 100%);
    opacity: .6;   
}

.featured-box {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    padding-top: 10vh;
    gap: 2rem;
}

.featured-image {
    width: 50%;
    min-height: auto;
    display: flex;
    justify-content: left;
    align-items: flex-end;
    z-index: 2;
}

.featured-image img {
    max-width: 1050px;
    width: 90%;
}

.featured-text {
    width: 50%;
    min-height: auto;
    color: #fff;
    text-align: left;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
}

.featured-text .title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.featured-text .title span {
    font-family: "Playfair Display", serif;
    background: linear-gradient(90deg, #C9A44C, #E6C76E);
    -webkit-background-clip: text;  /* necessário pro efeito no Chrome/Safari */
    -webkit-text-fill-color: transparent; /* deixa só o gradiente visível */
    background-clip: text; /* suporte para Firefox */
    font-weight: 600;
}

.featured-text p {
    font-size: 1.2rem;
}

.featured-text .btn {
    text-decoration: none;
    text-align: center;
    padding: 10px 12px;
}

/* ============================ SLIDERS ============================*/

.slider {
    width: 100%;
    color: #fff;
    font-weight: 400;
    max-width: 100%;
    margin-inline: auto;
    position: relative;
    height: 60px;
    overflow: hidden;
    background: #1B263B;
    border-block: 2px solid #BD9000;
}

.slide-item {
    width: 400px;
    height: 100px;
    position: absolute;
    left: max(calc(450px * 4), 100%);
    animation: scrollLeft 40s linear infinite;
    top: 30%;
}

.item1 {
    animation-delay: calc(40s / 4 * (4 - 1) * -1);
}

.item2 {
    animation-delay: calc(40s / 4 * (4 - 2) * -1);
}

.item3 {
    animation-delay: calc(40s / 4 * (4 - 3) * -1);
}

.item4 {
    animation-delay: calc(40s / 4 * (4 - 4) * -1);
}

/* ============================ MAIN ============================*/

.containerMain {
    width: 100%;
    /* height: 1000px; */
    background: radial-gradient(circle at top left, #07032F 0%, #070C06 100%);
}

.containerMain .section-main {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding-block: 2rem;
}

.containerMain .section-main .title-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.containerMain .section-main .title-content img{
    max-width: 350px;
    width: 100%;
    margin-bottom: 1rem;
}

.containerMain .section-main .title-content .title {
    font-family: "Playfair Display", serif;
    background: linear-gradient(90deg, #C9A44C, #E6C76E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    background-clip: text;
    font-size: 28px;
}

.containerMain .section-main .title-content .subtitle {
    color: #878484;
    font-size: 18px;
}

.containerMain .section-main .box-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem auto;
    justify-items: center;
}

.containerMain .section-main .box-content .box {
    position: relative;
    width: 323px;
    height: 403px;
    background: linear-gradient(135deg, #102A46 0%, #1B263B 50%, #003078 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    gap: 2rem;
    transition: all .5s ease;
}

.containerMain .section-main .box-content .box:hover {
    background: linear-gradient(135deg, #102a46, #003078);
    transform: translateY(-8px);
}

.containerMain .section-main .box-content .box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: #C9A44C;
    border-radius: 8px 0 8px 0;
}

.containerMain .section-main .box-content .box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #C9A44C;
    /* border-radius: 8px 0 8px 0; */
}

.containerMain .section-main .box-content .box .title {
    font-family: "Playfair Display", serif;
    background: linear-gradient(90deg, #C9A44C, #E6C76E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    background-clip: text;
    font-size: 24px;
    font-weight: 600;
    border-bottom: 2px solid #E6C76E;
    padding-bottom: 1rem;
}

.containerMain .section-main .box-content .box p {
    text-align: center;
    color: #949494;
    font-size: 18px;
    line-height: 2;
}

/* ============================ SURPORTE JURIDICO ============================*/

.section-juridico {
    background-image: url(./img/background02.png);
    background-size: cover;
    background-position: bottom;
    position: relative;
    
}

.section-juridico::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #07032F 0%, #050A1A 50%, #070C06 100%);
    opacity: 0.7;
    z-index: 1;
}

.section-juridico::after {
    content: '';
    position: absolute;
    inset: 0;
    padding: 3px;
    border-radius: 12px;
    background: linear-gradient(to right, black 0%, yellow 50%, black 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.suporte-juridico {
    position: relative;
    max-width: 1280px;
    display: flex;
    margin: 0 auto;
    gap: 2rem;
    padding: 4rem 2rem;
    flex-direction: column;
    text-align: center;
    align-items: center;
    z-index: 1000;
}

.suporte-juridico .title-name {
    color: #736200;
    font-size: 17px;
    font-weight: 600;
}

.suporte-juridico .title,
.testimonials .title {
    font-family: "Playfair Display", serif;
    background: linear-gradient(90deg, #C9A44C, #E6C76E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    background-clip: text;
    font-size: 24px;
    font-weight: 600;

}

.suporte-juridico p {
    color: #fff;
    font-size: 1.2rem;
}

.suporte-juridico .btn {
    text-decoration: none;
    padding: 9px;

}

/* ============================ TESTIMONIALS ============================*/

.testimonials {
    overflow: hidden;
    padding: 32px 8%;
    background: radial-gradient(circle at bottom right, #04021a 0%, #061625 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 60px;
    color: #fff;
}

.testimonials .testimonials-header {
    text-align: center;
}

.testimonials .title {
    width: 100%;
    text-align: center;
    font-size: 28px;
    margin-bottom: 12px;
}

.testimonials .testimonial-header p {
    max-width: 485px;
    font-size: 16px;
}

.testimonials .testimonials-content {
    max-width: 1280px;
    display: block;
    /* gap: 1rem; */
    margin: 0 auto;
}

.swiper {
    width: 100%;
    height: 380px;
    /* background: #003078; */
    padding-bottom: 60px;
}

.swiper .swiper-slide {

    background-color: #0F1E3A;
    display: flex;
    flex-direction: column;
    width: 320px !important; /* largura fixa do card */
  flex-shrink: 0; /* não deixa o card encolher */
    gap: 18px;
    justify-content: center;
    box-shadow: 0 0 20px 0 rgba(92, 115, 160, 0.07);
    padding: 34px;
    border-radius: 12px;
}

.swiper .swiper-slide .testimonials-rate {
    display: flex;
    gap: 4px;
}

.swiper .swiper-slide .testimonials-rate i {
    color: #f9b707;
}

.swiper .swiper-slide .testimonial-quote {
    color: #bbbbbb;
    font-size: 16px;
}

.swiper .swiper-slide .testimonial-author {
    display: flex;
    align-items: center;
    gap: 18px;
}

.testimonial-author .author-avatar{
    width: 50px;
    height: 50px;
    border-radius: 100%;
    overflow: hidden;
}

.testimonial-author .author-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author .author-info h3 {
    font-weight: 600;
    font-size: 14px;
}

.testimonial-author .author-info p {
    color: #8899a8;
    font-size: 12px;
}

.swiper-button-prev,
.swiper-button-next {
    /* background-color: #fff; */
    width: 25px;
    height: 25px;
    /* color: #C9A44C; */
    /* border: 1px solid #f9fafb; */
    border-radius: 100%;
    /* box-shadow: 0 0 20px 0 rgba(92, 115, 160, 0.2); */
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 12px;
    font-weight: 600;
}

/* .swiper-button-prev::after {
    content: '\f053';
    font-family: 'Font Awesome 5 free';
    font-weight: 900;
    font-size: 12px;
} */

/* ============================ SOBRE ============================*/

.sobre-header {
    max-width: 1280px;
    position: relative;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding-top: 10vh;
}

.sobre-header .sobre-img {
    width: 50%;
    min-height: auto;
    display: flex;
    justify-content: left;
}

.sobre-header .sobre-img img {
    max-width: 500px;
    width: 100%;
}

.sobre-header .sobre-info {
    width: 50%;
    min-height: auto;
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.sobre-header .sobre-info p {
    font-size: 1.2rem;
}

/* ============================ ACCORDION / FAQ ============================*/

.faq-content .accordion {
    max-width: 1280px;
    width: 100%;
}

.faq-content .accordion li {
    list-style: none;
    width: 100%;
    margin-block: 20px;
    border-radius: 8px;
    background-color: #0F1E3A;
}

.faq-content .accordion li label {
    display: flex;
    align-items: center;
    padding: 10px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
}

.faq-content .accordion li label::before {
    content: '+';
    margin-right: 10px;
    font-size: 24px;
    font-weight: 600;
}

input[type="checkbox"] {
    display: none;
}

.faq-content .accordion .content-accordion {
    padding: 0 10px;
    line-height: 26px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s, padding 0.5s;
    background-color: #0b1529;
}

.faq-content .accordion input[type="checkbox"]:checked + label + .content-accordion {
    max-height: 400px;
    padding: 10px 10px 20px;
}

.faq-content .accordion input[type="checkbox"]:checked + label::before {
    content: '-';
}

/* ============================ WHATSAPP ============================*/

#whatsapp .wtsapp {
    position: fixed;
    transform: all .5s ease;
    background: #25d366;
    display: block;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    border-right: none;
    font-weight: 700;
    font-size: 30px;
    bottom: 40px;
    right: 20px;
    border: none;
    z-index: 9999;
    width: 50px;
    height: 50px;
    text-decoration: none;
    line-height: 50px;
}

#whatsapp .wtsapp::before {
    content: '';
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    -webkit-animation: pulse-border 1500ms ease-out infinite;
    animation: pulse-border 1500ms ease-out infinite;
}

#whatsapp .wtsapp:focus {
    border: none;
    outline: none;
}

#whatsapp .wtsapp i {
    color: #fff;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

/* ============================ KEYFRAMES ============================*/

@keyframes btnAnimate {
    0% {
        left: -75%;
    }
    60% {
        left: 110%;
    }
    100% {
        left: 120%;
    }
}

@keyframes navAnimation {
    0% {
        top: -500px;
    }
    100% {
        top: 0;
    }
}

@keyframes scrollLeft {
    to {
        left: -380px;
    }
}

/* ============================ MEDIA QUARY ============================*/

@media screen and (max-width: 1000px) {
    .featured-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem;
        padding-top: 12vh;
    }
    .featured-text {
        width: 100%;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding-bottom: 2rem;
    } 
    .featured-image {
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    .featured-image img {
        max-width: 400px;
        width: 80%;
        height: auto;
    }
    .featured-text .title {
        font-size: 2rem;
    }
    .featured-text p {
        font-size: 1rem;
        max-width: 500px;
    }
}

@media screen and (max-width: 970px) {
    .sobre-header {
        flex-direction: column;
        justify-content: center;
    }
    .sobre-header .sobre-info {
        order: 1; /* vem primeiro */
    }

    .sobre-header .sobre-img {
        order: 2; /* vem depois */
    }
    .sobre-header .sobre-info {
        width: 100%;
    }
    .sobre-header .sobre-img {
        width: 100%;
    }
}

@media screen and (max-width: 770px) {
    .navbar-container {
        justify-content: space-between;
        padding: 15px;
    }
    .nav-links-wrapper {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .mobile-menu.show {
        display: flex;
        max-height: 500px;
        animation: navAnimation .3s ease forwards;
    }
}