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

:root {
    /* Cores Baseadas na Logo Ecotrat Fibra */
    --color-primary: #49b880; /* Verde ECO/FIBRA */
    --color-primary-dark: #349d68;
    --color-secondary: #2a3b7c; /* Azul TRAT/Ícone */
    --color-accent: #f59e0b;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --text-light: #1e293b;
    --text-dark: #f1f5f9;
}

/* Base Settings */
html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-light);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

/* Dark Mode Native via CSS Class (Tailwind config helper) */
html.dark body {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

html.dark .glass {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
html.dark .glass-card {
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Micro-animations */
.hover-scale {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-scale:hover {
    transform: scale(1.02);
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Google Translate Widget Override */
.VIpgJd-ZVi9od-ORHb-OEVmcd {
    display: none !important;
}
.goog-te-gadget {
    color: transparent !important;
    font-size: 0px !important;
}
.goog-te-gadget img {
    display: none !important;
}
.goog-te-combo {
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid #ccc;
    background-color: transparent;
    color: inherit;
    font-size: 0.875rem;
    cursor: pointer;
    outline: none;
}
html.dark .goog-te-combo {
    border-color: #475569;
    color: #e2e8f0;
}
html.dark .goog-te-combo option {
    background-color: #1e293b;
    color: #e2e8f0;
}
