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

/* ====== PALETA LARANJA/ABÓBORA/BRANCO ====== */
:root {
    --bg-primary: #FFFFFF;         /* Branco para o card/formulário */
    --bg-secondary: #FFF8F0;       /* Fundo da Coluna de Formulário (Laranja Suave) */
    --border-color: #FFD4AA;
    --text-primary: #111111;       /* Preto */
    --text-secondary: #555555;
    --color-accent: #FF6B1F;       /* Laranja/Abóbora Foda (Branding) */
    --color-accent-dark: #E55F1B;  /* Laranja/Abóbora Hover */
    --color-luxo-text: #E5E5E5;    /* Texto claro para fundo escuro */
    --color-dark-bg: #1A1A1A;      /* Fundo escuro de luxo */
    --color-error-text: #B91C1C;
    --color-error-bg: #FEE2E2;
    --font-main: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-secondary); 
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

a {
    text-decoration: none;
    color: var(--color-accent);
}

/* ====== CONTAINER DE TELA CHEIA (Layout Foda 2 COLUNAS) ====== */
.full-screen-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* ====== COLUNA DE LUXO (ESQUERDA - MAIS CONTEÚDO VISUAL) ====== */
.luxo-content-col {
    flex: 1.5; /* Ocupa mais espaço em monitores grandes */
    background: var(--color-dark-bg); /* Fundo escuro de luxo */
    color: var(--color-luxo-text);
    padding: 4rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    /* Efeito visual de luxo */
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    animation: luxoSlideIn 1s ease-out;
}
@keyframes luxoSlideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.col-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    /* Destaque do título em Laranja */
    color: var(--color-accent); 
    text-shadow: 0 0 10px rgba(255, 107, 31, 0.4);
}
.col-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--color-luxo-text);
}

.luxo-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 4rem;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
    animation: slideUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.feature-item:nth-child(1) { animation-delay: 0.2s; }
.feature-item:nth-child(2) { animation-delay: 0.4s; }
.feature-item:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-icon {
    font-size: 2rem;
    color: var(--color-accent);
}

.col-footer-text {
    position: absolute;
    bottom: 2rem;
    left: 5rem;
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0.7;
}

/* ====== COLUNA DO FORMULÁRIO (DIREITA - FOCO) ====== */
.register-wrapper {
    flex: 1; /* Ocupa o espaço restante */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: var(--bg-secondary);
}

.register-card {
    background: var(--bg-primary); 
    padding: clamp(2rem, 5vw, 3rem); 
    border-radius: 16px;
    border: 2px solid var(--border-color);
    width: 100%;
    max-width: 420px; /* Limite o tamanho do card de formulário */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* TÍTULOS E LOGO */
.auth-logo {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 0.5rem;
    display: block;
}
.auth-logo span {
    color: var(--color-accent); 
}

.auth-title-luxo {
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.register-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
}

/* MENSAGEM DE INFORMAÇÃO/ALERTA */
.register-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-left: 5px solid var(--color-accent);
}
.register-info i {
    font-size: 1.5rem;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* MENSAGEM DE ERRO (Com Animação) */
.auth-mensagem {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.auth-mensagem.erro {
    background-color: var(--color-error-bg);
    color: var(--color-error-text);
    border: 1px solid var(--color-error-text);
    animation: shake 0.5s;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}


/* INPUTS */
.input-group {
    position: relative;
    margin-bottom: 1.25rem;
}
.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-accent); 
    font-size: 1.2rem;
    opacity: 0.8;
}
.input-group input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: #FFFFFF; 
    border: 1px solid #D1D5DB; 
    border-radius: 10px; 
    color: var(--text-primary);
    font-size: 1rem;
    transition: 0.3s;
}
.input-group input:focus {
    outline: none;
    border-color: var(--color-accent-dark);
    box-shadow: 0 0 0 4px rgba(255, 107, 31, 0.2); 
}
.input-group input::placeholder {
    color: #9CA3AF;
}

/* BOTÃO PRINCIPAL */
.auth-button {
    width: 100%;
    padding: 1.2rem;
    border: none;
    border-radius: 12px;
    background: var(--color-accent);
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(255, 107, 31, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    margin-top: 1rem;
}
.auth-button:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 31, 0.5);
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.auth-link a {
    color: var(--color-accent);
    font-weight: 700;
}

.form-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ====== RESPONSIVO (MOBILE: Volta para o formato de CARD simples) ====== */
@media (max-width: 1024px) {
    /* Esconde a Coluna de Luxo no Mobile/Tablet */
    .luxo-content-col {
        display: none;
    }
    
    /* Centraliza o formulário na tela inteira */
    .full-screen-container {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 2rem 1rem;
    }

    .register-wrapper {
        max-width: 420px; 
    }
}