html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* Impede rolagem horizontal */
  margin:0;

}

body {
   width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* Impede rolagem horizontal */
  margin:0;
    margin-top:0px;

}
   


header {
  background: url(../img/bg-header.jpg) center center/cover no-repeat;
  color: white;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 30px;
}


header h1 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
  color: #4a4545;
}

header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  position: relative;
  z-index: 10;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

header p {
  max-width: 720px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4a4545;
}


.pool-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 2rem;
}

.pool-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-align: center;
  width: 280px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.pool-card:hover {
  transform: translatey(-3px);
}

.pool-card img {
  max-height: 120px;
  margin-bottom: 12px;
}

.pool-card h3 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.pool-card p {
  margin: 4px 0;
  color: #444;
  font-size: 0.95rem;
}

.cta {
  text-align: center;
  padding: 3rem 1rem;
  background: #d6d5ef;
}

.cta h2 {
  margin-bottom: 1rem;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.nav-left img.nav-logo {
  max-height: 100px;
}

.nav-center {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: #444;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.nav-link:hover, .nav-link.active {
  border-bottom: 2px solid #07c;
  color: #07c;
}

.nav-right {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 0.9rem;
}

.nav-user {
  color: #222;
  text-decoration: none;
  font-weight: 500;
}


header::before {
  content: "";
  position: absolute;
  inset: 0;
  /*background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35));*/
  z-index: 0;
}

header h1, header p {
  position: relative;
  z-index: 1;
  color: white;
  /*text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);*/
}

header .logo {
  /*max-height: 200px;*/
  width:350px;
  align-self: center;
  /*margin-bottom: 1rem;*/
  filter: drop-shadow(0 0 4px rgba(247, 246, 246, 0.7));
}



.form-container {
  flex: 1;
  padding: 20px;
}

.preview-container {
  width: 350px;
  background: #f0f0f0;
  padding: 20px;
  border-left: 1px solid #ccc;
}

.question-preview {
  background: white;
  border-radius: 12px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  padding: 15px;
}

.mobile-frame {
  height: 600px;
  border: 2px solid #333;
  border-radius: 16px;
  padding: 16px;
  background: white;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  max-width: 360px;
}

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

input, textarea, select {
  width: 90%;
  padding: 8px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.option-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.option-row input[type="file"] {
  width: auto;
}

.option-row input[type="text"] {
  flex: 1;
  padding: 8px;
  border: 1px solid #ced4da;
  border-radius: 4px;
}

.add-option-btn {
  margin-top: 10px;
  cursor: pointer;
  color: blue;
  text-decoration: underline;
}

.button,
.submit-btn {
  display: inline-block;
  width: 100%;
  max-width: 250px; /* ou qualquer valor que deseje */
  text-align: center;
  box-sizing: border-box;
  background: green;
  color: white;
}

.submit-btn.hover {
  background: #6fac6f; /* hover: verde mais escuro */
}



.remove-option {
  background: #dc3545;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1.2em;
  border-radius: 4px;
  padding: 8px 12px;
}

#addOptionBtn {
  background: #28a745;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
}

.preview-option {
  margin: 5px 0;
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: 4px;
  background: #f5f5f5;
}

.preview-option input {
  width: auto;
  margin-right: 10px;
}

.yesno-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.yesno-buttons button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
}

.yes-btn {
  background-color: #4CAF50;
  color: white;
}

.no-btn {
  background-color: #f44336;
  color: white;
}

#previewQuestion {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
}

.likert-container {
  margin-top: 15px;
}

.likert-scale {
  display: flex;
  align-items: center;
  gap: 5px;
}

.likert-options {
  display: flex;
  flex-grow: 1;
  justify-content: space-between;
}

.likert-options label {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.likert-options input[type="radio"] {
  margin: 5px 0;
}

.preview-textarea {
  width: 100%;
  min-height: 100px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  resize: vertical;
}

.char-counter {
  text-align: right;
  font-size: 12px;
  color: #666;
  margin-top: 5px;
}

#previewImage {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
  display: none;
}

.question-preview img {
  max-height: 200px;
  object-fit: contain;
}

.preview-option-container {
  margin: 15px 0;
  transition: all 0.3s ease;
}

.option-with-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.option-image {
  max-width: 100%;
  max-height: 150px;
  border-radius: 8px;
  object-fit: contain;
  width: auto;
}

.option-content {
  width: 100%;
}

.preview-option label {
  flex-grow: 1;
}

.preview-option-container:hover {
  transform: scale(1.02);
}

