/* ========================================
   TRAZ VALOR - LANDING PAGE STYLES
   Design System: VA Sistemas - Clean & Minimal
   ======================================== */

/* CSS Variables */
:root {
    /* Primary Colors - Green */
    --primary-900: #2d5a1d;
    --primary-800: #3d7a28;
    --primary-700: #4d9a33;
    --primary-600: #5db83e;
    --primary-500: #96ce61;
    --primary-400: #a8d87a;
    --primary-300: #bae293;
    --primary-200: #ccecac;
    --primary-100: #def6c5;
    --primary-50: #f0ffde;

    /* Secondary Colors - Teal */
    --secondary-900: #2d4a4b;
    --secondary-800: #3d6263;
    --secondary-700: #4d7a7b;
    --secondary-600: #5a8c8d;
    --secondary-500: #669899;
    --secondary-400: #7faaab;
    --secondary-300: #99bcbd;
    --secondary-200: #b3cecf;
    --secondary-100: #cce0e1;
    --secondary-50: #e6f2f3;

    /* Accent Colors - Green Primary */
    --accent-600: #4d9a33;
    --accent-500: #5db83e;
    --accent-400: #96ce61;
    --accent-300: #a8d87a;
    --accent-200: #bae293;
    --accent-100: #def6c5;

    /* Success Colors */
    --success-500: #10b981;
    --success-400: #34d399;

    /* Neutral Colors */
    --neutral-950: #030712;
    --neutral-900: #111827;
    --neutral-800: #1f2937;
    --neutral-700: #374151;
    --neutral-600: #4b5563;
    --neutral-500: #6b7280;
    --neutral-400: #9ca3af;
    --neutral-300: #d1d5db;
    --neutral-200: #e5e7eb;
    --neutral-100: #f3f4f6;
    --neutral-50: #f9fafb;
    --white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--secondary-500) 0%, var(--secondary-700) 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    --gradient-hero: linear-gradient(135deg, var(--secondary-700) 0%, var(--secondary-600) 50%, var(--secondary-500) 100%);
    --gradient-text: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-600) 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 24px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
width: 6px;
background: #f3f6f2;
}
::-webkit-scrollbar-thumb {
background: #96ce61; /* th-primary */
border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
background: #7baa29; /* tom mais escuro do th-primary */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--neutral-900);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   HEADER - Modern Clean Style
   ======================================== */
/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed; /* fixed */
    top: 0; /* top-0 */
    left: 0; /* left-0 */
    right: 0; /* right-0 */
    z-index: 50; /* z-50 */
    transition: all 0.5s ease; /* transition-all duration-500 */
    background: var(--white); /* bg-white */
    border-bottom: 1px solid var(--neutral-200); /* border-b border-border */
}


.header-container {
    max-width: 1280px; /* max-w-7xl */
    margin: 0 auto; /* mx-auto */
    padding: 1rem 1.5rem; /* py-4 px-6 */
}

.nav {
    display: flex; /* flex */
    align-items: center; /* items-center */
    justify-content: space-between; /* justify-between */
}

/* Logo */
.header-logo {
    display: flex; /* flex */
    align-items: center; /* items-center */
    text-decoration: none;
}

.header-logo-img {
    height: 2.5rem; /* h-10 */
    width: 2.5rem; /* w-10 */
    object-fit: contain; /* object-contain */
    transition: transform 0.3s ease; /* transition-transform */
}

.header-logo:hover .header-logo-img {
    transform: scale(1.05); /* hover:scale-105 */
}

/* Desktop Navigation */
.nav-menu {
    display: none; /* hidden */
    align-items: center; /* items-center */
    gap: 2rem; /* gap-8 */
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex; /* md:flex */
    }
}

.nav-link {
    position: relative; /* relative group */
    color: var(--neutral-500); /* text-muted-foreground */
    text-decoration: none;
    transition: color 0.3s ease; /* transition-colors duration-300 */
}

.nav-link:hover {
    color: var(--neutral-900); /* hover:text-foreground */
}

.nav-link-underline {
    position: absolute; /* absolute */
    bottom: -0.25rem; /* -bottom-1 */
    left: 0; /* left-0 */
    width: 0; /* w-0 */
    height: 0.125rem; /* h-0.5 */
    background: var(--primary-500); /* bg-th-primary */
    transition: width 0.3s ease; /* transition-all duration-300 */
}

.nav-link.group:hover .nav-link-underline {
    width: 100%; /* group-hover:w-full */
}

.nav-link.active {
    color: var(--neutral-900);
}

.nav-link.active .nav-link-underline {
    width: 100%;
}

/* CTA Button */
.nav-cta {
    display: none; /* hidden */
}

@media (min-width: 768px) {
    .nav-cta {
        display: block; /* md:block */
    }
}

