@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2.5rem;
    background: white;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    width: 30px;
    height: 30px;
}

.logo span {
    font-size: 1.25rem;
    font-weight: 600;
    color: #222;
}

.nav-buttons {
    display: flex;
    align-items: center;
}

.nav-buttons button {
    margin-left: 1rem;
    border-radius: 20px;
    padding: 0.5rem 1.3rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.btn-login {
    background: transparent;
    color: #2979ff;
    border: 1px solid #2979ff;
}

.btn-login:hover {
    background: rgba(41, 121, 255, 0.1);
}

.btn-register {
    background: #2979ff;
    color: white;
    border: none;
}

.btn-register:hover {
    background: #1e5fd1;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    height: 3px;
    width: 100%;
    background: #222;
    margin-bottom: 5px;
    border-radius: 5px;
    transition: 0.3s;
}

.hero {
    background-image: url("../img/banner_banco.png");
    background-size: cover;
    background-position: center;
    border-radius: 25px;
    margin: 2rem;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1rem;
}

.hero p {
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.avatars {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.8rem;
}

.avatars img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    margin-left: -10px;
}

.avatars img:first-child {
    margin-left: 0;
}

.badge {
    background-color: #47d16d;
    color: #fff;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-left: 10px;
}

.subtitle {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 2rem;
}

.btn-main {
    background-color: #092a68;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 25px;
    padding: 0.8rem 2rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-main:hover {
    background-color: #0b3a8a;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 50%;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem 2rem;
    transition: 0.4s ease;
    z-index: 1050;
}

.sidebar.active {
    left: 0;
}

.sidebar a {
    font-size: 1.1rem;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    margin-bottom: 1.5rem;
    width: 100%;
    transition: 0.2s;
}

.sidebar a:hover {
    color: #2979ff;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .nav-buttons {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        margin: 1rem;
        padding: 3rem 1.5rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .avatars img {
        width: 45px;
        height: 45px;
    }
}
