/* ── Reset & Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --brown: #6b5345;
    --light-brown: #a07860;
    --coral: #e07553;
    --orange: #f0a040;
    --green: #7ab87a;
    --blue: #5b9ec9;
    --lilac: #9b7dba;
    --pink: #d97fa8;
    --background: #faf8f5;
    --background-alt: #f2ede8;
    --text: #3d2e27;
    --muted-text: #7a6558;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(107, 83, 69, .10);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.65;
    font-size: 1rem;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ── Utilitarios ── */
.container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--background-alt);
}

.section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
    font-weight: 700;
    color: var(--brown);
    margin-bottom: .5rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--muted-text);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: .98rem;
}

.divider {
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, var(--coral), var(--orange));
    border-radius: 2px;
    margin: .6rem auto 1.2rem;
}

.section-cta {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* ── HEADER / NAV ── */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(107, 83, 69, .10);
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.header-logo-link {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.header-logo {
    height: 44px;
    display: block;
}

.nav-list {
    display: none;
    list-style: none;
    gap: .25rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: block;
    padding: .45rem .75rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--muted-text);
    border-radius: 6px;
    transition: color .2s, background .2s;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--coral);
    background: rgba(224, 117, 83, .07);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
}

.header-donate-button {
    background: var(--coral);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    white-space: nowrap;
    transition: background .2s, transform .15s;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
}

.header-donate-button i[data-lucide] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.header-donate-button .btn-label {
    display: none;
}

.header-donate-button:hover {
    background: #c9603d;
    transform: scale(1.04);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background .2s;
}

.nav-toggle:hover {
    background: rgba(107, 83, 69, .08);
}

.hamburger-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--brown);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav.nav--open {
    display: block;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(107, 83, 69, .12);
    padding: .75rem 1.5rem 1.25rem;
    border-top: 1px solid rgba(107, 83, 69, .08);
    animation: slideDown .22s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav.nav--open .nav-list {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}

.nav.nav--open .nav-link {
    font-size: .97rem;
    padding: .7rem .85rem;
}

/* ── BREAKPOINTS DO NAV ── */

@media (min-width: 768px) {
    .nav-container {
        padding: 0 2rem;
    }

    .header-donate-button {
        width: auto;
        height: auto;
        padding: .55rem 1.4rem;
        font-size: .92rem;
        gap: .45rem;
    }

    .header-donate-button .btn-label {
        display: inline;
    }
}

@media (min-width: 960px) {
    .nav-list {
        display: flex;
    }

    .nav-toggle {
        display: none;
    }

    .nav.nav--open {
        position: static;
        box-shadow: none;
        padding: 0;
        border-top: none;
        animation: none;
        background: transparent;
    }

    .nav.nav--open .nav-list {
        flex-direction: row;
    }
}

/* ── Hero ── */
.hero {
    background: linear-gradient(160deg, #fff8f4 0%, #f0e8e0 100%);
    padding: 3.5rem 0 3rem;
    text-align: center;
}

.hero-logo {
    height: 100px;
    margin: 0 auto 1.5rem;
}

.hero-title {
    font-size: clamp(1.7rem, 6vw, 2.8rem);
    font-weight: 800;
    color: var(--brown);
    line-height: 1.2;
    margin-bottom: .75rem;
}

.hero-title span {
    color: var(--coral);
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--muted-text);
    max-width: 560px;
    margin: 0 auto 2rem;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    justify-content: center;
}

.primary-button {
    background: var(--coral);
    color: var(--white);
    padding: .9rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 6px 22px rgba(224, 117, 83, .35);
    transition: background .2s, transform .15s;
}

.primary-button:hover {
    background: #c9603d;
    transform: translateY(-2px);
}

.secondary-button {
    background: transparent;
    color: var(--brown);
    padding: .9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    border: 2px solid var(--light-brown);
    transition: border-color .2s, color .2s;
}

.secondary-button:hover {
    border-color: var(--coral);
    color: var(--coral);
}

/* ── Barra de progresso ── */
.progress-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow);
    max-width: 640px;
    margin: 2.5rem auto 0;
}

.progress-numbers {
    display: flex;
    justify-content: space-between;
    font-size: .88rem;
    color: var(--muted-text);
    margin-bottom: .55rem;
}

