/* ═══════════════════════════════════════════════════════════════════════════
   plataforma.css — Design System & Visual Engine da Plataforma Gula House
   Vanilla CSS Puro (sem frameworks externos), Dark Luxury Food-Tech,
   Design Tokens, Glassmorphism, Micro-interações e Responsividade Total.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Cores Base */
  --gula-bg: #070a11;
  --gula-bg-subtle: #0d121f;
  --gula-surface: rgba(17, 24, 39, 0.75);
  --gula-surface-card: rgba(22, 30, 49, 0.7);
  --gula-surface-hover: rgba(30, 41, 69, 0.85);
  --gula-border: rgba(255, 255, 255, 0.08);
  --gula-border-light: rgba(255, 255, 255, 0.14);
  --gula-border-glow: rgba(249, 115, 22, 0.45);

  /* Acentos da Marca */
  --gula-primary: #f97316;
  --gula-primary-hover: #ea580c;
  --gula-primary-light: rgba(249, 115, 22, 0.14);
  --gula-primary-glow: 0 0 24px rgba(249, 115, 22, 0.35);

  /* Tons de Destaque & Status */
  --gula-emerald: #10b981;
  --gula-emerald-hover: #059669;
  --gula-emerald-light: rgba(16, 185, 129, 0.14);
  --gula-emerald-glow: 0 0 20px rgba(16, 185, 129, 0.3);
  --gula-amber: #f59e0b;
  --gula-danger: #ef4444;
  --gula-danger-light: rgba(239, 68, 68, 0.15);

  /* Tipografia & Texto */
  --gula-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gula-text: #f8fafc;
  --gula-text-muted: #94a3b8;
  --gula-text-dim: #64748b;

  /* Formas, Sombras e Transições */
  --gula-radius-sm: 8px;
  --gula-radius-md: 14px;
  --gula-radius-lg: 20px;
  --gula-radius-pill: 9999px;
  --gula-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --gula-shadow-md: 0 8px 30px rgba(0, 0, 0, 0.45);
  --gula-shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --gula-transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Reset & Base ────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--gula-font);
  background-color: var(--gula-bg);
  color: var(--gula-text);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(249, 115, 22, 0.15), transparent 70%),
    radial-gradient(circle at 10% 40%, rgba(16, 185, 129, 0.04), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(249, 115, 22, 0.05), transparent 50%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--gula-transition);
}

/* ─── Layout & Container ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
}

/* ─── Header & Navbar ────────────────────────────────────────────────────── */
.gula-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 17, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gula-border);
  transition: var(--gula-transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--gula-text);
}

.brand-logo svg {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.5));
}

.brand-logo .badge-saas {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--gula-primary-light);
  color: var(--gula-primary);
  border: 1px solid rgba(249, 115, 22, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: var(--gula-radius-pill);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gula-text-muted);
  transition: var(--gula-transition);
  position: relative;
}

.nav-link:hover {
  color: var(--gula-text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ─── Botões & Ações ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--gula-radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--gula-transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gula-primary);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
  background: var(--gula-primary-hover);
  box-shadow: 0 6px 22px rgba(249, 115, 22, 0.5);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  border-color: var(--gula-border-light);
  color: var(--gula-text);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--gula-radius-md);
}

.btn-emerald {
  background: var(--gula-emerald);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
  background: var(--gula-emerald-hover);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

/* ─── Hero Section ───────────────────────────────────────────────────────── */
.hero-section {
  padding: 5.5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--gula-radius-pill);
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--gula-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.2);
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gula-primary);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.3rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--gula-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--gula-text-muted);
  max-width: 740px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Badges de Confiança do Hero */
.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gula-border);
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--gula-text-muted);
  font-weight: 500;
}

.hero-badge-item svg {
  color: var(--gula-emerald);
}

/* ─── Hero Visual Showcase (Simulador dos 3 Canais) ──────────────────────── */
.hero-showcase {
  margin-top: 4rem;
  background: var(--gula-surface);
  border: 1px solid var(--gula-border-light);
  border-radius: var(--gula-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--gula-shadow-lg), 0 0 60px rgba(249, 115, 22, 0.1);
  position: relative;
  backdrop-filter: blur(20px);
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--gula-border);
}

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

.window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gula-border-light);
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #10b981; }

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

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

