@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

:root {
    --color-white: #FFFFFF;
    --color-light-purple: #EFE3FF;
    --color-medium-purple: #7F57B3;
    --color-dark-purple: #695880;
    --color-primary-purple: #8943E6;
    --color-light-gray: #F2F2F2;
    --color-medium-gray: #C9C9C9;
    --color-dark-gray: #48444C;
    --color-dark-purple-gray: #2B2433;
    --color-red: #E83030;
    --box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
}



html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
}


body {
    overflow-x: hidden;
    position: relative;
}

main {
    flex: 1 0 auto; 
}

main, section {
    max-width: 100%;
    overflow-x: hidden;
}

header {
    box-shadow: var(--box-shadow);
    background-color: var(--color-white);
    z-index: 1;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    padding: 0.7rem 2rem;
    position: relative;
}

.descritivo{
    font-size: 1.2rem;
    color: var(--color-dark-gray);
    margin-left: 1rem;
    margin-top: 27px;
}

.logo-container {
    display: flex;
    flex-direction: row;
    text-align: center;
    margin-bottom: 5px;
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-links a {
    color: var(--color-dark-gray);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-white);
}


.nav-links a:hover {
    color: var(--color-primary-purple);
}

header .logo img {
    margin-top: 15px;
    height: 3rem;
}

.prof {
    cursor: pointer;
    padding: 0.8rem 2rem;
    border: none;
    background-color: var(--color-primary-purple);
    border-radius: 5px;
    color: var(--color-white);
    font-size: 1rem;
    transition: all 0.3s ease;
    position: absolute;
    right: 2rem; 
    top: 50%;
    height: 50px;
    transform: translateY(-50%);
}

.prof:hover {
    background-color: var(--color-dark-purple);
}

/* FOOTER ATUALIZADO */
footer {
    background-color: var(--color-dark-purple-gray);
    color: var(--color-light-gray);
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 2rem;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1500px;
}

footer .footer-content {
    display: flex;
    justify-content: space-between; /* Espaço entre os elementos */
    align-items: center;
    padding: 1.5rem 0;
    width: 100%; /* Ocupa toda a largura */
}

footer .footer-logo {
    flex: 0 0 auto; /* Mantém o tamanho original */
    width: auto;
}

footer .footer-logo img {
    width: 200px; 
    height: auto;
}

/* Container para os itens da direita */
.footer-right-content {
    display: flex;
    flex-direction: row;
    align-items: flex-end; /* Alinha à direita */
    gap: 1rem; /* Espaço entre os itens */
}

.footer-right-content p,
.footer-right-content a {
    text-align: right;
    margin: 0;
    font-size: 0.95rem;
}

footer .footer-copyright {
    width: 100%;
    display: flex;
    justify-content: space-between; /* Separa logo esquerda / conteúdo direita */
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid var(--color-dark-gray);
}

/* Mantém os estilos existentes para links */
footer .footer-copyright a {
    font-size: 1rem;
    text-decoration: none;
    color: var(--color-white);
    transition: 0.3s all;
}

footer .footer-copyright a:hover {
    color: var(--color-medium-gray);
}

@media (min-width: 769px) and (max-width: 1024px) {
    footer {
        padding: 0 1.5rem;
    }
    
    footer .footer-logo img {
        width: 160px;
    }
    
    .footer-right-content p,
    .footer-right-content a {
        font-size: 0.9rem;
    }

    header .logo img{
        height: 2.5rem;
    }

    .header-button .prof {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        margin-top: 1rem;
    }
}


#call-to-register button {
    cursor: pointer;
    padding: 0.5rem 2rem;
    border: none;
    border-radius: 5px;
    background-color: var(--color-dark-purple-gray);
    color: var(--color-white);
    font-size: 1rem;
    transition: all 0.3s ease;
    height: 50px;
}

#call-to-login button{
    cursor: pointer;
    padding: 0.5rem 2rem;
    border: 1px solid var(--color-dark-purple-gray);
    border-radius: 5px;
    background-color: var(--color-white);
    color: var(--color-dark-purple-gray);
    font-size: 1rem;
    transition: all 0.3s ease;
    height: 50px;
}

