/* ==========================================================================
   Modern SaaS Light UI/UX Design System - Full Feature Layout with Thumbnails
   Exact match to French SaaS CRM Print + Organic Stream Funnel + Visual Ad Cards
   ========================================================================== */

:root {
  /* Light Theme Palette */
  --bg-app: #f4f7fb;
  --bg-canvas: #edf2f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-input: #f1f5f9;

  /* Borders & Shadows */
  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;
  --border-focus: #3b82f6;
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 20px -2px rgba(90, 110, 140, 0.07);
  --shadow-float: 0 12px 32px -4px rgba(90, 110, 140, 0.12);
  --shadow-primary: 0 4px 14px rgba(59, 130, 246, 0.35);

  /* Typography Colors */
  --text-main: #0f172a;
  --text-heading: #1e293b;
  --text-muted: #64748b;
  --text-tertiary: #94a3b8;
  --text-inverse: #ffffff;

  /* Brand & Status Colors */
  --primary-blue: #3b82f6;
  --primary-blue-dark: #2563eb;
  --primary-blue-light: #eff6ff;
  --primary-blue-hover: #1d4ed8;

  --accent-pink: #ec4899;
  --accent-purple: #8b5cf6;
  --accent-indigo: #6366f1;
  --accent-emerald: #10b981;
  --accent-emerald-bg: #ecfdf5;
  --accent-amber: #f59e0b;
  --accent-amber-bg: #fffbeb;
  --accent-rose: #f43f5e;
  --accent-rose-bg: #fff1f2;
  --accent-cyan: #06b6d4;

  /* Gradients */
  --gradient-blue-card: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --gradient-avatar: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  --gradient-instagram: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);

  /* Border Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-app);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  background-image: 
    radial-gradient(900px circle at 90% 10%, rgba(59, 130, 246, 0.04) 0%, transparent 70%),
    radial-gradient(900px circle at 10% 90%, rgba(236, 72, 153, 0.03) 0%, transparent 70%);
  background-attachment: fixed;
}

/* Container */
.main-canvas {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 2rem 5rem;
}

/* Top Navigation Bar Header */
.top-navbar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.brand-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-blue-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.45rem;
  box-shadow: var(--shadow-primary);
}

.greeting-block h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.greeting-block p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* ==============================================================================
   HEADER DATE & CRON HIGHLIGHT PANEL (DESTAQUE NA DIREITA)
   ============================================================================== */
.header-sub-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.65rem;
  flex-wrap: wrap;
}

.btn-blue-outline {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-blue-outline:hover {
  background: #2563eb;
  color: #ffffff;
}

.header-date-highlight-panel {
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
  border: 1.5px solid #bfdbfe;
  border-radius: 16px;
  padding: 0.85rem 1.25rem;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 320px;
}

.date-highlight-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.date-highlight-badge .d-icon-circle {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: #2563eb;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.date-highlight-badge .d-label-tiny {
  font-size: 0.65rem;
  font-weight: 800;
  color: #2563eb;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
}

.date-highlight-badge .d-period-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.timestamp-sync-box {
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.timestamp-sync-box strong {
  color: #0f172a;
  font-weight: 800;
}

.sync-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.45rem;
  border-top: 1px solid #e2e8f0;
}

.cron-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 8px;
  border-radius: 9999px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.api-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #475569;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 2px 7px;
  border-radius: 9999px;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* Light Pills & Buttons */
.light-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-heading);
}

.currency-segmented {
  display: inline-flex;
  background: #e2e8f0;
  padding: 3px;
  border-radius: var(--radius-full);
}

.seg-btn {
  background: transparent;
  border: none;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.seg-btn.active {
  background: var(--bg-card);
  color: var(--primary-blue);
  box-shadow: var(--shadow-xs);
}

.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-blue);
  color: #ffffff;
  border: none;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-primary);
  font-family: inherit;
}

.btn-blue:hover {
  background: var(--primary-blue-dark);
  transform: translateY(-1px);
}

/* Light Card Container */
.light-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.light-card:hover {
  box-shadow: var(--shadow-float);
  border-color: #cbd5e1;
}

