/* =========================================================
   EM MOVIMENTO - FORMULÁRIO ESTILO RESPONDI / TYPEFORM
   Paleta: Dark Tech & Glassmorphism com Acentos Elétricos
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-main: #080C14;
  --bg-surface: #0E1422;
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --primary: #00D056;
  --primary-glow: rgba(0, 208, 86, 0.35);
  --primary-hover: #00B84C;
  --accent: #FFD700;
  --success: #00D056;
  --danger: #EF4444;
  --warning: #F59E0B;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: #00D056;
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "SF Pro", "Plus Jakarta Sans", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Background Ambient Glows */
.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
}

.glow-top-left {
  top: -150px;
  left: -150px;
  background: radial-gradient(circle, #2563EB 0%, transparent 70%);
}

.glow-bottom-right {
  bottom: -150px;
  right: -150px;
  background: radial-gradient(circle, #38BDF8 0%, transparent 70%);
}

/* Header & Progress Bar */
.form-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  z-index: 100;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-brand img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.header-brand-title {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: #fff;
  text-transform: uppercase;
}

.header-brand-badge {
  background: rgba(37, 99, 235, 0.2);
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

/* Barra de Progresso Superior */
.progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2563EB, #38BDF8);
  box-shadow: 0 0 12px var(--primary-glow);
  transition: width 0.4s ease;
}

.header-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.progress-counter {
  font-weight: 600;
  color: var(--accent);
}

/* Área Central de Perguntas */
.form-viewport {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 90px 24px;
  position: relative;
  z-index: 10;
  min-height: 100vh;
}

.question-stage {
  width: 100%;
  max-width: 760px;
  position: relative;
}

/* Slide de Pergunta (Respondi style) */
.step-slide {
  display: none;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.38s ease, transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.step-slide.fade-out {
  opacity: 0;
  transform: translateY(-20px);
}

/* Welcome Slide */
.welcome-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.welcome-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563EB, #38BDF8, #818CF8);
}

.welcome-logo {
  max-height: 70px;
  margin-bottom: 24px;
  filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.3));
}

.welcome-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #FFFFFF 60%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.welcome-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.security-badge-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 10px 18px;
  border-radius: 40px;
  font-size: 13px;
  color: #34D399;
  font-weight: 500;
  margin-bottom: 32px;
}

.security-badge-box svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Cabeçalho da Pergunta */
.question-number-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.question-number-tag .arrow {
  font-size: 16px;
}

.question-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.question-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 28px;
}

/* Campos de Input Modernos */
.input-wrapper {
  margin-bottom: 28px;
  position: relative;
}

.form-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-family: var(--font-family);
  font-size: 18px;
  color: #FFFFFF;
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--accent);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15);
}

.form-input::placeholder {
  color: var(--text-dim);
  font-size: 16px;
}

textarea.form-input {
  min-height: 130px;
  resize: vertical;
  line-height: 1.5;
}

select.form-input {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300D056'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 22px;
  padding-right: 48px;
}

select.form-input option {
  background: #0E1422;
  color: #FFFFFF;
  padding: 12px;
}

/* Input com Ícone ou Ação */
.input-with-action {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-action .form-input {
  padding-right: 50px;
}

.input-action-btn {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.input-action-btn:hover {
  color: var(--accent);
}

/* Cards de Acessos (Instagram, Facebook, Google, TikTok) */
.credentials-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.credentials-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.platform-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  background: transparent !important;
}

.platform-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.question-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  overflow: hidden;
  margin-right: 6px;
  vertical-align: middle;
}

.question-icon-badge svg {
  width: 100%;
  height: 100%;
  display: block;
}

.platform-name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.platform-badge {
  font-size: 12px;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
  margin-left: auto;
}

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Aviso de Segurança Banner */
.statement-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 28px;
}

.statement-alert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.statement-body {
  font-size: 16px;
  line-height: 1.6;
  color: #E2E8F0;
}

/* Repetíveis (Endereços e Responsáveis) */
.repeatable-container {
  margin-bottom: 24px;
}

.repeatable-item {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  position: relative;
  transition: var(--transition);
}

.repeatable-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.repeatable-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
}

.repeatable-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.remove-repeatable-btn {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.8;
  transition: var(--transition);
}

.remove-repeatable-btn:hover {
  opacity: 1;
  text-decoration: underline;
}

