/* Variáveis para Cores e Fontes (Ajuste conforme a imagem) */
:root {
    --primary-color: #007bff; /* Azul forte para botões de doação */
    --secondary-color: #f7a01a; /* Laranja para destaque (Vozes da Esperança) */
    --text-color: #333;
    --light-text-color: #666;
    --background-light: #f4f4f4;
    --background-dark: #1f3a5f; /* Azul escuro do rodapé */
    --white: #fff;
    --font-heading: 'Arial', sans-serif; /* Substitua pela fonte real, ex: 'Roboto', sans-serif; */
    --font-body: 'Helvetica', sans-serif;  /* Substitua pela fonte real */
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
    .hero-section {
        background-image: url('assets/img-inicio-hero.png');
        background-size: contain;
        background-position: center top;
        background-repeat: no-repeat;
        background-attachment: scroll;
        font-family: var(--font-heading);
        width: 100%;
        aspect-ratio: 1775 / 914;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

ul {
    list-style: none;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--text-color);
    text-align: center;
    margin-bottom: 1rem;
}

/* Estilo Básico para Botões (CTAs) */
.btn-primary,
.btn-secondary,
.btn-primary-inverted {
    padding: 10px 25px; /* 10px vertical, 25px horizontal */
    border-radius: 999px; /* Cantos totalmente arredondados (pill) */
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #0056b3; /* Tom mais escuro */
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
}

.btn-secondary:hover {
    /* leve escurecimento no hover */
    background-color: #df8f15;
}

.btn-primary-inverted {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 5px;
}

.btn-primary-inverted:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ---------------------------------- */
/* 2. Seção da Missão (Hero) */
/* ---------------------------------- */
.hero-section {
    margin: 0 auto;
    padding: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    background-color: var(--white); /* fundo branco conforme pedido */
    border-radius: 10px; /* cantos arredondados */
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(31, 61, 122, 0.06); /* sombra leve para destaque */
}

.hero-image {
    width: 50%;
    height: auto;
    object-fit: cover;
    display: block;
}

.mission-text {
    width: 50%;
    padding: 50px;
    text-align: right; /* Alinha título e parágrafo à direita */
}

.mission-text h1 {
    text-align: right;
    color: var(--background-dark);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.mission-text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end; /* Alinha os botões à direita */
}


/* ---------------------------------- */
/* 3. Seção Como Ajudar? */
/* ---------------------------------- */
.how-to-help-section {
    max-width: 1440px;
    margin: 80px auto;
    padding: 0 clamp(16px, 5vw, 60px);
}

.how-to-help-section h2 {
    color: #3557A4;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.help-container {
    display: grid;
    grid-template-columns: 1.35fr 1.15fr 1.8fr;
    column-gap: clamp(36px, 5.5vw, 80px);
    row-gap: clamp(32px, 6vw, 64px);
    align-items: stretch;
}

.help-text {
    grid-column: 1 / span 2;
    padding-right: clamp(20px, 4.5vw, 48px);
    font-size: 1.25rem;
    color: #154763;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.help-text p {
    margin-bottom: 0;
}

.help-text p + p {
    margin-top: clamp(16px, 2.5vw, 28px);
}

.help-image {
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: auto;
}

.help-image img {
    width: min(100%, 960px);
    height: auto;
    border-radius: 20px;
    display: block;
    object-fit: contain;
    box-shadow: 0 20px 40px rgba(21, 71, 99, 0.18);
}

/* ---------------------------------- */
/* 4. Seção Quem Somos */
/* ---------------------------------- */
.about-us-section {
    max-width: 1440px;
    margin: 80px auto;
    padding: 0 clamp(16px, 5vw, 60px);
}

.about-us-section h2 {
    color: #3557A4;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.about-us-container {
    display: flex;
    justify-content: center;
}

.about-us-content {
    max-width: 900px;
    font-size: 1.25rem;
    color: #154763;
    line-height: 1.6;
}

.about-us-content p {
    margin-bottom: 0;
}

.about-us-content p + p {
    margin-top: clamp(16px, 2.5vw, 28px);
}

@media (max-width: 768px) {
    .about-us-content {
        font-size: 1.15rem;
    }
}

/* ---------------------------------- */
/* 5. Seção Estatísticas */
/* ---------------------------------- */
.statistics-section {
    background-color: var(--white); /* Pode ser branco ou um cinza sutil */
    padding: 60px 20px;
    text-align: center;
}

.statistics-section h2 {
    color: #3557A4;
    font-size: 4rem;
    margin-bottom: 50px;
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-bottom: 20px; /* Espaço antes da linha */
}

.stat-item {
    padding: 32px 28px;
}

.stat-number {
    font-size: clamp(6rem, 10vw, 7.5rem);
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item:nth-child(1) .stat-number {
    color: #EC6D03;
    font-size: clamp(7.5rem, 10vw, 7.5rem);
}

.stat-item:nth-child(2) .stat-number {
    color: #154763;
    font-size: clamp(7.5rem, 10vw, 7.5rem);
}

.stat-item:nth-child(3) .stat-number {
    color: #188AD3;
    font-size: clamp(7.5rem, 10vw, 7.5rem);
}

.stat-description {
    font-size: 3rem;
    color: #3557A4;
    line-height: 1.2;
}

.goals-line {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    position: relative;
    border-top: 3px solid #ccc; /* Linha horizontal para metas */
}

.goals-line h3 {
    background-color: var(--white); /* Fundo branco para o texto ficar sobre a linha */
    display: inline-block;
    padding: 0 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
}

/* ---------------------------------- */
/* 6. Seção Testemunhos */
/* ---------------------------------- */
/* .testimonials-section {
    padding: 60px 20px;
    background-color: #EB6C18;
    text-align: center;
}

.testimonials-section h2 {
    color: var(--white); 
    font-size: 2rem;
}

.testimonials-section .subtitle {
    margin-bottom: 40px;
    color: var(--white);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
                bottom: calc(55px + 70px + 36px);
                left: 50%;
                padding: 20px 18px 24px;
    text-align: left;
    position: relative;
}

.testimonial-card blockquote {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-card .author {

    font-weight: bold;
    color: var(--background-dark);
}
        margin: 18px 0 10px 0;
.testimonial-card .role {
    font-size: 0.9rem;
    color: var(--light-text-color);
}

.testimonial-card::before,
.testimonial-card::after {
    content: '”'; 
    font-size: 4rem;
    color: var(--secondary-color);
    position: absolute;
    content: none;
    top: 10px;
    left: 10px;
}

.testimonial-card::after {
    content: '”';
    bottom: 10px;
    right: 10px;
} */

.testimonials-section {
  padding: 60px 20px;
  background-color: #eb6c18;
  text-align: center;
  color: white;
  overflow: hidden;
    font-family: 'Outfit', sans-serif;
}

.testimonials-section h2 {
    font-size: 4rem;
    font-weight: 700;
}

.testimonials-section .subtitle {
    margin-bottom: 40px;
    font-size: 1.5rem;
}

.carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-carousel {
  display: flex;
  gap: 30px;
  overflow: hidden;
  scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 10px 4px;
}

.testimonial-card {
    background-color: white;
    color: #154763;
    border-radius: 1.5rem;
                padding: 1.8rem 1.6rem 1.8rem;
                flex: 0 0 calc((100% - 60px) / 3);
                max-width: calc((100% - 60px) / 3);
    box-shadow: 0 2px 16px 0 rgba(24, 55, 126, 0.12);
        text-align: left;
    position: relative;
                scroll-snap-align: center;
                overflow: hidden;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    min-height: 140px;
}

.testimonial-card::before,
.testimonial-card::after {
        font-size: clamp(3.5rem, 4.5vw, 4rem);
        font-weight: 700;
                position: absolute;
                pointer-events: none;
        color: #18377E;
        text-shadow: 0 0 12px rgba(24, 55, 126, 0.45);
}

.testimonial-card::before {
    content: '“';
        top: 10px;
        left: 16px;
}

/* .testimonial-card::after {
    content: '”';
        bottom: 22px;
        left: 50%;
        transform: translateX(-50%);
} */

.testimonial-card blockquote {
  font-style: italic;
        margin: 0;
    line-height: 1.25;
        position: relative;
        z-index: 1;
        text-align: center;
    color: #154763;
    align-self: center;
    max-width: 92%;
}

.testimonial-card blockquote p {
    text-indent: 18px;
}

.testimonial-card blockquote::after {
    content: '"';
    display: block;
    margin-top: 0;
    text-align: right;
    font-size: clamp(3.5rem, 4.5vw, 4rem);
    color: #18377E;
    font-weight: 700;
    text-shadow: 0 0 12px rgba(24, 55, 126, 0.45);
}

.testimonial-card.orange::before {
    color: #ec6d03;
    text-shadow: 0 0 10px rgba(236, 109, 3, 0.4);
}

.testimonial-card.orange blockquote::after {
    color: #ec6d03;
    text-shadow: 0 0 10px rgba(236, 109, 3, 0.4);
}

.avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
        position: relative;
        z-index: 1;
        margin: 0;
        align-self: flex-start;
}

.author {
    font-weight: bold;
    color: #154763;
        position: relative;
        z-index: 1;
                margin: 0;
    font-size: 1.1rem;
}

.role {
    font-size: 0.95rem;
    color: rgba(21, 71, 99, 0.75);
        position: relative;
        z-index: 1;
    margin: 0;
}

/* Responsividade */
@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc((100% - 30px) / 2);
        max-width: calc((100% - 30px) / 2);
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 85%;
        max-width: 85%;
    }
}