.nav-cta-btn {
    display: inline-flex; /* inline-flex */
    align-items: center; /* items-center */
    justify-content: center; /* justify-center */
    gap: 0.5rem; /* gap-2 */
    background: var(--primary-500); /* bg-th-primary */
    color: var(--white); /* text-white */
    border-radius: 9999px; /* rounded-full */
    padding: 0.5rem 1.5rem; /* px-6 py-2 */
    font-weight: 500; /* font-medium */
    text-decoration: none;
    transition: all 0.3s ease; /* transition-all duration-300 */
}

.nav-cta-btn:hover {
    background: rgba(93, 184, 62, 0.9); /* hover:bg-th-primary/90 */
    box-shadow: 0 10px 15px -3px rgba(93, 184, 62, 0.25), 0 4px 6px -4px rgba(93, 184, 62, 0.25); /* hover:shadow-lg hover:shadow-th-primary/25 */
}

.nav-cta-btn i {
    margin-left: 0.5rem; /* ml-2 */
}

/* Mobile Menu Button */
.nav-toggle {
    display: flex; /* md:hidden (mas display flex no mobile) */
    align-items: center;
    justify-content: center;
    padding: 0.5rem; /* p-2 */
    color: var(--neutral-900); /* text-foreground */
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle i {
    font-size: 1.5rem; /* text-2xl */
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none; /* md:hidden */
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(150, 206, 97, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(150, 206, 97, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-white {
    background: var(--white);
    color: var(--secondary-700);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn i {
    font-size: 0.9em;
}

/* ========================================
   HERO SECTION - Clean & Minimal
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: var(--white);
    text-align: left;
}

.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
    width: 100%;
}

.trazvalor-logo {
    max-width: 50%;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.2));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-description {
    text-align: left;
}

.hero-buttons {
    justify-content: flex-start;
}

.hero-badge i {
    color: var(--primary-300);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description strong {
    color: var(--primary-300);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.stat-number::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--primary-300);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* ========================================
   SECTIONS COMMON
   ======================================== */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-50);
    color: var(--primary-700);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

/* ========================================
   SOBRE SECTION
   ======================================== */
.section-sobre {
    background: var(--neutral-50);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid transparent;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-100);
}

.about-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-size: 1.75rem;
}

.about-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.about-card p {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

/* ========================================
   MÓDULOS SECTION
   ======================================== */
.section-modulos {
    background: var(--white);
}

.modulos-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--neutral-100);
    color: var(--neutral-700);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.tab-btn:hover {
    background: var(--neutral-200);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(102, 152, 153, 0.3);
}

.modulo-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.modulo-panel.active {
    display: grid;
}

.modulo-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-100);
    color: var(--primary-700);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.modulo-info h3 {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.modulo-info > p {
    font-size: 1.1rem;
    color: var(--neutral-600);
    margin-bottom: 28px;
    line-height: 1.7;
}

.modulo-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.modulo-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--neutral-700);
}

.modulo-features li i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-500);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.7rem;
}

/* Módulo Visual - Video */
.modulo-visual {
    display: flex;
    justify-content: center;
}

.video-wrapper {
    width: 100%;
    max-width: 560px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: none;
}

/* ========================================
   COMO FUNCIONA SECTION - 2 Rows, Larger Images
   ======================================== */
.section-steps {
    background: var(--gradient-hero);
    color: var(--white);
}

.section-steps .section-badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--primary-300);
}

.section-steps .section-title {
    color: var(--white);
}

.section-steps .section-description {
    color: rgba(255, 255, 255, 0.7);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 28px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-base);
    position: relative;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    color: var(--white);
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50%;
}

.step-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 0 auto 20px;
    border-radius: var(--radius-md);
}

.step-card h3 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* ========================================
   DIFERENCIAIS SECTION
   ======================================== */
.section-diferenciais {
    background: var(--neutral-50);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.diferencial-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.diferencial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.diferencial-card.featured {
    background: var(--gradient-primary);
    color: var(--white);
}

.diferencial-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    background: var(--gradient-accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.diferencial-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-50);
    border-radius: 50%;
    color: var(--secondary-600);
    font-size: 2rem;
}

.diferencial-card.featured .diferencial-icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--primary-300);
}

.diferencial-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.diferencial-card.featured h3 {
    color: var(--white);
}

