/* BrioTV Player — landing briotv.com
   Design Tokens e Estilos Compartilhados do Pacote @brio/ui */

@import url('/ui/tokens/colors.css');
@import url('/ui/tokens/typography.css');
@import url('/ui/tokens/spacing.css');
@import url('/ui/tokens/animations.css');

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

html { scroll-behavior: smooth; }
body {
  font-family: var(--brio-font);
  background: var(--brio-black);
  color: var(--brio-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }
input, select, textarea {
  font-family: inherit;
  background: var(--brio-card-elevated);
  color: var(--brio-text);
  border: 1px solid var(--brio-border);
  border-radius: var(--brio-radius-sm);
  padding: 12px 14px;
  font-size: 1rem;
  width: 100%;
  outline: none;
  transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--brio-red); }

/* ─── TRUST STRIP ─── */
.trust-strip {
  background: #111; border-top: 1px solid var(--brio-border); border-bottom: 1px solid var(--brio-border);
  padding: 14px clamp(16px,5vw,48px);
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  justify-content: center; align-items: center;
  position: relative; z-index: 10;
}
.trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: .8rem; font-weight: 600; color: var(--brio-text-muted);
}
.trust-item i { color: var(--brio-green); font-size: .85rem; }

/* ─── CONTENT SECTIONS ─── */
.features-section {
  padding: 80px clamp(16px,5vw,48px);
  background: #0f0f0f;
  border-top: 1px solid var(--brio-border);
  position: relative; z-index: 10;
}
.features-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: .7rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--brio-red); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.section-label::before { content: ''; display: block; width: 20px; height: 2px; background: var(--brio-red); border-radius: 2px; }
.section-title {
  font-family: var(--brio-font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; text-transform: uppercase; margin-bottom: 40px; line-height: 1.05;
}

/* ─── SEÇÃO B2B (PARA PROVEDORES) ─── */
.b2b-cta-section {
  padding: 60px clamp(16px, 5vw, 48px);
  background: linear-gradient(135deg, #141414 0%, #1a1010 100%);
  border-top: 1px solid var(--brio-border);
  border-bottom: 1px solid var(--brio-border);
  display: flex; justify-content: center;
  position: relative; overflow: hidden;
  z-index: 10;
}
.b2b-card-glow {
  position: absolute; width: 200px; height: 200px;
  background: var(--brio-red); filter: blur(140px);
  opacity: 0.15; top: -50px; right: 10%; pointer-events: none;
}
.b2b-cta-content {
  max-width: 1200px; width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 32px;
}
.b2b-text-side { flex: 1 1 500px; }
.b2b-text-side h2 {
  font-family: var(--brio-font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800;
  text-transform: uppercase; margin-bottom: 12px; letter-spacing: -0.01em;
}
.b2b-text-side p { color: var(--brio-text-muted); font-size: 0.95rem; line-height: 1.6; }
.b2b-action-side { flex-shrink: 0; }

/* ─── SUBPAGE OVERRIDES (ONBOARDING & PARCEIROS) ─── */
.page-hero {
  min-height: auto;
  padding-top: 120px;
  padding-bottom: 30px;
  padding-left: clamp(16px, 5vw, 48px);
  padding-right: clamp(16px, 5vw, 48px);
  background: none;
}
.onboarding-section {
  padding: 10px clamp(16px, 5vw, 48px) 80px;
}

@media (max-width: 768px) {
  .b2b-cta-content { flex-direction: column; text-align: center; }
  .b2b-action-side { width: 100%; }
  .b2b-action-side .btn-primary { width: 100%; justify-content: center; }

  .trust-strip { gap: 8px 20px; padding: 12px 16px; }
  .trust-item { font-size: 0.75rem; }

  .section-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 28px; }
  .features-section { padding: 48px 16px; }

  .form-container { max-width: 100%; }

  .page-hero { 
    padding-top: 90px; 
    padding-bottom: 20px;
    padding-left: clamp(16px, 5vw, 24px);
    padding-right: clamp(16px, 5vw, 24px);
  }
  .onboarding-section { padding-bottom: 48px; }
}

/* ─── FORMS & CONTAINERS (ONBOARDING & PARCEIROS) ─── */
.form-container {
  max-width: 480px; margin: 0 auto;
  background: var(--brio-card);
  border: 1px solid var(--brio-border);
  border-radius: var(--brio-radius-lg);
  padding: 36px;
  box-shadow: var(--brio-shadow-lg);
  position: relative; z-index: 10;
  backdrop-filter: blur(8px);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.82rem;
  color: var(--brio-text-muted);
  margin-bottom: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-row .hint { font-size: 0.8rem; color: var(--brio-text-muted); margin-top: 5px; line-height: 1.4; }
.form-btn {
  width: 100%;
  background: var(--brio-red);
  color: #fff;
  padding: 14px;
  border-radius: var(--brio-radius-sm);
  font-weight: 700;
  font-size: 1rem;
  transition: background .15s, transform .1s;
  margin-top: 10px;
}
.form-btn:hover:not(:disabled) { background: var(--brio-red-dark); }
.form-btn:active:not(:disabled) { transform: scale(0.99); }
.form-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.form-msg {
  padding: 12px 14px;
  border-radius: var(--brio-radius-sm);
  margin-top: 16px;
  font-size: 0.9rem;
  display: none;
  line-height: 1.4;
}
.form-msg.error { display: block; background: rgba(239,68,68,0.1); border: 1px solid var(--brio-danger); color: #f87171; }
.form-msg.success { display: block; background: rgba(34,197,94,0.1); border: 1px solid var(--brio-success); color: #4ade80; }

/* PRICING TABLE (PARCEIROS & B2B) */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto 40px;
  position: relative; z-index: 10;
}
.price-card {
  background: var(--brio-card);
  border: 1px solid var(--brio-border);
  border-radius: var(--brio-radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: border-color 0.25s, transform 0.2s;
}
.price-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-2px); }
.price-card.featured { 
  border-color: var(--brio-red); 
  box-shadow: 0 10px 30px rgba(232, 40, 26, 0.1);
  background: linear-gradient(180deg, rgba(23, 23, 23, 0.95) 0%, rgba(30, 20, 20, 0.95) 100%);
}
.price-card .badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brio-red); color: white;
  padding: 4px 12px; border-radius: var(--brio-radius-pill);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px;
}
.price-card h4 {
  font-family: var(--brio-font-display);
  font-size: 1.6rem; font-weight: 800;
  margin-bottom: 8px; text-transform: uppercase;
}
.price-card .price {
  font-family: var(--brio-font-display);
  font-size: 2.8rem; font-weight: 800; color: var(--brio-text);
  margin: 12px 0 6px;
  line-height: 1;
}
.price-card .price small { font-size: 0.95rem; color: var(--brio-text-muted); font-weight: 500; }
.price-card .limit { color: var(--brio-text-muted); font-size: 0.88rem; font-weight: 500; }

/* WhatsApp floating button removido — ver TECHNICAL_DEBT.md
   Canal de suporte dedicado para briotv.com pendente. */

/* Glassmorphism Classes */
.glass {
  background: rgba(24, 24, 24, 0.72) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Onboarding specific steps */
.step-progress {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 24px;
}
.step-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: background 0.25s, transform 0.25s;
}
.step-dot.active {
  background: var(--brio-red);
  transform: scale(1.25);
  box-shadow: 0 0 8px var(--brio-red);
}

@media (max-width: 480px) {
  .trust-strip { gap: 6px 14px; padding: 10px 12px; }
  .trust-item { font-size: 0.7rem; }

  .section-title { font-size: 1.4rem; }
  .section-label { font-size: 0.65rem; }

  .features-section { padding: 32px 16px; }

  .form-container { padding: 22px 16px; border-radius: var(--brio-radius); }

  .pricing { gap: 16px; }
  .price-card { padding: 28px 20px; }
  .price-card .price { font-size: 2.2rem; }

  .page-hero { 
    padding-top: 80px; 
    padding-bottom: 16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .onboarding-section { padding: 10px 16px 36px; }
}

@media (max-width: 600px) {
  .hero { padding-top: 100px; }
  .form-container { padding: 26px 20px; }
}