/* Top 4 KPI Metrics Grid */
.top-kpis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.kpi-metric-box {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-lg);
}

/* Featured Blue Card */
.kpi-metric-box.featured-blue {
  background: var(--gradient-blue-card);
  color: #ffffff;
  border: none;
  box-shadow: var(--shadow-primary);
}

.kpi-metric-box.featured-blue .kpi-label-text {
  color: rgba(255, 255, 255, 0.85);
}

.kpi-metric-box.featured-blue .kpi-val-text {
  color: #ffffff;
}

.kpi-metric-box.featured-blue .kpi-icon-circ {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.kpi-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.kpi-label-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.kpi-icon-circ {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: var(--bg-input);
  color: var(--primary-blue);
}

.kpi-val-text {
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.kpi-badge-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  margin-top: 0.4rem;
}

.kpi-badge-trend.green {
  background: var(--accent-emerald-bg);
  color: var(--accent-emerald);
}

.kpi-badge-trend.blue-light {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.kpi-badge-trend.pink {
  background: var(--accent-rose-bg);
  color: var(--accent-rose);
}

/* Sparkline Wave Container */
.sparkline-svg {
  width: 100%;
  height: 34px;
  margin-top: 0.75rem;
  overflow: visible;
}

/* ==========================================================================
   SMOOTH ORGANIC STREAM FUNNEL (Exact Match to Reference Print)
   ========================================================================== */
.organic-funnel-card {
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.funnel-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.funnel-header-row h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.funnel-actions-icons {
  display: flex;
  gap: 0.75rem;
  color: var(--text-tertiary);
  font-size: 0.95rem;
}

.funnel-actions-icons i {
  cursor: pointer;
  transition: color 0.2s;
}

.funnel-actions-icons i:hover {
  color: var(--primary-blue);
}

.stream-funnel-container {
  width: 100%;
  position: relative;
  margin: 0.5rem 0 1.25rem;
}

.stream-svg {
  width: 100%;
  height: auto;
  min-height: 230px;
  display: block;
}

.funnel-bottom-stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 1.5rem;
  text-align: center;
}

.funnel-stage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stage-metric-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

.stage-metric-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

.stage-sub-info {
  font-size: 0.72rem;
  color: var(--accent-emerald);
  font-weight: 700;
  margin-top: 0.25rem;
}

/* ==========================================================================
   MINIATURAS DOS ANÚNCIOS (INSTAGRAM VISUAL AD CARDS & THUMBNAILS)
   ========================================================================== */
.light-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.light-section-head h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ads-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.ad-card-light {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.ad-card-light:hover {
  box-shadow: var(--shadow-float);
  border-color: #93c5fd;
  transform: translateY(-2px);
}

.ad-card-light.is-winner {
  border-color: #3b82f6;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
}

/* Instagram Header on Ad Card */
.ig-light-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.15rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

.ig-light-user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ig-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  padding: 2px;
  background: var(--gradient-instagram);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ig-ring-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--primary-blue);
}

.ig-user-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-heading);
}

.ig-sub-label {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Miniatura Visual / Banner Preview Real */
.ad-thumbnail-container {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  background-size: cover;
  background-position: center;
}

.thumb-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.thumb-center-overlay {
  text-align: center;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.thumb-center-overlay .play-icon-pulse {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.5rem;
  transition: transform 0.2s;
}

.ad-card-light:hover .play-icon-pulse {
  transform: scale(1.1);
}

.thumb-center-overlay h5 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.thumb-center-overlay p {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* Meta Ads CTA Button Strip */
.thumb-cta-strip {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.thumb-cta-text {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-heading);
}

.thumb-cta-action {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Miniatura personalizada de cada anúncio */
.thumb-bg-ad03 {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.85) 0%, rgba(139, 92, 246, 0.85) 100%),
              url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&w=600&q=80');
  background-size: cover;
}

.thumb-bg-ad01 {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.85) 0%, rgba(99, 102, 241, 0.85) 100%),
              url('https://images.unsplash.com/photo-1580894732444-8ecded7900cd?auto=format&fit=crop&w=600&q=80');
  background-size: cover;
}