.showcase-col {
  background: rgba(13, 18, 31, 0.9);
  border: 1px solid var(--gula-border);
  border-radius: var(--gula-radius-md);
  padding: 1.25rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.showcase-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gula-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-chip {
  padding: 0.2rem 0.6rem;
  border-radius: var(--gula-radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
}

.status-chip.online {
  background: var(--gula-emerald-light);
  color: var(--gula-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-chip.sla-amber {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gula-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.mock-card {
  background: var(--gula-surface);
  border: 1px solid var(--gula-border);
  border-radius: var(--gula-radius-sm);
  padding: 0.75rem;
  font-size: 0.85rem;
}

.mock-card .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.mock-card .item-name {
  font-weight: 600;
  color: var(--gula-text);
}

.mock-card .item-meta {
  color: var(--gula-text-dim);
  font-size: 0.75rem;
}

/* ─── Seção: Pilares do Produto (Features) ────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem;
}

.section-tag {
  color: var(--gula-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 1rem;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--gula-surface-card);
  border: 1px solid var(--gula-border);
  border-radius: var(--gula-radius-lg);
  padding: 2rem;
  transition: var(--gula-transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  background: var(--gula-surface-hover);
  border-color: var(--gula-border-glow);
  transform: translateY(-4px);
  box-shadow: var(--gula-shadow-md);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--gula-radius-md);
  background: var(--gula-primary-light);
  border: 1px solid rgba(249, 115, 22, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--gula-primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--gula-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ─── Seção: Arquitetura Híbrida (Diferencial Matador) ───────────────────── */
.hybrid-box {
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.9), rgba(13, 18, 31, 0.95));
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: var(--gula-radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: 0 0 50px rgba(249, 115, 22, 0.12);
  position: relative;
}

@media (max-width: 768px) {
  .hybrid-box {
    padding: 2rem 1.5rem;
  }
}

.hybrid-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 960px) {
  .hybrid-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.hybrid-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.hybrid-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.hybrid-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gula-emerald-light);
  color: var(--gula-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.hybrid-diagram {
  background: rgba(7, 10, 17, 0.8);
  border: 1px solid var(--gula-border);
  border-radius: var(--gula-radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.diagram-node {
  background: var(--gula-surface);
  border: 1px solid var(--gula-border-light);
  border-radius: var(--gula-radius-sm);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.diagram-node.highlight {
  border-color: var(--gula-primary);
  background: var(--gula-primary-light);
}

.diagram-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gula-primary);
  font-size: 0.8rem;
  font-weight: 600;
  gap: 0.5rem;
}

/* ─── Seção: Planos & Preços (Pricing) ────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}

.pricing-card {
  background: var(--gula-surface-card);
  border: 1px solid var(--gula-border);
  border-radius: var(--gula-radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--gula-transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--gula-border-light);
  box-shadow: var(--gula-shadow-lg);
}

.pricing-card.featured {
  border-color: var(--gula-primary);
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.08) 0%, var(--gula-surface-card) 60%);
  box-shadow: 0 0 40px rgba(249, 115, 22, 0.2);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gula-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: var(--gula-radius-pill);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.5);
  white-space: nowrap;
}

.pricing-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.pricing-header p {
  color: var(--gula-text-muted);
  font-size: 0.9rem;
  min-height: 42px;
}

.pricing-price {
  margin: 1.75rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.pricing-currency {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gula-text);
}

.pricing-value {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--gula-text);
}

.pricing-period {
  font-size: 0.95rem;
  color: var(--gula-text-dim);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.25rem;
  border-top: 1px solid var(--gula-border);
  padding-top: 1.5rem;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--gula-text-muted);
}

.pricing-feature-item svg {
  color: var(--gula-emerald);
  flex-shrink: 0;
}

.pricing-feature-item.disabled {
  color: var(--gula-text-dim);
  text-decoration: line-through;
}

.pricing-feature-item.disabled svg {
  color: var(--gula-text-dim);
}

/* ─── Tabela Matriz Comparativa ──────────────────────────────────────────── */
.comparison-table-wrapper {
  overflow-x: auto;
  background: var(--gula-surface-card);
  border: 1px solid var(--gula-border);
  border-radius: var(--gula-radius-lg);
  padding: 1.5rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--gula-border);
  font-size: 0.92rem;
}

.comparison-table th {
  font-weight: 700;
  color: var(--gula-text);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .feature-name {
  font-weight: 600;
  color: var(--gula-text);
}

/* ─── FAQ Acordeão ───────────────────────────────────────────────────────── */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--gula-surface-card);
  border: 1px solid var(--gula-border);
  border-radius: var(--gula-radius-md);
  overflow: hidden;
  transition: var(--gula-transition);
}

.faq-item:hover {
  border-color: var(--gula-border-light);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem;
  color: var(--gula-text);
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question svg {
  transition: transform 0.25s ease;
  color: var(--gula-primary);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--gula-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.gula-footer {
  background: #04060b;
  border-top: 1px solid var(--gula-border);
  padding: 4.5rem 0 2.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

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

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

.footer-brand p {
  color: var(--gula-text-muted);
  font-size: 0.92rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--gula-text);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--gula-text-muted);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--gula-primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--gula-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--gula-text-dim);
  font-size: 0.85rem;
}

/* ─── Chatbot Institucional (FAB & Painel Flutuante) ──────────────────────── */
.gula-chat-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gula-primary), #d97706);
  border: none;
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.45);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gula-chat-fab:hover {
  transform: scale(1.08);
}

.chat-fab-pulse {
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gula-emerald);
  border: 2px solid var(--gula-bg);
}

