.fale-conosco-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: calc(100vh - 83px);
    background-image: url("../image/background.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
}

.fale-conosco-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 20px;
    width: 100%;
    max-width: 900px;
}

.fale-conosco-title {
    font-size: 2.2rem;
    color: #173366;
    margin-bottom: 8px;
    font-weight: 600;
}

.fale-conosco-subtitle {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
    font-weight: 400;
}

.form-section {
    width: 100%;
    max-width: 900px;
    margin-bottom: 30px;
}

.contact-form {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.95rem;
    color: #173366;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #5BC659;
    box-shadow: 0 0 0 3px rgba(23, 51, 102, 0.1);
}

.form-input.error, .form-textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.character-count {
    text-align: right;
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 5px;
}

.submit-button {
    width: 100%;
    padding: 15px 20px;
    background: #173366;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 20px;
}

.submit-button:hover {
    background: #0f2347;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.submit-button .material-icons {
    font-size: 20px;
}

.info-section {
    width: 100%;
    max-width: 900px;
}

.info-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.info-header {
    background: #f8f9fa;
    padding: 20px 25px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-header h3 {
    font-size: 1.2rem;
    color: #173366;
    margin: 0;
    font-weight: 600;
}

.info-header .material-icons {
    color: #173366;
    font-size: 24px;
}

.info-content {
    padding: 25px;
}

.info-content p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #495057;
}

.info-content p:last-child {
    margin-bottom: 0;
}

.info-content strong {
    color: #173366;
    font-weight: 600;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-message .material-icons {
    font-size: 20px;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 6px;
    border: 1px solid #c3e6cb;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.success-message .material-icons {
    font-size: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    .fale-conosco-container {
        padding: 20px 15px;
    }

    .fale-conosco-title {
        font-size: 1.8rem;
    }

    .contact-form {
        padding: 25px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-content {
        padding: 20px;
    }

    .info-header {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .fale-conosco-title {
        font-size: 1.6rem;
    }

    .contact-form {
        padding: 20px;
    }

    .form-grid {
        gap: 15px;
    }

    .submit-button {
        font-size: 1rem;
        padding: 12px 16px;
    }
}

/* Animações */
.contact-form {
    animation: slideIn 0.3s ease-out;
}

.info-card {
    animation: slideIn 0.4s ease-out;
}

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

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

/* Loading state */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading .submit-button {
    background: #6c757d;
}

.loading .submit-button::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Validação visual */
.form-input:valid {
    border-color: #28a745;
}

.form-input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #dc3545;
}




/* Estilo para select */
select.form-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    appearance: none;
    padding-right: 40px;
}

/* Hover effects */
.form-input:hover, .form-textarea:hover {
    border-color: #adb5bd;
}

/* Placeholder styling */
.form-input::placeholder, .form-textarea::placeholder {
    color: #6c757d;
    opacity: 0.8;
}

/* Focus dentro do formulário */
.contact-form:focus-within {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}