.tabbed-preview {
  width: 100%;
  margin-top: 15px;
}

.preview-tabs {
  display: flex;
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}

.preview-tab {
  padding: 8px 15px;
  background: #f1f1f1;
  border: none;
  border-radius: 5px 5px 0 0;
  margin-right: 5px;
  cursor: pointer;
  font-size: 14px;
}

.preview-tab.active {
  background: #4CAF50;
  color: white;
}

.preview-tab-content {
  display: none;
  padding: 10px;
}

.preview-tab-content.active {
  display: block;
}

.split-preview {
  text-align: center;
}

.split-description {
  font-size: 16px;
  margin: 15px 0;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 5px;
}

.split-image {
  max-width: 100%;
  max-height: 200px;
  margin: 10px 0;
  border-radius: 5px;
  object-fit: contain;
}

.no-image {
  color: #999;
  font-style: italic;
  margin: 20px 0;
}

.visual-note {
  font-size: 12px;
  color: #666;
  margin-top: 6px;
  font-style: italic;
}

.previewbranding {
  max-width: 100%;
  text-align: center;
  margin-bottom: 12px;
}

.previewbranding img {
  max-width: 80%;
  max-height: 60px;
  height: auto;
  object-fit: contain;
  display: inline-block;
}

.question-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 20px auto 30px;
  max-width: 100%;
  padding: 0 8px;
  justify-content: center;
  margin-top: 16px;
  box-sizing: border-box;
}

.type-tile {
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease-in-out;
  text-align: center;
  text-decoration: none;
  color: #222;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 110px;
  justify-content: center;
  cursor: pointer;
}

.type-tile img {
  max-height: 38px;
  margin-bottom: 8px;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.type-tile:hover {
  background: #f9f9f9;
  border-color: #007bff;
  transform: translatey(-2px);
  background-color: #f0f8ff;
}

.type-tile.active {
  background: #edf6ff;
  border-color: #007bff;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 119, 204, 0.1);
  background-color: #e6f0ff;
}

.layout-grid {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
}

.question-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
  box-sizing: border-box;
}

.main-panel {
  flex: 1 1 500px;
  min-width: 300px;
  max-width: 720px;
  overflow-x: hidden;
}

.preview-panel {
  flex: 1 1 360px;
  min-width: 280px;
  max-width: 100%;
  background: #f8f8f8;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid #ddd;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

.section-title {
  font-size: 1.4rem;
  font-weight: 500;
  margin: 20px 0 10px;
  color: #1b1b1b;
  margin-bottom: 20px;
}

.question-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

.types-wrapper {
  background: #f4f7fb;
  border-radius: 16px;
  padding: 30px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
  margin-bottom: 40px;
}

.form-container input, .form-container select {
  background: #fcfcfc;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  font-size: 0.95rem;
  transition: border 0.2s;
}

.form-container input:focus, .form-container select:focus {
  outline: none;
  border-color: #07c;
}

#optionsArea {
  margin-top: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

.type-tile span {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.preview-mobile-wrapper {
  display: flex;
  justify-content: center;
  padding: 0 16px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.topbar {
  background: #fff;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  font-family: 'Inter', sans-serif;
}

.nav-logo {
  height: 100px;
  max-height: 100px;
  width: auto;
}

.biq {
  height: 100px;
  max-height: 100px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 24px;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #007bff;
}

.nav-user {
  font-weight: 500;
  color: #007bff;
}

.credits {
  color: #28a745;
  font-weight: 600;
}

.nav-login {
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 16px;
  cursor: pointer;
  margin-left: 10px;
}

.nav-login:hover {
  background: #e0e0e0;
}

.modal {
  position: fixed;
  top: 0;
  left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 300px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal-content h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.modal-content input {
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  font-size: 0.95rem;
}

.modal-content button {
  width: 100%;
  padding: 10px;
  background: #0077cc;
  border: none;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
}

.footer-corp {
  background: #0b0b0b;
  color: #ddd;
  font-family: 'Inter', sans-serif;
}

.footer-call-to-action {
  text-align: center;
  padding: 48px 20px 32px;
  background: #413d3d;
  border-top: 4px solid #00cc66;
}

.footer-call-to-action h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
}

.cta-footer-btn {
  background: #00cc66;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}
.cta-footer-btn:hover {
  background: #00b159;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-block {
  flex: 1 1 220px;
  min-width: 200px;
}

.footer-block h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
}

.footer-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-block li {
  margin-bottom: 8px;
}

.footer-block a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
}

.footer-block a:hover {
  color: #00cc66;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #222;
  text-align: center;
  font-size: 13px;
  color: #777;
  padding: 16px 12px;
}

@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    text-align: center;
  }

  .footer-block {
    flex: 1 1 100%;
  }
}


