/* 
  WHARTON TECNOLOGIA AMBIENTAL LTDA 
  Global Style Sheet
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Manrope:wght@700;800&display=swap');

:root {
    --bg-main: #0f172a;
    --bg-card: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent: #6366f1;
    --accent-hover: #4f46e5;
    --border: #334155;
    --success: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3, h4 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Header & Nav */
header {
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

nav ul li a:hover {
    color: var(--text-primary);
}

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 5rem 5%;
}

.hero {
    text-align: center;
    padding: 8rem 5%;
    background: radial-gradient(circle at top, #1e293b 0%, #0f172a 100%);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: 0.3s;
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--accent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
}

#cookie-banner.show {
    visibility: visible;
    opacity: 1;
}

.cookie-btn {
    background: var(--accent);
    border: none;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
}

/* Footer */
footer {
    padding: 4rem 5% 2rem;
    background: #020617;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info h4 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-info p, .footer-info a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: block;
}

.footer-compliance {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Blog Styling */
.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem 5%;
}

.blog-post-content h1 {
    margin-bottom: 2rem;
}

.blog-post-meta {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-main);
    color: white;
}

input:focus {
    outline: 2px solid var(--accent);
}

/* Pricing */
.pricing-card {
    text-align: center;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    margin: 1rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    header { flex-direction: column; gap: 1rem; }
    nav ul { gap: 1rem; }
}
