/* Pop-up de aviso — segue o visual do site (Poppins, azul #00699b, botões quadrados com sombra) */
.ap-popup[hidden] { display: none; }
.ap-popup {
    position: fixed;
    inset: 0;
    z-index: 9990; /* acima do header e do WhatsApp fixo, abaixo do banner de cookies */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(26, 25, 25, 0.65);
    overflow-y: auto;
}
html.ap-popup-open, html.ap-popup-open body { overflow: hidden; }

.ap-popup__box {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: auto;
    padding: 40px 32px 32px;
    background: #fff;
    color: #3d3a3b;
    text-align: center;
    box-shadow: 6px 6px rgba(0, 0, 0, 0.15);
    border-top: 5px solid #00699b;
    outline: none;
}
.ap-popup__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1a1919;
    cursor: pointer;
}
.ap-popup__close:hover { color: #00699b; }
.ap-popup__icon { color: #00699b; margin-bottom: 8px; }
.ap-popup__title {
    margin: 0 0 18px;
    font-size: 1.25rem;
    line-height: 1.3;
    text-transform: uppercase;
    color: #00699b;
}
.ap-popup__lead {
    margin: 0 0 8px;
    font-weight: 700;
    color: #1a1919;
}
.ap-popup__text {
    margin: 0 0 24px;
    font-size: 0.9375rem;
    line-height: 1.6;
}
.ap-popup__phone {
    margin-bottom: 20px;
    padding: 16px;
    background: #f4f2f1;
}
.ap-popup__phone-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.8125rem;
}
.ap-popup__copy {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border: 0;
    background: transparent;
    color: #1a1919;
    font-size: 1.5rem;
    cursor: pointer;
}
.ap-popup__copy strong { font-weight: 700; font-size: inherit; }
.ap-popup__copy svg { color: #00699b; flex: none; }
.ap-popup__copy:hover strong { color: #00699b; }
.ap-popup__feedback {
    display: block;
    min-height: 1.3em;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #00699b;
}
.ap-popup__cta {
    display: block;
    padding: 14px 16px;
    background: #00699b;
    border: 1px solid #00699b;
    box-shadow: 4px 4px rgba(0, 0, 0, 0.1);
    color: #fff;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
}
.ap-popup__cta:hover { filter: brightness(1.1); }
.ap-popup__close:focus-visible,
.ap-popup__copy:focus-visible,
.ap-popup__cta:focus-visible {
    outline: 3px solid #1a1919;
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .ap-popup { padding: 12px; }
    .ap-popup__box { padding: 36px 20px 24px; }
    .ap-popup__title { font-size: 1.0625rem; }
    .ap-popup__copy { font-size: 1.375rem; }
    .ap-popup__cta { padding: 16px; }
}
