/* ==========================================================================
   Clicou Comeu — Plataforma SaaS & Ecossistema para Pizzarias
   Design System: High-Conversion Tech & FoodTech Dark/Light Hybrid
   ========================================================================== */

:root {
  --cc-brand: #ff3b1f;
  --cc-brand-dark: #d9260b;
  --cc-brand-light: #fff1ee;
  --cc-amber: #f59e0b;
  --cc-emerald: #10b981;
  --cc-indigo: #6366f1;

  --cc-bg-dark: #0b0d13;
  --cc-surface-dark: #131722;
  --cc-surface-dark-2: #1c2230;
  --cc-border-dark: rgba(255, 255, 255, 0.09);

  --cc-bg-light: #f8fafc;
  --cc-surface-light: #ffffff;
  --cc-text-main: #0f172a;
  --cc-text-muted: #475569;
  --cc-border-light: #e2e8f0;

  --cc-radius-sm: 10px;
  --cc-radius-md: 16px;
  --cc-radius-lg: 24px;
  --cc-radius-xl: 32px;
  --cc-radius-full: 9999px;

  --cc-shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
  --cc-shadow-md: 0 14px 34px rgba(15, 23, 42, 0.09);
  --cc-shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.28);
  --cc-shadow-brand: 0 12px 32px rgba(255, 59, 31, 0.35);

  --cc-font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --cc-font-mono: 'JetBrains Mono', monospace;
  --cc-container: 1240px;
  --cc-transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--cc-font-display);
  background: var(--cc-bg-light);
  color: var(--cc-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.cc-container {
  width: 100%;
  max-width: var(--cc-container);
  margin: 0 auto;
  padding: 0 22px;
}

/* ==========================================================================
   1. NAVBAR
   ========================================================================== */
.cc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 19, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--cc-border-dark);
  color: #ffffff;
}

.cc-header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cc-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.cc-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cc-brand) 0%, #ff7a00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(255, 59, 31, 0.4);
  font-size: 1.25rem;
}

.cc-logo-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(255, 59, 31, 0.18);
  color: #ff8570;
  border: 1px solid rgba(255, 59, 31, 0.35);
  padding: 2px 8px;
  border-radius: var(--cc-radius-full);
  margin-left: 4px;
}

.cc-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cc-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #cbd5e1;
  transition: color var(--cc-transition);
}

.cc-nav a:hover {
  color: #ffffff;
}

.cc-header-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--cc-radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--cc-transition);
  white-space: nowrap;
}

.cc-btn-primary {
  background: linear-gradient(135deg, var(--cc-brand) 0%, #ff6200 100%);
  color: #ffffff;
  box-shadow: var(--cc-shadow-brand);
}

.cc-btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.cc-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.cc-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
}

.cc-btn-outline {
  background: var(--cc-surface-light);
  color: var(--cc-text-main);
  border: 1.5px solid var(--cc-border-light);
}

.cc-btn-outline:hover {
  border-color: var(--cc-brand);
  color: var(--cc-brand);
}

.cc-btn-lg {
  padding: 15px 28px;
  font-size: 1rem;
}

/* ==========================================================================
   2. HERO SECTION (DARK TECH STAGE)
   ========================================================================== */
.cc-hero {
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 59, 31, 0.22) 0%, transparent 42%),
    radial-gradient(circle at 15% 75%, rgba(245, 158, 11, 0.14) 0%, transparent 45%),
    var(--cc-bg-dark);
  color: #ffffff;
  padding: 72px 0 88px;
  border-bottom: 1px solid var(--cc-border-dark);
  position: relative;
  overflow: hidden;
}

.cc-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.cc-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 14px;
  border-radius: var(--cc-radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fcd34d;
  margin-bottom: 22px;
}

.cc-hero-title {
  font-size: clamp(2.3rem, 4.3vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.cc-gradient-text {
  background: linear-gradient(95deg, #ff512f 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cc-hero-lead {
  font-size: 1.08rem;
  color: #94a3b8;
  margin-bottom: 30px;
  max-width: 580px;
}

.cc-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.cc-hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--cc-border-dark);
}

.cc-highlight-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.cc-highlight-label {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 4px;
}

/* Interactive Dashboard Mockup in Hero */
.cc-mockup-window {
  background: var(--cc-surface-dark);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--cc-radius-lg);
  box-shadow: var(--cc-shadow-lg);
  overflow: hidden;
}

