/* ============================================
   TAILWIND SPACING SYSTEM
   Base: 4px (0.25rem)
   ============================================ */

:root {
  /* Border Radius - Tailwind System */
  --radius-none: 0;
  --radius-sm: 0.125rem;      /* 2px  - Badges pequenas, elementos mínimos */
  --radius-default: 0.25rem;  /* 4px  - Padrão, focus outlines */
  --radius-md: 0.375rem;      /* 6px  - Inputs, buttons, tags */
  --radius-lg: 0.5rem;        /* 8px  - Cards pequenos */
  --radius-xl: 0.75rem;       /* 12px - Cards médios */
  --radius-2xl: 1rem;         /* 16px - Cards grandes */
  --radius-3xl: 1.5rem;       /* 24px - Hero, dropzone, elementos grandes */
  --radius-full: 9999px;      /* Circular - Avatares, badges circulares */

  /* Spacing Scale - Tailwind Compatible */
  --space-0: 0px;
  --space-px: 1px;
  --space-0-5: 0.125rem;   /* 2px */
  --space-1: 0.25rem;      /* 4px */
  --space-1-5: 0.375rem;   /* 6px */
  --space-2: 0.5rem;       /* 8px */
  --space-2-5: 0.625rem;   /* 10px */
  --space-3: 0.75rem;      /* 12px */
  --space-3-5: 0.875rem;   /* 14px */
  --space-4: 1rem;         /* 16px */
  --space-5: 1.25rem;      /* 20px */
  --space-6: 1.5rem;       /* 24px */
  --space-7: 1.75rem;      /* 28px */
  --space-8: 2rem;         /* 32px */
  --space-9: 2.25rem;      /* 36px */
  --space-10: 2.5rem;      /* 40px */
  --space-11: 2.75rem;     /* 44px */
  --space-12: 3rem;        /* 48px */
  --space-14: 3.5rem;      /* 56px */
  --space-16: 4rem;        /* 64px */
  --space-20: 5rem;        /* 80px */
  --space-24: 6rem;        /* 96px */
  --space-28: 7rem;        /* 112px */
  --space-32: 8rem;        /* 128px */
  
  /* Semantic Aliases */
  --space-xs: var(--space-2);    /* 8px */
  --space-sm: var(--space-3);    /* 12px */
  --space-md: var(--space-4);    /* 16px */
  --space-lg: var(--space-6);    /* 24px */
  --space-xl: var(--space-8);    /* 32px */
  --space-2xl: var(--space-12);  /* 48px */
  --space-3xl: var(--space-16);  /* 64px */
}

/* Responsive Spacing - Reduz em mobile */
@media (max-width: 768px) {
  :root {
  /* Border Radius - Tailwind System */
  --radius-none: 0;
  --radius-sm: 0.125rem;      /* 2px  - Badges pequenas, elementos mínimos */
  --radius-default: 0.25rem;  /* 4px  - Padrão, focus outlines */
  --radius-md: 0.375rem;      /* 6px  - Inputs, buttons, tags */
  --radius-lg: 0.5rem;        /* 8px  - Cards pequenos */
  --radius-xl: 0.75rem;       /* 12px - Cards médios */
  --radius-2xl: 1rem;         /* 16px - Cards grandes */
  --radius-3xl: 1.5rem;       /* 24px - Hero, dropzone, elementos grandes */
  --radius-full: 9999px;      /* Circular - Avatares, badges circulares */

    --space-12: 2.5rem;   /* 48px → 40px */
    --space-14: 3rem;     /* 56px → 48px */
    --space-16: 3rem;     /* 64px → 48px */
    --space-20: 4rem;     /* 80px → 64px */
    --space-24: 5rem;     /* 96px → 80px */
  }
}


*,
:before,
:after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}
:before,
:after {
  --tw-content: "";
}
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    Helvetica Neue,
    Arial,
    Noto Sans,
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    Segoe UI Symbol,
    "Noto Color Emoji";
  font-feature-settings: normal;
  font-variation-settings: normal;
}
body {
  margin: 0;
  line-height: inherit;
}
hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}
abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  text-decoration: inherit;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp,
pre {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    Liberation Mono,
    Courier New,
    monospace;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}
button,
input,
optgroup,
select,
textarea {  padding: var(--space-3) var(--space-4); /* 12px 16px */

  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  
}
button,
select {
  text-
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}
:-moz-focusring {
  outline: auto;
}
:-moz-ui-invalid {
  box-shadow: none;
}
progress {
  vertical-align: baseline;
}
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
summary {
  display: list-item;
}
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}
fieldset {
  margin: 0;
  padding: 0;
}
legend {
  padding: 0;
}
ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
textarea {
  resize: vertical;
}
input::-moz-placeholder,
textarea::-moz-placeholder {
  opacity: 1;
  color: #9ca3af;
}
input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: #9ca3af;
}
button,
[role="button"] {
  cursor: pointer;
}
:disabled {
  cursor: default;
}
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}
img,
video {
  max-width: 100%;
  height: auto;
}
[hidden] {
  display: none;
}
input:not([type="checkbox"]) {
  outline: none;
}
input[disabled] {
  background-color: #ddd;
}
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23CCC' d='M0 0h10L5 6 0 0z'/%3E%3C/svg%3E%0A")
    no-repeat #fff;
  background-position: right 10px center;
  border-radius: var(--radius-3xl) /* 24px */; /* 24px - Pill style */
  gap: var(--space-4); /* 16px - Sistema Equilibrado */
  width: 100%;
  border-width: 1px;
  border-color: #0003;
  display: flex;
  align-items: center;
  outline: 2px solid transparent;
  outline-offset: 2px;
  padding: var(--space-3) 1rem; /* 12px 16px - Sistema Equilibrado */
}
select:focus {
  border-width: 1px;
  border-color: #0006;
}
select::-ms-expand {
  display: none;
}
input[type="search"] {
  width: 100%;
  height: 2.5rem;
  padding: var(--space-3) 1rem; /* 12px 16px - Sistema Equilibrado */
  border-radius: var(--radius-3xl); /* 24px - Pill style */
  border-width: 1px;
  border-color: #0003;
}
input[type="search"]:focus {
  border-color: #0006;
}
input[type="text"] {
  height: 2.5rem;
  padding: var(--space-3) var(--space-4) /* 12px 16px */; /* 12px 16px - Sistema Equilibrado */
  border-radius: var(--radius-3xl); /* 24px - Pill style */
  border-width: 1px;
  border-color: #0003;
}
input[type="text"]:focus {
  border-color: #0006;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Ginto;
}

/* Heading styles - Mobile First */
h1 {
  font-size: 1.5rem; /* 24px */
  line-height: 2rem; /* 32px */
  font-weight: 500;
}

h2 {
  font-size: 1.25rem; /* 20px */
  line-height: 1.75rem; /* 28px */
  font-weight: 400;
}

h3 {
  font-size: 1.125rem; /* 18px */
  line-height: 1.625rem; /* 26px */
  font-weight: 400;
}

h4,
h5,
h6 {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
}
strong {
  font-family: Ginto;
  font-weight: 700; /* Bold */
}
b {
  font-weight: 700; /* Bold */
}
.powered-by-zendesk {
  display: none;
}
main[role="main"] {
  position: relative;
  top: var(--space-20);
}
@media (min-width: 768px) {
  main[role="main"] {
    top: var(--space-24);
  }
}
.article-content ol {
  margin-top: var(--space-5);
  margin-bottom: var(--space-5);
  list-style-type: decimal;
  padding-left: var(--space-6);
}
.article-content ul {
  list-style-type: disc;
  padding-left: var(--space-6);
}
.article-content li {
  margin-bottom: var(--space-2) /* 8px */;
}
ul > ul,
ol > ol,
ol > ul,
ul > ol,
li > ul,
li > ol {
  margin-bottom: var(--space-1) !important;
}
.article-content h2 {
  font-family: Ginto;
  font-size: 1.25rem; /* 20px mobile */
  line-height: 1.75rem; /* 28px */
  font-weight: 400;
  margin-bottom: var(--space-4) /* 16px */;
}

