/* ==============================
   VARIÁVEIS & DESIGN SYSTEM
============================== */
:root {
    /* Cores Premium Baseadas na Referência */
    --primary-green: #115e33; /* Fundo principal */
    --primary-green-dark: #0a4022; /* Navbar e Footer */
    --accent-warning: #f59e0b; /* Amarelo/Laranja botões */
    --accent-warning-hover: #d97706;
    
    /* Cores de Fundo (Seções Claras) */
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    
    /* Textos */
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --text-light: #f1f5f9;
    
    /* Cores Tons Pasteis (Serviços e Ícones - VIBRANTES) */
    --s-green: #bbf7d0; /* Mais saturado */
    --s-green-dark: #16a34a; /* Mais nítido */
    --s-orange: #fef08a; /* Amarelo vivo */
    --s-orange-dark: #ea580c;
    --s-blue: #bae6fd;
    --s-blue-dark: #2563eb;
    --s-peach: #fed7aa;
    --s-purple: #e9d5ff;
    
    /* Efeitos, Espaçamentos e Sombras (Mais Densas/Nítidas) */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.15); /* Removido aspecto "lavado" */
    --shadow-lg: 0 20px 40px -10px rgba(0,0,0,0.25);
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 99px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==============================
   RESET & TIPOGRAFIA
============================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.2;
}