.thumb-bg-reels {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.85) 0%, rgba(251, 146, 60, 0.85) 100%),
              url('https://images.unsplash.com/photo-1534528741775-53994a69daeb?auto=format&fit=crop&w=600&q=80');
  background-size: cover;
}

.thumb-bg-ad04 {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.85) 0%, rgba(6, 182, 212, 0.85) 100%),
              url('https://images.unsplash.com/photo-1573497019940-1c28c88b4f3e?auto=format&fit=crop&w=600&q=80');
  background-size: cover;
}

.thumb-bg-ad02 {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.85) 0%, rgba(236, 72, 153, 0.85) 100%),
              url('https://images.unsplash.com/photo-1544005313-94ddf0286df2?auto=format&fit=crop&w=600&q=80');
  background-size: cover;
}

.thumb-bg-direct {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.85) 0%, rgba(59, 130, 246, 0.85) 100%),
              url('https://images.unsplash.com/photo-1573496799652-408c2ac9fe98?auto=format&fit=crop&w=600&q=80');
  background-size: cover;
}

.thumb-bg-ad05 {
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.85) 0%, rgba(71, 85, 105, 0.85) 100%),
              url('https://images.unsplash.com/photo-1517841905240-472988babdf9?auto=format&fit=crop&w=600&q=80');
  background-size: cover;
}

/* Ad Stats Panel Below Thumbnail */
.ad-stats-light {
  padding: 1.15rem 1.25rem;
  background: #ffffff;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ad-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.ad-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.ad-stat-cell {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 0.6rem 0.4rem;
  border-radius: var(--radius-sm);
  text-align: center;
}

.ad-stat-cell .s-num {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-heading);
  display: block;
}

.ad-stat-cell .s-lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.ad-verdict-box {
  background: #f8fafc;
  border-left: 3px solid var(--primary-blue);
  padding: 0.65rem 0.85rem;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   CHARTS & MINI HIGHLIGHTS
   ========================================================================== */
.charts-split-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.chart-card-light {
  padding: 1.5rem;
}

.chart-header-crm {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.chart-header-crm h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chart-frame {
  position: relative;
  width: 100%;
  height: 270px;
}

.mini-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.mini-metric-card {
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: all 0.2s;
}

.mini-metric-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.mini-icon-sq {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.mini-icon-sq.blue { background: #eff6ff; color: var(--primary-blue); }
.mini-icon-sq.emerald { background: #ecfdf5; color: var(--accent-emerald); }
.mini-icon-sq.amber { background: #fffbeb; color: var(--accent-amber); }

.mini-info-wrap .mini-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.mini-info-wrap .mini-value-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.mini-info-wrap .mini-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
}

.mini-info-wrap .mini-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

/* ==========================================================================
   DATA TABLE
   ========================================================================== */
.table-card-light {
  padding: 1.75rem;
  margin-bottom: 2rem;
  overflow-x: auto;
}

.table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.table-search-input {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--text-heading);
  width: 280px;
}

.table-search-input input {
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--text-heading);
  width: 100%;
}

.saas-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.saas-table th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

.saas-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
  color: var(--text-heading);
}

.saas-table tr:hover td {
  background: #f8fafc;
}

.status-pill-saas {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

.status-pill-saas.green {
  background: var(--accent-emerald-bg);
  color: var(--accent-emerald);
}

.status-pill-saas.blue {
  background: var(--primary-blue-light);
  color: var(--primary-blue);
}

/* App Footer */
.app-footer-light {
  text-align: center;
  padding-top: 2rem;
  color: var(--text-tertiary);
  font-size: 0.82rem;
  border-top: 1px solid var(--border-light);
}

/* Responsive */
@media (max-width: 992px) {
  .charts-split-grid {
    grid-template-columns: 1fr;
  }
  .mini-strip-grid {
    grid-template-columns: 1fr;
  }
  .funnel-bottom-stages {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}


/* ==============================================================================
   PASSWORD AUTHENTICATION GATE MODAL
   ============================================================================== */
.auth-gate-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.auth-gate-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  width: 100%;
  max-width: 440px;
  padding: 2.5rem 2rem;
  text-align: center;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.auth-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}

.auth-gate-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.auth-gate-card p {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 0.25rem;
  margin-bottom: 1.75rem;
}

.auth-input-group {
  position: relative;
  margin-bottom: 1rem;
}

.auth-input-group i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1rem;
}

.auth-input-group input {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 2.8rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  transition: all 0.2s;
}

.auth-input-group input:focus {
  border-color: #3b82f6;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.auth-error-text {
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.shake-anim {
  animation: shake 0.4s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.auth-btn-submit {
  width: 100%;
  padding: 0.9rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
  transition: all 0.2s;
}

.auth-btn-submit:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-1px);
}

.auth-footer-hint {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
}

.btn-lock-logout {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-lock-logout:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
}

.api-pill-badge {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
  font-weight: 700;
}

/* ==============================================================================
   DEMOGRAPHICS & GEOLOCATION GRID
   ============================================================================== */
.demographics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .demographics-grid {
    grid-template-columns: 1fr;
  }
}

.demo-box {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.demo-pill-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
}

.demo-metric-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
  margin-top: 1rem;
}

