/* ===== FORMULÁRIO DE CAPTAÇÃO DE LEADS - DESTAQUE ===== */
.formulario-section {
    padding: 180px 20px;
    background: #E8DDD0;
    position: relative;
    overflow: hidden;
}

.formulario-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(67, 55, 39, 0.2), transparent);
}

.formulario-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/perola.png') no-repeat center;
    background-size: 400px;
    opacity: 0.05;
    z-index: 0;
}

.formulario-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.formulario-content {
    background: #FFFFFF;
    border-radius: 0;
    padding: 75px 65px;
    box-shadow: 0 35px 120px rgba(67, 55, 39, 0.18),
                0 10px 40px rgba(67, 55, 39, 0.12);
    animation: fadeInUp 1s ease-out;
    border: 2px solid rgba(67, 55, 39, 0.15);
    position: relative;
}

.formulario-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(67, 55, 39, 0.15) 0%, rgba(67, 55, 39, 0.1) 100%);
}

.formulario-titulo {
    font-size: 3.2rem;
    color: #433727;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
    font-family: "Instrument Serif", serif;
    letter-spacing: -0.03em;
}

.formulario-subtitulo {
    text-align: center;
    color: #5B5B5B;
    margin-bottom: 48px;
    font-size: 1.15rem;
    line-height: 1.7;
}

.form-group {
    margin-bottom: 32px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #433727;
    font-weight: 500;
    font-size: 1rem;
    font-family: "Instrument Serif", serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid rgba(67, 55, 39, 0.15);
    border-radius: 0;
    font-size: 1rem;
    font-family: "Instrument Serif", serif;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #FFFFFF;
    color: #433727;
    letter-spacing: 0.01em;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #433727;
    box-shadow: 0 0 0 5px rgba(67, 55, 39, 0.08);
    transform: translateY(-1px);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown) {
    border-color: #d63384;
}

.form-group .error-message {
    display: block;
    color: #d63384;
    font-size: 0.85rem;
    margin-top: 8px;
    min-height: 20px;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.form-group.error .error-message {
    opacity: 1;
    transform: translateY(0);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #d63384;
}

/* ===== BOTÃO SUBMIT RETANGULAR COM BORDA MARROM ===== */
.btn-submit {
    width: 100%;
    padding: 20px;
    background: transparent;
    color: #433727;
    border: 2px solid #433727;
    border-radius: 0;
    font-size: 1.15rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-family: "Instrument Serif", serif;
    letter-spacing: 0.025em;
    margin-top: 12px;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #433727;
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-submit:hover {
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(67, 55, 39, 0.35);
}

.btn-submit:hover::before {
    left: 0;
}

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

.btn-submit.loading {
    pointer-events: none;
}

.btn-submit .btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline-block;
}

.form-success {
    display: none;
    text-align: center;
    padding: 24px;
    background: #d4edda;
    border-radius: 0;
    margin-top: 24px;
    animation: fadeInUp 0.5s ease-out;
    border: 2px solid #28a745;
}

.form-success.show {
    display: block;
}

.form-success i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 12px;
}

.form-success p {
    color: #155724;
    font-size: 1rem;
    margin: 0;
}

/* ===== FOOTER ELEGANTE ===== */
.footer {
    background: #433727;
    color: #FFFFFF;
    padding: 60px 20px 30px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #DABE99;
    font-weight: 500;
    font-family: "Instrument Serif", serif;
}

.footer-section p {
    margin: 10px 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.footer-section i {
    margin-right: 10px;
    color: #DABE99;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: transparent;
    color: #DABE99;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.3rem;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
        background: #E8DDD0;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.social-links a:hover {
    color: #433727;
    transform: translateY(-3px);
}

.social-links a:hover::before {
    left: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(218, 190, 153, 0.2);
    padding-top: 30px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== RESPONSIVIDADE FORMULÁRIO ===== */
@media (max-width: 768px) {
    .formulario-section {
        padding: 100px 15px;
        background: transparent;
    }

    .formulario-content {
        padding: 40px 28px;
    }

    .formulario-titulo {
        font-size: 2.2rem;
    }

    .formulario-subtitulo {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .footer-section p {
        font-size: 0.95rem;
    }

    .social-links {
        gap: 15px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .formulario-section {
        padding: 160px 30px;
    }

    .formulario-container {
        max-width: 600px;
    }

    .formulario-content {
        padding: 50px 40px;
    }

    .formulario-titulo {
        font-size: 2.8rem;
    }
}

/* ===== FORMULÁRIO - MOBILE PEQUENO ===== */
@media (max-width: 480px) {
    .formulario-section {
        padding: 80px 10px;
    }

    .formulario-content {
        padding: 30px 20px;
    }

    .formulario-titulo {
        font-size: 1.8rem;
    }

    .formulario-subtitulo {
        font-size: 0.9rem;
        margin-bottom: 28px;
    }

    .form-group {
        margin-bottom: 24px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

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

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
