/* =========================================================
   PÁGINA TIPS (Enviar uma Notícia) - The Farol
   ========================================================= */

.contact-page {
    padding: 50px 20vw;
}

.contact-page-title {
    font-size: 1.8vw;
    font-weight: 600;
    color: #424245;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    margin-bottom: 15px;
}

.contact-page-paragraph {
    font-size: 1vw;
    color: #666;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    margin-bottom: 30px;
}

.contact-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 12px 18px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9vw;
    margin-bottom: 20px;
    text-align: center;
}

.contact-error {
    background-color: #fdecea;
    color: #b71c1c;
    padding: 12px 18px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9vw;
    margin-bottom: 20px;
    text-align: center;
}

.contact-form {
    background-color: #f7f7f7;
    padding: 30px;
    border-radius: 8px;
}

.form-row {
    margin-bottom: 18px;
}

.form-field.full-width {
    width: 100%;
}

.form-field label {
    display: block;
    font-size: 13px;
    color: #424245;
    font-weight: 600;
    margin-bottom: 6px;
    font-family: 'Montserrat', sans-serif;
}

.form-field input[type="email"],
.form-field input[type="text"],
.form-field textarea,
.form-field input[type="file"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    box-sizing: border-box;
}

.contact-form button[type="submit"] {
    background-color: #4682b4;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
}

/* --- Popup de termos legais --- */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.popup.open {
    display: flex;
}

.popup-content {
    background: #454542;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.popup-content h2 {
    margin-top: 0;
    font-size: 1.3em;
    color: #f7f7f7;
    font-family: 'Montserrat', sans-serif;
}

.popup-text p {
    margin: 12px 0;
    line-height: 1.6;
    color: #f7f7f7;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
}

.popup-text a {
    color: #7fb3d9;
    text-decoration: underline;
}

.popup-checkbox {
    margin: 20px 0;
    display: flex;
    align-items: center;
}

.popup-checkbox input {
    margin-right: 10px;
}

.accept-terms-text {
    color: #f7f7f7;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
}

.popup-submit {
    background: #4682b4;
    color: #f7f7f7;
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.popup-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .contact-page { padding: 40px 8vw; }
    .contact-page-title { font-size: 4vw; }
    .contact-page-paragraph { font-size: 2.8vw; }
    .contact-success, .contact-error { font-size: 2.8vw; }
}

@media (max-width: 600px) {
    .popup-content { width: 95%; padding: 18px; }
}