@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Sora:wght@100..800&display=swap');

:root {
    --paleta-1: #0b1026;
    --paleta-2: #1a254f;
    --paleta-3: #003cff;
    --paleta-4: #0075ff;
    --paleta-5: #4f6bff;
    --paleta-6: #00e5ff;

    --neutro-1: #ffffff;
    --neutro-2: #c7d0ff;
    --neutro-3: #010717;

    --diverso-1: #00e676;
    --diverso-2: #00c853;
    --diverso-3: #009e45;
    --diverso-4: #0a7f4a;
    --diverso-5: #ffc400;
    --diverso-6: #ff3b3b;
    --diverso-7: #ff9100;
    --diverso-8: #7c4dff;

    --borda-1: #6173cd84;
    --borda-2: #595c693d;

    --background-1: #0077ff22;
    --background-2: #595c6943;
}

/* font-family: "Poppins", sans-serif; 
font-family: "Roboto", sans-serif; */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
}

html {
    font-size: 62.5%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.02em;
    font-weight: 600;
}

.container {
    max-width: 80vw;
    margin: 0 auto;
    padding: 15rem 0;
}

.cta-text {
    text-align: center;
    font-size: 2.5rem;
}

.whatsapp-button {
    display: none;
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    z-index: 100;
}

.whatsapp-button img {
    width: 6rem;
}

.video-wrapper {
    width: 100%;
    max-width: 64rem; /* ajuste ao layout */
    aspect-ratio: 16 / 9;
    margin: 0 auto;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border-radius: 1.2rem; /* opcional */
}

.wrapper {
    border-radius: 1.2rem;
    overflow: hidden;
}

.wrapper iframe {
    width: 80rem;
    max-width: 100%;
    height: 60rem;
    border: 0;
}

/* GENERAL - HEADER */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    z-index: 999;
}

header.hide {
    transform: translateY(-110%);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    max-width: 95vw;
    margin: 0 auto;
}

.logo {
    max-width: 30rem;
}

.header-content ul {
    display: flex;
    gap: 1.5rem;
}

.header-navbar {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-content .header-navbar a {
    color: var(--neutro-1);
    font-size: 1.4rem;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
    position: relative;
}

.header-content .header-navbar a:hover {
    color: var(--paleta-4);
}

.header-content .header-navbar a::after {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: 0;
    width: 0;
    height: 0.2rem;
    background-color: var(--neutro-1);
    transition:
        width 0.3s,
        background-color 0.3s;
}

.header-content .header-navbar a:hover::after {
    background-color: var(--paleta-4);
    width: 100%;
}

.mobile-menu-button {
    background-color: transparent;
    display: none;
    z-index: 99;
}

.mobile-menu-button:hover {
    cursor: pointer;
}

.mobile-menu-button i {
    font-size: 3rem;
    color: var(--neutro-1);
}

.navbar-mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    gap: 2rem;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    text-align: center;
    background-color: rgba(5, 8, 15, 0.7);
    backdrop-filter: blur(18px) saturate(90%) brightness(90%);
    -webkit-backdrop-filter: blur(18px) saturate(90%) brightness(90%);

    transform: translateX(-105%);
    opacity: 0;
    pointer-events: none;

    transition:
        transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease 0.1s;
}

.navbar-mobile.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.navbar-mobile ul {
    display: flex;
    flex-direction: column;
}

.navbar-mobile a {
    align-self: center;
    font-size: 2rem;
    color: var(--neutro-1);
    font-weight: 500;
    transition: color 0.2s ease-in-out;
    position: relative;
}

.navbar-mobile ul li > a:hover {
    color: var(--paleta-4);
}

.navbar-mobile ul li > a::after {
    content: '';
    position: absolute;
    top: 3rem;
    left: 0;
    width: 0;
    height: 0.2rem;
    background-color: var(--neutro-1);
    transition:
        width 0.3s,
        background-color 0.3s;
}

