/* ===============================
   RESET
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===============================
   HEADER / NAVBAR
================================ */

.header {
    width: 100%;
    background: #f806bc;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.75);
    position: relative;
    top: 0;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===============================
   LOGO
================================ */

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;

    border-radius: 50%;
}

.logo-img {
    width: 80px;
    height: auto;

    object-fit: cover;
    border-radius: 50%;

    background: transparent;
}

.logo-text {
    text-decoration: none;

    font-family: 'Playfair Display', serif;

    font-size: 1.6rem;
    font-weight: 700;

    color: #2c2c2c;

    letter-spacing: 0.5px;

    transition: 0.3s;
}

.logo-text span {
    color: #ff87e1;
}

/* ===============================
   NAV DESKTOP
================================ */

.nav-desktop ul {
    display: flex;
    align-items: center;
    gap: 2rem;

    list-style: none;
}

.nav-desktop a {
    color: #ffffff;
    text-decoration: none;

    font-weight: 600;
    position: relative;

    transition: 0.3s;
}

.nav-desktop a::after {
    content: "";

    position: absolute;
    bottom: -4px;
    left: 0;

    width: 0;
    height: 2px;

    background: #ffffff;

    transition: 0.3s;
}

.nav-desktop a:hover::after {
    width: 100%;
}

.nav-desktop a:hover {
    opacity: 0.9;
}

.nav-desktop a.active {
    color: #f806bc;
}

.nav-desktop a.active::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -6px;

    width: 100%;
    height: 2px;

    background: #f806bc;

    border-radius: 2px;
}

/* ===============================
   USER
================================ */

.user {
    display: flex;
    align-items: center;
    gap: 0.4rem;

    cursor: pointer;

    color: #ffffff;
    font-weight: 600;
}

.img-seta {
    /* filter: brightness(0) invert(1); */
    mix-blend-mode: multiply;
    color: white;
}

/* ===============================
   MOBILE MENU
================================ */

.menu-mobile-btn {
    display: none;

    background: none;
    border: none;

    font-size: 2rem;
    color: #ffffff;

    cursor: pointer;
}

.nav-mobile {
    display: none;

    background: #ff87e1;
}

.nav-mobile.active {
    display: block;
}

.nav-mobile ul {
    list-style: none;

    padding: 1.5rem;

    display: flex;
    flex-direction: column;

    gap: 1.2rem;

    text-align: center;
}

.nav-mobile a {
    color: #ffffff;

    font-weight: 600;
    text-decoration: none;
}

/* ===============================
   MODAL
================================ */

.overlay {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.63);

    display: none;

    z-index: 90;
}

.logout-menu {
    position: fixed;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%) scale(0.95);

    background: #ffffff;

    padding: 2rem;

    border-radius: 20px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.75);

    display: none;

    text-align: center;

    z-index: 100;

    transition: 0.3s;
}

.logout-menu.active {
    display: block;
    transform: translate(-50%, -50%) scale(1);
}

.modal-title {
    font-size: 1.3rem;
    font-weight: 700;

    margin-bottom: 1.5rem;

    color: #f806bc;
}

/* ===============================
   BOTÕES
================================ */

.btn-logout,
.btn-secondary,
.btn-cancel {

    display: block;
    width: 100%;

    padding: 0.7rem;
    margin-bottom: 0.7rem;

    border-radius: 12px;

    text-decoration: none;
    font-weight: 600;

    transition: 0.3s;
}

.btn-logout {
    background: #c71e2c;
    color: #ffffff;
}

.btn-secondary {
    background: #faf7f8;
    color: #2c2c2c;
}

.btn-cancel {
    background: #444444;
    color: #ffffff;
}

.btn-logout:hover,
.btn-secondary:hover,
.btn-cancel:hover {
    opacity: 0.85;
}

/* ===============================
   RESPONSIVO
================================ */

@media (max-width: 768px) {

    .nav-desktop {
        display: none;
    }

    .menu-mobile-btn {
        display: block;
    }

    .header-container {
        padding: 1rem 1.5rem;
    }
}
