* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background: #f8f9fa;
    color: #333;
}

/* Fundo decorativo */

.background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.wave-green-top {
    position: absolute;
    top: -180px;
    left: -5%;
    width: 110%;
    height: 320px;
    background: #8bc900;
    border-radius: 50%;
    transform: rotate(-4deg);
}

.wave-gray-top {
    position: absolute;
    top: -130px;
    left: -5%;
    width: 110%;
    height: 300px;
    background: #777777;
    border-radius: 50%;
    transform: rotate(-7deg);
}

.wave-white {
    position: absolute;
    top: -80px;
    left: -8%;
    width: 116%;
    height: 270px;
    background: #f5f5f5;
    border-radius: 50%;
    transform: rotate(-5deg);
}

.wave-green-bottom {
    position: absolute;
    bottom: -190px;
    left: -5%;
    width: 110%;
    height: 300px;
    background: #8bc900;
    border-radius: 50%;
    transform: rotate(-4deg);
}

.wave-gray-bottom {
    position: absolute;
    bottom: -150px;
    left: -5%;
    width: 110%;
    height: 260px;
    background: #777777;
    border-radius: 50%;
    transform: rotate(-7deg);
}

/* Área principal */

.welcome-container {
    position: relative;
    z-index: 10;

    width: min(900px, 90%);
    min-height: 550px;

    background: rgba(248, 248, 248, 0.97);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    border-radius: 45% 45% 40% 40% / 12% 12% 10% 10%;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);

    padding: 50px 30px;
    margin: 10vh auto;
}

/* Logo */

.logo {
    width: 75px;
    height: 75px;
    margin-bottom: 20px;
    position: relative;
}

.leaf {
    position: absolute;
    background: #8bc900;
    border-radius: 100% 0 100% 0;
}

.leaf-one {
    width: 27px;
    height: 45px;
    top: 0;
    left: 24px;
}

.leaf-two {
    width: 30px;
    height: 40px;
    top: 24px;
    left: 5px;
    transform: rotate(-45deg);
}

.leaf-three {
    width: 30px;
    height: 40px;
    top: 24px;
    right: 5px;
    transform: rotate(45deg);
}

/* Título */

h1 {
    font-size: clamp(45px, 7vw, 78px);
    font-weight: 700;
    color: #3d3d3d;
    letter-spacing: -2px;
}

h1 span {
    color: #8bc900;
}

/* Divisor */

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 25px 0 30px;
}

.divider::before,
.divider::after {
    content: "";
    width: 150px;
    height: 2px;
    background: #8bc900;
}

.divider-dot {
    width: 11px;
    height: 11px;
    background: #8bc900;
    border-radius: 50%;
}

/* Botão */

.btn-entrar {
    margin-top: 15px;

    width: 280px;
    height: 72px;

    border: none;
    border-radius: 22px;

    background: #8bc900;
    color: white;

    font-size: 24px;
    font-weight: bold;

    cursor: pointer;

    box-shadow:
        0 8px 0 #659500,
        0 14px 25px rgba(0, 0, 0, 0.22);

    transition: all 0.2s ease;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.btn-entrar:hover {
    background: #7db600;
    transform: translateY(-2px);

    box-shadow:
        0 10px 0 #659500,
        0 18px 28px rgba(0, 0, 0, 0.25);
}

.btn-entrar:active {
    transform: translateY(5px);

    box-shadow:
        0 3px 0 #659500,
        0 8px 15px rgba(0, 0, 0, 0.20);
}

/* Ícone de entrada */

.login-icon {
    width: 28px;
    height: 32px;

    border: 4px solid white;
    border-radius: 4px;

    position: relative;
}

.login-icon::before {
    content: "";

    position: absolute;

    width: 25px;
    height: 4px;

    background: white;

    left: -17px;
    top: 10px;
}

.login-icon::after {
    content: "";

    position: absolute;

    width: 10px;
    height: 10px;

    border-top: 4px solid white;
    border-right: 4px solid white;

    transform: rotate(45deg);

    left: -10px;
    top: 7px;
}

/* Responsivo */

@media (max-width: 600px) {

    .welcome-container {
        min-height: 500px;
        width: 94%;
    }

    h1 {
        font-size: 43px;
    }

    .divider::before,
    .divider::after {
        width: 70px;
    }

    .btn-entrar {
        width: 240px;
        height: 65px;
        font-size: 21px;
    }
}

/* =========================================
   MENU SUPERIOR
========================================= */

.top-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 45px;

    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(47, 133, 90, 0.12);

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);

    z-index: 1000;
}