.article-content h3 {
  margin-top: var(--space-6); /* 24px */
  margin-bottom: var(--space-3); /* 12px */
  font-weight: 600;
}
.article-content p {
  padding-bottom: var(--space-2-5);
  margin-bottom: var(--space-4); /* 16px */
}
.article-content li p {
  padding-bottom: 0;
}
.pagination {
  text-align: center;
}
.pagination-next,
.pagination-prev,
.pagination-first,
.pagination-last {
  display: inline-block;
}
textarea {
  display: flex;
  align-items: center;
  gap: var(--space-4); /* 16px - Sistema Equilibrado */
  border-radius: var(--radius-3xl); /* 24px - Pill style */
  border-width: 1px;
  border-color: #0003;
  resize: horizontal;
  padding: var(--space-6); /* 24px - Sistema Equilibrado */
  outline: 2px solid transparent !important;
  outline-offset: 2px !important;
  font-family:
    EB Garamond,
    serif;
}
textarea:focus {
  border-color: #0006;
}
/* ============================================================================
   TABLE STYLES - Design System Bipa
   ============================================================================ */

table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  max-width: 100%;
  table-layout: auto;
  font-family: "ABC Ginto", sans-serif;
  font-size: 18px;
  line-height: 24px;
  color: #000000;
  background-color: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin: 24px 0;
}

/* Garantir que tabela ocupe toda largura disponível */
article table,
.article-content table,
section table {
  width: 100% !important;
  max-width: 100% !important;
}

/* Table Header */
table thead {
  background-color: #F5F5F5;
}

table thead tr {
  border-bottom: 2px solid #E5E5E5;
}

table th {
  padding: 16px 24px;
  text-align: left;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: #000000;
  background-color: #F5F5F5;
  border-bottom: 2px solid #E5E5E5;
  white-space: nowrap;
}

/* First header cell rounded top-left */
table thead tr:first-child th:first-child {
  border-top-left-radius: 20px;
}

/* Last header cell rounded top-right */
table thead tr:first-child th:last-child {
  border-top-right-radius: 20px;
}

/* Table Body */
table tbody tr {
  border-bottom: 1px solid #E5E5E5;
  transition: background-color 0.2s ease;
}

table tbody tr:hover {
  background-color: rgba(120, 120, 128, 0.04);
}

table tbody tr:last-child {
  border-bottom: none;
}

/* Last row rounded bottom corners */
table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 20px;
}

table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 20px;
}

table td {
  padding: 16px 24px;
  text-align: left;
  font-size: 18px;
  line-height: 24px;
  color: #000000;
  vertical-align: top;
}

/* Remove borders - we use background and dividers instead */
table td,
table th {
  border: none;
}

/* Lists inside tables */
table ol,
table ul {
  padding-left: var(--space-5);
  margin: 0;
}

/* Responsive tables */
@media (max-width: 768px) {
  table {
    font-size: 16px;
    line-height: 22px;
    border-radius: 16px;
  }
  
  table th,
  table td {
    padding: 12px 16px;
    font-size: 16px;
    line-height: 22px;
  }
  
  table thead tr:first-child th:first-child {
    border-top-left-radius: 16px;
  }
  
  table thead tr:first-child th:last-child {
    border-top-right-radius: 16px;
  }
  
  table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 16px;
  }
  
  table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 16px;
  }
}

/* Striped variant (optional) */
table.table-striped tbody tr:nth-child(even) {
  background-color: rgba(120, 120, 128, 0.02);
}

table.table-striped tbody tr:nth-child(even):hover {
  background-color: rgba(120, 120, 128, 0.06);
}

/* Compact variant (optional) */
table.table-compact th,
table.table-compact td {
  padding: 12px 16px;
}

/* Bordered variant (optional) */
table.table-bordered {
  border: 1px solid #E5E5E5;
}

table.table-bordered td,
table.table-bordered th {
  border-right: 1px solid #E5E5E5;
}

