/* CSS Variables para o Design System */
:root {
  /* Brand Colors */
  --primary-green-light: #4bcd95;
  --primary-green-dark: #0f925a;
  --neutral-white: #ffffff;
  --neutral-black: #08090a;
  --neutral-dark-bg: #1f1f1f;
  --neutral-cold-white: #f1f2f2;
  --neutral-medium-gray: #c4c4c4;
  --neutral-border-gray: #4c4c4c;
  --neutral-light-bg: #f5f5f5;

  /* Neutral Scale */
  --neutral-600: #08090a;
  --neutral-500: #151619;
  --neutral-400: #252629;
  --neutral-300: #46484e;
  --neutral-200: #787878;
  --neutral-100: #b8b8b8;
  --neutral-0: #ffffff;

  /* Light Mode Neutrals */
  --light-neutral-600: #ffffff;
  --light-neutral-500: #fafafa;
  --light-neutral-400: #efeff0;
  --light-neutral-300: #5e6169;
  --light-neutral-200: #2c2d30;
  --light-neutral-100: #1c1d21;
  --light-neutral-0: #08090a;

  /* Feedback Colors */
  --success-500: #4bcd95;
  --success-light: #0f925a;
  --error-500: #e5344f;
  --info-dark: #0bd3ff;
  --info-light: #1a6bff;
  --warning-500: #ffc107;

  /* Opacity Colors */
  --opacity-dark-0: transparent;
  --opacity-dark-2: rgba(255, 255, 255, 0.02);
  --opacity-dark-4: rgba(255, 255, 255, 0.04);
  --opacity-dark-8: rgba(255, 255, 255, 0.08);
  --opacity-dark-12: rgba(255, 255, 255, 0.12);
  --opacity-dark-16: rgba(255, 255, 255, 0.16);

  --opacity-light-0: transparent;
  --opacity-light-2: rgba(7, 7, 7, 0.02);
  --opacity-light-4: rgba(7, 7, 7, 0.04);
  --opacity-light-8: rgba(7, 7, 7, 0.08);
  --opacity-light-12: rgba(7, 7, 7, 0.12);
  --opacity-light-16: rgba(7, 7, 7, 0.16);

  /* Border Opacity */
  --border-opacity: rgba(255, 255, 255, 0.12);
  --border-light-opacity: rgba(0, 0, 0, 0.2);

  /* Fonts settings */
  font-family: Inter, sans-serif;
  font-feature-settings: "liga" 1, "calt" 1;
}

@supports (font-variation-settings: normal) {
  :root {
    font-family: InterVariable, sans-serif;
  }
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--neutral-black);
  color: var(--neutral-white);
  padding-top: 78px;
  font-feature-settings: "cv05" on, "cv06" on, "cv11" on;
}

input {
  font-family: "Inter", sans-serif !important;
  font-feature-settings: "cv05" on, "cv06" on, "cv11" on !important;
}

.ff2 {
  font-family: "JetBrains Mono", monospace;
}

.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background: rgba(7, 7, 7, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--neutral-white);
  max-width: 100%;
  margin: 0 auto;
  top: 0;
  border-bottom: 1px solid #171819;
  height: 78px;
  padding: 0;
}

/* TEMPORARIO - REMOVER DEPOIS */

.lightmode-soon {
  color: rgba(191, 191, 191, 1);
  background: #070809;
  border: 1px solid #323634;
  border-radius: 6px;
  line-height: 27px;
  font-size: 12px;
  padding: 0 10px;
}

.lightmode-soon svg {
  width: 16px;
  position: relative;
  top: -1px;
  margin-right: 4px;
  line-height: 1;
}

/* TEMPORARIO - REMOVER DEPOIS */

.home .header .container,
.home .footer .container {
  max-width: 1320px;
}

@media (max-width: 1400px) {
  .home .container,
  .home .container {
    max-width: 1064px !important;
  }
}

@media (max-width: 1064px) {
  .home .container,
  .home .container {
    max-width: 100% !important;
  }
}

.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: 100px;
  padding-left: 15px;
  padding-right: 15px;
  color: #fff;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: -0.01em;
  text-align: center;
  transition: all ease 350ms;
  border-radius: 8px;
}