/* LOGO */

.menu-logo {
    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 210px;
}

.menu-logo strong {
    display: block;

    font-size: 16px;
    letter-spacing: 1.5px;

    color: #276749;
}

.menu-logo small {
    display: block;

    margin-top: 2px;

    font-size: 11px;

    color: #718096;
}


/* MINI LOGO */

.mini-logo {
    width: 38px;
    height: 38px;

    position: relative;
}

.mini-logo span {
    position: absolute;

    width: 15px;
    height: 25px;

    background: #2f855a;

    border-radius: 100% 0 100% 0;

    transform: rotate(35deg);
}

.mini-logo span:nth-child(1) {
    left: 3px;
    top: 7px;
}

.mini-logo span:nth-child(2) {
    left: 12px;
    top: 2px;

    background: #68a87b;
}

.mini-logo span:nth-child(3) {
    left: 16px;
    top: 13px;

    background: #a0aec0;
}


/* LINKS */

.menu-links {
    display: flex;
    align-items: center;
    gap: 5px;
}


.menu-item {
    position: relative;

    display: flex;
    align-items: center;
    gap: 7px;

    padding: 10px 14px;

    color: #4a5568;

    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    border-radius: 8px;

    transition: all 0.25s ease;
}


.menu-item span {
    font-size: 15px;
}


.menu-item b {
    font-size: 12px;

    margin-left: 3px;

    font-weight: normal;
}


.menu-item:hover {
    background: #f0fdf4;

    color: #276749;
}


.menu-item.active {
    background: #2f855a;

    color: white;

    box-shadow: 0 4px 12px rgba(47, 133, 90, 0.22);
}


/* DROPDOWN */

.menu-dropdown {
    position: relative;
}


.dropdown-content {
    position: absolute;

    top: calc(100% + 8px);
    left: 0;

    min-width: 210px;

    padding: 8px;

    background: white;

    border-radius: 10px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);

    border: 1px solid #edf2f7;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-5px);

    transition: all 0.2s ease;
}


.menu-dropdown:hover .dropdown-content {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


.dropdown-content a {
    display: block;

    padding: 11px 13px;

    color: #4a5568;

    text-decoration: none;

    font-size: 13px;

    border-radius: 7px;

    transition: all 0.2s ease;
}


.dropdown-content a:hover {
    background: #f0fdf4;

    color: #276749;

    padding-left: 17px;
}


/* UTILIZADOR */

.menu-user {
    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 170px;

    justify-content: flex-end;
}


.user-avatar {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e8f5e9;

    color: #276749;

    font-weight: bold;

    font-size: 14px;
}


.user-info strong {
    display: block;
    color: #2d3748;
    font-size: 13px;
}

.user-info small {
    display: block;
    color: #a0aec0;
    font-size: 11px;
}



/* Submenu */
.submenu {
    position: relative;
}

.submenu-title {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.submenu-title b {
    font-size: 18px;
    font-weight: normal;
}

/* Conteúdo do submenu */
.submenu-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 190px;
    background: #fff;
    border-radius: 8px;
    padding: 6px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    z-index: 1000;
}

/* Mostrar ao passar o mouse */
.submenu:hover .submenu-content {
    display: block;
}

/* Links do submenu */
.submenu-content a {
    display: block;
    padding: 10px 15px;
    color: #374151;
    text-decoration: none;
    white-space: nowrap;
}

.submenu-content a:hover {
    background: #f0fdf4;
    color: #276749;
}