:root {
    --primary: #2E7D32; /* Green */
    --secondary: #1B5E20; /* Dark Green */
    --accent: #F57C00; /* Orange */
    --accent-hover: #E65100;
    --bg-light: #F9FBE7; /* Off White / Very pale green */
    --bg-dark: #FFFFFF;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 8px;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hidden {
    display: none !important;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
}

.logo img {
    height: 80px;
    display: block;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-toggle {
    display: flex;
    background: #E0E0E0;
    border-radius: 20px;
    overflow: hidden;
}

.lang-toggle button {
    background: transparent;
    border: none;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
}

.lang-toggle button.active {
    background: var(--accent);
    color: var(--white);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 120px 0;
    background: url('assets/images/caixa imagem1.jpg') no-repeat center center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(27, 94, 32, 0.75); /* Dark green overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.hero-content h1 {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content h2 {
    color: var(--accent);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #E8F5E9;
}

/* Sections General */
section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--bg-dark);
}

.section-dark {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.subtitle {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.section-header h2 {
    font-size: 2.5rem;
}

/* Flex Row / Features */
.flex-row, .flex-row-reverse {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.flex-row-reverse {
    flex-direction: row-reverse;
}

.text-content, .image-content {
    flex: 1;
}

.text-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.text-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.rounded-image {
    width: 100%;
    border-radius: var(--border-radius);
    display: block;
}

.shadow {
    box-shadow: var(--shadow-lg);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    border-top: 2px solid var(--bg-light);
    padding-top: 2rem;
}

.stat-item i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-item h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.stat-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Feature List */
.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary);
}

.feature-list i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.feature-text p {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* Table */
.table-container {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #E0E0E0;
}

th {
    background-color: var(--primary);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
}

td {
    font-size: 1rem;
    color: var(--text-main);
}

tr:nth-child(even) td {
    background-color: var(--bg-light);
}

/* Footer */
.footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 60px 0 20px 0;
}

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

.footer h2 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-logos {
    margin-top: 2rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: var(--accent);
    text-decoration: none;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    transform: translateX(30px);
}
.fade-left.active {
    transform: translateX(0);
}

.fade-right {
    transform: translateX(-30px);
}
.fade-right.active {
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 992px) {
    .flex-row, .flex-row-reverse {
        flex-direction: column;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 1rem 0;
        box-shadow: var(--shadow);
        display: none;
    }
    .nav-menu.active {
        display: block;
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 1rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content h2 {
        font-size: 1.2rem;
    }
}
