/**
 * Foment — Formulário Fale Conosco
 * Estilos visuais fiéis às Imagens 1, 2 e 3
 * Version: 3.8.0
 */

.foment-contato-wrapper {
    position: relative;
    width: 100%;
    font-family: "Suisse Intl", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1A202C;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

.foment-contato-wrapper *,
.foment-contato-wrapper *::before,
.foment-contato-wrapper *::after {
    box-sizing: border-box;
}

.foment-contato-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(460px, 1.42fr);
    column-gap: 64px;
    row-gap: 40px;
    align-items: start;
    width: 100%;
}

/* ==========================================================================
   COLUNA ESQUERDA (Textos e Contatos Diretos)
   ========================================================================== */
.foment-contato-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.foment-contato-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #718096;
    margin-bottom: 22px;
}

.foment-contato-tag::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 1.5px;
    background-color: #718096;
}

.foment-contato-title {
    font-size: 52px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #0B1926;
    margin: 0 0 20px 0;
}

.foment-contato-desc {
    font-size: 16px;
    line-height: 1.55;
    color: #4A5568;
    margin: 0 0 36px 0;
    max-width: 440px;
}

.foment-contato-divider {
    width: 100%;
    height: 1px;
    background-color: #E2E8F0;
    margin: 10px 0 14px 0;
}

.foment-contato-info-list {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.foment-contato-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #EDF2F7;
    text-decoration: none;
    transition: opacity 0.2s;
}

.foment-contato-info-row:hover {
    opacity: 0.8;
}

.foment-contato-info-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #718096;
}

.foment-contato-info-val {
    font-size: 15px;
    font-weight: 600;
    color: #0B1926;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.foment-contato-info-val svg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
}

.foment-contato-info-row:hover .foment-contato-info-val svg {
    transform: translate(2px, -2px);
}

/* ==========================================================================
   COLUNA DIREITA (Seletor de Assuntos & Formulário)
   ========================================================================== */
.foment-contato-right {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.foment-assunto-header-label {
    font-size: 15px;
    font-weight: 600;
    color: #0B1926;
    margin: 0 0 12px 0;
    text-align: left;
}

/* Caixa Trigger do Seletor de Assuntos */
.foment-contato-wrapper .foment-assunto-trigger {
    width: 100% !important;
    border: 1px solid #D2D6DC !important;
    border-radius: 10px !important;
    padding: 16px 20px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #1A202C !important;
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s !important;
    outline: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.foment-contato-wrapper .foment-assunto-trigger:hover {
    border-color: #A0AEC0 !important;
}

.foment-contato-wrapper .foment-assunto-trigger.is-active,
.foment-contato-wrapper .foment-assunto-trigger.is-open {
    border-color: #0B1926 !important;
}

.foment-assunto-trigger-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #1A202C;
}

.foment-assunto-trigger-text.is-placeholder {
    color: #718096;
}

.foment-assunto-trigger-chevron {
    flex-shrink: 0;
    margin-left: 12px;
    color: #2D3748;
    transition: transform 0.25s ease;
}

.foment-assunto-trigger.is-open .foment-assunto-trigger-chevron {
    transform: rotate(180deg);
}

/* Lista Dropdown com Cards dos Assuntos (Imagem 1) */
.foment-assuntos-dropdown {
    width: 100%;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 10px;
    margin-top: 10px;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.foment-assunto-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    text-align: left;
}

.foment-assunto-card:hover {
    background-color: #F8F9FA;
}

.foment-assunto-card.is-selected {
    background-color: #F1F3EF;
}

.foment-assunto-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: #F1F3EF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2D3748;
    transition: background-color 0.15s;
}

.foment-assunto-card:hover .foment-assunto-icon-box {
    background-color: #E6E8E3;
}

.foment-assunto-text-box {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.foment-assunto-item-title {
    font-size: 14.5px;
    font-weight: 600;
    color: #0B1926;
    margin: 0;
    line-height: 1.3;
}

.foment-assunto-item-desc {
    font-size: 12.5px;
    color: #718096;
    margin: 3px 0 0 0;
    line-height: 1.4;
    font-weight: 400;
}

/* ==========================================================================
   FORMULÁRIO REAL (IMAGEM 2)
   ========================================================================== */
.foment-form-stage {
    display: none;
    width: 100%;
    margin-top: 24px;
    animation: fomentFadeIn 0.3s ease-out;
}

.foment-form-stage.is-visible {
    display: block;
}

.foment-form-fields-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
    width: 100%;
}

.foment-form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: left;
    margin-bottom: 18px;
}

.foment-form-fields-row .foment-form-group {
    margin-bottom: 0;
}

.foment-form-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4A5568;
    margin-bottom: 8px;
    display: block;
}

.foment-form-label .req {
    color: #1A202C;
    margin-left: 2px;
}

/* ==========================================================================
   INPUTS & TEXTAREA (IMAGEM 2) — RESET DE TEMA E ESPECIFICIDADE MÁXIMA
   ========================================================================== */
.foment-contato-wrapper .foment-form-input,
.foment-contato-wrapper .foment-form-textarea,
.foment-contato-wrapper input[type="text"].foment-form-input,
.foment-contato-wrapper input[type="email"].foment-form-input,
.foment-contato-wrapper input[type="tel"].foment-form-input,
.foment-contato-wrapper textarea.foment-form-textarea {
    display: block !important;
    width: 100% !important;
    background-color: #F8F9FA !important;
    background: #F8F9FA !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    color: #1A202C !important;
    box-shadow: none !important;
    outline: none !important;
    height: auto !important;
    min-height: 48px !important;
    line-height: normal !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s !important;
}

.foment-contato-wrapper .foment-form-textarea,
.foment-contato-wrapper textarea.foment-form-textarea {
    min-height: 140px !important;
    line-height: 1.55 !important;
    resize: vertical !important;
}

