:root {
    --primary-color: #004D25;
    /* Verde Bandeira Profundo - Mais sóbrio e premium */
    --primary-light: #006b3c;
    /* Variação mais clara para hovers */
    --secondary-color: #FFFFFF;
    --text-color: #1F2937;
    /* Cinza escuro suave */
    --text-light: #6B7280;
    /* Cinza médio para textos secundários */
    --accent-color: #00E676;
    /* Verde vibrante para destaques */
    --light-bg: #F3F4F6;
    /* Fundo cinza muito claro */
    --dark-bg: #111827;
    /* Quase preto para contrastes fortes */
    --font-main: 'Inter', sans-serif;
    --transition-speed: 0.3s;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    /* Melhor renderização de fonte */
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.9);
    /* Transparência para efeito vidro */
    backdrop-filter: blur(10px);
    /* Efeito de vidro fosco */
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-color);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-speed);
}

.logo-container img {
    height: 40px;
    /* Mais discreto e elegante */
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: color var(--transition-speed);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: width var(--transition-speed);
}

nav a:hover {
    color: var(--primary-color);
}

nav a:hover::after {
    width: 100%;
}

/* Hero Video */
.hero-video {
    position: relative;
    height: 90vh;
    width: 100%;
    margin-top: -76px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

#bgVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Tom escuro para visibilidade */
    z-index: -1;
}

.hero-content {
    z-index: 10;
    max-width: 900px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.btn-outline {
    background: transparent !important;
    border: 2px solid var(--accent-color) !important;
    color: var(--accent-color) !important;
    box-shadow: none !important;
}

.btn-outline:hover {
    background: var(--accent-color) !important;
    color: var(--primary-color) !important;
}

.fade-in {
    animation: fadeIn 1.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Slider (Legacy - mantenha se quiser usar em outras páginas, mas oculto aqui) */
.hero-slider {
    position: relative;
    height: 90vh;
    /* Mais imersivo */
    overflow: hidden;
    width: 100%;
    margin-top: -76px;
    /* Para ficar atrás do header transparente (ajustar conforme altura do header) */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 77, 37, 0.4) 100%);
    /* Gradiente mais moderno */
    z-index: 1;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 900px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease-out 0.4s;
    /* Delay para entrar depois do slide */
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    /* Arredondado moderno */
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-speed);
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.3);
}

.btn:hover {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 230, 118, 0.4);
}

/* Highlight Cards */
.highlights {
    padding: 6rem 5%;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: -100px;
    /* Sobreposição interessante */
    position: relative;
    z-index: 10;
    flex-wrap: wrap;
}

.card {
    background: var(--secondary-color);
    color: var(--text-color);
    padding: 3rem 2rem;
    border-radius: 20px;
    width: 320px;
    /* Um pouco mais largo */
    text-align: left;
    /* Alinhamento à esquerda é mais moderno para leitura */
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    background: rgba(0, 230, 118, 0.1);
    /* Fundo sutil no ícone */
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: #e5e7eb;
    padding: 5rem 5% 2rem;
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    border-top: 5px solid var(--accent-color);
    justify-content: center;
    /* Centraliza os blocos do footer */
    text-align: center;
    /* Centraliza o texto dentro dos blocos */
}

.footer-section {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    /* Limita a largura para não ficar muito espalhado */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centraliza itens flexíveis (como ícones sociais se houver) */
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: color var(--transition-speed);
    display: inline-block;
}

.footer-section a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
    /* Pequeno movimento ao hover */
}

.social-icons {
    margin-top: 1.5rem;
}

.social-icons a {
    font-size: 1.2rem;
    margin-right: 1.5rem;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
}

.social-icons a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        background-color: var(--secondary-color);
        /* Fundo sólido no mobile para legibilidade */
        padding: 1rem;
    }

    .hero-sliderContainer {
        margin-top: 0;
        /* Remove margem negativa no mobile */
    }

    nav ul {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .slide-content h2 {
        font-size: 2.2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .highlights {
        margin-top: -50px;
        padding: 3rem 5%;
    }

    .card {
        width: 100%;
    }
}