.logo-text strong {
    font-family: 'Poppins', sans-serif;
    color: #fff; /* Título claro para destacar bem no fundo verde escuro */
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==============================
   BOTÕES E COMPONENTES
============================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-warning {
    background-color: var(--accent-warning);
    color: #fff;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}
.btn-warning:hover {
    background-color: var(--accent-warning-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
    border-color: #fff;
    background-color: rgba(255,255,255,0.1);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* ==============================
   NAVBAR (CABEÇALHO)
============================== */
.navbar {
    background-color: var(--primary-green-dark);
    position: fixed;
    top: 0; width: 100%;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.logo-text {
    display: flex; flex-direction: column;
}
.logo-text strong { font-size: 1.25rem; font-weight: 800; }
.logo-text span { font-size: 0.75rem; font-weight: 400; opacity: 0.8; margin-top: -2px; }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0%; height: 2px;
    background: var(--accent-warning); transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; gap: 16px; }

.mobile-menu-btn { display: none; } /* Será ativado via Media Query */

/* ==============================
   HERO SECTION
============================== */
.hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    padding: 180px 0 100px;
    min-height: 90vh;
    display: flex; align-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Mesh Radial Elegante no Fundo da Hero */
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1, .hero-content h2 { color: #fff; }

.tagline {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-title { font-size: 4rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -1px; }
.hero-subtitle { font-size: 1.6rem; font-weight: 600; margin-bottom: 24px; color: #f1f5f9; }
.hero-text { font-size: 1.15rem; line-height: 1.7; margin-bottom: 40px; color: #e2e8f0; max-width: 90%; font-weight: 400; }

.hero-buttons { display: flex; gap: 20px; margin-bottom: 60px; }

.hero-stats {
    display: flex; gap: 40px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 30px;
}
.stat-item h3 { font-size: 2.2rem; color: var(--accent-warning); margin-bottom: 4px; font-weight: 800; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.stat-item p { font-size: 1rem; font-weight: 600; color: #f8fafc; }

/* Ilustração Hero (Premium Glass Float) */
.hero-image-wrapper { position: relative; display: flex; justify-content: center; align-items: center;}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

.glass-card .icon-wrapper {
    width: 80px; height: 80px;
    background: var(--accent-warning);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    margin: 0 auto 24px;
    color: white;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
}
.glass-card h4 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.glass-card p { opacity: 0.8; }

/* ==============================
   SOBRE NÓS
============================== */
.mesh-bg {
    background-image: radial-gradient(var(--s-green) 1px, transparent 1px);
    background-size: 30px 30px;
    background-color: var(--bg-white);
}

.about { padding: 120px 0; }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.badge {
    background: var(--primary-green); color: #fff; /* Contraste mais forte */
    font-weight: 800; font-size: 0.85rem; padding: 6px 16px; border-radius: var(--radius-pill);
    display: inline-block; margin-bottom: 16px; letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(17, 94, 51, 0.3);
}
.section-title { font-size: 2.8rem; font-weight: 800; margin-bottom: 16px; color: var(--primary-green-dark); }
.section-subtitle { font-size: 1.15rem; color: var(--text-dark); font-weight: 500; }

.about-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 40px; }

.about-cards { display: flex; flex-direction: column; gap: 24px; }

.content-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}
.content-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.card-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }

.icon-wrapper { width: 48px; height: 48px; border-radius: 12px; display: flex; justify-content: center; align-items: center; }
.s-green { background: var(--s-green); color: var(--s-green-dark); }
.s-orange { background: var(--s-orange); color: var(--s-orange-dark); }
.s-blue { background: var(--s-blue); color: var(--s-blue-dark); }
.white-glow { background: rgba(255,255,255,0.9); color: var(--primary-green-dark); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }

.content-card h4 { font-size: 1.25rem; font-weight: 700; color: var(--primary-green-dark); }
.content-card span { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }
.content-card p { color: var(--text-dark); font-weight: 500; margin-top: 8px; line-height: 1.6; }

.mini-cards-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.content-card.mini { padding: 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.content-card.mini .icon-wrapper { margin-bottom: 16px; }

.premium-green-card {
    background: var(--primary-green);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 20px 40px rgba(17, 94, 51, 0.3);
    display: flex; flex-direction: column; justify-content: center;
}
.premium-green-card h3 { font-size: 1.8rem; color: #fff; margin-bottom: 16px; }
.premium-green-card p { opacity: 0.9; margin-bottom: 40px; line-height: 1.7; }

.highlight-feature {
    display: flex; align-items: center; gap: 16px;
    background: rgba(0,0,0,0.2); padding: 16px 20px; border-radius: var(--radius-md);
}
.highlight-feature strong { display: block; font-size: 1.1rem; }
.highlight-feature span { font-size: 0.85rem; opacity: 0.8; }

/* ==============================
   SERVIÇOS (Grid Moderna)
============================== */
.services { padding: 100px 0; background-color: var(--bg-light); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    border-radius: var(--radius-lg); padding: 32px;
    box-shadow: var(--shadow-md); transition: var(--transition); /* Sombra mais marcada na grid */
    border: 2px solid rgba(0,0,0,0.05); /* Borda mais definida */
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(0,0,0,0.1); }
.service-card .icon-wrapper { margin-bottom: 20px; background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.service-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; color: var(--primary-green-dark); }
.service-card p { font-size: 1rem; font-weight: 500; color: var(--text-dark); }


/* ==============================
   CONTATO
============================== */
.contact { background-color: var(--primary-green); padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; justify-content: center; align-items: stretch; }
.contact-card {
    background: var(--primary-green-dark); border-radius: var(--radius-lg); padding: 40px; text-align: center;
    color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid rgba(255,255,255,0.05);
}
.contact-card .icon-wrapper { margin: 0 auto 20px; background: rgba(255,255,255,0.1); color: var(--accent-warning); }
.contact-card h4 { font-size: 1.25rem; color: #fff; margin-bottom: 16px; }
.contact-card p { opacity: 0.8; font-size: 0.95rem; line-height: 1.4; }

.contact-card.mini { grid-column: span 3; max-width: 400px; justify-self: center; padding: 24px; }


/* ==============================
   FOOTER
============================== */
.footer { background-color: #062b16; color: #fff; padding: 40px 0 20px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.copyright { font-size: 0.8rem; opacity: 0.6; width: 100%; text-align: center; margin-top: 20px; }


/* ==============================
   MODAIS (POPUPS: Cadastro / Login)
============================== */
.modal {
    margin: auto; border: none; border-radius: var(--radius-lg); padding: 0;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    backdrop-filter: blur(10px); background: transparent;
}
.modal::backdrop { background: rgba(10, 64, 34, 0.8); backdrop-filter: blur(5px); }
.modal-box { background: #fff; width: 600px; max-width: 95vw; padding: 40px; border-radius: var(--radius-lg); position: relative; }
.modal-box.small-modal { width: 400px; }

.close-btn {
    position: absolute; top: 16px; right: 16px; background: var(--bg-light); border: none;
    width: 36px; height: 36px; border-radius: 50%; display: flex; justify-content: center; align-items: center;
    cursor: pointer; color: var(--text-gray); transition: var(--transition);
}
.close-btn:hover { background: #fee2e2; color: #ef4444; }

.modal-icon-header { width: 64px; height: 64px; background: var(--s-green); color: var(--s-green-dark); border-radius: 50%; display: flex; justify-content: center; align-items: center; margin: 0 auto 16px; }
.modal-title { font-size: 1.5rem; color: var(--text-dark); margin-bottom: 4px; }
.modal-title.center, .modal-desc.center { text-align: center; }
.modal-desc { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 30px; }

/* Formulários Modernos */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full-width { grid-column: span 2; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.form-group input, .form-group select {
    padding: 12px 16px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 0.95rem; font-family: 'Inter', sans-serif;
    color: var(--text-dark); outline: none; transition: var(--transition); background: #f8fafc;
}
.form-group input:focus, .form-group select:focus { border-color: var(--primary-green); box-shadow: 0 0 0 3px rgba(17, 94, 51, 0.1); background: #fff; }

.modal-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 20px; }
.btn-outline-dark { background: transparent; border: 1px solid #e2e8f0; color: var(--text-dark); padding: 10px 20px; border-radius: 8px; cursor: pointer; font-weight: 600; }
.btn-outline-dark:hover { background: #f1f5f9; }
.btn-solid-green { background: var(--primary-green); color: #fff; border: none; padding: 10px 24px; border-radius: 8px; cursor: pointer; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-solid-green:hover { background: var(--primary-green-dark); }
.full-width { width: 100%; }

.input-icon { position: relative; }
.input-icon svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-gray); }
.input-icon input { padding-left: 42px; width: 100%; }

.form-login { display: flex; flex-direction: column; gap: 20px; }
.login-hint { text-align: center; font-size: 0.8rem; color: var(--text-gray); margin-top: 10px; }
.login-hint code { background: #f1f5f9; padding: 2px 6px; border-radius: 4px; color: var(--text-dark); }

/* ==============================
   MEDIA QUERIES (Responsividade)
============================== */
@media (max-width: 990px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-btn { display: block; border: none; background: transparent; width: 30px; height: 20px; position: relative; cursor: pointer; }
    .mobile-menu-btn span { position: absolute; width: 100%; height: 2px; background: #fff; left: 0; transition: 0.3s; }
    .mobile-menu-btn span:nth-child(1) { top: 0; }
    .mobile-menu-btn span:nth-child(2) { top: 9px; }
    .mobile-menu-btn span:nth-child(3) { top: 18px; }
    
    .hero-container, .about-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 3rem; }
    .hero { padding-top: 140px; text-align: center; }
    .hero-buttons { justify-content: center; flex-direction: column; }
    .hero-stats { justify-content: center; }
    
    .services-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-card.mini { grid-column: span 1; }
    .footer-content { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
    .mini-cards-row { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 20px; }
}