.demo-stat {
  display: flex;
  flex-direction: column;
}

.demo-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.demo-lbl {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 600;
}

.geo-highlight-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.geo-flag-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.placement-bars-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.placement-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.placement-lbl-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #334155;
  font-weight: 600;
}

.placement-track {
  width: 100%;
  height: 6px;
  background: #f1f5f9;
  border-radius: 9999px;
  overflow: hidden;
}

.placement-fill {
  height: 100%;
  border-radius: 9999px;
}


/* ==============================================================================
   AD CREATIVE & PERFORMANCE DETAIL MODAL STYLES
   ============================================================================== */
.ad-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.ad-modal-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.3);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalScaleUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  0% { transform: scale(0.94); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.ad-modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}

.ad-modal-close-btn:hover {
  background: #fee2e2;
  color: #ef4444;
  transform: rotate(90deg);
}

/* Modal Body Layout */
.ad-modal-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2rem;
  padding: 2rem;
}

@media (max-width: 768px) {
  .ad-modal-grid {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    gap: 1.25rem;
  }
}

/* Real Visible Image Preview Column */
.ad-modal-media-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ad-modal-img-frame {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
  background: #0f172a;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-modal-img-frame img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  display: block;
}

.ad-modal-badge-float {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ad-modal-ig-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.35);
  transition: all 0.2s;
  text-align: center;
}

.ad-modal-ig-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 39, 67, 0.45);
}

/* Modal Info Column */
.ad-modal-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ad-modal-title-row {
  margin-bottom: 1rem;
}

.ad-modal-title-row h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.ad-modal-meta-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.ad-modal-copy-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #3b82f6;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  color: #334155;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.ad-modal-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.ad-modal-stat-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.75rem 0.6rem;
  text-align: center;
}

.ad-modal-stat-box .val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  display: block;
}

.ad-modal-stat-box .lbl {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.ad-modal-verdict-card {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  font-size: 0.82rem;
  color: #1e40af;
  line-height: 1.5;
}

/* Table Avatar & Interactive Rows */
.table-ad-cell {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.table-ad-thumb-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  flex-shrink: 0;
  background: #f1f5f9;
}

.btn-open-modal-ad {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  color: #3b82f6;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.btn-open-modal-ad:hover {
  background: #eff6ff;
  border-color: #3b82f6;
  transform: translateY(-1px);
}

.clickable-row {
  cursor: pointer;
  transition: background 0.15s;
}

.clickable-row:hover td {
  background: #f8fafc;
}

/* ==============================================================================
   ESTILOS DOS TOP 3 CARDS HORIZONTAIS COM FOTO NÍTIDA NA LATERAL ESQUERDA
   ============================================================================== */
.top-ads-horizontal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

@media (max-width: 1100px) {
  .top-ads-horizontal-grid {
    grid-template-columns: 1fr;
  }
}

.top-ad-card-h {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px -2px rgba(90, 110, 140, 0.07);
  display: flex;
  overflow: hidden;
  transition: all 0.25s ease;
  cursor: pointer;
  height: 190px;
}

.top-ad-card-h:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -4px rgba(90, 110, 140, 0.14);
  border-color: #93c5fd;
}

