/* =========================================================
   ZAPT3D Assistente de Diagnóstico
   Style limpo v2
========================================================= */

/* BASE */
* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #edf2f7;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: #071126;
  background:
    radial-gradient(circle at top left, rgba(0, 92, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #edf2f7 100%);
}

button,
a {
  font-family: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

#app {
  min-height: 100vh;
}

/* APP */
.zapt-app {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: #f8fbff;
  position: relative;
  overflow: hidden;
  padding-bottom: 92px;
  box-shadow: 0 0 32px rgba(15, 23, 42, 0.14);
}

/* HEADER */
.zapt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  background: #ffffff;
  border-bottom: 1px solid #e5eaf3;
}

.zapt-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.zapt-logo-img{
    width:95px;
    height:95px;
    object-fit:contain;
    flex-shrink:0;
}

.zapt-brand h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #071126;
}

.zapt-brand p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.25;
  color: #64748b;
  font-weight: 500;
}

.zapt-menu {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #f1f5f9;
  color: #071126;
  font-size: 22px;
  font-weight: 900;
  display: grid;
  place-items: center;
}

.zapt-menu:hover {
  background: #e8edf5;
}

/* FERRAMENTAS */
.zapt-tools {
  padding: 14px 16px 16px;
  background: #f8fbff;
}

.zapt-tools h2 {
  margin: 0 0 12px;
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
  color: #071126;
  font-weight: 900;
}

.zapt-tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.zapt-tool {
  min-height: 104px;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #e5eaf3;
  border-radius: 15px;
  padding: 14px 6px 12px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tool-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 9px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 26px;
}

.zapt-tool strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
}

.tool-whatsapp .tool-icon {
  background: #dcfce7;
}

.tool-whatsapp strong {
  color: #08a63f;
}

.tool-calc .tool-icon {
  background: #dbeafe;
}

.tool-calc strong {
  color: #005cff;
}

.tool-store .tool-icon {
  background: #ede9fe;
}

.tool-store strong {
  color: #6d28d9;
}

.tool-blog .tool-icon {
  background: #ffedd5;
}

.tool-blog strong {
  color: #ff5a00;
}

/* CONTENT */
.zapt-content {
  padding: 0 16px 20px;
}

.local-environment-notice {
  width: fit-content;
  margin: 0 0 12px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  border: 1px solid #f59e0b;
  border-radius: 12px;
  background: #fffbeb;
  color: #92400e;
  font-size: 12px;
  line-height: 1.35;
}

.investigation-context {
  margin-top: 14px;
  padding: 11px 13px;
  border-left: 4px solid #005cff;
  border-radius: 0 12px 12px 0;
  background: #eff6ff;
}