body {
  background: #f6f7f8;
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  padding: 40px 32px;
  max-width: 1600px;
  margin: 0 auto;
}


.qcard-premium {
  background: linear-gradient(160deg, #ffffff, #f9fafc);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  text-decoration: none;
  color: #222;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 80%;
}

.qcard-premium:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.qcard-icon-large {
  height: 120px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.qcard-title {
  font-size: 25px;
  font-weight: 700;
  color: #101010;
  margin-bottom: 10px;
}

.qcard-description {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  margin: 0;
}

.qcard-example {
  font-size: 17px;
  color: #666;
  font-style: italic;
  margin-top: 12px;
}

/* Esconde coisas só no mobile */
.mobile-only {
  display: none;
}

/* Esconde menu recolhido por padrão */
.mobile-menu {
  display: none;
}


/* Estilos MOBILE */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: inline-block !important;
  }


.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    background: #ffffffeb;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    position: fixed; /* Alterado para fixed */
    top: 80px; /* Altura da sua navbar fixa */
    left: 0;
    right: 0;
    z-index: 998; /* Um abaixo da navbar */
    margin-top: 0;
    align-items: flex-end;
    text-align: right;
}

.mobile-menu .nav-link {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.mobile-menu.show {
    display: flex;
}

.mobile-menu a {
    color: #111;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
}

  .mobile-user {
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
  }
}


/* Estilos para o modal */
.target-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

.target-modal-content {
  background: white;
  margin: 5% auto;
  padding: 0;
  border-radius: 12px;
  width: 85%;
  max-width: 1000px;
  max-height: 85vh;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
}

.target-modal-header {
  padding: 20px 30px;
  border-bottom: 1px solid #eaeaea;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.target-modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #2c3e50;
}

.target-modal-header .close {
  font-size: 1.8rem;
  cursor: pointer;
  color: #7f8c8d;
}

.target-modal-body {
  padding: 20px 30px;
  overflow-y: auto;
  flex-grow: 1;
}

.target-modal-footer {
  padding: 15px 30px;
  border-top: 1px solid #eaeaea;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Card de resumo */
.target-summary-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  display: flex;
  gap: 30px;
  border: 1px solid #eaeaea;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.summary-label {
  font-weight: 500;
  color: #555;
}

.summary-value {
  font-weight: 600;
  color: #2c3e50;
  font-size: 1.1rem;
}

.viability-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Grupos de filtros */
.target-filters-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.target-filter-group {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.filter-group-header {
  padding: 12px 20px;
  background: #f5f7fa;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.filter-group-header h3 {
  margin: 0;
  font-size: 1rem;
  color: #34495e;
}

.filter-group-content {
  padding: 15px;
  display: none;
}

.filter-group-content.active {
  display: block;
}

/* Checkbox grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.checkbox-option {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.2s;
  position: relative;
  cursor: pointer;
}

.checkbox-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  height: 18px;
  width: 18px;
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 4px;
  margin-right: 10px;
  transition: all 0.2s;
}

.checkbox-option:hover .checkmark {
  border-color: #3498db;
}

.checkbox-option input:checked ~ .checkmark {
  background-color: #3498db;
  border-color: #3498db;
}

.checkbox-option input:checked ~ .checkmark:after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.option-label {
  color: #34495e;
}

/* Botões */
.button {
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.button.primary {
  background: #3498db;
  color: white;
}

.button.primary:hover {
  background: #2980b9;
}

.button.secondary {
  background: #f5f5f5;
  color: #555;
}

.button.secondary:hover {
  background: #e0e0e0;
}

/* Adicione ao seu target-modal.css ou na seção <style> */
.target-summary-card {
  position: sticky;
  top: 0;
  z-index: 10;
  background: white;
  padding: 15px 20px;
  border-bottom: 1px solid #eaeaea;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.viability-notice {
  font-size: 0.9rem;
  color: #e74c3c;
  font-weight: 500;
  display: none;
  margin-top: 5px;
}

/* Estado inviável */
.viability-badge.invalid {
  background-color: #e74c3c !important;
  color: white;
}

/* Estado de aviso */
.viability-badge.warning {
  background-color: #f39c12 !important;
  color: white;
}

/* Estado válido */
.viability-badge.valid {
  background-color: #2ecc71 !important;
  color: white;
}

.viability-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
}

.viability-badge.invalid {
    background-color: #e74c3c;
    color: white;
}

.viability-badge.warning {
    background-color: #f39c12;
    color: white;
}

.viability-badge.valid {
    background-color: #2ecc71;
    color: white;
}

.button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #95a5a6 !important;
}

