/* =============================================
   IMPORTS
============================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,700;0,900;1,700&family=Inter:wght@400;500;600;700&display=swap');

/* =============================================
   VARIÁVEIS
============================================= */
:root {
    --green-deep:   #1a6b5a;
    --green-mid:    #2d9e7e;
    --green-light:  #e8f5f0;
    --green-xlight: #f0faf6;
    --gold:         #e8a94d;
    --gold-light:   #fdf3e3;
    --white:        #ffffff;
    --bg:           #f5f3f0;
    --text:         #1c2b27;
    --text-muted:   #5a6b65;
    --border:       #dde8e4;
    --shadow-sm:    0 2px 8px rgba(26,107,90,.08);
    --shadow-md:    0 8px 30px rgba(26,107,90,.12);
    --shadow-lg:    0 20px 60px rgba(26,107,90,.18);
    --radius:       14px;
    --radius-lg:    22px;
}

/* =============================================
   RESET
============================================= */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
    font-family: 'Inter', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =============================================
   CONTAINER
============================================= */
.container {
    width: 90%;
    max-width: 1180px;
    margin: auto;
}

/* =============================================
   HEADER
============================================= */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
    transition: box-shadow .3s;
}
.header.scrolled {
    box-shadow: 0 2px 20px rgba(26,107,90,.15);
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    position: relative;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}
.logo {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--green-light);
    transition: border-color .2s;
}
.logo-area:hover .logo { border-color: var(--green-mid); }
.logo img { width:100%; height:100%; object-fit:cover; }
.logo-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}
.logo-text p {
    color: var(--green-mid);
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .5px;
}

/* =============================================
   NAVBAR
============================================= */
.navbar {
    display: flex;
    align-items: center;
    gap: 4px;
}
.navbar a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: .88rem;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all .2s;
    position: relative;
}
.navbar a:hover { color: var(--green-deep); background: var(--green-light); }
.navbar a.active { color: var(--green-deep); font-weight: 600; }

.btn-doacao {
    background: var(--green-deep) !important;
    color: var(--white) !important;
    padding: 9px 20px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    margin-left: 4px !important;
    transition: background .2s, transform .15s, box-shadow .2s !important;
}
.btn-doacao:hover {
    background: var(--green-mid) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 16px rgba(26,107,90,.25) !important;
}

/* BOTÃO VOLTAR */
.btn-back {
    background: var(--green-light) !important;
    color: var(--green-deep) !important;
    font-weight: 600 !important;
    border: 1.5px solid var(--border) !important;
}
.btn-back:hover { background: var(--green-deep) !important; color: white !important; }

/* MENU HAMBÚRGUER */
.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background .2s;
}
.menu-btn:hover { background: var(--green-light); }
.menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .3s ease;
}
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO — PÁGINA PRINCIPAL
============================================= */
.hero {
    background: linear-gradient(135deg, var(--green-deep) 0%, #1e8066 60%, var(--green-mid) 100%);
    padding: 80px 0 0;
    overflow: hidden;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 500px; height: 500px;
    background: rgba(255,255,255,.04);
    border-radius: 50%;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 60px; left: -120px;
    width: 350px; height: 350px;
    background: rgba(232,169,77,.06);
    border-radius: 50%;
    pointer-events: none;
}
.hero-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
}
.hero-texto {
    flex: 1.2;
    padding-bottom: 90px;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.92);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,.15);
}
.hero-eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}
.hero-texto h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 20px;
}
.hero-texto h2 em {
    font-style: italic;
    color: var(--gold);
}
.hero-texto p {
    color: rgba(255,255,255,.80);
    font-size: 1.05rem;
    max-width: 480px;
    margin-bottom: 38px;
    line-height: 1.75;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-imagem {
    flex: 0.85;
    display: flex;
    justify-content: center;
    align-self: flex-end;
    position: relative;
    z-index: 1;
}
.hero-imagem img {
    width: 104%;
    max-width: 420px;
    border-radius: 9%;
    display: block;
    filter: drop-shadow(0 -10px 40px rgba(0,0,0,.2));
}

/* ONDA */
.hero-wave {
    display: block;
    width: 100%;
    margin-top: -2px;
    position: relative;
    z-index: 1;
}

/* =============================================
   NÚMEROS DE IMPACTO
============================================= */
.impacto-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0;
    box-shadow: var(--shadow-sm);
}
.impacto-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
   
}
.impacto-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    border-right: 1px solid var(--border);
    text-align: center;
    transition: background .2s;
}
.impacto-item:last-child { border-right: none; }
.impacto-item:hover { background: var(--green-xlight); }
.impacto-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--green-deep);
    line-height: 1;
    margin-bottom: 6px;
}
.impacto-label {
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .8px;
    line-height: 1.4;
}

