/* ====================================
   AMSYS ERP - STYLESHEET PROFISSIONAL
   Modern Design System 2026
==================================== */

:root {
    /* Cores Primárias */
    --primary-color: #F47920;
    --primary-dark: #1B3E7A;
    --primary-light: #F5963F;
    --secondary-color: #2E6DB4;
    
    /* Cores Funcionais */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #2E6DB4;
    
    /* Cores de Texto */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --text-white: #ffffff;
    
    /* Cores de Fundo */
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-lighter: #f3f4f6;
    --bg-dark: #111827;
    
    /* Borders */
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Tamanhos */
    --border-radius: 0.75rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====== HEADER ====== */
.header {
    position: sticky;
    top: 48px;
    z-index: 1000;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.navbar {
    padding: 1rem 0;
}

.navbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 60px;
    width: auto;
    display: block;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.link-highlight {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.btn-cta {
    background: var(--primary-color);
    color: var(--text-white) !important;
    padding: 0.65rem 1.5rem;
    border-radius: 0.5rem;
    display: inline-block;
    margin: 0;
}

.btn-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ====== DROPDOWN DE SEGMENTOS ====== */
.nav-item-dropdown {
    position: relative;
}

/* Ponte invisível que tampa o gap entre o link e o dropdown */
.nav-item-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.nav-has-dropdown {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-arrow {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.nav-item-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: #fff;
    border: 1px solid #e9ecf3;
    border-radius: 0.75rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    min-width: 200px;
    padding: 0.5rem 0;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    pointer-events: none;
}

.nav-item-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}

/* Itens do dropdown primário */
.nav-dropdown-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
    border-radius: 0;
    gap: 0.5rem;
    white-space: nowrap;
}

.nav-dropdown-item > a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
}

.nav-dropdown-item:hover {
    background: #FFF5ED;
    color: var(--primary-color);
}

.nav-dropdown-item:hover > a {
    color: var(--primary-color);
}

/* Ponte invisível que tampa o gap entre o item e o flyout */
.nav-dropdown-item.has-flyout::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 0;
    width: 10px;
    height: 100%;
    background: transparent;
}

/* Flyout (submenu de segundo nível) */
.nav-flyout {
    position: absolute;
    left: calc(100% + 10px);
    top: -6px;
    background: #fff;
    border: 1px solid #e9ecf3;
    border-radius: 0.75rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    min-width: 230px;
    padding: 0.5rem 0;
    z-index: 2100;
    opacity: 0;
    visibility: hidden;
    transform: translateX(4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
    pointer-events: none;
}

.nav-dropdown-item.has-flyout:hover .nav-flyout {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: all;
}

.nav-flyout a {
    display: block;
    padding: 0.6rem 1.1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.nav-flyout a:hover {
    background: #FFF5ED;
    color: var(--primary-color);
}

/* Indicador de hover no item com flyout */
.nav-dropdown-item.has-flyout:hover {
    background: #FFF5ED;
    color: var(--primary-color);
}

/* Seta de abertura do flyout aponta para direita */
.nav-dropdown-item.has-flyout > svg {
    flex-shrink: 0;
    opacity: 0.5;
}

.nav-dropdown-item.has-flyout:hover > svg {
    opacity: 1;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* ====== HERO SECTION ====== */
.hero-modern {
    position: relative;
    padding: 3.5rem 0 0;
    overflow: hidden;
    min-height: auto;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0D1B35 0%, #1B3E7A 55%, #0F2347 100%);
}

/* Grade sutil de pontos */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 36px 36px;
    z-index: 0;
}

/* Gradiente de borda inferior para transição suave */
.hero-bg-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, #f8fafc);
    z-index: 1;
}

/* Formas geométricas decorativas */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    z-index: 0;
}
.hero-shape-1 {
    width: 480px; height: 480px;
    background: radial-gradient(circle, #F47920, transparent 70%);
    top: -120px; right: -80px;
    animation: heroFloat 8s ease-in-out infinite;
}
.hero-shape-2 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, #2E6DB4, transparent 70%);
    bottom: -80px; left: 5%;
    animation: heroFloat 11s ease-in-out infinite reverse;
}
.hero-shape-3 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, #F47920, transparent 70%);
    top: 40%; left: 42%;
    opacity: 0.07;
    animation: heroFloat 14s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-20px) scale(1.05); }
}