/* ---------------------------------- */
/* 7. Rodapé (Footer) */
/* ---------------------------------- */
.main-footer {
    background-color: var(--background-dark);
    color: var(--white);
    padding: 40px 20px 10px;
}

.footer-content {
    max-width: 1320px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 colunas */
    gap: 80px;
}

.footer-columns {
    width: 100%;
    gap: clamp(32px, 4vw, 64px) !important;
}

@media (min-width: 768px) {
    .footer-columns {
        grid-template-columns: repeat(3, minmax(220px, 1fr)) !important;
    }
}

@media (min-width: 1024px) {
    .footer-columns {
        grid-template-columns: repeat(5, minmax(220px, 1fr)) !important;
    }
}

.footer-content h3 {
    color: var(--white);
    text-align: left;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--white); /* Linhas embaixo dos títulos */
    padding-bottom: 5px;
    font-size: 1.1rem;
}

.footer-content p, 
.footer-content a,
.footer-content address {
    font-size: 0.9rem;
    color: var(--white);
    margin-bottom: 5px;
}

.footer-content a:hover {
    text-decoration: underline;
}

.social-media img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 5px;
}

.about-us {
    grid-column: span 2; /* Ocupa 2 colunas */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.footer-bottom img {
    height: 30px; /* Ajuste o tamanho dos logos conforme necessário */
}

/* ---------------------------------- */
/* Responsividade (Ajustes para Mobile/Tablet) */
/* ---------------------------------- */

@media (max-width: 1023px) {
    .navbar {
        justify-content: space-between;
    }
    /* Esconder links quando a tela for menor que 1024px */
    .nav-links {
            margin: 0 0 10px 0;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-image, .mission-text {
        width: 100%;
        padding: 30px;
    }
    .cta-buttons {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .about-us {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .help-container {
        display: flex;
        flex-direction: column-reverse;
        gap: 36px;
    }
    .help-text {
        padding-right: 0;
        font-size: 1.25rem;
    }
    .stats-container, 
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .about-us {
        grid-column: span 1;
    }
}

/* --- Moved from inline <style> in index.html: statistics section styles --- */
:root {
    --background-light: #f9f9f9;
    --background-dark: #18377E;
    --secondary-color: #EB6C18;
    --secondary-color-light: #f9cfa2;
}

.statistics-section {
    background: var(--background-light);
    padding: 64px 0 48px 0;
    position: relative;
    overflow: visible;
}

.statistics-section h2 {
    color: #3557A4;
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3.5rem;
    letter-spacing: -1px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
    max-width: 1440px;
    margin: 0 auto 2.5rem auto;
}

.stat-item {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 2px 16px 0 rgba(24, 55, 126, 0.12);
    padding: 2.8rem 2.2rem 2.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 180px;
}

.stat-number {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 800;
    line-height: 1.05;
    font-size: clamp(4.8rem, 8vw, 6rem);
    margin-bottom: 1rem;
}

.stat-item:nth-child(1) .stat-number {
    color: #EC6D03;
    font-size: clamp(5.6rem, 8.5vw, 6.2rem);
}

.stat-item:nth-child(2) .stat-number {
    color: #154763;
    font-size: clamp(5.6rem, 8.5vw, 6.2rem);
}

.stat-item:nth-child(3) .stat-number {
    color: #188AD3;
    font-size: clamp(5.6rem, 8.5vw, 6.2rem);
}

.stat-description {
    color: #3557A4;
    font-size: clamp(1.8rem, 3.2vw, 2.3rem);
    font-weight: 600;
    text-align: center;
    font-family: 'Inter', sans-serif;
    line-height: 1.25;
    max-width: 28ch;
}

.goals-line {
    margin: 0 auto;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.goals-line h3 {
    color: var(--background-dark);
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.2rem;
    letter-spacing: 0.5px;
    font-family: 'Outfit', 'Inter', sans-serif;
}

.goals-bar-container {
    width: 100%;
    height: 18px;
    background: #fff;
    border: 2px solid var(--secondary-color-light);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    margin-top: 0.2rem;
}

.goals-bar {
    background: var(--secondary-color);
    height: 100%;
    width: 60%;
    border-radius: 999px;
    transition: width 0.6s cubic-bezier(.4, 1, .7, 1);
}

/* Decorativos: círculos outline nas laterais */
.statistics-section::before,
.statistics-section::after {
    content: "";
    position: absolute;
    top: 40px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid;
    z-index: 1;
    pointer-events: none;
}

.statistics-section::before {
    left: -28px;
    border-color: var(--background-dark);
    opacity: 0.18;
}

.statistics-section::after {
    right: -28px;
    border-color: var(--secondary-color);
    opacity: 0.18;
}

@media (max-width: 900px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .statistics-section::before,
    .statistics-section::after {
        display: none;
    }
}

/* Hero section background image + font moved from inline style
    Ajustado para imagem 1920x1060: usa aspect-ratio e largura 100% (removido width:120%) */
.hero-section {
    background-image: url('assets/img-inicio-hero.png');
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    font-family: var(--font-heading);
    width: 100%;
    aspect-ratio: 1775 / 914;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section .hero-content-wrapper {
    width: 100%;
    max-width: 1400px;
    padding: clamp(32px, 6vw, 96px) 32px clamp(40px, 8vw, 120px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(16px, 4vw, 48px);
}

.hero-section .hero-card {
    width: 100%;
    max-width: 620px;
    margin: 0;
    margin-left: clamp(16px, 6vw, 64px);
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 3vw, 32px);
    text-align: left;
    align-items: flex-start;
    grid-column: 3 / 5;
}

.hero-section .hero-card h1 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.6rem, 8vw, 90px);
    font-weight: 700;
    color: #18377E;
    line-height: 1.05;
}

.hero-section .hero-card p {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.15rem, 3vw, 24px);
    color: #32579C;
    max-width: 560px;
    line-height: 1.5;
    text-align: left;
}

.hero-section .hero-card .cta-group {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-start;
}

.hero-section .hero-card .cta-group a {
    min-width: 210px;
    padding: clamp(12px, 2vw, 20px) clamp(28px, 4vw, 40px);
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    text-align: center;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-section {
        aspect-ratio: auto;
        padding: 48px 0 80px;
    }

    .hero-section .hero-content-wrapper {
        padding: 32px 20px 72px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-section .hero-card {
        align-items: flex-start;
        text-align: left;
        grid-column: auto;
        margin-left: 0;
    }

    .hero-section .hero-card p {
        text-align: left;
    }

    .hero-section .hero-card .cta-group {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .hero-section .hero-card {
        gap: 16px;
    }

    .hero-section .hero-card h1 {
        font-size: clamp(2.1rem, 9vw, 2.8rem);
        line-height: 1.1;
        word-break: keep-all;
    }

    .hero-section .hero-card p {
        font-size: clamp(1rem, 4.8vw, 1.15rem);
        max-width: 100%;
    }

    .hero-section .hero-card .cta-group a {
        min-width: 0;
        flex: 1 1 100%;
    }
}


:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;
}