/* ===================================================================
   Ação Solidária — Landing pública
   Mobile-first, paleta verde + roxo + bege
   =================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --color-primary: #2F7D32;
    --color-primary-dark: #1F5023;
    --color-primary-light: #4A9B4D;
    --color-secondary: #6B2D8E;
    --color-secondary-dark: #501F70;
    --color-cream: #F1E7C2;
    --color-cream-dark: #E8D9A4;
    --color-text: #173224;
    --color-text-light: #4A6051;
    --color-text-mute: #6E7E73;
    --color-bg: #FFFFFF;
    --color-bg-alt: #FAF7EE;
    --color-border: #E8E2D0;
    --color-error: #B42318;

    --shadow-sm: 0 1px 3px rgba(23, 50, 36, 0.08);
    --shadow-md: 0 4px 12px rgba(23, 50, 36, 0.12);
    --shadow-lg: 0 12px 30px rgba(23, 50, 36, 0.16);

    --container-w: 1140px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* Reduzir movimento para usuários com a11y configurada (epilepsia, vestibular) */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Previne scroll horizontal acidental em mobile */
    overflow-x: hidden;
    min-width: 320px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }

/* iOS não dá zoom automático em campo focado se fonte >= 16px */
input, textarea, select, button { font-size: 16px; font-family: inherit; }

/* Foco visível pelo teclado — essencial p/ a11y. :focus-visible só
   aparece quando o foco veio do teclado, não de clique do mouse. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip link — atalho de teclado pra pular pro conteúdo principal */
.skip-link {
    position: absolute;
    top: -40px;
    left: 8px;
    padding: 8px 16px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    z-index: 9999;
    text-decoration: none;
}
.skip-link:focus {
    top: 8px;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 16px;
}

/* ============================================================
   HERO VSL — split layout (texto + vídeo) — mobile-first
   ============================================================ */
.hero-vsl {
    position: relative;
    background: linear-gradient(180deg, var(--color-primary-dark) 0%, #1a4319 100%);
    color: #fff;
    overflow: hidden;
    padding: 24px 0 32px;
}

.hero-vsl-logo {
    position: absolute;
    z-index: 5;
    width: 70px;
    height: auto;
    top: 14px;
    left: 16px;
}
.hero-vsl-logo[data-pos="top-right"] { left: auto; right: 16px; }
.hero-vsl-logo[data-pos="top-center"] { left: 50%; transform: translateX(-50%); }

.hero-vsl-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.hero-vsl-text {
    display: flex;
    flex-direction: column;
}

/* Eyebrow badge */
.hero-vsl-eyebrow {
    background: rgba(250, 199, 117, 0.18);
    border: 1px solid rgba(250, 199, 117, 0.4);
    color: #FAEEDA;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    width: fit-content;
    margin-bottom: 14px;
    line-height: 1.3;
}
.hero-vsl-eyebrow-icon {
    font-size: 14px;
    line-height: 1;
}

/* Título e subtítulo */
.hero-vsl-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 10px;
    color: #fff;
}
.hero-vsl-subtitle {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 16px;
    color: var(--color-cream);
}

/* Mídia mobile (default — antes do CTA) */
.hero-vsl-media-mobile {
    margin: 0 0 16px;
}
.hero-vsl-media-desktop {
    display: none;
}

/* Container do vídeo (YouTube/Vimeo/MP4) — mantém aspect ratio 16:9 ou 9:16 */
.hero-vsl-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    max-height: 480px;
    margin: 0 auto;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-vsl-video-wrap iframe,
.hero-vsl-video-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