table.table-bordered td:last-child,
table.table-bordered th:last-child {
  border-right: none;
}
*,
:before,
:after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
}
::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
}
.container {
  width: 100%;
}
@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}
@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}
.btn {

  padding: var(--space-3) var(--space-6) /* 12px 24px */; /* 12px 24px - Sistema Equilibrado */
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-style: none;
  border-radius: var(--radius-3xl); /* 24px - Pill style */
  cursor: pointer;
  box-sizing: border-box;
  gap: var(--space-2); /* 8px - ícone + texto */
}
.btn[data-disabled] {
  cursor: default;
}
.breadcrumbs {
  padding: var(--space-4) var(--space-8); /* 16px 32px */
  display: flex;
  margin-bottom: var(--space-6) /* 24px */;
  margin-top: 0;
  gap: var(--space-2); /* 8px */
}
.breadcrumbs li {
  max-width: 450px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.breadcrumbs li + li:before {
  content: "→";
  margin: 0 4px;
}
.request-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6); /* 24px - Sistema Equilibrado */
  margin-bottom: var(--space-16); /* 64px - Sistema Equilibrado */
}
.request-form input[type="submit"] {
  display: flex;
  flex-direction: column;
  gap: var(--space-6); /* 24px - Sistema Equilibrado */

  padding: var(--space-3) 1.5rem; /* 12px 24px - Sistema Equilibrado */
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-style: none;
  border-radius: var(--radius-3xl); /* 24px - Pill style */
  cursor: pointer;
  box-sizing: border-box;
}
.request-form input[type="submit"][data-disabled] {
  cursor: default;
}
.request-form input[type="submit"] {
  --tw-bg-opacity: 1;
  background-color: rgb(80 206 92 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}
.request-form .form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2); /* 8px - Sistema Equilibrado */
}
.request-form .form-field p {
  font-size: 0.75rem;
  line-height: 1rem;
  color: #0006;
}
.upload-dropzone {
  display: inline-flex;
  cursor: pointer;
  justify-content: center;
  border-radius: var(--radius-2xl); /* 20px */
  background-color: rgb(0 0 0 / var(--tw-bg-opacity));
  --tw-bg-opacity: 0.05;

}
.upload-dropzone {
  border-style: none;
  padding-top: var(--space-14); /* 56px - Sistema Equilibrado */
  padding-bottom: var(--space-14); /* 56px - Sistema Equilibrado */
}
.upload-dropzone span {
  color: #0006;
  font-size: 1rem;
  line-height: 1.5rem;
}
.upload-dropzone span a {
  --tw-text-opacity: 1;
  color: rgb(80 206 92 / var(--tw-text-opacity));
  font-size: 1rem;
  line-height: 1.5rem;
}
.nesty-input {
  padding: var(--space-3) 1rem; /* 12px 16px - Sistema Equilibrado */
  height: 2.5rem;
  border-radius: var(--radius-sm);
  border-width: 1px;
  border-color: #0003;
  display: flex;
  align-items: center;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.notification.notification-error.notification-inline {
  font-size: 0.75rem;
  line-height: 1rem;
  --tw-text-opacity: 1;
  color: rgb(209 50 50 / var(--tw-text-opacity));
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.visible {
  visibility: visible;
}
.collapse {
  visibility: collapse;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.left-1\/2 {
  left: 50%;
}
.right-0 {
  right: 0px;
}
.top-0 {
  top: 0px;
}
.top-1\/2 {
  top: 50%;
}
.top-20 {
  top: var(--space-20);
}
.z-20 {
  z-index: 20;
}
.z-50 {
  z-index: 50;
}
.z-\[30\] {
  z-index: 30;
}
.order-first {
  order: -9999;
}
.order-last {
  order: 9999;
}
.col-span-3 {
  grid-column: span 3 / span 3;
}
.col-span-full {
  grid-column: 1 / -1;
}
.-mx-5 {
  margin-left: -1.25rem;
  margin-right: -1.25rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.my-1 {
  margin-top: var(--space-1);
  margin-bottom: var(--space-1);
}
.my-5 {
  margin-top: var(--space-5);
  margin-bottom: var(--space-5);
}
.mb-1 {
  margin-bottom: var(--space-1);
}
.mb-10 {
  margin-bottom: var(--space-6) /* 24px */;
}
.mb-11 {
  margin-bottom: var(--space-11);
}
.mb-3 {
  margin-bottom: var(--space-3);
}
.mb-7 {
  margin-bottom: var(--space-7);
}
.mb-8 {
  margin-bottom: var(--space-8);
}
.mt-10 {
  margin-top: var(--space-10);
}
.mt-24 {
  margin-top: var(--space-24);
}
.mt-3 {
  margin-top: var(--space-3);
}
.mt-5 {
  margin-top: var(--space-5);
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.table-cell {
  display: table-cell;
}
.table-row {
  display: table-row;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.h-0 {
  height: 0px;
}
.h-0\.5 {
  height: 0.125rem;
}
.h-10 {
  height: 2.5rem;
}
.h-20 {
  height: 5rem;
}
.h-screen {
  height: 100vh;
}
.w-10 {
  width: 2.5rem;
}
.w-24 {
  width: 6rem;
}
.w-5 {
  width: 1.25rem;
}
.w-full {
  width: 100%;
}
.w-screen {
  width: 100vw;
}
.max-w-lg {
  max-width: 32rem;
}
.max-w-screen-xl {
  max-width: 1280px;
}
.flex-1 {
  flex: 1 1 0%;
}
.shrink-0 {
  flex-shrink: 0;
}
.table-auto {
  table-layout: auto;
}
.-translate-x-1\/2 {
  --tw-translate-x: -50%;
}
.-translate-y-1\/2 {
  --tw-translate-y: -50%;
}
.-translate-y-1 {
  --tw-translate-y: -0.25rem;
}
.-translate-y-1\.5 {
  --tw-translate-y: -0.375rem;
}
.translate-y-1 {
  --tw-translate-y: 0.25rem;
}
.translate-y-1\.5 {
  --tw-translate-y: 0.375rem;
}

/* Transform utility - aplica as variáveis CSS */
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.scroll-mt-28 {
  scroll-margin-top: 7rem;
}
.list-decimal {
  list-style-type: decimal;
}
.list-disc {
  list-style-type: disc;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.flex-row {
  flex-direction: row;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.items-baseline {
  align-items: baseline;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-14 {
  gap: var(--space-14);
}
.gap-2 {
  gap: var(--space-2);
}
.gap-3 {
  gap: var(--space-3);
}
.gap-5 {
  gap: var(--space-5);
}
.gap-7 {
  gap: var(--space-7);
}
.gap-x-14 {
  -moz-column-gap: var(--space-14);
  column-gap: var(--space-14);
}
.gap-y-3 {
  row-gap: var(--space-3);
}
.gap-y-6 {
  row-gap: var(--space-6);
}
.space-x-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-y-10 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(2.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2.5rem * var(--tw-space-y-reverse));
}
.self-start {
  align-self: flex-start;
}
.overflow-scroll {
  overflow: scroll;
}
.rounded {
  border-radius: var(--radius-2xl); /* 20px */
}
.rounded-full {
  border-radius: var(--radius-full);
}
.rounded-sm {
  border-radius: var(--radius-2xl); /* 20px */
}
.border {
  border-width: 1px;
}
.border-y {
  border-top-width: 1px;
  border-bottom-width: 1px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-r {
  border-right-width: 1px;
}
.border-t {
  border-top-width: 1px;
}
.border-solid {
  border-style: solid;
}
.border-black-01\/10 {
  border-color: #0000001a;
}
.border-y-black-01\/10 {
  border-top-color: #0000001a;
  border-bottom-color: #0000001a;
}
.border-b-cream-02 {
  --tw-border-opacity: 1;
  border-bottom-color: rgb(240 240 230 / var(--tw-border-opacity));
}
.border-r-black-01\/10 {
  border-right-color: #0000001a;
}
.bg-black-01 {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity));
}
.bg-cream-02 {
  --tw-bg-opacity: 1;
  background-color: rgb(240 240 230 / var(--tw-bg-opacity));
}
.bg-cream-05 {
  --tw-bg-opacity: 1;
  background-color: rgb(210 210 200 / var(--tw-bg-opacity));
}
.bg-current {
  background-color: currentColor;
}
.bg-green-03 {
  --tw-bg-opacity: 1;
  background-color: rgb(80 206 92 / var(--tw-bg-opacity));
}
.bg-transparent {
  background-color: transparent;
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}
.bg-opacity-5 {
  --tw-bg-opacity: 0.05;
}
.px-4 {
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}
.px-5 {
  padding-left: var(--space-5);
  padding-right: var(--space-5);
}
.px-6 {
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}
.py-14 {
  padding-top: var(--space-14);
  padding-bottom: var(--space-14);
}
.py-20 {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}
.py-24 {
  padding-top: var(--space-24);
  padding-bottom: var(--space-24);
}
.py-3 {
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
}
.py-6 {
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}
.pb-10 {
  padding-bottom: var(--space-10);
}
.pb-2 {
  padding-bottom: var(--space-2);
}
.pr-3 {
  padding-right: var(--space-3);
}
.pt-10 {
  padding-top: var(--space-10);
}
.text-center {
  text-align: center;
}
.font-emoji {
  font-family: Noto Color Emoji;
}
.font-ginto {
  font-family: Ginto;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-6xl {
  font-size: 3.75rem;
  line-height: 4.5rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.text-black-01\/40 {
  color: #0006;
}
.text-green-03 {
  --tw-text-opacity: 1;
  color: rgb(80 206 92 / var(--tw-text-opacity));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}
.underline {
  text-decoration-line: underline;
}
.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.outline {
  outline-style: solid;
}
.grayscale {
  --tw-grayscale: grayscale(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast)
    var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate)
    var(--tw-sepia) var(--tw-drop-shadow);
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast)
    var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate)
    var(--tw-sepia) var(--tw-drop-shadow);
}

.duration-500 
.ease-in-out 
body {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity));
  font-family: Ginto, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.875rem; /* 14px mobile */
  line-height: 1.375rem; /* 22px mobile */
  font-weight: 300; /* Light/Regular */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.aria-expanded\:visible[aria-expanded="true"] {
  visibility: visible;
}
.aria-expanded\:h-screen[aria-expanded="true"] {
  height: 100vh;
}
.aria-expanded\:opacity-100[aria-expanded="true"] {
  opacity: 1;
}
.aria-pressed\:border-green-03[aria-pressed="true"] {
  --tw-border-opacity: 1;
  border-color: rgb(80 206 92 / var(--tw-border-opacity));
}
.aria-pressed\:bg-green-03[aria-pressed="true"] {
  --tw-bg-opacity: 1;
  background-color: rgb(80 206 92 / var(--tw-bg-opacity));
}
.aria-pressed\:text-white[aria-pressed="true"] {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}
.aria-collapsed\:invisible[aria-expanded="false"] {
  visibility: hidden;
}
.aria-collapsed\:opacity-0[aria-expanded="false"] {
  opacity: 0;
}
.group[aria-expanded="true"] .group-aria-expanded\:translate-y-0 {
  --tw-translate-y: 0px;
}
.group[aria-expanded="true"] .group-aria-expanded\:-rotate-45 {
  --tw-rotate: -45deg;
}
.group[aria-expanded="true"] .group-aria-expanded\:rotate-45 {
  --tw-rotate: 45deg;
}
.group[aria-expanded="true"] .group-aria-expanded\:opacity-0 {
  opacity: 0;
}
@media (min-width: 768px) {
  .md\:order-none {
    order: 0;
  }
  .md\:col-span-3 {
    grid-column: span 3 / span 3;
  }
  .md\:col-span-6 {
    grid-column: span 6 / span 6;
  }
  .md\:col-start-4 {
    grid-column-start: 4;
  }
  .md\:mb-0 {
    margin-bottom: 0;
  }
  .md\:mt-0 {
    margin-top: 0;
  }
  .md\:mt-44 {
    margin-top: 11rem;
  }
  .md\:block {
    display: block;
  }
  .md\:inline-block {
    display: inline-block;
  }
  .md\:hidden {
    display: none;
  }
  .md\:h-24 {
    height: 6rem;
  }
  .md\:flex-1 {
    flex: 1 1 0%;
  }
  .md\:grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .md\:flex-row {
    flex-direction: row;
  }
  .md\:items-center {
    align-items: center;
  }
  .md\:gap-14 {
    gap: var(--space-14);
  }
  .md\:border-none {
    border-style: none;
  }
  .md\:px-16 {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
  }
  .md\:pb-0 {
    padding-bottom: 0;
  }
  .md\:pt-0 {
    padding-top: 0;
  }
  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  .md\:text-5xl {
    font-size: 3rem;
    line-height: 3.5rem;
  }
  .md\:text-6xl {
    font-size: 3.75rem;
    line-height: 4.5rem;
  }
  .md\:text-8xl {
    font-size: 6rem;
    line-height: 1;
  }
  .md\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .lg\:top-24 {
    top: var(--space-24);
  }
  .lg\:mx-auto {
    margin-left: auto;
    margin-right: auto;
  }
  .lg\:mt-0 {
    margin-top: 0;
  }
  .lg\:flex {
    display: flex;
  }
  .lg\:hidden {
    display: none;
  }
  .lg\:flex-1 {
    flex: 1 1 0%;
  }
  .lg\:gap-x-16 {
    -moz-column-gap: var(--space-16);
    column-gap: var(--space-16);
  }
  .lg\:space-y-0 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0px * var(--tw-space-y-reverse));
  }
}

/* ================================================
   TYPOGRAPHY RESPONSIVE - DESKTOP
   Aplicado em telas >= 768px (tablets e desktops)
   ================================================ */

@media (min-width: 768px) {
  /* Body padrão aumenta para 16px no desktop */
  body {
    font-size: var(--space-4); /* 16px */
    line-height: 1.5rem; /* 24px */
  }

  /* Heading / H1 - 28px / 36px - Medium */
  h1 {
    font-size: 1.75rem; /* 28px */
    line-height: 2.25rem; /* 36px */
    font-weight: 500;
  }

  /* Heading / H2 - 24px / 32px - Regular/Medium */
  h2 {
    font-size: 1.5rem; /* 24px */
    line-height: 2rem; /* 32px */
    font-weight: 400;
  }

  /* Heading / H3 - 20px / 28px - Regular/Medium */
  h3 {
    font-size: 1.25rem; /* 20px */
    line-height: 1.75rem; /* 28px */
    font-weight: 400;
  }

  /* Article content H2 específico */
  .article-content h2 {
    font-size: 1.5rem; /* 24px */
    line-height: 2rem; /* 32px */
  }

  /* Display styles para desktop */
  .text-display-xl,
  .display-xl {
    font-size: var(--space-12); /* 48px */
    line-height: 3.5rem; /* 56px */
    font-weight: 500;
  }

  .text-display-lg,
  .display-lg {
    font-size: 2.25rem; /* 36px */
    line-height: 2.75rem; /* 44px */
    font-weight: 400;
  }

  /* Body variants para desktop */
  .text-body-large,
  .body-large {
    font-size: 1.125rem; /* 18px */
    line-height: 1.75rem; /* 28px */
    font-weight: 300;
  }

  .text-body-small,
  .body-small {
    font-size: 0.875rem; /* 14px */
    line-height: 1.25rem; /* 20px */
    font-weight: 300;
  }

  .text-caption,
  .caption-xs {
    font-size: 0.75rem; /* 12px */
    line-height: 1rem; /* 16px */
    font-weight: 300;
  }
}

/* ================================================
   UTILITY CLASSES - FONT WEIGHTS
   ================================================ */

.font-light {
  font-weight: 300;
}

.font-regular {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-bold {
  font-weight: 700;
}

/* ================================================
   SMALL TAG
   ================================================ */

small {
  font-size: 0.75rem; /* 12px mobile */
  line-height: 1.125rem; /* 18px */
  font-weight: 300;
}

@media (min-width: 768px) {
  small {
    font-size: 0.875rem; /* 14px desktop */
    line-height: var(--space-5); /* 20px */
  }
}

/* ================================================
   BORDER RADIUS CUSTOMIZATION
   Pill style para botões/inputs (24px)
   Padrão de 20px para demais componentes
   ================================================ */

/* Classe para aplicar estilo pill */
.rounded-pill {
  border-radius: var(--radius-3xl); /* 24px */
}

/* Classes utilitárias - padrão 20px */
.rounded {
  border-radius: 1.25rem; /* 20px */
}

.rounded-md {
  border-radius: 1.25rem; /* 20px */
}

.rounded-lg {
  border-radius: 1.25rem; /* 20px */
}

.rounded-xl {
  border-radius: 1.25rem; /* 20px */
}

.rounded-2xl {
  border-radius: 1.25rem; /* 20px */
}

.rounded-card {
  border-radius: 1.25rem; /* 20px - Cards home page (padrão Bipa) */
}

.rounded-none {
  border-radius: var(--radius-none);
}

/* Arredondamento específico por canto */
.rounded-t-pill {
  border-top-left-radius: var(--space-6);
  border-top-right-radius: var(--space-6);
}

.rounded-b-pill {
  border-bottom-left-radius: var(--space-6);
  border-bottom-right-radius: var(--space-6);
}

.rounded-l-pill {
  border-top-left-radius: var(--space-6);
  border-bottom-left-radius: var(--space-6);
}

.rounded-r-pill {
  border-top-right-radius: var(--space-6);
  border-bottom-right-radius: var(--space-6);
}

/* Input e button genéricos */
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"] {
  height: 2.5rem;
  padding: var(--space-2) 0.75rem;
  border-radius: var(--radius-3xl); /* 24px - Pill style */
  border-width: 1px;
  border-color: #0003;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus {
  border-color: #0006;
}

/* Buttons genéricos */
button {
  border-radius: var(--radius-3xl); /* 24px - Pill style */
}

/* Cards e componentes */
.card,
.article-card,
.section-card {
  border-radius: var(--radius-2xl); /* 20px */
}

/* Badges e tags */
.badge,
.tag,
.label {
  border-radius: var(--radius-2xl); /* 20px */
  padding: var(--space-1) 0.75rem;
  display: inline-flex;
  align-items: center;
}

/* Modals e dropdowns */
.modal,
.dropdown-menu,
.popover {
  border-radius: var(--radius-2xl); /* 20px */
}

/* Imagens com arredondamento */
.rounded-image {
  border-radius: var(--radius-2xl); /* 20px */
  overflow: hidden;
}

/* Avatar circles */
.avatar,
.avatar-circle {
  border-radius: var(--radius-full);
}

/* ================================================
   SPACING SYSTEM - EQUILIBRADO (8px base)
   Sistema de espaçamento consistente e profissional
   ================================================ */

/* PADDING UTILITIES */
.p-0 { padding: 0; }
.p-1 { padding: var(--space-2); }    /* 8px */
.p-2 { padding: var(--space-4); }      /* 16px */
.p-3 { padding: var(--space-3); }    /* 24px */
.p-4 { padding: var(--space-4); }      /* 32px */
.p-5 { padding: var(--space-5); }    /* 40px */
.p-6 { padding: var(--space-6); }      /* 48px */
.p-8 { padding: var(--space-8); }      /* 64px */
.p-10 { padding: var(--space-10); }     /* 80px */
.p-12 { padding: var(--space-12); }     /* 96px */
.p-16 { padding: 8rem; }     /* 128px */

/* PADDING X (horizontal) */
.px-0 { padding-left: 0; padding-right: 0; }
.px-1 { padding-left: var(--space-2); padding-right: var(--space-2); }
.px-2 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-3 { padding-left: var(--space-3); padding-right: var(--space-3); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-5 { padding-left: var(--space-5); padding-right: var(--space-5); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }
.px-8 { padding-left: var(--space-8); padding-right: var(--space-8); }
.px-10 { padding-left: var(--space-10); padding-right: var(--space-10); }

/* PADDING Y (vertical) */
.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.py-2 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-3 { padding-top: var(--space-3); padding-bottom: var(--space-3); }
.py-4 { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.py-5 { padding-top: var(--space-5); padding-bottom: var(--space-5); }
.py-6 { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.py-10 { padding-top: var(--space-10); padding-bottom: var(--space-10); }
.py-12 { padding-top: var(--space-12); padding-bottom: var(--space-12); }
.py-16 { padding-top: 8rem; padding-bottom: 8rem; }

/* PADDING TOP */
.pt-0 { padding-top: 0; }
.pt-1 { padding-top: var(--space-2); }
.pt-2 { padding-top: var(--space-4); }
.pt-3 { padding-top: var(--space-6); }
.pt-4 { padding-top: var(--space-8); }
.pt-5 { padding-top: var(--space-10); }
.pt-6 { padding-top: var(--space-12); }
.pt-8 { padding-top: var(--space-16); }
.pt-10 { padding-top: var(--space-20); }
.pt-12 { padding-top: var(--space-24); }
.pt-16 { padding-top: 8rem; }

/* PADDING BOTTOM */
.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: var(--space-2); }
.pb-2 { padding-bottom: var(--space-4); }
.pb-3 { padding-bottom: var(--space-6); }
.pb-4 { padding-bottom: var(--space-8); }
.pb-5 { padding-bottom: var(--space-10); }
.pb-6 { padding-bottom: var(--space-12); }
.pb-8 { padding-bottom: var(--space-16); }
.pb-10 { padding-bottom: var(--space-20); }
.pb-12 { padding-bottom: var(--space-24); }
.pb-16 { padding-bottom: 8rem; }

/* PADDING LEFT */
.pl-0 { padding-left: 0; }
.pl-1 { padding-left: var(--space-2); }
.pl-2 { padding-left: var(--space-4); }
.pl-3 { padding-left: var(--space-6); }
.pl-4 { padding-left: var(--space-8); }
.pl-5 { padding-left: var(--space-10); }
.pl-6 { padding-left: var(--space-12); }
.pl-8 { padding-left: var(--space-16); }

/* PADDING RIGHT */
.pr-0 { padding-right: 0; }
.pr-1 { padding-right: var(--space-2); }
.pr-2 { padding-right: var(--space-4); }
.pr-3 { padding-right: var(--space-6); }
.pr-4 { padding-right: var(--space-8); }
.pr-5 { padding-right: var(--space-10); }
.pr-6 { padding-right: var(--space-12); }
.pr-8 { padding-right: var(--space-16); }

/* MARGIN UTILITIES */
.m-0 { margin: 0; }
.m-1 { margin: var(--space-2); }
.m-2 { margin: var(--space-4); }
.m-3 { margin: var(--space-6); }
.m-4 { margin: var(--space-8); }
.m-5 { margin: var(--space-10); }
.m-6 { margin: var(--space-12); }
.m-8 { margin: var(--space-16); }
.m-10 { margin: var(--space-20); }
.m-12 { margin: var(--space-24); }
.m-16 { margin: 8rem; }
.m-auto { margin: auto; }

/* MARGIN X (horizontal) */
.mx-0 { margin-left: 0; margin-right: 0; }
.mx-1 { margin-left: var(--space-2); margin-right: var(--space-2); }
.mx-2 { margin-left: var(--space-4); margin-right: var(--space-4); }
.mx-3 { margin-left: var(--space-6); margin-right: var(--space-6); }
.mx-4 { margin-left: var(--space-8); margin-right: var(--space-8); }
.mx-5 { margin-left: var(--space-10); margin-right: var(--space-10); }
.mx-6 { margin-left: var(--space-12); margin-right: var(--space-12); }
.mx-8 { margin-left: var(--space-16); margin-right: var(--space-16); }
.mx-auto { margin-left: auto; margin-right: auto; }

/* MARGIN Y (vertical) */
.my-0 { margin-top: 0; margin-bottom: 0; }
.my-1 { margin-top: var(--space-2); margin-bottom: var(--space-2); }
.my-2 { margin-top: var(--space-4); margin-bottom: var(--space-4); }
.my-3 { margin-top: var(--space-6); margin-bottom: var(--space-6); }
.my-4 { margin-top: var(--space-8); margin-bottom: var(--space-8); }
.my-5 { margin-top: var(--space-10); margin-bottom: var(--space-6) /* 24px */; }
.my-6 { margin-top: var(--space-12); margin-bottom: var(--space-12); }
.my-8 { margin-top: var(--space-16); margin-bottom: var(--space-16); }
.my-10 { margin-top: var(--space-20); margin-bottom: var(--space-20); }
.my-12 { margin-top: var(--space-24); margin-bottom: var(--space-24); }
.my-16 { margin-top: 8rem; margin-bottom: 8rem; }

/* MARGIN TOP */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-2); }
.mt-2 { margin-top: var(--space-4); }
.mt-3 { margin-top: var(--space-6); }
.mt-4 { margin-top: var(--space-8); }
.mt-5 { margin-top: var(--space-10); }
.mt-6 { margin-top: var(--space-12); }
.mt-8 { margin-top: var(--space-16); }
.mt-10 { margin-top: var(--space-20); }
.mt-12 { margin-top: var(--space-24); }
.mt-16 { margin-top: 8rem; }
.mt-auto { margin-top: auto; }

/* MARGIN BOTTOM */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-2); }
.mb-2 { margin-bottom: var(--space-4); }
.mb-3 { margin-bottom: var(--space-6); }
.mb-4 { margin-bottom: var(--space-8); }
.mb-5 { margin-bottom: var(--space-6) /* 24px */; }
.mb-6 { margin-bottom: var(--space-12); }
.mb-8 { margin-bottom: var(--space-16); }
.mb-10 { margin-bottom: var(--space-20); }
.mb-12 { margin-bottom: var(--space-24); }
.mb-16 { margin-bottom: 8rem; }
.mb-auto { margin-bottom: auto; }

/* MARGIN LEFT */
.ml-0 { margin-left: 0; }
.ml-1 { margin-left: var(--space-2); }
.ml-2 { margin-left: var(--space-4); }
.ml-3 { margin-left: var(--space-6); }
.ml-4 { margin-left: var(--space-8); }
.ml-5 { margin-left: var(--space-10); }
.ml-6 { margin-left: var(--space-12); }
.ml-8 { margin-left: var(--space-16); }
.ml-auto { margin-left: auto; }

/* MARGIN RIGHT */
.mr-0 { margin-right: 0; }
.mr-1 { margin-right: var(--space-2); }
.mr-2 { margin-right: var(--space-4); }
.mr-3 { margin-right: var(--space-6); }
.mr-4 { margin-right: var(--space-8); }
.mr-5 { margin-right: var(--space-10); }
.mr-6 { margin-right: var(--space-12); }
.mr-8 { margin-right: var(--space-16); }
.mr-auto { margin-right: auto; }

/* GAP UTILITIES (Flexbox/Grid) */
.gap-0 { gap: 0; }
.gap-1 { gap: var(--space-2); }     /* 8px */
.gap-2 { gap: var(--space-4); }       /* 16px */
.gap-3 { gap: var(--space-6); }     /* 24px */
.gap-4 { gap: var(--space-8); }       /* 32px */
.gap-5 { gap: var(--space-10); }     /* 40px */
.gap-6 { gap: var(--space-12); }       /* 48px */
.gap-8 { gap: var(--space-16); }       /* 64px */
.gap-10 { gap: var(--space-20); }      /* 80px */
.gap-12 { gap: var(--space-24); }      /* 96px */

/* GAP X (column gap) */
.gap-x-0 { column-gap: 0; }
.gap-x-1 { column-gap: var(--space-2); }
.gap-x-2 { column-gap: var(--space-4); }
.gap-x-3 { column-gap: var(--space-6); }
.gap-x-4 { column-gap: var(--space-8); }
.gap-x-5 { column-gap: var(--space-10); }
.gap-x-6 { column-gap: var(--space-12); }
.gap-x-8 { column-gap: var(--space-16); }

/* GAP Y (row gap) */
.gap-y-0 { row-gap: 0; }
.gap-y-1 { row-gap: var(--space-2); }
.gap-y-2 { row-gap: var(--space-4); }
.gap-y-3 { row-gap: var(--space-6); }
.gap-y-4 { row-gap: var(--space-8); }
.gap-y-5 { row-gap: var(--space-10); }
.gap-y-6 { row-gap: var(--space-12); }
.gap-y-8 { row-gap: var(--space-16); }

/* SPACE BETWEEN (Flexbox children) */
.space-x-1 > * + * { margin-left: var(--space-2); }
.space-x-2 > * + * { margin-left: var(--space-4); }
.space-x-3 > * + * { margin-left: var(--space-6); }
.space-x-4 > * + * { margin-left: var(--space-8); }
.space-x-6 > * + * { margin-left: var(--space-12); }
.space-x-8 > * + * { margin-left: var(--space-16); }

.space-y-1 > * + * { margin-top: var(--space-2); }
.space-y-2 > * + * { margin-top: var(--space-4); }
.space-y-3 > * + * { margin-top: var(--space-6); }
.space-y-4 > * + * { margin-top: var(--space-8); }
.space-y-6 > * + * { margin-top: var(--space-12); }
.space-y-8 > * + * { margin-top: var(--space-16); }

/* NEGATIVE MARGINS */
.-m-1 { margin: -0.5rem; }
.-m-2 { margin: -1rem; }
.-m-3 { margin: -1.5rem; }
.-m-4 { margin: -2rem; }

.-mx-1 { margin-left: -0.5rem; margin-right: -0.5rem; }
.-mx-2 { margin-left: -1rem; margin-right: -1rem; }
.-mx-3 { margin-left: -1.5rem; margin-right: -1.5rem; }
.-mx-4 { margin-left: -2rem; margin-right: -2rem; }

.-my-1 { margin-top: -0.5rem; margin-bottom: -0.5rem; }
.-my-2 { margin-top: -1rem; margin-bottom: -1rem; }
.-my-3 { margin-top: -1.5rem; margin-bottom: -1.5rem; }
.-my-4 { margin-top: -2rem; margin-bottom: -2rem; }

.-mt-1 { margin-top: -0.5rem; }
.-mt-2 { margin-top: -1rem; }
.-mt-3 { margin-top: -1.5rem; }
.-mt-4 { margin-top: -2rem; }

.-mb-1 { margin-bottom: -0.5rem; }
.-mb-2 { margin-bottom: -1rem; }
.-mb-3 { margin-bottom: -1.5rem; }
.-mb-4 { margin-bottom: -2rem; }

.-ml-1 { margin-left: -0.5rem; }
.-ml-2 { margin-left: -1rem; }
.-ml-3 { margin-left: -1.5rem; }
.-ml-4 { margin-left: -2rem; }

.-mr-1 { margin-right: -0.5rem; }
.-mr-2 { margin-right: -1rem; }
.-mr-3 { margin-right: -1.5rem; }
.-mr-4 { margin-right: -2rem; }

/* Inputs adicionais com Sistema Equilibrado */
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"] {
  height: 2.5rem;
  padding: var(--space-3) 1rem; /* 12px 16px - Sistema Equilibrado */
  border-radius: var(--radius-3xl); /* 24px - Pill style */
  border-width: 1px;
  border-color: #0003;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus {
  border-color: #0006;
}