.investigation-context span,
.result-distinction-item > span {
  display: block;
  margin-bottom: 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.investigation-context strong {
  color: #12315f;
  font-size: 14px;
  line-height: 1.35;
}

.transition-reason {
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  background: #eff6ff;
}

.transition-reason span {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.transition-reason strong {
  color: #12315f;
  font-size: 14px;
  line-height: 1.4;
}

.result-distinction {
  display: grid;
  gap: 10px;
  margin: 14px 0 12px;
}

.result-distinction-item {
  padding: 13px 14px;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
}

.reported-problem {
  background: #f8fafc;
}

.reported-problem strong {
  color: #334155;
  font-size: 14px;
  line-height: 1.4;
}

.suggested-diagnosis {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.suggested-diagnosis > span {
  color: #15803d;
}

.suggested-diagnosis h2,
.diagnosis-card .suggested-diagnosis h2 {
  margin: 3px 0 0;
  color: #14532d;
  font-size: 23px;
}

.suggested-diagnosis p {
  margin: 7px 0 0;
  color: #166534;
  font-size: 13px;
  line-height: 1.45;
}

.inconclusive-diagnosis {
  border-color: #fed7aa;
  background: #fff7ed;
}

.inconclusive-diagnosis > span,
.diagnosis-card .inconclusive-diagnosis h2 {
  color: #9a3412;
}

/* CARDS */
.zapt-card {
  background: #ffffff;
  border: 1px solid #e5eaf3;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.diagnosis-card {
  margin-top: 2px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.status-success {
  background: #dcfce7;
  color: #166534;
}

.status-info {
  background: #dbeafe;
  color: #1d4ed8;
}

.status-warning {
  background: #ffedd5;
  color: #9a3412;
}

.diagnosis-card h2 {
  margin: 12px 0 8px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 950;
  color: #071126;
}

.diagnosis-description {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.55;
  color: #374151;
}

/* CONFIANÇA */
.confidence-block {
  margin: 0 0 16px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e5eaf3;
  border-radius: 16px;
}

.confidence-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
  font-size: 13px;
  line-height: 1.2;
}

.confidence-row strong:first-child {
  color: #071126;
}

.confidence-row strong:last-child {
  color: #18a957;
}

.confidence-warning .confidence-row strong:last-child {
  color: #f97316;
}

.confidence-bar {
  height: 10px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.confidence-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #16a34a, #22c55e);
  transition: width 0.35s ease;
}

.confidence-warning .confidence-fill {
  background: linear-gradient(90deg, #f97316, #fb923c);
}

.confidence-explanation {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #64748b;
}

.low-confidence-support {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid #bbf7d0;
  border-radius: 15px;
  background: #f0fdf4;
}

.low-confidence-support strong {
  color: #14532d;
  font-size: 14px;
}

.low-confidence-support p {
  margin: 4px 0 0;
  color: #3f5f4a;
  font-size: 13px;
  line-height: 1.45;
}

.support-cta {
  width: 100%;
  min-height: 42px;
  border: 0;
  padding: 11px 14px;
  border-radius: 12px;
  background: #16a34a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.support-cta:hover {
  background: #15803d;
}

/* SOLUÇÕES */
.solution-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  margin-top: 12px;
  border-radius: 17px;
  background: #eef6ff;
  border: 1px solid #bfdbfe;
}

.success-box {
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.warning-box {
  background: #fff7ed;
  border-color: #fed7aa;
}

.solution-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 17px;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.solution-box h3 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 900;
  color: #071126;
}

.solution-box p,
.solution-box li {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #334155;
}

.solution-box ul {
  margin: 0;
  padding-left: 18px;
}

.solution-printer-label {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #ffffff;
  color: #005cff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.diagnosis-context-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 12px 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #eef6ff;
  color: #334155;
  font-size: 13px;
}

.solution-content {
  min-width: 0;
  flex: 1;
}

.solution-box .solution-section-title {
  margin: 14px 0 7px;
  font-size: 13px;
  color: #071126;
}

.solution-box .solution-steps {
  margin: 0;
  padding-left: 20px;
}

.solution-box .solution-steps li + li {
  margin-top: 6px;
}

.solution-confirmation {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.45;
  color: #1e3a5f;
}

.solution-box .solution-note {
  margin-top: 10px;
  font-size: 12px;
}

/* OPÇÕES */
.context-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.context-field {
  display: grid;
  gap: 7px;
}

.context-field span {
  color: #071126;
  font-size: 13px;
  font-weight: 900;
}

.context-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #ffffff;
  color: #17233a;
  font: inherit;
}

.context-field select:focus {
  outline: 3px solid rgba(0, 92, 255, 0.15);
  border-color: #005cff;
}

.symptom-checkpoint {
  border: 2px solid #9fc4ff;
  border-radius: 14px;
  background: #eef6ff;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 92, 255, 0.08);
}

.symptom-checkpoint summary {
  padding: 14px 15px;
  color: #0645ad;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.symptom-checkpoint-content {
  padding: 0 15px 15px;
}

.symptom-checkpoint-content > p {
  margin: 0 0 10px;
  color: #52647a;
  font-size: 13px;
  line-height: 1.45;
}

.symptom-checkpoint-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.symptom-checkpoint-options button {
  min-height: 76px;
  padding: 12px;
  border: 1px solid #c9d8ef;
  border-radius: 12px;
  background: #fff;
  color: #10213a;
  text-align: left;
  cursor: pointer;
}

.symptom-checkpoint-options img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  margin-bottom: 11px;
  border-radius: 9px;
  object-fit: cover;
  background: #dbeafe;
}

.symptom-checkpoint-options button:hover,
.symptom-checkpoint-options button:focus-visible,
.symptom-checkpoint-options button.selected {
  border-color: #005cff;
  box-shadow: 0 0 0 2px rgba(0, 92, 255, 0.1);
}

.symptom-checkpoint-options strong,
.symptom-checkpoint-options span,
.symptom-checkpoint-options small {
  display: block;
}

.symptom-checkpoint-options strong {
  margin-bottom: 5px;
  font-size: 13px;
}

.symptom-checkpoint-options span {
  color: #52647a;
  font-size: 12px;
  line-height: 1.35;
}

.symptom-checkpoint-options small {
  margin-top: 8px;
  color: #005cff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.3;
}

.symptom-checkpoint-status {
  margin: 10px 0 0 !important;
  color: #005cff !important;
  font-weight: 800;
}

.symptom-triage {
  padding: 16px;
  border: 2px solid #8db7ff;
  border-radius: 16px;
  background: #eef6ff;
  box-shadow: 0 10px 22px rgba(0, 92, 255, 0.1);
}

.symptom-triage[hidden] {
  display: none;
}

.triage-kicker {
  display: inline-block;
  margin-bottom: 7px;
  color: #005cff;
  font-size: 12px;
  font-weight: 900;
}

.symptom-triage h3,
.symptom-triage p {
  margin: 0;
}

.symptom-triage h3 {
  font-size: 20px;
  line-height: 1.2;
}

.symptom-triage > p {
  margin-top: 6px;
  color: #52647a;
  font-size: 13px;
  line-height: 1.45;
}

.triage-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.triage-options button {
  min-height: 84px;
  padding: 12px;
  border: 1px solid #c9d8ef;
  border-radius: 12px;
  background: #fff;
  color: #10213a;
  text-align: left;
}

.triage-options button:hover,
.triage-options button:focus-visible {
  border-color: #005cff;
  box-shadow: 0 0 0 2px rgba(0, 92, 255, 0.1);
}

.triage-options strong,
.triage-options span {
  display: block;
}

.triage-options strong {
  margin-bottom: 5px;
  font-size: 13px;
  line-height: 1.3;
}

.triage-options span {
  color: #52647a;
  font-size: 12px;
  line-height: 1.35;
}

.triage-back {
  margin-top: 11px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #164ca3;
  font-weight: 800;
}

.context-error {
  min-height: 18px;
  margin: 10px 0 0;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 700;
}

.context-saved-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eef6ff;
  color: #1e4f91;
  font-size: 12px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.context-saved-note button {
  flex: 0 0 auto;
  border: 0;
  padding: 7px 9px;
  border-radius: 8px;
  background: #ffffff;
  color: #005cff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.educational-notice {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  background: #fff7ed;
}

.educational-notice h3 {
  margin: 0 0 6px;
  color: #7c2d12;
  font-size: 14px;
}

.educational-notice p,
.educational-notice li {
  color: #7c4a2d;
  font-size: 12px;
  line-height: 1.45;
}

.educational-notice p {
  margin: 0;
}

.educational-notice ul {
  margin: 9px 0 12px;
  padding-left: 18px;
}

.notice-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding-top: 11px;
  border-top: 1px solid #fed7aa;
  color: #7c2d12;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.notice-consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #005cff;
}

