* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
}

body {
    background: radial-gradient(#ffffff, #dde6ff, #ffffff);
    background-repeat: repeat;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    width: 100%;
    height: 70vh;
    margin: 20px;
    background: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 0px 80px rgba(0, 85, 255, 0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* HEADER */
header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid #f0f0f0;
    justify-items: flex-end;
}

.logo {
    height: 35px;
    object-fit: contain;
}

/* NAV */
nav {
    display: flex;
    gap: 2rem;
}

nav a {
    font-size: 0.85rem;
    color: #4b5563;
    cursor: pointer;
    transition: .3s;
    display: flex;
    gap: 0.2rem;
    align-items: center;
}

nav a span {
    font-size: 1.2rem !important;
}

nav a:hover {
    color: #0055ff;
}

nav a.active {
    color: #0055ff;

}

a {
    color: #3a3a3a;
    text-decoration: none;
}

/* BOTÃO */
.btn-primary {
    width: fit-content;
    display: inline-flex;
    background: linear-gradient(135deg, #0088ff, #0055ff);
    font-weight: 700;
    color: #fff;
    padding: 10px 20px;
    border-radius: 0.5rem;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

/* CARROSSEL */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    flex: 1;
    background: url('./img/bkg.png');
    background-position: left center;
    background-size: cover;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
}

.slide {
    width: 100%;
    flex: 0 0 100%;
    padding: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4;

    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* HERO */
.hero-text {
    max-width: 520px;
    display: grid;
    gap: 1rem;
}

.hero-text h2,
.hero-text .enfatize {
    font-size: 2.5rem;
    color: #111827;
}

.hero-text h2 .enfatize {
    color: #0055ff;
}

.hero-text p {
    color: #6b7280;
}

/* CONTENT */
.simple-section {
    max-width: 700px;
}

.simple-section p {
    color: #6b7280;
}

.content {
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    width: 45%;
    gap: 2rem;
    align-items: self-start;
}

/* FOOTER */
footer {
    color: #6b7280;
    text-align: center;
    padding: 32px;
    border-top: 1px solid #f0f0f0;
}

footer>span,
span>a {
    font-size: 0.8rem;
}

footer>span>a {
    color: #0055ff;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    width: 90vw;
    max-width: 90%;
    height: 90vh;
    border-radius: 12px;
    animation: fadeIn 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

ul {
    margin: 0;
    padding-left: 1.2rem;
    max-width: 100%;
    margin: 0.5rem 0;
}

li {
    /* margin-left: 0.5rem; */
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

.modal-content p,
.paragraph {
    margin-bottom: 15px;
}

.paragraph h3 {
    margin-bottom: 0.5rem;
}

.modal-content p {
    color: #6b7280;
    line-height: 1.6;
}

.modal-title {
    background-color: #0055ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    flex-shrink: 0;
    color: #ffffff;
}

.modal-title h2 {
    font-size: 1.5rem;

}

#modal-body {
    width: 100%;
    flex: 1;
    min-height: 0;
    padding: 1rem 2rem;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

.close {
    right: 1.5rem;
    top: 1rem;
    font-size: 22px;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 28px;
    color: #0055ff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================= */
/* 📱 RESPONSIVO MOBILE */
/* ========================= */

@media(max-width: 900px) {

    body {
        align-items: flex-start;
    }

    .container {
        height: 100vh;
        margin: 0;
        border-radius: 0;
    }

    .logo {
        height: 30px;
    }

    .slide {
        flex-direction: column;
        padding: 50px;
        justify-content: center !important;
    }
    
    .slide:nth-child(1) {
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        align-items: center;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .hero-text h2,
    .hero-text .enfatize {
        font-size: 2.5rem;
        /* line-height: 1.3; */
    }

    .hero-text p {
        font-size: 1.25rem;
    }

    .content {
        width: 100%;
        gap: 1.2rem;
        display: flex;
        flex-direction: column;
    }

    .carousel {
        background-position: right center;
        background-size: cover;
        padding: 0px;
        align-items: center;
        display: flex;
        background-repeat: no-repeat;
    }

    .content>img {
        filter: contrast(100%) brightness(0%) invert(1);
    }

    .carousel h2,
    .carousel p,
    .carousel {
        color: #ffffff
    }

    .carousel .hero-text .enfatize {
        color: #10e0ff
    }

    .btn-primary {
        width: fit-content;
        font-size: 0.9rem;
        background: #ffffff;
        color: #0055ff;
    }

    footer {
        padding: 20px 10px;
    }

    footer>span,
    span>a {
        font-size: 0.7rem;
    }

    .modal-content {
        width: 95%;
    }

    #modal-body {
        padding: 1rem;
    }

    .modal-title h2 {
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;

        flex-direction: column;
        align-items: center;
        gap: 1.5rem;

        padding: 20px 0;

        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition: all 0.3s ease;

        z-index: 1000;
    }

    nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}