@import url('https://fonts.googleapis.com/css2?family=Allura&family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;500;600;700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F5F1EE;
    background-image: radial-gradient(circle at 10% 20%, rgba(233, 214, 201, 0.3) 0%, rgba(245, 241, 238, 0.7) 90%);
}

.container {
    width: 100%;
    max-width: 1100px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 15px 35px rgba(80, 50, 43, 0.1);
    border-radius: 20px;
    overflow: hidden;
}

.form-image {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, #E9D6C9 0%, #F7CBD2 100%);
    position: relative;
    overflow: hidden;
}

.form-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="%2350322B" fill-opacity="0.03" d="M20,20 C40,0 60,0 80,20 C100,40 100,60 80,80 C60,100 40,100 20,80 C0,60 0,40 20,20 Z"/></svg>');
    background-size: 150px;
    opacity: 0.3;
}

.form-image-content {
    width: 100%;
    max-width: 450px;
    text-align: center;
    z-index: 1;
    position: relative;
}

.logo-marca {
    margin-bottom: 3rem;
}

.marca-titulo {
    font-family: 'Allura', cursive;
    font-size: 4rem;
    color: #50322B;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.marca-subtitulo {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #8B6B5E;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.imagem-decorativa {
    height: 250px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path fill="%2350322B" fill-opacity="0.1" d="M100,50 C130,30 170,30 200,50 C200,80 200,120 170,140 C140,160 100,160 70,140 C40,120 40,80 70,60 C85,50 95,45 100,50 Z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin: 2rem 0;
}

.frase-impacto p {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #50322B;
    font-style: italic;
    margin-top: 2rem;
    padding: 0 2rem;
    line-height: 1.4;
}

.form {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #FFF;
    padding: 3rem;
    overflow-y: auto;
}

.form-header {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.title h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #50322B;
    text-align: center;
    margin-bottom: 0.5rem;
}

.title h1::after {
    content: '';
    display: block;
    width: 4rem;
    height: 0.25rem;
    background: linear-gradient(to right, #B88770, #F7CBD2);
    margin: 1rem auto;
    border-radius: 10px;
}

.subtitle {
    font-size: 1rem;
    color: #8B6B5E;
    text-align: center;
    font-weight: 400;
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 1rem;
}

.input-box {
    width: 100%;
    margin-bottom: 1.5rem;
}

.input-box label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #50322B;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.input-box label svg {
    color: #B88770;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    width: 100%;
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #8B6B5E;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: #50322B;
}

.input-box input {
    width: 100%;
    margin-top: 0.3rem;
    padding: 1rem 1.2rem;
    border: 2px solid #E9D6C9;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #FFF;
    color: #50322B;
}

.input-box input:hover {
    border-color: #B88770;
    background-color: #FFFCFA;
}

.input-box input:focus {
    outline: none;
    border-color: #8B6B5E;
    box-shadow: 0 0 0 3px rgba(139, 107, 94, 0.1);
}

.form-options {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remember-me input[type="checkbox"] {
    accent-color: #8B6B5E;
    width: 1.1rem;
    height: 1.1rem;
}

.remember-me label {
    font-size: 0.9rem;
    color: #8B6B5E;
    cursor: pointer;
}

.forgot-password {
    font-size: 0.9rem;
    color: #8B6B5E;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #50322B;
    text-decoration: underline;
}

.continue-button {
    width: 100%;
    margin-top: 1rem;
}

.continue-button button {
    width: 100%;
    border: none;
    background: linear-gradient(135deg, #8B6B5E 0%, #50322B 100%);
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 107, 94, 0.2);
}

.continue-button button:hover {
    background: linear-gradient(135deg, #9B7B6E 0%, #60322B 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 107, 94, 0.3);
}

.continue-button button:active {
    transform: translateY(0);
}

.login-separator {
    width: 100%;
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.login-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #E9D6C9;
}

.login-separator span {
    background: white;
    padding: 0 1rem;
    color: #8B6B5E;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.social-login {
    width: 100%;
    margin-bottom: 2rem;
}

.social-btn {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #E9D6C9;
    border-radius: 12px;
    background: white;
    color: #50322B;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.social-btn:hover:not(:disabled) {
    background: #FFFCFA;
    border-color: #B88770;
}

.social-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.back-to-site {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

.back-to-site a {
    color: #8B6B5E;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.back-to-site a:hover {
    color: #50322B;
}

/* Responsividade */
@media screen and (max-width: 1330px) {
    .container {
        width: 90%;
        max-width: 600px;
    }
    
    .form-image {
        display: none;
    }
    
    .form {
        width: 100%;
        padding: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    body {
        padding: 1rem;
        height: auto;
        min-height: 100vh;
    }
    
    .container {
        flex-direction: column;
        height: auto;
        border-radius: 15px;
    }
    
    .form {
        padding: 2rem;
    }
    
    .title h1 {
        font-size: 2rem;
    }
    
    .input-box input {
        padding: 0.9rem 1rem;
    }
    
    .continue-button button {
        padding: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .form {
        padding: 1.5rem;
    }
    
    .form-header {
        margin-bottom: 1.5rem;
    }
    
    .title h1 {
        font-size: 1.75rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}