/* Base Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --text-light: #6c757d;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 20px;
}

.separator {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-primary);
}

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

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.btn-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.btn-link:hover {
    color: #2980b9;
}

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

.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
    padding: 20px 0;
}

.header.scrolled {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    font-family: var(--font-primary);
    font-weight: 500;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    max-width: 700px;
    color: white;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* Sobre Section */
.sobre-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.sobre-text {
    flex: 1;
    min-width: 300px;
}

.sobre-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.stats-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1rem;
    color: var(--text-light);
}

/* Serviços Section */
.servicos {
    background-color: var(--light-color);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.servico-card {
    background-color: white;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

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

.servico-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(52, 152, 219, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.servico-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.servico-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.servico-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-img {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px 10px 0 0;
}

.portfolio-img img {
    max-width: 100%;
    max-height: 210px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 25px;
    background-color: white;
}

.portfolio-info h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.portfolio-info p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.portfolio-btn {
    text-align: center;
    margin-top: 50px;
}

/* Parceiros Section */
.parceiros {
    background-color: var(--light-color);
}

.parceiros-slider {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.parceiro-logo {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
    text-align: center;
}

.parceiro-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Contato Section */
.contato-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contato-info {
    flex: 1;
    min-width: 300px;
}

.contato-item {
    display: flex;
    margin-bottom: 30px;
}

.contato-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(52, 152, 219, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.contato-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contato-text h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.contato-text p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(52, 152, 219, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.contato-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

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

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

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

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links,
.footer-services,
.footer-newsletter {
    flex: 1;
    min-width: 200px;
}

.footer h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 50px 0 0 50px;
    font-family: var(--font-secondary);
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 50px 50px 0;
    padding: 0 20px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #2980b9;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsividade */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
        z-index: -1;
    }
    
    .main-nav ul.show {
        transform: translateY(0);
        opacity: 1;
        z-index: 999;
    }
    
    .main-nav ul li {
        margin: 0;
        text-align: center;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 10px 0;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .sobre-content,
    .contato-container {
        flex-direction: column;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 576px) {
    .section {
        padding: 70px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .stats-container {
        flex-direction: column;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
    }
}

/* Página de Serviços */
.page-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.breadcrumb {
    font-size: 1rem;
}

.breadcrumb a {
    color: var(--primary-color);
}

.service-detail {
    padding: 80px 0;
}

.service-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

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

.service-image {
    flex: 1;
    min-width: 300px;
}

.service-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-text {
    flex: 1;
    min-width: 300px;
}

.service-text h2 {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.separator-left {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin-bottom: 20px;
}

.service-list {
    margin: 20px 0;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.service-list li i {
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
    flex-shrink: 0;
}

.service-list li div {
    flex: 1;
}

.service-list li strong {
    font-weight: 600;
    color: var(--secondary-color);
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('../img/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 100px 0;
    margin-top: 50px;
}

.cta-content h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-light {
    background-color: white;
    color: var(--secondary-color);
}

.btn-light:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Portfolio Page */
.portfolio-filter {
    padding-top: 80px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid #e1e1e1;
    border-radius: 30px;
    background-color: transparent;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.portfolio-item-large {
    margin-bottom: 50px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    background-color: white;
}

.portfolio-item-large .portfolio-img {
    height: 350px;
    padding: 30px;
}

.portfolio-item-large .portfolio-img img {
    max-height: 290px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.portfolio-tags span {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
}

.portfolio-details {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.detail-item h4 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.detail-item ul {
    list-style: disc;
    padding-left: 20px;
}

.detail-item ul li {
    margin-bottom: 5px;
}

/* Contact Page */
.contact-page {
    padding-top: 80px;
}

.contact-details {
    margin-top: 40px;
}

/* Ajuste de espaçamento para botões na página de serviços */
.service-text .btn {
    margin-top: 30px;
    display: inline-block;
}

.service-text p:last-of-type {
    margin-bottom: 20px;
}

/* Ajuste para o botão "Solicitar Consultoria" */
.service-text .btn-primary {
    padding: 14px 32px;
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.service-text .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
} 