@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Open+Sans:wght@400;600;700&display=swap');

/* ============================================
   RESET & GLOBAIS
   ============================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: 'Open Sans', 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #2c3e2c;
}

body {
    margin: 0;
    background-color: #f4f6f4;
}

a {
    color: #2d6a4f;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #1b3a2d;
    text-decoration: underline;
}

h1, h2, h3, h4 {
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 700;
    color: #1b3a2d;
    line-height: 1.3;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: 1110px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background-color: #1b3a2d;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.navbar-container {
    max-width: 1110px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-logo a {
    color: white;
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.navbar-logo a:hover {
    color: #a8d5a2;
    text-decoration: none;
}

.navbar-logo .logo-icon {
    font-size: 1.5rem;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.navbar-menu li a {
    color: #d4e8d0;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.navbar-menu li a:hover {
    background: rgba(255,255,255,0.12);
    color: white;
    text-decoration: none;
}

.navbar-menu li a.nav-active {
    background: rgba(255,255,255,0.15);
    color: white;
}

.navbar-btn {
    background-color: #3d7b40;
    color: white !important;
    padding: 8px 18px !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    transition: background-color 0.2s !important;
}

.navbar-btn:hover {
    background-color: #2d6630 !important;
    color: white !important;
}

/* Navbar Mobile Toggle */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* ============================================
   BOTÕES GLOBAIS
   ============================================ */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.1s;
    text-align: center;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-primary {
    background-color: #3d7b40;
    color: white;
}

.btn-primary:hover {
    background-color: #2d6630;
    color: white;
}

.btn-secondary {
    background-color: #7a8b3a;
    color: white;
}

.btn-secondary:hover {
    background-color: #636f2e;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: #2d6a4f;
    border: 2px solid #2d6a4f;
}

.btn-outline:hover {
    background-color: #2d6a4f;
    color: white;
}

/* ============================================
   BADGES / CATEGORIAS
   ============================================ */
.badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
    color: white;
}

.badge-green {
    background-color: #2d6a4f;
}

.badge-olive {
    background-color: #7a8b3a;
}

.badge-dark {
    background-color: #1b3a2d;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: #1b3a2d;
    color: #c8d8c4;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1110px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    color: #a8d5a2;
    font-size: 1rem;
    margin-bottom: 15px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #c8d8c4;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: white;
    text-decoration: underline;
}

.footer-col p {
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer-bottom {
    max-width: 1110px;
    margin: 30px auto 0;
    padding: 15px 15px 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    font-size: 0.8rem;
    color: #8aaa84;
}

/* ============================================
   UTILITÁRIOS
   ============================================ */
.text-center { text-align: center; }
.text-muted { color: #5a6b5a; }
.text-small { font-size: 0.8rem; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 768px) {
    .navbar-toggle {
        display: block;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #1b3a2d;
        flex-direction: column;
        padding: 10px 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu li a {
        padding: 12px 20px;
        width: 100%;
    }

    .footer-container {
        flex-direction: column;
        gap: 25px;
    }

    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.3rem; }
}