.hero-modern .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    color: #fff;
    font-weight: 800;
}

.text-highlight {
    background: linear-gradient(135deg, #F47920 0%, #FFB347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 0.5rem 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #F47920;
    -webkit-text-fill-color: #F47920;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    margin-top: 0.5rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 420px;
    max-height: 380px;
    height: auto;
    object-fit: contain;
    object-position: bottom;
    display: block;
}

/* ====== BUTTONS ====== */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-light);
    color: var(--text-white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

.btn-full {
    width: 100%;
}

/* ====== SEÇÕES GERAIS ====== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 800;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--info-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ====== SEGMENTOS ====== */
.segmentos-section {
    background: var(--bg-light);
}

.segmentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.segmento-card {
    background: var(--bg-white);
    padding: 1.5rem 1.25rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.segmento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.segmento-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.segmento-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.segmento-card p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.feature-list {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.feature-list li {
    color: var(--text-secondary);
    font-size: 0.82rem;
}

/* ====== MÓDULOS ====== */
.modulos-section {
    background: var(--bg-white);
}

.modulos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.modulo-box {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.modulo-box:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.modulo-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.modulo-box h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.modulo-box p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.modulo-features {
    list-style: none;
}

.modulo-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ====== DIFERENCIAIS ====== */
.diferenciais-section {
    background: var(--bg-light);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.diferencial-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.diferencial-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.diferencial-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.diferencial-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.diferencial-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ====== PROBLEMAS ====== */
.problemas-section {
    background: var(--bg-white);
}

.problemas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.problema-item {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(30, 64, 175, 0.02) 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--primary-light);
    transition: var(--transition);
}

.problema-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.problema-numero {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.problema-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.problema-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ====== CARROSSEL ====== */
.carousel-section {
    background: var(--bg-white);
    padding: 4rem 0;
}
.carousel-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}
.carousel-track {
    display: flex;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.carousel-slide {
    min-width: 100%;
    position: relative;
    background: #ffffff;
}
.carousel-slide img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    display: block;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.92);
    border: none;
    color: #1B3E7A;
    font-size: 2rem;
    line-height: 1;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    transition: background .2s, color .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-btn:hover { background: #F47920; color: #fff; }
.carousel-btn-prev { left: .9rem; }
.carousel-btn-next { right: .9rem; }
.carousel-dots {
    position: absolute;
    bottom: .85rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .5rem;
    z-index: 5;
}
.carousel-dot {
    width: .65rem;
    height: .65rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    transition: background .25s, transform .25s;
    border: none;
}
.carousel-dot.active {
    background: #F47920;
    transform: scale(1.3);
}

/* ====== CASOS DE SUCESSO ====== */
.casos-section {
    background: var(--bg-light);
}

.casos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.caso-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.caso-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.caso-stars {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.caso-texto {
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.caso-autor {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.caso-autor strong {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.caso-autor span {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* ====== NÚMEROS ====== */
.numeros-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: 4rem 0;
}

.numeros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.numero-item {
    text-align: center;
}

.numero-valor {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.numero-desc {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ====== PLANOS ====== */
.planos-section {
    background: var(--bg-white);
}

.planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.plano-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
}

.plano-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.plano-card.professional {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.plano-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.plano-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.plano-preco {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.plano-preco span {
    font-size: 2.5rem;
}

.plano-periodo {
    font-size: 1rem;
    color: var(--text-secondary);
}

.plano-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.plano-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plano-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

/* ====== DEMO CTA ====== */
.demo-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: 4rem 0;
}

.demo-content {
    text-align: center;
}

.demo-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.demo-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.demo-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.demo-form input,
.demo-form select {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-size: 0.95rem;
}

.demo-form input::placeholder,
.demo-form select {
    color: rgba(255, 255, 255, 0.7);
}

.demo-form input:focus,
.demo-form select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ====== SUPORTE ====== */
.suporte-section {
    background: var(--bg-light);
}

.suporte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.suporte-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.suporte-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.suporte-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.suporte-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.suporte-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ====== CTA FINAL ====== */
.cta-final-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: 4rem 0;
    text-align: center;
}

.cta-final-section h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.cta-final-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ====== FOOTER ====== */
.footer {
    background: var(--text-primary);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3,
.footer-col h4 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer-col h3 {
    font-size: 1.25rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-col p a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col p a:hover {
    color: var(--text-white);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--text-white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2.25rem;
    height: 2.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--text-white);
}

/* ====== UTILITÁRIOS ====== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

/* ====== STICKY BAR ====== */
.sticky-bar {
    background: linear-gradient(90deg, #E06510 0%, #F47920 100%);
    color: #fff;
    padding: 0.65rem 0;
    position: sticky;
    top: 0;
    z-index: 1100;
}

.sticky-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.sticky-bar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sticky-bar-icon {
    width: 2rem;
    height: 2rem;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sticky-bar-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.sticky-bar-text strong {
    font-size: 0.85rem;
}

.sticky-bar-text span {
    font-size: 0.75rem;
    opacity: 0.8;
}

.sticky-bar-stats {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.sticky-stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    opacity: 0.95;
    white-space: nowrap;
}

.sticky-cta-btn {
    background: #fff;
    color: #1B3E7A;
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
    border-radius: 0.5rem;
    font-weight: 700;
    white-space: nowrap;
    border: none;
}

.sticky-cta-btn:hover {
    background: #FFE0C0;
}

/* ====== FUNCIONALIDADES ESSENCIAIS ERP ====== */
.funcionalidades-section {
    background: #FFF5ED;
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.feature-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem 1.75rem;
    border: 1px solid #e9ecf3;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(244,121,32,0.15);
}

.feature-icon-circle {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.feature-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.feature-bullets li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding-left: 1rem;
    position: relative;
}

.feature-bullets li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.5rem;
    top: 0.35rem;
}

.feature-result {
    font-size: 0.85rem;
    color: var(--text-primary);
    border-top: 1px solid var(--border-light);
    padding-top: 0.75rem;
    margin-top: auto;
}

/* ====== PROBLEMAS (NOVO) ====== */
.problemas-section {
    background: #fdf8f0;
    padding: 5rem 0;
}

.text-danger {
    color: #ef4444;
}

.problemas-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.problema-item-new {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: transparent;
    padding: 0.5rem 0;
}

.problema-icon-wrap {
    width: 2.5rem;
    height: 2.5rem;
    background: #fff;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.problema-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.problema-num-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.problema-pct {
    font-size: 1.5rem;
    font-weight: 800;
    color: #f59e0b;
    line-height: 1;
}

.problema-pct-blue {
    color: #2E6DB4;
}

.problema-pct-red {
    color: #ef4444;
}

.problema-das {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.problema-body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.problema-body p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.problemas-cta {
    text-align: center;
}

/* ====== ROI CALCULATOR ====== */
.roi-section {
    background: #FFF5ED;
    padding: 5rem 0;
}

.roi-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 8px 32px rgba(244,121,32,0.12);
    overflow: hidden;
}

.roi-inputs {
    padding: 2rem;
    border-right: 1px solid var(--border-color);
}

.roi-inputs-header,
.roi-results-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 1.75rem;
}

.roi-field {
    margin-bottom: 1.75rem;
}

.roi-field label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    font-weight: 500;
}

.roi-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, #F47920 30%, #e5e7eb 30%);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    margin-bottom: 0.4rem;
}

.roi-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #F47920;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(244,121,32,0.4);
}

.roi-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 50%;
    background: #F47920;
    cursor: pointer;
}

.roi-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-light);
}

.roi-current-val {
    font-weight: 700;
    color: var(--primary-color);
}

.roi-results {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.roi-result-item {
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
}

.roi-saving-card { background: #f0fdf4; }
.roi-roi-card    { background: #eff6ff; }
.roi-payback-card { background: #f0fdfa; }

.roi-result-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.roi-result-value {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.roi-green { color: #16a34a; }
.roi-blue  { color: #2E6DB4; }
.roi-teal  { color: #0d9488; }

.roi-cta-btn {
    margin-top: auto;
    padding: 0.875rem;
    font-size: 1rem;
    border-radius: 0.75rem;
}

/* ====== SUPORTE (DARK BLUE) ====== */
.suporte-section {
    background: linear-gradient(135deg, #1B3E7A 0%, #2E6DB4 60%, #3A85C5 100%);
    padding: 5rem 0;
    color: #fff;
}

.suporte-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.suporte-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.suporte-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.suporte-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.suporte-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    transition: var(--transition);
}

.suporte-item:hover {
    background: rgba(255,255,255,0.14);
}

.suporte-item-icon {
    width: 2.25rem;
    height: 2.25rem;
    background: rgba(255,255,255,0.15);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.suporte-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.2rem;
}

.suporte-item p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    margin: 0;
}

.suporte-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.suporte-badge-top {
    background: #fff;
    color: #1B3E7A;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

.suporte-img-placeholder {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
}

.suporte-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
}

.suporte-badge-bottom {
    background: #1B3E7A;
    border: 2px solid #fff;
    border-radius: 0.75rem;
    padding: 0.75rem 1.25rem;
    text-align: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    align-self: flex-end;
}

.suporte-pct {
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
}

/* ====== CASOS DE SUCESSO (ATUALIZADO) ====== */
.caso-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.caso-stars {
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 2px;
}

.caso-quote-icon {
    opacity: 0.6;
}

.caso-autor {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1rem;
}

.caso-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.caso-autor strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.caso-autor span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ====== QUEM SOMOS ====== */
.quem-somos-section {
    background: var(--bg-white);
    padding: 5rem 0;
}

.quem-stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.quem-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.quem-stat-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quem-stat p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    max-width: 130px;
    line-height: 1.4;
}

.quem-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.quem-img-placeholder {
    background: #FFF5ED;
    border-radius: 1rem;
    aspect-ratio: 4/3;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.quem-img-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-light);
}

.quem-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quem-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.quem-text p strong {
    color: var(--text-primary);
}


/* ====== MODAL WHITE-LABEL ====== */
.wl-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,20,50,0.72);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    backdrop-filter: blur(4px);
}
.wl-overlay.wl-visible {
    opacity: 1;
    visibility: visible;
}
.wl-modal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 860px;
    width: 100%;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.45);
    position: relative;
    transform: translateY(30px);
    transition: transform .4s ease;
}
.wl-overlay.wl-visible .wl-modal {
    transform: translateY(0);
}
.wl-close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #333;
    font-size: 1.25rem;
    line-height: 1;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background .2s, color .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}
.wl-close:hover { background: #f47920; color: #fff; border-color: #f47920; }

/* Lado esquerdo */
.wl-left {
    background: linear-gradient(145deg, #0D1B35 0%, #1B3E7A 100%);
    padding: 2.5rem 2rem;
    color: #fff;
}
.wl-badge {
    display: inline-block;
    background: rgba(244,121,32,0.2);
    color: #F47920;
    border: 1px solid rgba(244,121,32,0.4);
    border-radius: 2rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .05em;
    padding: .3rem .85rem;
    margin-bottom: 1rem;
}
.wl-left h2 {
    font-size: 1.6rem;
    line-height: 1.25;
    margin-bottom: .75rem;
    color: #fff;
}
.wl-left h2 span {
    color: #F47920;
}
.wl-sub {
    font-size: .9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
    line-height: 1.55;
}
.wl-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.wl-benefits li {
    font-size: .875rem;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: .55rem;
}
.wl-check {
    background: #F47920;
    color: #fff;
    border-radius: 50%;
    width: 1.15rem;
    height: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Lado direito */
.wl-right {
    background: #fff;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.1rem;
}
.wl-logo-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
}
.wl-logo-img {
    height: 36px;
    object-fit: contain;
    filter: grayscale(1) opacity(.5);
}
.wl-arrow {
    font-size: 1.4rem;
    color: #F47920;
    font-weight: 700;
}
.wl-logo-placeholder {
    border: 2px dashed #F47920;
    border-radius: .6rem;
    padding: .35rem .9rem;
    font-size: .7rem;
    font-weight: 800;
    color: #F47920;
    letter-spacing: .08em;
    line-height: 1.3;
}
.wl-cta-text {
    font-size: .875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.wl-btn-wa {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    padding: .8rem 1.75rem;
    border-radius: 2rem;
    text-decoration: none;
    transition: background .2s, transform .2s;
    width: 100%;
    justify-content: center;
}
.wl-btn-wa:hover {
    background: #1ebe5b;
    transform: translateY(-2px);
}
.wl-btn-later {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: .8rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}
.wl-btn-later:hover { color: var(--text-primary); }

@media (max-width: 640px) {
    .wl-modal { grid-template-columns: 1fr; }
    .wl-left  { padding: 2rem 1.5rem; }
    .wl-right { padding: 1.75rem 1.5rem; }
    .wl-left h2 { font-size: 1.35rem; }
}

/* ====== WHATSAPP CHAT BOT ====== */
.wa-widget {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.85rem;
}
/* Botão flutuante */
.wa-btn {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.25rem 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}
.wa-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(37,211,102,0.6); }
.wa-btn-ico  { flex-shrink: 0; }
.wa-btn-lbl  { white-space: nowrap; }
.wa-bdg {
    position: absolute;
    top: -7px; right: -7px;
    background: #F47920;
    color: #fff;
    border-radius: 50%;
    width: 20px; height: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff;
    animation: wa-bdg-pop 0.5s ease;
}
@keyframes wa-bdg-pop {
    0%  { transform: scale(0); }
    75% { transform: scale(1.3); }
    100%{ transform: scale(1); }
}
/* Janela de chat */
.wa-chat {
    width: 340px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 48px rgba(0,0,0,0.22);
    display: flex;
    flex-direction: column;
    max-height: 600px;
    opacity: 0;
    transform: scale(0.94) translateY(14px);
    pointer-events: none;
    transition: opacity 0.22s, transform 0.22s;
    transform-origin: bottom right;
}
.wa-chat--open {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}
/* Header */
.wa-chat-hd {
    background: #075E54;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    flex-shrink: 0;
}
.wa-chat-hd-av {
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.wa-chat-hd-info strong { display: block; font-size: 0.92rem; }
.wa-chat-hd-info span {
    font-size: 0.72rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 5px;
}
.wa-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #4CF577;
    animation: wa-blink 1.8s infinite;
}
@keyframes wa-blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.wa-chat-hd-close {
    margin-left: auto;
    background: none; border: none; color: #fff;
    font-size: 1.5rem; line-height: 1;
    cursor: pointer; opacity: 0.75; padding: 0 0.1rem;
}
.wa-chat-hd-close:hover { opacity: 1; }
/* Área de mensagens */
.wa-msgs {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0.85rem 0.6rem;
    background: #ECE5DD;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 180px;
}
.wa-msg { display: flex; }
.wa-msg-bot  { justify-content: flex-start; }
.wa-msg-user { justify-content: flex-end; }
.wa-bubble {
    max-width: 80%;
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
    font-size: 0.84rem;
    line-height: 1.5;
    box-shadow: 0 1px 2px rgba(0,0,0,0.14);
    animation: wa-bubble-in 0.18s ease;
}
@keyframes wa-bubble-in {
    from { opacity:0; transform:scale(0.9); }
    to   { opacity:1; transform:scale(1); }
}
.wa-msg-bot  .wa-bubble { background: #fff; border-top-left-radius: 2px; }
.wa-msg-user .wa-bubble { background: #DCF8C6; border-top-right-radius: 2px; color: #111; }
/* Indicador de digitação */
.wa-typing {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 4px;
}
.wa-typing i {
    display: block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #aaa;
    animation: wa-dot-bounce 1.2s infinite;
    font-style: normal;
}
.wa-typing i:nth-child(2) { animation-delay: .2s; }
.wa-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes wa-dot-bounce {
    0%,60%,100% { transform: translateY(0); }
    30%         { transform: translateY(-6px); }
}
/* Respostas rápidas */
.wa-qr {
    display: none;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.65rem 0.85rem;
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    flex-shrink: 0;
    max-height: 210px;
    overflow-y: auto;
}
.wa-qr-btn {
    background: #fff;
    border: 1.5px solid #25D366;
    color: #075E54;
    border-radius: 20px;
    padding: 0.33rem 0.75rem;
    font-size: 0.79rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.wa-qr-btn:hover { background: #25D366; color: #fff; }
/* Input de nome */
.wa-input-wrap {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    background: #f0f0f0;
    border-top: 1px solid #e0e0e0;
    flex-shrink: 0;
}
.wa-input-field {
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 0.45rem 0.85rem;
    font-size: 0.84rem;
    outline: none;
    background: #fff;
}
.wa-input-field:focus { border-color: #25D366; }
.wa-input-send {
    background: #25D366;
    border: none;
    border-radius: 50%;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s;
}
.wa-input-send:hover { background: #1ebe5a; }
/* Botões de redirecionamento */
.wa-redir {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    flex-shrink: 0;
}
.wa-redir-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: #25D366;
    transition: opacity 0.15s, transform 0.15s;
}
.wa-redir-btn--s  { background: #075E54; }
.wa-redir-btn:hover { opacity: 0.88; transform: translateY(-1px); }
@media (max-width: 480px) {
    .wa-widget  { bottom: 1rem; right: 1rem; }
    .wa-btn-lbl { display: none; }
    .wa-btn     { padding: 0.9rem; border-radius: 50%; }
    .wa-chat    { width: calc(100vw - 2rem); max-height: 540px; }
}


/* ====== PRESENÇA NACIONAL / MAPA ====== */
.mapa-section {
    background: var(--bg-light);
}
.mapa-layout {
    display: grid;
    grid-template-columns: 1fr 270px;
    gap: 3rem;
    align-items: center;
}
.mapa-chart-wrap { position: relative; }
#amMapBrasil {
    width: 100%;
    height: 500px;
}
.mapa-legenda {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}
.mapa-leg-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.mapa-leg-item i {
    display: inline-block;
    width: 14px; height: 14px;
    border-radius: 3px;
    flex-shrink: 0;
}
.mapa-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.mapa-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.mapa-stat {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 0.9rem 0.65rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.mapa-stat strong {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.2rem;
}
.mapa-stat span {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.mapa-localidades h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
    font-weight: 700;
}
.mapa-loc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.mapa-loc-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.mapa-loc-list li:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(244,121,32,0.12);
}
.mapa-loc-pin {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--primary-dark);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    letter-spacing: -0.02em;
}
.mapa-loc-list li > div:last-child strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}
.mapa-loc-list li > div:last-child span {
    font-size: 0.72rem;
    color: var(--text-secondary);
}
@media (max-width: 960px) {
    .mapa-layout { grid-template-columns: 1fr; }
    #amMapBrasil { height: 400px; }
}
@media (max-width: 560px) {
    #amMapBrasil { height: 300px; }
    .mapa-hint { display: none; }
}

