/* ===========================================
   VARIÁVEIS CSS E CONFIGURAÇÕES GLOBAIS
   =========================================== */
:root {
    --primary: #ea580c;
    --primary-hover: #c2410c;
    --secondary: #f97316;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    
    /* Gradientes */
    --gradient-orange: linear-gradient(135deg, #ff7e00, #ff9500);
    --gradient-red-orange: linear-gradient(45deg, #dc2626, #ef4444);
    --gradient-orange-red: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    --gradient-green: linear-gradient(135deg, #dcfce7, #bbf7d0);
    --gradient-red-light: linear-gradient(135deg, #fee2e2, #fecaca);
    --gradient-gray: linear-gradient(135deg, #1f2937, #374151);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transições */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* ===========================================
   RESET E BASE
   =========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: #f9fafb;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    padding-top: 80px; /* Compensar header fixo */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* ===========================================
   HEADER E NAVEGAÇÃO PRINCIPAL
   =========================================== */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.3);
    transition: all var(--transition-normal);
}

.header-fixed.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

/* ===========================================
   MENU DESKTOP
   =========================================== */
.desktop-menu {
    display: none; /* Escondido por padrão */
}

@media (min-width: 768px) {
    .desktop-menu {
        display: flex !important;
        align-items: center;
        gap: 2rem;
    }
}

.nav-link {
    position: relative;
    padding: 0.75rem 1rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-normal);
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(234, 88, 12, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: var(--primary);
    background-color: rgba(234, 88, 12, 0.05);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ===========================================
   MENU MOBILE - BOTÃO HAMBÚRGUER
   =========================================== */
.mobile-menu-button {
    display: block;
}

@media (min-width: 768px) {
    .mobile-menu-button {
        display: none !important;
    }
}

#mobile-menu-button {
    position: relative;
    padding: 0.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
    transition: all var(--transition-normal);
    overflow: hidden;
}

#mobile-menu-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(234, 88, 12, 0.1);
    border-radius: 50%;
    transition: all var(--transition-normal);
    transform: translate(-50%, -50%);
}

#mobile-menu-button:hover::before {
    width: 100%;
    height: 100%;
}

#mobile-menu-button:hover {
    color: var(--primary);
    transform: scale(1.05);
}

#mobile-menu-button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Animação do ícone hambúrguer */
#mobile-menu-button svg {
    transition: all var(--transition-normal);
}

#mobile-menu-button:hover svg {
    transform: rotate(90deg);
}

/* ===========================================
   MENU MOBILE - DROPDOWN
   =========================================== */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(229, 231, 235, 0.3);
    box-shadow: var(--shadow-xl);
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all var(--transition-normal);
}

.mobile-menu.active {
    max-height: 400px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu .flex {
    padding: 1.5rem;
}

.mobile-menu a {
    position: relative;
    display: block;
    padding: 1rem 1.5rem;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    transition: all var(--transition-normal);
    transform: translateX(-30px);
    opacity: 0;
    overflow: hidden;
}

.mobile-menu.active a {
    transform: translateX(0);
    opacity: 1;
}

/* Animação sequencial dos itens do menu */
.mobile-menu.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.3s; }

.mobile-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(234, 88, 12, 0.1), transparent);
    transition: left 0.6s ease;
}

.mobile-menu a:hover::before {
    left: 100%;
}

.mobile-menu a:hover {
    color: var(--primary);
    background: rgba(234, 88, 12, 0.05);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.mobile-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width var(--transition-normal);
}

.mobile-menu a:hover::after {
    width: 100%;
}

/* ===========================================
   OUTROS HEADERS
   =========================================== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
    color: var(--primary);
}

.header p {
    font-size: 1.2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    color: var(--gray-800);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

/* ===========================================
   NAVEGAÇÃO ADICIONAL
   =========================================== */
.nav-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.nav-tab {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #333;
}

.nav-tab.active {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.nav-tab:hover:not(.active) {
    background: white;
    transform: translateY(-1px);
}

/* ===========================================
   CARDS E LAYOUT
   =========================================== */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.icon-container {
    background: var(--gradient-orange);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 126, 0, 0.3);
}

.service-card:hover .icon-container {
    transform: rotate(360deg) scale(1.1);
}

