:root {
    /* Cores Principais */
    --primary: hsl(88, 57%, 50%);  /* Verde da Logo */
    --secondary: hsl(0, 80%, 55%); /* Vermelho da Logo */
    --accent: hsl(200, 100%, 50%); /* Azul da Logo */

    /* Cores de Fundo */
    --background: hsl(0, 0%, 10%);
    --foreground: hsl(0, 0%, 98%);
    --card: hsl(0, 0%, 15%);

    /* Cores Neutras */
    --muted: hsl(0, 0%, 25%);
    --border: hsl(0, 0%, 30%);
    --text-muted: hsl(0, 0%, 80%);

    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--accent));
    
    /* Efeitos Glow */
    --glow-primary: 0 0 30px hsl(88 57% 50% / 0.5);
    --glow-accent: 0 0 30px hsl(200 100% 50% / 0.5);
}

/*--------------------------------------------------------------
# Estilos Gerais
--------------------------------------------------------------*/
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    overflow-x: hidden;
    position: relative; /* Necessário para o Scrollspy */
}

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

a:hover {
    color: var(--foreground);
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title .highlight, .text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    display: inline-block;
}

.subtitle {
    max-width: 650px;
    margin: 0 auto 50px auto;
    color: var(--text-muted);
    font-size: 1rem;
}

/*--------------------------------------------------------------
# Estilização da Barra de Rolagem
--------------------------------------------------------------*/
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background-color: var(--muted);
    border-radius: 10px;
    border: 2px solid var(--background);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary);
}

/*--------------------------------------------------------------
# Header & Navbar
--------------------------------------------------------------*/
.navbar {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: background-color 0.3s ease-in-out;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 35px;
    width: auto;
}

.nav-link {
    color: var(--foreground);
    font-weight: 600;
    margin: 0 15px;
    position: relative;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--primary);
}

.btn-outline-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    border-radius: 50px;
    padding: 8px 25px;
    transition: all 0.3s;
}

.btn-outline-custom:hover {
    background-color: var(--primary);
    color: #000;
}

/*--------------------------------------------------------------
# Seção Hero
--------------------------------------------------------------*/
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: url('https://images.unsplash.com/photo-1524368535928-5b5e00ddc76b?q=80&w=2070&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h2 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
}

.hero-section h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    color: var(--foreground);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: -20px;
    text-shadow: var(--glow-primary);
}

.hero-section p {
    max-width: 600px;
    margin: 20px auto 30px auto;
    font-size: 1rem;
    color: var(--text-muted);
}

.btn-custom-filled {
    background-image: var(--gradient-primary);
    color: #000;
    border: none;
    font-weight: 700;
    border-radius: 50px;
    padding: 12px 35px;
    transition: all 0.3s;
    margin: 10px;
    box-shadow: var(--glow-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-custom-filled i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-custom-filled:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px hsl(88 57% 50% / 0.6);
}

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

/*--------------------------------------------------------------
# Seção Empresa
--------------------------------------------------------------*/
.empresa-section {
    background-color: var(--card);
}

.empresa-section p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-top: 50px;
    gap: 20px;
}

.stat-item h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--foreground);
    margin: 0;
}

.pilares-box {
    background-color: var(--background);
    padding: 40px;
    border-radius: 15px;
    height: 100%;
}

.pilares-box h3 {
    font-weight: 700;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.pilares-list {
    list-style: none;
    padding: 0;
}

.pilares-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 20px;
}

.pilares-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 50%;
}

.pilares-list strong {
    color: var(--foreground);
    display: block;
    font-size: 1rem;
}

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

