/* Variáveis e Reset */
:root {
    --primary: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #4caf50;
    --secondary: #0d6efd;
    --dark: #212529;
    --light: #f8f9fa;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --white: #ffffff;
    --black: #000000;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-link {
    color: var(--primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-link:hover {
    color: var(--primary-dark);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 40px;
}

.text-center {
    text-align: center;
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: var(--dark);
    font-weight: 500;
    padding: 8px 12px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: calc(100% - 24px);
}

.cta-nav {
    background-color: var(--primary);
    color: var(--white) !important;
    border-radius: 4px;
    padding: 8px 20px !important;
}

.cta-nav:hover {
    background-color: var(--primary-dark);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, rgba(46,125,50,0.9), rgba(13,110,253,0.9)), url('./Icons/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--warning);
}

.hero .lead {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Destaques */
.destaques {
    padding: 80px 0;
}

.destaques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.destaque-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.destaque-card:hover {
    transform: translateY(-10px);
}

.destaque-card .icone {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.destaque-card h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* Sobre Nós */
.sobre-nos {
    padding: 80px 0;
    background-color: var(--white);
}

.sobre-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.sobre-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.sobre-text {
    flex: 1;
}

.sobre-lista {
    margin-top: 20px;
}

.sobre-lista li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sobre-lista i {
    color: var(--primary);
}

/* Serviços */
.servicos {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.servico-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.servico-card:hover {
    transform: translateY(-10px);
}

.servico-imagem {
    height: 200px;
    overflow: hidden;
}

.servico-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.servico-card:hover .servico-imagem img {
    transform: scale(1.1);
}

.servico-content {
    padding: 25px;
}

.servico-content h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* Diferenciais */
.diferenciais {
    padding: 80px 0;
    background-color: var(--white);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.diferencial-card {
    text-align: center;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.diferencial-card:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.diferencial-card:hover h3,
.diferencial-card:hover .diferencial-icon {
    color: var(--white);
}

.diferencial-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.diferencial-card h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
    transition: all 0.3s ease;
}

/* CTA */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer */
.main-footer {
    background-color: var(--dark);
    color: var(--gray);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-col p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--primary-light);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.contact-info i {
    width: 20px;
    text-align: center;
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

/* Responsivo */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .sobre-content {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 20px;
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .destaques-grid,
    .diferenciais-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero .lead {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}
/* Página de Serviços */
.page-hero {
    padding: 150px 0 100px;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    position: relative;
}

.page-hero .hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.services-featured {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.featured-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary);
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.featured-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.featured-card h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.all-services {
    padding: 80px 0;
    background-color: var(--white);
}

.services-accordion {
    margin-top: 40px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.accordion-header {
    width: 100%;
    padding: 20px 25px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background-color: var(--primary-dark);
}

.accordion-header h3 {
    margin: 0;
    flex: 1;
    text-align: left;
}

.accordion-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-header i:last-child {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i:last-child {
    transform: rotate(180deg);
}

.accordion-content {
    background-color: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-grid {
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-item {
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 6px;
    border-left: 4px solid var(--primary);
}

.service-item h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.service-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

.services-accordion .btn-primary {
    margin: 20px 30px 30px;
}

.services-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    text-align: center;
}

.services-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.services-cta p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Responsivo */
@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 80px;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .accordion-header {
        padding: 15px 20px;
    }
    
    .accordion-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .page-hero {
        padding: 100px 0 60px;
    }
    
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .services-cta h2 {
        font-size: 1.8rem;
    }
    
    .services-cta .cta-buttons {
        flex-direction: column;
    }
}

/* Página de Contato */
.contact-page {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info {
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.contact-methods {
    margin-top: 30px;
}

.contact-method {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.contact-details a {
    color: var(--primary);
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.social-section {
    margin-top: 40px;
}

.social-section h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.contact-form {
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background-color: var(--light-gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46,125,50,0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-map {
    margin-top: 60px;
}

.map-container {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Responsivo */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding: 60px 0;
    }
    
    .contact-method {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .contact-page {
        padding: 40px 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .services-cta h2 {
        font-size: 1.8rem;
    }
    
    .services-cta .cta-buttons {
        flex-direction: column;
    }
}

/* Variáveis e Reset */
:root {
    --primary: #26ad2d;
    --primary-dark: #1b5e20;
    --primary-light: #4caf50;
    --secondary: #0d6efd;
    --dark: #212529;
    --light: #f8f9fa;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --white: #ffffff;
    --black: #000000;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;

    /* NOVO: Duração padrão para transições */
    --transition-speed: 0.4s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* MELHORIA: Evita espaços indesejados abaixo da imagem */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* NOVO: Animação de Carregamento (Preloader) */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--light-gray);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* NOVO: Animações de entrada para elementos */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
    animation-timing-function: ease-out;
}

/* Botões com melhorias */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px; /* MELHORIA: Bordas mais suaves */
    font-weight: 600; /* MELHORIA: Fonte mais destacada */
    text-align: center;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
    cursor: pointer;
    letter-spacing: 0.5px; /* NOVO: Melhor espaçamento */
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(46, 125, 50, 0.3); /* MELHORIA: Sombra mais evidente */
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* NOVO: Sombra no hover */
}

.btn-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* MELHORIA: Mais espaço */
}

.btn-link i {
    transition: transform var(--transition-speed) ease; /* NOVO: Animação da seta */
}

.btn-link:hover {
    color: var(--primary-dark);
}

.btn-link:hover i {
    transform: translateX(5px); /* NOVO: Animação da seta */
}

/* Títulos com melhorias */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 15px; /* MELHORIA: Mais espaço */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px; /* MELHORIA: Linha um pouco menor */
    height: 5px; /* MELHORIA: Linha mais grossa */
    background-color: var(--primary);
    border-radius: 5px; /* NOVO: Borda arredondada */
}

/* Centraliza a linha do título se o texto estiver centralizado */
.section-header .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 50px; /* MELHORIA: Mais espaçamento */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08); /* MELHORIA: Sombra mais suave */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: padding var(--transition-speed) ease;
}

/* NOVO: Efeito de header menor ao rolar */
.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.main-header.scrolled .header-content {
    padding: 10px 0;
}

.main-header.scrolled .logo img {
    height: 45px;
}

.logo img {
    height: 50px;
    transition: height var(--transition-speed) ease;
}

.main-nav ul {
    display: flex;
    gap: 25px; /* MELHORIA: Mais espaço */
}

.main-nav a {
    color: var(--dark);
    font-weight: 500;
    padding: 8px 12px;
    transition: all var(--transition-speed) ease;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px; /* MELHORIA: Abaixo do texto */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px; /* MELHORIA: Mais grossa */
    background-color: var(--primary);
    transition: width var(--transition-speed) ease;
    border-radius: 2px;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%; /* MELHORIA: Linha completa */
}

.cta-nav {
    background-color: var(--primary);
    color: var(--white) !important;
    border-radius: 8px;
    padding: 10px 22px !important; /* MELHORIA: Mais padding */
}

.cta-nav:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05); /* NOVO: Efeito de escala */
}

.cta-nav:hover::after {
    display: none; /* NOVO: Remove a linha do efeito de hover */
}


.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem; /* MELHORIA: Maior */
    color: var(--dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, rgba(46,125,50,0.85), rgba(27,94,32,0.95)); /* MELHORIA: Gradiente mais sutil */
    background-size: cover;
    background-position: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* NOVO: Efeito de background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../Icons/segurança do trabalho.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}


.hero-content {
    display: flex;
    align-items: center;
    gap: 60px; /* MELHORIA: Mais espaço */
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    animation: fadeInUp 1s ease-out; /* NOVO: Animação */
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero h1 span {
    color: var(--warning);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    animation: fadeInUp 1s ease-out 0.3s; /* NOVO: Animação com delay */
}


/* ... (restante das seções com melhorias) */


/* Destaques, Serviços, Diferenciais Cards com Efeitos */
.destaque-card, .servico-card, .diferencial-card, .featured-card {
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    /* NOVO: Adiciona animação de entrada */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

/* NOVO: Adiciona delay em cascata para os cards */
.destaques-grid .destaque-card:nth-child(1), .servicos-grid .servico-card:nth-child(1) { animation-delay: 0.1s; }
.destaques-grid .destaque-card:nth-child(2), .servicos-grid .servico-card:nth-child(2) { animation-delay: 0.2s; }
.destaques-grid .destaque-card:nth-child(3), .servicos-grid .servico-card:nth-child(3) { animation-delay: 0.3s; }
.destaques-grid .destaque-card:nth-child(4), .servicos-grid .servico-card:nth-child(4) { animation-delay: 0.4s; }
/* ... continue para quantos cards tiver */


.destaque-card {
    background-color: var(--white);
    padding: 35px;
    border-radius: 12px; /* MELHORIA: Mais arredondado */
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    text-align: center;
}

.destaque-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* ... (e assim por diante para as outras seções) */

.servico-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
}

.servico-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.servico-imagem {
    height: 220px;
    overflow: hidden;
}

.servico-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.servico-card:hover .servico-imagem img {
    transform: scale(1.1) rotate(2deg); /* MELHORIA: Efeito de rotação sutil */
}

.servico-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.diferencial-card {
    text-align: center;
    padding: 35px;
    background-color: var(--light-gray);
    border-radius: 12px;
    transition: all var(--transition-speed) ease;
}

.diferencial-card:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.25);
}

/* Formulário de Contato com melhorias */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px; /* MELHORIA: Mais padding */
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
    background-color: var(--light); /* MELHORIA: Fundo mais claro */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(46,125,50,0.15); /* MELHORIA: Sombra de foco mais suave */
    background-color: var(--white);
}

/* 1. Estilos para a seção principal (Hero) */
.hero {
    position: relative; /* Essencial para posicionar o vídeo e o overlay em relação a esta seção */
    height: 70vh; /* Faz a seção ocupar toda a altura da tela. Ajuste se necessário. */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff; /* Muda a cor do texto para branco, para contrastar com o fundo escuro */
    overflow: hidden; /* Garante que nada saia dos limites da seção */
}

/* 2. Estilos para o container do vídeo de fundo */
.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    z-index: -1; /* Coloca o vídeo atrás de todo o conteúdo */
}

/* 3. Garante que o vídeo cubra toda a área */
.hero-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ESSENCIAL: Cobre toda a área sem distorcer o vídeo, cortando o excesso */
}

/* 4. (Opcional, mas RECOMENDADO) Adiciona uma sobreposição escura */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fundo preto com 50% de opacidade */
    z-index: 0; /* Coloca o overlay entre o vídeo e o texto */
}

/* 5. Garante que o conteúdo de texto fique na frente */
.hero .container {
    position: relative; /* Necessário para que o z-index funcione corretamente */
    z-index: 1;
}

/* Ajustes no seu layout original para se adaptar melhor ao fundo de vídeo */
.hero-content {
    text-align: center; /* Centraliza todo o conteúdo (texto e botões) */
    max-width: 800px; /* Limita a largura do texto para melhor legibilidade */
    margin: 0 auto;
}

/* 1. Prepara a seção para ter um fundo posicionado */
.page-hero {
    position: relative; /* Base para o posicionamento do vídeo e do overlay */
    height: 60vh; /* Altura da seção. Ajuste conforme necessário (ex: 400px, 50vh, etc.) */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Garante que o vídeo não "vaze" para fora da seção */
    text-align: center; /* Centraliza o texto */
    color: white; /* Cor do texto */
}

/* 2. Estiliza o container do vídeo */
.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2; /* Coloca o vídeo bem no fundo */
}

/* 3. Faz o vídeo preencher todo o espaço do container */
.hero-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ESSENCIAL: Faz o vídeo cobrir a área sem distorcer */
}

/* 4. Adiciona a camada escura (o seu linear-gradient) */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Aqui está o seu gradiente preto semi-transparente */
    background-color: rgba(0, 0, 0, 0.7); 
    z-index: -1; /* Posição: entre o vídeo e o texto */
}

/* 5. Garante que o conteúdo de texto fique na frente de tudo */
.page-hero .container {
    position: relative;
    z-index: 1;
}


