
/* MOBILE-FIRST — LAYOUT */
.container {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1rem;
  font-family: 'TASA Orbiter';
  width: 100%;
  margin-top:150px;
  box-sizing: border-box;
}

/* PAINÉIS */
.panel {
  background: #000;
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgb(0 0 0 / 6%);
}

/* ESCOLHAS */
.choice{
  border-radius: 0.6rem;
      padding: 0.6rem 0.7rem;
      background: var(--bg-elevated-soft);
      border: 1px solid var(--border-soft);
      display: flex;
      align-items: flex-start;
      gap: 0.45rem;
      cursor: pointer;
      font-size: 0.86rem;
}
.final-tabs .active-tab {
  border-radius: 0.6rem !important;
      padding: 0.6rem 0.7rem !important;
      background: var(--bg-elevated-soft) !important;
      border: 1px solid var(--border-soft) !important;
      display: flex !important;
      align-items: flex-start !important;
      gap: 0.45rem !important;
      cursor: pointer !important;
      font-size: 0.86rem !important;
      color:#fff !important ;
      font-weight:400 !important ;
    }

.choice:hover {
  background: #111;
}
.choice input {
  transform: scale(1.05);
}

/* RANGE */
input[type="range"] {
  width: 100%;
  margin: .4rem 0 .8rem;
}

/* TABELA */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: .6rem;
  font-size: .9rem;
}
th, td {
  padding: .45rem .25rem;
  text-align: left;
}
th {
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 500;
  color: #555;
}
tfoot td {
  font-weight: 600;
  font-size: .95rem;
}

.muted {
  font-size: .85rem;
  color: #666;
  margin-bottom: .4rem;
}

/* DESKTOP */
@media (min-width: 860px) {
  .container {
    display: grid;
    grid-template-columns: 1fr 320px;
    margin-top: 140px;
  }
  #summary-panel {position:sticky; top:90px; align-self:flex-start;
    margin-top: 0;
  }
}
nav {
  margin: 0 !important;
  padding: 0px 8px !important;
  width: 100vw !important;
}
.logo svg{
   height:34px !important;
}