.viability-notice {
    display: none;
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Estilo do botão de público-alvo */
#openTargetModal {
    background: linear-gradient(135deg, #6e8efb, #4a6cf7);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(74, 108, 247, 0.2);
    width: 100%;
    margin: 15px 0;
}

#openTargetModal:hover {
    background: linear-gradient(135deg, #5d7de8, #3a5bd9);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(74, 108, 247, 0.3);
}

#openTargetModal:active {
    transform: translateY(0);
}

/* Corrigindo o overflow */
.target-modal-body {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 8px; /* Espaço para a scrollbar */
}

/* Custom scrollbar */
.target-modal-body::-webkit-scrollbar {
    width: 6px;
}

.target-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.target-modal-body::-webkit-scrollbar-thumb {
    background: #4a6cf7;
    border-radius: 10px;
}

.target-modal-body::-webkit-scrollbar-thumb:hover {
    background: #3a5bd9;
}
/* Estilo para a pré-visualização */
#selectedFiltersPreview {
    margin: 15px 0;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px dashed #ddd;
}

.selected-filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 8px;
}

.selected-filter-item {
    background: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    border-left: 3px solid #4a6cf7;
}

.filter-group {
    font-weight: 500;
    color: #4a6cf7;
}

.no-filters {
    color: #95a5a6;
    font-style: italic;
}

#selectedFiltersPreview {
    margin: 15px 0;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px dashed #ddd;
}

.selected-filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 8px;
}

.selected-filter-item {
    background: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    border-left: 3px solid #4a6cf7;
}

.filter-group {
    font-weight: 500;
    color: #4a6cf7;
}

.no-filters {
    color: #95a5a6;
    font-style: italic;
}

/* Adicione ao seu arquivo CSS */
.filter-group-content input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 8px;
}

.filter-group-content input[type="checkbox"]:checked ~ .checkmark {
    background-color: #4a6cf7;
    border-color: #4a6cf7;
}

.filter-group-content input[type="checkbox"]:checked ~ .checkmark:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.checkbox-option {
  background: #f4f4f4;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  transition: 0.2s;
}
.checkbox-option:hover {
  background: #e0e0e0;
}

.target-modal-content {
  background: white;
  margin: 5% auto;
  padding: 25px 30px;
  border-radius: 12px;
  width: 85%;
  max-width: 1000px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* Garanta que este CSS está presente */
.filter-group-content input[type="checkbox"]:checked ~ .checkmark {
    background-color: #4a6cf7;
    border-color: #4a6cf7;
}

.filter-group-content input[type="checkbox"]:checked ~ .checkmark:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    display: block;
}

/* Estilo base para os checkboxes */
.filter-group-content input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkmark {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: all 0.2s;
}

