@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background:  linear-gradient(0deg, #0b1c11, rgb(14, 13, 13, 0.2)),
    url('../../assests/imagens/papel de parede.png') no-repeat center center/cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Fixa o fundo */
    color: #222;
}

header{
    height: 100px;
    backdrop-filter: blur(10px);
    box-shadow: 0px 0px 30px rgba(75, 75, 75, 0.37);
    background: rgba(31, 31, 31, 0.4); /* Fundo branco translúcido */
}

nav{
    margin-top: -12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
}



nav h1{
    font-size: 2.5rem;
    color: #fff9f9;
    margin-right: 0 auto;
}

nav ul{
    
    list-style: none;
    display: flex;
    gap: 2.3rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav a{
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    transition: color 0.3s , transform 0.3s;
    font-size: 27px;
    font-family: 'Montserrat', Arial, sans-serif;
    display: inline-block;
}
 
nav a:hover{
    color: rgb(71, 156, 71);
    transform: scale(1.1) translateY(-4px); /* Aumenta e sobe levemente */
}

nav ul img {
    filter: invert(1);
    transition: filter 0.3s, transform 0.3s; /* Suaviza filtro e transformação */
    
}

nav ul img:hover {
    filter: invert(54%) sepia(98%) saturate(749%) hue-rotate(74deg) brightness(91%) contrast(92%);
    transform: scale(1.15) translateY(-6px); /* Aumenta e sobe levemente */
}
 

.container{
    background-color: white;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    width: 768px;
    max-width: 100%;
    min-height: 480px;
    margin: auto;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
    
}
.container p{
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.3px;
    margin: 20px 0;
    font-weight: 600;
}

.container a{
    font-size: 14px;
    text-decoration: none;
    color: #333;
    margin: 15px 0 10px;
    font-weight: 700;
}

.container button{

     background-color: #2e8b57;
     color: #fff;
     font-size: 14px;
     padding: 10px 45px;
     border: 1px solid transparent;
     border-radius: 8px;
     font-weight: 700;
     letter-spacing: 0.5px;
     cursor: pointer;
     margin-top: 10px;
     text-transform: uppercase;
     margin-top: 10px;

}

.container button.hidden{
    background-color: transparent;
    color: #ffffff;
    border-color: #fff;
}

.container form{
    background-color: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 32px 40px 24px 40px;
    height: 100%;
    gap: 7px; /* Espaço igual entre elementos */
}

.container form h1{
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
    position: relative;
    
}
.input-icon1, .input-icon2, .input-icon3 {
    width: 100%;
    margin-bottom: 0;
  position: relative;
  width: 100%;
    
}

.input-icon1 i, .input-icon2 i, .input-icon3 i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #3f3f3f;
  font-size: 18px;
}
.input-icon1 input,
 .input-icon2 input,
  .input-icon3 input {
    padding-left: 40px !important; /* Força o padding à esquerda */
    /* ...restante do código... */
    width: 100%;
    height: 44px;
    font-size: 15px;
    border-radius: 14px;
    
    
}

.container input{
    background-color: #eee;
    border: none;
    color: #131313;
   
    padding: 10px 15px;
    font-size: 13px;
    border-radius: 15px;
    width: 100%;
    height: 50px;
    outline: none;
    font-weight: 600;
    
}

.input-icon {
    width: 100%;
    margin-bottom: 0;
  position: relative;
  width: 100%;
}

.input-icon i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #3f3f3f;
  font-size: 18px;
}



.input-icon input {
    padding-left: 40px; /* Espaço para o ícone */
    width: 100%;
    height: 44px;
    font-size: 15px;
    border-radius: 14px;
}

/* Botão de visibilidade de senha - Responsivo */
.toggle-password {
    position: absolute;
    right: 7px;
    top: 30%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #3f3f3f;
    font-size: 16px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 2;
}

.toggle-password:hover {
    color: #2e8b57;
}


.form-container{
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
    
}

.login{
    left: 0;
    width: 50%;
    z-index: 2;
}

.container.active .login{
    transform: translateX(100%);
}

.cad{
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}

.container.active .cad{
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    animation: move 0.6s;
}

.toggle-container{
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: all 0.6s ease-in-out;
    border-radius: 150px 0 0 100px;
    z-index: 1000;
    
}

.container.active .toggle-container{
    transform: translateX(-100%);
    border-radius: 0 150px 100px 0;
}

.toggle{
    height: 100%;
    background: linear-gradient(180deg, rgba(6, 24, 16, 0.9), rgba(15, 59, 39, 0.3), rgba(22, 100, 58, 0.3)), 
    url('../../assests/imagens/img_jogo.png') center center/cover no-repeat;
    background-size: cover; /* Altere o valor para aumentar ou diminuir */
    color: #fff;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: all 0.6s ease-in-out;

}

.container.active .toggle{
    transform: translateX(50%);

}

.toggle-painel{
    position: absolute;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 30px;
    text-align: center;
    top: 0;
    transform: translateX(0);
    transition: all 0.6s ease-in-out;
}

.toggle-left{
    transform: translateX(-200%);
}

