/* ===== RESET E CONFIGURAÇÕES GERAIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d5016;
    --secondary-color: #4a8c2a;
    --accent-color: #6bb344;
    --green-light: #8bc34a;
    --green-dark: #1b3409;
    --text-dark: #ffffff;
    --text-light: #f0f8f0;
    --text-on-light: #2c2c2c;
    --text-muted-on-dark: #d4e6d4;
    --text-muted-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-on-light);
    overflow-x: hidden;
}

/* ===== LOGOTIPO PERSONALIZADO ===== */
.logo-container {
    position: relative;
}

.company-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.company-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(74, 140, 42, 0.4);
}

.logo-g {
    font-size: 28px;
    font-weight: 900;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.company-logo::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--green-dark), var(--primary-color));
    border-radius: 50%;
    z-index: -1;
}

/* ===== NAVEGAÇÃO ===== */
.navbar {
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand h5 {
    color: var(--primary-color) !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    color: var(--text-on-light) !important;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== SEÇÃO HERO ===== */
.hero-section {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(52, 152, 219, 0.8)),
                url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.7), rgba(52, 152, 219, 0.6));
}

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

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
}

.hero-content .lead {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
}

/* ===== BOTÕES ===== */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* ===== SEÇÕES GERAIS ===== */
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

/* ===== CARTÕES DE VALORES ===== */
.value-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #e9ecef;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* ===== CARTÕES DE SERVIÇOS ===== */
.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card i {
    transition: var(--transition);
}

.service-card:hover i {
    transform: scale(1.1);
    color: var(--secondary-color) !important;
}

/* ===== CARTÕES DE PROJETOS ===== */
.project-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.project-card img {
    transition: var(--transition);
}

.project-card:hover img {
    transform: scale(1.05);
}

/* ===== TESTEMUNHOS ===== */
.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.stars i {
    font-size: 0.9rem;
}

/* ===== RECRUTAMENTO ===== */
.recruitment-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid #e9ecef;
}

.job-listing {
    padding: 1rem;
    border-left: 3px solid var(--secondary-color);
    background: var(--bg-light);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* ===== FORMULÁRIO DE CONTACTO ===== */
.contact-form-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-on-light);
    margin-bottom: 0.5rem;
}

/* ===== INFORMAÇÕES DE CONTACTO ===== */
.contact-item {
    display: flex;
    align-items-flex-start;
}

.contact-item i {
    margin-top: 0.25rem;
}

.social-link, .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover, .social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    color: var(--white);
}

/* ===== MAPA ===== */
.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-color) !important;
    color: var(--white) !important;
}

.footer-brand h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--white) !important;
}

.footer .text-muted {
    color: var(--text-light) !important;
    opacity: 0.9;
}

.footer a {
    color: var(--text-light) !important;
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent-color) !important;
    text-decoration: none;
}

.footer h6 {
    color: var(--white) !important;
    font-weight: 600;
}

.footer p {
    color: var(--text-light) !important;
}

/* ===== BOTÃO WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    box-shadow: var(--shadow-hover);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .contact-item i {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
    
    .service-card, .project-card, .testimonial-card {
        margin-bottom: 1.5rem;
    }
}

/* ===== ANIMAÇÕES DE SCROLL ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MELHORIAS DE ACESSIBILIDADE ===== */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.nav-link:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== ESTADOS DE LOADING ===== */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--secondary-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}/* ====
= SEÇÃO DE ESTATÍSTICAS ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

.stat-item {
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon i {
    opacity: 0.8;
    transition: var(--transition);
}

.stat-item:hover .stat-icon i {
    opacity: 1;
    transform: scale(1.1);
}

.counter {
    color: var(--white) !important;
    font-family: 'Montserrat', sans-serif;
}

/* ===== PROCESSO DE TRABALHO ===== */
.process-step {
    transition: var(--transition);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.process-step:hover {
    transform: translateY(-5px);
    background: var(--bg-light);
    box-shadow: var(--shadow);
}

.process-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.process-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(74, 140, 42, 0.3);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent-color);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
}

.process-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

/* ===== CERTIFICAÇÕES ===== */
.cert-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #e9ecef;
    height: 100%;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.cert-card i {
    transition: var(--transition);
}

.cert-card:hover i {
    transform: scale(1.1);
    color: var(--accent-color) !important;
}

/* ===== FAQ ===== */
.faq-section .accordion-item {
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius) !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-section .accordion-button {
    background: var(--white);
    color: var(--text-on-light);
    font-weight: 600;
    border: none;
    padding: 1.25rem 1.5rem;
    transition: var(--transition);
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(74, 140, 42, 0.25);
    border-color: var(--secondary-color);
}

.faq-section .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-section .accordion-body {
    padding: 1.5rem;
    background: var(--bg-light);
    color: var(--text-on-light);
    line-height: 1.7;
}

/* ===== MELHORIAS GERAIS ===== */
.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

/* ===== ANIMAÇÕES ADICIONAIS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease-out;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease-out;
}

/* ===== RESPONSIVIDADE MELHORADA ===== */
@media (max-width: 768px) {
    .process-step {
        margin-bottom: 2rem;
    }
    
    .process-icon {
        width: 60px;
        height: 60px;
    }
    
    .process-icon i {
        font-size: 1.2rem;
    }
    
    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
        top: -8px;
        right: -8px;
    }
    
    .stat-item {
        margin-bottom: 2rem;
    }
    
    .counter {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 576px) {
    .process-section .row {
        justify-content: center;
    }
    
    .process-step {
        max-width: 300px;
        margin: 0 auto 2rem;
    }
    
    .faq-section .accordion-button {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .faq-section .accordion-body {
        padding: 1rem;
    }
}

/* ===== EFEITOS HOVER MELHORADOS ===== */
.service-card:hover,
.project-card:hover,
.testimonial-card:hover,
.value-card:hover,
.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ===== LOADING STATES PARA CONTADORES ===== */
.counter-loading {
    opacity: 0.7;
}

.counter-loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}