/* ========================================
   ObraTrack Landing Page - CSS
   ======================================== */

/* ========== Variables ========== */
:root {
    /* Colors */
    --primary-color: #ff8526;
    --primary-dark: #E55A2B;
    --primary-light: #FF8C5F;
    --secondary-color: #004E89;
    --secondary-dark: #003A66;
    --accent-color: #1A936F;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    
    /* Neutrals */
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    --border-color: #e0e0e0;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========== Reset & Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height-base);
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========== Container ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}


/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--spacing-sm);
}

p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

/* ========== Buttons ========== */

.btn { 
  display: inline-flex; 
  justify-content: center; 
  align-items: center; 
  gap: 8px;
  padding: 14px 18px; 
  border-radius: 50px; 
  font-weight: 700; 
  text-decoration: none; 
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  letter-spacing: 0.2px;  
}

.btn-primary,
.btn-secondary,
.btn-outline,
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 6px 20px rgba(255,107,53,.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: rgba(255,107,53,.05);
    color: white;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* ========== Navigation ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-base);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo i {
    font-size: 1.75rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-menu li a {
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.nav-menu li a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.lnk-entrar {
    color: #ff8526 !important;
    font-weight: 500;
}

/* ========== Hero Section ========== */
.hero {
    padding-top: 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-text h1 {
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.trust-item i {
    color: var(--accent-color);
}

.hero-image {
    position: relative;
}



@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ========== Stats Section ========== */
.stats-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
}

.stat-content h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ========== Section Header ========== */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl) auto;
}

.section-tag {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-sm);
}

/* ===== DASHBOARD (CSS extraído do arquivo do site-alvo) ===== */
.dashboard-preview {
  margin: var(--spacing-xxl) 0;
}

@media (max-width: 768px) {
  .dashboard-preview {
    margin: var(--spacing-xl) 0;
  }
}

/* Container e cabeçalho */
.dashboard-container {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 30px;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  transition: all 0.3s ease;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eaeaea;
}

/* Perfil (avatar + saudações) */
.dashboard-profile {
  display: flex;
  align-items: center;
}

.profile-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ff8526;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  margin-right: 15px;
}

.profile-info h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}

.profile-info p {
  margin: 0;
  color: #777;
  font-size: 0.9rem;
}

/* Ações: seletor de período + botão nova transação */
.dashboard-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.period-selector {
  display: flex;
  background-color: #f5f6f8;
  border-radius: 8px;
  padding: 4px;
}

.period-btn {
  border: none;
  background: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #333;
}

.period-btn.active {
  background-color: #ff8526;
  color: white;
  font-weight: 500;
}

.add-transaction-btn {
  background-color: #ff8526;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.add-transaction-btn:hover {
  background-color: #e55a25;
}

/* Cards de KPIs */
.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.stat-card p {
  color: #777;
  margin: 0 0 8px 0;
  font-size: 0.9rem;
}

.stat-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #333;
}