/* VTurb — o player próprio dele controla layout */
.hero-vsl-vturb {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}
.hero-vsl-vturb > div,
.hero-vsl-vturb vturb-smartplayer {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

/* Imagem fallback */
.hero-vsl-fallback-img {
    width: 100%;
    max-width: 360px;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    display: block;
}

/* CTA */
.hero-vsl-cta {
    width: 100%;
    background: var(--color-cream);
    color: var(--color-primary-dark);
    border: none;
    font-weight: 700;
    font-size: 16px;
    padding: 15px 18px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    min-height: 50px;
    text-decoration: none !important;
    transition: transform 0.15s ease, background 0.15s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.hero-vsl-cta:hover {
    background: #FFE9B5;
    transform: translateY(-1px);
    color: var(--color-primary-dark);
}
.hero-vsl-cta-arrow {
    font-size: 18px;
    line-height: 1;
}

.hero-vsl-sub-cta {
    text-align: center;
    color: #C0DD97;
    font-size: 12px;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Trust stats */
.hero-vsl-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    border-top: 1px solid rgba(241, 231, 194, 0.2);
    padding-top: 14px;
    margin-top: 4px;
}
.hero-vsl-stat {
    text-align: center;
    padding: 0 4px;
}
.hero-vsl-stat + .hero-vsl-stat {
    border-left: 1px solid rgba(241, 231, 194, 0.2);
}
.hero-vsl-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-cream);
    line-height: 1;
}
.hero-vsl-stat-label {
    font-size: 10px;
    color: #C0DD97;
    margin-top: 4px;
    line-height: 1.3;
}

/* ============== Desktop (>= 900px) ============== */
@media (min-width: 900px) {
    .hero-vsl {
        padding: 48px 0 56px;
    }
    .hero-vsl-logo {
        width: 100px;
        top: 24px;
        left: 32px;
    }
    .hero-vsl-container {
        flex-direction: row;
        align-items: center;
        gap: 48px;
        padding: 0 32px;
    }
    .hero-vsl-text {
        flex: 1.1;
    }
    .hero-vsl-media-mobile {
        display: none;
    }
    .hero-vsl-media-desktop {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        min-width: 320px;
    }
    .hero-vsl-title {
        font-size: 38px;
        line-height: 1.15;
        margin-bottom: 14px;
    }
    .hero-vsl-subtitle {
        font-size: 17px;
        margin-bottom: 24px;
    }
    .hero-vsl-eyebrow {
        font-size: 13px;
        padding: 6px 14px;
    }
    .hero-vsl-cta {
        width: auto;
        align-self: flex-start;
        padding: 14px 28px;
        font-size: 15px;
    }
    .hero-vsl-sub-cta {
        justify-content: flex-start;
        text-align: left;
        font-size: 13px;
    }
    .hero-vsl-stats {
        max-width: 480px;
    }
    .hero-vsl-stat-value {
        font-size: 22px;
    }
    .hero-vsl-stat-label {
        font-size: 12px;
    }
    .hero-vsl-vturb,
    .hero-vsl-video-wrap {
        max-width: 320px;
        max-height: 560px;
    }
}

/* ============================================================
   VIDEO
   ============================================================ */
.video-section {
    background: var(--color-cream);
    padding: 32px 0 40px;
    text-align: center;
}

.video-section .pre-text {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 18px;
    padding: 0 12px;
}

.video-wrap {
    max-width: 740px;
    margin: 0 auto 24px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #000;
    position: relative;
    aspect-ratio: 16/9;
}

.video-wrap iframe,
.video-wrap video,
.video-wrap > div {
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

.cta-button {
    display: inline-block;
    background: var(--color-primary);
    color: #FFFFFF !important;
    padding: 16px 40px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.18s;
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none !important;
    animation: pulse 2.4s ease-in-out infinite;
}
.cta-button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.cta-button:active { transform: translateY(0); }

@keyframes pulse {
    0%, 100% { box-shadow: var(--shadow-md), 0 0 0 0 rgba(47, 125, 50, 0.5); }
    50%      { box-shadow: var(--shadow-md), 0 0 0 14px rgba(47, 125, 50, 0); }
}

@media (min-width: 768px) {
    .video-section { padding: 48px 0 56px; }
    .video-section .pre-text { font-size: 21px; }
    .cta-button { padding: 18px 56px; font-size: 20px; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section {
    background: var(--color-bg);
    padding: 40px 0 48px;
}

.about-grid {
    display: grid;
    gap: 24px;
}

.about-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-primary-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
    .about-section { padding: 64px 0 72px; }
    .about-grid {
        grid-template-columns: 1.4fr 1fr;
        gap: 40px;
        align-items: center;
    }
    .about-title { font-size: 36px; }
    .about-text p { font-size: 17px; }
}

/* ============================================================
   CHECKOUT (CARDS DE DOAÇÃO)
   ============================================================ */
.checkout-section {
    background: var(--color-cream);
    padding: 48px 0;
}

.checkout-header {
    text-align: center;
    margin-bottom: 32px;
}
.checkout-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-primary-dark);
    line-height: 1.2;
    margin-bottom: 12px;
}
.checkout-subtitle {
    font-size: 16px;
    color: var(--color-text);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.card-donation {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: all 0.2s;
    position: relative;
}
.card-donation:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.card-donation.featured {
    border-color: var(--color-secondary);
}
.card-donation.featured::before {
    content: "⭐ MAIS POPULAR";
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--color-secondary);
    color: #FFFFFF;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
}