#call-to-register button:hover {
    background-color: black;
    box-shadow: var(--box-shadow);
}

#call-to-login button:hover{
    box-shadow: var(--box-shadow);
}

/* Espaçamento entre os botões */
#call-to-login, #call-to-register {
    display: inline-block;
    margin: 0.5rem;
}




@media (max-width: 768px) {
    footer {
        padding: 0 1rem;
    }
    
    footer .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem 0;
    }
    
    .footer-right-content {
        align-items: center; /* Centraliza em telas pequenas */
        text-align: center;
    }
    
    .footer-right-content p,
    .footer-right-content a {
        text-align: center;
    }
    
    footer .footer-copyright {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    footer .footer-logo img {
        width: 150px;
    }

}

/* Responsividade para tablets */
@media (max-width: 1024px) {
    .header-container {
        padding: 0.7rem 1.5rem;
        flex-wrap: wrap;
        position: relative;
    }
    
    .descritivo {
        font-size: 1rem;
        margin-left: 0.5rem;
        margin-top: 25px;
    }
    
    .logo img {
        height: 2.5rem;
        margin-top: 12px;
    }
    
    .prof {
        position: static;
        transform: none;
        margin-left: auto;
        order: 2;
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        height: 45px;
    }
    
    .nav-container {
        order: 3;
        justify-content: center;
    }
    
    .nav-container ul {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .nav-container li button {
        padding: 0.4rem 1.5rem !important;
        font-size: 0.9rem !important;
        height: 40px !important;
    }

    footer{
        height: 100%;
    }

    .auth-link{
        margin-right: 0px;
    }
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .header-container {
        padding: 0.7rem 1rem;
        gap: 0.5rem;
    }
    
    .logo-container {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    
    .descritivo {
        font-size: 0.85rem;
        margin: 0.5rem 0 0 0;
        text-align: center;
        display: none; /* Opcional: esconder em telas muito pequenas */
    }
    
    .logo img {
        height: 2.2rem;
        margin-top: 5px;
    }
    
    .prof {
        order: 2;
        width: 80%;
        margin: 0.5rem 0;
        height: 40px;
        text-align: center;
    }
    
    .nav-container {
        order: 3;
        margin-top: 0.5rem;
    }
    
    .nav-container ul {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    
    .nav-container li {
        width: 100%;
    }
    
    .nav-container li button {
        width: 98% !important;
        padding: 0.5rem !important;
    }
    
    /* Ajustes para o conteúdo principal */
    main {
        padding: 1rem;
    }
    .auth-container form .submit button{
        width: 100%;
    }
     .container, .header-container, footer .container{
        display: flex;
        flex-direction: column;
    }
}

/* Para telas muito pequenas (smartphones pequenos) */
@media (max-width: 480px) {
    .descritivo {
        display: none; /* Esconde o texto descritivo */
    }

    footer .footer-logo img {
        width: 150px;
    }
    
    .header-container {
        padding: 0.5rem;
    }
    
    .prof {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        text-align: center;
        width: 97%;
    }

    
    .nav-container li button {
        font-size: 0.85rem !important;
        padding: 0.4rem !important;
        width: 95% !important;
    }

    .footer-right-content{
        display: flex;
        flex-direction: column;
    }

    .auth-container form .submit button{
        width: 100%;
    }
}

/* Ajustes para o footer em telas menores */
@media (max-width: 768px) {

    footer .container {
        width: 100%;
        padding: 0 1rem;
    }
    
    footer .footer-copyright {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 0;
    }
    
    footer .footer-copyright a {
        margin-left: 0;
    }
    
    
    footer .footer-logo {
        max-width: 200px;
    }
}

/* Estilo de botão para o email */
.email-button {
    display: inline-block;
    background-color: var(--color-white);
    color: var(--color-primary-purple) !important;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 0.3rem;
}

.email-button:hover {
    background-color: var(--color-light-purple);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.container, 
.header-container,
footer .container {
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
