/* ============================================================
   ARQUIVO2.CSS — Estilos exclusivos do index
   Depende de: base.css
   ============================================================ */

/* UTILIDADE SERIF (exclusivo arquivo 2) */
.serif { font-family: 'Instrument Serif', serif; font-style: italic; }

/* NAV — CHIP GUIA (exclusivo arquivo 2) */
.nav-guia-chip {
  display: flex; align-items: center; gap: 6px;
  background: var(--green-light);
  color: var(--green);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px; font-weight: 700;
  text-decoration: none;
  transition: all 0.15s;
  border: 1px solid transparent;
}
.nav-guia-chip:hover { background: #bbf7d0; }
.nav-guia-chip .chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}
.nav-cta {
  background: var(--navy);
  color: #fff;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: #1e293b; transform: scale(1.02); }

/* HAMBURGER (exclusivo arquivo 2) */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 6px;
  border-radius: 8px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: all 0.2s;
}

/* MOBILE DRAWER (exclusivo arquivo 2) */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 60px 0 0 0;
  background: rgba(247,245,240,0.98);
  backdrop-filter: blur(16px);
  z-index: 99;
  flex-direction: column;
  padding: 24px;
  gap: 4px;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.nav-drawer.open { display: flex; }
.nav-drawer-link {
  display: flex; align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 15px; font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s;
}
.nav-drawer-link:hover { background: var(--surface2); }
.nav-drawer-link .drawer-icon { font-size: 18px; margin-right: 12px; }
.nav-drawer-divider { height: 1px; background: var(--border); margin: 8px 0; }
.nav-drawer-cta {
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px; font-weight: 700;
  color: #fff;
  background: var(--green);
  text-decoration: none;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .nav-guia-chip { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { overflow: visible; }
  nav { overflow: visible; }
}

/* HERO — variante clara (exclusivo arquivo 2) */
.hero {
  max-width: 1100px; margin: 0 auto;
  padding: 80px 24px 60px;
  text-align: center;
}

/* HERO BADGE — variante verde (arquivo 2) */
.hero .hero-badge {
  background: var(--green-light);
  color: var(--green);
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.5s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeUp 0.5s 0.1s ease both;
}
.hero h1 em { color: var(--green); font-style: italic; }
.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  animation: fadeUp 0.5s 0.2s ease both;
}

/* HERO STATS (exclusivo arquivo 2) */
.hero-stats {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeUp 0.5s 0.3s ease both;
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 2rem;
  color: var(--navy);
}
.hero-stat span { font-size: 12px; color: var(--text-muted); }

/* BTN SECONDARY (exclusivo arquivo 2) */
.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}
.btn-secondary:hover { border-color: var(--navy); }
.btn-secondary:active { transform: scale(0.97); }