.foment-contato-wrapper .foment-form-input::placeholder,
.foment-contato-wrapper .foment-form-textarea::placeholder,
.foment-contato-wrapper input.foment-form-input::placeholder,
.foment-contato-wrapper textarea.foment-form-textarea::placeholder {
    color: #94A3B8 !important;
    opacity: 1 !important;
}

.foment-contato-wrapper .foment-form-input:focus,
.foment-contato-wrapper .foment-form-textarea:focus,
.foment-contato-wrapper input[type="text"].foment-form-input:focus,
.foment-contato-wrapper input[type="email"].foment-form-input:focus,
.foment-contato-wrapper input[type="tel"].foment-form-input:focus,
.foment-contato-wrapper textarea.foment-form-textarea:focus {
    border-color: #0B1926 !important;
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(11, 25, 38, 0.08) !important;
    outline: none !important;
}

/* Termos e LGPD */
.foment-form-lgpd {
    font-size: 12px;
    line-height: 1.55;
    color: #718096;
    margin: 16px 0 24px 0;
    text-align: left;
}

.foment-form-lgpd a,
.foment-form-lgpd u {
    color: #2D3748;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

/* ==========================================================================
   BOTÃO ENVIAR MENSAGEM — REMOÇÃO TOTAL DE BORDA VERMELHA DO TEMA
   ========================================================================== */
.foment-contato-wrapper button.foment-btn-submit,
.foment-contato-wrapper .foment-btn-submit,
.foment-contato-wrapper form button.foment-btn-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background-color: #0B1926 !important;
    background: #0B1926 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    outline: none !important;
    outline-width: 0 !important;
    outline-color: transparent !important;
    box-shadow: none !important;
    border-radius: var(--foment-btn-radius-fc-submit, var(--foment-btn-radius-universal, 999px)) !important;
    padding: 16px 36px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background-color 0.2s, transform 0.15s, opacity 0.2s !important;
    font-family: inherit !important;
    text-shadow: none !important;
    line-height: normal !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.foment-contato-wrapper button.foment-btn-submit::before,
.foment-contato-wrapper button.foment-btn-submit::after,
.foment-contato-wrapper .foment-btn-submit::before,
.foment-contato-wrapper .foment-btn-submit::after {
    display: none !important;
}

.foment-contato-wrapper button.foment-btn-submit:hover,
.foment-contato-wrapper .foment-btn-submit:hover,
.foment-contato-wrapper form button.foment-btn-submit:hover {
    background-color: #162433 !important;
    background: #162433 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-width: 0 !important;
    border-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    transform: translateY(-1px) !important;
}

.foment-contato-wrapper button.foment-btn-submit:focus,
.foment-contato-wrapper button.foment-btn-submit:active,
.foment-contato-wrapper form button.foment-btn-submit:focus,
.foment-contato-wrapper form button.foment-btn-submit:active {
    border: none !important;
    border-width: 0 !important;
    border-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    transform: translateY(0) !important;
}

.foment-btn-submit.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.foment-btn-submit svg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
}

.foment-btn-submit:hover svg {
    transform: translate(2px, -2px);
}

/* Mensagens de feedback */
.foment-form-feedback {
    margin-top: 14px;
    font-size: 13px;
    display: none;
}

.foment-form-feedback.is-error {
    display: block;
    color: #E53E3E;
    background: #FFF5F5;
    border: 1px solid #FEB2B2;
    padding: 10px 14px;
    border-radius: 6px;
}

/* ==========================================================================
   TELA DE AGRADECIMENTO / SUCESSO (IMAGEM 3)
   ========================================================================== */
.foment-success-stage {
    display: none;
    width: 100%;
    margin-top: 40px !important;
    animation: fomentFadeIn 0.35s ease-out;
}

.foment-success-stage.is-visible {
    display: block !important;
}

.foment-success-outer {
    background-color: #EAECE7;
    border-radius: 20px;
    padding: 70px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.foment-success-card {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 48px 36px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.foment-success-icon-badge {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: #C5CBD1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0B1926;
    margin-bottom: 24px;
}

.foment-success-icon-badge svg {
    width: 24px;
    height: 24px;
}

.foment-success-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    color: #0B1926;
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
}

.foment-success-desc {
    font-size: 15px;
    line-height: 1.55;
    color: #4A5568;
    margin: 0 0 30px 0;
    max-width: 400px;
}

.foment-contato-wrapper a.foment-success-btn,
.foment-contato-wrapper .foment-success-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background-color: transparent !important;
    background: transparent !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
    text-decoration: none !important;
    padding: 14px 28px !important;
    border-radius: var(--foment-btn-radius-fc-blog, var(--foment-btn-radius-universal, 999px)) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    transition: all 0.2s ease !important;
    font-family: inherit !important;
    outline: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.foment-contato-wrapper a.foment-success-btn:hover,
.foment-contato-wrapper .foment-success-btn:hover {
    background-color: #0B1926 !important;
    background: #0B1926 !important;
    border-color: #0B1926 !important;
    color: #FFFFFF !important;
}

.foment-success-btn svg {
    width: 12px;
    height: 12px;
}

/* ==========================================================================
   ANIMAÇÕES E RESPONSIVIDADE
   ========================================================================== */
@keyframes fomentFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .foment-contato-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 40px;
    }

    .foment-contato-title {
        font-size: 42px;
    }

    .foment-form-fields-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .foment-contato-title {
        font-size: 32px;
    }

    .foment-success-outer {
        padding: 40px 16px;
    }

    .foment-success-card {
        padding: 32px 20px;
    }

    .foment-success-title {
        font-size: 24px;
    }

    .foment-btn-submit {
        width: 100%;
    }
}