/* Buttons genéricos com Sistema Equilibrado */
button {
  border-radius: var(--radius-3xl); /* 24px - Pill style */
  padding: var(--space-3) 1.5rem; /* 12px 24px - Sistema Equilibrado */
}

/* Cards e componentes com Sistema Equilibrado */
.card,
.article-card,
.section-card {
  border-radius: var(--radius-2xl); /* 20px */
  padding: var(--space-6); /* 24px - Sistema Equilibrado */
}

/* Badges e tags com Sistema Equilibrado */
.badge,
.tag,
.label {
  border-radius: var(--radius-2xl); /* 20px */
  padding: var(--space-1) 1rem; /* 4px 16px - Sistema Equilibrado */
  display: inline-flex;
  align-items: center;
  gap: var(--space-2); /* 8px */
}

/* Modals e dropdowns com Sistema Equilibrado */
.modal,
.dropdown-menu,
.popover {
  border-radius: var(--radius-2xl); /* 20px */
  padding: var(--space-6); /* 24px - Sistema Equilibrado */
}

/* Seções principais com Sistema Equilibrado */
.section {
  padding: var(--space-12) var(--space-8) /* 48px 32px */; /* 64px verticalmente - Sistema Equilibrado */
}

.section-large {
  padding: var(--space-16) var(--space-8) /* 64px 32px */; /* 96px verticalmente - Sistema Equilibrado */
}