.cc-mockup-bar {
  background: #0d1017;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--cc-border-dark);
}

.cc-window-dots {
  display: flex;
  gap: 6px;
}

.cc-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.cc-window-dots span:nth-child(1) { background: #ef4444; }
.cc-window-dots span:nth-child(2) { background: #f59e0b; }
.cc-window-dots span:nth-child(3) { background: #10b981; }

.cc-mockup-url {
  font-family: var(--cc-font-mono);
  font-size: 0.74rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 12px;
  border-radius: var(--cc-radius-full);
}

.cc-mockup-body {
  padding: 20px;
}

.cc-mini-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.cc-mini-kpi {
  background: var(--cc-surface-dark-2);
  border: 1px solid var(--cc-border-dark);
  padding: 12px;
  border-radius: var(--cc-radius-sm);
}

.cc-mini-kpi small {
  display: block;
  font-size: 0.7rem;
  color: #94a3b8;
}

.cc-mini-kpi strong {
  font-size: 1.08rem;
  color: #ffffff;
}

.cc-mini-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.cc-kanban-col {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cc-border-dark);
  border-radius: var(--cc-radius-sm);
  padding: 10px;
}

.cc-kanban-col-head {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.cc-kanban-ticket {
  background: var(--cc-surface-dark-2);
  border-left: 3px solid var(--cc-brand);
  border-radius: 6px;
  padding: 8px;
  font-size: 0.74rem;
  margin-bottom: 8px;
}

.cc-kanban-ticket.is-paid {
  border-left-color: var(--cc-emerald);
}

.cc-paid-stamp {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  padding: 1px 6px;
  border-radius: 4px;
  margin-top: 4px;
}

/* ==========================================================================
   3. SECTIONS & HEADINGS
   ========================================================================== */
.cc-section {
  padding: 84px 0;
}

.cc-section--white {
  background: var(--cc-surface-light);
  border-top: 1px solid var(--cc-border-light);
  border-bottom: 1px solid var(--cc-border-light);
}

.cc-section--dark {
  background: var(--cc-bg-dark);
  color: #ffffff;
}

.cc-section-header {
  max-width: 740px;
  margin: 0 auto 52px;
  text-align: center;
}

.cc-kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cc-brand);
  margin-bottom: 10px;
}

.cc-section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.cc-section-desc {
  font-size: 1.02rem;
  color: var(--cc-text-muted);
}

.cc-section--dark .cc-section-desc {
  color: #94a3b8;
}

/* ==========================================================================
   4. TOUR INTERATIVO DE MÓDULOS (7 PILARES DO SISTEMA)
   ========================================================================== */
.cc-tour-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.cc-tour-tab {
  padding: 11px 18px;
  border-radius: var(--cc-radius-full);
  background: var(--cc-surface-light);
  border: 1.5px solid var(--cc-border-light);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--cc-text-muted);
  transition: all var(--cc-transition);
}

.cc-tour-tab:hover {
  border-color: var(--cc-brand);
  color: var(--cc-brand);
}

.cc-tour-tab.is-active {
  background: var(--cc-text-main);
  color: #ffffff;
  border-color: var(--cc-text-main);
  box-shadow: var(--cc-shadow-sm);
}

.cc-tour-stage {
  background: var(--cc-surface-light);
  border: 1px solid var(--cc-border-light);
  border-radius: var(--cc-radius-xl);
  padding: 40px;
  box-shadow: var(--cc-shadow-md);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.cc-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0;
}

.cc-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--cc-text-muted);
}

.cc-check-list li strong {
  color: var(--cc-text-main);
}

.cc-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.14);
  color: var(--cc-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.cc-tour-visual-card {
  background: var(--cc-bg-dark);
  color: #ffffff;
  border-radius: var(--cc-radius-lg);
  padding: 28px;
  border: 1px solid var(--cc-border-dark);
  box-shadow: var(--cc-shadow-lg);
}

/* ==========================================================================
   5. BENTO GRID COMPLETO DE TODAS AS CARACTERÍSTICAS DO SISTEMA
   ========================================================================== */
.cc-features-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.cc-feature-card {
  background: var(--cc-bg-light);
  border: 1px solid var(--cc-border-light);
  border-radius: var(--cc-radius-lg);
  padding: 28px;
  transition: transform var(--cc-transition), box-shadow var(--cc-transition), border-color var(--cc-transition);
  display: flex;
  flex-direction: column;
}

.cc-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cc-shadow-md);
  border-color: #cbd5e1;
}