/* HOW IT WORKS (exclusivo arquivo 2) */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.how-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.how-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
  margin-bottom: 16px;
}
.how-num.green { background: var(--green-light); color: var(--green); }
.how-num.blue { background: #E0F2FE; color: var(--blue); }
.how-num.amber { background: #FEF3C7; color: var(--amber); }
.how-card h3 { font-weight: 700; margin-bottom: 8px; }
.how-card p { color: var(--text-muted); font-size: 14px; }

/* CALCULATOR SECTION (exclusivo arquivo 2) */
#calculadora { background: var(--surface2); }
.calc-wrap {
  max-width: 520px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

/* TOGGLE (exclusivo arquivo 2) */
.toggle-wrap {
  display: flex;
  background: var(--bg);
  border-radius: 100px;
  padding: 4px;
  margin-bottom: 28px;
}
.toggle-btn {
  flex: 1; padding: 10px;
  border: none; background: none;
  border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600; font-size: 14px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
}
.toggle-btn.active {
  background: var(--navy);
  color: #fff;
}

/* FORM — variações arquivo 2 */
.form-group { margin-bottom: 18px; }
.form-label span { color: var(--text-muted); font-weight: 400; }
.input-prefix {
  left: 14px;
  font-size: 14px;
}
.form-input {
  height: 48px;
  padding: 0 14px 0 36px;
  border-radius: 12px;
  font-size: 15px;
}
.form-input.no-prefix { padding-left: 14px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.time-preview { font-size: 12px; color: var(--blue); font-weight: 600; margin-top: 4px; }

/* QUICK ADJUST (exclusivo arquivo 2) */
.quick-btns {
  display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap;
}
.quick-btn {
  padding: 4px 12px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  background: var(--bg);
  font-size: 12px; font-weight: 600;
  cursor: pointer;
  color: var(--text);
  transition: all 0.15s;
}
.quick-btn:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.quick-btn:active { transform: scale(0.95); }

/* OPTIONAL FIELDS (exclusivo arquivo 2) */
.optional-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-bottom: 18px;
}

/* CALC BTN — variação arquivo 2 */
.calc-btn {
  height: 52px;
  border-radius: 14px;
  font-size: 16px;
}

/* RESULT — variação arquivo 2 */
.result-box { margin-top: 28px; }
.result-price-label { font-size: 13px; color: var(--text-muted); font-weight: 600; margin-bottom: 4px; }
.result-price {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 3.6rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 20px;
}
.result-price span { font-size: 1.8rem; }
.result-grid {
  gap: 12px; margin-bottom: 20px;
}
.result-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}
.result-card-label { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.result-card-value {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--navy);
  margin-top: 2px;
}

/* INSIGHTS (exclusivo arquivo 2) */
.insights { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.insight {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.4;
}
.insight.ok { background: var(--green-light); color: #166534; }
.insight.warn { background: #FEF3C7; color: #92400E; }
.insight.danger { background: #FEE2E2; color: #991B1B; }
.insight.info { background: #E0F2FE; color: #075985; }
.insight-icon { font-size: 16px; flex-shrink: 0; }

/* SAVE ROW (exclusivo arquivo 2) */
.save-row {
  display: flex; gap: 8px;
  margin-bottom: 12px;
}
.save-row input {
  flex: 1; height: 44px;
  padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  background: var(--bg);
  outline: none;
  transition: border-color 0.15s;
}
.save-row input:focus { border-color: var(--blue); }
.save-btn {
  height: 44px; padding: 0 16px;
  background: var(--navy);
  color: #fff; border: none;
  border-radius: 10px;
  font-weight: 600; font-size: 13px;
  cursor: pointer;
  transition: transform 0.15s;
  white-space: nowrap;
}
.save-btn:active { transform: scale(0.97); }

/* ACTION BUTTONS (exclusivo arquivo 2) */
.action-row { display: flex; gap: 8px; }
.action-btn {
  flex: 1; height: 42px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--text);
}
.action-btn:hover { border-color: var(--navy); }
.action-btn:active { transform: scale(0.97); }

/* AD SLOT — variação arquivo 2 */
.ad-slot { margin: 24px 0; }

/* ADVANCED TOOLS (exclusivo arquivo 2) */
.advanced-toggle {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  margin-top: 24px;
  user-select: none;
}
.advanced-toggle h3 { font-size: 14px; font-weight: 700; }
.advanced-toggle .arrow { transition: transform 0.2s; font-size: 18px; color: var(--text-muted); }
.advanced-toggle.open .arrow { transform: rotate(180deg); }
.advanced-tools {
  display: none;
  flex-direction: column;
  gap: 20px;
  padding-top: 20px;
}
.advanced-tools.show { display: flex; }
.tool-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.tool-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.tool-result {
  background: var(--surface);
  border-radius: 10px;
  padding: 12px;
  margin-top: 12px;
  font-size: 14px;
  display: none;
}
.tool-result.show { display: block; }
.tool-result strong {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--navy);
}

/* SCENARIO & SCALE (exclusivo arquivo 2) */
.scenario-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.scale-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 8px; margin-top: 12px;
}
.scale-cell {
  background: var(--surface);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-size: 12px;
}
.scale-cell strong {
  display: block;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--green);
}

/* HISTORY (exclusivo arquivo 2) */
#historico { background: var(--surface); }
.history-list { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.history-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.history-item:hover { border-color: var(--navy); }
.history-item-name { font-weight: 600; font-size: 14px; }
.history-item-meta { font-size: 12px; color: var(--text-muted); }
.history-item-price {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--green);
  margin-right: 12px;
}
.history-item-right { display: flex; align-items: center; gap: 4px; }
.history-del {
  background: none; border: none;
  color: var(--text-muted);
  cursor: pointer; font-size: 16px;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.15s;
}
.history-del:hover { color: var(--red); }
.history-empty { text-align: center; padding: 40px; color: var(--text-muted); }

/* EDUCATION (exclusivo arquivo 2) */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.edu-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.edu-icon { font-size: 28px; margin-bottom: 12px; }
.edu-card h3 { font-weight: 700; margin-bottom: 8px; font-size: 15px; }
.edu-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* TESTIMONIALS (exclusivo arquivo 2) */
#depoimentos { background: var(--surface2); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.testimonial-stars { color: var(--amber); margin-bottom: 12px; font-size: 14px; }
.testimonial-text {
  font-size: 14px; color: var(--text);
  line-height: 1.6; margin-bottom: 16px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  color: #fff;
}
.testimonial-name { font-size: 13px; font-weight: 600; }
.testimonial-role { font-size: 12px; color: var(--text-muted); }

/* PRO CARD (exclusivo arquivo 2) */
.pro-card {
  max-width: 480px; margin: 0 auto;
  background: var(--navy);
  border-radius: 20px;
  padding: 36px;
  color: #fff;
  text-align: center;
}
.pro-badge {
  display: inline-block;
  background: var(--amber);
  color: var(--navy);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.pro-card h2 {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 2rem;
  margin-bottom: 12px;
}
.pro-card p { color: rgba(255,255,255,0.7); margin-bottom: 24px; font-size: 14px; }
.pro-features { list-style: none; text-align: left; margin-bottom: 28px; }
.pro-features li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
}
.pro-features li:last-child { border: none; }
.pro-features .check { color: var(--amber); font-size: 16px; }
.btn-amber {
  background: var(--amber);
  color: var(--navy);
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  border: none; cursor: pointer;
  width: 100%;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: transform 0.15s, opacity 0.15s;
}
.btn-amber:hover { opacity: 0.9; }
.btn-amber:active { transform: scale(0.97); }

/* TOAST — variação arquivo 2 */
.toast.error { background: var(--red); }

/* DIVIDER — variação arquivo 2 */
.divider { margin: 0; }

/* RESPONSIVE exclusivo arquivo 2 */
@media (max-width: 600px) {
  .hero { padding: 48px 20px 40px; }
  .hero-stats { gap: 24px; }
  .optional-row { grid-template-columns: 1fr; }
  .scenario-grid { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr 1fr; }
}