/*!
 * Brascast - Site CSS (per-page styles).
 * Copyright (c) 2026 Brascast. All rights reserved.
 *
 * This source file is protected by copyright law. Unauthorized copying,
 * distribution, modification, reverse engineering, or commercial use of
 * any portion of this code, in source or compiled form, is strictly
 * prohibited without prior written consent from Brascast.
 */

/* ============================================================
   Brascast - ADDONS (page-specific styles)
   Loaded ONLY on the institutional site pages.
   Central panel pages do NOT need deste arquivo.
   ============================================================ */


@media (max-width: 449px) {
  .timeline-day-tabs { display: flex; flex-wrap: wrap; gap: 3px; }
  .timeline-day-tab { padding: 6px 10px; font-size: 11.5px; }
}

/* =========================================================
   UTILITIES / MODIFIERS (replace scattered inline styles)
   ========================================================= */

/* Initial state of fallbacks that JS reveals if the logo fails to load */
.mobile-menu-logo-text,
.nav-logo-text { display: none; }
.nav-logo-text span { color: var(--green-mid); }

/* Mobile menu footer area */
.mobile-menu-footer { padding: 16px 20px 32px; }
.mobile-menu-btn--full { display: block; text-align: center; }

/* Footer logo (white version via CSS filter) */
.footer-logo img { height: 30px; width: auto; display: block; filter: brightness(0) invert(1); }

