/* Reset básico para padronizar os navegadores */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    height: 100vh;
    width: 100vw;
    /* REGRA 6: Imagem de fundo vinda da pasta assets */
    /* O linear-gradient cria a sombra escura para o texto ficar legível, sem alterar sua imagem */
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2)), url('../assets/imagens/img_login.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container principal */
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 85%;
    max-width: 1200px;
    height: 100%;
}

/* --- Lado Esquerdo --- */
.left-content {
    width: 50%;
    color: #ffffff;
    padding-right: 20px;
}

.left-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.left-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 450px;
    color: #e0e0e0;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #ffffff;
    font-size: 1.2rem;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    /* REGRA 4 (Adaptada): Transição suave também nos ícones */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* --- Lado Direito (Formulário) --- */
.right-content {
    width: 40%;
    max-width: 400px;
    color: #ffffff;
}

.right-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: #ffffff;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid transparent;
    border-radius: 5px;
    outline: none;
    font-size: 1rem;
    /* REGRA 5: Transição nos inputs */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group input:focus {
    border-color: #ff6b00; /* Cor laranja ao focar */
    box-shadow: 0 0 8px rgba(255, 107, 0, 0.4);
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me input {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.remember-me label {
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-signin {
    width: 100%;
    padding: 15px;
    background-color: #e65c00;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    /* REGRA 4: Transição no botão */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-signin:hover {
    background-color: #ff751a;
    transform: translateY(-2px);
}

.btn-signin:active {
    transform: translateY(0);
}

.lost-password {
    display: inline-block;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.lost-password:hover {
    color: #ffffff;
    text-decoration: underline;
}

.terms {
    font-size: 0.75rem;
    color: #b0b0b0;
    margin-top: 40px;
    text-align: center;
    line-height: 1.5;
}

.terms a {
    color: #d0d0d0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms a:hover {
    color: #ffffff;
}

/* --- REGRA 1: Responsividade --- */
@media screen and (max-width: 900px) {
    .container {
        flex-direction: column;
        justify-content: center;
        padding: 40px 0;
        width: 90%;
    }

    .left-content {
        width: 100%;
        text-align: center;
        margin-bottom: 50px;
        padding-right: 0;
    }

    .left-content h1 {
        font-size: 3.5rem;
    }

    .left-content p {
        margin: 0 auto 30px auto;
    }

    .social-icons {
        justify-content: center;
    }

    .right-content {
        width: 100%;
        max-width: 100%;
    }
    
    .right-content h2 {
        text-align: center;
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .left-content h1 {
        font-size: 2.8rem;
    }
    
    .left-content p {
        font-size: 0.9rem;
    }
}