:root {
    --bg: #ffffff;
    --bg-alt: #f7f3ec;
    --cream: #f5f1e8;
    --text: #1a1a1a;
    --muted: #4b5563;
    --brown: #4a2c22;
    --brown-mid: #6b4534;
    --brown-soft: #f3ebe3;
    --terracotta: #c4784a;
    --maroon: #4a2c22; /* identidade: marrom (não vinho) */
    --maroon-soft: #f3ebe3;
    --gold: #f0b429;
    --gold-deep: #e09b1b;
    --green: #16a34a;
    --pix: #1faa59;
    --pix-dark: #148a45;
    --line: #e8e0d6;
    --shadow: 0 10px 30px rgba(74, 44, 34, 0.1);
    --radius: 18px;
    --topbar-h: 72px;
    --sticky-h: 72px;
    --font: "DM Sans", system-ui, sans-serif;
    --display: "Nunito", "DM Sans", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
    padding-bottom: 16px;
}

body.sticky-on {
    padding-bottom: calc(var(--sticky-h) + 12px);
}

img { max-width: 100%; display: block; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }

.icon-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brown);
    cursor: pointer;
}

.icon-btn:hover { background: rgba(0,0,0,0.05); }

/* Topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--topbar-h);
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.topbar-logo {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-logo img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 50%;
}

.share-btn { color: var(--maroon); }

/* Side nav */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 50;
}

.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: min(86vw, 320px);
    height: 100%;
    background: #fff;
    z-index: 60;
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}

.side-nav.open { transform: translateX(0); }

.side-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 16px;
    border-bottom: 1px solid var(--line);
}

.side-nav-brand {
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 800;
}

.side-nav-brand strong { color: var(--brown); }
.side-nav-brand span { color: var(--terracotta); }

.side-nav-links {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    overflow: auto;
}

.side-nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid #f1f1f1;
    color: #374151;
    font-weight: 500;
}

.side-nav-links a:hover { color: var(--maroon); background: var(--maroon-soft); }

.nav-ico {
    width: 22px;
    text-align: center;
    color: var(--maroon);
    font-size: 0.95rem;
}

.side-nav-foot {
    margin-top: auto;
    padding: 16px 18px 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.85rem;
}

.side-nav-foot strong { color: var(--maroon); }

/* Hero */
.hero {
    padding: 18px 18px 16px;
    max-width: 720px;
    margin: 0 auto;
}

.hero h1 {
    font-family: var(--display);
    font-size: clamp(1.25rem, 4.4vw, 1.75rem);
    font-weight: 900;
    line-height: 1.25;
    color: var(--brown);
    margin-bottom: 18px;
    text-align: center;
}

.hero-sub {
    color: var(--maroon);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 18px;
}

.vsl-wrap {
    border-radius: 14px;
    overflow: hidden;
    background: #111;
    margin-bottom: 16px;
    aspect-ratio: 16 / 9;
}

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

