/*
Theme Name: Gaúcha Meio Ambiente
Theme URI: https://publixydigital.com.br
Author: Gaúcha Meio Ambiente
Description: Tema WordPress customizado para Gaúcha Meio Ambiente - Gestão Ambiental Inteligente
Version: 1.0.0
Text Domain: gaucha
*/
:root {
    --green-900: #1B4332;
    --green-800: #2D6A4F;
    --green-700: #40916C;
    --green-600: #52B788;
    --green-500: #74C69D;
    --green-400: #95D5B2;
    --green-300: #B7E4C7;
    --green-200: #D8F3DC;
    --green-100: #F0FFF4;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --accent: #949464;
    --accent-light: #D9D9B3;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--green-700);
    background: var(--green-100);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    letter-spacing: 0.3px;
}
.btn-primary { background: var(--green-800); color: var(--white); border-color: var(--green-800); }
.btn-primary:hover { background: var(--green-900); border-color: var(--green-900); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--green-800); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-accent:hover { background: #b3b380; border-color: #b3b380; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-white { background: var(--white); color: var(--green-800); border-color: var(--white); font-weight: 700; }
.btn-white:hover { background: var(--green-100); border-color: var(--green-100); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 16px 0; transition: var(--transition); background: transparent;
}
.header.scrolled { background: rgba(27, 67, 50, 0.97); backdrop-filter: blur(20px); padding: 10px 0; box-shadow: var(--shadow-lg); }
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.logo {
    display: flex; align-items: center; text-decoration: none;
    background: rgba(255,255,255,0.12); padding: 8px 16px;
    border-radius: 50px; transition: var(--transition); backdrop-filter: blur(8px);
}
.logo-img { height: 42px; width: auto; display: block; transition: var(--transition); filter: brightness(0) invert(1); }
.header .logo:hover { background: rgba(255,255,255,0.2); }
.header.scrolled .logo { background: rgba(255,255,255,0.1); padding: 6px 14px; }
.header.scrolled .logo-img { height: 36px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
    color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 500;
    font-size: 0.925rem; padding: 8px 18px; border-radius: 50px; transition: var(--transition);
}
.nav a:hover, .nav .current-menu-item a { color: var(--white); background: rgba(255,255,255,0.12); }
.header-phone {
    display: flex; align-items: center; gap: 8px;
    color: var(--white); font-weight: 600; font-size: 1rem; text-decoration: none;
    background: rgba(255,255,255,0.12); padding: 10px 22px; border-radius: 50px; transition: var(--transition);
}
.header-phone:hover { background: rgba(255,255,255,0.22); }
.header-phone i { color: var(--green-400); }
.mobile-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; padding: 8px; }
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--green-900) 0%, #0d3320 40%, #1a4a2e 70%, var(--green-800) 100%);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?w=1920&q=80') center/cover no-repeat;
    opacity: 0.18; mix-blend-mode: overlay;
    animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom { 0% { transform: scale(1); } 100% { transform: scale(1.08); } }
.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.hero-particle {
    position: absolute; width: 6px; height: 6px;
    background: rgba(255,255,255,0.08); border-radius: 50%;
    animation: particleFloat linear infinite;
}
@keyframes particleFloat {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) scale(2); opacity: 0; }
}
.hero-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(13, 51, 32, 0.7) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 850px; padding: 0 24px; animation: fadeInUp 1s ease-out; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 900; color: var(--white);
    line-height: 1.1; margin-bottom: 24px; letter-spacing: -1px; animation: fadeInUp 1s ease-out 0.1s both;
}
.hero-title span {
    background: linear-gradient(135deg, var(--green-400), var(--green-500));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-text {
    font-size: 1.2rem; color: rgba(255,255,255,0.75); line-height: 1.7;
    max-width: 620px; margin: 0 auto 40px; animation: fadeInUp 1s ease-out 0.2s both;
}
.hero-buttons {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; flex-wrap: wrap; animation: fadeInUp 1s ease-out 0.3s both;
}
.hero-cta {
    display: flex; align-items: center; gap: 8px;
}
.scroll-indicator {
    position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.5); font-size: 0.75rem; font-weight: 500;
    letter-spacing: 2px; text-transform: uppercase; animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}
.services-section { background: var(--gray-50); position: relative; }
.services-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; background: linear-gradient(90deg, var(--green-500), var(--green-700), var(--green-500));
}
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 40px 28px 32px;
    text-align: center; transition: var(--transition); border: 1px solid var(--gray-200);
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, var(--green-500), var(--green-700));
    transform: scaleX(0); transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--green-300); }
.service-icon {
    width: 80px; height: 80px; margin: 0 auto 24px;
    background: var(--green-100); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--green-700); transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--green-700); color: var(--white); transform: scale(1.1); }
