/* ============================================
   ESTILOS COMPARTILHADOS — PÁGINAS LEGAIS
   (privacy.html, terms.html, contact.html)
   ============================================ */

/* Override do body para páginas sem o botão ADM fixo */
body {
    padding-top: 0;
    padding-bottom: 0;
    align-items: stretch;
}

/* ── Cabeçalho de navegação ─────────────────────────────────── */
.page-header {
    background-color: #ffffff;
    border-bottom: 1px solid #dce1e7;
    padding: 14px 20px;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.page-header-content {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.page-header-brand {
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
}

.page-header-brand:hover {
    color: #3498db;
}

.page-header-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-header-nav a {
    font-size: 13px;
    color: #7f8c8d;
    text-decoration: none;
    transition: color 0.2s;
}

.page-header-nav a:hover {
    color: #3498db;
}

.page-header-nav a.active {
    color: #2c3e50;
    font-weight: 600;
}

/* ── Área principal ─────────────────────────────────────────── */
.page-main {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

/* ── Card de conteúdo ───────────────────────────────────────── */
.page-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 48px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

.page-card > h1 {
    font-size: clamp(22px, 4vw, 32px);
    color: #2c3e50;
    margin-bottom: 6px;
}

.page-card .page-updated {
    font-size: 13px;
    color: #95a5a6;
    margin-bottom: 36px;
    display: block;
}

.page-card h2 {
    font-size: clamp(15px, 2.5vw, 19px);
    color: #34495e;
    margin-top: 36px;
    margin-bottom: 14px;
    padding-left: 14px;
    border-left: 3px solid #3498db;
}

.page-card p {
    font-size: 15px;
    line-height: 1.75;
    color: #4a5568;
    margin-bottom: 14px;
}

.page-card ul,
.page-card ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.page-card li {
    font-size: 15px;
    line-height: 1.75;
    color: #4a5568;
    margin-bottom: 6px;
}

.page-card a {
    color: #3498db;
    text-decoration: none;
}

.page-card a:hover {
    text-decoration: underline;
}

.page-card strong {
    color: #2c3e50;
}

/* Caixa de destaque (aviso importante) */
.page-highlight {
    background-color: #eaf4fb;
    border-left: 4px solid #3498db;
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin: 20px 0;
}

.page-highlight p {
    margin-bottom: 0;
    font-size: 14px;
    color: #2c3e50;
}

/* ── Formulário de contato ──────────────────────────────────── */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #4a5568;
}

.contact-info-item strong {
    color: #2c3e50;
    min-width: 80px;
}

.contact-info-item a {
    color: #3498db;
    text-decoration: none;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #34495e;
}

.contact-form-group input,
.contact-form-group textarea,
.contact-form-group select {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus,
.contact-form-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

.contact-form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-submit {
    padding: 12px 28px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-family: inherit;
    font-weight: 600;
    transition: background 0.2s;
    align-self: flex-start;
}

.contact-submit:hover {
    background-color: #229954;
}

.contact-submit:active {
    transform: scale(0.98);
}

/* Aviso "sem backend" */
.contact-notice {
    background-color: #fef9e7;
    border-left: 4px solid #f39c12;
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin-bottom: 28px;
}

.contact-notice p {
    font-size: 13px;
    color: #7d6608;
    margin-bottom: 0;
}

/* ── Rodapé das páginas legais ──────────────────────────────── */
.page-footer {
    text-align: center;
    padding: 24px 20px 32px;
    border-top: 1px solid #e8ecf0;
    margin-top: 20px;
}

.page-footer-copy {
    font-size: 13px;
    color: #95a5a6;
    margin-bottom: 10px;
}

.page-footer-links {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 13px;
}

.page-footer-links a {
    color: #95a5a6;
    text-decoration: none;
    transition: color 0.2s;
}

.page-footer-links a:hover {
    color: #3498db;
}

.page-footer-links span {
    color: #bdc3c7;
    pointer-events: none;
}

/* ── Responsividade ─────────────────────────────────────────── */
@media (max-width: 600px) {
    .page-card {
        padding: 28px 18px;
    }

    .page-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .page-header-nav {
        gap: 14px;
    }

    .contact-submit {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .page-main {
        padding: 20px 12px 40px;
    }

    .page-card {
        padding: 20px 14px;
    }
}