.option-list {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.option-button {
  width: 100%;
  border: 1px solid #dbe3ef;
  background: #ffffff;
  border-radius: 15px;
  padding: 15px;
  text-align: left;
  box-shadow: 0 7px 16px rgba(15, 23, 42, 0.05);
  transition: 0.15s ease;
}

.option-button:hover {
  transform: translateY(-1px);
  border-color: #bfdbfe;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.option-button span {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
  color: #071126;
}

.option-button small {
  display: block;
  margin-top: 6px;
  color: #005cff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
}

.option-button .choice-option-description {
  margin-top: 5px;
  color: #52647a;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

/* BOTÕES */
.main-cta {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 15px;
  padding: 14px 16px;
  margin-top: 16px;
  background: linear-gradient(135deg, #005cff, #0046d8);
  color: #ffffff;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 12px 24px rgba(0, 92, 255, 0.26);
  transition: 0.15s ease;
}

.main-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0, 92, 255, 0.32);
}

.main-cta span {
  margin-left: auto;
}

.diagnosis-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.secondary-button {
  border: 0;
  background: #eef2f7;
  color: #071126;
  padding: 10px 14px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 900;
}

.secondary-button:hover {
  background: #e2e8f0;
}

/* PRODUTOS E RECURSOS */
.product-section {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid #e5eaf3;
}

.product-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.product-section h2 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 950;
  color: #071126;
}