/* =============================================
   HERO — PÁGINAS INTERNAS
============================================= */
.hero-inner {
    background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
    padding: 72px 20px 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-inner::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    background: rgba(255,255,255,.04);
    border-radius: 50%;
}
.hero-inner::after {
    content: '';
    position: absolute;
    bottom: -40px; left: 50%;
    transform: translateX(-50%);
    width: 120%; height: 80px;
    background: var(--bg);
    border-radius: 50% 50% 0 0;
}
.hero-inner h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.hero-inner p {
    color: rgba(255,255,255,.82);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

/* =============================================
   BOTÕES
============================================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--green-deep);
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: .95rem;
    font-family: 'Inter', sans-serif;
    transition: all .25s;
    text-decoration: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.btn-primary.green {
    background: var(--green-deep);
    color: white;
}
.btn-primary.green:hover {
    background: var(--green-mid);
    box-shadow: 0 8px 24px rgba(26,107,90,.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid rgba(255,255,255,.5);
    color: white;
    padding: 13px 28px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: .95rem;
    font-family: 'Inter', sans-serif;
    transition: all .25s;
    text-decoration: none;
}
.btn-outline:hover {
    background: rgba(255,255,255,.12);
    border-color: white;
    transform: translateY(-2px);
}

/* Variante pra quando o botão aparece em cima de fundo claro/branco
   (o branco-no-branco padrão fica invisível ali) */
.bg-white .btn-outline,
.bg-light .btn-outline {
    border-color: var(--green-deep);
    color: var(--green-deep);
}
.bg-white .btn-outline:hover,
.bg-light .btn-outline:hover {
    background: var(--green-deep);
    color: white;
    border-color: var(--green-deep);
}

.btn-whatsapp {
    background: #25D366 !important;
    color: white !important;
    width: 100%;
    justify-content: center;
    font-size: 1rem !important;
    padding: 15px 28px !important;
    box-shadow: 0 4px 16px rgba(37,211,102,.25) !important;
}
.btn-whatsapp:hover {
    background: #1fb855 !important;
    box-shadow: 0 8px 24px rgba(37,211,102,.35) !important;
}

/* =============================================
   SEÇÕES
============================================= */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.bg-white { background: var(--white); }
.bg-light { background: var(--bg); }
.bg-green { background: var(--green-deep); }
.center { text-align: center; }

.section-label {
    display: inline-block;
    background: var(--green-light);
    color: var(--green-deep);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
    margin-bottom: 14px;
}
.section-sub {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

/* =============================================
   SOBRE
============================================= */
.sobre-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px 56px;
    box-shadow: var(--shadow-md);
    max-width: 820px;
    margin: 0 auto;
    border-left: 5px solid var(--gold);
    position: relative;
}
.sobre-box::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 130px;
    color: var(--green-light);
    position: absolute;
    top: -10px; left: 24px;
    line-height: 1;
    user-select: none;
}
.sobre-box p {
    font-size: 1.06rem;
    line-height: 1.88;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* =============================================
   PROJETOS / CARDS
============================================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all .3s cubic-bezier(.22,.68,0,1.2);
    border: 1px solid var(--border);
    border-top: 4px solid var(--green-mid);
    position: relative;
    overflow: hidden;
}
.card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--green-xlight) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--gold);
}
.card:hover::after { opacity: 1; }
.icon {
    font-size: 2.6rem;
    margin-bottom: 16px;
    display: block;
}
.card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
    position: relative;
    z-index: 1;
}
.card p {
    color: var(--text-muted);
    font-size: .93rem;
    line-height: 1.65;
    position: relative;
    z-index: 1;
}