.header .nav-item {
  margin-right: 15px;
}

.header .nav-link:hover {
  background: #1d221f;
  color: var(--neutral-white);
}

.header .navbar-toggler {
  color: var(--neutral-white);
  border-color: var(--neutral-white);
}

.post-edit-link {
  position: fixed;
  bottom: 10px;
  left: 10px;
}

.post-edit-link span {
  opacity: 0.4;
  padding: 10px !important;
  line-height: 1 !important;
  min-height: auto !important;
  font-size: 10px !important;
}

.post-edit-link span:hover {
  opacity: 1;
}

/* Cabeçalhos */

h2,
h3 {
  font-weight: 700;
  font-style: Bold;
  letter-spacing: 0%;
  vertical-align: middle;
}

h3,
.h3 {
  font-size: 24px;
}

h4,
.h4 {
  font-size: 20px;
}

.title-bordered {
  font-weight: 600;
  letter-spacing: -2%;
  border-left: 3px solid #71ca99;
  padding-left: 10px;
  padding-top: 3px;
  padding-bottom: 3px;
}

.title-bordered.title-green {
  border-color: #71ca99;
}

/* Conteúdo */

.content-body h2 {
  color: #ffffff;
  font-size: 18px;
}

.content-body p,
.content-body li {
  color: #b0b0b0;
  line-height: 1.8;
  font-size: 15px;
}

.content-body p,
.content-body li {
  margin-bottom: 25px;
}

.content-body hr {
  display: none;
}

.content-body li p {
  margin: 0;
}

.content-body ul {
  margin: 0;
  padding-left: 15px;
}

.content-body blockquote {
  background: #151619;
  padding: 20px;
  font-size: 14px;
  border-left: 5px solid #f5c344;
}

.content-body blockquote p {
  margin: 0;
  font-size: 14px;
  color: #b0b0b0;
}

.content-body blockquote strong {
  margin: 0;
  color: #fff;
}

.ico-20px {
  width: 20px;
  height: 20px;
}

#post-toc .toc-item {
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
#post-toc .toc-item:hover {
  color: #fff;
}
#post-toc .toc-underline {
  width: 100%;
  height: 2px;
  background-color: transparent;
  transition: background-color 0.2s;
}
#post-toc .toc-item.active .toc-underline {
  background-color: #48e1a7; /* ou #4ade80 / bg-success */
}

#post-toc .toc-item.active {
  color: #ffffff;
}

.section-title i {
  color: var(--primary-color);
}

.view-more {
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  padding: 0.35rem 0.75rem;
  border-radius: 30px;
  background-color: rgba(29, 73, 203, 0.05);
}

.view-more:hover {
  color: white;
  background-color: #1d49cb;
}

.home .container {
  max-width: 1064px;
}

@media (max-width: 1400px) {
  .container {
    max-width: 100% !important;
  }
}

.page-meta-data {
  padding-bottom: 30px;
  margin-bottom: 40px;
  border-bottom: 1px solid #1c1d1e;
}

.page-title {
  font-size: 32px;
  font-weight: 600;
}

.page-description {
  color: #bfbfbf;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

.page-navigation .btn {
  background: none;
  line-height: 23px;
}

.page-navigation .form-control {
  border: 1px solid #343535 !important;
  background: #0d0e0f !important;
  height: 45px;
  border-radius: 7px !important;
}

.page-navigation .form-control:hover,
.page-navigation .form-control:focus {
  border: 1px solid #545656 !important;
  background: #151719 !important;
  box-shadow: none !important;
}

.page-navigation .page-search {
  position: relative;
}

.page-navigation .page-search .btn {
  position: absolute;
  right: 0;
  line-height: 1;
  z-index: 1000;
}

.page-navigation .page-list-categories .btn {
  line-height: 24px;
}

.page-navigation .page-list-categories .btn-active {
  background: #fff !important;
  color: #000;
}

.page-navigation .page-list-categories .btn {
  background: #1b1c1d;
  margin-right: 8px;
  border: 1px solid #202122 !important;
}