/* ===========================================
   CARDS ESPECÍFICOS
   =========================================== */
.problem-card {
    background: var(--gradient-red-light);
    border-left: 4px solid #dc2626;
}

.benefit-card {
    background: var(--gradient-green);
    border-left: 4px solid #16a34a;
}

.testimonial-card {
    border-left: 4px solid #ea580c;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-card {
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ===========================================
   DASHBOARD E MÉTRICAS
   =========================================== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.metric-card {
    text-align: center;
    padding: 20px;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #764ba2;
    margin-bottom: 5px;
}

.metric-label {
    color: #666;
    font-size: 14px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    margin: 15px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 5px;
    transition: width 0.8s ease;
}

/* ===========================================
   SEÇÕES ESPECÍFICAS (CALCULADORA)
   =========================================== */
.calculator-section {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.calculator-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-100);
}

.section-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 24px;
}

.cac-icon {
    background: #fee2e2;
    color: #dc2626;
}

.ltv-icon {
    background: #d1fae5;
    color: #059669;
}

.section-title {
    flex: 1;
}

.section-title h2 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.section-title p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.results-section {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.ratio-display {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #ea580c 0%, #FF9500 100%);
    color: rgb(255, 255, 255);
    border-radius: 16px;
    margin-bottom: 30px;
}

.ratio-value {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.ratio-label {
    font-size: 1.2rem;
    opacity: 0.95;
}

.ratio-message {
    font-size: 1.1rem;
    margin-top: 10px;
    opacity: 0.9;
}

.ratio-status {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    margin-top: 16px;
    font-weight: 500;
}

.status-excellent {
    background: rgba(255,255,255,0.9);
    color: var(--success);
}

.status-good {
    background: rgba(255,255,255,0.9);
    color: var(--warning);
}

.status-poor {
    background: rgba(255,255,255,0.9);
    color: var(--danger);
}

/* ===========================================
   INSIGHTS E ANÁLISES
   =========================================== */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.insight-card {
    background: linear-gradient(135deg, #ffb278 0%, #fa6c00 100%);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    color: white;
}

.insight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 126, 0, 0.4);
}

.insight-icon {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    color: white;
    padding: 0;
    width: 70px;
    height: 70px;
}

.insight-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: auto;
}

.insight-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    margin-bottom: 4px;
}

.insight-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.insight-explanation {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin-top: 8px;
    font-style: italic;
}

.analysis-section {
    margin-top: 40px;
}

.analysis-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.analysis-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.recommendation-list {
    list-style: none;
}

