/*
Theme Name: Marwal Soluções Ambientais - Premium
Theme URI: https://marwalsolucoesambientais.com/
Author: Marwal & Antigravity
Description: Tema moderno e sofisticado para Gestão de Resíduos de Construção Civil (RCC).
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: marwal
*/

/* ==========================================================================
   CSS Variables & Typography Scaling (Industrial Mode)
   ========================================================================== */
:root {
    --primary: #336113;        /* Deep Forest Green */
    --primary-light: #44801e;  
    --primary-dark: #1b3506;   
    --accent: #FCA001;         /* Engineering Heavy Yellow/Orange Contrast */
    
    --text-main: #27272a;
    --text-muted: #52525b;
    --text-white: #ffffff;
    
    --bg-main: #f9f9fa; 
    --bg-card: #ffffff;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    
    --radius-sm: 6px;
    --radius-md: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-padding-top: 80px; }
html { scroll-behavior: smooth; font-size: 15px; }

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: var(--text-main); line-height: 1.25; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
p { margin-bottom: 1rem; color: var(--text-muted); }

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

/* Utilities */
.text-accent { color: var(--accent) !important; }
.text-white { color: white !important; }
.text-primary { color: var(--primary) !important; }
.text-primary-dark { color: var(--primary-dark) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center; }

