:root {
  --bg-main: #080d1a;
  --bg-soft: #0b1020;
  --bg-card: #101a2f;
  --bg-card-2: #121d35;

  --border-soft: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(129, 140, 248, 0.36);

  --text-main: #f8fafc;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;

  --brand: #6366f1;
  --brand-2: #22d3ee;
  --brand-soft: rgba(99, 102, 241, 0.14);

  --warning-bg: rgba(245, 158, 11, 0.1);
  --warning-border: rgba(245, 158, 11, 0.34);
  --warning-text: #fde68a;

  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 26px;
  --radius-xl: 32px;

  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.16);
  --shadow-strong: 0 28px 90px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.18), transparent 32%),
    var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* TOPO */

.topbar {
  background: rgba(8, 13, 26, 0.9);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.045em;
  color: var(--text-main);
}

.logo span {
  color: #818cf8;
  margin-left: 3px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.94rem;
  color: var(--text-soft);
}

.menu a {
  padding: 8px 11px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.menu a:hover {
  background: rgba(255, 255, 255, 0.055);
  color: #ffffff;
}

/* HERO / BUSCADOR */

.finder {
  padding: 74px 0 46px;
  background:
    radial-gradient(circle at 82% 14%, rgba(99, 102, 241, 0.28), transparent 28%),
    radial-gradient(circle at 12% 28%, rgba(34, 211, 238, 0.09), transparent 24%);
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  background: var(--brand-soft);
  color: #c7d2fe;
  border: 1px solid var(--border-strong);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}

.finder h1 {
  font-size: clamp(2.25rem, 4.5vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -0.075em;
  max-width: 820px;
  color: var(--text-main);
}

.finder-text {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 1.08rem;
  max-width: 660px;
}

.search-box {
  margin-top: 30px;
  display: flex;
  align-items: center;
  background: rgba(16, 26, 47, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 22px;
  padding: 8px;
  max-width: 760px;
  box-shadow: var(--shadow-strong);
}

.search-box input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-main);
  padding: 15px 17px;
  font-size: 1rem;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.search-box button {
  border: 0;
  background: linear-gradient(135deg, var(--brand), #4f46e5);
  color: #ffffff;
  padding: 15px 29px;
  border-radius: 16px;
  font-weight: 850;
  cursor: pointer;
  transition: 0.18s ease;
}

.search-box button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.chips {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips a {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #dbeafe;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: 0.18s ease;
}

.chips a:hover {
  background: rgba(99, 102, 241, 0.16);
  border-color: rgba(129, 140, 248, 0.58);
  color: #ffffff;
}

/* SEÇÕES */

.section {
  padding: 48px 0;
}

.compact-section {
  padding-top: 34px;
}

.section-header-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.055em;
  color: var(--text-main);
}

.small-link {
  color: #a5b4fc;
  font-weight: 850;
  font-size: 0.95rem;
  padding: 8px 10px;
  border-radius: 999px;
  transition: 0.18s ease;
}

.small-link:hover {
  background: rgba(99, 102, 241, 0.14);
}

/* FERRAMENTAS */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tool-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 20px;
  min-height: 245px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(129, 140, 248, 0.42);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.tool-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.tool-icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #ffffff;
  font-weight: 950;
  font-size: 0.95rem;
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.25);
}

.tool-tag {
  background: rgba(99, 102, 241, 0.13);
  border: 1px solid rgba(129, 140, 248, 0.28);
  color: #c7d2fe;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 850;
}

.tool-card h3 {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 8px;
  letter-spacing: -0.025em;
}

.tool-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.tool-meta {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.tool-meta strong {
  color: #a5b4fc;
}

/* COMPARATIVOS + OBJETIVOS */

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.compare-box,
.goal-box {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.compare-list,
.goal-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.compare-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(148, 163, 184, 0.16);
  padding: 15px 16px;
  border-radius: 17px;
  font-weight: 850;
  transition: 0.18s ease;
}

.compare-list a:hover,
.goal-list a:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(129, 140, 248, 0.55);
  transform: translateY(-1px);
}

.compare-list small {
  color: #a5b4fc;
  font-weight: 850;
}

.goal-list {
  grid-template-columns: 1fr 1fr;
}

.goal-list a {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(148, 163, 184, 0.16);
  padding: 14px;
  border-radius: 16px;
  color: #dbeafe;
  font-weight: 800;
  transition: 0.18s ease;
}

/* GUIAS */

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.guide-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  transition: 0.2s ease;
}

