﻿/* ===================== CSS ESPECÍFICO DA PÁGINA DE PUBLICIDADE =====================
   Não altera o que já existe. Tudo escopado em .ad-page
==================================================================================== */
.ad-page {
    position: relative;
    min-height: 100vh;
}

.ad-page__bg {
    position: fixed;
    inset: 0;
    background: #f5f7fb;
    z-index: 0;
}

.ad-card {
    position: relative;
    z-index: 1;
    width: 92%;
    max-width: 820px;
    margin: 0 auto;
    padding: 32px 0;
}

.ad-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.ad-card__title {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    color: #0f172a;
}

.ad-badge {
    background: #ffe082;
    color: #3b2f00;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
}

.ad-notice {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.ad-notice__list {
    margin: 0;
    padding-left: 18px;
    line-height: 1.5;
    color: #1f2937;
}

.ad-form {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.ad-label {
    display: block;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.ad-input,
.ad-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #fff;
    color: #111827;
    box-sizing: border-box;
}

    .ad-input:focus,
    .ad-textarea:focus {
        outline: 3px solid rgba(37, 99, 235, 0.15);
        border-color: #2563eb;
    }

.ad-textarea {
    min-height: 140px;
    resize: vertical;
}

.ad-help {
    color: #6b7280;
}

.ad-consent {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #fff;
    border: 1px dashed #d1d5db;
    padding: 12px;
    border-radius: 12px;
}

.ad-checkbox {
    width: 18px;
    height: 18px;
}

.ad-consent__label {
    color: #111827;
}

.ad-pay {
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    padding: 16px;
    background: #ffffff;
}

.ad-pay__header {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.ad-pay__title {
    font-weight: 800;
    color: #0f172a;
}

.ad-pay__value {
    color: #374151;
}

.ad-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ad-actions--footer {
    margin-top: 4px;
}

.ad-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.04s ease, box-shadow 0.2s ease;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
}

    .ad-btn:active {
        transform: translateY(1px);
    }

.ad-btn--primary {
    background: #111827;
    color: #fff;
}

.ad-btn--ghost {
    background: #fff;
    color: #111827;
    border: 1px solid #d1d5db;
}

.ad-small {
    margin-top: 10px;
    color: #4b5563;
}

.ad-disclaimer {
    color: #6b7280;
    font-size: 0.95rem;
}

/* Responsivo */
@media (max-width: 640px) {
    .ad-pay__grid {
        grid-template-columns: 1fr;
    }
}