/* Indicadores (percentuais, badges) */
.percentage {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.percentage.up { color: #10b981; }
.percentage.down { color: #ef4444; }

.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}
.bg-info { background-color: #17a2b8; }
.bg-success { background-color: #28a745; }
.bg-warning { background-color: #ffc107; color: #212529; }
.bg-danger { background-color: #dc3545; }

/* Lista de transações */
.dashboard-transactions {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-bottom: 30px;
}

.transactions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.transactions-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.view-all-btn {
  border: none;
  background: none;
  color: #ff8526;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.transactions-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.transaction-item {
  display: flex;
  align-items: center;
  padding: 15px;
  border-radius: 8px;
  background-color: #f9f9f9;
  transition: all 0.2s ease;
}

.transaction-item:hover { background-color: #f0f0f0; }

.transaction-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 15px;
}

/* Cores conforme tipo */
.transaction-item.income .transaction-icon {
  background-color: rgba(40, 167, 69, 0.1);
  color: #10b981;
}
.transaction-item.expense .transaction-icon {
  background-color: #ffc10723;
  color: #ffc107;
}

.transaction-item.new .transaction-icon {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.transaction-details { flex: 1; }
.transaction-details h4 { margin: 0; font-size: 1rem; font-weight: 500; color: #333; }
.transaction-details p { margin: 0; font-size: 0.85rem; color: #777; }

.transaction-category { margin-right: 20px; }

.category-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: white;
  font-weight: 500;
}

.transaction-amount {
  font-weight: 600;
  font-size: 1.1rem;
}
.transaction-item.income .transaction-amount { color: #28a745; }
.transaction-item.expense .transaction-amount { color: #dc3545; }

/* Animação para valores mudando */
@keyframes numberChange {
  0% { opacity: 0.5; transform: translateY(5px); }
  100% { opacity: 1; transform: translateY(0); }
}
.value-changing { animation: numberChange 0.5s ease forwards; }

/* Responsivo */
@media (max-width: 992px) {
  .dashboard-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .dashboard-actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  .period-selector {
    width: 100%;
    justify-content: space-between;
  }
  .add-transaction-btn {
    width: 100%;
    justify-content: center;
  }
  .transaction-item { flex-wrap: wrap; }
  .transaction-category { margin-right: 0; margin-top: 10px; width: 100%; }
  .transaction-amount { width: 100%; text-align: right; margin-top: 10px; }
}
@media (max-width: 576px) {
  .dashboard-cards { grid-template-columns: 1fr; }
}

/* ===== Ajuste do bloco .stat-change ===== */
.stat-change {
  display: inline-flex;
  align-items: center;
  gap: 6px;              /* espaço entre ícone e texto */
  font-size: 0.9rem;     /* diminui tamanho do texto */
  color: #555;           /* cor neutra (pode trocar) */
}

.stat-change i {
  font-size: 0.95rem;    /* ícone um pouco menor */
  color: black;        /* cor do ícone — mantém o laranja da identidade */
}

/* ===== Cores específicas dos valores ===== */
.stat-card:nth-child(2) h3 {
  color: #10b981; /* verde para Total de Entradas */
}

.stat-card:nth-child(3) h3 {
  color: #ef4444; /* vermelho para Total de Saídas */
}

/* ===== Cores do Saldo Total (dinâmico) ===== */
.stat-card:nth-child(4) h3.positivo {
  color: #10b981; /* verde quando positivo */
}

.stat-card:nth-child(4) h3.negativo {
  color: #ef4444; /* vermelho quando negativo */
}

/* ========== Features Section ========== */
.features {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.feature-card {
    padding: var(--spacing-lg);
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: var(--radius-lg);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== How It Works Section ========== */
.how-it-works {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-light);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xxl);
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.step-reverse {
    grid-template-columns: 80px 1fr 1fr;
}

.step-reverse .step-content {
    order: 2;
}

.step-reverse .step-image {
    order: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    font-size: 2rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
}

.step-content h3 {
    margin-bottom: var(--spacing-sm);
}

.step-content p {
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.step-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.step-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
}

.step-features li i {
    color: var(--accent-color);
}

.step-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.step-image img {
    width: 100%;
    height: auto;
}

/* ========== Pricing Section ========== */


.pricing .section-header{
    text-align: center;
    margin-bottom: 28px;
}

.pricing .section-tag{
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(255, 107, 53, 0.1);
    padding: 6px 10px;
    border-radius: 999px;  
}

/* ===== Pricing (site-alvo) ===== */
.pricing-section {
  padding: 40px 0;
  background-color: #f8f9fa;
  font-family: 'Poppins', sans-serif; /* tipografia do alvo */
}

.pricing-section .pricing-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 50px auto;
  max-width: 1140px;
  align-items: center;
}

.pricing-section .pricing-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 40px 30px;
  width: 100%;
  max-width: 340px;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid #eaeaea;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
}

.pricing-section .pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.pricing-section .pricing-card.featured {
  background: linear-gradient(135deg,#fff,#fff9f6);
  border: none;
  box-shadow: 0 15px 40px rgba(255,107,53,0.15);
  transform: scale(1.05);
}
.pricing-section .pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-section .popular-badge,
.pricing-section .best-value-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 5px 15px;
  border-radius: 30px;
  font-size: .8rem;
  font-weight: 600;
  color: #fff;
}
.pricing-section .popular-badge { background:#ff8526; }
.pricing-section .best-value-badge { background:#20c997; }

.pricing-section .plan-header {
  text-align: center;
  padding-bottom: 25px;
  margin-bottom: 25px;
  border-bottom: 1px solid #f1f1f1;
}

.pricing-section .plan-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.pricing-section .plan-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #ff8526;
  margin-bottom: 5px;
  line-height: 1.2;
}
.pricing-section .plan-price span {
  font-size: 1rem;
  font-weight: 400;
  color: #6c757d;
}

.pricing-section .plan-details {
  color: #6c757d;
  margin-bottom: 10px;
}

.pricing-section .plan-save {
  display: inline-block;
  background: rgba(32,201,151,0.15);
  color: #20c997;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: .9rem;
  font-weight: 600;
}

.pricing-section .plan-features { margin-bottom: 30px; }
.pricing-section .plan-features ul { list-style: none; padding:0; margin:0; }
.pricing-section .plan-features li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}
.pricing-section .plan-features li i {
  color: #28a745;
  margin-right: 12px;
}

.pricing-section .plan-cta { text-align: center; }

/* Botões do pricing (escopados) */
.pricing-section .btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s ease;
}
.pricing-section .btn-primary {
  background-color:#ff8526; color:#fff; border:2px solid #ff8526;
  box-shadow: 0 6px 20px rgba(255,107,53,.2);
}
.pricing-section .btn-primary:hover { background:#e55a25; border-color:#e55a25; }
.pricing-section .btn-outline {
  background:transparent; color:#ff8526; border:2px solid #ff8526;
}
.pricing-section .btn-outline:hover { background:#ff8526; color:#fff; }

/* “O que está incluído” */
.pricing-section .features-list {
  text-align: center;
  max-width: 900px;
  margin: 60px auto 40px;
}
.pricing-section .features-list h3 { margin-bottom:30px; font-size:1.5rem; color:#333; }

.pricing-section .features-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
}
.pricing-section .feature-item {
  background:#fff; padding:15px; border-radius:10px;
  box-shadow:0 5px 15px rgba(0,0,0,.05);
  display:flex; align-items:center;
}
.pricing-section .feature-item i { color:#ff8526; font-size:1.2rem; margin-right:10px; }

/* Garantia */
.pricing-section .pricing-guarantee {
  display:flex; align-items:center; justify-content:center;
  background:#fff; box-shadow:0 10px 30px rgba(0,0,0,.08);
  border-radius:16px; padding:30px; max-width:700px; margin:0 auto;
}
.pricing-section .guarantee-badge {
  width:60px; height:60px; background:rgba(32,201,151,.15);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  margin-right:20px;
}
.pricing-section .guarantee-badge i { color:#20c997; font-size:1.8rem; }
.pricing-section .guarantee-text h4 { font-size:1.3rem; margin-bottom:5px; color:#333; }
.pricing-section .guarantee-text p { margin:0; color:#6c757d; }

/* Responsivo do pricing */
@media (max-width: 992px) {
  .pricing-section .pricing-card.featured { transform:none; order:0; }
  .pricing-section .pricing-card.featured:hover { transform: translateY(-10px); }
  .pricing-section .features-grid { grid-template-columns:repeat(3,1fr); }
}
@media (max-width: 768px) {
  .pricing-section .pricing-cards { flex-direction:column; align-items:center; }
  .pricing-section .pricing-card { max-width:100%; }
  .pricing-section .features-grid { grid-template-columns:repeat(2,1fr); }
  .pricing-section .pricing-guarantee { flex-direction:column; text-align:center; }
  .pricing-section .guarantee-badge { margin-right:0; margin-bottom:15px; }
}
@media (max-width: 576px) {
  .pricing-section .features-grid { grid-template-columns:1fr; }
}


/* ========== Testimonials Section ========== */
.testimonials {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.testimonial-card {
    padding: var(--spacing-lg);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: var(--spacing-sm);
    color: #FFC107;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}


/* ========== CTA Section ========== */
.cta-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background: var(--bg-light);
}

/* ========== Footer ========== */
.footer {
    padding: var(--spacing-xxl) 0 var(--spacing-md) 0;
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.footer-logo i {
    font-size: 1.75rem;
}

.footer-column p {
    margin-bottom: var(--spacing-md);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-column h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step {
        grid-template-columns: 1fr;
    }
    
    .step-reverse {
        grid-template-columns: 1fr;
    }
    
    .step-reverse .step-content {
        order: unset;
    }
    
    .step-reverse .step-image {
        order: unset;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        transition: var(--transition-base);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding: calc(80px + var(--spacing-lg)) 0 var(--spacing-lg) 0;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-trust {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ================================
   DEMO WHATSAPP (Mordomo)
   Seção: #teste-whatsapp (.whatsapp-demo)
   ================================ */

.whatsapp-demo {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.whatsapp-demo.section{
  padding: 72px 0 64px;
}

.whatsapp-demo .section-header {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.whatsapp-demo .section-subtitle{
  display:inline-block;
  font-weight:700;
  letter-spacing:.12em;
  color:var(--brand-orange);
  text-transform:uppercase;
  margin-bottom:10px;
}

.whatsapp-demo .section-title{
  font-size: clamp(28px, 4.2vw, 44px);
  line-height:1.12;
  font-weight:800;
  color:var(--text-strong);
  text-align:center;
  margin:0 0 12px;
}
.whatsapp-demo .section-description{
  max-width:780px;
  margin:0 auto 40px;
  color:var(--text-muted);
  font-size:clamp(15px, 1.6vw, 17px);
  line-height:1.6;
  text-align:center;
}

.whatsapp-demo-container {
  display:grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap:48px;
  align-items:start;
}

/* --- Mock do telefone --- */
.whatsapp-phone {
  background-color: #fff;
  width: 340px;
  min-width: 340px;
  height: 600px;
  border-radius: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  position: relative;
  border: 8px solid #333;
}

.phone-header {
  background-color: #128C7E;
  color: #fff;
  padding: 12px 15px;
}

.phone-contact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 40px;
  background: #f0f0f0;
}

.contact-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-info h4 {
  margin: 0 0 2px 0;
  font-size: 16px;
  color: #fff;
  font-weight: 600;
}

.contact-info p {
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
}

/* --- Área do chat --- */
.chat-container {
  display: flex;
  flex-direction: column;
  height: calc(100% - 64px);
  background-color: #E5DDD5;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23bbb' fill-opacity='0.15' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.chat-messages {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
}

.message {
  margin-bottom: 10px;
  max-width: 80%;
}

.message p {
  margin: 0;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.45;
  border-radius: 10px;
}

/* bolhas */
.message.bot p {
  background: #fff;
  border-top-left-radius: 0;
}

.message.user {
  margin-left: auto;
}

.message.user p {
  background: #DCF8C6;
  border-top-right-radius: 0;
}

.message.json {
  max-width: 95%;
  margin: 0 auto 10px auto;
}

.message.json p {
  background: #EFF3FE;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  white-space: pre-wrap;
  border-radius: 10px;
}

/* entrada + presets */
.chat-input {
  padding: 10px 14px;
  background: #F0F0F0;
}

.input-container {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  padding: 6px 10px;
  margin-bottom: 10px;
}

#message-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  padding: 6px 8px;
}

.send-button {
  background: #128C7E;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.demo-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.demo-button {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 15px;
  border: 1px solid #128C7E;
  background: #fff;
  color: #128C7E;
  cursor: pointer;
  transition: .2s ease;
}

.demo-button:hover {
  background: #128C7E;
  color: #fff;
}

/* --- Lado explicativo --- */
.demo-explanation {
  flex: 1;  
  padding: 25px;
}

.demo-explanation h3 {
  font-size: 24px;
  margin-bottom: 25px;
  color: #333;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ff8526; /* cor de destaque do site */
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex: 0 0 36px;
}

.step-content h4 {
  margin: 0 0 4px 0;
  font-size: 18px;
  color: #333;
}

.step-content p {
  margin: 0;
  color: #555;
}

.demo-cta {
  margin-top: 30px;
  text-align: center;
}

.demo-cta p {
  margin-bottom: 15px;
  font-weight: 500;
  color: #333;
}

/* --- Responsivo --- */
@media (max-width: 900px){
  .whatsapp-demo-container{
    grid-template-columns:1fr;
    gap:32px;
  }

  .whatsapp-phone {
    margin-bottom: 24px;
  }
  .demo-explanation {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .whatsapp-phone {
    width: 300px;
    min-width: 300px;
    height: 550px;
  }
}

.step-video {
    flex: 1;
    max-width: 50%;
    width: 50%;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    overflow: hidden;
}

/* Garante que step-content e step-video fiquem proporcionais */
.step-content, .step-video {
    max-width: 100%;
    width: 100%;
}

/* ✅ Mantido apenas um bloco de .video-wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 85.29%; /* 800/938 = 0.8529 = 85.29% */
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
}

/* Efeito hover */
.video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* iframe opcional (caso use embed em vez de vídeo) */
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Estado "playing" (oculta o botão play) */
.video-wrapper.playing .play-indicator {
    opacity: 0;
    pointer-events: none;
}

/* Estilo do vídeo em si */
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Botão de play */
.play-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 107, 53, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 5;
    opacity: 1;
}