/* ===================================
   FORMULÁRIO DE CONTATO - DESIGN MODERNO
   =================================== */

/* Seção do Formulário */
.form-section {
    background: linear-gradient(135deg, #091A26 0%, #000000 100%);
    min-height: 100vh;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(233, 76, 98, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(233, 76, 98, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Container do Formulário */
.form-component-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Lado Esquerdo - Call to Action */
.form-call-wrap {
    position: sticky;
    top: 120px;
}

.hero-title.is-contact {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ilustr-contact {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    opacity: 0.6;
}

.ilustr-contact svg {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Lado Direito - Formulário */
.form-main-wrap {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.call-title {
    font-size: 1.8rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1rem;
}

.normal-text.is-orange {
    color: #E94C62;
    margin: 1.5rem 0 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.span-white {
    color: rgba(255, 255, 255, 0.8);
}

/* Campos do Formulário */
.form-fields-wrap {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.form-unique-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.field-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.field {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: #fff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.field:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #E94C62;
    box-shadow: 0 0 0 3px rgba(233, 76, 98, 0.1);
    transform: translateY(-2px);
}

.field::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.field.is-message {
    min-height: 150px;
    resize: vertical;
    font-family: 'Inter', sans-serif;
}

/* Select/Dropdown */
.form-dropdown {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: #fff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.form-dropdown:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #E94C62;
    box-shadow: 0 0 0 3px rgba(233, 76, 98, 0.1);
}

.form-dropdown option {
    background: #1a1a1a;
    color: #fff;
    padding: 0.5rem;
}

/* Botão de Envio */
.form-button {
    background: linear-gradient(135deg, #E94C62 0%, #c42d40 100%);
    border: none;
    border-radius: 50px;
    padding: 1.25rem 3rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(233, 76, 98, 0.3);
}

.form-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.form-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(233, 76, 98, 0.5);
}

.form-button:hover::before {
    left: 100%;
}

.form-button:active {
    transform: translateY(-1px);
}

/* Mensagens de Sucesso/Erro */
.success-message,
.error-message {
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    text-align: center;
    font-size: 1.1rem;
    animation: slideIn 0.5s ease;
}

.success-message {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4caf50;
}

.error-message {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
}

.span-orange {
    color: #E94C62;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsivo - Tablet */
@media (max-width: 991px) {
    .form-component-wrap {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-call-wrap {
        position: relative;
        top: 0;
        text-align: center;
    }

    .form-main-wrap {
        padding: 2.5rem;
    }
}

/* Responsivo - Mobile */
@media (max-width: 767px) {
    .form-section {
        padding: 4rem 0;
    }

    .form-main-wrap {
        padding: 2rem;
        border-radius: 20px;
    }

    .call-title {
        font-size: 1.5rem;
    }

    .field,
    .form-dropdown {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }

    .form-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
    }

    .ilustr-contact svg {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 479px) {
    .form-main-wrap {
        padding: 1.5rem;
    }

    .field.is-message {
        min-height: 120px;
    }
}

/* Efeitos de Hover nos Campos */
.field:hover,
.form-dropdown:hover {
    border-color: rgba(233, 76, 98, 0.3);
}

/* Validação Visual */
.field:invalid:not(:placeholder-shown) {
    border-color: rgba(244, 67, 54, 0.5);
}

.field:valid:not(:placeholder-shown) {
    border-color: rgba(76, 175, 80, 0.5);
}

/* Loading State para o Botão */
.form-button.loading {
    pointer-events: none;
    opacity: 0.7;
}

.form-button.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}