.add-repeatable-btn {
  width: 100%;
  background: rgba(0, 208, 86, 0.08);
  border: 1px dashed rgba(0, 208, 86, 0.4);
  color: #00D056;
  padding: 14px;
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.add-repeatable-btn:hover {
  background: rgba(0, 208, 86, 0.16);
  border-color: #00D056;
  transform: translateY(-1px);
}

/* Multi-Empresa - Card 1 */
.repeatable-companies-container {
  margin-top: 10px;
  margin-bottom: 20px;
}

.repeatable-company-row {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 14px;
  transition: var(--transition);
}

.repeatable-company-row:hover {
  border-color: rgba(0, 208, 86, 0.4);
}

.company-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.company-row-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.remove-company-btn {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.remove-company-btn:hover {
  opacity: 1;
  text-decoration: underline;
}

.add-company-btn {
  width: 100%;
  background: rgba(0, 208, 86, 0.08);
  border: 1.5px dashed rgba(0, 208, 86, 0.4);
  color: #00D056;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.add-company-btn:hover {
  background: rgba(0, 208, 86, 0.16);
  border-color: #00D056;
  color: #fff;
}

/* Badge de Identificação da Empresa nas Perguntas Duplicadas */
.company-badge-header {
  margin-bottom: 12px;
}

.company-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 208, 86, 0.12);
  color: #00D056;
  border: 1px solid rgba(0, 208, 86, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.company-badge-pill strong {
  color: #FFFFFF;
}

/* Tag de Empresa nos Responsáveis */
.badge-resp-company {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  margin-top: 4px;
}

.add-repeatable-btn:hover {
  background: rgba(37, 99, 235, 0.2);
  border-color: var(--accent);
  color: #fff;
}

/* Área de Upload (Cards de Arquivos com Google Drive) */
.dropzone-box {
  background: rgba(15, 23, 42, 0.6);
  border: 2px dashed rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 20px;
  position: relative;
}

.dropzone-box:hover, .dropzone-box.drag-over {
  background: rgba(37, 99, 235, 0.12);
  border-color: var(--accent);
  transform: scale(1.01);
}

.dropzone-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px auto;
  background: rgba(37, 99, 235, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.dropzone-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
}

.dropzone-main-text {
  font-size: 17px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.dropzone-sub-text {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 14px auto;
  line-height: 1.4;
}

.dropzone-drive-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

.dropzone-drive-pill svg {
  width: 14px;
  height: 14px;
}

.hidden-file-input {
  display: none;
}

/* Lista de Arquivos Carregados */
.files-preview-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.file-preview-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: var(--transition);
}

.file-info {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.file-type-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.file-name-meta {
  overflow: hidden;
}

.file-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

.file-meta {
  font-size: 12px;
  color: var(--text-dim);
}

.file-delete-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: var(--transition);
}

.file-delete-btn:hover {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
}

/* Upload Progress */
.upload-progress-wrapper {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
}

.upload-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10B981, #38BDF8);
  transition: width 0.2s ease;
}

/* Ações e Navegação Inferior */
.action-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.btn-primary {
  background: linear-gradient(135deg, #00D056, #FFD700);
  color: #1D1D1F;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 208, 86, 0.35);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 208, 86, 0.5);
  background: linear-gradient(135deg, #00B84C, #FFE600);
}

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

.btn-skip {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 14px 22px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-skip:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.3);
}

.key-hint {
  font-size: 12px;
  color: var(--text-dim);
  margin-left: 6px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.key-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  color: #CBD5E1;
}

/* Barra de Navegação Flutuante Fixa (Direita / Mobile) */
.floating-nav {
  position: fixed;
  bottom: 24px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 90;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  padding: 6px 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-arrow-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.nav-arrow-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

.nav-arrow-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.nav-arrow-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Tela de Conclusão / Sucesso */
.success-screen {
  text-align: center;
  padding: 40px 20px;
}

.success-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px auto;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34D399;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.25);
}

.success-icon-wrapper svg {
  width: 40px;
  height: 40px;
}

.protocol-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 24px auto;
  max-width: 420px;
}

.protocol-label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.protocol-code {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 1.5px;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
  .welcome-card {
    padding: 28px 20px;
  }
  .welcome-title {
    font-size: 24px;
  }
  .question-title {
    font-size: 21px;
  }
  .form-viewport {
    padding: 85px 16px 100px 16px;
  }
  .floating-nav {
    bottom: 16px;
    right: 16px;
  }
  .header-brand-title {
    display: none;
  }
}

/* =========================================================
   SELETOR DE DIAS E HORÁRIOS DINÂMICO (SCHEDULE PICKER)
   ========================================================= */

.schedule-picker-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}

.schedule-presets-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.preset-chip-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #F8FAFC;
  border-radius: 20px;
  padding: 8px 16px;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.preset-chip-btn:hover {
  background: rgba(0, 208, 86, 0.16);
  border-color: #00D056;
  color: #00D056;
  transform: translateY(-1px);
}

/* Linha de Botões dos Dias da Semana */
.days-buttons-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

