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

:root {
    --primary:      #C96B3B;
    --primary-lt:   #E08A5B;
    --primary-dk:   #A8522A;
    --primary-bg:   #FFF3EC;

    --brown:     #8B6844;
    --brown-lt:  #a07c56;

    --dark:      #2B2118;
    --mid:       #555555;
    --light:     #FFF8F3;
    --white:     #FFFCF8;

    --radius:    20px;
}

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.65;
}

/* ────────────────── NAV ────────────────── */
nav {
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0; 
    z-index: 100;
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    padding: 18px 6%;
    background: rgba(255, 252, 248, .88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    transition: box-shadow .2s;
}

nav.scrolled { 
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08); 
}

.nav-logo { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    text-decoration: none; 
}

.nav-logo img { 
    width: 44px; 
    height: 44px; 
}

.nav-logo span { 
    font-size: 1rem; 
    font-weight: 800; 
    color: var(--primary); 
}

.nav-links { 
    display: flex; 
    gap: 32px; 
    list-style: none; 
    align-items: center; 
}

.nav-links a { 
    font-size: .9rem; 
    font-weight: 600; 
    color: var(--mid); 
    text-decoration: none; 
    transition: color .15s; 
}

.nav-links a:hover { 
    color: var(--primary); 
}

.nav-cta { 
    background: var(--primary); 
    color: #fff; 
    padding: 10px 24px; 
    border-radius: 50px; 
    font-weight: 700; 
    font-size: .88rem; 
    text-decoration: none; 
    transition: opacity .15s; 
}

.nav-cta:hover { 
    opacity: .88; 
}

.nav-hamburger { 
    display: none; 
    flex-direction: column; 
    gap: 5px; 
    cursor: pointer; 
    z-index: 101; 
}

.nav-hamburger span { 
    width: 26px; 
    height: 3px; 
    background: var(--dark); 
    border-radius: 3px; 
    transition: transform 0.3s ease, opacity 0.3s ease; 
}

.mobile-only-cta { 
    display: none; 
}

/* ────────────────── HERO ────────────────── */
.hero {
    min-height: 100vh;
    display: flex; 
    align-items: center; 
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: linear-gradient(
        150deg,
        #E08A5B 0%,
        #C96B3B 55%,
        #A8522A 100%
    );
    position: relative; 
    overflow: hidden;
}

.hero::before {
    content: ''; 
    position: absolute; 
    inset: 0;
    background: radial-gradient(circle at 80% 10%, rgba(255, 255, 255, .1) 0%, transparent 50%),
                radial-gradient(circle at 10% 90%, rgba(255, 255, 255, .07) 0%, transparent 45%);
}

.hero-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.hero-logo-wrap { 
    margin-bottom: 28px; 
    display: flex; 
    justify-content: center; 
}

.hero-logo-png { 
    width: 160px; 
    height: 160px; 
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .18)); 
    border-radius: 50%;
}

.hero-badge {
    display: inline-flex; 
    align-items: center; 
    gap: 8px;
    background: rgba(255, 255, 255, .18); 
    backdrop-filter: blur(8px);
    color: #fff; 
    font-size: .78rem; 
    font-weight: 700; 
    letter-spacing: .12em; 
    text-transform: uppercase;
    padding: 8px 20px; 
    border-radius: 999px; 
    margin-bottom: 32px; 
    border: 1px solid rgba(255, 255, 255, .25);
}

.hero h1 { 
    font-size: clamp(2.6rem, 6.5vw, 4.4rem); 
    font-weight: 900; 
    max-width: 1000px;
    color: #fff; 
    line-height: 1.1; 
    margin-bottom: 24px; 
}

.hero h1 em { 
    font-style: normal; 
    color: #FFE0CF; 
}

.hero p { 
    font-size: clamp(1rem, 2.2vw, 1.2rem); 
    color: rgba(255, 255, 255, .88); 
    max-width: 640px; 
    margin: 0 auto 44px; 
}

.btn-group { 
    display: flex; 
    gap: 14px; 
    justify-content: center; 
    flex-wrap: wrap; 
}

.btn { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    padding: 16px 36px; 
    border-radius: 50px; 
    font-size: 1rem; 
    font-weight: 700; 
    text-decoration: none; 
    transition: transform .15s, box-shadow .15s; 
}

.btn:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 28px rgba(0, 0, 0, .2); 
}

.btn-white { 
    background: #fff; 
    color: var(--primary-dk); 
}

.btn-outline { 
    background: transparent; 
    color: #fff; 
    border: 2px solid rgba(255, 255, 255, .6); 
}

.hero-stats { 
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    margin-top: 72px; 
    padding-top: 48px; 
    border-top: 1px solid rgba(255, 255, 255, .2); 
}

.stat {
    flex: 1; 
    min-width: 140px; 
    padding: 0 24px;
    border-right: 1px solid rgba(255, 255, 255, .18);
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center;
}

.stat:last-child { 
    border-right: none; 
}