.container.active .toggle-left{
    transform: translateX(0);
}

.toggle-right{
    right: 0;
    transform: translateX(0);
}

.container.active .toggle-right{
    transform: translateX(200%);
}


.footer {
    width: 100%;
    background: linear-gradient(0deg, rgb(21, 124, 55, 0.1), #00000077); 
    color: #fff;
    padding: 32px 0 22px 0;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-align: center;
    position: fixed;        
    bottom: 0;
    left: 0;
    box-shadow: 0 -2px 12px 0 rgba(0,0,0,0.15);
    z-index: 9999;
    
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-family: 'Montserrat', Arial, sans-serif;
}

.dropdown {
    position: relative;
    display: inline-block;
    
}

.dropdown-content{
    display: none;
    position: absolute;
    right: 0;
    background: rgba(0, 0, 0, 0.2);
    min-width: 120px;
    box-shadow:  0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 9999;
    border-radius: 8px;
}

.dropdown-content a{
    color: #ffffff;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover{

    color: linear-gradient(180deg, rgba(6, 24, 16, 0.9), rgba(15, 59, 39, 0.3), rgba(22, 100, 58, 0.3));
}

/* Estilos para os requisitos dos campos */
#password-requirements {
    margin-top: -2px;
    margin-bottom: 14px;
    margin-left: -135px;
    color: grey;
    font-size: 13px;
}

#email-requirements {
    margin-top: -2px;
    margin-bottom: 14px;
    margin-left: -95px;
    color: grey;
    font-size: 13px;
}

#username-requirements {
    margin-top: -2px;
    margin-bottom: 14px;
    margin-left: -215px;
    color: grey;
    font-size: 13px;
}

/* ==========================================
   📱 RESPONSIVIDADE - TABLET 768px
   ========================================== */
@media (max-width: 908px) {
    
    /* ==========================================
       🔄 CARD VERTICAL - ANIMAÇÃO DE CIMA PARA BAIXO
       ========================================== */
    
    /* Container adaptado para layout vertical */
    .container {
        width: 92%;
        max-width: 480px;
        min-height: 750px;
        margin-top: 30px;
        display: flex;
        flex-direction: column;
    }
    
    /* Formulários ocupam metade vertical */
    .form-container {
        position: absolute !important;
        width: 100% !important;
        height: 50% !important;
        left: 0 !important;
        top: 0 !important;
        overflow-y: auto !important;
    }
    
    /* Ajustes de padding e espaçamento nos formulários */
    .container form {
        padding: 20px 28px !important;
        gap: 3px !important;
    }
    
    .container form h1 {
        font-size: 1.5rem !important;
        margin-bottom: 8px !important;
    }
    
    .container p {
        font-size: 11px !important;
        margin: 8px 0 !important;
        line-height: 1.3 !important;
    }
    
    .container a {
        font-size: 11px !important;
    }
    
    .container button {
        padding: 9px 32px !important;
        font-size: 11px !important;
        margin-top: 8px !important;
    }
    
    .input-icon,
    .input-icon1,
    .input-icon2,
    .input-icon3 {
        margin-bottom: 5px !important;
    }
    
    .input-icon input,
    .input-icon1 input,
    .input-icon2 input,
    .input-icon3 input {
        height: 42px !important;
        font-size: 13px !important;
    }
    
    .toggle-password {
        right: 10px !important;
        font-size: 15px !important;
    }
    
    .container input {
        height: 42px !important;
        font-size: 12px !important;
    }
    
    /* Ajuste dos requisitos de senha/email/username */
    #password-requirements,
    #email-requirements,
    #username-requirements {
        font-size: 10px !important;
        margin-left: 0 !important;
        text-align: left !important;
        margin-top: -2px !important;
        margin-bottom: 4px !important;
    }
    
    /* ========== LOGIN - ANIMAÇÃO VERTICAL ========== */
    .login {
        top: 0 !important;
        left: 0 !important;
        z-index: 2;
        transform: translateY(0) !important;
    }
    
    .container.active .login {
        transform: translateY(100%) !important;
    }
    
    /* ========== CADASTRO - ANIMAÇÃO VERTICAL ========== */
    .cad {
        top: 0 !important;
        left: 0 !important;
        opacity: 0;
        z-index: 1;
        transform: translateY(0) !important;
    }
    
    .container.active .cad {
        transform: translateY(100%) !important;
        opacity: 1;
        z-index: 5;
    }
    
    /* ========== TOGGLE PANEL - MOVIMENTO VERTICAL ========== */
    .toggle-container {
        position: absolute !important;
        top: 50% !important;
        left: 0 !important;
        width: 100% !important;
        height: 50% !important;
        border-radius: 150px 100px 0 0 ;
        transform: translateY(0) !important;
    }
    
    .container.active .toggle-container {
        transform: translateY(-100%) !important;
        border-radius: 0 0 150px 100px ;
    }
    
    /* Toggle interno - 200% de altura para comportamento vertical */
    .toggle {
        position: relative !important;
        width: 100% !important;
        height: 200% !important;
        left: 0 !important;
        top: -100% !important;
        transform: translateY(0) !important;
    }
    
    .container.active .toggle {
        transform: translateY(50%) !important;
    }
    
    /* Painéis do toggle ajustados verticalmente */
    .toggle-painel {
        position: absolute !important;
        width: 100% !important;
        height: 50% !important;
        padding: 25px 22px !important;
    }
    
    .toggle-painel h1 {
        font-size: 1.4rem !important;
        margin-bottom: 10px !important;
    }
    
    .toggle-painel p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin: 10px 0 !important;
    }
    
    .toggle-painel button {
        padding: 9px 28px !important;
        font-size: 11px !important;
        margin-top: 12px !important;
    }
    
    /* Painel esquerdo (aparece quando ativo) */
    .toggle-left {
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        transform: translateY(-200%) !important;
    }
    
    .container.active .toggle-left {
        transform: translateY(0) !important;
    }
    
    /* Painel direito (aparece quando inativo) */
    .toggle-right {
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: auto !important;
        transform: translateY(0) !important;
    }
    
    .container.active .toggle-right {
        transform: translateY(200%) !important;
    }
    
    /* Esconde alguns links de navegação */
    nav ul li:nth-child(3), /* Sobre Nós */
    nav ul li:nth-child(4) { /* Outros */
        display: none !important;
    }
    .footer {
        position: relative;
        margin-top: 30px;
    }
}