.hidden { display: none; }
.metrics-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 14px;
margin-bottom: 22px;
}
.metric-box {
background: #1d1d21;
padding: 14px;
border-radius: 10px;
text-align: center;
}
.metric-box h3 { font-size: .85rem; color: #bbb; margin-bottom: 6px; }
.metric-box p { font-size: 1.1rem; font-weight: 600; }


.cta-button {
display: block;
margin-top: 22px;
padding: 14px;
background: #4f46e5;
color: #fff;
text-align: center;
border-radius: 10px;
text-decoration: none;
font-size: 1rem;
font-weight: 600;
}
.cta-button:hover { background: #635bff; }


 :root {
  
      --bg-body: #050508;
      --bg-elevated: #111119;
      --bg-elevated-soft: #171721;
      --border-soft: #252536;
      --text-main: #f5f5f5;
      --text-soft: #a1a1b5;
      --accent: #04fcac;
      --accent-soft: rgba(4, 252, 172, 0.08);
      --danger: #ff6b81;
      --radius: 0.75rem;
      color-scheme: dark;
    }

    body {
      margin: 0;
      background: radial-gradient(circle at top, #181827 0, #050508 55%);
      color: var(--text-main);
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    nav {
      padding: 0.75rem 1rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 0;
      z-index: 9999;
      background: linear-gradient(to bottom, rgba(5,5,8,0.96), rgba(5,5,8,0.9));
      backdrop-filter: blur(18px);
      border-bottom: 1px solid rgba(255,255,255,0.04);
    }

    nav a {
      color: var(--text-main);
      text-decoration: none;
    }

    .logo svg {
      height: 30px;
      max-width: 100%;
    }

    .container {
      max-width: 1120px;
      margin: 1.25rem auto 2.5rem;
      padding: 0 1rem 3rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    @media (min-width: 880px) {
      .container {
        flex-direction: row;
        align-items: flex-start;
      }
    }

    .panel {
      border-radius: var(--radius);
      background: var(--bg-elevated);
      border: 1px solid rgba(255,255,255,0.06);
      box-shadow: 0 22px 60px rgba(0,0,0,0.65);
      padding: 1.1rem 1.1rem 1.2rem;
    }

    #form-panel {
      flex: 1.15;
    }

    #summary-panel {
      flex: 1;
    }

    h1 {
      font-size: 1.3rem;
      margin: 0 0 0.3rem;
    }

    .calc-subtitle {
      font-size: 0.82rem;
      color: var(--text-soft);
      margin: 0 0 0.6rem;
    }

    .section-title {
      font-weight: 600;
      font-size: 0.9rem;
      margin: 0.5rem 0 0.3rem;
    }

    .muted {
      color: var(--text-soft);
      font-size: 0.8rem;
    }

    .stepper-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      margin-bottom: 0.6rem;
    }

    .steps-indicator {
      display: flex;
      gap: 0.3rem;
      align-items: center;
    }

    .step-dot {
      width: 30px;
      height: 30px;
      border-radius: 999px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #181827;
      color: var(--text-soft);
      font-size: 0.78rem;
      border: 1px solid rgba(255,255,255,0.06);
    }

    .step-dot.active {
      background: var(--accent-soft);
      color: #fff;
      border-color: var(--accent);
      font-weight: 600;
    }

    .progress-bar {
      width: 100%;
      height: 5px;
      border-radius: 999px;
      background: #171724;
      overflow: hidden;
      margin-bottom: 0.7rem;
    }

    .progress-bar > i {
      display: block;
      height: 100%;
      width: 33%;
      background: linear-gradient(90deg, var(--accent), #00d0a2);
      transition: width 0.2s ease-out;
    }

    .calc-hint {
      padding: 0.55rem 0.7rem;
      border-radius: 0.6rem;
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(255,255,255,0.04);
      margin-bottom: 0.7rem;
      font-size: 0.78rem;
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }

    .calc-hint::before {
      content: "💡";
      opacity: 0.9;
      font-size: 0.85rem;
    }

    .calc-hint[data-type="error"] {
      border-color: rgba(255,107,129,0.6);
      background: rgba(255,107,129,0.06);
      color: #ffd8dd;
    }

    .calc-hint[data-type="error"]::before {
      content: "⚠️";
    }

    .step {
      display: none;
    }

    .step.active {
      display: block;
    }

    .choice {
      display: flex;
      align-items: flex-start;
      gap: 0.45rem;
      margin: 1rem 0;
      font-size: 0.86rem;
      cursor: pointer;
    }

    .choice input {
      margin-top:0.05rem;
      accent-color: var(--accent);
      cursor: pointer;
    }

    .choice-main {
      font-weight: 500;
    }

    .choice-sub {
      font-size: 0.75rem;
      color: var(--text-soft);
    }

    .choice-column {
      display: flex;
      flex-direction: column;
    }

    /* Cards de opção (sites, techs) */
    .option-list {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
      margin-top: 0.35rem;
    }

    .option-card {
      border-radius: 0.6rem;
      padding: 0.6rem 0.7rem;
      background: var(--bg-elevated-soft);
      border: 1px solid var(--border-soft);
      display: flex;
      align-items: flex-start;
      gap: 0.45rem;
      cursor: pointer;
      transition: 0.18s ease-out;
      font-size: 0.86rem;
    }

    .option-card:hover {
      border-color: var(--accent);
      background: #1b1b29;
    }

    .option-card input {
      margin-top: 0.16rem;
      accent-color: var(--accent);
      cursor: pointer;
    }

    .option-title {
      font-weight: 500;
    }

    .option-desc {
      font-size: 0.74rem;
      color: var(--text-soft);
    }

    .wizard-controls {
      display: flex;
      justify-content: space-between;
      gap: 0.5rem;
      margin-top: 0.9rem;
    }

    .btn {
      border: 0;
      border-radius: 999px;
      padding: 0.55rem 0.9rem;
      font-size: 0.8rem;
      font-weight: 500;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      background: var(--accent);
      color: #020413;
      box-shadow: 0 0 0 1px rgba(0,0,0,0.6), 0 10px 30px rgba(4,252,172,0.15);
      transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s;
    }

    .btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 14px 34px rgba(4,252,172,0.2);
      background: #09e4a0;
    }

    .btn.secondary {
      background: #1a1a25;
      color: var(--text-main);
      box-shadow: none;
      border: 1px solid rgba(255,255,255,0.06);
    }

    .btn.secondary:hover {
      background: #222234;
    }

    input[type="range"] {
      width: 100%;
      margin: 0.3rem 0 0.4rem;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.8rem;
    }

    th, td {
      padding: 0.4rem 0.2rem;
      text-align: left;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    th {
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--text-soft);
    }

    #summary-panel h3 {
      margin: 0 0 0.4rem;
      font-size: 1rem;
    }

    .summary-footer {
      margin-top: 0.5rem;
      font-size: 0.78rem;
      color: var(--text-soft);
    }

    .hidden {
      display: none !important;
    }

    /* Ajuste menu hambúrguer no dark */
    #hamburguerMenu div {
      background: #ffffff;
    }


    .hidden { display: none; }
/* OVERLAY */
.final-resumo {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  z-index: 9999;
}

/* CARD */
.final-card {
  background: #17171a;
  width: 100%;
  max-width: 440px;
  border-radius: 10px;
  padding: 18px;
  border: 1px solid #222;
  color: #fff;
  position: relative;
  max-height: 88vh;
  overflow-y: auto;
}

/* CLOSE */
.final-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: 0;
  color: #777;
  cursor: pointer;
  font-size: 18px;
  padding: 4px;
}

/* TITLES */
.final-title {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 600;
}

.final-sub {
  margin: 0 0 14px;
  color: #888;
  font-size: 0.8rem;
}

/* TABS */
.final-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.final-tabs button {
  background:none !important;
  border: none !important;
  padding: inherit;
 margin: 0px 12px;
  cursor: pointer;
}



/* CONTENT */
.final-content {
  background: #1a1a1d;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 12px;
  max-height: 240px;
  overflow-y: auto;
  font-size: 0.82rem;
  color: #ddd;
}

/* GRID MÉTRICAS – super compacto */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.metric-box {
  background: #1d1d20;
  border: 1px solid #262629;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
}

.metric-label {
  font-size: 0.72rem;
  color: #777;
}

.metric-value {
  font-size: 0.9rem;
  margin-top: 4px;
  font-weight: 600;
}

/* CTA */
.cta-button {
  display: block;
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  background: #4f46e5;
  font-size: 0.9rem;
  text-align: center;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

/* MOBILE SUPER PEQUENO */
@media (max-width: 380px) {
  .final-card {
    padding: 16px;
  }
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
}
