
/* =========================================
   DOVELIO - PÁGINAS LEGAIS
========================================= */

.legal-page {
    min-height: 100vh;
    padding: 65px 24px 100px;
    background: #F8F9F5;
    color: #1E3D35;
}

.legal-container {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 45px;

    color: #557461;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.legal-back:hover {
    color: #1E3D35;
}

.legal-header {
    margin-bottom: 37px;
}

.legal-header > span {
    color: #6C8A7A;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
}

.legal-header h1 {
    margin: 15px 0;

    font-size: clamp(34px, 5vw, 55px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.05em;
}

.legal-header p {
    color: #7E9183;
    font-size: 12px;
}

.legal-content {
    padding: 45px 50px;

    background: #FFFFFF;
    border: 1px solid #DFE7DD;
    border-radius: 22px;

    box-shadow: 0 15px 50px rgba(30,61,53,.04);
}

.legal-content section {
    margin-bottom: 35px;
}

.legal-content section:last-child {
    margin-bottom: 0;
}

.legal-content h2 {
    margin: 0 0 15px;

    color: #1E3D35;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.35;
}

.legal-content h3 {
    margin: 20px 0 10px;

    color: #315745;
    font-size: 15px;
    font-weight: 750;
}

.legal-content p,
.legal-content li {
    color: #617568;
    font-size: 14px;
    line-height: 1.9;
}

.legal-content p {
    margin: 0 0 14px;
}

.legal-content p:last-child {
    margin-bottom: 0;
}

.legal-content ul {
    padding-left: 22px;
    margin: 12px 0;
}

.legal-content li {
    margin-bottom: 7px;
}

.legal-content a {
    color: #376C4D;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.legal-content a:hover {
    color: #1E3D35;
}

@media (max-width: 590px) {

    .legal-page {
        padding: 35px 16px 65px;
    }

    .legal-back {
        margin-bottom: 30px;
    }

    .legal-header {
        margin-bottom: 28px;
    }

    .legal-content {
        padding: 28px 22px;
        border-radius: 16px;
    }

    .legal-content h2 {
        font-size: 18px;
    }

    .legal-content p,
    .legal-content li {
        font-size: 13px;
    }
}

/* Acrescentar ao FINAL de /assets/legal.css */
.legal-content strong { color: #315345; font-weight: 750; }
.legal-table-wrap {
    max-width: 100%;
    margin: 18px 0 22px;
    overflow-x: auto;
    border: 1px solid #DFE7DD;
    border-radius: 13px;
    -webkit-overflow-scrolling: touch;
}
.legal-table-wrap:focus-visible { outline: 3px solid #A3BFA9; outline-offset: 3px; }
.legal-table { width: 100%; border-collapse: collapse; min-width: 590px; text-align: left; }
.legal-table thead { background: #EAF1E9; }
.legal-table th, .legal-table td {
    border-bottom: 1px solid #E5ECE3;
    padding: 15px 16px;
    vertical-align: top;
    color: #617568;
    font-size: 12px;
    line-height: 1.65;
}
.legal-table th { color: #315345; font-weight: 750; }
.legal-table tbody tr:nth-child(even) { background: #FBFCFA; }
.legal-table tbody tr:last-child th, .legal-table tbody tr:last-child td { border-bottom: 0; }
.legal-bottom-link { margin: 28px 0 0; text-align: center; font-size: 13px; }
.legal-bottom-link a { color: #3D6850; text-decoration: none; font-weight: 700; }
.legal-bottom-link a:hover { text-decoration: underline; }
@media (max-width: 590px) {
    .legal-table th, .legal-table td { padding: 12px; font-size: 11px; }
}