/* =============================================
   PIX / DOAÇÃO RÁPIDA
============================================= */
.pix-banner {
    background: linear-gradient(135deg, #1a6b5a 0%, #1e8066 100%);
    border-radius: var(--radius-lg);
    padding: 48px 52px;
    display: flex;
    align-items: center;
    gap: 48px;
    max-width: 860px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.pix-banner::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    background: rgba(255,255,255,.05);
    border-radius: 50%;
}
.pix-texto { flex: 1; position: relative; z-index: 1; }
.pix-texto h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: white;
    margin-bottom: 10px;
    font-weight: 700;
}
.pix-texto p {
    color: rgba(255,255,255,.78);
    margin-bottom: 20px;
    line-height: 1.65;
    font-size: .97rem;
}
.pix-chave-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px;
    padding: 12px 18px;
    cursor: pointer;
    transition: background .2s;
}
.pix-chave-box:hover { background: rgba(255,255,255,.18); }
.pix-chave-label {
    font-size: .72rem;
    font-weight: 700;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    line-height: 1;
    margin-bottom: 3px;
}
.pix-chave-val {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    letter-spacing: .3px;
}
.pix-copy-icon {
    color: rgba(255,255,255,.5);
    font-size: .9rem;
    margin-left: 4px;
    transition: color .2s;
}
.pix-chave-box:hover .pix-copy-icon { color: var(--gold); }
.pix-copied-toast {
    display: inline-block;
    background: var(--gold);
    color: #1c2b27;
    font-size: .75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    margin-left: 8px;
    opacity: 0;
    transition: opacity .3s;
}
.pix-copied-toast.show { opacity: 1; }
.pix-qr {
    flex-shrink: 0;
    background: white;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}
.pix-qr-placeholder {
    width: 110px;
    height: 110px;
    background: var(--green-xlight);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--green-deep);
}
.pix-qr span {
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .8px;
}

/* =============================================
   SEÇÃO COMO AJUDAR
============================================= */
.ajudar-section {
    background: linear-gradient(135deg, var(--green-deep) 0%, #1e8066 60%, var(--green-mid) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ajudar-section::before {
    content: '';
    position: absolute;
    top: -100px; left: -100px;
    width: 400px; height: 400px;
    background: rgba(255,255,255,.03);
    border-radius: 50%;
}
.ajudar-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: white;
    margin-bottom: 14px;
    position: relative;
}
.ajudar-section p {
    color: rgba(255,255,255,.80);
    max-width: 540px;
    margin: 0 auto 38px;
    line-height: 1.75;
    position: relative;
}
.buttons { display:flex; justify-content:center; gap:16px; flex-wrap:wrap; }