.section-small {
  padding: var(--space-8) var(--space-6) /* 32px 24px */; /* 32px verticalmente - Sistema Equilibrado */
}

/* Container com padding horizontal equilibrado */
.container-padded {
  padding-left: var(--space-6); /* 24px */
  padding-right: var(--space-6); /* 24px */
}

/* Breadcrumbs com espaçamento equilibrado */
.breadcrumbs {
  gap: var(--space-2); /* 8px - Sistema Equilibrado */
  margin-bottom: var(--space-8); /* 32px - Sistema Equilibrado */
}

/* ================================================
   FASE 1: ACESSIBILIDADE (A11Y)
   WCAG 2.1 AA Compliance
   ================================================ */

/* FOCUS STATES - Visíveis e consistentes */
*:focus {
  outline: none;
}

*:focus-visible {
  outline: 3px solid #50CE5C;
  outline-offset: 2px;
  border-radius: var(--radius-default);
}

/* Botões com focus aprimorado */
.btn:focus-visible,
button:focus-visible {
  outline: 3px solid #50CE5C;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(80, 206, 92, 0.15);
}

/* Inputs com focus aprimorado */
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #50CE5C;
  outline-offset: 2px;
  border-color: #50CE5C;
  box-shadow: 0 0 0 4px rgba(80, 206, 92, 0.1);
}