.feature-card {
    background-color: var(--background);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-primary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 30px auto;
    background-color: hsl(88 57% 50% / 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.feature-card h3 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/*--------------------------------------------------------------
# Seção Serviços
--------------------------------------------------------------*/
.servicos-section {
    background-color: var(--background);
}

.service-card {
    background-color: var(--card);
    padding: 30px;
    border-radius: 15px;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-primary);
    border-color: var(--primary);
}

.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    background-color: hsl(88 57% 50% / 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.service-card ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.service-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.experiencia-section {
    background-color: var(--background);
}

.experience-box {
    background-color: var(--card);
    padding: 40px;
    border-radius: 15px;
    height: 100%;
}

.experience-box h3 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.why-us-list {
    list-style: none;
    padding: 0;
}

.why-us-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.why-us-list .icon-circle {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.why-us-list .icon-circle i {
    color: #000;
    font-size: 1rem;
}

.icon-circle.bg-green { background-color: var(--primary); }
.icon-circle.bg-blue { background-color: var(--accent); }
.icon-circle.bg-purple { background-color: var(--secondary); }

.why-us-list .text-content strong {
    display: block;
    color: var(--foreground);
    font-size: 1rem;
}

.why-us-list .text-content span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/*--------------------------------------------------------------
# Seção Portfólio
--------------------------------------------------------------*/
.portfolio-section {
    background-color: var(--card);
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.portfolio-filters .filter-btn {
    background-color: var(--muted);
    color: var(--foreground);
    border: 1px solid var(--border);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-filters .filter-btn:hover {
    background-color: var(--primary);
    color: #000;
    border-color: var(--primary);
}

.portfolio-filters .filter-btn.active {
    background-color: var(--primary);
    color: #000;
    border-color: var(--primary);
}

.portfolio-filters .filter-btn i {
    margin-right: 8px;
}

.portfolio-item {
    display: none; /* Hidden by default, shown by JS */
}

.portfolio-card {
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.portfolio-img-wrapper {
    position: relative;
    overflow: hidden;
}

.portfolio-img-wrapper img {
    width: 100%;
    border-radius: 15px 15px 0 0;
}

.portfolio-img-wrapper .category-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: var(--primary);
    color: #000;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
}

.portfolio-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.portfolio-content .location {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.portfolio-content .location i {
    margin-right: 5px;
    color: var(--primary);
}

.portfolio-content p {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 20px;
    flex-grow: 1;
}

.portfolio-tags {
    margin-bottom: 20px;
}

.portfolio-tags .tag {
    display: inline-block;
    background-color: var(--muted);
    color: var(--text-muted);
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 0.75rem;
    margin-right: 5px;
    margin-bottom: 5px;
}


.portfolio-details-link {
    display: block;
    text-align: center;
    border: 1px solid var(--border);
    padding: 10px;
    border-radius: 8px;
    color: var(--foreground);
    font-weight: 600;
    transition: all 0.3s;
    margin-top: auto;
}

.portfolio-details-link:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #000;
}

.portfolio-details-link i {
    margin-left: 5px;
}

/*--------------------------------------------------------------
# Seção Números
--------------------------------------------------------------*/
.numbers-section {
    background-color: var(--card);
    padding: 80px 0;
}

.numbers-section .section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 50px;
}

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

.number-item h3 {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.number-item p {
    font-size: 1rem;
    color: var(--foreground);
    margin-top: -10px;
}

/*--------------------------------------------------------------
# Seção Contato
--------------------------------------------------------------*/
.contato-section {
    background-color: var(--background);
}

.info-card {
    background-color: var(--card);
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.info-card .info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: hsl(88 57% 50% / 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.info-card .info-icon i {
    color: var(--primary);
    font-size: 1.6rem;
}

.info-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.info-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-box {
    background-color: var(--card);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border);
}

.form-box h3 {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.4rem;
}

.form-box p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.form-control-dark {
    background-color: var(--muted);
    border: 1px solid var(--border);
    color: var(--foreground);
    border-radius: 8px;
    padding: 12px 15px;
}

.form-control-dark:focus {
    background-color: var(--muted);
    border-color: var(--primary);
    color: var(--foreground);
    box-shadow: var(--glow-primary);
}

.form-control-dark::placeholder {
    color: #888;
}

.btn-submit-gradient {
    background-image: var(--gradient-primary);
    border: none;
    color: #000;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-submit-gradient:hover {
    transform: scale(1.02);
    box-shadow: var(--glow-primary);
}

.btn-submit-gradient i {
    margin-left: 8px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    background-color: var(--card);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer .main-footer {
    padding: 60px 0;
}

.footer .footer-logo img {
    height: 40px;
    width: auto;
}

.footer .footer-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--foreground);
    margin-bottom: 20px;
}

.footer .footer-col h4 {
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 20px;
}

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

.footer .footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer .footer-col a:hover {
    color: var(--primary);
}

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

.footer .footer-col .contact-info i {
    margin-right: 10px;
    color: var(--primary);
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--text-muted);
    margin-right: 10px;
    transition: all 0.3s;
}

.footer .social-links a:hover {
    background-color: var(--primary);
    color: #000;
    border-color: var(--primary);
}

.footer .footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--border);
}

.footer .footer-bottom a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/*--------------------------------------------------------------
# Animações
--------------------------------------------------------------*/
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 hsl(88 57% 50% / 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px hsl(88 57% 50% / 0);
    }
    100% {
        box-shadow: 0 0 0 0 hsl(88 57% 50% / 0);
    }
}

/*--------------------------------------------------------------
# Media Queries para Responsividade
--------------------------------------------------------------*/
@media (max-width: 991.98px) {
    .navbar-nav {
        text-align: center;
        background-color: var(--card);
        border-radius: 15px;
        padding: 20px;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    .hero-section h1 {
        font-size: clamp(2.5rem, 12vw, 4.5rem); /* Reduzido para mobile */
    }
    .section-title {
        font-size: clamp(2rem, 8vw, 2.5rem); /* Reduzido para mobile */
    }
    .footer .footer-bottom,
    .footer .footer-bottom .text-md-end {
        text-align: center !important;
    }
    .footer .footer-bottom .text-md-end {
        margin-top: 10px;
    }
    .footer .footer-col {
        text-align: center;
    }
    .footer .social-links {
        justify-content: center;
        display: flex;
    }
}