.recommendation-item {
    display: flex;
    align-items: start;
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.recommendation-item.positive {
    background: #d1fae5;
    border-left: 4px solid var(--success);
}

.recommendation-item.negative {
    background: #fee2e2;
    border-left: 4px solid var(--danger);
}

.recommendation-item:hover {
    transform: translateX(5px);
}

.recommendation-icon {
    width: 32px;
    height: 32px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.recommendation-item.positive .recommendation-icon {
    background: var(--success);
}

.recommendation-item.negative .recommendation-icon {
    background: var(--danger);
}

.recommendation-content h4 {
    margin-bottom: 4px;
    color: var(--gray-800);
}

.recommendation-content p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* ===========================================
   FORMULÁRIOS
   =========================================== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.form-help {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.form-input:hover {
    border-color: var(--gray-400);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.input-wrapper {
    position: relative;
}

.input-prefix {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-600);
    font-weight: 500;
}

.form-input {
    padding-left: 40px;
}

.result-box {
    background: var(--gray-100);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
}

.result-label {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.result-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
}

/* ===========================================
   BOTÕES
   =========================================== */
.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e0e0e0;
}

.btn-secondary:hover {
    background: white;
    border-color: #667eea;
}

.btn-success {
    background: linear-gradient(45deg, #10d876, #06b656);
    color: white;
}

/* ===========================================
   CHECKLIST E COMPONENTES ESPECÍFICOS
   =========================================== */
.checklist {
    list-style: none;
}

.checklist-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.checklist-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    cursor: pointer;
}

.checklist-text {
    flex: 1;
    color: #333;
}

.checklist-item.completed .checklist-text {
    text-decoration: line-through;
    color: #999;
}

.score-display {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    margin: 20px 0;
}

.score-number {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.score-label {
    font-size: 18px;
    opacity: 0.9;
}

/* ===========================================
   TEMPLATES E GRID
   =========================================== */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.template-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.template-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.template-icon {
    font-size: 2.5rem;
    color: #764ba2;
    margin-bottom: 15px;
}

.template-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.template-description {
    color: #666;
    font-size: 14px;
}

/* ===========================================
   CALENDÁRIO E AGENDAMENTO
   =========================================== */
.calendar-container {
    background: white;
    border-radius: 15px;
    padding: 20px;
    min-height: 400px;
}

.calendar-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 20px;
}

.available-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.time-slot {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.time-slot.selected {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-color: transparent;
}

/* ===========================================
   ALERTAS E NOTIFICAÇÕES
   =========================================== */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border-color: #ffeaa7;
}

.alert-info {
    background: #cce7ff;
    color: #004085;
    border-color: #99d6ff;
}

.urgency-banner {
    background: linear-gradient(45deg, #f97316, #ea580c, #dc2626);
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
}

/* ===========================================
   CTA E SEÇÕES ESPECIAIS
   =========================================== */
.cta-section {
    text-align: center;
    padding: 40px;
    background: var(--gradient);
    color: white;
    border-radius: 16px;
    margin-top: 40px;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 24px;
    opacity: 0.95;
}

.cta-form {
    max-width: 500px;
    margin: 0 auto;
}

.cta-input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.cta-input {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.cta-btn {
    padding: 14px 32px;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ===========================================
   GARANTIAS E BADGES
   =========================================== */
.guarantee-badge {
    background: linear-gradient(135deg, #10b981, #059669);
}

/* ===========================================
   FAQ
   =========================================== */
.faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 200px;
    padding-top: 1rem;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

/* ===========================================
   TIMER E COMPONENTES ESPECIAIS
   =========================================== */
.timer-box {
    background: var(--gradient-gray);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    color: white;
    min-width: 80px;
}

/* ===========================================
   TOOLTIPS
   =========================================== */
.tooltip {
    position: relative;
    display: inline-block;
    margin-left: 8px;
    cursor: help;
}

.tooltip-icon {
    width: 20px;
    height: 20px;
    background: var(--gray-300);
    color: var(--gray-600);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.tooltip-content {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-800);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.tooltip:hover .tooltip-content {
    opacity: 1;
}

/* ===========================================
   MODAIS
   =========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(5px);
}

.modal-overlay.modal-hidden {
    opacity: 0;
    visibility: hidden;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    max-width: 500px;
    margin: 1rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    animation: modalAppear 0.3s ease-out;
}

.modal-hidden {
    display: none;
}

/* ===========================================
   BOTÃO FLUTUANTE WHATSAPP
   =========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

/* ===========================================
   ESTADOS E CLASSES AUXILIARES
   =========================================== */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* ===========================================
   ANIMAÇÕES
   =========================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.8; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===========================================
   RESPONSIVIDADE
   =========================================== */
@media (max-width: 1024px) {
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .container {
        padding: 10px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-tabs {
        flex-wrap: wrap;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .ratio-value {
        font-size: 3rem;
    }
    
    .cta-input-group {
        flex-direction: column;
    }
    
    .mobile-menu a {
        font-size: 1.1rem;
        padding: 1.25rem 1.5rem;
    }
    
    .nav-link {
        padding: 1rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.75rem;
    }
    
    .ratio-value {
        font-size: 2.5rem;
    }
    
    .insight-value {
        font-size: 1.5rem;
    }
    
    .mobile-menu .flex {
        padding: 1rem;
    }
    
    .mobile-menu a {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* ===========================================
   ACESSIBILIDADE
   =========================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus indicators mais visíveis para navegação por teclado */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Estados de alto contraste */
@media (prefers-contrast: high) {
    .nav-link {
        border: 2px solid transparent;
    }
    
    .nav-link:hover {
        border-color: var(--primary);
        background-color: white;
    }
    
    .mobile-menu a:hover {
        border: 2px solid var(--primary);
    }
}