/* =============================================
   DEPOIMENTO
============================================= */
.depoimento-section {
    background: var(--white);
    padding: 80px 0;
}
.depoimento-card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 52px 56px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--green-xlight) 0%, var(--gold-light) 100%);
    border: 1px solid var(--border);
    position: relative;
}
.depoimento-card::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 120px;
    color: var(--green-light);
    position: absolute;
    top: 0px; left: 28px;
    line-height: 1;
    user-select: none;
}
.depoimento-texto {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
.depoimento-autor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.depoimento-dot {
    width: 32px;
    height: 3px;
    background: var(--green-mid);
    border-radius: 2px;
}
.depoimento-nome {
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =============================================
   FOOTER
============================================= */
.footer {
    background: #111c18;
    color: #8a9e97;
    padding: 56px 20px 32px;
}
.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e2e28;
}
.footer-brand .footer-logo-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #d0dbd7;
    margin-bottom: 4px;
}
.footer-brand .footer-logo-text p {
    color: var(--green-mid);
    font-size: .8rem;
    font-weight: 500;
    margin-bottom: 16px;
}
.footer-brand > p {
    color: #6a7e77;
    font-size: .88rem;
    line-height: 1.7;
    max-width: 280px;
    margin-bottom: 22px;
}
.footer-social { display:flex; gap:14px; }
.social-icon, a.whats-links {
    color: #4a6058;
    font-size: 22px;
    text-decoration: none;
    transition: all .3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: #1a2a24;
    border: 1px solid #1e2e28;
}
.social-icon:hover { color: #e1306c; background: rgba(225,48,108,.1); border-color: rgba(225,48,108,.2); transform:scale(1.05); }
a.whats-links:hover { color: #25D366; background: rgba(37,211,102,.1); border-color: rgba(37,211,102,.2); transform:scale(1.05); }

.footer-col h4 {
    color: #d0dbd7;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    color: #6a7e77;
    text-decoration: none;
    font-size: .88rem;
    transition: color .2s;
}
.footer-col ul li a:hover { color: var(--green-mid); }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: .88rem;
    color: #6a7e77;
    line-height: 1.5;
}
.footer-contact-item i {
    color: var(--green-mid);
    margin-top: 2px;
    flex-shrink: 0;
    width: 14px;
}
.footer-bottom {
    max-width: 1180px;
    margin: 0 auto;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-bottom p { font-size: .82rem; color: #4a6058; }

/* =============================================
   FORMULÁRIOS
============================================= */
.form-wrapper {
    max-width: 560px;
    margin: 0 auto;
    padding-top: 60px;
}
.form-card {
    background: var(--white);
    padding: 42px 44px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.form-group { margin-bottom: 22px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: .88rem;
    letter-spacing: .3px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: .95rem;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-mid);
    outline: none;
    box-shadow: 0 0 0 3px rgba(45,158,126,.12);
}
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a6b65' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 28px 0;
}

/* =============================================
   STEPS (voluntario)
============================================= */
.steps { max-width: 680px; margin: 0 auto; }
.step {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
    flex-shrink: 0;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .95rem;
    font-family: 'Playfair Display', serif;
    box-shadow: 0 4px 12px rgba(26,107,90,.25);
}
.step-content h4 {
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
    font-size: 1rem;
}
.step-content p { color: var(--text-muted); font-size: .93rem; line-height: 1.65; }

/* =============================================
   MOBILE
============================================= */
@media (max-width: 900px) {
    .impacto-inner { grid-template-columns: repeat(2, 1fr); }
    .impacto-item:nth-child(2) { border-right: none; }
    .impacto-item:nth-child(3) { border-top: 1px solid var(--border); }
    .impacto-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .pix-banner { flex-direction: column; padding: 36px 28px; gap: 32px; }
    .pix-qr { flex-direction: row; align-items: center; gap: 20px; }
}

@media (max-width: 768px) {
    .hero { padding: 60px 0 0; }
    .hero-wrapper { flex-direction: column; align-items: center; gap: 30px; }
    .hero-texto { flex: none; width: 100%; }
    .hero-imagem { flex: none; width: 100%; align-self: center; justify-content: center; }

    .hero-texto { padding-bottom: 0; text-align: center; }
    .hero-texto p { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .hero-imagem img { width: 100%; max-width: 300px; margin: 0 auto; border-radius: var(--radius-lg); }
    .hero-imagem { padding-bottom: 0; }

    .header-content { flex-direction: row; flex-wrap: nowrap; }

    .menu-btn { display: flex; }

    /* Páginas COM botão hambúrguer: menu em dropdown */
    .header-content:has(.menu-btn) .navbar {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--white);
        padding: 16px 20px 20px;
        box-shadow: 0 16px 40px rgba(0,0,0,.12);
        border-top: 1px solid var(--border);
        border-radius: 0 0 var(--radius) var(--radius);
    }
    .header-content:has(.menu-btn) .navbar.active { display: flex; }

    /* Páginas SEM botão hambúrguer (doação, ajuda, projetos, momentos, quem somos):
       o menu fica sempre visível, em linha abaixo da logo */
    .header-content:not(:has(.menu-btn)) {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        padding: 10px 0;
    }
    .header-content:not(:has(.menu-btn)) .navbar {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 6px;
        width: 100%;
        position: static;
        box-shadow: none;
        border: none;
        padding: 0;
        background: transparent;
    }
    .header-content:not(:has(.menu-btn)) .navbar a {
        padding: 8px 12px;
        font-size: .85rem;
        border-radius: 8px;
    }

    .navbar a { padding: 12px 16px; border-radius: 10px; }
    .btn-doacao { margin-left: 0 !important; text-align: center; justify-content: center; }

    .sobre-box { padding: 32px 24px; }
    .form-card { padding: 28px 22px; }
    .section { padding: 60px 0; }
    .section-sm { padding: 40px 0; }
    .depoimento-card { padding: 44px 28px; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { justify-content: center; text-align: center; }
    .impacto-inner { grid-template-columns: repeat(2, 1fr); }
    .impacto-item:nth-child(even) { border-right: none; }
    .impacto-item:nth-child(n+3) { border-top: 1px solid var(--border); }
}

@media (max-width: 480px) {
    .impacto-inner { grid-template-columns: 1fr 1fr; }
    .impacto-num { font-size: 1.9rem; }
}

/* =============================================
   ANIMAÇÕES DE ENTRADA
============================================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
    opacity: 0;
    animation: fadeUp .6s ease forwards;
}
.fade-up.visible { animation-play-state: running; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }

/* =============================================
   SCROLL REVEAL (via JS)
============================================= */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

.card-link {
    text-decoration: none;   /* remove o sublinhado */
    color: inherit;          /* mantém a cor do texto igual ao restante */
}

.story-hero {
            background: linear-gradient(to right, #1f8a75, #166b66);
            padding: 60px 20px 80px;
            color: white;
            text-align: center;
        }
        .story-hero .tag {
            display: inline-block;
            background: rgba(255,255,255,.2);
            border: 1px solid rgba(255,255,255,.35);
            border-radius: 20px;
            padding: 5px 16px;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 18px;
            letter-spacing: .4px;
        }
        .story-hero h1 {
            font-size: 2.2rem;
            max-width: 700px;
            margin: 0 auto 16px;
            line-height: 1.3;
        }
        .story-hero .meta {
            font-size: 14px;
            opacity: .8;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }
        .story-hero .meta span { display: flex; align-items: center; gap: 6px; }
 
        /* FOTO DESTAQUE */
        .foto-destaque-wrap {
            display: flex;
            justify-content: center;
            margin-top: -50px;
            margin-bottom: 10px;
            padding: 0 20px;
        }
        .foto-destaque {
            width: 100%;
            max-width: 760px;
            height: 340px;
            border-radius: 16px;
            box-shadow: 0 12px 40px rgba(0,0,0,.14);
            object-fit: cover;
            background: linear-gradient(135deg, #c8ede5, #a8d8cf);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 100px;
        }
 
        /* CONTEÚDO DA HISTÓRIA */
        .story-content {
            max-width: 720px;
            margin: 0 auto;
            padding: 40px 20px 60px;
        }
 
        .story-content p {
            font-size: 16px;
            line-height: 1.85;
            color: #374151;
            margin-bottom: 22px;
        }
 
        .story-content h2 {
            font-size: 1.35rem;
            color: #1f2937;
            margin: 36px 0 14px;
            padding-left: 14px;
            border-left: 4px solid #1f8a75;
        }
 
        /* DESTAQUE / CITAÇÃO */
        .quote-block {
            background: #f0faf6;
            border-left: 5px solid #1f8a75;
            border-radius: 0 10px 10px 0;
            padding: 20px 24px;
            margin: 32px 0;
        }
        .quote-block p {
            font-size: 1.05rem;
            font-style: italic;
            color: #1f8a75;
            margin: 0;
            line-height: 1.7;
        }
        .quote-block cite {
            display: block;
            margin-top: 10px;
            font-size: 13px;
            color: #6b7280;
            font-style: normal;
            font-weight: 600;
        }
 
        /* GALERIA DE FOTOS */
        .gallery-section { background: #f8fafc; padding: 50px 20px; }
        .gallery-section h2 { text-align: center; margin-bottom: 28px; color: #1f2937; }
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 14px;
            max-width: 760px;
            margin: 0 auto;
        }
        .gallery-item {
            border-radius: 10px;
            overflow: hidden;
            aspect-ratio: 4/3;
            background: linear-gradient(135deg, #c8ede5, #a8d8cf);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
            box-shadow: 0 4px 14px rgba(0,0,0,.08);
            cursor: pointer;
            transition: transform .2s;
        }
        .gallery-item:hover { transform: scale(1.03); }
        .gallery-item img { width:100%; height:100%; object-fit:cover; display:block; }
 
        /* COMO AJUDAMOS */
        .como-ajudamos {
            max-width: 720px;
            margin: 0 auto;
            padding: 0 20px 50px;
        }
        .ajuda-item {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            background: white;
            border-radius: 12px;
            padding: 18px 20px;
            margin-bottom: 14px;
            box-shadow: 0 3px 12px rgba(0,0,0,.06);
        }
        .ajuda-icon {
            font-size: 28px;
            flex-shrink: 0;
            width: 48px;
            height: 48px;
            background: #e8f5f0;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .ajuda-item h4 { font-size: 15px; color: #1f2937; margin-bottom: 4px; }
        .ajuda-item p  { font-size: 13px; color: #6b7280; margin: 0; line-height: 1.5; }
 
        /* NAVEGAÇÃO ENTRE HISTÓRIAS */
        .nav-historias {
        
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 720px;
            margin: 0 auto;
            padding: 0 20px 60px;
            gap: 16px;
            flex-wrap: wrap;
        }
        .nav-historias a {
            color: #1f8a75;
            font-weight: 600;
            text-decoration: none;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 7px;
            transition: .2s;
        }
        .nav-historias a:hover { color: #166b66; }
 
        @media (max-width: 600px) {
            .story-hero h1 { font-size: 1.6rem; }
            .foto-destaque { height: 220px; font-size: 70px; }
        }

        .hero-historias {
            background: linear-gradient(to right, #1f8a75, #166b66);
            padding: 70px 20px;
            text-align: center;
            color: white;
        }

        .hero-historias h2 {
            font-size: 2.4rem;
            margin-bottom: 14px;
        }

        .hero-historias p {
            font-size: 1.1rem;
            opacity: .9;
            max-width: 600px;
            margin: 0 auto;
        }

        /* GRID DE CARDS */
        .stories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
            gap: 28px;
            margin-top: 10px;
        }

        
        .story-card {
            background: white;
            border-radius: 18px;
            box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
            overflow: hidden;
            transition: transform 300ms ease;
            z-index: 4;
            cursor: pointer;
            text-decoration: none;
            display: block;
            color: inherit;
        }

        .story-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(71, 73, 72, 0.15);
            border-top: 4px solid #1a6b5a;
        }

        .story-card-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
            background: #e8f5f0;
        }

        /* Placeholder colorido quando não tem foto */
        .story-card-placeholder {
            width: 100%;
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 64px;
            background: linear-gradient(135deg, #c8ede5, #a8d8cf);
        }

        .story-card-body {
            padding: 22px 24px 26px;
        }

        .story-tag {
            display: inline-block;
            background: #e8f5f0;
            color: #1f8a75;
            font-size: 12px;
            font-weight: 700;
            padding: 4px 12px;
            border-radius: 20px;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: .4px;
        }

        .story-card-body h3 {
            font-size: 1.15rem;
            color: #1f2937;
            margin-bottom: 8px;
            line-height: 1.4;
        }

        .story-card-body p {
            color: #6b7280;
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 16px;
        }

        .story-card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 13px;
            color: #9ca3af;
        }

        .story-card-footer .leia {
            color: #1f8a75;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 13px;
        }

        /* CONTADOR */
        .counter-bar {
            background: #f0faf6;
            border-bottom: 1px solid #d1ede5;
            padding: 18px 0;
            text-align: center;
        }

        .counter-bar .counters {
            display: flex;
            justify-content: center;
            gap: 60px;
            flex-wrap: wrap;
        }

        .counter-item strong {
            display: block;
            font-size: 2rem;
            color: #1f8a75;
            font-weight: 800;
        }

        .counter-item span {
            font-size: 13px;
            color: #6b7280;
        }

        @media (max-width: 600px) {
            .hero-historias h2 {
                font-size: 1.7rem;
            }

            .counter-bar .counters {
                gap: 30px;
            }
        }

     .nav-historia {
        display:flex; 
        justify-content:center;
        align-items:center;
     }   
    
     .foto-card {
            background: var(--white);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
            transition: transform .3s, box-shadow .3s;
        }
        .foto-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
        .foto-placeholder {
            aspect-ratio: 4/3;
            background: var(--green-light);
            border: 2px dashed var(--green-mid);
            border-radius: var(--radius) var(--radius) 0 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px;
            color: var(--green-deep);
        }
        .foto-placeholder i { font-size: 2.2rem; opacity: .7; }
        .foto-card-label {
            padding: 14px 16px;
            font-size: .85rem;
            font-weight: 600;
            color: var(--text-muted);
            text-align: center;
        }
        .quick-facts {
            display: flex;
            justify-content: center;
            gap: 48px;
            flex-wrap: wrap;
            margin: 0 auto 10px;
        }
        .quick-fact { text-align: center; }
        .quick-fact strong {
            display: block;
            font-family: 'Playfair Display', serif;
            font-size: 2rem;
            color: var(--green-deep);
            line-height: 1;
            margin-bottom: 6px;
        }
        .quick-fact span {
            font-size: .8rem;
            font-weight: 600;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: .6px;
        }
        .projetos-relacionados {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 18px;
            max-width: 720px;
            margin: 0 auto;
        }
        .projeto-mini {
            display: flex;
            align-items: center;
            gap: 12px;
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 16px 18px;
            text-decoration: none;
            color: var(--text);
            transition: all .2s;
        }
        .projeto-mini:hover { border-color: var(--green-mid); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
        .projeto-mini .icon { font-size: 1.8rem; margin: 0; }
        .projeto-mini strong { display: block; font-size: .92rem; }
        .projeto-mini small { color: var(--text-muted); font-size: .78rem; }

           
        /* ================================
           HERO
        ================================= */

        .quem-hero {
            background: linear-gradient(135deg, #1f8a75, #166b66);
            color: white;
            padding: 75px 20px 90px;
            text-align: center;
        }

        .quem-hero .tag {
            display: inline-block;
            background: rgba(255,255,255,.15);
            border: 1px solid rgba(255,255,255,.30);
            border-radius: 30px;
            padding: 7px 18px;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 18px;
        }

        .quem-hero h2 {
            font-size: 2.5rem;
            margin-bottom: 18px;
        }

        .quem-hero p {
            max-width: 760px;
            margin: auto;
            line-height: 1.8;
            font-size: 16px;
            opacity: .92;
        }


        /* ================================
           CONTEÚDO PRINCIPAL
        ================================= */

        .quem-content {
            max-width: 1000px;
            margin: -45px auto 0;
            padding: 0 20px 70px;
            position: relative;
        }

        .quem-card {
            background: white;
            border-radius: 18px;
            padding: 45px;
            box-shadow: 0 12px 40px rgba(0,0,0,.10);
        }

        .quem-card h2 {
            color: #1f2937;
            font-size: 1.7rem;
            margin-bottom: 18px;
        }

        .quem-card h2 i {
            color: #1f8a75;
            margin-right: 8px;
        }

        .quem-card p {
            color: #4b5563;
            font-size: 16px;
            line-height: 1.85;
            margin-bottom: 20px;
        }


        /* ================================
           MISSÃO
        ================================= */

        .missao-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 35px;
        }

        .missao-card {
            background: #f8fafc;
            border-radius: 14px;
            padding: 28px 22px;
            text-align: center;
            transition: .2s;
        }

        .missao-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 25px rgba(0,0,0,.08);
        }

        .missao-icon {
            width: 58px;
            height: 58px;
            margin: 0 auto 15px;
            border-radius: 14px;
            background: #e8f5f0;
            color: #1f8a75;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 25px;
        }

        .missao-card h3 {
            color: #1f2937;
            margin-bottom: 10px;
            font-size: 17px;
        }

        .missao-card p {
            font-size: 13px;
            line-height: 1.6;
            margin: 0;
        }


        /* ================================
           NOSSA ATUAÇÃO
        ================================= */

        .atuacao {
            margin-top: 55px;
        }

        .atuacao h2 {
            margin-bottom: 25px;
        }

        .atuacao-list {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }

        .atuacao-item {
            display: flex;
            gap: 15px;
            align-items: flex-start;
            padding: 20px;
            background: #f8fafc;
            border-radius: 12px;
        }

        .atuacao-item i {
            color: #1f8a75;
            font-size: 21px;
            margin-top: 3px;
        }

        .atuacao-item h3 {
            font-size: 15px;
            color: #1f2937;
            margin-bottom: 5px;
        }

        .atuacao-item p {
            font-size: 13px;
            line-height: 1.55;
            margin: 0;
        }


        /* ================================
           FRASE
        ================================= */

        .frase {
            margin-top: 50px;
            background: #f0faf6;
            border-left: 5px solid #1f8a75;
            padding: 28px 30px;
            border-radius: 0 12px 12px 0;
        }

        .frase p {
            color: #1f8a75;
            font-size: 1.15rem;
            font-style: italic;
            margin: 0;
            line-height: 1.7;
        }


        /* ================================
           CTA
        ================================= */

        .quem-cta {
            background: #f8fafc;
            text-align: center;
            padding: 70px 20px;
        }

        .quem-cta h2 {
            color: #1f2937;
            font-size: 1.8rem;
            margin-bottom: 12px;
        }

        .quem-cta p {
            color: #6b7280;
            max-width: 650px;
            margin: 0 auto 28px;
            line-height: 1.7;
        }

        .quem-buttons {
            display: flex;
            justify-content: center;
            gap: 14px;
            flex-wrap: wrap;
        }


        /* ================================
           RESPONSIVO
        ================================= */

        @media (max-width: 750px) {

            .quem-hero h2 {
                font-size: 2rem;
            }

            .quem-card {
                padding: 30px 22px;
            }

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

            .atuacao-list {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 500px) {

            .quem-hero {
                padding: 55px 18px 70px;
            }

            .quem-hero h2 {
                font-size: 1.7rem;
            }

            .quem-hero p {
                font-size: 14px;
            }
        }
    
/* ================================
   CASA DE APOIO
================================ */

.casa-apoio {
    background: #f8fafc;
    padding: 75px 20px;
}

.casa-intro {
    max-width: 750px;
    margin: 0 auto 40px;
    text-align: center;
}

.casa-intro > span {
    display: inline-block;
    color: #1f8a75;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.casa-intro h2 {
    color: #1f2937;
    font-size: 2rem;
    margin-bottom: 15px;
}

.casa-intro p {
    color: #6b7280;
    line-height: 1.8;
    font-size: 15px;
}


/* GALERIA */

.casa-galeria {
    max-width: 1100px;
    margin: auto;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 250px 250px;

    gap: 15px;
}


.casa-foto {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #e5e7eb;
}


.casa-foto-grande {
    grid-row: span 2;
}


.casa-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transition: transform .4s ease;
}


.casa-foto:hover img {
    transform: scale(1.05);
}


/* LEGENDA */

.foto-legenda {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 15px;

    color: white;
    font-size: 14px;
    font-weight: 600;

    background: linear-gradient(
        transparent,
        rgba(0,0,0,.75)
    );
}


.foto-legenda i {
    margin-right: 6px;
}


/* RESPONSIVO */

@media (max-width: 800px) {

    .casa-galeria {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 250px 200px 200px;
    }

    .casa-foto-grande {
        grid-column: span 2;
        grid-row: auto;
    }

}


@media (max-width: 500px) {

    .casa-galeria {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 230px);
    }

    .casa-foto-grande {
        grid-column: auto;
        grid-row: auto;
    }

    .casa-intro h2 {
        font-size: 1.7rem;
    }

}

/* =============================================
   CTA "CONHEÇA NOSSA HISTÓRIA"
============================================= */
.historia-cta {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    padding: 14px 26px 14px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 60px;
    text-decoration: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .3s cubic-bezier(.22,.68,0,1.2), box-shadow .3s, border-color .3s;
}
.historia-cta::before {
    content: '';
    position: absolute;
    top: 0; left: -60%;
    width: 40%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(51, 173, 120, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left .7s ease;
}
.historia-cta:hover::before { left: 130%; }
.historia-cta:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--green-deep);
}
.historia-cta-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-light), #18874a);
    color: #3a2a0f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: 0 4px 14px rgba(78, 204, 97, 0.4);
    transition: transform .3s;
}
.historia-cta:hover .historia-cta-icon { transform: rotate(-8deg) scale(1.08); }
.historia-cta-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.historia-cta-eyebrow {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--green-deep);
    margin-bottom: 2px;
}
.historia-cta-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--text);
}
.historia-cta-arrow {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--green-light);
    color: var(--green-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    transition: transform .3s, background .3s, color .3s;
}
.historia-cta:hover .historia-cta-arrow {
    background: var(--green-deep);
    color: white;
    transform: translateX(4px);
}

/* =============================================
   GRID DE MOMENTOS FELIZES
   (masonry: cada foto mantém sua proporção
   original, sem cortar nada)
============================================= */
.momentos-grid {
    columns: 4 250px;
    column-gap: 22px;
}

.momento-item {
    display: inline-block;
    width: 100%;
    break-inside: avoid;
    margin-bottom: 22px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #c8ede5, #a8d8cf);
    box-shadow: var(--shadow-sm);
    transition: transform .35s cubic-bezier(.22,.68,0,1.2), box-shadow .35s;
}
.momento-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.momento-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .5s ease;
}
.momento-item:hover img { transform: scale(1.04); }