.progress-numbers strong {
    color: var(--brown);
    font-size: 1rem;
}

.progress-track {
    background: #e8ddd6;
    border-radius: 50px;
    height: 14px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--coral), var(--orange));
    border-radius: 50px;
    width: 0%;
    transition: width 1.5s ease;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-top: .6rem;
    font-size: .85rem;
    color: var(--muted-text);
}

/* ── Sobre ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.about-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--coral);
}

.about-card p {
    color: var(--muted-text);
    font-size: .97rem;
}

/* ── Pilares / Metas ── */
.pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.pillar-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: .6rem;
    transition: transform .2s;
}

.pillar-card:hover {
    transform: translateY(-4px);
}

.pillar-icon {
    font-size: 2.4rem;
    margin-bottom: .25rem;
}

.pillar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brown);
}

.pillar-description {
    font-size: .92rem;
    color: var(--muted-text);
}

.pillar-headquarters {
    border-top: 4px solid var(--coral);
}

.pillar-school {
    border-top: 4px solid var(--green);
}

.pillar-health {
    border-top: 4px solid var(--blue);
}

/* ── Video ── */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #1a1a1a;
    max-width: 700px;
    margin: 0 auto;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    color: #ccc;
    font-size: .95rem;
    text-align: center;
    padding: 1.5rem;
}

.video-placeholder span {
    font-size: 3rem;
}

/* ── Como ajudar ── */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 580px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.step-number {
    background: linear-gradient(135deg, var(--coral), var(--orange));
    color: var(--white);
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 50%;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-title {
    font-weight: 700;
    color: var(--brown);
    margin-bottom: .25rem;
}

.step-description {
    font-size: .9rem;
    color: var(--muted-text);
}

/* ── Dados bancarios / Doacao ── */
.donation-container {
    background: linear-gradient(135deg, var(--brown) 0%, #4a3328 100%);
    border-radius: var(--radius);
    padding: 2.5rem 1.75rem;
    color: var(--white);
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(107, 83, 69, .3);
}

.donation-container .section-title {
    color: var(--white);
}

.donation-container .section-subtitle {
    color: rgba(255, 255, 255, .75);
    margin-bottom: 1.5rem;
}

.pix-key-box {
    background: rgba(255, 255, 255, .12);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.25rem auto;
    max-width: 420px;
}

.pix-key-label {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .7;
    margin-bottom: .3rem;
}

.pix-key-value {
    font-size: 1.05rem;
    font-weight: 700;
    word-break: break-all;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    flex-wrap: wrap;
}

.copy-button {
    background: rgba(255, 255, 255, .2);
    border: none;
    color: var(--white);
    padding: .35rem .8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: .82rem;
    transition: background .2s;
}

.copy-button:hover {
    background: rgba(255, 255, 255, .35);
}

.bank-details {
    font-size: .88rem;
    opacity: .75;
    line-height: 1.9;
    margin-top: .5rem;
}

.large-donate-button {
    display: inline-block;
    background: var(--coral);
    color: var(--white);
    padding: 1rem 2.8rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    box-shadow: 0 6px 22px rgba(224, 117, 83, .4);
    transition: background .2s, transform .15s;
    cursor: pointer;
}

.large-donate-button:hover {
    background: #c9603d;
    transform: translateY(-2px);
}

/* ── Depoimentos ── */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.testimonial-text {
    font-style: italic;
    color: var(--muted-text);
    margin-bottom: .75rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--brown);
    font-size: .9rem;
}

/* ── Perguntas frequentes ── */
.faq-list {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.1rem 1.25rem;
    font-size: .97rem;
    font-weight: 600;
    color: var(--brown);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
}

.faq-question .icon {
    transition: transform .3s;
    font-size: 1.1rem;
    color: var(--coral);
    flex-shrink: 0;
}

.faq-question.open .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .3s;
    padding: 0 1.25rem;
    font-size: .92rem;
    color: var(--muted-text);
}

.faq-answer.open {
    max-height: 300px;
    padding: 0 1.25rem 1rem;
}

/* ── Rodape ── */
.footer {
    background: var(--brown);
    color: rgba(255, 255, 255, .75);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 1.5rem 0 2.5rem;
}

