/* Agosto Dourado - estilos principais */
:root {
    --gold-500: #FFD700;
    --gold-700: #c9a000;
    --bg: #ffffff;
    --muted: #f8f1e6;
    --text: #222222;
    --max-width: 1100px;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: 'Poppins', system-ui, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased
}

/* Fundo gradiente para página história (removido) */
body.historia-page {
    /* gradiente removido por solicitação do usuário; usa fundo padrão do site */
    background: none;
    color: var(--text);
}

/* Títulos da página causa */
body .page-hero h1 {
    color: var(--gold-500);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center
}

/* Layout base */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh
}

main {
    flex: 1 0 auto
}

/* Footer */
.site-footer {
    flex-shrink: 0;
    margin-top: auto;
    padding: 24px 0;
    background: #111827;
    color: #fff
}

/* Imagens responsivas */
.img-feature {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin: 24px auto;
    display: block
}

/* Imagem centralizada com estilo especial */
.image-center {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    padding: 1rem
}

.feature-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.feature-image:hover {
    transform: scale(1.02)
}

/* Layout de benefícios */
.benefits-section {
    padding: 3rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background: rgba(255, 215, 0, 0.05);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.benefit-card h3 {
    color: var(--gold-700);
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.benefit-card ul {
    margin: 0;
    padding-left: 1.5rem;
}

.benefit-card li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Estilos para a página de campanhas */
.campaigns-section {
    padding: 3rem 0;
}

.campaign-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.campaign-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 215, 0, 0.1));
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.campaign-card:hover {
    transform: translateY(-5px);
}

.campaign-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.campaign-highlights {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.campaign-highlights li {
    padding: 0.5rem 0;
    margin: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Estilos para a página de doação */
.donation-section {
    padding: 3rem 0;
}

.donation-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.2));
    padding: 2rem;
    border-radius: 20px;
}

.donation-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.donation-cta {
    text-align: center;
    padding: 2rem;
}

.cta-button {
    display: inline-block;
    background: var(--gold-500);
    color: var(--text);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.donation-steps {
    margin-top: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: var(--gold-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .donation-hero {
        grid-template-columns: 1fr;
    }

    .campaign-cards,
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* Grid de 2 colunas para imagens */
.img-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 24px 0
}

.img-grid img {
    width: 100%;
    border-radius: 10px;
    aspect-ratio: 16/9;
    object-fit: cover
}

/* Carrossel responsivo */
.hero {
    position: relative;
    overflow: hidden;
    height: clamp(320px, 62vh, 640px)
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0
}

/* Touch support */
@media(hover: none) {

    .hero-prev,
    .hero-next {
        padding: 16px;
        background: rgba(255, 255, 255, 0.95)
    }

    .hero-slide {
        touch-action: pan-y pinch-zoom
    }
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem
}

/* Header */
.site-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(6px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04)
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.logo {
    font-family: 'Playfair Display', serif;
    color: var(--gold-700);
    font-size: 1.25rem;
    font-weight: 700
}

.nav {
    display: flex;
    gap: 14px
}

.nav a {
    color: var(--text);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 6px
}

.nav a:hover {
    background: var(--muted);
    color: var(--gold-700)
}

/* Hero com imagem fixa */
.hero {
    position: relative;
    overflow: hidden;
    height: 62vh;
    min-height: 320px;
    color: #fff
}

.hero-fixed {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.45));
}

.hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin: 0 0 .5rem;
    color: var(--gold-500);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35)
}

.hero p {
    margin: 0;
    font-size: 1.1rem
}

/* Simple fade animation cycling slides */
@keyframes slideFade {
    0% {
        opacity: 1
    }

    33% {
        opacity: 0
    }

    66% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

.hero-slide {
    opacity: 0;
    transition: opacity .8s ease;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    position: relative
}

.hero-slide .hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0
}

.hero-slide .hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem
}

/* Quick CTA boxes */
.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: -36px;
    position: relative;
    z-index: 10
}

.cta {
    background: linear-gradient(180deg, var(--muted), #fff);
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06)
}

.cta .icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700
}

.cta h3 {
    margin: 0;
    font-size: 1rem
}

/* Content sections */
section {
    padding: 56px 0
}

.section-intro {
    background: var(--muted)
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start
}

@media(max-width:880px) {
    .two-col {
        grid-template-columns: 1fr
    }

    .hero {
        height: 48vh
    }

    .hero h1 {
        font-size: 1.6rem
    }
}

/* Footer */
.site-footer {
    background: #111827;
    color: #fff;
    padding: 24px 0
}

.site-footer .container {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.social {
    display: flex;
    gap: 10px
}

.social a {
    color: var(--gold-500);
    text-decoration: none
}

.footer-note {
    opacity: 0.9;
    font-size: 0.95rem
}

/* Utilities */
.kicker {
    display: inline-block;
    background: rgba(255, 215, 0, 0.09);
    color: var(--gold-700);
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 600
}

.lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333
}

.btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--gold-500);
    color: #111;
    font-weight: 700;
    text-decoration: none
}

.card {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    border: 1px solid rgba(0, 0, 0, 0.04)
}

.stat {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--gold-700)
}

/* small screens */
@media(max-width:560px) {
    .nav {
        display: none
    }

    .logo {
        font-size: 1rem
    }
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--gold-500);
    color: var(--gold-700);
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 700
}

@media(max-width:760px) {
    .nav-toggle {
        display: inline-block
    }

    .nav {
        display: none;
        position: absolute;
        top: 68px;
        right: 16px;
        background: #fff;
        padding: 12px;
        border-radius: 10px;
        flex-direction: column;
        gap: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        min-width: 200px
    }

    .nav.open {
        display: flex
    }

    .nav a {
        padding: 8px 10px
    }
}


/* Carousel controls */
.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 26px;
    color: var(--gold-700);
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.hero-prev {
    left: 16px;
}

.hero-next {
    right: 16px;
}

@media(max-width:760px) {

    .hero-prev,
    .hero-next {
        display: none;
    }
}

/* Page hero for secondary pages */
.page-hero {
    padding: 48px 0;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.03), rgba(255, 255, 255, 0));
    border-bottom: 1px solid rgba(0, 0, 0, 0.04)
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    color: var(--gold-500);
    font-size: 2rem;
    margin: 0
}

.page-hero p {
    color: #444;
    margin-top: 8px
}

/* Section headings */
h2 {
    color: var(--gold-700);
    font-family: 'Playfair Display', serif;
    margin-top: 0
}

h3 {
    color: var(--gold-700);
    margin-bottom: 6px
}

/* Lists with gold bullets */
ul {
    padding-left: 1.1rem
}

ul li {
    margin: 8px 0;
    position: relative;
    padding-left: 14px
}

ul li:before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gold-500);
    display: inline-block;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 10px
}

/* Card & content polish */
.card {
    transition: transform .18s ease, box-shadow .18s ease
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09)
}

/* Navigation polish */
.nav a {
    font-weight: 600;
    color: rgba(0, 0, 0, 0.75)
}

.nav a.active {
    color: var(--gold-700);
    background: transparent
}

/* Footer adjustments */
.site-footer {
    background: #0b0b0b;
    color: #eee
}

.site-footer .container {
    flex-direction: row;
    justify-content: space-between
}

.site-footer a {
    color: var(--gold-500);
    text-decoration: none
}

/* Responsive tweaks for smaller screens */
@media(max-width:760px) {
    .site-footer .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px
    }

    .cta-grid {
        grid-template-columns: 1fr
    }
}