/* Links com focus aprimorado */
a:focus-visible {
  outline: 2px solid #50CE5C;
  outline-offset: 2px;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  border-radius: var(--radius-sm);
}

/* Skip Navigation - Visível ao focar */
.skip-navigation {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: var(--space-4) 1.5rem;
  background: #50CE5C;
  color: white;
  font-weight: 500;
  border-radius: 0 0 var(--radius-2xl) 0;
  font-size: 1rem;
  text-decoration: none;
}

.skip-navigation:focus {
  left: 0;
  top: 0;
  outline: 3px solid #000;
  outline-offset: 2px;
}

/* Screen Reader Only - Mantém acessível mas oculta visualmente */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Contraste aprimorado para textos secundários */
.text-black-01\/40 {
  color: rgba(0, 0, 0, 0.6) !important; /* Melhor contraste */
}

/* Estados de erro acessíveis */
.error-message {
  color: #DC3545;
  font-size: 0.875rem;
  margin-top: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.error-message::before {
  content: '⚠';
  font-size: 1rem;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #DC3545;
  border-width: 2px;
}

input[aria-invalid="true"]:focus-visible,
select[aria-invalid="true"]:focus-visible,
textarea[aria-invalid="true"]:focus-visible {
  outline-color: #DC3545;
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

/* Estados desabilitados acessíveis */
button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Indicador de carregamento acessível */
.loading-spinner {
  border: 3px solid rgba(80, 206, 92, 0.2);
  border-top-color: #50CE5C;
  border-radius: var(--radius-full);
  width: 1.5rem;
  height: 1.5rem;

}

@keyframes spin {
  to 
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  * {
    outline-width: 2px !important;
  }

  .btn {
    border: 2px solid currentColor;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {

    scroll-behavior: auto !important;
  }
}

/* Print Styles - Acessibilidade */
@media print {
  .skip-navigation,
  button,
  .btn {
    display: none;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }
}

/* ================================================
   FASE 1: PERFORMANCE OPTIMIZATION
   ================================================ */

/* Smooth Scrolling com fallback */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-24); /* Altura do header fixo */
}

/* Font Loading Optimization */
@font-face {
  font-family: Ginto;
  src: url(/assets/ABCGintoVariable.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap; /* Já implementado, mantendo */
  font-style: normal;
}

/* Otimização de imagens via CSS */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Lazy loading helper */
img[loading="lazy"] {
  opacity: 0;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Content Visibility para listas longas */
.article-list > li {
  content-visibility: auto;
  contain-intrinsic-size: 200px;
}

/* GPU Acceleration para animações */
.btn,
.card,
.modal {
  backface-visibility: hidden;
}

/* Otimização de repaint */
.section-sidebar-link,
.sidenav-item {
  contain: layout style;
}

/* ================================================
   MICRO-INTERAÇÕES E ANIMAÇÕES - FASE 1
   Feedback visual e experiência polida
   ================================================ */

/* Transições suaves globais */
*:not(path):not(g) 

/* Links com underline animado */
a:not(.btn):not(.unstyled) {
  position: relative;
  text-decoration: none;
}

a:not(.btn):not(.unstyled)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: currentColor;
}

  width: 100%;
}

/* Botões com lift effect */
.btn,
button:not(.unstyled) {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:active,
button:not(.unstyled):active {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.card,
.article-card,
.section-card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Inputs com foco suave */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #50CE5C !important;
  box-shadow: 0 0 0 3px rgba(80, 206, 92, 0.15);
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #50CE5C;
  outline-offset: 2px;
}

/* Loading states */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-top-color: #50CE5C;
  border-radius: var(--radius-full);

}

@keyframes spin {
  to 
}

 }
  50% { opacity: 0.7; }
}

