.page {
    max-width: 860px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    margin: 0 auto;
}

/* ── Header ── */
.header {
    background: linear-gradient(135deg, #006837 0%, #00a651 100%);
    color: #fff;
    padding: 36px 40px 28px;
}

.header .brand {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 8px;
}

.header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}

.header h2 {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.9;
}

.badge-desconto {
    display: inline-block;
    background: #fff;
    color: #006837;
    font-weight: 700;
    font-size: 15px;
    border-radius: 24px;
    padding: 6px 18px;
    margin-top: 16px;
    letter-spacing: 0.5px;
}

/* ── Body ── */
.body {
    padding: 36px 40px;
}

.section-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #006837;
    margin-bottom: 16px;
    border-bottom: 2px solid #e8f5ee;
    padding-bottom: 6px;
}

/* ── Pricing Table ── */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
    font-size: 14px;
}

.pricing-table thead tr {
    background: #006837;
    color: #fff;
}

.pricing-table thead th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.pricing-table tbody tr:nth-child(even) {
    background: #f0faf4;
}

.pricing-table tbody tr:nth-child(odd) {
    background: #fff;
}

.pricing-table tbody td {
    padding: 13px 16px;
    border-bottom: 1px solid #e4ede8;
    vertical-align: middle;
}

.pricing-table tbody td:first-child {
    font-weight: 600;
    color: #333;
}

.price-ref {
    color: #555;
}

.price-cliente {
    color: #006837;
    font-weight: 700;
}

.desconto-tag {
    display: inline-block;
    background: #e8f5ee;
    color: #006837;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    padding: 2px 8px;
    margin-left: 6px;
}

/* ── Nota ── */
.nota {
    background: #f8f9fa;
    border-left: 4px solid #006837;
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    font-size: 13px;
    color: #555;
    margin-bottom: 28px;
    line-height: 1.6;
}

.nota strong {
    color: #333;
}

/* ── Condição ── */
.condicion {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 13px;
    color: #5d4037;
    margin-bottom: 32px;
    line-height: 1.6;
}

.condicion::before {
    content: "⚠️  ";
}

/* ── Signature Block ── */
.signature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}

.sig-box {
    border: 1px solid #dde3e8;
    border-radius: 8px;
    padding: 16px 20px;
}

.sig-box .sig-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 8px;
}

.sig-box .sig-value {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.sig-box .sig-sub {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.sig-box .sig-line {
    border-bottom: 1px dashed #bbb;
    height: 36px;
    margin-top: 8px;
}

/* ── Campaign Info ── */
.campaign-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.campaign-pill {
    background: #e8f5ee;
    border-radius: 20px;
    padding: 7px 16px;
    font-size: 13px;
    color: #006837;
}

.campaign-pill span {
    font-weight: 700;
}

/* ── Legal ── */
.legal {
    font-size: 11.5px;
    color: #888;
    line-height: 1.7;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-bottom: 0;
}

/* ── Footer ── */
.footer {
    background: #006837;
    color: #fff;
    padding: 22px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer .phone {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer .phone-desc {
    font-size: 13px;
    opacity: 0.85;
}

.footer .contacts {
    margin-left: auto;
    font-size: 12px;
    opacity: 0.85;
    text-align: right;
    line-height: 1.8;
}

.footer .contacts a {
    color: #a8e6c1;
    text-decoration: none;
}

@media (max-width: 560px) {

    .header,
    .body {
        padding: 24px 20px;
    }

    .signature-block {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 20px;
        flex-direction: column;
    }

    .footer .contacts {
        margin-left: 0;
        text-align: left;
    }
}