.cc-feature-card--wide {
  grid-column: span 2;
  background: linear-gradient(135deg, #131722 0%, #1e2536 100%);
  color: #ffffff;
  border-color: var(--cc-border-dark);
}

.cc-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--cc-brand-light);
  color: var(--cc-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.cc-feature-card--wide .cc-feature-icon {
  background: rgba(255, 59, 31, 0.2);
  color: #ff7a66;
}

.cc-feature-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.cc-feature-text {
  font-size: 0.9rem;
  color: var(--cc-text-muted);
  margin-bottom: 16px;
  flex: 1;
}

.cc-feature-card--wide .cc-feature-text {
  color: #cbd5e1;
}

.cc-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cc-tech-tag {
  font-size: 0.73rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--cc-radius-full);
  background: var(--cc-surface-light);
  border: 1px solid var(--cc-border-light);
  color: var(--cc-text-muted);
}

.cc-feature-card--wide .cc-tech-tag {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
}

/* ==========================================================================
   6. SIMULADOR INTERATIVO DE TEMAS POR TOKENS (WPFP_Theme)
   ========================================================================== */
.cc-theme-studio {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
  background: var(--cc-surface-dark);
  border: 1px solid var(--cc-border-dark);
  border-radius: var(--cc-radius-xl);
  padding: 36px;
}

.cc-preset-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.cc-preset-btn {
  background: var(--cc-surface-dark-2);
  border: 1.5px solid var(--cc-border-dark);
  border-radius: var(--cc-radius-md);
  padding: 12px 14px;
  text-align: left;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--cc-transition);
}

.cc-preset-btn.is-active {
  border-color: var(--cc-brand);
  background: rgba(255, 59, 31, 0.14);
}

.cc-preset-swatches {
  display: flex;
}

.cc-preset-swatches span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #131722;
  margin-left: -5px;
}
.cc-preset-swatches span:first-child { margin-left: 0; }

.cc-live-theme-preview {
  border-radius: var(--cc-radius-lg);
  padding: 24px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   7. CALCULADORA DE ECONOMIA (MARKETPLACE VS. CLICOU COMEU)
   ========================================================================== */
.cc-calc-box {
  background: var(--cc-surface-light);
  border: 1px solid var(--cc-border-light);
  border-radius: var(--cc-radius-xl);
  padding: 40px;
  box-shadow: var(--cc-shadow-md);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.cc-slider-group {
  margin-bottom: 22px;
}

.cc-slider-header {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 8px;
}

.cc-range {
  width: 100%;
  accent-color: var(--cc-brand);
  height: 8px;
  cursor: pointer;
}

.cc-savings-panel {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--cc-radius-lg);
  padding: 32px;
  text-align: center;
}

.cc-savings-amount {
  font-size: clamp(2.1rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #34d399;
  margin: 8px 0;
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.cc-footer {
  background: #07090d;
  color: #94a3b8;
  padding: 64px 0 40px;
  border-top: 1px solid var(--cc-border-dark);
  font-size: 0.9rem;
}

.cc-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.cc-footer-title {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 14px;
}

.cc-footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.cc-footer-list a:hover {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 980px) {
  .cc-hero-grid,
  .cc-tour-stage,
  .cc-theme-studio,
  .cc-calc-box {
    grid-template-columns: 1fr;
  }
  .cc-features-bento {
    grid-template-columns: 1fr;
  }
  .cc-feature-card--wide {
    grid-column: span 1;
  }
  .cc-nav {
    display: none;
  }
  .cc-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .cc-preset-grid,
  .cc-mini-kanban,
  .cc-footer-grid {
    grid-template-columns: 1fr;
  }
  .cc-tour-stage,
  .cc-calc-box,
  .cc-theme-studio {
    padding: 24px 18px;
  }
}