/* Estilos para erro de tipo não selecionado */
.type-error-message {
    color: #d32f2f;
    background: #ffebee;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-weight: bold;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.question-type-btn.type-error {
    animation: shake 0.5s ease-in-out;
    border: 2px solid #ff4444 !important;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}


        :root {
            --primary-blue: #0066cc;
            --dark-blue: #004a99;
            --light-blue: #e6f2ff;
            --accent-orange: #ff6b35;
            --accent-green: #2ecc71;
            --text-dark: #333333;
            --text-medium: #555555;
            --text-light: #777777;
            --bg-white: #ffffff;
            --bg-light: #f8f9fa;
            --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Montserrat', sans-serif;
            color: var(--text-dark);
            background-color: var(--bg-light);
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Header */
        header {
            background-color: var(--bg-white);
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
        }
        
        .logo {
            display: flex;
            align-items: center;
        }
        
        .logo img {
            height: 40px;
            margin-right: 10px;
        }
        
        .logo-text {
            font-size: 24px;
            font-weight: 700;
            color: var(--primary-blue);
        }
        
        .nav-links {
            display: flex;
            list-style: none;
        }
        
        .nav-links li {
            margin-left: 30px;
        }
        
        .nav-links a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            transition: color 0.3s;
        }
        
        .nav-links a:hover {
            color: var(--primary-blue);
        }
        
        .cta-button {
            background-color: var(--primary-blue);
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            font-weight: 600;
            transition: background-color 0.3s;
        }
        
        .cta-button:hover {
            background-color: var(--dark-blue);
            color: white;
        }
        
        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
            color: white;
            padding: 80px 0;
            text-align: center;
        }
        
        .hero h1 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            font-weight: 700;
        }
        
        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 30px;
        }
        
        .hero-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
        }
        
        .secondary-button {
            background-color: transparent;
            color: white;
            border: 2px solid white;
            padding: 10px 20px;
            border-radius: 5px;
            font-weight: 600;
            transition: all 0.3s;
        }
        
        .secondary-button:hover {
            background-color: white;
            color: var(--primary-blue);
        }
        
        /* Plans Section */
        .plans-section {
            padding: 80px 0;
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-header h2 {
            font-size: 2rem;
            color: var(--primary-blue);
            margin-bottom: 15px;
        }
        
        .section-header p {
            color: var(--text-medium);
            max-width: 700px;
            margin: 0 auto;
        }
        
        .plans-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 30px;
        }
        
        .plan-card {
            background-color: var(--bg-white);
            border-radius: 10px;
            box-shadow: var(--shadow);
            width: 100%;
            max-width: 350px;
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .plan-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }
        
        .plan-header {
            padding: 30px;
            text-align: center;
            position: relative;
        }
        
        .snapshot .plan-header {
            background-color: #f0f8ff;
        }
        
        .basic .plan-header {
            background-color: #e6f7ff;
        }
        
        .premium .plan-header {
            background-color: #e6f2ff;
        }
        
        .custom .plan-header {
            background-color: #f0e6ff;
        }
        
        .plan-icon {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: var(--primary-blue);
        }
        
        .custom .plan-icon {
            color: #8e44ad;
        }
        
        .plan-name {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .plan-price {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--primary-blue);
        }
        
        .custom .plan-price {
            color: #8e44ad;
        }
        
        .plan-period {
            color: var(--text-light);
            font-size: 0.9rem;
        }
        
        .plan-credits {
            background-color: var(--primary-blue);
            color: white;
            padding: 8px 0;
            font-weight: 500;
            margin-bottom: 20px;
        }
        
        .custom .plan-credits {
            background-color: #8e44ad;
        }
        
        .plan-features {
            padding: 30px;
        }
        
        .feature-list {
            list-style: none;
            margin-bottom: 30px;
        }
        
        .feature-list li {
            padding: 8px 0;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center;
        }
        
        .feature-list li:last-child {
            border-bottom: none;
        }
        
        .feature-list i {
            color: var(--accent-green);
            margin-right: 10px;
            font-size: 0.9rem;
        }
        
        .plan-button {
            display: block;
            width: 100%;
            padding: 12px;
            border: none;
            border-radius: 5px;
            font-weight: 600;
            text-align: center;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .snapshot .plan-button {
            background-color: var(--accent-orange);
            color: white;
        }
        
        .basic .plan-button {
            background-color: var(--primary-blue);
            color: white;
        }
        
        .premium .plan-button {
            background-color: var(--accent-green);
            color: white;
        }
        
        .custom .plan-button {
            background-color: #8e44ad;
            color: white;
        }
        
        .plan-button:hover {
            opacity: 0.9;
        }
        
        .highlight-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: var(--accent-orange);
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }
        
        /* How It Works Section */
        .how-it-works {
            background-color: var(--bg-white);
            padding: 80px 0;
        }
        
        .steps-container {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            margin-top: 50px;
        }
        
        .step {
            flex: 1;
            min-width: 250px;
            text-align: center;
            padding: 0 20px;
            margin-bottom: 30px;
        }
        
        .step-number {
            background-color: var(--primary-blue);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 600;
            margin: 0 auto 20px;
        }
        
        .step h3 {
            margin-bottom: 15px;
            color: var(--primary-blue);
        }
        
        /* Benefits Section */
        .benefits {
            padding: 80px 0;
            background-color: var(--light-blue);
        }
        
        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }
        
        .benefit-card {
            background-color: var(--bg-white);
            padding: 30px;
            border-radius: 10px;
            box-shadow: var(--shadow);
        }
        
        .benefit-icon {
            font-size: 2rem;
            color: var(--primary-blue);
            margin-bottom: 20px;
        }
        
        .benefit-card h3 {
            margin-bottom: 15px;
            color: var(--primary-blue);
        }
        
        /* CTA Section */
        .cta-section {
            background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
            color: white;
            padding: 80px 0;
            text-align: center;
        }
        
        .cta-section h2 {
            font-size: 2rem;
            margin-bottom: 20px;
        }
        
        .cta-section p {
            max-width: 700px;
            margin: 0 auto 30px;
            font-size: 1.1rem;
        }
        

