
:root {
    --primary-color: #283526;
    --secondary-color: #3a5837;
    --accent-color: #4c7b48;
    --text-color: #333;
    --light-text: #fff;
    --background-light: #f9f9f9;
    --section-bg: #fff;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --card-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-light);
}

header {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Navegação */
#main-nav {
    background: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo {
    color: var(--light-text);
    font-weight: bold;
    font-size: 1.5rem;
    display: none;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--light-text);
    font-weight: 500;
    padding: 1rem 0.5rem;
    display: block;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #a8e6a3;
    border-bottom: 2px solid #a8e6a3;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--light-text);
    margin: 3px 0;
    transition: 0.3s;
}

/* Conteúdo principal */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.section {
    margin-bottom: 4rem;
    padding: 2.5rem;
    background: var(--section-bg);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.section p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.container {
    max-width: 100%;
}

/* Seção de Documentação */
.doc-intro {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    color: #555;
}

.doc-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.doc-card {
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.doc-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.doc-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.doc-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.doc-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    color: #666;
}

.doc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.doc-btn:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.full-doc-link {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    color: white;
    position: relative;
    overflow: hidden;
}

.full-doc-link::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(30deg);
}

.pulse-icon {
    position: relative;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.pulse-icon i {
    position: relative;
    z-index: 2;
}

.pulse-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: pulse 2s infinite;
    z-index: 1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.4;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }
}

.full-doc-link h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.full-doc-link p {
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
}

.main-doc-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.main-doc-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Rodapé */
footer {
    background: var(--primary-color);
    color: var(--light-text);
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsividade */
@media (max-width: 1024px) {
    header h1 {
        font-size: 2.5rem;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
        padding: 1rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .logo {
        display: block;
    }
    
    .section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .section p {
        font-size: 1rem;
    }
    
    .doc-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1.5rem 0.5rem;
    }
    
    main {
        padding: 1rem 0.5rem;
    }
    
    .section {
        padding: 1rem;
    }
    
    .doc-card {
        padding: 1.5rem;
    }
    
    .main-doc-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}