/* Tag: spacing and contrast variants */
.tag--mb-md { margin-bottom: 16px; }
.tag--mb-lg { margin-bottom: 20px; }
.tag--on-dark { background: rgba(255,255,255,.15); color: #fff; }

/* Mint color used in the "Careers" CTA on /sobre */
.text-mint { color: #aef0d9; }

/* Secondary inline text */
.text-muted { color: var(--text-muted); }

/* Bold white text on dark backgrounds */
.text-white-strong { color: #fff; font-weight: 600; }

/* White button with green text (used in dark CTAs) */
.btn--white-green { background: #fff; color: var(--green); }
.btn--white-green:hover { background: var(--bg-soft); color: var(--green-dark); }

/* Featured plan: name in green */
.pln-card-name--featured { color: var(--green); }

/* Inline note in <em> inside comparison table cells */
.pln-note { font-style: normal; color: var(--text-muted); font-size: 13px; }

/*  Cookie consent banner
   Barra full-width fixa no rodapé com border-top sutil.
   Conteúdo limitado por max-width + centralizado. Botão verde Brascast. */
.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 9000;
  background: var(--bg);
  color: var(--text);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(15,30,27,.06);
  font-family: var(--font);
  animation: cookieBannerIn .35s ease-out both;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.cookie-banner-text {
  flex: 1;
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
}
.cookie-banner-text strong { font-weight: 700; }
.cookie-banner-text a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-text a:hover { color: var(--green); }
.cookie-banner-btn {
  flex-shrink: 0;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px 22px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease;
}
.cookie-banner-btn:hover { background: var(--green-dark); }
.cookie-banner-btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
@keyframes cookieBannerIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 720px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 16px; }
  .cookie-banner-text { font-size: 13px; }
  .cookie-banner-btn { width: 100%; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { animation: none; }
}

/* Moved from public/assets/css/pages/home.css (shared across pages) */
.section-heading { text-align: center; margin-bottom: 60px; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-heading h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; margin-bottom: 12px; text-wrap: pretty; }
.section-heading h2 .accent { color: var(--green); }
.section-heading p { font-size: 17px; color: var(--text-muted); max-width: 520px; margin: 0 auto; line-height: 1.3; }
.cta-section { background: var(--green); position: relative; overflow: hidden; }
.cta-section .cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-section .cta-bg-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.cta-bg-1 { width: 660px; height: 660px; background: radial-gradient(circle, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 40%, transparent 70%); top: -280px; right: -180px; }
.cta-bg-2 { width: 510px; height: 510px; background: radial-gradient(circle, rgba(0,0,0,.1) 0%, rgba(0,0,0,.04) 40%, transparent 70%); bottom: -230px; left: 120px; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; padding: 80px 0; }
.cta-content h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; color: #fff; margin-bottom: 12px; letter-spacing: -.03em; text-wrap: pretty; }
.cta-content p { font-size: 17px; color: rgba(255,255,255,.75); line-height: 1.3; max-width: 520px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.cta-note { font-size: 13px; color: rgba(255,255,255,.55); text-align: right; }
@media (max-width: 768px) {
  .cta-inner { grid-template-columns: 1fr; gap: 28px; }
  .cta-actions { align-items: flex-start; }
  .cta-note { text-align: left; }
}
/* Moved from public/assets/css/pages/site.css (shared across pages) */
.st-section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.st-section-head .tag { margin-bottom: 14px; }
.st-section-head h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--text); margin-bottom: 12px; text-wrap: balance; }
.st-section-head h2 .accent { color: var(--green); }
.st-section-head p { font-size: 17px; color: var(--text-muted); line-height: 1.3; text-wrap: pretty; }
.st-browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: #f5faf8; border-bottom: 1px solid var(--border); }
.st-browser-dot { width: 11px; height: 11px; border-radius: 50%; background: #e1ece9; }
.st-browser-dot:nth-child(1) { background: #ff5f57; }
.st-browser-dot:nth-child(2) { background: #febc2e; }
.st-browser-dot:nth-child(3) { background: #28c840; }
.st-browser-url { flex: 1; margin-left: 12px; padding: 6px 14px; background: #fff; border: 1px solid var(--border); border-radius: 99px; font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.st-browser-url svg { color: var(--green); flex-shrink: 0; }
.st-browser-url--title { justify-content: center; font-weight: 700; color: var(--text); }
@media (max-width: 768px) {
  .st-section-head { margin-bottom: 40px; }
}

/* Moved from public/assets/css/pages/contato.css (shared across pages) */
.ct-faq { background: #fff; }
.ct-faq-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.ct-faq-head h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin-top: 14px; text-wrap: balance; }
.ct-faq-head h2 .accent { color: var(--green); }
.ct-faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.ct-faq-item { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; padding: 14px 20px; transition: border-color .15s; }
.ct-faq-item[open] { border-color: var(--green); background: #fff; box-shadow: 0 6px 18px rgba(15,30,27,.05); }
.ct-faq-item summary { cursor: pointer; font-size: 15px; font-weight: 700; color: var(--text); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ct-faq-item summary::-webkit-details-marker { display: none; }
.ct-faq-item summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--green); flex-shrink: 0; transition: transform .2s; line-height: 1; }
.ct-faq-item[open] summary::after { content: '−'; }
.ct-faq-item p { margin-top: 10px; font-size: 17px; color: var(--text-muted); line-height: 1.3; text-wrap: pretty; }
@media (max-width: 768px) {
  .ct-faq-item { padding: 12px 16px; }
  .ct-faq-item summary { font-size: 14px; }
}
/* Moved from public/assets/css/pages/planos.css (shared across pages) */
.tv-plan-features li > .card-x { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex-shrink: 0; }
.tv-plan-features li > .card-check { color: var(--green); }
.tv-plan-features li > .card-x { color: #98a3a0; }
.tv-plan-features li > .card-check svg { width: 34px; height: 34px; display: block; }
.tv-plan-features li > .card-x svg { width: 30px; height: 30px; display: block; }
/* Moved from public/assets/css/pages/aplicativo.css (shared across pages) */
.app-feat-title { font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; color: var(--text); margin-bottom: 12px; }
.app-feat-lead { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 18px; }
.app-feat-desc { font-size: 17px; line-height: 1.3; color: var(--text-muted); margin: 0; }
.appv3 { padding: 24px 0 96px; }
.appv3-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.appv3-panel { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 44px 40px; overflow: hidden; }
.appv3-panel .app-feat-title { font-size: clamp(24px, 2.4vw, 30px); }
.appv3-media { position: relative; height: 232px; margin-top: 28px; }
.media-card { position: absolute; width: 84%; min-height: 140px; border-radius: 14px; overflow: hidden; background-repeat: no-repeat; background-position: right center; background-size: auto 100%; box-shadow: 0 20px 50px rgba(15,30,27,.22); border: 1px solid var(--border); display: flex; flex-direction: column; }
.media-card--1 { top: 0; left: 0; z-index: 2; }
.media-card--2 { top: 96px; left: 16%; z-index: 1; }
.media-card-top { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 22px; padding: 16px 18px; }
.media-card-track { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--card-fg, #2b2b2b); max-width: 62%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-card-pause { width: 22px; height: 22px; flex-shrink: 0; color: var(--card-fg, #2b2b2b); }
.media-card-caption { display: flex; align-items: center; gap: 9px; padding: 15px 16px; background: #2b2b2d; font-size: 12px; color: rgba(255,255,255,.9); }
.media-card-caption svg { width: 16px; height: 16px; flex-shrink: 0; }
.media-card-caption span:first-of-type { flex: 1; }
.media-card-switch { width: 30px; height: 16px; border-radius: 99px; background: rgba(255,255,255,.3); position: relative; flex-shrink: 0; }
.media-card-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.playerart { display: flex; flex-direction: column; align-items: center; margin-top: 56px; }
.pa-source { position: relative; width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; }
.pa-node { position: relative; z-index: 2; width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--green-mid), var(--green)); color: #fff; box-shadow: 0 12px 30px rgba(23,141,114,.35); }
.pa-node svg { width: 34px; height: 34px; }
.pa-wave { position: absolute; top: 50%; left: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; border: 2px solid var(--green-mid); opacity: 0; animation: paWave 2.8s ease-out infinite; }
.pa-wave--2 { animation-delay: 1.4s; }
.pa-net { width: 240px; max-width: 100%; height: 56px; color: var(--border); }
.pa-formats { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.pa-fmt { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); font-weight: 700; font-size: 14px; color: var(--text); box-shadow: var(--shadow-sm); }
.pa-fmt svg { width: 17px; height: 17px; color: var(--green); }
@media (max-width: 768px) {
  .appv3-grid { grid-template-columns: 1fr; gap: 24px; }
  .appv3-panel { padding: 36px 28px; }
}