.guide-card:hover {
  transform: translateY(-3px);
  border-color: rgba(129, 140, 248, 0.42);
}

.guide-card span {
  display: inline-flex;
  color: #818cf8;
  font-weight: 950;
  margin-bottom: 18px;
}

.guide-card h3 {
  color: var(--text-main);
  font-size: 1.15rem;
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.025em;
}

.guide-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* AVISO E RODAPÉ */

.warning {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  color: var(--warning-text);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin-bottom: 56px;
}

.footer {
  background: #060a14;
  border-top: 1px solid var(--border-soft);
  padding: 28px 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* RESPONSIVO */

@media (max-width: 940px) {
  .tools-grid,
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .menu {
    display: none;
  }

  .finder {
    padding: 54px 0 36px;
  }

  .finder h1 {
    font-size: clamp(2.15rem, 13vw, 3.1rem);
  }

  .search-box {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box button {
    padding: 14px;
  }

  .tools-grid,
  .guide-grid,
  .goal-list {
    grid-template-columns: 1fr;
  }

  .section-header-row {
    align-items: start;
    flex-direction: column;
  }

  .compare-list a {
    align-items: start;
    flex-direction: column;
  }
}

/* CATÁLOGO DE FERRAMENTAS */

.catalog-hero {
  padding: 58px 0 28px;
  background:
    radial-gradient(circle at 82% 12%, rgba(99, 102, 241, 0.22), transparent 28%),
    radial-gradient(circle at 8% 28%, rgba(34, 211, 238, 0.08), transparent 24%);
}

.catalog-hero h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.07em;
  max-width: 820px;
}

.catalog-hero p:not(.badge) {
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 1.06rem;
  max-width: 760px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  padding: 34px 0 48px;
  align-items: start;
}

.filters-panel {
  position: sticky;
  top: 92px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.filters-header h2 {
  font-size: 1.2rem;
  letter-spacing: -0.035em;
}

.filters-header span {
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.13);
  border: 1px solid rgba(129, 140, 248, 0.28);
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 850;
}

.filter-group {
  border-top: 1px solid var(--border-soft);
  padding-top: 16px;
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.filter-group h3 {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.filter-group label {
  color: var(--text-soft);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group input {
  accent-color: var(--brand);
}

.filter-note {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.catalog-results {
  min-width: 0;
}

.results-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.results-top h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.catalog-search {
  width: min(320px, 100%);
  background: rgba(16, 26, 47, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  padding: 4px 12px;
}

.catalog-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-main);
  padding: 11px 4px;
  font-size: 0.95rem;
}

.catalog-search input::placeholder {
  color: var(--text-muted);
}

.tool-list {
  display: grid;
  gap: 14px;
}

.tool-list-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  box-shadow: var(--shadow-soft);
  transition: 0.18s ease;
}

.tool-list-card:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 140, 248, 0.42);
}

.tool-list-main {
  display: flex;
  gap: 16px;
  min-width: 0;
}

.tool-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.tool-title-row h3 {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.tool-title-row span {
  background: rgba(99, 102, 241, 0.13);
  border: 1px solid rgba(129, 140, 248, 0.28);
  color: #c7d2fe;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 850;
}

.tool-list-card p {
  color: var(--text-soft);
  max-width: 680px;
}

.tool-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-tags span {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(148, 163, 184, 0.14);
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
}

.tool-actions {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  white-space: nowrap;
}

.tool-actions small {
  color: var(--text-muted);
}

.tool-actions a {
  color: #ffffff;
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(129, 140, 248, 0.42);
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 850;
  font-size: 0.88rem;
  transition: 0.18s ease;
}

.tool-actions a:hover {
  background: var(--brand);
}

@media (max-width: 900px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filters-panel {
    position: static;
  }

  .results-top {
    align-items: start;
    flex-direction: column;
  }

  .tool-list-card {
    grid-template-columns: 1fr;
  }

  .tool-actions {
    align-items: start;
    flex-direction: row;
  }
}


/* PÁGINA INDIVIDUAL DE FERRAMENTA */

.tool-page-hero {
  padding: 26px 0 8px;
  background:
    radial-gradient(circle at 82% 12%, rgba(99, 102, 241, 0.16), transparent 28%),
    radial-gradient(circle at 8% 28%, rgba(34, 211, 238, 0.05), transparent 24%);
}

.tool-page-title {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 820px;
}

.tool-icon.big {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  font-size: 1rem;
  flex: 0 0 auto;
}

.tool-page-title h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.65rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.tool-page-title p {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 0.98rem;
  max-width: 720px;
}

.tool-profile-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-profile-tags span {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #dbeafe;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.tool-content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 22px;
  padding: 10px 0 44px;
  align-items: start;
}

.tool-main-content {
  display: grid;
  gap: 18px;
}

.tool-side-content {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}

.tool-summary-card,
.content-card,
.side-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.tool-summary-card {
  padding: 18px;
}

.tool-summary-card h2 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  letter-spacing: -0.035em;
}

.summary-row {
  border-top: 1px solid var(--border-soft);
  padding: 9px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.summary-row strong {
  color: var(--text-main);
  text-align: right;
}

.official-button {
  margin-top: 10px;
  display: block;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), #4f46e5);
  padding: 10px 13px;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.18s ease;
}

.official-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.summary-note {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.content-card {
  padding: 22px;
}

.content-card h2 {
  font-size: 1.4rem;
  line-height: 1.15;
  letter-spacing: -0.045em;
  margin-bottom: 10px;
}

.content-card p {
  color: var(--text-soft);
  margin-top: 9px;
}

.content-card ul {
  margin-top: 12px;
  padding-left: 20px;
  color: var(--text-soft);
}

.content-card li + li {
  margin-top: 8px;
}

.use-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.use-grid div {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  padding: 15px;
}

.use-grid h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.use-grid p {
  margin: 0;
  font-size: 0.92rem;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.alternatives-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.alternatives-list a {
  display: grid;
  gap: 2px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 16px;
  padding: 13px;
  transition: 0.18s ease;
}

.alternatives-list a:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(129, 140, 248, 0.45);
}

.alternatives-list strong {
  color: var(--text-main);
}

.alternatives-list span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.side-card {
  padding: 18px;
}

.side-card h3 {
  font-size: 1.02rem;
  margin-bottom: 12px;
}

.side-card a {
  display: block;
  color: #c7d2fe;
  font-weight: 800;
  padding: 9px 0;
  border-top: 1px solid var(--border-soft);
}

.side-card p {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-top: 9px;
}

@media (max-width: 920px) {
  .tool-content-layout,
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }

  .tool-side-content {
    position: static;
  }
}

@media (max-width: 680px) {
  .tool-page-title {
    align-items: start;
    flex-direction: column;
  }

  .use-grid {
    grid-template-columns: 1fr;
  }

  .summary-row {
    flex-direction: column;
    gap: 4px;
  }

  .summary-row strong {
    text-align: left;
  }
}



/* HOME AUTOMÁTICA REFINADA */

.home-hero {
  padding: 48px 0 34px;
  background:
    radial-gradient(circle at 84% 12%, rgba(99, 102, 241, 0.2), transparent 28%),
    radial-gradient(circle at 10% 28%, rgba(34, 211, 238, 0.07), transparent 24%);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 28px;
  align-items: center;
}

.home-hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.7rem);
  line-height: 1.03;
  letter-spacing: -0.075em;
  max-width: 820px;
}

.home-search {
  max-width: 680px;
  margin-top: 24px;
}

.home-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.home-panel h2 {
  font-size: 2rem;
  letter-spacing: -0.055em;
  margin-bottom: 8px;
}

.home-panel p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.panel-button {
  display: inline-flex;
  margin-top: 18px;
  background: linear-gradient(135deg, var(--brand), #4f46e5);
  color: #ffffff;
  padding: 11px 15px;
  border-radius: 999px;
  font-weight: 900;
}

.home-tools-grid {
  grid-template-columns: repeat(3, 1fr);
}

.home-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-top: 34px;
}

.home-goal-list {
  grid-template-columns: 1fr;
}

@media (max-width: 920px) {
  .home-hero-grid,
  .home-two-columns {
    grid-template-columns: 1fr;
  }

  .home-tools-grid {
    grid-template-columns: 1fr;
  }
}

/* PÁGINAS DE LISTA SIMPLES */

.page-list {
  max-width: 900px;
}

.page-list a {
  min-height: 64px;
}