/* Buttons */
.btn-gold {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 18px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(180deg, #f7c44a, var(--gold-deep));
    color: #1a1a1a;
    font-family: var(--display);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(224, 155, 27, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-gold:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(224, 155, 27, 0.42);
}

.btn-gold .heart { color: var(--maroon); }

.cta-stack {
    display: grid;
    gap: 10px;
    width: 100%;
    max-width: 420px;
    margin: 16px auto 0;
}

.btn-mensal {
    position: relative;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 18px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(180deg, #d18454, #9a4e2c);
    color: #fff;
    font-family: var(--display);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(154, 78, 44, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-mensal:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(154, 78, 44, 0.42);
}

.btn-mensal .cta-ico { font-size: 1.05rem; }

.cta-badge {
    position: absolute;
    top: -10px;
    right: 14px;
    background: #fff;
    color: var(--brown);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(74, 44, 34, 0.16);
}

.cta-pulse {
    animation: gentlePulse 2.4s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.trust-line {
    margin-top: 12px;
    text-align: center;
    color: var(--muted);
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.shield { color: var(--green); }
.dot-ok {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    display: inline-block;
}

/* Progress */
.progress-block {
    max-width: 720px;
    margin: 4px auto 0;
    padding: 4px 18px 12px;
}

.progress-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 10px;
}

.progress-pct { color: var(--maroon); font-size: 0.95rem; }

.progress-goal {
    text-align: right;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.progress-goal strong { font-size: 1.05rem; }
.progress-goal span { font-size: 0.78rem; color: var(--muted); }

.progress-track {
    height: 10px;
    background: #ececec;
    border-radius: 999px;
    overflow: hidden;
}

.progress-track.thin { height: 7px; }

.progress-fill {
    height: 100%;
    width: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f0b429, #e07a2f);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.8s ease;
    will-change: transform;
}


/* Sections */
.section {
    max-width: 720px;
    margin: 0 auto;
    padding: 18px 18px;
}

.section-alt { background: var(--bg-alt); max-width: none; }
.section-alt > * { max-width: 720px; margin-left: auto; margin-right: auto; }

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.section-title h2 {
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brown);
}

.section-ico {
    color: var(--maroon);
    font-size: 1.1rem;
}

.section-ico.pix-diamond { color: var(--pix); }
.faq-ico {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--maroon);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.section-lead {
    color: var(--muted);
    margin: -4px 0 12px;
}

.prose p { margin-bottom: 14px; color: #374151; }
.prose .accent { color: var(--maroon); font-weight: 700; }

.callout {
    background: #fff8ec;
    border-left: 4px solid var(--gold);
    border-radius: 0 14px 14px 0;
    padding: 14px 16px;
    color: var(--maroon);
    margin: 18px 0 8px;
}

/* Carousel */
.carousel { margin-bottom: 18px; }

.carousel-viewport {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
    aspect-ratio: 4 / 3;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

.carousel-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.35s ease;
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    margin: 0;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 2;
}

.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }

.carousel-counter {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-top: 8px;
}

.carousel-dots button {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: grid;
    place-items: center;
}

.carousel-dots button::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
}

.carousel-dots button.active::after { background: var(--maroon); }

/* Banner */
.banner-block {
    margin: 14px 0 10px;
    border-radius: 16px;
    overflow: hidden;
}

.banner-block img { width: 100%; height: auto; }

.banner-final {
    max-width: 720px;
    margin: 6px auto 12px;
    padding: 0 18px;
}

.banner-final img { border-radius: 16px; }

/* PIX */
.pix-box {
    background: var(--pix);
    color: #fff;
    border-radius: 20px;
    padding: 22px 18px 20px;
    box-shadow: var(--shadow);
}

.pix-box-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.pix-box-logo img {
    width: min(52%, 160px);
    height: auto;
    display: block;
    mix-blend-mode: screen;
}

.pix-key-row {
    display: flex;
    gap: 8px;
    background: rgba(255,255,255,0.16);
    border-radius: 12px;
    padding: 8px;
    align-items: center;
}

.pix-key {
    flex: 1;
    min-width: 0;
    font-size: 0.95rem;
    color: #fff;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
    line-height: 1.35;
    padding: 4px 6px;
}

.pix-copy {
    border: none;
    background: var(--pix-dark);
    color: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.pix-receiver { margin: 14px 0 0; font-size: 1rem; text-align: center; }

/* Impact */
.impact-list {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.impact-card {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 14px;
}

.impact-card.bad { background: #f3f4f6; }
.impact-card.good { background: #ecfdf3; }

.impact-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
}

.impact-card.bad .impact-badge { background: var(--maroon); }
.impact-card.good .impact-badge { background: var(--green); }

.impact-close { margin-bottom: 16px; }

/* Resgates */
.rescue-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.rescue-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.rescue-card > div:last-child { padding: 8px 8px 10px; text-align: center; }
.rescue-card h3 {
    font-family: var(--display);
    font-size: 0.98rem;
    margin: 0;
    color: var(--brown);
}

.rescue-carousel { margin-bottom: 0; }
.rescue-carousel .carousel-viewport {
    border-radius: 0;
    aspect-ratio: 1 / 1;
}
.rescue-carousel .carousel-dots { margin: 8px 0 0; }
.rescue-carousel .carousel-arrow {
    width: 28px;
    height: 28px;
    font-size: 1.1rem;
}
.rescue-carousel .carousel-counter {
    font-size: 0.68rem;
    padding: 3px 7px;
}

/* FAQ */
.faq-list { display: grid; gap: 10px; }

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: none;
    background: transparent;
    color: var(--maroon);
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.faq-toggle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--maroon);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.faq-answer {
    display: none;
    padding: 0 16px 14px;
    color: #4b5563;
    font-size: 0.95rem;
}

.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }

/* Comunidade */
.community-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #fff 0%, #f3ebe3 100%);
    border-radius: 22px;
    padding: 22px 18px 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(74, 44, 34, 0.08);
}

.community-card::before {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.12);
    top: -40px;
    right: -30px;
}

.community-top {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}

.community-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: #25d366;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.35);
}

.community-icon svg { width: 30px; height: 30px; fill: #fff; }

.community-card h3 {
    font-family: var(--display);
    font-size: 1.15rem;
    color: var(--brown);
    margin-bottom: 6px;
}

.community-card p {
    margin: 0;
    color: #4b5563;
    font-size: 0.95rem;
}

.community-benefits {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.community-benefits span {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.75);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.88rem;
    color: var(--brown);
    font-weight: 600;
}

.btn-whatsapp {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp svg { width: 22px; height: 22px; fill: #fff; }

/* Social compact */
.social-compact .social-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #fff;
    color: var(--brown);
    font-weight: 600;
    border: 1px solid rgba(74, 44, 34, 0.1);
    box-shadow: 0 10px 20px rgba(74, 44, 34, 0.06);
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(74, 44, 34, 0.12);
}

.si {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    flex-shrink: 0;
    display: inline-flex;
    overflow: hidden;
}

.si svg {
    width: 24px;
    height: 24px;
    display: block;
}

/* Saiba mais / Transparência */
.about-trust {
    background:
        linear-gradient(160deg, #fff 0%, #f7f1e8 100%);
    border: 1px solid rgba(74, 44, 34, 0.1);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.about-trust::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    right: -50px;
    top: -50px;
    background: rgba(196, 120, 74, 0.12);
    pointer-events: none;
}

.about-trust-copy {
    position: relative;
    z-index: 1;
    color: #4b5563;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.trust-chips {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.trust-chips span {
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(74, 44, 34, 0.08);
    color: var(--brown);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 7px 10px;
    border-radius: 999px;
}

.trust-details {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.trust-details > div {
    background: rgba(255,255,255,0.72);
    border-radius: 14px;
    padding: 12px 14px;
}

.trust-details small {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    margin-bottom: 3px;
}

.trust-details strong {
    color: var(--brown);
    font-size: 0.95rem;
    word-break: break-word;
}

.btn-doc {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 12px;
    align-items: center;
    text-align: left;
    border: none;
    border-radius: 16px;
    padding: 12px 14px;
    background: var(--brown);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(74, 44, 34, 0.22);
    transition: transform 0.15s ease, background 0.15s ease;
}

.btn-doc:hover {
    background: #5c382c;
    transform: translateY(-1px);
}

.btn-doc-ico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.btn-doc-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.btn-doc-text strong {
    font-size: 0.95rem;
    font-weight: 800;
}

.btn-doc-text em {
    font-style: normal;
    font-size: 0.75rem;
    opacity: 0.82;
}

.btn-doc-arrow {
    font-size: 1.2rem;
    font-weight: 700;
    opacity: 0.9;
}

.btn-outline {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--brown);
    background: #fff;
    color: var(--brown);
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.modal.lightbox,
.lightbox {
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: rgba(20, 12, 8, 0.9);
}

.modal.lightbox .lightbox-card,
.lightbox-card {
    position: relative;
    width: min(100%, 980px);
    max-height: min(96vh, 100%);
    overflow: auto;
    background: #111;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.45);
    margin: auto;
    animation: none;
}

.lightbox-card img {
    width: 100%;
    height: auto;
    max-height: 92vh;
    object-fit: contain;
    display: block;
    background: #fff;
}

.lightbox-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
    background: #171411;
    color: #d6d3d1;
    padding: 22px 18px 14px;
}

body.sticky-on .footer {
    padding-bottom: 14px;
}

.footer-cols {
    max-width: 720px;
    margin: 0 auto 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.footer-cols h4,
.footer-col-title {
    color: #e8b86d;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    font-weight: 700;
}

.footer-cols a {
    display: block;
    color: #d6d3d1;
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-cols a:hover { color: #fff; }

.footer-bottom {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 12px;
    font-size: 0.82rem;
    color: #d6d3d1;
}

.footer-bottom a { color: #f5f5f4; text-decoration: underline; text-underline-offset: 2px; }
.footer-legal-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 10px 0;
}

.footer-legal-btn {
    background: none;
    border: none;
    color: #d6d3d1;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.82rem;
}

.copy { margin-top: 8px; }

/* Sticky */
.sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px rgba(74, 44, 34, 0.08);
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.sticky-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.sticky-donate {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    border-radius: 14px;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(74, 44, 34, 0.45);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 80;
    padding: 16px;
}

.modal[hidden] { display: none !important; }

.modal-card {
    width: min(100%, 440px);
    background: #fff;
    border-radius: 22px 22px 18px 18px;
    padding: 18px 16px 16px;
    max-height: 92vh;
    overflow: auto;
    position: relative;
    animation: slideUp 0.25s ease;
}

@keyframes slideUp {
    from { transform: translateY(24px); opacity: 0.6; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-top {
    display: grid;
    grid-template-columns: 36px 1fr 36px;
    align-items: center;
    margin-bottom: 14px;
}

.modal-top h3 {
    text-align: center;
    font-family: var(--display);
    font-size: 1.05rem;
    color: var(--brown);
}

.modal-heart {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brown-soft);
    color: var(--terracotta);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modal-back {
    border: none;
    background: transparent;
    color: var(--brown);
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    padding: 0;
}

.donation-step[hidden] { display: none !important; }

.donation-tabs {
    display: flex;
    gap: 6px;
    background: var(--brown-soft);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 10px;
}

.donation-tabs[hidden] {
    display: none !important;
}

.donation-tab {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--brown-mid);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 8px;
    border-radius: 10px;
    cursor: pointer;
}

.donation-tab.active {
    background: var(--brown);
    color: #fff;
}

.donation-type {
    background: var(--brown);
    color: #fff;
    text-align: center;
    font-weight: 700;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 14px;
}

.donation-type-mensal {
    background: linear-gradient(90deg, #c4784a 0%, #4a2c22 100%);
}

.donation-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.donation-option {
    position: relative;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    padding: 14px 8px;
    font-weight: 700;
    color: var(--brown);
    cursor: pointer;
}

.donation-option.selected,
.donation-option:hover {
    background: var(--brown);
    border-color: var(--brown);
    color: #fff;
}

.donation-option .badge {
    position: absolute;
    top: -8px;
    right: -4px;
    background: var(--gold);
    color: #1a1a1a;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 999px;
}

.custom-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--brown);
    font-size: 0.92rem;
}

.custom-amount {
    display: flex;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
}

.custom-amount span {
    background: var(--brown-soft);
    color: var(--brown);
    font-weight: 800;
    padding: 12px 14px;
}

.custom-amount input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px;
}

.form-field { margin-bottom: 12px; }

.form-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--brown);
    font-size: 0.9rem;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"] {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    outline: none;
}

.form-field input:focus {
    border-color: var(--terracotta);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 14px;
    font-size: 0.9rem;
    color: #374151;
}

.form-check input { width: 16px; height: 16px; accent-color: var(--brown); }

.fee-box {
    background: #ecfdf3;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 14px;
}

.fee-box-top {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.fee-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #dcfce7;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fee-box h4 {
    color: #166534;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.fee-box p {
    color: #166534;
    font-size: 0.82rem;
    opacity: 0.9;
}

.fee-box .form-check {
    margin: 0;
    color: #166534;
    font-weight: 700;
}

.selected-amount-chip {
    text-align: center;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 0.9rem;
}

.selected-amount-chip strong { color: var(--brown); }

.modal-trust { margin-top: 12px; }

.legal-card { align-self: center; max-height: 85vh; width: min(100%, 440px); }

.legal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.legal-head h3 {
    flex: 1;
    min-width: 0;
    text-align: left;
    font-family: var(--display);
    font-size: 1.1rem;
    line-height: 1.25;
    color: var(--brown);
    white-space: normal;
}

.legal-head .icon-btn { flex-shrink: 0; }

.legal-body {
    font-size: 0.9rem;
    color: #374151;
    overflow: auto;
    max-height: 65vh;
    padding-right: 4px;
}
.legal-body h4 { margin: 14px 0 6px; color: var(--brown); }
.legal-body ul { padding-left: 1.1em; margin-bottom: 8px; }

@media (min-width: 768px) {
    .topbar {
        padding: 0 24px;
        max-width: 980px;
        margin: 0 auto;
        width: 100%;
        border-left: 1px solid transparent;
        border-right: 1px solid transparent;
    }

    .hero,
    .progress-block,
    .section,
    .banner-final,
    .footer-cols,
    .footer-bottom {
        max-width: 860px;
    }

    .section-alt > * {
        max-width: 860px;
    }

    .hero h1 {
        font-size: 1.75rem;
        text-align: center;
    }

    .hero-sub {
        font-size: 1.08rem;
        max-width: 640px;
    }

    .vsl-wrap {
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }

    .pix-box,
    .community-card,
    .about-trust {
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }

    .rescue-grid {
        gap: 16px;
        max-width: 720px;
        margin: 0 auto;
    }

    .rescue-card h3 {
        font-size: 1.1rem;
    }

    .btn-gold {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
    }

    .sticky-donate {
        max-width: none;
    }

    .modal { align-items: center; }
    .modal-card { border-radius: 22px; }

    .sticky-bar {
        left: 50%;
        width: min(720px, calc(100% - 24px));
        border-radius: 18px 18px 0 0;
        bottom: 0;
        transform: translate(-50%, 110%);
    }

    .sticky-bar.is-visible {
        transform: translate(-50%, 0);
    }

    .footer-cols {
        gap: 40px;
    }
}

@media (min-width: 1100px) {
    .hero,
    .progress-block,
    .section,
    .banner-final,
    .footer-cols,
    .footer-bottom,
    .section-alt > * {
        max-width: 920px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .cta-pulse,
    .btn-gold.cta-pulse,
    .btn-mensal.cta-pulse { animation: none !important; }
    .progress-fill,
    .carousel-track,
    .side-nav,
    .sticky-bar,
    .modal-card,
    .downsell-modal-content {
        transition: none !important;
        animation: none !important;
    }
}

/* ===== MODAL DOWNSELL ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.downsell-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    backdrop-filter: blur(6px);
    padding: 16px;
}

.downsell-modal.show {
    display: flex;
}

.downsell-modal-content {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
    animation: fadeIn 0.25s ease-out;
}

.downsell-header {
    position: relative;
    background: linear-gradient(90deg, #c4784a 0%, #4a2c22 100%);
    color: #fff;
    text-align: center;
    padding: 16px 48px 16px 20px;
}

.downsell-header h2 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.downsell-close-btn {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.downsell-body {
    padding: 22px 20px 24px;
    text-align: center;
}

.downsell-avatar {
    width: 88px;
    height: 88px;
    margin: 0 auto 14px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #c4784a;
    background-color: #f3ebe3;
    background-image: url('imgs/queme/voaurea2-400.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    flex-shrink: 0;
}

.downsell-body h3 {
    margin: 0 0 8px;
    font-size: 1.35rem;
    color: #4a2c22;
    line-height: 1.25;
}

.downsell-body > p {
    margin: 0 0 16px;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.45;
}

.downsell-banner {
    background: #fdf6ee;
    color: #6b4534;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 12px;
    margin: 0 -20px 18px;
}

.downsell-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.downsell-btn {
    width: 100%;
    min-height: 54px;
    border: 2px solid #c4784a;
    border-radius: 12px;
    background: #fff;
    color: #4a2c22;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.downsell-btn:hover {
    transform: translateY(-1px);
    background: #fdf6ee;
}

.downsell-btn-wrapper {
    position: relative;
}

.downsell-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #111827;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
    z-index: 1;
}

.downsell-btn-highlight {
    background: linear-gradient(180deg, #f7c44a, #e09b1b);
    border-color: #e09b1b;
    color: #4a2c22;
}

.downsell-btn-highlight:hover {
    background: linear-gradient(180deg, #f7c44a, #d49218);
    color: #4a2c22;
}

.downsell-other-value {
    background: none;
    border: none;
    color: #6b7280;
    text-decoration: underline;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 6px;
}

.downsell-other-value:hover {
    color: #c4784a;
}

@media (max-width: 480px) {
    .downsell-modal-content {
        max-width: 100%;
        border-radius: 18px;
    }

    .downsell-body h3 {
        font-size: 1.2rem;
    }

    .downsell-btn {
        min-height: 50px;
        font-size: 1.05rem;
    }
}