/* Footer */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.9rem;
}        
        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .navbar {
                flex-direction: column;
                padding: 15px 0;
            }
            
            .logo {
                margin-bottom: 15px;
            }
            
            .nav-links {
                flex-direction: column;
                align-items: center;
            }
            
            .nav-links li {
                margin: 10px 0;
            }
            
            .hero h1 {
                font-size: 2rem;
            }
            
            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .plan-card {
                max-width: 100%;
            }
            
            .steps-container {
                flex-direction: column;
            }
        }
        
        /* Animation */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .fade-in-up {
            animation: fadeInUp 0.8s ease-out forwards;
        }
        
        .delay-1 {
            animation-delay: 0.2s;
        }
        
        .delay-2 {
            animation-delay: 0.4s;
        }
        
        .delay-3 {
            animation-delay: 0.6s;
        }
/* ========== NAVEGAÇÃO ========== */
.topnav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    height: 40px;
    transition: transform 0.3s;
    margin-right:20px;
}

.logo-tagline {
    margin-left: 10px;
    font-size: 14px;
    color: #555;
    font-weight: 500;
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 5px;
}

.nav-link {
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    color: #444;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.nav-link i {
    font-size: 16px;
}

.nav-link:hover {
    background: #f5f7fa;
    color: #0066cc;
}

.nav-link.active {
    background: #e6f0ff;
    color: #0066cc;
}

.nav-primary {
    background: linear-gradient(135deg, #0066cc, #004a99);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.nav-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.user-dropdown {
    position: relative;
    margin-left: 15px;
}

.user-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 30px;
    transition: all 0.3s;
}

.user-toggle:hover {
    background: #f5f7fa;
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #0066cc, #004a99);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.user-name {
    font-weight: 500;
    color: #333;
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    width: 220px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 1000;
}

.user-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    padding: 0 15px 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.credits-balance {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0066cc;
    font-weight: 600;
}

.credits-balance i {
    color: #ffc107;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    text-decoration: none;
    color: #555;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: #f5f7fa;
    color: #0066cc;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

/* Menu mobile */
.menu-toggle {
    background: none;
    border: none;
    font-size: 20px;
    color: #0066cc;
    cursor: pointer;
    padding: 5px;
    margin-left: 15px;
}

/* Responsivo */
@media (max-width: 992px) {
    .nav-center {
        display: none;
    }
    
    .nav-primary span, 
    .nav-login span,
    .user-name {
        display: none;
    }
}

@media (min-width: 993px) {
    .menu-toggle {
        display: none;
    }
}
@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.qualifier-section {
  margin: 20px 0;
  padding: 15px;
  background: #f5f5f5;
  border-radius: 8px;
  border-left: 4px solid #2c7be5;
}

.qualifier-section h3 {
  margin-top: 0;
  color: #2c7be5;
}

/* Estilo para as opções de qualificação */
.option-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.option-row input[type="text"] {
    flex: 1;
    margin-right: 10px;
}

.remove-option {
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 2px 8px;
    cursor: pointer;
}
.valid-responses {
  margin-top: 12px;
  padding: 12px 16px;
  background-color: #f0f8ff;
  border: 1px solid #cce7ff;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px #e6f3ff;
}

.valid-responses label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

/* Bloco das respostas válidas (visual mais bonito e limpo) */
#qualifierValidOptions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.valid-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #fff;
  transition: background-color 0.2s ease;
  margin-bottom: 6px;
}

/* Aplica fundo azul claro se o checkbox estiver marcado */
.valid-option.checked {
  background-color: #e8f0fe;
  border-color: #c3d4f7;
}

/* Checkbox pequeno e alinhado */
.valid-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
}

.toggle-qualifier {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin: 15px 0;
}

.toggle-qualifier h3 {
    margin: 0; /* Remove margem padrão do h3 */
    font-size: 1.1em; /* Mantém o tamanho similar ao original */
    font-weight: 600; /* Mantém o peso do h3 */
}

.toggle-qualifier input {
    width: auto;
    margin: 0;
}

#qualifierFields {
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-top: 10px;
}

.delete-btn {
    background-color: #ff4444;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.delete-btn:hover {
    background-color: #cc0000;
}