.header {
    margin: 0 auto;
    padding: 1rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1050;
}

.header-menu {
    max-width: 1200px;
    display: flex;
    gap: 1.5rem; 
}

.header-logo {
    height: 4.375rem;
}

.header-menu a {
    font-size: 1rem;
    font-family:  "Product Sans Regular", Arial, sans-serif;
    font-weight: bold;
    color: #333;
    padding: 8px 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.header-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #744BFF;
    transition: width 0.3s ease;
}

.header-menu a:hover::before {
    width: 100%;
}

.header-menu a:hover {
    color: #744BFF;
    transform: translateY(-2px);
}

.header nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-buttons {
    display: flex;
    gap: 1.5rem; 
}

.btn-assinar {
    background-color: #B1FD07;
    padding: 8px 20px;
    font-size: 1rem;
    font-family:  "Product Sans Regular", Arial, sans-serif;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    height: 40px;
    min-width: 120px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-assinar:hover {
    background-color: #9AE605;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(177, 253, 7, 0.3);
}

.btn-cliente {
    padding: 8px 20px;
    font-size: 1rem;
    font-family:  "Product Sans Regular", Arial, sans-serif;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: 2px solid #744BFF;
    border-radius: 25px;
    transition: all 0.3s ease;
    background-color: transparent;
}

.btn-cliente:hover {
    background-color: #744BFF;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(116, 75, 255, 0.3);
}

.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 1200;
    gap: 6px;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 4px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 999px) {
    .hamburger {
        display: flex;
        position: relative;
        z-index: 1200;
    }

    .header-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100vw !important;
        height: 100vh !important;
        max-width: none !important;
        background: #ffffff !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        padding: 0 !important;
        padding-bottom: 180px !important;
        margin: 0 !important;
        box-shadow: none;
        z-index: 1100;
        gap: 0.5rem;
        box-sizing: border-box;
    }

    .header-buttons {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        width: 100vw !important;
        height: 100vh !important;
        background: transparent !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        padding: 0 !important;
        padding-bottom: 50px !important;
        margin: 0 !important;
        box-shadow: none;
        z-index: 1101;
        gap: 1rem;
        pointer-events: none;
        box-sizing: border-box;
    }

    .header-buttons a {
        pointer-events: auto;
    }

    .menu-toggle:checked ~ .header-menu {
        display: flex !important;
    }

    .menu-toggle:checked ~ .header-buttons {
        display: flex !important;
    }

    .menu-toggle:checked + .hamburger .hamburger-line:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }
    .menu-toggle:checked + .hamburger .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle:checked + .hamburger .hamburger-line:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
    .header nav {
        position: static;
    }
    .header-logo {
        height: 3.5rem;
    }
    .btn-assinar, .btn-cliente {
        width: 80vw;
        max-width: 320px;
        font-size: 1.1rem;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 50px;
    }
    .header-menu li {
        width: 100%;
        text-align: center;
    }
    .header-menu a {
        font-size: 1.25rem;
        padding: 0.875rem 0;
        display: block;
        color: #333;
    }
}

@media (max-width: 600px) {
    .header-logo {
        height: 3rem;
    }
}

@media (max-width: 1300px) {
    .header {
        padding: 1rem 1rem;

    }
}