.pulse 

/* Fade in de conteúdo */
.fade-in 

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

/* Slide in from right */
.slide-in-right 

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

/* Skeleton loading para lazy content */
.skeleton {
  background: linear-gradient(
    90deg,
    #f0f0f0 25%,
    #e0e0e0 50%,
    #f0f0f0 75%
  );
  background-size: 200% 100%;

  border-radius: var(--radius-default);
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Success/Error feedback */
.success-feedback 

@keyframes successPulse {
  0%, 100% 
  50% 
}

.error-shake 

@keyframes shake {
  0%, 100% 
  10%, 30%, 50%, 70%, 90% 
  20%, 40%, 60%, 80% 
}

/* Tooltip base */
[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  padding: var(--space-2) 0.75rem;
  background: #2a2a2a;
  color: white;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
}

[data-tooltip]::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  border: 5px solid transparent;
  border-top-color: #2a2a2a;
  opacity: 0;
  pointer-events: none;
}

  opacity: 1;
}


/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Focus visible para acessibilidade */
*:focus-visible {
  outline: 2px solid #50CE5C;
  outline-offset: 2px;
}

/* Ripple effect em botões */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.5);
}

.btn-ripple:active::after {
  width: 300px;
  height: 300px;
}

/* Notification badge pulse */
.notification-badge 

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(80, 206, 92, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(80, 206, 92, 0);
  }
}

}

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


/* Glow effect */

.breadcrumbs a 

/* Menu items slide in */
.menu-item {
  opacity: 0;

}

 }
 }
 }
 }
 }

@keyframes slideIn {
  to {
    opacity: 1;
  }
}

}

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

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {

    scroll-behavior: auto !important;
  }
}

/* ================================================
   DARK MODE SYSTEM - FASE 2
   Sistema completo de tema escuro
   ================================================ */

/* CSS Variables para temas */
:root {
  /* Border Radius - Tailwind System */
  --radius-none: 0;
  --radius-sm: 0.125rem;      /* 2px  - Badges pequenas, elementos mínimos */
  --radius-default: 0.25rem;  /* 4px  - Padrão, focus outlines */
  --radius-md: 0.375rem;      /* 6px  - Inputs, buttons, tags */
  --radius-lg: 0.5rem;        /* 8px  - Cards pequenos */
  --radius-xl: 0.75rem;       /* 12px - Cards médios */
  --radius-2xl: 1rem;         /* 16px - Cards grandes */
  --radius-3xl: 1.5rem;       /* 24px - Hero, dropzone, elementos grandes */
  --radius-full: 9999px;      /* Circular - Avatares, badges circulares */

  /* Light Mode (default) */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F0F0E6;
  --bg-tertiary: #D2D2C8;
  --text-primary: #000000;
  --text-secondary: rgba(0, 0, 0, 0.6);
  --text-tertiary: rgba(0, 0, 0, 0.4);
  --border-color: rgba(0, 0, 0, 0.1);
  --accent: #50CE5C;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.15);
  --overlay: rgba(0, 0, 0, 0.5);
}

/* Dark Mode - Auto (prefers-color-scheme) */

}

/* Dark Mode - Manual Toggle */

/* Light Mode - Manual Toggle (força light) */
[data-theme="light"] {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F0F0E6;
  --bg-tertiary: #D2D2C8;
  --text-primary: #000000;
  --text-secondary: rgba(0, 0, 0, 0.6);
  --text-tertiary: rgba(0, 0, 0, 0.4);
  --border-color: rgba(0, 0, 0, 0.1);
  --accent: #50CE5C;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.15);
  --overlay: rgba(0, 0, 0, 0.5);
}

/* Aplicar variáveis aos elementos */
body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

/* Headers e navegação */
header {
  background-color: var(--bg-primary);
  border-color: var(--border-color);
}

/* Cards e containers */
.card,
.article-card,
.section-card,
.upload-dropzone,
.article-feedback-container {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-color);
}

/* Inputs e forms */
input,
textarea,
select {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  border-color: var(--border-color);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-tertiary);
}

/* Botões secundários */
.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-color);
}

/* Links */
a:not(.btn) {
  color: var(--text-primary);
}

/* Borders */
.border-black-01\/10,
.border-t,
.border-b,
.border-l,
.border-r {
  border-color: var(--border-color);
}

/* Shadows */
.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

/* Code blocks em dark mode */
[data-theme="dark"] pre,

}

/* Imagens em dark mode (opacidade reduzida) */
[data-theme="dark"] img:not(.logo),

}

/* Toggle Button Styles */

/* Ícones do toggle */

[data-theme="dark"]

/* Skeleton em dark mode */
[data-theme="dark"] .skeleton,

}

/* Tooltips em dark mode */
[data-theme="dark"] [data-tooltip]::before,

}

[data-theme="dark"] [data-tooltip]::after,

}

}

/* Preservar transições de animação */

  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

/* Search input melhorado */
.search-input-enhanced {
  width: 100%;
  padding: var(--space-3) 3rem 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-3xl);
  font-size: 1rem;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.search-input-enhanced:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(80, 206, 92, 0.15);
  outline: none;
}

/* Search icon */
.search-icon-wrapper {
  position: absolute;
  right: var(--space-4);
  top: 50%;
  color: var(--text-tertiary);
  pointer-events: none;
}

/* Loading indicator na busca */
.search-loading {
  position: absolute;
  right: var(--space-4);
  top: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-top-color: var(--accent);
  border-radius: var(--radius-full);

}

/* Sugestões de busca (dropdown) */
.search-suggestions {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  max-height: 400px;
  overflow-y: auto;
  z-index: 100;

}

.search-suggestions.hidden {
  display: none;
}

/* Item de sugestão */
.search-suggestion-item {
  padding: var(--space-3) 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-bottom: 1px solid var(--border-color);
}

.search-suggestion-item:last-child {
  border-bottom: none;
}

.search-suggestion-item.active {
  background-color: var(--bg-secondary);
}

.search-suggestion-item svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-tertiary);
}

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

.search-suggestion-title {
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-suggestion-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-suggestion-category {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  background: var(--bg-secondary);
  padding: var(--space-1) 0.5rem;
  border-radius: var(--radius-default);
  flex-shrink: 0;
}

/* Highlight de termos na busca */
.search-highlight {
  background: rgba(80, 206, 92, 0.2);
  font-weight: 600;
  padding: 0 0.25rem;
  border-radius: var(--radius-sm);
}

/* Seção de sugestões populares */
.search-popular {
  padding: var(--space-4);
  border-top: 1px solid var(--border-color);
}

.search-popular-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.search-popular-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.search-popular-tag {
  font-size: 0.875rem;
  padding: var(--space-1) 0.75rem;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: var(--radius-2xl);
  cursor: pointer;
}

/* Histórico de buscas */
.search-history {
  padding: var(--space-4);
}

.search-history-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-history-clear {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  cursor: pointer;
}

.search-history-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  cursor: pointer;
}

