/* GAPP - Landing Page - Pontos e Pontões da Cultura Viva */

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

:root {
    --verde-profundo: #2d4a2b;
    --verde-terra: #3a5f3a;
    --verde-claro: #4a7c47;
    --ocre-argila: #c19a6b;
    --ocre-escuro: #a67c52;
    --off-white: #faf8f5;
    --preto-suave: #2c2c2c;
    --cinza-texto: #555;
    --cinza-bg: #f0ede8;
    --sombra: rgba(0, 0, 0, 0.08);
    --sombra-hover: rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--preto-suave);
    background: var(--off-white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header - transparente sobre o hero para a imagem aparecer */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

/* Após rolar a página, navbar com fundo sólido para legibilidade */
.header.is-scrolled {
    background: rgba(250, 248, 245, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px var(--sombra);
}

.header.is-scrolled .logo {
    color: var(--verde-profundo);
    text-shadow: none;
}

.header.is-scrolled .logo:hover {
    color: var(--verde-terra);
}

.header.is-scrolled .nav a {
    color: var(--preto-suave);
    text-shadow: none;
    background: transparent;
}

.header.is-scrolled .nav a:hover {
    color: var(--verde-terra);
    background: rgba(193, 154, 107, 0.1);
    box-shadow: none;
}

.header.is-scrolled .nav-toggle {
    color: var(--verde-profundo);
    text-shadow: none;
}

.header.is-scrolled .nav-toggle:hover {
    background: rgba(193, 154, 107, 0.15);
}

.header.is-scrolled .btn-outline {
    color: var(--verde-profundo);
    border-color: var(--verde-profundo);
    background: transparent;
    text-shadow: none;
}

.header.is-scrolled .btn-outline:hover {
    background: var(--verde-profundo);
    color: #fff;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.4);
}

.logo:hover {
    color: rgba(255, 255, 255, 0.9);
}

.nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6), 0 0 12px rgba(0,0,0,0.4);
    background: rgba(0, 0, 0, 0.2);
}

.nav a:hover {
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.nav-toggle {
    display: none;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
    padding: 0.5rem;
    border-radius: 8px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6), 0 0 8px rgba(0,0,0,0.4);
}

.nav-toggle:hover {
    background: rgba(0, 0, 0, 0.4);
}

/* Botão da navbar sobre o hero: mesmo destaque dos outros links */
.nav .btn-outline {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 2px rgba(0,0,0,0.6), 0 0 12px rgba(0,0,0,0.4);
}

.nav .btn-outline:hover {
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--ocre-argila), var(--ocre-escuro));
    color: #fff;
    box-shadow: 0 4px 14px rgba(193, 154, 107, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 154, 107, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--verde-profundo);
    border-color: var(--verde-profundo);
}

.btn-secondary:hover {
    background: var(--verde-profundo);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.9);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--verde-profundo);
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1rem;
}

/* Hero - imagem preenche toda a área inclusive atrás da navbar */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
    padding: 0;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    padding: 0.35rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.95);
    max-width: 720px;
    margin: 0 auto 1rem;
    font-weight: 500;
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.hero-actions .btn-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.8);
}

.hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--verde-profundo);
}

/* Sections */
.section {
    padding: 4rem 0;
}

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

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 600;
    color: var(--verde-profundo);
    margin-bottom: 2rem;
    text-align: center;
}

.text-center .section-title {
    margin-bottom: 1rem;
}

/* Recursos: imagem preenche toda a seção */
.section-recursos {
    padding: 0;
    overflow: hidden;
}

.recursos-image {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

/* O que é */
.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.col-text p {
    margin-bottom: 1.25rem;
    color: var(--cinza-texto);
    max-width: 52ch;
}

.col-text strong {
    color: var(--verde-terra);
}

.card-highlight {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 8px 30px var(--sombra);
    border: 1px solid rgba(45, 74, 43, 0.08);
}

.card-highlight h3 {
    font-size: 1.15rem;
    color: var(--verde-profundo);
    margin-bottom: 1rem;
}

.list-check {
    list-style: none;
}

.list-check li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    color: var(--preto-suave);
}

.list-check li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--verde-terra);
    font-weight: 700;
}

/* Grid cards - Recursos */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #fff;
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px var(--sombra);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--sombra-hover);
}

.card h3 {
    font-size: 1.1rem;
    color: var(--verde-profundo);
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.95rem;
    color: var(--cinza-texto);
    margin: 0;
    line-height: 1.5;
}

.card-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    background: rgba(45, 74, 43, 0.1);
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Benefícios */
.benefits-list {
    list-style: none;
    max-width: 640px;
    margin: 0 auto;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(45, 74, 43, 0.08);
    font-size: 1.05rem;
    color: var(--preto-suave);
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefit-icon {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    background: var(--verde-terra);
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* CTA */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--verde-profundo) 0%, var(--verde-terra) 100%);
    color: #fff;
}

.cta-section .container {
    text-align: center;
}

.cta-section .section-title {
    color: #fff;
}

.cta-desc {
    max-width: 560px;
    margin: 0 auto 1.5rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
}

.cta-section .btn-primary {
    background: #fff;
    color: var(--verde-profundo);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-primary:hover {
    background: var(--off-white);
    color: var(--verde-profundo);
}

/* Footer */
.footer {
    background: var(--preto-suave);
    color: rgba(255, 255, 255, 0.85);
    padding: 2rem 0;
}

.footer-inner {
    text-align: center;
}

.footer-brand {
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.35rem;
}

.footer-org {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer a {
    color: var(--ocre-argila);
    text-decoration: none;
}

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

/* Responsivo */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 300px;
        height: 100vh;
        background: var(--off-white);
        box-shadow: -4px 0 24px var(--sombra);
        padding: 4rem 1.5rem 2rem;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav.is-open {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }

    .nav a {
        display: block;
        padding: 0.85rem 1rem;
    }

    .two-cols {
        grid-template-columns: 1fr;
    }

    .col-text p {
        max-width: none;
    }

    .hero {
        min-height: auto;
        padding: 6rem 0 3rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }

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

/* Acessibilidade */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--ocre-argila);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