.gula-chat-painel {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 1000;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 120px);
  background: #0d121f;
  border: 1px solid var(--gula-border-light);
  border-radius: var(--gula-radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(249, 115, 22, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.96);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gula-chat-painel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-header {
  padding: 1rem 1.25rem;
  background: rgba(17, 24, 39, 0.95);
  border-bottom: 1px solid var(--gula-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gula-primary-light);
  border: 1px solid rgba(249, 115, 22, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gula-primary);
}

.chat-header-title {
  font-size: 0.92rem;
  font-weight: 700;
}

.chat-status-text {
  font-size: 0.75rem;
  color: var(--gula-emerald);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.chat-status-text::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gula-emerald);
}

.chat-close-btn {
  background: none;
  border: none;
  color: var(--gula-text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
}

.chat-close-btn:hover {
  color: var(--gula-text);
}

.chat-body {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-msg {
  display: flex;
  gap: 0.6rem;
  max-width: 85%;
  font-size: 0.88rem;
  line-height: 1.5;
}

.chat-msg.bot {
  align-self: flex-start;
}

.chat-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-bubble {
  padding: 0.75rem 1rem;
  border-radius: var(--gula-radius-md);
}

.chat-msg.bot .chat-bubble {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--gula-border);
  color: var(--gula-text);
  border-top-left-radius: 2px;
}

.chat-msg.user .chat-bubble {
  background: var(--gula-primary);
  color: #ffffff;
  border-top-right-radius: 2px;
}

.quick-replies {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.quick-reply-chip {
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.25);
  color: var(--gula-primary);
  border-radius: var(--gula-radius-pill);
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  text-align: left;
  cursor: pointer;
  transition: var(--gula-transition);
}

.quick-reply-chip:hover {
  background: var(--gula-primary);
  color: #ffffff;
}

.chat-footer {
  padding: 0.85rem 1rem;
  background: rgba(17, 24, 39, 0.9);
  border-top: 1px solid var(--gula-border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chat-input {
  flex: 1;
  background: #070a11;
  border: 1px solid var(--gula-border);
  border-radius: var(--gula-radius-pill);
  padding: 0.6rem 1rem;
  color: var(--gula-text);
  font-size: 0.85rem;
  outline: none;
}

.chat-input:focus {
  border-color: var(--gula-primary);
}

.chat-send-btn {
  background: var(--gula-primary);
  color: #ffffff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ─── Tela de Checkout (/assinar/) ───────────────────────────────────────── */
.checkout-wrapper {
  padding: 4rem 0 5rem;
  min-height: calc(100vh - 180px);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

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

.checkout-card {
  background: var(--gula-surface-card);
  border: 1px solid var(--gula-border);
  border-radius: var(--gula-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--gula-shadow-lg);
}

@media (max-width: 600px) {
  .checkout-card {
    padding: 1.75rem 1.25rem;
  }
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gula-text);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background: rgba(7, 10, 17, 0.85);
  border: 1px solid var(--gula-border-light);
  border-radius: var(--gula-radius-sm);
  padding: 0.85rem 1rem;
  color: var(--gula-text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--gula-transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--gula-primary);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.subdomain-input-group {
  display: flex;
  align-items: center;
  background: rgba(7, 10, 17, 0.85);
  border: 1px solid var(--gula-border-light);
  border-radius: var(--gula-radius-sm);
  overflow: hidden;
  transition: var(--gula-transition);
}

.subdomain-input-group:focus-within {
  border-color: var(--gula-primary);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.subdomain-input-group input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.85rem 1rem;
  color: var(--gula-text);
  font-size: 0.95rem;
  outline: none;
}

.subdomain-suffix {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-left: 1px solid var(--gula-border);
  color: var(--gula-primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.subdomain-preview {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--gula-text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.subdomain-preview strong {
  color: var(--gula-emerald);
}

.password-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gula-text-muted);
  cursor: pointer;
  padding: 4px;
}

/* Seletor de Planos no Checkout */
.plan-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
  .plan-selector-grid {
    grid-template-columns: 1fr;
  }
}

.plan-pill {
  border: 1px solid var(--gula-border-light);
  border-radius: var(--gula-radius-md);
  padding: 1rem 0.75rem;
  background: rgba(13, 18, 31, 0.6);
  cursor: pointer;
  text-align: center;
  transition: var(--gula-transition);
}

.plan-pill:hover {
  background: var(--gula-surface-hover);
  border-color: var(--gula-border-glow);
}

.plan-pill.selected {
  border-color: var(--gula-primary);
  background: var(--gula-primary-light);
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.25);
}

.plan-pill .plan-pill-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gula-text);
  margin-bottom: 0.25rem;
}

.plan-pill .plan-pill-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gula-primary);
}

.alert-erro {
  background: var(--gula-danger-light);
  border: 1px solid var(--gula-danger);
  color: #fca5a5;
  padding: 1rem 1.25rem;
  border-radius: var(--gula-radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