.product-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 17px;
  background: #ffffff;
  border: 1px solid #e5eaf3;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.product-image {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 16px;
  background: #f1f5f9;
  display: grid;
  place-items: center;
  font-size: 26px;
}

.product-info {
  flex: 1;
  min-width: 0;
}

.product-info h3 {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 950;
  color: #071126;
}

.product-info p {
  margin: 4px 0;
  font-size: 12px;
  line-height: 1.35;
  color: #64748b;
}

.product-price {
  display: block;
  color: #005cff;
  font-size: 14px;
  font-weight: 950;
}

.product-button {
  border: 0;
  border-radius: 12px;
  background: #005cff;
  color: #ffffff;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
}

.resource-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.resource-card {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 11px 13px;
  border-radius: 15px;
  background: #f8fafc;
  border: 1px solid #e5eaf3;
}

.resource-card-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 12px;
  background: #ffffff;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.resource-card strong {
  display: block;
  font-size: 13px;
  color: #071126;
}

.resource-card small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.3;
  color: #64748b;
}

/* CAMINHO / RELATÓRIO */
.diagnosis-path,
.relatorio,
.caminho-diagnostico {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e5eaf3;
}

.diagnosis-path h2,
.relatorio h2,
.caminho-diagnostico h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 950;
  color: #071126;
}

.diagnosis-path > p,
.relatorio > p,
.caminho-diagnostico > p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #64748b;
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 15px;
}

.timeline-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.timeline-marker {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: #005cff;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
  box-shadow: 0 6px 12px rgba(0, 92, 255, 0.25);
}

.timeline-content,
.analysis-step,
.relatorio-card,
.path-card {
  flex: 1;
  background: #f8fafc;
  border: 1px solid #e5eaf3;
  border-radius: 14px;
  padding: 12px;
  min-height: 104px;
}

.timeline-content strong,
.analysis-step-title {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  color: #071126;
  font-weight: 900;
}

.timeline-question,
.analysis-question {
  margin: 7px 0;
  font-size: 13px;
  line-height: 1.35;
  color: #334155;
}

.timeline-answer,
.analysis-answer {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
  color: #005cff;
}

/* BOTTOM NAV */
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(430px, 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #ffffff;
  border-top: 1px solid #e5eaf3;
  box-shadow: 0 -8px 20px rgba(15, 23, 42, 0.08);
  z-index: 1000;
}

.bottom-nav button {
  border: 0;
  background: transparent;
  padding: 12px 4px 14px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.bottom-nav button span {
  font-size: 22px;
  line-height: 1;
}

.bottom-nav button.active {
  color: #005cff;
  position: relative;
}

.bottom-nav button.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  width: 64%;
  height: 3px;
  border-radius: 999px;
  background: #005cff;
}

/* ANIMAÇÕES */
.fade-in {
  animation: fadeIn 0.35s ease;
}