.diferencial-card p {
    font-size: 1rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

.diferencial-card.featured p {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   MUNICÍPIOS ATENDIDOS
   ======================================== */
.section-municipios {
    background: var(--neutral-50);
}

.municipios-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid transparent;
}

.municipios-controls {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.municipios-filter {
    display: flex;
    gap: 12px;
    align-items: center;
}

.municipios-controls label {
    display: block;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 6px;
}

#estadoSelect {
    appearance: none;
    -webkit-appearance: none;
    padding: 12px 16px;
    padding-right: 56px; /* espaço aumentado para seta maior */
    border-radius: 12px;
    border: 1px solid var(--neutral-200);
    min-width: 170px; /* reduzido para ser mais compacto */
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--secondary-700);
    color: var(--white);
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 10.94l3.71-3.71a.75.75 0 011.06 1.06l-4.24 4.24a.75.75 0 01-1.06 0L5.21 8.29a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px; /* maior */
} 

/* Hide native scrollbar on select dropdown where supported */
#estadoSelect::-webkit-scrollbar,
.small-select::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
}

#estadoSelect,
.small-select {
    /* Firefox */
    scrollbar-width: none; /* hide scrollbar in Firefox */
    /* IE 10+ */
    -ms-overflow-style: none;
}

/* smaller helper class if needed */
.small-select { min-width: 140px; }

/* Hint text for the select */
.filter-hint {
    display: block;
    font-size: 0.95rem;
    color: var(--neutral-600);
    margin-top: 6px;
    font-weight: 600;
}

@media (max-width: 600px) {
    .filter-hint { text-align: left; }
}


/* Manter options no padrão do navegador */
#estadoSelect option {
    background: #ffffff;
    color: #000000;
}

#estadoSelect:focus,
#estadoSelect:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
    outline: none;
}

/* Filter label + controls */
.filter-label {
    display: block;
    font-weight: 700;
    color: var(--neutral-700);
    margin-right: 12px;
    font: 5px
}

.filter-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-filter {
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: none;
}

.btn-filter i {
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .filter-controls {
        flex-direction: column;
        align-items: stretch;
    }

    #estadoSelect { min-width: 100%; }

    .btn-filter { width: 100%; justify-content: center; }
}

.municipios-meta {
    text-align: right;
}

.municipios-count {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-weight: 700;
    color: var(--neutral-900);
}

.municipios-count small {
    color: var(--neutral-500);
    font-weight: 600;
    font-size: 0.9rem;
}

.municipios-results .municipios-grid {
    display: grid;
    /* Force three columns on wide screens; responsive below */
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 16px;
}

/* Responsive: 2 cols for medium screens, 1 col for small screens */
@media (max-width: 900px) {
    .municipios-results .municipios-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .municipios-results .municipios-grid { grid-template-columns: repeat(1, 1fr); }
}

/* Pagination styles */
.municipios-pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin-top: 18px;
    flex-wrap: wrap;
}

.municipios-pagination .page-btn {
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    color: var(--neutral-900);
}

.municipios-pagination .page-btn.active {
    background: var(--primary-600);
    color: #fff;
    border-color: var(--primary-600);
}

.municipios-pagination .page-btn[disabled] {
    opacity: 0.5;
    cursor: default;
}

.municipio-item {
    padding: 14px;
    border-radius: 12px;
    background: var(--neutral-50);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--neutral-100);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 360ms ease, transform 360ms ease;
}

.municipio-item.show {
    opacity: 1;
    transform: translateY(0);
}

.municipio-city {
    font-weight: 700;
    color: var(--neutral-900);
}

.municipio-state {
    background: var(--primary-100);
    color: var(--primary-700);
    padding: 6px 10px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Fade in for the section */
@keyframes sectionFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-municipios.in-view .section-header,
.section-municipios.in-view .municipios-card {
    animation: sectionFadeIn 600ms ease both;
}

/* ========================================
   CTA SECTION
   ======================================== */

/* ========================================
   CTA SECTION
   ======================================== */
.section-cta {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   CONTATO SECTION - Clean & Simple
   ======================================== */
.section-contato {
    background: var(--white);
    padding: 100px 0 120px;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contato-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contato-info > p {
    font-size: 1.1rem;
    color: var(--neutral-600);
    margin-bottom: 36px;
    line-height: 1.7;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.info-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--neutral-50);
    border-radius: var(--radius-lg);
}

.info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.info-content p {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.5;
}

.info-extra {
    padding: 16px 20px;
    background: var(--secondary-50);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--secondary-600);
}

.info-extra p {
    font-size: 0.95rem;
    color: var(--neutral-700);
}

/* Contact Form - Simplified */
.form-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--neutral-100);
}

.form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 28px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--neutral-50);
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--neutral-800);
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(150, 206, 97, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--neutral-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox Terms */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary-500);
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--neutral-600);
    cursor: pointer;
    line-height: 1.5;
}

.form-checkbox label a {
    color: var(--primary-600);
    text-decoration: underline;
}

.form-checkbox label a:hover {
    color: var(--primary-700);
}

.form-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: var(--radius-md);
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ========================================
   FOOTER - Clean Modern Style
   ======================================== */