.top-ad-card-h.winner-1 {
  border-color: #3b82f6;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.12);
}

/* Coluna da Imagem na Lateral */
.top-ad-photo-col {
  width: 125px;
  min-width: 125px;
  height: 100%;
  position: relative;
  background: #0f172a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-ad-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.top-ad-card-h:hover .top-ad-photo-col img {
  transform: scale(1.06);
}

.top-ad-rank-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.top-ad-type-badge {
  position: absolute;
  bottom: 8px;
  left: 6px;
  right: 6px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 6px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Coluna das Métricas e Informações */
.top-ad-body-col {
  flex: 1;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.top-ad-head-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.top-ad-name-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.top-ad-set-sub {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.15rem;
}

.top-ad-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin: 0.4rem 0;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  padding: 0.45rem 0.35rem;
  text-align: center;
}

.top-ad-metric-cell .m-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  display: block;
  line-height: 1.1;
}

.top-ad-metric-cell .m-lbl {
  font-size: 0.62rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.top-ad-foot-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.top-ad-foot-action .traffic-pct {
  font-weight: 700;
  color: #2563eb;
}

.top-ad-foot-action .btn-raio-x {
  color: #3b82f6;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.top-ad-card-h:hover .top-ad-foot-action .btn-raio-x {
  color: #1d4ed8;
}

/* Card Explicativo de Gênero */
.gender-explainer-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #ec4899;
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  margin-top: 0.85rem;
  font-size: 0.76rem;
  color: #334155;
  line-height: 1.45;
}

/* ==============================================================================
   TOP 3 CARDS VERTICAIS MODERNOS COM IMAGEM INTEGRAL COMPLETA
   ============================================================================== */
.top-ads-showcase-grid,
.ads-cards-row,
.top-ads-horizontal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 992px) {
  .top-ads-showcase-grid,
  .ads-cards-row,
  .top-ads-horizontal-grid {
    grid-template-columns: 1fr;
  }
}

.top-ad-card-v {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px -2px rgba(90, 110, 140, 0.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.25s ease;
  cursor: pointer;
}

.top-ad-card-v:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -4px rgba(90, 110, 140, 0.14);
  border-color: #93c5fd;
}

.top-ad-card-v.winner-1 {
  border-color: #3b82f6;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.top-ad-header-v {
  padding: 0.85rem 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
}

.top-ad-badge-rank {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Creative image frame showing 100% integral image */
.top-ad-media-frame {
  position: relative;
  background: #0f172a;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.top-ad-media-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.top-ad-format-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.top-ad-body-v {
  padding: 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.top-ad-title-main {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.2rem;
  line-height: 1.25;
}

.top-ad-set-name {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 0.85rem;
}

.top-ad-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  padding: 0.75rem 0.5rem;
  text-align: center;
  margin-bottom: 0.85rem;
}

.top-ad-stats-row .st-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  display: block;
}

.top-ad-stats-row .st-lbl {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.top-ad-btn-modal {
  width: 100%;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  padding: 0.6rem;
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.2s;
}

.top-ad-card-v:hover .top-ad-btn-modal {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

/* ==============================================================================
   DESTAQUE: PÁGINA DE DESTINO DOS ANÚNCIOS (LANDING PAGE TICKETSPICE)
   ============================================================================== */
.destination-highlight-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #bfdbfe;
  border-left: 5px solid #2563eb;
  border-radius: 16px;
  box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.08);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.dest-card-left {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  flex: 1;
  min-width: 320px;
}

.dest-icon-badge {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid #dbeafe;
}

.dest-tag-pill {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #2563eb;
  background: #dbeafe;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 0.35rem;
}

.dest-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.dest-desc {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

.dest-url-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
  max-width: 100%;
  overflow: hidden;
}

.dest-url-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #2563eb;
}

.dest-card-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.dest-stat-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  text-align: center;
}

.dest-stat-pill .d-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  display: block;
  line-height: 1.1;
}

.dest-stat-pill .d-lbl {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.btn-dest-visit {
  background: #2563eb;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.75rem 1.15rem;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-dest-visit:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}
