:root {
  --bg: #070707;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-2: rgba(255, 255, 255, 0.045);
  --text: #f8f8f8;
  --muted: #c4c4c4;
  --line: rgba(255, 255, 255, 0.08);
  --gold: #FFBF00;
  --gold-soft: #ffd86a;
  --silver: #E6E6E6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;

  --container-max: 1280px;
  --container-gutter: 24px;
}

/* ============================= */
/* RESET / BASE */
/* ============================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top, #111 0%, #090909 34%, #050505 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================= */
/* ELEMENTOS GERAIS */
/* ============================= */

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 310px;
}

img {
  height: auto;
}

input,
textarea,
select {
  min-width: 0;
}

textarea {
  resize: vertical;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}

strong {
  font-weight: 700;
}

small {
  font-size: smaller;
}

/* ============================= */
/* TIPOGRAFIA BASE */
/* ============================= */

h1,
h2,
h3 {
  line-height: 1.1;
}

p {
  line-height: 1.6;
}

/* ============================= */
/* ESTRUTURA GLOBAL */
/* ============================= */

.container {
  width: min(calc(100% - 64px), 1400px);
  margin: 0 auto;
}

.section {
  padding: 20px 0;
}
@media (max-width: 768px) {
  :root {
    --container-gutter: 12px;
  }

  .section {
    padding: 54px 0;
  }
}
.field-grid {
  display: grid;
  gap: 18px;
}

/* ============================= */
/* HELPERS */
/* ============================= */

.hidden {
  display: none !important;
}

/* ============================= */
/* FOCO / ACESSIBILIDADE */
/* ============================= */

:focus-visible {
  outline: 2px solid rgba(255, 191, 0, 0.55);
  outline-offset: 2px;
}

/* ============================= */
/* RESPONSIVO BASE */
/* ============================= */

@media (max-width: 768px) {
  .container {
    width: calc(100% - 24px);
    margin: 0 auto;
  }

  .section {
    padding: 54px 0;
  }
}
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  min-width: 260px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,191,0,.25);
  background: linear-gradient(180deg, rgba(20,20,20,.95), rgba(10,10,10,.95));
  color: #f8f8f8;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  transform: translateY(-10px);
  opacity: 0;
  animation: toastIn .25s ease forwards;
}

.toast.success {
  border-color: rgba(0,200,100,.4);
}

.toast.error {
  border-color: rgba(255,80,80,.4);
}

@keyframes toastIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .header {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .nav {
    overflow: visible;
  }

  .header-actions,
  #publicHeaderActions {
    position: relative;
    overflow: visible;
  }
}
