:root {
            --primary: #6366f1;
            --primary-dark: #4f46e5;
            --secondary: #10b981;
            --cta-orange: #f59e0b;
            --cta-orange-dark: #d97706;
            --dark: #1e293b;
            --light: #f8fafc;
            --gray: #64748b;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            color: var(--dark);
            overflow-x: hidden;
        }
        
        /* Navigation Styles */
        .navbar {
            padding: 1rem 0;
            transition: all 0.3s ease;
        }
        
        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--primary);
        }
        
        .navbar-nav .nav-link {
            font-weight: 500;
            margin: 0 0.5rem;
            color: var(--dark);
            transition: color 0.3s ease;
        }
        
        .navbar-nav .nav-link:hover {
            color: var(--primary);
        }
        
        .navbar-nav .nav-link.active {
            color: var(--primary);
            font-weight: 600;
        }
        
        .navbar-toggler {
            border: none;
            padding: 0.25rem 0.5rem;
        }
        
        .navbar-toggler:focus {
            box-shadow: none;
        }
        
        /* Hero Section Styles */
        .hero-section {
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            min-height: 80vh;
            display: flex;
            align-items: center;
            position: relative;
            padding-top: 80px;
            padding-bottom: 3rem;
        }
        
        .hero-section::before {
            content: '';
            position: absolute;
            width: 600px;
            height: 600px;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
            top: -300px;
            right: -200px;
            z-index: 0;
        }
        
        .hero-section::after {
            content: '';
            position: absolute;
            width: 400px;
            height: 400px;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
            bottom: -200px;
            left: -100px;
            z-index: 0;
        }
        
        .hero-content {
            position: relative;
            z-index: 1;
        }
        
        .hero-title {
            font-weight: 700;
            font-size: 3.5rem;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            color: var(--dark);
        }
        
        .hero-subtitle {
            font-size: 1.25rem;
            color: var(--gray);
            margin-bottom: 2rem;
            line-height: 1.6;
        }
        
        .btn-primary-custom {
            background-color: var(--cta-orange);
            border-color: var(--cta-orange);
            color: white;
            padding: 0.75rem 2rem;
            font-weight: 500;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        
        .btn-primary-custom:hover {
            background-color: var(--cta-orange-dark);
            border-color: var(--cta-orange-dark);
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
            color: white;
        }
        
        .btn-outline-custom {
            border: 2px solid var(--primary);
            color: var(--primary);
            padding: 0.75rem 2rem;
            font-weight: 500;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        
        .btn-outline-custom:hover {
            background-color: var(--primary);
            color: white;
            transform: translateY(-2px);
        }
        
        .hero-image {
            position: relative;
            z-index: 1;
            animation: float 6s ease-in-out infinite;
        }
        
        @keyframes float {
            0% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-20px);
            }
            100% {
                transform: translateY(0px);
            }
        }
        
        /* Offset for fixed navbar on inner pages */
        .page-top {
            padding-top: 100px;
        }

        .feature-badge {
            display: inline-flex;
            align-items: center;
            background: rgba(99, 102, 241, 0.1);
            color: var(--primary);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.875rem;
            font-weight: 500;
            margin-bottom: 1.5rem;
            max-width: 100%;
            box-sizing: border-box;
        }

        .feature-badge i {
            flex-shrink: 0;
            margin-right: 0.5rem;
        }
        
        .trusted-by {
            margin-top: 3rem;
        }
        
        .trusted-text {
            font-size: 0.875rem;
            color: var(--gray);
            margin-bottom: 1rem;
        }
        
        .company-logos {
            display: flex;
            flex-wrap: wrap;
            gap: 1.25rem 2rem;
            align-items: center;
        }

        .company-logo {
            height: 24px;
            max-width: 100px;
            opacity: 0.7;
            filter: grayscale(1);
            transition: all 0.3s ease;
            flex-shrink: 0;
        }
        
        .company-logo:hover {
            opacity: 1;
            filter: grayscale(0);
        }
        
        /* Responsive adjustments */
        @media (max-width: 992px) {
            .hero-title {
                font-size: 2.5rem;
            }
            
            .hero-image {
                margin-top: 3rem;
            }
        }
        
        @media (max-width: 768px) {
            .hero-section {
                padding-top: 100px;
            }

            .hero-title {
                font-size: 2rem;
            }
            
            .company-logos {
                flex-wrap: wrap;
                justify-content: flex-start;
                gap: 1rem 1.5rem;
            }

            .company-logo {
                height: 20px;
                max-width: 80px;
            }
            
            .navbar-collapse {
                background: white;
                padding: 1rem;
                border-radius: 8px;
                box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
                margin-top: 1rem;
            }
        }