/* moldurinha sutil ao redor da foto, no espírito do site */
.momento-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
    pointer-events: none;
}

/* legenda opcional sobre a foto (funciona mesmo sem legenda) */
.momento-legenda {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 22px 16px 14px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: .85rem;
    font-weight: 600;
    background: linear-gradient(transparent, rgba(10,30,25,.78));
}

/* estado sem imagem: ícone no lugar da foto */
.momento-item.vazio {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-deep);
    font-size: 2.6rem;
}

@media (max-width: 900px) {
    .momentos-grid { columns: 2 200px; }
}
@media (max-width: 500px) {
    .momentos-grid { columns: 1; }
}

.momento-item img { cursor: zoom-in; }

/* =============================================
   LIGHTBOX (foto ampliada ao clicar)
============================================= */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 18, .90);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 40px 20px;
    animation: fadeInLightbox .25s ease;
}
.lightbox-overlay.active { display: flex; }

@keyframes fadeInLightbox {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lightbox-img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: var(--radius);
    box-shadow: 0 20px 70px rgba(0,0,0,.5);
    animation: zoomInLightbox .25s ease;
}

@keyframes zoomInLightbox {
    from { transform: scale(.92); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: fixed;
    top: 22px;
    right: 26px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    color: white;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.lightbox-close:hover {
    background: rgba(255,255,255,.22);
    transform: rotate(90deg);
}

@media (max-width: 500px) {
    .lightbox-close { top: 14px; right: 14px; width: 40px; height: 40px; }
}

/* Fotos da Casa de Apoio clicáveis (lightbox) */
.casa-foto { cursor: zoom-in; }