.service-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.service-card p { font-size: 0.925rem; color: var(--gray-500); line-height: 1.6; margin-bottom: 20px; }
.service-link {
    display: inline-flex; align-items: center; gap: 6px; color: var(--green-700);
    font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: var(--transition);
}
.service-link:hover { gap: 12px; color: var(--green-900); }
.about-section { background: var(--white); position: relative; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-image { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); }
.about-image img { width: 100%; height: 480px; object-fit: cover; display: block; }
.about-image-badge {
    position: absolute; bottom: 28px; right: 28px; background: var(--green-800);
    color: var(--white); padding: 16px 24px; border-radius: var(--radius);
    text-align: center; box-shadow: var(--shadow-lg);
}
.about-image-badge .number { font-size: 2rem; font-weight: 900; line-height: 1; }
.about-image-badge .label { font-size: 0.8rem; font-weight: 500; opacity: 0.85; }
.about-content h2 { font-size: 2.2rem; font-weight: 800; color: var(--gray-900); margin-bottom: 20px; line-height: 1.2; }
.about-content .highlight { color: var(--green-700); }
.about-content p { color: var(--gray-600); margin-bottom: 16px; font-size: 1.05rem; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.about-feature { display: flex; align-items: flex-start; gap: 12px; }
.about-feature i { color: var(--green-600); font-size: 1.2rem; margin-top: 3px; flex-shrink: 0; }
.about-feature span { font-size: 0.95rem; color: var(--gray-700); font-weight: 500; }
.stats-section {
    background: linear-gradient(135deg, var(--green-900), var(--green-800));
    padding: 80px 0; position: relative;
}
.stats-section::before {
    content: ''; position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=1920&q=60') center/cover no-repeat;
    opacity: 0.08; mix-blend-mode: overlay;
}
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; text-align: center; }
.stat-number { font-size: 3rem; font-weight: 900; color: var(--white); line-height: 1; margin-bottom: 8px; }
.stat-number span { color: var(--green-400); }
.stat-label { color: rgba(255,255,255,0.7); font-size: 1rem; font-weight: 500; }
.news-section { background: var(--gray-50); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
    background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--gray-200);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.news-image { position: relative; height: 220px; overflow: hidden; }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.news-card:hover .news-image img { transform: scale(1.08); }
.news-date {
    position: absolute; top: 16px; left: 16px; background: var(--green-800);
    color: var(--white); font-size: 0.75rem; font-weight: 700; padding: 6px 14px; border-radius: 50px;
}
.news-body { padding: 24px; }
.news-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.news-body h3 a { color: inherit; text-decoration: none; transition: var(--transition); }
.news-body h3 a:hover { color: var(--green-700); }
.news-body p { font-size: 0.925rem; color: var(--gray-500); line-height: 1.6; }
.news-link {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
    color: var(--green-700); font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: var(--transition);
}
.news-link:hover { gap: 10px; }
.news-cta-center { text-align: center; margin-top: 48px; }
.cta-section { background: linear-gradient(135deg, var(--green-700), var(--green-800)); position: relative; overflow: hidden; }
.cta-section::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.06) 0%, transparent 60%);
}
.cta-content { position: relative; text-align: center; max-width: 700px; margin: 0 auto; }
.cta-content h2 { font-size: 2.2rem; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.cta-content p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 36px; line-height: 1.6; }
.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.footer { background: var(--gray-900); color: var(--gray-400); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.footer h4 {
    color: var(--white); font-size: 1.1rem; font-weight: 700; margin-bottom: 24px;
    position: relative; padding-bottom: 12px;
}
.footer h4::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 40px;
    height: 3px; background: var(--green-600); border-radius: 3px;
}
.footer-about p { margin-bottom: 16px; font-size: 0.95rem; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
    width: 38px; height: 38px; background: rgba(255,255,255,0.08); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-400); text-decoration: none; transition: var(--transition); font-size: 1rem;
}
.footer-social a:hover { background: var(--green-600); color: var(--white); transform: translateY(-3px); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: var(--gray-400); text-decoration: none; font-size: 0.95rem;
    transition: var(--transition); display: inline-flex; align-items: center; gap: 8px;
}
.footer-links a:hover { color: var(--green-400); padding-left: 4px; }
.footer-links a i { font-size: 0.7rem; color: var(--green-600); }
.footer-contact-item { display: flex; gap: 14px; margin-bottom: 18px; font-size: 0.95rem; line-height: 1.5; }
.footer-contact-item i { color: var(--green-500); font-size: 1rem; margin-top: 4px; flex-shrink: 0; }
.footer-contact-item strong { display: block; color: var(--white); font-size: 0.85rem; font-weight: 600; }
.footer-bottom { margin-top: 60px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; font-size: 0.875rem; }
.whatsapp-float {
    position: fixed; bottom: 28px; right: 28px; z-index: 999;
    width: 60px; height: 60px; background: #25D366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.7rem; text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); transition: var(--transition);
    animation: pulse-wa 2s infinite;
}
@keyframes pulse-wa { 0%, 100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); } 50% { box-shadow: 0 8px 40px rgba(37, 211, 102, 0.7); } }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6); }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image img { height: 360px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .section-title { font-size: 1.8rem; }
    .nav {
        display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(27, 67, 50, 0.98); backdrop-filter: blur(20px);
        flex-direction: column; justify-content: center; gap: 8px; padding: 40px;
    }
    .nav.open { display: flex; }
    .nav a { font-size: 1.2rem; padding: 14px 24px; }
    .mobile-toggle { display: block; }
    .header-phone { display: none; }
    .hero-title { font-size: 2rem; }
    .hero-text { font-size: 1rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .services-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: 2.2rem; }
    .about-features { grid-template-columns: 1fr; }
    .cta-content h2 { font-size: 1.6rem; }
    .cta-buttons { flex-direction: column; width: 100%; }
    .cta-buttons .btn { width: 100%; justify-content: center; }
}