/* ============================================================
   HERO DASHBOARD MOCKUP — REDESIGN
   ============================================================ */

/* Wrapper principal */
.dashboard-mockup {
    background: white;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0,0,0,.13), 0 0 0 1px rgba(0,0,0,.04);
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
}

/* Dots de janela (macOS style) */
.db-dot { display:inline-block; width:10px; height:10px; border-radius:50%; }
.db-dot-red    { background:#ff5f57; }
.db-dot-yellow { background:#febc2e; }
.db-dot-green  { background:#28c840; }

/* Dashboard header */
.dashboard-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:1rem;
}
.dashboard-nav { display:flex; gap:1.25rem; }
.dashboard-nav-item { font-size:.78rem; color:var(--gray); font-weight:500; cursor:pointer; }
.dashboard-nav-item.active { color:var(--primary); border-bottom:2px solid var(--primary); padding-bottom:2px; }

/* Body: mapa + sidebar */
.db-body {
    display:grid;
    grid-template-columns: 1fr 140px;
    gap:1rem;
}

/* ---- MAPA ---- */
.db-map {
    border-radius:10px;
    overflow:hidden;
    position:relative;
    background:#f0fdf4;
    border:1px solid #dcfce7;
    min-height:195px;
}

/* Grid de heatmap */
.map-grid {
    display:grid;
    grid-template-columns:repeat(7, 1fr);
    grid-template-rows:repeat(6, 1fr);
    height:100%;
    width:100%;
    position:absolute;
    inset:0;
}
.mc {
    opacity:.75;
    transition:opacity .3s;
}
.mc.low    { background:#dcfce7; }
.mc.mid    { background:#86efac; }
.mc.high   { background:#22c55e; }
.mc.top    { background:#15803d; }

/* Célula pulsante */
.pulse-cell {
    animation: cellPulse 2.2s ease-in-out infinite;
}
@keyframes cellPulse {
    0%,100% { opacity:.75; }
    50%      { opacity:1; filter:brightness(1.15); }
}

/* Pins */
.map-pin { position:absolute; display:flex; flex-direction:column; align-items:center; z-index:2; }
.pin-top { top:25%; left:35%; }
.pin-secondary { top:58%; left:65%; }

.pin-dot {
    width:14px; height:14px; border-radius:50%;
    background:#6366f1;
    border:2px solid white;
    box-shadow:0 2px 8px rgba(99,102,241,.5);
    position:relative; z-index:2;
}
.pin-dot-mid { background:#f59e0b; box-shadow:0 2px 8px rgba(245,158,11,.4); }

.pin-ripple {
    position:absolute;
    top:50%; left:50%;
    transform:translate(-50%,-50%);
    width:14px; height:14px;
    border-radius:50%;
    background:rgba(99,102,241,.35);
    animation:ripple 2s ease-out infinite;
    z-index:1;
}
@keyframes ripple {
    0%   { transform:translate(-50%,-50%) scale(1);   opacity:.8; }
    100% { transform:translate(-50%,-50%) scale(3.2); opacity:0;  }
}

.pin-label {
    margin-top:4px;
    font-size:.65rem; font-weight:700;
    background:#6366f1; color:white;
    padding:2px 7px; border-radius:20px;
    white-space:nowrap;
    box-shadow:0 2px 6px rgba(99,102,241,.35);
}
.pin-label-mid {
    background:#f59e0b;
    box-shadow:0 2px 6px rgba(245,158,11,.35);
}

/* Legenda */
.map-legend {
    position:absolute; bottom:8px; left:8px;
    display:flex; align-items:center; gap:3px;
    background:rgba(255,255,255,.85);
    backdrop-filter:blur(4px);
    border-radius:8px; padding:4px 8px;
    font-size:.6rem; color:var(--gray);
    z-index:3;
}
.legend-dot { width:10px; height:10px; border-radius:2px; }
.legend-text { margin-left:4px; font-weight:600; }

/* ---- SIDEBAR ---- */
.db-sidebar {
    display:flex; flex-direction:column; gap:.75rem;
}

/* Score ring card */
.score-card {
    background:#f8fafc;
    border-radius:10px;
    padding:.75rem .5rem;
    text-align:center;
    border:1px solid #e2e8f0;
}
.score-label {
    font-size:.65rem; font-weight:600;
    text-transform:uppercase; letter-spacing:.05em;
    color:var(--gray); margin-bottom:.4rem;
}
.score-ring { position:relative; width:60px; height:60px; margin:0 auto .3rem; }
.ring-svg { width:100%; height:100%; }
.ring-progress {
    animation:ringFill 1.8s ease-out forwards;
    stroke-dashoffset:150.8;
}
@keyframes ringFill {
    to { stroke-dashoffset:22.6; }
}
.ring-value {
    position:absolute; inset:0;
    display:flex; align-items:center; justify-content:center;
    font-size:1rem; font-weight:700; color:#15803d;
}
.score-region { font-size:.6rem; color:var(--gray); }

/* Mini métricas */
.db-mini-metrics {
    display:flex; flex-direction:column; gap:.4rem;
}
.mini-metric {
    background:#f8fafc;
    border-radius:8px; padding:.4rem .6rem;
    display:flex; align-items:center; justify-content:space-between;
    border:1px solid #e2e8f0;
}
.mini-val { font-size:.8rem; font-weight:700; }
.mini-lbl { font-size:.6rem; color:var(--gray); }

/* Insight IA */
.ia-insight {
    background:linear-gradient(135deg,#eef2ff,#f0fdf4);
    border:1px solid #c7d2fe;
    border-radius:10px;
    padding:.6rem .7rem;
}
.ia-badge {
    font-size:.6rem; font-weight:700;
    color:var(--primary);
    margin-bottom:.3rem;
}
.ia-text {
    font-size:.62rem; color:#374151; line-height:1.4; margin:0;
}

/* Responsivo */
@media (max-width:768px) {
    .db-body { grid-template-columns:1fr; }
    .db-sidebar { flex-direction:row; flex-wrap:wrap; }
    .score-card { flex:1; min-width:120px; }
    .db-mini-metrics { flex-direction:row; flex:2; }
    .ia-insight { width:100%; }
}

/* Remove o fundo cinza padrão do dropdown */
.navbar .dropdown-menu {
  border-radius: 12px;
}

.navbar .dropdown-item:hover {
  background: #f8f9fa;
  border-radius: 6px;
}

/* Sombras finas e premium */
.dropdown-menu {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Melhor espaçamento no mobile */
@media (max-width: 991px) {
  .dropdown-menu {
    padding: 1rem !important;
  }
}





/* ============================================================
   FEATURE PAGE MOCKUPS — base compartilhado + variações
   ============================================================ */

.feat-mockup {
    background: white;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0,0,0,.10), 0 0 0 1px rgba(0,0,0,.04);
    padding: 1.5rem;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

/* Cabeçalho do mockup */
.feat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid #f1f5f9;
}
.feat-title { font-size: .85rem; font-weight: 700; color: var(--dark); }
.feat-tag {
    font-size: .62rem; font-weight: 600;
    background: #eef2ff; color: var(--primary);
    padding: 3px 10px; border-radius: 20px;
}

/* Filter chips */
.filter-chips { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.chip {
    font-size: .6rem; font-weight: 600;
    padding: 3px 10px; border-radius: 20px;
    border: 1px solid #e2e8f0; color: var(--gray);
    cursor: default;
}
.chip.active { background: var(--primary); color: white; border-color: var(--primary); }

/* Métrica genérica */
.metric-item {
    display: flex; justify-content: space-between; align-items: center;
    background: #f8fafc; border-radius: 8px;
    padding: .4rem .75rem; border: 1px solid #e2e8f0;
    margin-bottom: .4rem;
}
.metric-label { font-size: .62rem; color: var(--gray); }
.metric-value { font-size: .75rem; font-weight: 700; color: var(--dark); }

/* Barra horizontal */
.bar-row { display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; }
.bar-label { font-size: .6rem; color: var(--gray); width: 75px; text-align: right; flex-shrink: 0; }
.bar-track { flex: 1; background: #f1f5f9; border-radius: 4px; height: 10px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; transition: width .8s ease; }
.bar-val { font-size: .6rem; color: var(--gray); width: 28px; flex-shrink: 0; }

/* Cards de shopping */
.shop-item {
    display: flex; align-items: center; gap: .75rem;
    background: #f8fafc; border-radius: 10px;
    padding: .6rem .75rem; border: 1px solid #e2e8f0;
    margin-bottom: .5rem;
}
.shop-icon {
    width: 34px; height: 34px; border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: .8rem; color: white;
}
.shop-name { font-size: .72rem; font-weight: 700; color: var(--dark); }
.shop-city { font-size: .6rem; color: var(--gray); }
.shop-score { font-size: .85rem; font-weight: 700; }

/* Card de ponto selecionado */
.point-card {
    background: white; border-radius: 10px;
    border: 1px solid #e2e8f0; padding: .75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.point-type { font-size: .58rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.point-name { font-size: .8rem; font-weight: 700; color: var(--dark); margin: .2rem 0 .5rem; }
.point-metrics { display: flex; gap: .4rem; }
.point-metric { flex: 1; text-align: center; background: #f8fafc; border-radius: 6px; padding: .3rem; }
.point-metric-val { font-size: .72rem; font-weight: 700; color: var(--primary); }
.point-metric-lbl { font-size: .55rem; color: var(--gray); }

/* Relatório */
.report-export {
    font-size: .6rem; color: var(--primary);
    background: #eef2ff; padding: 3px 10px;
    border-radius: 6px; font-weight: 600;
}
.report-bars { display: flex; align-items: flex-end; gap: 5px; height: 65px; padding: 0 .5rem; }
.report-bar { flex: 1; border-radius: 3px 3px 0 0; }
.report-metric {
    background: #f8fafc; border-radius: 8px;
    padding: .45rem .6rem; border: 1px solid #e2e8f0;
    margin-bottom: .4rem;
}
.report-metric-val { font-size: .85rem; font-weight: 700; color: var(--dark); }
.report-metric-lbl { font-size: .58rem; color: var(--gray); }

/* Insight IA reutilizável */
.feat-insight {
    background: linear-gradient(135deg, #eef2ff, #f0fdf4);
    border: 1px solid #c7d2fe; border-radius: 10px;
    padding: .6rem .75rem; margin-top: .75rem;
    font-size: .62rem; color: #374151; line-height: 1.5;
}
.feat-insight-badge {
    font-size: .58rem; font-weight: 700;
    color: var(--primary); margin-bottom: .25rem;
}

/* Animação de entrada do mockup */
@media (prefers-reduced-motion: no-preference) {
    .feat-mockup { animation: float 6s ease-in-out infinite; }
}

/* ============================================================
   HOME — SEÇÕES NOVAS
   ============================================================ */

/* --- Barra de anúncio --- */
.announcement-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1032;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    color: white;
    font-size: .82rem;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3rem;
    gap: 1rem;
}
.ann-btn {
    color: white;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.5);
    transition: border-color .2s;
    white-space: nowrap;
}
.ann-btn:hover { color: white; border-color: white; }
.ann-close {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255,255,255,.7);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.ann-close:hover { color: white; }

/* Quando barra está visível: empurra navbar e hero */
.has-announcement .navbar { top: 40px; }
.has-announcement .hero-section { padding-top: 130px; }
@media (max-width: 768px) {
    .has-announcement .hero-section { padding-top: 150px; }
    .announcement-bar { font-size: .72rem; padding: 0 2.5rem 0 1rem; gap: .5rem; }
}

/* Quando barra é fechada */
body:not(.has-announcement) .announcement-bar { display: none; }
body:not(.has-announcement) .navbar { top: 0; }

/* --- Stats / Números em destaque --- */
.stats-section { border-bottom: 1px solid #f1f5f9; }
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: .25rem;
}
.stat-desc {
    font-size: .85rem;
    color: var(--gray);
    font-weight: 500;
}
@media (max-width: 768px) { .stat-number { font-size: 1.9rem; } }

/* --- Antes vs Criala --- */
.comparison-col {
    border-radius: 16px;
    padding: 2rem;
}
.comparison-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: .9rem;
    font-size: .95rem;
}
.comparison-icon {
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.comparison-icon.bad  { background: #fee2e2; color: #dc2626; }
.comparison-icon.good { background: #dcfce7; color: #16a34a; }

/* --- Como começa --- */
.steps-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}
.steps-wrapper::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(16.66% + 1rem);
    right: calc(16.66% + 1rem);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 0;
}
.step-card { position: relative; z-index: 1; text-align: center; }
.step-number {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(99,102,241,.3);
}
.step-title { font-weight: 700; margin-bottom: .5rem; }
.step-desc { font-size: .9rem; color: var(--gray); }
@media (max-width: 768px) {
    .steps-wrapper { grid-template-columns: 1fr; gap: 1.5rem; }
    .steps-wrapper::before { display: none; }
}

/* --- Depoimentos --- */
.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    border: 1px solid #f1f5f9;
    height: 100%;
    position: relative;
}
.testimonial-quote {
    font-size: 2.5rem;
    line-height: 1;
    color: var(--primary);
    opacity: .25;
    font-family: Georgia, serif;
    margin-bottom: .5rem;
}
.testimonial-text {
    font-size: .95rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.testimonial-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: .95rem; color: var(--dark); }
.testimonial-role { font-size: .8rem; color: var(--gray); }

/* --- FAQ --- */
.faq-item {
    border-bottom: 1px solid #f1f5f9;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 0;
    font-weight: 600;
    cursor: pointer;
    color: var(--dark);
    gap: 1rem;
    user-select: none;
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem;
    flex-shrink: 0;
    transition: transform .3s, background .3s;
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--primary);
    color: white;
}
.faq-answer {
    display: none;
    padding-bottom: 1rem;
    color: var(--gray);
    font-size: .95rem;
    line-height: 1.6;
}
.faq-item.open .faq-answer { display: block; }

/* Desktop cards do blog */
.posts .image-placeholder{
  position: relative;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  background: #eef2ff; /* só um placeholder claro */
}

/* Garante que a imagem cobre o box */
.posts .image-placeholder img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .5s ease;
}

/* Só a imagem fica visível quando carregar */
.posts .image-placeholder.image-loaded img{
  opacity: 1;
}

/* Garante que título e data sempre apareçam */
.posts h5,
.posts small{
  opacity: 1 !important;
  visibility: visible !important;
  position: relative;
  z-index: 1;
}