@media (max-width: 640px) {
  .days-buttons-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.day-toggle-btn {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 6px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  user-select: none;
  font-family: var(--font-family);
}

.day-toggle-btn:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.day-toggle-btn.active {
  background: linear-gradient(135deg, rgba(0, 208, 86, 0.28), rgba(255, 215, 0, 0.15));
  border-color: #00D056;
  box-shadow: 0 0 16px rgba(0, 208, 86, 0.25);
}

.day-badge-short {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
}

.day-status-indicator {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.day-toggle-btn.active .day-status-indicator {
  color: #00D056;
  background: rgba(0, 208, 86, 0.18);
}

/* Lista de Horários dos Dias Liberados */
.active-days-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}

.day-schedule-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 3px solid #00D056;
  animation: slideDownFade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.day-schedule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.day-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.day-title-text {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.day-schedule-body {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.time-range-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.time-input-field {
  background: #090D16;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: #fff;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 700;
  outline: none;
  width: 110px;
  text-align: center;
  transition: var(--transition);
  color-scheme: dark;
}

.time-input-field:focus {
  border-color: #00D056;
  box-shadow: 0 0 0 3px rgba(0, 208, 86, 0.25);
}

.time-separator {
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
}

.time-presets-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.time-chip-quick {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #CBD5E1;
  border-radius: 6px;
  padding: 6px 12px;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.time-chip-quick:hover {
  background: rgba(0, 208, 86, 0.18);
  border-color: #00D056;
  color: #00D056;
  transform: translateY(-1px);
}

.copy-all-btn {
  background: rgba(0, 208, 86, 0.1);
  border: 1px solid rgba(0, 208, 86, 0.25);
  color: #00D056;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  padding: 5px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  transition: var(--transition);
}

.copy-all-btn:hover {
  background: rgba(0, 208, 86, 0.2);
  border-color: #00D056;
  color: #00D056;
  transform: translateY(-1px);
}

.empty-days-notice {
  text-align: center;
  padding: 28px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-dim);
  font-size: 14px;
}

/* =========================================================
   PRODUTOS E SERVIÇOS - TEXTO + ANEXOS DE LISTAS / CATÁLOGOS
   ========================================================= */

.products-services-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 4px 0;
}

.or-divider::before,
.or-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.or-divider:not(:empty)::before {
  margin-right: 14px;
}

.or-divider:not(:empty)::after {
  margin-left: 14px;
}

.mini-dropzone-box {
  background: rgba(15, 23, 42, 0.5);
  border: 2px dashed rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.mini-dropzone-box:hover, .mini-dropzone-box.drag-over {
  background: rgba(37, 99, 235, 0.14);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.mini-dropzone-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.mini-dropzone-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.mini-dropzone-text-group {
  text-align: left;
}

.mini-dropzone-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.mini-dropzone-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

/* =========================================================
   TEMPORIZADOR DE 3 DIAS & RESUMO DE SESSÃO AUTOMÁTICO
   ========================================================= */

.timer-countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #FBBF24;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: var(--transition);
}

.timer-countdown-badge.urgent {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #F87171;
  animation: timerPulse 2s infinite;
}

@keyframes timerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.timer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.btn-reset-draft {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-reset-draft:hover {
  color: #fff;
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
}

/* Banner Flutuante de Retomada de Sessão */
.resume-toast-banner {
  position: fixed;
  top: 74px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  animation: slideDownToast 0.3s ease;
}

@keyframes slideDownToast {
  from {
    opacity: 0;
    transform: translate(-50%, -10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Card de Prazo Expirado */
.expired-box {
  text-align: center;
  padding: 40px 20px;
}

.expired-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  border: 2px solid rgba(239, 68, 68, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F87171;
  font-size: 36px;
}

/* =========================================================
   EMPRESAS REPETÍVEIS (MÚLTIPLAS EMPRESAS NO CARD 1)
   ========================================================= */
.repeatable-companies-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.repeatable-company-row {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: var(--transition);
}

.repeatable-company-row:focus-within {
  border-color: rgba(0, 208, 86, 0.4);
  background: rgba(15, 23, 42, 0.85);
}

.company-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.company-row-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.remove-company-btn {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #F87171;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  transition: var(--transition);
}

.remove-company-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #fff;
  border-color: rgba(239, 68, 68, 0.5);
}

.add-company-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 208, 86, 0.08);
  border: 1px dashed rgba(0, 208, 86, 0.4);
  color: #00D056;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.add-company-btn:hover {
  background: rgba(0, 208, 86, 0.15);
  border-color: #00D056;
  transform: translateY(-1px);
}

/* Badge identificador da empresa ativa no topo de cada pergunta duplicada */
.company-badge-header {
  display: flex;
  align-items: center;
  margin-top: -6px;
  margin-bottom: 14px;
}

.company-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(0, 208, 86, 0.2) 0%, rgba(255, 215, 0, 0.15) 100%);
  border: 1px solid rgba(0, 208, 86, 0.4);
  color: #00D056;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 208, 86, 0.15);
}

/* Tag de empresa no card de responsáveis */
.badge-resp-company {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 208, 86, 0.12);
  border: 1px solid rgba(0, 208, 86, 0.3);
  color: #00D056;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}