/* Section Classes for Alternating Backgrounds */
.p-section { padding: 90px 0; }
.bg-white { background-color: #ffffff; }
.bg-alt { background-color: #f6f7f5; border-top: 1px solid rgba(0,0,0,0.03); border-bottom: 1px solid rgba(0,0,0,0.03); }
.mb-md { margin-bottom: 30px; }

.section-title { font-size: 2.2rem; margin-bottom: 15px; }
.section-heading { margin-bottom: 50px; }

.text-gradient {
    background: linear-gradient(90deg, #FCA001, #ffe880); /* Bright yellow gradient for extreme visibility */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--primary-dark);
    color: var(--accent);
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
    display: inline-block; background-color: var(--accent); color: var(--primary-dark);
    padding: 12px 26px; font-size: 0.95rem; font-weight: 700; font-family: var(--font-heading);
    border-radius: var(--radius-sm); letter-spacing: 0.5px;
    transition: var(--transition); border: 1px solid transparent; text-transform: uppercase;
}
.btn-primary:hover { background-color: #ebb021; transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-whatsapp {
    display: inline-flex; align-items: center; gap: 10px;
    background-color: #25d366; color: white;
    padding: 14px 28px; font-size: 1.05rem; font-family: var(--font-heading); font-weight: 700;
    border-radius: var(--radius-sm); margin-top: 25px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp i { font-size: 1.3rem; }
.btn-whatsapp:hover { background-color: #20bc59; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);}

/* ==========================================================================
   Navigation Header
   ========================================================================== */
.glass-header {
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06); padding: 12px 0; position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-sm);
}
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { width: 55px; } 
.logo-text { font-size: 1.25rem; font-weight: 800; font-family: var(--font-heading); color: var(--primary-dark); letter-spacing: -0.5px;}
.main-nav ul { list-style: none; display: flex; gap: 28px; }
.main-nav a { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px;}
.main-nav a:hover { color: var(--primary); }
.menu-toggle { display: none; font-size: 1.4rem; cursor: pointer; color: var(--text-main); }
@media (max-width: 900px) {
    .header-actions { display: none; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: white; border-bottom: 1px solid #eee; padding: 20px; }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; gap: 15px; }
    .menu-toggle { display: block; }
}

/* ==========================================================================
   Trust Ribbon
   ========================================================================== */
.trust-ribbon {
    background-color: var(--primary-dark);
    padding: 20px 0;
    color: white;
}
.trust-items { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.trust-item {
    display: flex; align-items: center; gap: 12px;
    font-size: 0.95rem; font-weight: 600; font-family: var(--font-heading);
}
.trust-item i { font-size: 1.3rem; }

@media (max-width: 768px) {
    .trust-items { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Hero Section Clean & Transparence
   ========================================================================== */
.hero-section { position: relative; padding: 120px 0 100px 0; }
.hero-background {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    background-attachment: fixed; opacity: 0.95; z-index: 1;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}
.hero-content { position: relative; z-index: 3; max-width: 800px; }

.hero-glass-card { text-align: left; }
.hero-text h1 {
    font-size: 3rem; margin-bottom: 20px; color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5); line-height: 1.1;
}
.hero-subtitle {
    font-size: 1.2rem; color: rgba(255, 255, 255, 0.9); font-weight: 400; text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .hero-text h1 { font-size: 2.3rem; }
    .hero-overlay { background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 40%, rgba(0, 0, 0, 0.4) 100%); }
}

/* ==========================================================================
   Clean Info Grids
   ========================================================================== */
.grid-layout-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }

/* Features (Ciclo) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    background: var(--bg-card); padding: 35px 30px; border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.03); box-shadow: var(--shadow-sm); transition: var(--transition);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-bottom: 3px solid var(--accent); }

.icon-circle-bg {
    width: 65px; height: 65px; background: rgba(51, 97, 19, 0.05); 
    border-radius: 50%; display: flex; justify-content: center; align-items: center; margin-bottom: 25px;
}
.icon-circle-bg img { width: 35px; opacity: 0.9;}
.feature-text h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--primary-dark); }
.feature-text p { font-size: 0.95rem; margin-bottom: 0; }

@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }

/* Sobre */
.info-card { padding-right: 20px; }
.info-card p { font-size: 1.05rem; text-align: justify; }

/* FIXING THE IMAGE SIZE AND BULKINESS AS REQUESTED */
.image-showcase { 
    display: flex; 
    justify-content: flex-end; /* push right naturally */
    align-items: center; 
    background: transparent;  /* Removed bulky white box */
    border: none;
    box-shadow: none;
    padding: 0;
}
.image-showcase img { 
    width: 100%; 
    max-width: 320px; /* Reduced specific size from filling column */
    border-radius: var(--radius-md); 
    opacity: 0.98; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.15); /* Sleek floating pop */
    transition: transform 0.4s ease;
}
.image-showcase img:hover { transform: scale(1.03); }

@media (max-width: 768px) { .grid-layout-2 { grid-template-columns: 1fr; } .info-card { padding-right: 0;} .image-showcase { justify-content: center;} }

/* Diretrizes Grid */
.dicas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.dica-card {
    background: white; border-left: 4px solid var(--primary-light); padding: 28px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.dica-card:hover { transform: translateX(5px); border-left-color: var(--accent); }
.dica-header { margin-bottom: 12px; }
.dica-number { font-size: 2.2rem; font-weight: 800; font-family: var(--font-heading); color: rgba(51, 97, 19, 0.1); display: block; line-height: 1; }
.dica-card p { font-size: 0.95rem; font-weight: 500; color: var(--text-main); margin-bottom: 0; }

/* Localização (Infraestrutura) */
.infra-layout-vertical { display: flex; flex-direction: column; width: 100%;}
.photos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
/* Outline removed for pure image impact */
.photo-wrapper { padding: 0; overflow: hidden; height: 260px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.photo-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.map-container { padding: 0; overflow: hidden; display: flex; width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-md);}
.full-width-map iframe { width: 100%; height: 450px; }

@media (max-width: 768px) {
   .photos-grid { grid-template-columns: 1fr; }
   .photo-wrapper { height: 200px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background-color: var(--primary-dark); color: var(--text-white); padding-top: 50px; font-size: 0.9rem;}
.footer-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 15px; }
.footer-contact-item i { color: var(--accent); font-size: 1.3rem; margin-top: 5px;}
.contact-text strong { display: block; margin-bottom: 5px; color: rgba(255,255,255,0.6); font-weight: 500; font-family: var(--font-heading);}
.contact-text p { color: rgba(255,255,255,0.9); margin-bottom: 0; }
.footer-bottom { padding: 20px 0; }
.footer-bottom-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.footer-logo img { width: 60px; filter: grayscale(100%) brightness(200%); opacity: 0.8;}
.footer-copyright p { margin-bottom: 0; color: rgba(255,255,255,0.4); font-size: 0.85rem;}
.social-icon { color: white; font-size: 1.2rem; transition: var(--transition); opacity: 0.7;}
.social-icon:hover { opacity: 1; color: #25d366; transform: translateY(-2px);}
@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr; } .footer-bottom-content { justify-content: center; text-align: center; } }

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.floating-wpp-container { position: fixed; bottom: 30px; right: 30px; z-index: 9000; display: flex; align-items: center; gap: 12px; }
.wpp-tooltip {
    background: white; color: var(--text-main); padding: 10px 16px; border-radius: var(--radius-sm);
    font-size: 0.85rem; font-weight: 600; font-family: var(--font-heading); box-shadow: var(--shadow-md);
    opacity: 0; transform: translateX(15px); pointer-events: none; transition: all 0.3s ease; position: relative; border: 1px solid rgba(0,0,0,0.05);
}
.wpp-tooltip::after {
    content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%);
    border-width: 5px 0 5px 6px; border-style: solid; border-color: transparent transparent transparent white;
}
.floating-whatsapp {
    width: 60px; height: 60px; background-color: #25d366; color: white; border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-size: 32px; box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3); transition: transform 0.2s;
}
.floating-wpp-container:hover .wpp-tooltip { opacity: 1; transform: translateX(0); }
.floating-whatsapp:hover { transform: scale(1.08); box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4); }

/* Fade Up */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
