/* assets/css/landing.css */

:root {
    --primary-color: #2E7D32; /* Verde Floresta Profundo */
    --primary-light: #4CAF50; /* Verde Vibrante */
    --secondary-color: #F57C00; /* Laranja Cìtrico */
    --text-dark: #1a1a1a;
    --text-grey: #666666;
    --bg-light: #f8fcf8;
    --white: #ffffff;
    --gradient-hero: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

body {
    font-family: 'Public Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 10px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.btn-cta {
    background: var(--secondary-color);
    color: white;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 124, 0, 0.3);
    color: white;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: var(--gradient-hero);
    color: white;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-img-container {
    position: relative;
    z-index: 2;
}

.hero-img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 8px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

/* Features */
.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.icon-box {
    width: 64px;
    height: 64px;
    background: rgba(76, 175, 80, 0.1);
    color: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

/* Stats Section */
.stats-section {
    background-color: var(--text-dark);
    color: white;
    padding: 80px 0;
    margin-top: -50px;
    padding-top: 130px; /* Compensate overlap */
}

/* Testimonial */
.testimonial-card {
    text-align: center;
    padding: 2rem;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-color);
}

/* CTA Bottom */
.cta-section {
    background: url('../img/pattern-bg.png'), var(--secondary-color); /* Pattern fallback */
    background-blend-mode: overlay;
    padding: 80px 0;
    text-align: center;
    color: white;
    border-radius: 20px;
    margin: 40px auto;
}

/* Footer */
footer {
    background: white;
    padding: 60px 0 20px;
    border-top: 1px solid #eee;
}

.footer-logo {
    filter: none; /* Original colors */
}

/* Responsive */
@media (max-width: 991px) {
    .hero {
        padding: 120px 0 80px;
        text-align: center;
        clip-path: none;
    }
    .hero h1 { font-size: 2.5rem; }
    .hero p { margin: 0 auto 2rem; }
    .hero-img { margin-top: 2rem; transform: none; }
}