.card-image {
    aspect-ratio: 4/3;
    background: var(--color-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 18px;
    box-sizing: border-box;
}
.card-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.card-image-placeholder {
    font-size: 56px;
    opacity: 0.5;
}

.card-body {
    padding: 18px 20px 22px;
    text-align: center;
}
.card-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: 4px;
}
.card-description {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 14px;
    min-height: 36px;
}
.card-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 14px;
}
.card-btn {
    display: block;
    width: 100%;
    background: var(--color-primary);
    color: #FFFFFF;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: background 0.15s;
    font-family: inherit;
}
.card-btn:hover { background: var(--color-primary-dark); }

.checkout-extra {
    text-align: center;
    margin-top: 28px;
    color: var(--color-text-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
    font-style: italic;
}

@media (min-width: 600px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (min-width: 900px) {
    .cards-grid { grid-template-columns: repeat(3, 1fr); }
    .checkout-section { padding: 64px 0; }
    .checkout-title { font-size: 36px; }
    .checkout-subtitle { font-size: 18px; }
}

/* ============================================================
   SHELTERS (ABRIGOS)
   ============================================================ */
.shelters-section {
    background: var(--color-bg);
    padding: 48px 0;
}

.shelters-header {
    text-align: center;
    margin-bottom: 36px;
}
.shelters-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-primary-dark);
    line-height: 1.2;
    margin-bottom: 14px;
}
.shelters-quote {
    font-size: 15px;
    font-style: italic;
    color: var(--color-text);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.6;
}

.shelter-item {
    background: var(--color-bg-alt);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.shelter-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: 10px;
}

.shelter-description {
    font-size: 15px;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.6;
}

.shelter-photos {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
}
.shelter-photos::-webkit-scrollbar { height: 6px; }
.shelter-photos::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }

.shelter-photo {
    flex: 0 0 200px;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    scroll-snap-align: start;
}
.shelter-photo img { width: 100%; height: 100%; object-fit: cover; }

.shelters-cta {
    text-align: center;
    margin-top: 32px;
}

@media (min-width: 768px) {
    .shelters-section { padding: 72px 0; }
    .shelters-title { font-size: 36px; }
    .shelters-quote { font-size: 18px; }
    .shelter-item { padding: 28px; margin-bottom: 32px; }
    .shelter-name { font-size: 26px; }
    .shelter-photo { flex: 0 0 280px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 36px 0 80px; /* extra bottom pra não encostar no botão fixo mobile */
}

.footer a { color: #FFFFFF; }
.footer a:hover { color: var(--color-cream); }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.footer-brand h3 {
    font-size: 20px;
    color: #FFFFFF;
    margin-bottom: 8px;
    font-weight: 700;
}

.footer-brand p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li { margin-bottom: 6px; }
.footer-links a { font-size: 14px; }

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}
.footer-socials a {
    width: 36px; height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.footer-socials a:hover { background: rgba(255, 255, 255, 0.2); }
.footer-socials svg { width: 18px; height: 18px; fill: #FFFFFF; }

.footer-map {
    border-radius: 8px;
    overflow: hidden;
    margin-top: 12px;
}
.footer-map iframe { width: 100%; height: 180px; border: 0; display: block; }

.footer-bottom {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

@media (min-width: 768px) {
    .footer { padding: 56px 0 32px; }
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.4fr;
        gap: 40px;
    }
    .footer-bottom { text-align: left; }
}

/* ============================================================
   BOTÃO FIXO MOBILE
   ============================================================ */
/* Quando o botão fixo mobile está ativo, adicionamos padding-bottom no
   <body> para que o último card / footer não fiquem cobertos pelo botão.
   A class .has-mobile-btn é adicionada via PHP quando o setting está
   habilitado. Acima de 768px o botão fica oculto, então removemos. */
body.has-mobile-btn { padding-bottom: 80px; }

@media (min-width: 768px) {
    body.has-mobile-btn { padding-bottom: 0; }
    .mobile-fixed-btn { display: none; }
}

.mobile-fixed-btn {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 100;
    background: var(--color-primary);
    color: #FFFFFF !important;
    text-align: center;
    padding: 14px 20px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-lg);
    text-decoration: none !important;
    display: block;
    transition: background 0.15s, transform 0.1s;
}
.mobile-fixed-btn:hover {
    background: var(--color-primary-dark);
    color: #FFFFFF !important;
}
.mobile-fixed-btn:active { transform: translateY(2px); }

@media (min-width: 768px) {
    .mobile-fixed-btn { display: none; }
}

/* ============================================================
   NOTIFICAÇÕES FAKE
   ============================================================ */
.fake-notify {
    position: fixed;
    bottom: 90px;
    left: 16px;
    right: auto;
    z-index: 99;
    background: #FFFFFF;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 320px;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    border: 1px solid var(--color-border);
}
.fake-notify.show {
    transform: translateY(0);
    opacity: 1;
}

.fake-notify-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--color-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark);
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.fake-notify-content { flex: 1; min-width: 0; }
.fake-notify-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2px;
}
.fake-notify-action {
    font-size: 11px;
    color: var(--color-text-light);
}
.fake-notify-amount {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
}

