:root {
    --pastel-green: #98C9A3;
    --black: #000000;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
}

/* Header & Navigation */
header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eee;
    position: fixed;
    width: 100%;
    top: 0;
    background-color: var(--bg-color);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    z-index: 1000;
}

header.scrolled {
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    background-color: var(--bg-color);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--black);
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--pastel-green);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 6rem;
}

.hero {
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--pastel-green);
    color: var(--black);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.2s;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    opacity: 0.9;
}

/* Articles Section */
.featured-articles {
    margin: 6rem 0;
}

.featured-articles h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.article-card {
    padding: 1.5rem;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--pastel-green);
}

.article-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--black);
    line-height: 1.4;
}

.read-more {
    color: var(--pastel-green);
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease;
    display: inline-block;
    margin-top: auto;
}

.read-more:hover {
    transform: translateX(5px);
}

.see-more-link {
    display: block;
    text-align: center;
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    margin-top: 2rem;
    transition: color 0.3s ease;
}

.see-more-link:hover {
    color: var(--pastel-green);
}

/* Footer */
footer {
    background-color: var(--pastel-green);
    color: var(--black);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: var(--black);
    text-decoration: none;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Responsive Design */
.menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 100;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    position: relative;
    transition: background 0.2s ease-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: transform 0.2s ease-out;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    bottom: -6px;
}

.menu-button.active .hamburger {
    background: transparent;
}

.menu-button.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-button.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

@media (max-width: 768px) {
    .menu-button {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease-in-out;
        z-index: 900;
    }

    .nav-links.active {
        right: 0;
        backdrop-filter: blur(5px);
        background-color: rgba(255, 255, 255, 0.85);
    }

    .nav-links a {
        margin: 1rem 0;
        font-size: 1.2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
} 

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background-color: var(--white);
    margin: 3rem -2rem;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.testimonials-carousel {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding: 0 2rem;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.testimonial-container {
    display: flex;
    transition: transform 1.2s ease-in-out;
    width: 100%;
    position: relative;
}

.testimonial-card {
    min-width: 100%;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.8s ease;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: auto;
    flex: 0 0 100%;
}

.testimonial-card:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    text-align: left;
    flex: 1;
}

.testimonial-author {
    font-weight: bold;
    color: var(--black);
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    margin-top: auto;
}

.testimonial-position {
    color: #666;
    font-size: 0.8rem;
}

.carousel-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    gap: 1rem;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background: var(--pastel-green);
} 

/* Results Section */
.results {
    padding: 4rem 0;
    margin: 2rem 0;
}

.results h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.8rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.result-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: var(--white);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.result-card h3 {
    font-size: 2.5rem;
    color: var(--pastel-green);
    margin-bottom: 1rem;
    font-weight: bold;
}

.result-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .result-card {
        padding: 1.5rem;
    }
    
    .result-card h3 {
        font-size: 2rem;
    }
} 

/* Adicionar animações suaves */
.article-card, .project-card, .expertise-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efeito de entrada para seções */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-animate {
    animation: fadeInUp 0.6s ease-out;
} 

/* Criar um container para os botões do lado direito */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Ajustar os links de navegação */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
} 

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--pastel-green);
    color: var(--black);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
    }
} 

/* Seção de Projetos em Destaque */
.featured-projects {
    margin: 6rem 0;
}

.featured-projects h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--pastel-green);
}

.project-tag {
    display: inline-block;
    background-color: var(--pastel-green);
    color: var(--black);
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.project-card p {
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    background-color: #f5f5f5;
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #666;
}

.project-link {
    color: var(--pastel-green);
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease;
    display: inline-block;
}

.project-link:hover {
    transform: translateX(5px);
}

.see-more {
    text-align: center;
    margin-top: 2rem;
}

.see-more-link {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.see-more-link:hover {
    color: var(--pastel-green);
}

@media (max-width: 768px) {
    .featured-projects {
        margin: 4rem 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
} 

/* Loading state para artigos */
.articles-grid.loading {
    position: relative;
    min-height: 200px;
}

.articles-grid.loading::after {
    content: 'Carregando artigos...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #666;
}

/* Ajustes para meta informações */
.article-meta {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-meta span {
    display: flex;
    align-items: center;
} 

.article-tag {
    display: inline-block;
    background-color: var(--pastel-green);
    color: var(--black);
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.article-card {
    padding: 1.5rem;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--black);
    line-height: 1.4;
} 