.stat strong { 
    font-size: clamp(1.2rem, 2.5vw, 1.85rem); 
    font-weight: 900; 
    color: #fff; 
    white-space: nowrap; 
}

.stat span { 
    font-size: .78rem; 
    color: rgba(255, 255, 255, .7); 
    text-transform: uppercase; 
    letter-spacing: .1em; 
}

/* ────────────────── SECTION HELPERS ────────────────── */
.section { 
    padding: 100px 24px; 
}

.section-inner { 
    max-width: 1320px; 
    margin: 0 auto; 
}

.section-tag { 
    display: block; 
    text-align: center; 
    font-size: .75rem; 
    font-weight: 800; 
    letter-spacing: .16em; 
    text-transform: uppercase; 
    color: var(--primary); 
    margin-bottom: 12px; 
}

.section-title { 
    text-align: center; 
    font-size: clamp(1.8rem, 4vw, 2.8rem); 
    font-weight: 900; 
    line-height: 1.2; 
    margin-bottom: 16px; 
}

.section-sub { 
    text-align: center; 
    font-size: 1.05rem; 
    color: var(--mid); 
    max-width: 520px; 
    margin: 0 auto 64px; 
}

/* ────────────────── CARDS ────────────────── */
.bg-light { 
    background: var(--light); 
}

.cards { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
    gap: 24px; 
}

.card { 
    background: var(--white); 
    border-radius: var(--radius); 
    padding: 36px 28px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, .05); 
    position: relative; 
    overflow: hidden; 
    transition: transform .2s, box-shadow .2s; 
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 16px 40px rgba(0, 0, 0, .1); 
}

.card::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    height: 4px; 
    background: linear-gradient(90deg, var(--primary-lt), var(--primary)); 
}

.card-icon { 
    width: 56px; 
    height: 56px; 
    border-radius: 14px; 
    background: var(--primary-bg); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.7rem; 
    margin-bottom: 20px; 
}

.card h3 { 
    font-size: 1.1rem; 
    font-weight: 800; 
    margin-bottom: 10px; 
}

.card p { 
    font-size: .9rem; 
    color: var(--mid); 
    margin-bottom: 20px; 
    line-height: 1.6; 
}

.card-link { 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
    font-size: .88rem; 
    font-weight: 700; 
    color: var(--primary); 
    text-decoration: none; 
    transition: gap .15s; 
    margin-top: auto
}

.card-link:hover { 
    gap: 10px; 
}

.btn-primary { 
    background: var(--primary); 
    color: #fff; 
    font-size: 1.1rem; 
    padding: 18px 52px; 
    text-decoration: none; 
    display: inline-block; 
    border-radius: 50px; 
}

.btn-primary:hover { 
    background: var(--primary-dk); 
}

/* ────────────────── CONTATO ────────────────── */

.contact-section {
    background: var(--light);
}

.contact-description {
    max-width: 680px;
    margin-top: 16px;
    margin-bottom: 48px;
}