/* Canvas de confete sobreposto à viewport quando notify aparece */
.fake-notify-confetti {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
}

@media (min-width: 768px) {
    .fake-notify { bottom: 24px; left: 24px; }
}

/* ============================================================
   UTIL: visualmente escondido (acessibilidade)
   ============================================================ */
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   MODAL PIX
   ============================================================ */
.pix-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(23, 50, 36, 0.75);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.pix-modal-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.pix-modal {
    background: #FFFFFF;
    border-radius: 16px;
    width: 100%;
    max-width: 460px;
    max-height: 92vh;
    overflow-y: auto;
    transform: scale(0.96);
    transition: transform 0.25s;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.pix-modal-backdrop.show .pix-modal { transform: scale(1); }

.pix-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.05);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    color: var(--color-text-light);
    z-index: 2;
    line-height: 1;
}
.pix-modal-close:hover { background: rgba(0,0,0,0.1); }

.pix-modal-header {
    background: var(--color-primary);
    color: #FFFFFF;
    padding: 20px 24px;
    border-radius: 16px 16px 0 0;
    text-align: center;
}
.pix-modal-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}
.pix-modal-header p {
    font-size: 14px;
    opacity: 0.9;
}

.pix-modal-body {
    padding: 24px;
}

.pix-amount {
    text-align: center;
    margin-bottom: 18px;
}
.pix-amount-label {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 4px;
}
.pix-amount-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-primary-dark);
}

.pix-qr-wrap {
    background: #FFFFFF;
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    padding: 16px;
    margin: 0 auto 18px;
    width: fit-content;
}
.pix-qr-wrap img,
.pix-qr-wrap svg {
    display: block;
    max-width: 220px;
    width: 100%;
    height: auto;
}

.pix-instructions {
    background: var(--color-bg-alt);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text);
}
.pix-instructions ol {
    margin-left: 18px;
}
.pix-instructions li { margin-bottom: 4px; }

.pix-copy {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.pix-copy input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: ui-monospace, monospace;
    font-size: 11px;
    color: var(--color-text);
    background: var(--color-bg-alt);
}
.pix-copy button {
    background: var(--color-primary);
    color: #FFFFFF;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
.pix-copy button:hover { background: var(--color-primary-dark); }
.pix-copy button.copied { background: var(--color-secondary); }

.pix-status {
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(197, 134, 56, 0.1);
    color: #C58638;
}
.pix-status.paid {
    background: rgba(47, 125, 50, 0.1);
    color: var(--color-primary);
}
.pix-status.expired {
    background: rgba(180, 35, 24, 0.1);
    color: var(--color-error);
}
.pix-status .spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: pix-spin 0.8s linear infinite;
    vertical-align: -2px;
    margin-right: 6px;
}
@keyframes pix-spin {
    to { transform: rotate(360deg); }
}

.pix-loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--color-text-light);
}

.pix-error {
    text-align: center;
    padding: 32px 20px;
    color: var(--color-error);
}

@media (min-width: 480px) {
    .pix-amount-value { font-size: 36px; }
    .pix-qr-wrap img { max-width: 260px; }
}