/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--neutral-50);
    border-top: 1px solid var(--neutral-200);
    overflow: hidden;
}

.footer-container {
    max-width: 1280px; /* max-w-7xl */
    margin: 0 auto;
    padding: 4rem 1.5rem; /* py-16 px-6 */
}

/* Footer Grid - Responsive: 1 col mobile, 2 cols tablet, 4 cols desktop */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem; /* gap-12 */
    margin-bottom: 3rem; /* mb-12 */
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr); /* md:grid-cols-2 */
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr); /* lg:grid-cols-4 */
    }
}

/* Footer Brand - Logo Column */
.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand-title {
    display: flex;
    align-items: top;
    gap: 0.5rem; /* gap-2 */
    margin-bottom: 1rem; /* mb-4 */
    text-decoration: none;
}

.footer-brand-title span {
    font-size: 1.25rem; /* text-xl */
    font-weight: 700; /* font-bold */
    color: var(--primary-500); /* text-th-primary */
}

.footer-brand-description {
    color: var(--neutral-500); /* text-muted-foreground */
    line-height: 1.625; /* leading-relaxed */
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* gap-3 */
    margin-top: 1rem; /* mt-4 */
}

.footer-brand-logo-img {
    height: 2.5rem; /* h-10 */
    width: auto;
    opacity: 0.6; /* opacity-60 */
    transition: opacity 0.3s ease;
}

.footer-brand-logo a:hover .footer-brand-logo-img {
    opacity: 1; /* hover:opacity-100 */
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links-title {
    font-size: 1rem;
    font-weight: 600; /* font-semibold */
    color: var(--neutral-900); /* text-foreground */
    margin-bottom: 1rem; /* mb-4 */
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* space-y-3 */
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.25rem; /* gap-1 */
    color: var(--neutral-500); /* text-muted-foreground */
    text-decoration: none;
    transition: color 0.3s ease; /* transition-colors duration-300 */
}

.footer-link:hover {
    color: var(--primary-500); /* hover:text-th-primary */
}

.footer-link-icon {
    font-size: 0.75rem; /* text-xs */
    opacity: 0; /* opacity-0 */
    transition: opacity 0.3s ease; /* transition-all */
}

.footer-link:hover .footer-link-icon {
    opacity: 1; /* group-hover:opacity-100 */
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* space-y-3 */
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem; /* gap-2 */
    color: var(--neutral-500); /* text-muted-foreground */
    font-size: 0.875rem; /* text-sm */
}

.footer-contact-item i {
    color: var(--primary-500); /* text-th-primary */
    margin-top: 0.125rem; /* mt-0.5 */
    flex-shrink: 0;
}

.footer-contact-item span {
    line-height: 1.5;
}

/* Footer Bottom Bar */
.footer-bottom {
    padding-top: 2rem; /* pt-8 */
    border-top: 1px solid var(--neutral-200); /* border-t border-border */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem; /* gap-4 */
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row; /* md:flex-row */
    }
}

.footer-copy {
    font-size: 0.875rem; /* text-sm */
    color: var(--neutral-500); /* text-muted-foreground */
    text-align: center;
}

@media (min-width: 768px) {
    .footer-copy {
        text-align: left;
    }
}

.footer-dev {
    display: flex;
    align-items: center;
    gap: 0;
}

.footer-dev span {
    font-size: 0.875rem; /* text-sm */
    color: var(--neutral-500); /* text-muted-foreground */
}

.footer-dev-link {
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
    margin-left: 0.5rem; /* ml-2 */
}

.footer-dev-link:hover {
    opacity: 0.8; /* hover:opacity-80 */
}

.footer-dev-img {
    height: 1.5rem; /* h-6 */
    width: auto;
    opacity: 0.5; /* opacity-50 */
    transition: opacity 0.3s ease;
}

.footer-dev-link:hover .footer-dev-img {
    opacity: 1; /* hover:opacity-100 */
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gradient-accent);
    transform: translateY(-5px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-description {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-logo {
        order: -1;
    }
    
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px 40px;
        gap: 24px;
        transition: var(--transition-base);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        display: flex;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        width: 100%;
    }
    
    .nav-link.active {
        color: var(--primary-500);
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active i::before {
        content: "\F62A"; /* bi-x icon */
    }
    
    .nav-cta {
        display: none;
    }
    
    .modulo-panel {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contato-grid {
        grid-template-columns: 1fr;
    }
    
    .diferenciais-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .modulos-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .form-card {
        padding: 28px 20px;
    }
    
    .footer-right {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-wrapper {
        gap: 32px;
    }
    
    .trazvalor-logo {
        max-width: 280px;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .btn-lg {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .stat-item {
        flex: 1 1 calc(50% - 12px);
        text-align: center;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .step-image {
        max-width: 150px;
    }
}