.slide-up {
  animation: slideUp 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SCROLL */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: #dbe3ef;
  border-radius: 999px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

/* MOBILE */
@media (max-width: 1099px) {
  .diagnosis-active .zapt-tools {
    display: none;
  }

  .diagnosis-active .zapt-content {
    padding-top: 14px;
  }
}

.main-cta[hidden] {
  display: none;
}

@media (max-width: 480px) {
  .zapt-app {
    max-width: 100%;
    box-shadow: none;
  }

  .zapt-header {
    padding: 16px;
  }

  .zapt-logo-img {
    width: 58px;
  }

  .zapt-brand {
    gap: 12px;
  }

  .zapt-brand h1 {
    font-size: 21px;
  }

  .zapt-brand p {
    font-size: 12px;
  }

  .diagnosis-card h2 {
    font-size: 22px;
  }

  .zapt-tool-grid {
    gap: 8px;
  }

  .zapt-tool {
    min-height: 96px;
  }

  .product-card {
    align-items: flex-start;
  }
}

/* TABLET / DESKTOP BASE */
@media (min-width:1100px){

    .zapt-logo-img{

        width:110px;
        height:110px;
    }

}

/* DESKTOP */
@media (min-width: 1100px) {
  body {
    padding: 28px;
    background:
      radial-gradient(circle at top left, rgba(0, 92, 255, 0.10), transparent 32%),
      linear-gradient(180deg, #f8fbff 0%, #edf2f7 100%);
  }

  .zapt-app {
    max-width: 1280px;
    min-height: calc(100vh - 56px);
    border-radius: 28px;
    display: grid;
    grid-template-rows: auto 1fr;
    padding-bottom: 0;
  }

 .zapt-header{

    padding:18px 28px;

    min-height:120px;

}

  .zapt-logo-img {
    width: 88px;
  }

  .zapt-brand h1 {
    font-size: 30px;
  }

  .zapt-brand p {
    font-size: 13px;
  }

  .context-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .context-field-full {
    grid-column: 1 / -1;
  }


  .zapt-tools {
    position: absolute;
    top: 118px;
    left: 24px;
    width: 230px;
    padding: 0;
    background: transparent;
  }

  .zapt-tools h2 {
    text-align: left;
    font-size: 15px;
    margin-bottom: 14px;
  }

  .zapt-tool-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .zapt-tool {
    min-height: auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px;
    text-align: left;
  }

  .tool-icon {
    margin-bottom: 0;
  }

  .zapt-content {
    display: block;
    padding: 30px 30px 30px 300px;
  }

  .desktop-layout {
    display: grid;
    grid-template-columns: minmax(560px, 1fr) 340px;
    gap: 24px;
    align-items: start;
  }

  .desktop-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .diagnosis-card {
    min-height: auto;
  }

  .diagnosis-card h2 {
    font-size: 28px;
    line-height: 1.15;
  }

  .diagnosis-description {
    font-size: 15px;
    line-height: 1.45;
  }

  .option-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bottom-nav {
    display: none;
  }
}

.choice-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.choice-option::after {
  content: "→";
  flex: 0 0 auto;
  color: #005cff;
  font-size: 18px;
  font-weight: 900;
  opacity: 0;
  transform: translateX(-4px);
  transition: 0.15s ease;
}

.choice-option:hover::after,
.choice-option:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.bottom-nav button:disabled {
  opacity: 0.42;
  cursor: default;
}

.diagnosis-feedback {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #cfe0ff;
  border-radius: 14px;
  background: #f6f9ff;
}

.diagnosis-feedback h3,
.diagnosis-feedback p {
  margin: 0;
}

.diagnosis-feedback p {
  margin-top: 4px;
  color: #52647a;
  font-size: 13px;
}

.feedback-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.feedback-options button {
  min-height: 42px;
  border: 1px solid #c9d8ef;
  border-radius: 10px;
  background: #fff;
  color: #10213a;
  font-weight: 800;
  cursor: pointer;
}

.feedback-options button:hover,
.feedback-options button:focus-visible {
  border-color: #005cff;
  color: #005cff;
}

.feedback-confirmation strong {
  color: #14804a;
}

.feedback-support {
  margin-top: 14px;
}

@media (max-width: 620px) {
  .local-environment-notice {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .feedback-options {
    grid-template-columns: 1fr;
  }

  .symptom-checkpoint-options {
    grid-template-columns: 1fr;
  }

  .symptom-checkpoint-options img {
    height: 140px !important;
    max-height: 140px;
    aspect-ratio: auto;
    object-position: center;
  }

  .triage-options {
    grid-template-columns: 1fr;
  }
}

/* RODAPE E TERMOS */
.zapt-legal-footer {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 18px 20px 24px;
  color: #52647a;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.zapt-legal-footer p {
  margin: 0 0 4px;
}

.zapt-legal-footer a {
  color: #005cff;
  font-weight: 700;
}

.legal-page {
  min-height: 100vh;
  padding: 32px 16px;
}

.legal-card {
  width: min(100%, 780px);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid #dce5f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.legal-card h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 5vw, 38px);
}

.legal-card h2 {
  margin: 26px 0 8px;
  font-size: 19px;
}

.legal-card p,
.legal-card li {
  color: #40536b;
  line-height: 1.65;
}

.legal-card ul {
  padding-left: 22px;
}

.legal-back-link {
  display: inline-block;
  margin-bottom: 22px;
  color: #005cff;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 620px) {
  .legal-page {
    padding: 14px;
  }

  .legal-card {
    padding: 22px 18px;
    border-radius: 14px;
  }
}
