/* --- Root Variables --- */
:root {
    --primary: #2d6a4f;
    --primary-light: #40916c;
    --secondary: #ffb703;
    --text-dark: #1b4332;
    --text-light: #52796f;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --transition: all 0.3s ease;
}

/* --- Base & Reset --- */
* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html { scroll-behavior: smooth; }
body { background-color: var(--white); color: var(--text-dark); overflow-x: hidden; }
h1, h2, h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.bg-light { background-color: var(--bg-light); }

/* --- Components --- */
.btn {
    display: inline-block; padding: 12px 30px; border-radius: 50px;
    text-decoration: none; font-weight: 600; transition: var(--transition);
    cursor: pointer; border: none; text-align: center;
}

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); }

.btn-secondary { background: var(--secondary); color: var(--text-dark); }
.btn-secondary:hover { background: #e9a900; transform: translateY(-2px); }

.btn-secondary.large { font-size: 1.2rem; padding: 20px 50px; margin-top: 20px; }

/* --- Header & Nav --- */
header {
    position: fixed; top: 0; width: 100%; background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px); z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo { font-size: 1.4rem; color: var(--primary); text-decoration: none; display: flex; align-items: center; gap: 10px; }

.nav-links { display: flex; gap: 25px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 500; }
.nav-links a:hover { color: var(--primary); }

.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- Hero --- */
.hero {
    height: 100vh; display: flex; align-items: center; color: white; text-align: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1610832958506-aa56368176cf?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
}

.hero-content h1 { font-size: 2.2rem; margin-bottom: 20px; }
.hero-content p { font-size: 1.1rem; margin-bottom: 30px; opacity: 0.9; }
.hero-btns { display: flex; flex-direction: column; gap: 15px; }

/* --- Sections --- */
section { padding: 80px 0; }
.section-title h2 { font-size: 2rem; color: var(--primary); margin-bottom: 15px; }
.section-title.centered { text-align: center; margin-bottom: 50px; }

/* Sobre */
.about-grid { display: flex; flex-direction: column; gap: 40px; }
.about-image img { width: 100%; border-radius: 20px; box-shadow: 10px 10px 0 var(--primary); }
.about-features { display: grid; grid-template-columns: 1fr; gap: 15px; margin-top: 25px; }
.feature-item { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.feature-item i { color: var(--secondary); }

/* Produtos */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; }
.product-card { 
    background: white; border-radius: 15px; overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: var(--transition); border: 1px solid #eee;
}
.product-card:hover { transform: translateY(-10px); }
.product-img { width: 100%; height: 200px; object-fit: cover; transition: var(--transition); }
.product-card:hover .product-img { transform: scale(1.1); }
.product-info { padding: 20px; text-align: center; }
.product-info h3 { margin-bottom: 10px; }
.product-info p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 20px; }

/* Benefícios & Público */
.benefits-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 50px; }
.benefit-card { background: white; padding: 40px 20px; border-radius: 20px; text-align: center; border: 1px solid #eee; }
.benefit-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; }

.audience-section { margin-top: 60px; }
.audience-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 20px; }
.tag { background: var(--primary); color: white; padding: 8px 20px; border-radius: 50px; font-weight: 600; }

/* FAQ Chat */
.faq-box { max-width: 700px; margin: 0 auto; padding: 20px; background: white; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.chat-container { height: 250px; overflow-y: auto; padding: 15px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 15px; border: 1px solid #eee; border-radius: 10px; }
.msg { padding: 10px 15px; border-radius: 15px; font-size: 0.9rem; max-width: 80%; }
.msg-bot { background: #e9f5ee; align-self: flex-start; }
.msg-user { background: var(--primary); color: white; align-self: flex-end; }
.faq-input-group { display: flex; gap: 10px; }
.faq-input-group input { flex: 1; padding: 12px 20px; border-radius: 50px; border: 1px solid #ddd; outline: none; }

/* --- Footer --- */
.cta-final { background: linear-gradient(rgba(45, 106, 79, 0.9), rgba(45, 106, 79, 0.9)), url('https://images.unsplash.com/photo-1542838132-92c53300491e?q=80&w=1200&auto=format&fit=crop'); color: white; text-align: center; }
footer { background: var(--text-dark); color: white; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.footer-col h4 { margin-bottom: 20px; color: var(--secondary); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #ccc; text-decoration: none; }
.social-icons { display: flex; gap: 15px; font-size: 1.5rem; margin-top: 20px; }
.social-icons a { color: white; }
.footer-bottom { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #333; font-size: 0.8rem; color: #888; }

/* --- Floating & Animation --- */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; z-index: 1000; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- Media Queries (Desktop) --- */
@media (min-width: 768px) {
    .menu-toggle { display: none; }
    .hero-content h1 { font-size: 3.5rem; }
    .hero-btns { flex-direction: row; justify-content: center; }
    .about-grid { flex-direction: row; align-items: center; }
    .about-features { grid-template-columns: 1fr 1fr; }
    .benefits-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (max-width: 767px) {
    .menu-toggle { display: block; }
    .nav-links { position: absolute; top: 70px; left: -100%; width: 100%; background: white; flex-direction: column; padding: 40px; transition: 0.4s; box-shadow: 0 10px 10px rgba(0,0,0,0.1); }
    .nav-links.active { left: 0; }
    .btn-order { width: 100%; }
}