.search-history-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--text-tertiary);
}

/* Filtros de busca */
.search-filters {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-3) 1rem;
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.search-filter-btn {
  font-size: 0.875rem;
  padding: var(--space-2) var(--space-4) /* 8px 16px */;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  cursor: pointer;
  white-space: nowrap;
}

.search-filter-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* No results */
.search-no-results {
  padding: var(--space-8);
  text-align: center;
  color: var(--text-secondary);
}

.search-no-results svg {
  width: 3rem;
  height: 3rem;
  color: var(--text-tertiary);
  margin-bottom: var(--space-4);
}

/* Keyboard shortcuts hint */
.search-shortcuts {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  padding: var(--space-2) 1rem;
  background: var(--bg-secondary);
}

.search-shortcuts kbd {
  padding: var(--space-0-5) 0.375rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-default);
  font-family: monospace;
  font-size: 0.75rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .search-suggestions {
    max-height: 60vh;
  }

  .search-suggestion-excerpt {
    display: none;
  }

  .search-filters {
    padding: var(--space-2);
  }
}

/* ================================================
   TABLE OF CONTENTS (TOC) - FASE 2
   Navegação dentro de artigos longos
   ================================================ */

/* Container do TOC */
.table-of-contents {
  position: sticky;
  top: var(--space-24);
  padding: var(--space-6);
  background: var(--bg-secondary);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-color);
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
}

.table-of-contents.collapsed {
  padding: var(--space-3);
}

/* Header do TOC */
.toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-color);
}

.toc-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
  text-
  letter-spacing: 0.05em;
}

.toc-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-1);
  color: var(--text-tertiary);
}

.toc-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.table-of-contents.collapsed .toc-toggle svg 

/* Lista do TOC */
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.table-of-contents.collapsed .toc-list {
  display: none;
}

.toc-item {
  margin: 0;
}

/* Links do TOC */
.toc-link {
  display: block;
  padding: var(--space-2) var(--space-3) /* 8px 12px */;
  padding-left: var(--space-3);
  color: var(--text-secondary);
  text-decoration: none;
  border-left: 2px solid transparent;
  font-size: 0.875rem;
  line-height: 1.4;
}

.toc-link.active {
  color: var(--accent);
  border-left-color: var(--accent);
  font-weight: 500;
  padding-left: var(--space-4);
  background: rgba(80, 206, 92, 0.1);
}

/* Níveis de heading */
.toc-item[data-level="2"] .toc-link {
  padding-left: var(--space-3);
}

.toc-item[data-level="3"] .toc-link {
  padding-left: var(--space-6);
  font-size: 0.8125rem;
}

.toc-item[data-level="4"] .toc-link {
  padding-left: var(--space-9);
  font-size: 0.75rem;
}

/* Progress bar no TOC */
.toc-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0%;
  background: var(--accent);
  border-radius: 0 0 var(--radius-default) 0;
}

/* Scrollbar customizado */
.table-of-contents::-webkit-scrollbar {
  width: 6px;
}

.table-of-contents::-webkit-scrollbar-track {
  background: var(--bg-primary);
  border-radius: var(--radius-default);
}

.table-of-contents::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-default);
}

/* Contador de leitura */
.toc-reading-time {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-color);
}

.toc-reading-time svg {
  width: 1rem;
  height: 1rem;
}

/* Mobile adjustments */
@media (max-width: 1024px) {
  .table-of-contents {
    position: static;
    max-height: none;
    margin-bottom: var(--space-8);
  }
}

@media (max-width: 768px) {
  .table-of-contents {
    padding: var(--space-4);
  }

  .toc-item[data-level="3"] .toc-link,
  .toc-item[data-level="4"] .toc-link {
    display: none;
  }
}

/* Animação de entrada */
.table-of-contents.fade-in-toc 

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

/* Empty state */
.toc-empty {
  padding: var(--space-4);
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

/* ================================================
   RELATED ARTICLES - FASE 2
   Artigos relacionados inteligentes
   ================================================ */

/* Seção de artigos relacionados */
.related-articles-section {
  background: var(--bg-secondary);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  margin-top: var(--space-12);
  border: 1px solid var(--border-color);
}

.related-articles-section h3 {
  color: var(--text-primary);
  margin-bottom: var(--space-6);
}

/* Grid de artigos relacionados */
#related-articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

/* Card de artigo relacionado */
.related-article-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: var(--space-5) /* 20px - Ligeiramente menor que cards principais */;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Badge de categoria */
.related-article-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) 0.75rem;
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-2xl);
  text-
  letter-spacing: 0.05em;
  align-self: flex-start;
}

/* Título do artigo relacionado */
.related-article-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0;
}

.related-article-title a {
  color: inherit;
  text-decoration: none;
}

/* Excerpt do artigo */
.related-article-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Metadata */
.related-article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-color);
}

.related-article-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.related-article-meta svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* Ícone de tipo de conteúdo */
.related-article-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  color: var(--accent);
  flex-shrink: 0;
}

.related-article-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Score de relevância (opcional) */
.related-article-relevance {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: rgba(80, 206, 92, 0.1);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: var(--space-1) 0.5rem;
  border-radius: var(--radius-default);
}

/* Loading state */
.related-articles-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-12);
  color: var(--text-tertiary);
}

/* Empty state */
.related-articles-empty {
  text-align: center;
  padding: var(--space-12);
  color: var(--text-secondary);
}

.related-articles-empty svg {
  width: 3rem;
  height: 3rem;
  color: var(--text-tertiary);
  margin-bottom: var(--space-4);
}

/* Mobile adjustments */


/* Classe utilitária de card genérico */
.card {
  padding: var(--space-6); /* 24px */
  margin-bottom: var(--space-8); /* 32px */
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .related-articles-section {
    padding: var(--space-6);
  }

  #related-articles {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .related-article-card {
    padding: var(--space-4);
  }

  .related-article-excerpt {
    -webkit-line-clamp: 3;
  }
}

/* Animação de entrada */
.related-article-card {
  opacity: 0;

}

 }
 }
 }
 }
 }
 }

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

/* ============================================================================
   FEEDBACK COMPONENT - Seção "Essa resposta foi útil?"
   ============================================================================ */

/* Container Principal */
.feedback-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
}

/* Texto da Pergunta */
.feedback-question {
  font-family: "ABC Ginto", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 26px;
  color: #000000;
  text-align: center;
  min-width: 100%;
  width: min-content;
  flex-shrink: 0;
  position: relative;
  margin: 0;
}

/* Container dos Botões */
.feedback-buttons-container {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

/* Botão Base (Sim e Não) */
.feedback-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: rgba(120, 120, 128, 0.08);
  border: none;
  border-radius: 32px;
  box-sizing: border-box;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: "ABC Ginto", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 26px;
  color: #000000;
  white-space: nowrap;
  text-wrap: nowrap;
}

/* Hover state para os botões */
.feedback-button:hover {
  background-color: rgba(120, 120, 128, 0.15);
}

/* Active/Pressed state para os botões */
.feedback-button:active,
.feedback-button[aria-pressed="true"] {
  background-color: rgba(120, 120, 128, 0.2);
}

/* Texto de Contador de Usuários */
.feedback-counter-text {
  font-family: "ABC Ginto", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 26px;
  color: #000000;
  text-align: center;
  white-space: pre;
  text-wrap: nowrap;
  flex-shrink: 0;
  position: relative;
  margin: 0;
}

/* Responsivo - Mobile */
@media (max-width: 768px) {
  .feedback-question,
  .feedback-button,
  .feedback-counter-text {
    font-size: 18px;
    line-height: 24px;
  }
  
  .feedback-button {
    padding: 10px 20px;
  }
  
  .feedback-buttons-container {
    gap: 12px;
  }
}
