/* ========== BASE STYLES ========== */
.conteudo-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.imagem-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.imagem-full-width {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ========== FORM OVERLAY ========== */
.form-container-overlay {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 10;
}

.form-container {
    width: 100%;
    max-width: 800px;
    background: rgba(22, 27, 29, 0.92);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.1);
    color: white;
}

/* ========== FORM TYPOGRAPHY ========== */
h1 {
    color: #FFD700;
    text-align: center;
    margin: 0 0 2rem 0;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ========== FORM LAYOUT ========== */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.form-col {
    flex: 1;
    min-width: 200px;
}

.textarea-full {
    flex: 0 0 100%;
}

/* ========== FORM ELEMENTS ========== */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
}

input[type="text"],
input[type="tel"],
textarea,
input[type="file"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1rem;
    background-color: rgba(42, 47, 50, 0.7);
    color: white;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: #FFD700;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
    background-color: rgba(42, 47, 50, 0.9);
}

textarea {
    height: 120px;
    resize: vertical;
    min-height: 100px;
}

.text-muted {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: block;
}

/* ========== FILE INPUT ========== */
.file {
    color: white;
    padding: 0.8rem 1rem;
    background-color: rgba(42, 47, 50, 0.7);
    border: 1px dashed rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file:hover {
    background-color: rgba(42, 47, 50, 0.9);
    border-color: #FFD700;
}

/* ========== SUBMIT BUTTON ========== */
.submit-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #161b1d;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #FFE55C, #FFB347);
}

/* ========== LOADING STATE ========== */
.loading {
    position: relative;
    padding-right: 2.5rem;
}

.loading::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-top-color: #FFD700;
    border-radius: 50%;
    transform: translateY(-50%);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 768px) {
    .form-container-overlay {
        padding: 1rem;
    }
    
    .form-container {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    h1 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .form-col {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 1.25rem;
    }
    
    h1 {
        font-size: 1.3rem;
    }
    
    input[type="text"],
    input[type="tel"],
    textarea,
    input[type="file"] {
        padding: 0.7rem 0.9rem;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 0.9rem;
        font-size: 1rem;
    }
}