.navbar-mobile ul li > a:hover::after {
    background-color: var(--paleta-4);
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: var(--paleta-3);
    color: var(--neutro-1);
    border-radius: 0.3em;
    font-size: 1.5rem;
    text-transform: capitalize;
    padding: 1rem 1.5rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 101%;
    height: 100%;
    background-color: var(--diverso-2);
    transform-origin: left;
    transition: transform 0.3s ease;
    transform: scaleX(1);
    z-index: -1;
}

.btn:hover::before {
    transform-origin: right;
    transition: transform 0.3s ease;
    transform: scaleX(0);
}

.btn i {
    font-size: 2.2rem;
}

.btn:hover {
    color: var(--neutro-1);
    cursor: pointer;
}

.black-container {
    background-color: var(--paleta-1);
    color: var(--neutro-1);
}

/* HEADER - HOME */

.home-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5rem;
}

.home-content div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
    max-width: 80rem;
}

.home-content h1 {
    font-size: 8rem;
    line-height: 10rem;
}

.home-content p {
    font-size: 2rem;
}

.home-content img {
    max-width: 50%;
}

.home-content h1 > .focus {
    font-family: 'Roboto', sans-serif;
    font-size: 10rem;
    color: var(--paleta-4);
}

/* HOME - SERVICES */

.services-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5rem;
}

.section-heading {
    font-size: 5rem;
    text-align: center;
    text-transform: capitalize;
}

.section-paragraph {
    font-size: 2rem;
    text-align: center;
    max-width: 50%;
    margin: 0 auto;
}

.card-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    flex-wrap: wrap;
    gap: 5rem;
}

.cards {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
    cursor: default;
    border: 0.1rem solid var(--borda-2);
    padding: 4rem;
    height: auto;
    transition: box-shadow 0.2s ease-in-out;
}

.cards:hover {
    box-shadow: 0 2rem 5rem var(--borda-2);
}

.cards > h3 {
    font-size: 3rem;
}

.cards > p {
    margin: 0 auto;
    font-size: 1.5rem;
}

.cards span {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 1rem;
}

.services-content .btn {
    margin: 0 auto;
}

/* SERVICES - HOW-IT-WORKS */

.how-it-works-container {
    position: relative;
}

.how-it-works-background-container {
    position: absolute;
    z-index: -1;
    background-color: black;
    width: 100%;
    height: 100%;
}

.how-it-works-background {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    max-width: 100%;
    z-index: -1;
    background-image: url(../imgs/como-funciona/os.webp);
    background-repeat: no-repeat;
    background-size: cover;
    
    background-position: center center;
    filter: blur(0.5rem);
    inset: 0;
    transition: opacity 0.5s ease;
    opacity: 1;
}

.how-it-works-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5rem;
    color: var(--neutro-1);
}

.how-it-works-content-header {
    text-shadow: 0.2rem 0.2rem var(--neutro-3);
}

.dropdown {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    gap: 1.5rem;
    padding: 5rem 0;
    border: 0.1rem solid var(--borda-2);
    text-align: center;
    font-size: 1.5rem;
    cursor: pointer;
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.5s ease,
        background-color 0.3s ease-in-out;
}

.dropdown h3 {
    font-size: 2.5rem;
}

.how-it-works-content .dropdown h3 {
    text-shadow: 0.2rem 0.2rem var(--neutro-3);
}

.dropdown p {
    opacity: 0;
    transform: translateY(-0.5rem);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
    pointer-events: none;
    width: 30%;
    margin: 0 auto;
}

.how-it-works-content .dropdown p {
    text-shadow: 0.2rem 0.2rem var(--neutro-3);
}

.dropdown p > span {
    display: block;
}

.dropdown:hover:not(.dropdown-active) {
    background-color: var(--background-2);
}

.dropdown-active {
    max-height: 40rem;
    opacity: 1;
    background-color: var(--background-1);
}

