/* CODE site — identidade visual (não alterar tokens de cor/tipografia) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');
* { font-family: 'Inter', sans-serif; scroll-behavior: smooth; }
body { background: #0A0E1A; color: #ffffff; overflow-x: hidden; }

.gradient-code { background: linear-gradient(135deg, #14B8A6 0%, #3B82F6 25%, #8B5CF6 50%, #F59E0B 100%); }
.gradient-green { background: linear-gradient(135deg, #10B981 0%, #14B8A6 100%); }
.gradient-blue { background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%); }
.gradient-purple { background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%); }
.gradient-yellow { background: linear-gradient(135deg, #F59E0B 0%, #EAB308 100%); }
.gradient-pink { background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%); }

.text-gradient-code {
  background: linear-gradient(135deg, #14B8A6 0%, #3B82F6 25%, #8B5CF6 50%, #F59E0B 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.glassmorphism {
  background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(10px);
  border: 1px solid rgba(20, 184, 166, 0.2);
}

.hover-up { transition: all 0.3s ease; }
.hover-up:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(20, 184, 166, 0.3); }

.whatsapp-float { position: fixed; bottom: 30px; right: 30px; z-index: 1000; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.nav-btn { transition: all 0.3s; }
.nav-btn.active { color: #14B8A6 !important; border-bottom: 2px solid #14B8A6; }

.plan-card { transition: all 0.25s ease; border: 1px solid rgba(100, 100, 100, 0.25); }
.plan-card:hover { transform: translateY(-3px); border-color: rgba(20, 184, 166, 0.55); }

/* Cards densos: detalhe completo em tipografia pequena */
.plan-card-compact {
  padding: 18px 16px 16px; display: flex; flex-direction: column; height: 100%;
}
.plan-head { text-align: center; margin-bottom: 12px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(20,184,166,0.12); }
.plan-name { font-size: 1.05rem; font-weight: 800; margin-bottom: 2px; line-height: 1.2; }
.plan-sub { font-size: 11px; color: #9CA3AF; margin-bottom: 6px; line-height: 1.35; }
.plan-price { font-size: 1.65rem; font-weight: 900; line-height: 1.1; }
.plan-period { font-size: 11px; color: #9CA3AF; margin-top: 1px; }
.plan-meta { font-size: 10px; color: #6B7280; margin-top: 6px; line-height: 1.35; }
.plan-sec-label {
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: #14B8A6; margin: 8px 0 4px;
}
.plan-sec-out { color: #6B7280; }
.plan-list { list-style: none; padding: 0; margin: 0 0 6px; }
.plan-list li { font-size: 11px; line-height: 1.35; margin: 0 0 3px; color: #D1D5DB; }
.plan-notes { list-style: none; padding: 0; margin: 6px 0 8px; }
.plan-notes li { font-size: 10px; color: #9CA3AF; line-height: 1.4; margin-bottom: 2px; }
.plan-cta {
  display: block; width: 100%; margin-top: auto; text-align: center; color: #fff;
  font-size: 12px; font-weight: 700; padding: 9px 12px; border-radius: 10px;
  transition: box-shadow 0.2s;
}
.plan-cta:hover { box-shadow: 0 8px 24px rgba(20,184,166,0.25); }

.feature-item { position: relative; padding-left: 16px; }
.feature-item:before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: #14B8A6; font-weight: bold; font-size: 11px;
}
.feature-out { position: relative; padding-left: 16px; color: #6B7280 !important; }
.feature-out:before {
  content: '✕'; position: absolute; left: 0; top: 0;
  color: #6B7280; font-weight: bold; font-size: 10px;
}
.plan-note { font-size: 11px; color: #9CA3AF; margin-top: 12px; line-height: 1.4; }

/* Dropdown Produtos (mesmo visual do nav) */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 240px;
  padding: 12px 0; margin-top: 8px;
  background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(12px);
  border: 1px solid rgba(20, 184, 166, 0.25); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45); z-index: 60;
}
.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 10px 18px; color: #D1D5DB; font-weight: 600; font-size: 14px;
  text-decoration: none; transition: all 0.2s;
}
.nav-dropdown-menu a:hover { color: #14B8A6; background: rgba(20, 184, 166, 0.08); }
.breadcrumb a { color: #14B8A6; }
.faq-item { border: 1px solid rgba(20, 184, 166, 0.15); }
.cmp-table th, .cmp-table td { padding: 10px 12px; font-size: 13px; border-bottom: 1px solid rgba(100,100,100,0.2); }
.cmp-table th { color: #14B8A6; text-align: left; }
.cmp-yes { color: #14B8A6; font-weight: 700; }
.cmp-no { color: #6B7280; }

/* Padrão estilo ClickUp Features (estrutura SaaS) */
.eyebrow {
  letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; font-weight: 700;
  color: #14B8A6;
}
.hero-visual {
  min-height: 360px; border-radius: 20px; overflow: hidden; position: relative;
  background: linear-gradient(145deg, rgba(59,130,246,0.35), rgba(20,184,166,0.2), rgba(15,23,42,0.9));
  border: 1px solid rgba(20,184,166,0.25);
}
.hero-visual-list { position: absolute; left: 24px; bottom: 24px; right: 24px; }
.hero-shot { position: relative; }
.hero-shot-img {
  width: 100%; border-radius: 16px; border: 1px solid rgba(20,184,166,0.3);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45); display: block;
}
.hero-shot .hero-visual-list {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
}
.screen-frame {
  border-radius: 16px; overflow: hidden; border: 1px solid rgba(20,184,166,0.28);
  box-shadow: 0 18px 50px rgba(0,0,0,0.4); background: #0b1220;
}
.screen-img { width: 100%; display: block; height: auto; }
.niche-card {
  border-radius: 16px; overflow: hidden; background: rgba(15,23,42,0.75);
  border: 1px solid rgba(20,184,166,0.18); transition: transform 0.25s ease, border-color 0.25s ease;
}
.niche-card:hover { transform: translateY(-4px); border-color: rgba(20,184,166,0.45); }
.niche-img-wrap { aspect-ratio: 16/10; overflow: hidden; }
.niche-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.niche-body { padding: 14px 16px 16px; }
.niche-title { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.niche-desc { font-size: 12px; color: #9CA3AF; line-height: 1.4; }
.use-case-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20,184,166,0.15); color: #14B8A6; font-size: 22px; margin-bottom: 14px;
}
.feature-grid-card { transition: transform 0.25s ease, border-color 0.25s ease; }
.feature-grid-card:hover { transform: translateY(-4px); border-color: rgba(20,184,166,0.45); }
.feature-deep { scroll-margin-top: 100px; }
.feature-nav a {
  display: block; padding: 10px 14px; border-radius: 10px; color: #9CA3AF; font-size: 14px; font-weight: 600;
}
.feature-nav a:hover, .feature-nav a.active { color: #14B8A6; background: rgba(20,184,166,0.1); }
@media (min-width: 1024px) {
  .feature-nav-sticky { position: sticky; top: 100px; }
}

/* ========== Mobile / celular ========== */
html { -webkit-text-size-adjust: 100%; }

@media (max-width: 767px) {
  .whatsapp-float {
    bottom: max(16px, env(safe-area-inset-bottom));
    right: max(16px, env(safe-area-inset-right));
  }
  .whatsapp-float .w-16 {
    width: 3.25rem !important;
    height: 3.25rem !important;
  }
  .whatsapp-float .w-9 {
    width: 1.75rem !important;
    height: 1.75rem !important;
  }

  .hero-shot {
    margin-top: 0.5rem;
  }
  .hero-shot-img {
    border-radius: 14px;
    max-height: 240px;
    object-fit: cover;
  }
  .hero-shot .hero-visual-list {
    position: static;
    margin-top: 12px;
    left: auto;
    right: auto;
    bottom: auto;
  }
  .hero-visual {
    min-height: 220px;
  }
  .hero-visual-list {
    position: static;
    margin-top: 12px;
    padding: 12px !important;
  }

  .niche-body { padding: 12px 14px 14px; }
  .niche-title { font-size: 0.95rem; }
  .feature-deep { scroll-margin-top: 88px; }
  .screen-frame { border-radius: 12px; }

  .plan-card-compact {
    padding: 16px 14px 14px;
  }
  .plan-cta {
    font-size: 13px;
    padding: 12px 14px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .faq-item summary {
    font-size: 15px;
    line-height: 1.35;
    padding-right: 8px;
  }

  /* CTAs empilhados e largura total no hero / CTA final */
  .mobile-cta-stack {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .mobile-cta-stack > a {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  /* Evita blur enorme estourar layout em telas estreitas */
  .mobile-blur-safe {
    max-width: 100vw;
    overflow: hidden;
  }
}

@media (max-width: 380px) {
  .hero-shot-img { max-height: 200px; }
  .plan-name { font-size: 0.95rem; }
}