.footer-column--identity {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 720px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 4rem;
        align-items: start;
    }

    .footer-column--identity {
        align-items: flex-start;
        text-align: left;
    }
}


.footer-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.footer strong {
    color: var(--white);
}

.footer-column--social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.footer-column-title {
    color: var(--white);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .8;
}

.footer-social-icons {
    display: grid;
    grid-template-columns: repeat(3, 44px);
    gap: .55rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.678);
    color: var(--white);
    transition: background .2s, transform .15s;
    overflow: hidden;
}

.social-link svg,
.social-link img {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

.social-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, .22);
}

.footer-official-site {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: rgba(255, 255, 255, .65);
    font-size: .83rem;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50px;
    padding: .4rem 1rem;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
    margin-top: .25rem;
}

.footer-official-site:hover {
    color: var(--white);
    border-color: var(--white);
}

.footer-official-site i[data-lucide] {
    width: 14px;
    height: 14px;
}

.footer-column--links {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    align-items: center;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding: 1rem 0 1.25rem;
    font-size: .8rem;
    color: rgba(255, 255, 255, .5);
    text-align: center;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    align-items: center;
}

.footer-copy {
    color: rgba(255, 255, 255, .55);
}

.footer-devs {
    color: rgba(255, 255, 255, .4);
    font-size: .78rem;
}

.footer-devs a {
    color: rgba(255, 255, 255, .65);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .2s;
}

.footer-devs a:hover {
    color: var(--white);
}


/* ── Toast ── */
.toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--green);
    color: var(--white);
    padding: .75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: .9rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
    transition: transform .3s;
    z-index: 999;
    pointer-events: none;
}

.toast.visible {
    transform: translateX(-50%) translateY(0);
}

/* ── Responsivo ── */
@media (min-width: 600px) {
    .steps-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 960px;
    }

    .step {
        height: 100%;
    }

    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 860px) {
    .pillars-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ── Lucide Icons ── */
.icon-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.icon-btn i[data-lucide] {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.pillar-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.pillar-icon i[data-lucide] {
    width: 40px;
    height: 40px;
}

.pillar-headquarters .pillar-icon i[data-lucide] {
    color: var(--coral);
}

.pillar-school .pillar-icon i[data-lucide] {
    color: var(--green);
}

.pillar-health .pillar-icon i[data-lucide] {
    color: var(--blue);
}

.about-card h3 i[data-lucide] {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: .3rem;
}

.about-card h3 {
    color: var(--brown);
    margin-bottom: .4rem;
}

.about-card--mission {
    border-left-color: var(--green);
}

.progress-info i[data-lucide] {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.progress-numbers .meta {
    text-align: right;
}

.pix-key-value i[data-lucide] {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.bank-details .icon-info {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.bank-details i[data-lucide] {
    width: 15px;
    height: 15px;
    vertical-align: middle;
}

.bank-details strong {
    color: var(--white);
}

.bank-details .details-label {
    font-size: .92rem;
}

.video-placeholder i[data-lucide] {
    width: 56px;
    height: 56px;
    color: #aaa;
}

.footer-links i[data-lucide] {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: .2rem;
}

.toast-inner {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.toast i[data-lucide] {
    width: 17px;
    height: 17px;
}

.donation-container .section-title {
    justify-content: center;
}

.donation-container .divider {
    background: linear-gradient(90deg, var(--orange), rgba(255, 255, 255, .5));
}

.receipt-note {
    font-size: .82rem;
    opacity: .6;
    margin-top: .75rem;
}

.receipt-note i[data-lucide] {
    width: 13px;
    height: 13px;
    vertical-align: middle;
    color: var(--green);
}

/* ── Modal QR Code ── */
.qr-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.qr-modal-overlay.visible {
    display: flex;
}

.qr-modal-box {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem 1.5rem 1.5rem;
    max-width: 340px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.qr-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    color: #555;
}

.qr-modal-close:hover {
    color: #000;
}

.qr-modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #1a1a1a;
}

.qr-modal-img {
    width: 100%;
    max-width: 260px;
    height: auto;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    align-items: baseline;
    margin: 0 auto;
}

.qr-modal-hint {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #666;
}