.dropdown-active p {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* HOW-IT-WORKS - BRANDS */

.brands-content {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.brands-carrousel {
    overflow: hidden;
}

.brands-carrousel ul {
    display: flex;
    align-items: center;
    gap: 10rem;
    animation: slide 20s infinite linear;
}

.brands-carrousel img {
    max-width: auto;
    height: 8rem;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translate(-505.5rem);
    }
}

.brands-content p:nth-child(3) {
    font-size: 1.2rem;
    color: var(--neutro-3);
    text-align: center;
    max-width: 80rem;
    margin: 0 auto;
}

.brands-cta-section {
    display: flex;
    flex-direction: column;
    gap:1.5rem;
    text-align: center;
    margin: 0 auto;
}
.brands-cta-section h3 {
    font-size: 2rem;
}

.brands-cta-section p {
    font-size: 1.6rem;
}

.brands-cta-section .btn {
    align-self: center;
}

/* BRANDS - ABOUT-US */

.about-us-content {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

/* ABOUT-US - FAQ*/

.faq-content {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.faq-content .dropdown {
    border: none;
    border-bottom: 0.1rem solid var(--borda-2);
    margin-bottom: 2rem;
}

/* FAQ - REVIEWS */

.reviews-content {
    display: flex;
    flex-direction: column;
}

.reviews-content .btn{
    margin-top: 2rem;
    align-self: center;
}

/* REVIEWS - CONTACT-US */

.contact-us-content {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.contact-box {
    display: flex;
    align-items: center;
    border-radius: 1.5rem;
    max-width: 100%;
    padding-right: 10rem;
    box-shadow: 1rem 1rem 2rem #00000065;
}

.contact-infos {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-left: 5rem;
}

.contact-infos h3 {
    font-size: 5rem;
}

.contact-infos h4 {
    font-size: 2rem;
}

.contact-infos a {
    color: var(--neutro-3);
    font-size: 1.5rem;
}

/* CONTACT-US - FOOTER-MAIN */

.footer-main-content {
    display: flex;
    gap: 4rem;
    justify-content: space-between;
    align-items: top;
    max-width: 80vw;
    margin: 0 auto;
    padding: 5rem 0;
    font-size: 1.5rem;
}

.footer-main-content h2 {
    font-size: 2rem;
}

.footer-main-content a {
    color: var(--neutro-1);
    align-self: flex-start;
}

.opening-hours-section,
.contact-and-locate-section,
.accreditation-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 1;
}

.opening-hours-section ul,
.contact-and-locate-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-and-locate-section a {
    display: inline-flex;
    align-items: center;
}

.contact-and-locate-section i {
    font-size: 3rem;
}

/* FOOTER-MAIN - FOOTER */

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--paleta-2);
    padding: 1rem;
}

.footer-container a {
    font-size: 1.5rem;
    color: var(--neutro-1);
}

/* MEDIA-QUERIES */

@media (min-width: 1920px) {
        html {
        font-size: 68%; /* leve aumento global (1rem ≈ 10.88px) */
    }

    .container {
        max-width: 140rem; /* 1400px */
        padding: 18rem 0;
    }

    .header-content {
        max-width: 140rem;
    }

    .footer-main-content {
        max-width: 140rem;
    }

    .home-content {
        gap: 8rem;
    }

    .home-content h1 {
        font-size: 9rem;
        line-height: 11rem;
    }

    .home-content h1 .focus {
        font-size: 11rem;
    }

    .section-heading {
        font-size: 6rem;
    }

    .section-paragraph {
        max-width: 60rem;
        font-size: 2.2rem;
    }

    .card-section {
        gap: 6rem;
    }

    .cards {
        padding: 5rem;
    }

    .brands-carrousel ul {
        gap: 15rem;
    }

    .contact-box {
        max-width: 120rem;
        margin: 0 auto;
    }

}

@media (max-width: 1860px) {
    .card-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1281px) {
    body {
        overflow: auto !important;
    }

    .navbar-mobile {
        display: none;
    }
}

@media (max-width: 1600px) {
    .header-content {
        justify-content: space-between;
    }

    .header-content > .btn {
        display: none;
    }

    .header-navbar {
        flex: none;
    }

    .home-content h1,
    .home-content h1 .focus {
        font-size: 6rem;
        line-height: 6rem;
    }

    .home-content p {
        font-size: 2rem;
    }

    .whatsapp-button {
        display: block;
    }
}

@media (max-width: 1280px) {
    .btn {
        font-size: 1.2rem;
        padding: 0.8rem 1.3rem;
    }

    .section-heading {
        font-size: 4rem;
    }

    .section-paragraph {
        font-size: 1.5rem;
        max-width: 100%;
    }

    .header-content {
        width: 80vw;
    }

    .header-navbar {
        display: none;
    }

    .header-content > .btn {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .mobile-menu-button i {
        font-size: 3rem;
    }

    .home-container {
        position: relative;
        background-color: transparent;
    }

    .home-content {
        flex-wrap: wrap;
        height: 100vh;
    }

    .home-content h1 {
        font-weight: 900;
        text-shadow: 0.2rem 0.2rem var(--neutro-3);
    }

    .home-content p {
        font-weight: 700;
        text-shadow: 0.2rem 0.2rem var(--neutro-3);
    }

    .home-content div {
        max-width: 100%;
    }

    .home-content img {
        display: none;
    }

    .home-background {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: -1;
        background-image: url(../imgs/headline.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        filter: blur(0.5rem);
    }

    .wrapper iframe {
        width: 60rem;
        height: 40rem;
        border: 0;
    }

    .contact-box h3 {
        font-size: 3rem;
    }

    .footer-main-content {
        font-size: 1.5rem;
    }

    .footer-main-content h2 {
        font-size: 1.5rem;
    }

    .opening-hours-section,
    .contact-and-locate-section,
    .accreditation-section {
        gap: 1rem;
    }
}

@media (max-width: 1024px) {
    .contact-box h3 {
        font-size: 4rem;
    }

    .contact-box a {
        font-size: 1.3rem;
    }
}

@media (max-width: 960px) {
    .mobile-menu-button i {
        font-size: 3rem;
    }

    .card-section {
        grid-template-columns: 1fr;
    }

    .dropdown p {
        width: 50%;
    }

    .wrapper {
        width: 100%;
    }

    .wrapper iframe {
        width: 80rem;
    }

    .contact-box {
        flex-direction: column;
        padding-right: 0;
    }

    .contact-infos {
        padding: 5rem 0;
    }

    .footer-main-content {
        flex-direction: column;
        align-items: center;
        gap: 5rem;
        text-align: center;
    }

    .opening-hours-section,
    .contact-and-locate-section,
    .accreditation-section {
        max-width: 31rem;
    }

    .footer-main-content .btn {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .logo {
        max-width: 18rem;
    }

    .home-content p {
        font-size: 1.8rem;
    }

    .dropdown {
        max-width: 100%;
    }

    .dropdown h3 {
        font-size: 2rem;
    }

    .faq-content .dropdown h3 {
        font-size: 1.7rem;
    }

    .faq-content .dropdown p {
        font-size: 1.2rem;
    }

    .brands-carrousel ul {
        animation: slide 15s infinite linear;
    }

    .contact-infos {
        padding: 3rem;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 14rem;
    }

    .mobile-menu-button i {
        font-size: 2rem;
    }

    .home-content h1,
    .home-content h1 .focus {
        font-size: 5rem;
        line-height: 5rem;
    }

    .home-content p {
        font-size: 1.4rem;
    }

    .cards {
        padding: 4rem 2rem;
    }

    .dropdown p {
        width: 100%;
    }

    .footer-container a {
        font-size: 1rem;
    }
}
