/* CTA Consultor — botão + modal compartilhado entre páginas de produtos */

.cta-consultor {
    text-align: center;
    margin: 40px 0;
}

.btn-consultor {
    background: linear-gradient(135deg, #2e7d32, #43a047);
    color: #fff;
    border: none;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
    letter-spacing: 0.5px;
    font-family: inherit;
}

.btn-consultor:hover {
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.5);
    transform: translateY(-2px);
}

/* Modal Consultor */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    width: 90%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: ctaModalSlideIn 0.3s ease;
}

@keyframes ctaModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #333;
}

.modal-title {
    color: #2e7d32;
    font-size: 24px;
    text-align: center;
    margin-bottom: 25px;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-content label {
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.modal-content input[type="text"],
.modal-content input[type="tel"],
.modal-content input[type="email"] {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
    font-family: inherit;
}

.modal-content input[type="text"]:focus,
.modal-content input[type="tel"]:focus,
.modal-content input[type="email"]:focus {
    border-color: #2e7d32;
    outline: none;
}

.modal-promocoes {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 8px 0;
}

.modal-promocoes input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}

.modal-promocoes label {
    font-size: 12px;
    font-weight: normal;
    color: #555;
    line-height: 1.4;
}

.modal-content button[type="submit"] {
    background: #2e7d32;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 5px;
    font-family: inherit;
}

.modal-content button[type="submit"]:hover:not(:disabled) {
    background: #1b5e20;
}

.modal-content button[type="submit"]:disabled {
    background: #a5d6a7;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .btn-consultor {
        padding: 14px 30px;
        font-size: 16px;
    }
    .modal-content {
        padding: 25px 20px;
        margin: 0 10px;
    }
}