/* ==========================================
   📱 RESPONSIVIDADE - MOBILE 480px
   ========================================== */
@media (max-width: 480px) {

    .footer {
        position: relative;
        margin-top: 30px;
    }
    
    /* Navegação mobile */
    nav {
        padding: 8px 12px;
        min-height: 70px;
        gap: 8px;
    }
    
    nav h1 {
        font-size: 1.5rem !important;
        margin-left: 0 !important;
    }
    
    /* Esconde todos os links - só mostra menu icon */
    nav ul li:nth-child(1), /* Início */
    nav ul li:nth-child(2), /* Objetivos */
    nav ul li:nth-child(3), /* Sobre Nós */
    nav ul li:nth-child(4), /* Outros */
    nav ul li.dropdown:first-of-type { /* Dropdown perfil */
        display: none !important;
    }
    
    nav ul li.dropdown:last-child {
        display: inline-block !important;
    }
    
    /* Card ainda menor para mobile */
    .container {
        width: 96% !important;
        max-width: 400px !important;
        min-height: 700px !important;
        margin-top: 20px !important;
    }
    
    .container form {
        padding: 18px 20px !important;
        gap: 2px !important;
    }
    
    .container form h1 {
        font-size: 1.4rem !important;
        margin-bottom: 6px !important;
    }
    
    .container p {
        font-size: 10px !important;
        margin: 6px 0 !important;
    }
    
    .container button {
        padding: 8px 26px !important;
        font-size: 10px !important;
    }
    
    .input-icon input,
    .input-icon1 input,
    .input-icon2 input,
    .input-icon3 input {
        height: 40px !important;
        font-size: 12px !important;
    }
    
    .toggle-password {
        right: 10px !important;
        font-size: 14px !important;
    }
    
    .container input {
        height: 40px !important;
        font-size: 11px !important;
    }
    
    #password-requirements,
    #email-requirements,
    #username-requirements {
        font-size: 9px !important;
    }
    
    .toggle-painel {
        padding: 20px 18px !important;
    }
    
    .toggle-painel h1 {
        font-size: 1.3rem !important;
    }
    
    .toggle-painel p {
        font-size: 0.8rem !important;
    }
    
    .toggle-painel button {
        padding: 8px 24px !important;
        font-size: 10px !important;
    }

    .toggle-container {
        border-radius: 100px 150px 0 0 ;
    }
}

/* ==========================================
   📱 RESPONSIVIDADE - MOBILE PEQUENO 360px
   ========================================== */
@media (max-width: 360px) {
    
    /* Navegação extra pequena */
    nav {
        padding: 6px 10px;
    }
    
    nav h1 {
        font-size: 1.3rem !important;
    }
    
    /* Ajustes finais para telas muito pequenas */
    .container {
        width: 98% !important;
        min-height: 680px !important;
    }
    
    .container form {
        padding: 16px 16px !important;
    }
    
    .container form h1 {
        font-size: 1.3rem !important;
        margin-bottom: 5px !important;
    }
    
    .container p {
        font-size: 9px !important;
    }
    
    .container button {
        padding: 7px 22px !important;
        font-size: 9px !important;
    }
    
    .input-icon input,
    .input-icon1 input,
    .input-icon2 input,
    .input-icon3 input {
        height: 38px !important;
        font-size: 11px !important;
    }
    
    .toggle-password {
        right: 8px !important;
        font-size: 13px !important;
    }
    
    .container input {
        height: 38px !important;
        font-size: 10px !important;
    }
    
    .toggle-painel {
        padding: 18px 15px !important;
    }
    
    .toggle-painel h1 {
        font-size: 1.2rem !important;
    }
    
    .toggle-painel p {
        font-size: 0.75rem !important;
    }
    
    .toggle-painel button {
        padding: 7px 20px !important;
        font-size: 9px !important;
    }

}
