* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #1b1b23;
    color: #ffffff;
    overflow-x: hidden;
}

/* CONTAINER PRINCIPAL USANDO GRID LAYOUT */
.main-container {
    display: grid;
    grid-template-columns: 48% 52%;
    min-height: 100vh;
    width: 100vw;
}

/* PAINEL DA ESQUERDA */
.left-panel {
    position: relative;
    display: flex;
    justify-content: flex-start; 
    align-items: center;
    height: 100vh;
    overflow: hidden; 
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-image: url('../custom/images/mulher.png');*/
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.person-image-frame {
    position: relative;
    z-index: 2;
    width: 100%; /* Largura automática para se ajustar ao conteúdo */
    max-width: none; /* Remove a largura máxima anterior */
    text-align: left; /* Alinha o conteúdo interno à esquerda */
    height: 100%; /* Ocupa toda a altura do painel */
    display: flex;
    align-items: center; /* Centraliza verticalmente */
    justify-content: flex-start; /* Alinha a imagem à esquerda */
    padding-left: 0; /* Remove qualquer padding */

}

.person-image-frame img {
    display: block;
    width: 100%; /* ALTERADO: Esta é a mudança principal! Faz a imagem ser responsiva */
    max-width: 815px; /* Mantém o tamanho máximo em telas grandes */
    height: auto;
    position: relative;   /* ADICIONADO: Ativa o posicionamento */
    top: -47px;           /* ADICIONADO: Move a imagem para cima */
}

/* PAINEL DA DIREITA */
.right-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.content-wrapper {
    width: 90%;
    max-width: 500px; /* DIMINUÍDO */
    display: flex;
    flex-direction: column;
}

h2 {
    color: #FFFFFF;
    font-weight: 500;
    font-size: 1.3rem; /* DIMINUÍDO */
    margin-bottom: 18px; /* DIMINUÍDO */
    line-height: 1.4;
}

.highlight-text {
    color: #afba10;
    font-size: 1.8rem; 
    font-weight: 400; 
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px; /* DIMINUÍDO */
    margin-bottom: 22px; /* DIMINUÍDO */
    width: 100%;           /* ADICIONADO: Diminui a largura do formulário */
    align-self: center;
}

input[type="text"],
input[type="password"] {
    background-color: #ffffff;
    border: 1px solid #555;
    border-radius: 4px;
    padding: 12px; /* DIMINUÍDO */
    color: #0d0d0d;
    font-size: 1rem; /* DIMINUÍDO */
    font-family: 'Poppins', sans-serif;
}

input::placeholder {
    color: #0d0d0d;
}

button[type="submit"] {
    background-color: transparent;
    align-self: center;
    width: 38%; /* DIMINUÍDO */
    border: 2px solid #afba10;
    color: #ffffff;
    padding: 12px; /* DIMINUÍDO */
    font-size: 1rem; /* DIMINUÍDO */
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #afba10;
    color: #1a1a1a;
    border-color: #afba10;
}

/* CAIXAS DE DESTAQUE (FEATURES) */
.features-container {
    display: flex;
    justify-content: space-around;
    gap: 10px; /* DIMINUÍDO */
    margin-bottom: 18px; /* DIMINUÍDO */
}

.feature-box img {
    width: 100%;
    max-width: 180px; /* DIMINUÍDO */
    height: auto;
    align-self: center;
}

/* LOGO E RODAPÉ */
.logo-container {
    text-align: center;
    margin-bottom: 15px; /* DIMINUÍDO */
}

.logo {
    width: 140px; /* DIMINUÍDO */
    height: auto;
}

.footer-info {
    font-size: 0.75rem; /* DIMINUÍDO */
    text-align: center;
    color: #aaa;
    line-height: 1.5;
    margin-bottom: 15px; /* DIMINUÍDO */
}

/* LINKS SOCIAIS */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px; /* DIMINUÍDO */
}

.social-links a {
    color: #afba10;
    border: 1px solid #afba10;
    border-radius: 50%;
    width: 38px; /* DIMINUÍDO */
    height: 38px; /* DIMINUÍDO */
    font-size: 0.9rem; /* DIMINUÍDO */
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #1a1a1a;
    background-color: #afba10;
    border-color: #afba10;
}

/* MEDIA QUERY PARA TELAS MENORES (CELULARES) */
@media (max-width: 900px) {
    .main-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    .left-panel {
       display: none;
    }
    .right-panel {
        padding: 40px 20px;
    }
    h2 {
        font-size: 1.3rem;
        text-align: center;
    }
    .content-wrapper {
        align-items: center;
    }
}