.contact-card {
    background: white;
    border-radius: 28px;
    padding: 42px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.contact-header {
    margin-bottom: 36px;
}

.contact-role {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 700;
    font-size: .95rem;
}

.contact-header h3 {
    font-size: 2rem;
    color: var(--dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.contact-box {
    background: rgba(0,0,0,.03);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: .2s;
}

.contact-box:hover {
    transform: translateY(-2px);
}

.contact-label {
    font-size: .85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.contact-box a,
.contact-box p {
    color: var(--dark);
    text-decoration: none;
    line-height: 1.5;
    word-break: break-word;
}

.contact-box a:hover {
    color: var(--primary);
}

/* ────────────────── DOAÇÃO ────────────────── */
.donation-inner { 
    display: grid; 
    grid-template-columns: 0.65fr 1.25fr; 
    gap: 80px; 
    align-items: center; 
}

.donation-text .section-tag, 
.donation-text .section-title { 
    text-align: left; 
}

.donation-text .section-title { 
    margin-bottom: 16px; 
}

.donation-text > p { 
    color: var(--mid); 
    font-size: 1rem; 
    margin-bottom: 4px; 
}

.checklist { 
    list-style: none; 
    margin: 28px 0 36px; 
}

.checklist li { 
    display: flex; 
    gap: 14px; 
    align-items: flex-start; 
    padding: 12px 0; 
    border-bottom: 1px solid #f0e5dc; 
    font-size: .96rem; 
    color: #444; 
}

.checklist li .check { 
    min-width: 22px; 
    height: 22px; 
    background: var(--primary); 
    color: #fff; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: .72rem; 
    font-weight: 900; 
    margin-top: 2px; 
}

.donation-visual {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 800px;
    border-radius: 28px;
    overflow: hidden;
    background: var(--light);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.donation-visual iframe { 
    width: 100%; 
    height: 100%; 
    border: none; 
    border-radius: 24px; 
}

.float-card { 
    position: absolute; 
    bottom: -16px; 
    left: -20px; 
    background: #fff; 
    border-radius: 16px; 
    padding: 16px 20px; 
    box-shadow: 0 8px 32px rgba(0, 0, 0, .14); 
    display: flex; 
    gap: 10px; 
    align-items: center; 
    font-size: .9rem; 
    font-weight: 700; 
    color: var(--dark); 
    z-index: 10; 
}

.float-card .pulse { 
    width: 10px; 
    height: 10px; 
    background: var(--primary); 
    border-radius: 50%; 
    animation: pulse 1.8s infinite; 
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(201, 107, 59, .5);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(201, 107, 59, 0);
    }
}

/* ────────────────── GALERY ────────────────── */

.gallery-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    padding: 12px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    transition: transform .25s ease;
}

.gallery-grid img:hover {
    transform: scale(1.02);
}

.gallery-main {
    grid-row: span 2;
}

.gallery-small {
    width: 100%;
    height: 100%;
}

/* ─────────────────── PIX ──────────────────── */

.pix-view {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    padding: 8px;
}

.pix-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.pix-image {
    width: auto;

    max-width: 100%;
    max-height: 82%;
    object-fit: contain;
    border-radius: 22px;
    background: white;
    padding: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
}

.pix-text {
    max-width: 500px;
    text-align: center;
    font-size: .98rem;
    line-height: 1.5;
    color: var(--mid);
}

.pix-back-btn {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    transition: .2s;
    z-index: 20;
}

.pix-back-btn:hover {
    transform: scale(1.08);
    background: var(--primary-lt);
}

/* FLOAT CARD */

.float-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    font-weight: 700;
    z-index: 10;
}

/* ANIMATIONS */

.pix-view {
    transition:
        opacity .35s ease,
        transform .35s ease;
}

.hidden {
    opacity: 0;
    transform: scale(.98);
    pointer-events: none;
    position: absolute;
    inset: 0;
}

/* ────────────────── FOOTER ────────────────── */
footer { 
    background: #1c140f; 
    color: rgba(255, 255, 255, .55); 
    text-align: center; 
    padding: 32px 24px; 
    font-size: .85rem; 
}

footer a { 
    color: var(--primary-lt); 
    text-decoration: none; 
}

footer a:hover { 
    text-decoration: underline; 
}

#credits {
    margin-top: 12px; 
    font-size: 0.75rem; 
    opacity: 0.7;
}

/* ────────────────── RESPONSIVE ────────────────── */
@media (max-width: 768px) {

    .desktop-cta { 
        display: none; 
    }

    .nav-hamburger { 
        display: flex; 
    }

    .nav-hamburger.active span:nth-child(1) { 
        transform: translateY(8px) rotate(45deg); 
    }

    .nav-hamburger.active span:nth-child(2) { 
        opacity: 0; 
    }

    .nav-hamburger.active span:nth-child(3) { 
        transform: translateY(-8px) rotate(-45deg); 
    }

    .nav-links { 
        position: absolute; 
        top: 100%; 
        left: 0; 
        right: 0; 
        background: rgba(255, 252, 248, 0.98); 
        backdrop-filter: blur(12px);
        flex-direction: column; 
        padding: 30px 20px; 
        opacity: 0; 
        visibility: hidden; 
        transform: translateY(-10px); 
        transition: all 0.3s ease;
    }

    .nav-links.active { 
        opacity: 1; 
        visibility: visible; 
        transform: translateY(0); 
    }

    .mobile-only-cta { 
        display: block; 
        margin-top: 10px; 
    }

    .donation-inner { 
        grid-template-columns: 1fr; 
        gap: 48px; 
    }

    .donation-visual { 
        aspect-ratio: 16/9; 
        min-height: 1170px
    }

    .float-card { 
        bottom: -14px; 
        left: 12px; 
    }

    .stat { 
        padding: 0 20px; 
        min-width: 110px; 
    }

    .stat strong { 
        font-size: 1.6rem; 
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 120px 0 80px;

        overflow: hidden;
    }

    .hero-inner {
        padding: 0 20px;
    }

    .hero-logo-png {
        width: 140px !important;
        height: auto !important;
        object-fit: contain;
    }

    .hero-badge {
        width: fit-content;
        max-width: 100%;
        min-width: unset;
        padding: 10px 16px;
        font-size: .7rem;
        line-height: 1.4;
        text-align: center;
        white-space: normal;
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(2.3rem, 11vw, 3.7rem);
        line-height: 1.05;
        margin-bottom: 22px;
    }

    .hero p {
        max-width: 100%;
        font-size: .98rem;
        line-height: 1.7;
    }

    .btn-group {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .btn-group .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .hero-stats {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat {
        width: 100%;
    }

    .gallery-grid {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .gallery-main,
    .gallery-small {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 18px;
    }

    .float-card {
        bottom: 14px;
        left: 14px;
        padding: 10px 14px;
        border-radius: 14px;
        font-size: .72rem;
        gap: 8px;
        max-width: 270px;
    }

    .float-card .pulse {
        width: 8px;
        height: 8px;
    }

}