:root {
      --gold: #bfa76f;
      --goldcolor: #fde03e;
      --dark: #0d0d0d;
      --light: #f5f5f5;
      --marrom: #791D00;
}

/* =============================
   RESET & BASE
============================= */
img {
      max-width: 100%;
      display: block;
      height: auto;
}
a {
      text-decoration: none;
      color: inherit;
      color: var(--gold);
      text-decoration: none;
}

/* =============================
   CONTAINERS GERAIS
============================= */
main {
      max-width: 1280px;
      margin: auto;
}
.title {
      font-size: 1.6rem;
      text-align: center;
      margin-bottom: 40px;
      color: var(--light);
}

.wrapper {
      max-width: 1280px;
      width: 100%;
      margin: 0 auto;
      background-color: var(--dark);
      color: var(--goldcolor);
      line-height: 1.6;
      box-sizing: border-box;
}

/* ==== FUNDO DE TELA RESPONSIVO ==== */
#home {
      width: 100%;
      margin: 0 auto;
      min-height: 100vh;
      border-bottom: var(--gold) 1px solid;
      background-image: url(/ASSETS/image/swapa-fundo.jpg);
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center center;
      background-attachment: fixed;
}

.container-home {
      max-width: 1280px;
      width: 100%;
      margin: 0 auto;
      box-sizing: border-box;
}

/* ==== SEÇÃO HOME (corrigida para conter a imagem) ==== */
.home-section {
      position: relative;
      min-height: 100vh;
      padding-bottom: 160px; /* Espaço para a imagem */
}

.header {
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.5rem 10px; /* igual ao restante do site */
      font-size: 20px;
      background-color: rgba(0, 0, 0, 0.7);
      box-sizing: border-box;
}

.logo {
      display: flex;
      align-items: center;
      width: 166px;
      height: 90px;
      font-weight: 800;
      color: var(--gold);
      text-decoration: none;
}

.logo img {
      width: 100%;
      height: auto;
      display: block;
}

.header-esq {
      display: flex;
}

.menu {
      list-style: none;
      display: flex;
      gap: 0.5rem;
}

.menu a {
      display: block;
      padding: 1rem;
      border-radius: 0.5rem;
      text-decoration: none;
      color: var(--gold);
      font-weight: 700;
}

.menu a:hover {
      color: var(--goldcolor);
}

.btn-menu {
      display: none;
}

.nav-rodape {
      display: none;
}

.home-section {
      width: 100%;
      display: flex;
      flex-direction: column;
}

.container-direita {
      position: absolute;
      top: 20px;
      right: 139px;
      display: flex;
      flex-direction: column;
      gap: 20px; /* espaço entre bandeira e botão */
      align-items: flex-end;
}

/* Bandeira */
.box-bandeira {
      width: 60px;
      height: 60px;
}

.box-bandeira img {
      width: 100%;
      height: 100%;
      border-radius: 100%;
}

/* Botão whitepaper */
.whitepaper {
      width: 140px;
      height: 90px;
      display: flex;
      justify-content: center;
      align-items: center;
      flex: 0 0 auto;
}

.whitepaper .btn-1 {
      width: 100%;
      height: 100%;
      font-size: 0.9rem;
      padding: 0;
      border-radius: 12px;
      background-color: #111;
      color: var(--gold);
      text-align: center;
      line-height: 1.2;
      white-space: normal;
      word-break: break-word;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
}

.whitepaper .btn-1:hover {
      background-color: #d8be84;
      color: #111;
}

.whitepaper .btn-1 span {
      display: block;
      line-height: 1.2;
}



/*--Modal -- */
.modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 10px;
}

.modal-conteudo {
      background: #111;
      width: 90%;              /* 90% da tela (ou seja, 1152px em 1280px) */
      max-width: 1152px;       /* Evita ultrapassar mesmo em telas maiores */
      max-height: 90vh;        /* Limita altura para evitar estouro vertical */
      margin: auto;
      padding: 30px;           /* Espaçamento interno agradável */
      overflow-y: auto;
      border-radius: 10px;
      box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
      position: relative;
      display: flex;
      flex-direction: column;
}

.modal-conteudo img {
      width: 200px;
      height: auto;
}

.modal-conteudo ul li {
      color: var(--gold);
      line-height: 1.7rem;
      margin-top: 1rem;
}

.modal-conteudo p {
      color: var(--gold);
      line-height: 1.7rem;
      margin-top: 1rem;
}

.modal-conteudo p,
.modal-conteudo br,
.modal-conteudo .breakable {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* === RESPONSIVO === */
@media (max-width: 768px) {
      .modal-conteudo {
            padding: 1.2rem;
            width: 95%;
            max-height: 90vh;
      }

      .modal-conteudo h2.title {
            font-size: 1.5rem;
      }

      .modal-conteudo h3.modal-title {
            font-size: 1.2rem;
      }

      .modal-conteudo p,
      .modal-conteudo li {
            font-size: 0.95rem;
      }

      .modal-conteudo .fechar {
            font-size: 1.5rem;
            top: 0.5rem;
            right: 0.7rem;
      }

      .modal-conteudo img {
            max-width: 140px;
      }
}

@media (max-width: 480px) {
      .modal-conteudo {
            padding: 1rem;
      }

      .modal-conteudo h2.title {
            font-size: 1.3rem;
      }

      .modal-conteudo h3.modal-title {
            font-size: 1rem;
      }

      .modal-conteudo p,
      .modal-conteudo li {
            font-size: 0.9rem;
      }

      .modal-conteudo img {
            max-width: 120px;
      }
}

.bi-4-circle-fill {
      margin-left: -32px;
}

.span {
      font-size: 1.5rem;
      font-style: italic;
}


/* Botão de fechar */
.fechar {
      position: absolute;
      top: 15px;
      right: 20px;
      font-size: 26px;
      cursor: pointer;
}

.bi {
      color: var(--goldcolor);
      font-size: 1.5rem;
}

/* ==== EFEITO DE PULSAR E ROTACIONAR DA MOEDA ==== */
.pulsando-rotacionando {
      position: absolute;
      bottom: 100px; /* encostado no final da seção */
      right: 135px; /* margem direita conforme solicitado */
      animation: pulsarERodar 6s ease-in-out infinite;
      transform-origin: center;
      width: 250px;
      height: auto;
}

.pulsando-rotacionando img {
      width: 100%;
      height: auto;
      display: block;
}

/* Animação corrigida */
@keyframes pulsarERodar {
      0% {
            transform: scale(1) rotate(0deg);
            opacity: 1;
      }
      25% {
            transform: scale(1.05) rotate(5deg);
            opacity: 0.8;
      }
      50% {
            transform: scale(1.08) rotate(10deg);
            opacity: 0.5;
      }
      75% {
            transform: scale(1.05) rotate(5deg);
            opacity: 0.8;
      }
      100% {
            transform: scale(1) rotate(0deg);
            opacity: 1;
      }
}

#sobre {
      width: 100%;
      min-height: 100vh;
}

.container-tela {
      display: flex;
      flex-wrap: wrap;
      width: 100%;
      max-width: 1200px; /* opcional: controle de largura */
      margin: 0 auto;
}


.box,
.box_middle {
      padding: 10px;
      box-sizing: border-box;
}

.box {
      width: 30%;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 40px 0;
}

.box .moeda {
      width: 250px; /* ajuste conforme necessário */
      animation: girarMoeda 2s linear infinite;
      transform-style: preserve-3d;
}

@keyframes girarMoeda {
      0% {
            transform: rotateY(0deg);
      }
      100% {
            transform: rotateY(360deg);
      }
}


.box_middle {
      width: 40%;
      display: flex;
      justify-content: center;
      align-items: center;
      padding-top: 45px;
}

.box p,
.box_middle p {
      margin-left: 10px;
      margin-right: 10px;
}

.box_img img,
.box_middle img {
      width: 100%;
      height: auto;
      object-fit: contain;
}

.box_img {
      width: 250px;
      height: auto;
}

#contato {
      padding: 10px 0;
      text-align: center;
      width: 100%;
      height: 65vh;
      line-height: 40px;
}

#contato .logo {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 30px
}

#contato .logo img {
      width: 200px;
      height: auto;
}

/* Animação da logo */
@keyframes girar {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
}


/* =============================
   SEÇÃO: MAIS SOBRE
============================= */
.container_mais_sobre {
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      justify-content: center;
}

.box_descric {
      background: #1a1a1a;
      border-radius: 10px;
      padding: 20px;
      width: 100%;
      max-width: 580px;
      box-shadow: 0 0 10px #000;
}

.box_descric .p-pri {
      font-weight: bold;
      margin-bottom: 10px;
      color: var(--light);
}

.box_descric p {
      padding: 5px 0 5px 0;
}

.hash-break {
      word-break: break-all;
      font-size: 0.9rem;
      color: #aaa;
}

.comunidades {
      margin-top: 60px;
      text-align: center;
      min-height: 70vh;
}


.comunidades h3 {
      color: var(--light);
}

.box_ {
      display: flex;
      width: 40%;
      margin: 20px auto;
      justify-content: space-between;
}

.box_ a {
      font-size: 2rem;
      margin: 10px;
      color: var(--goldcolor);
      text-decoration: none;
}
.moeda-container {
      margin-top: 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
}

/* Moeda girando */
.girar_dinheiro {
      width: 150px;
      animation: girar 8s linear infinite;
      transform-origin: center center;
}

@keyframes girarDinheiro {
      0% {
            transform: rotateZ(0deg);
      }
      100% {
            transform: rotateZ(360deg);
      }
}

/* =============================
   SEÇÃO: FOTO DIRETORIA
============================= */
.image-diretoria {
      width: 1280px;
      height: auto;
}

.image-diretoria imge {
      width: 100%;
      height: auto;
}


/* =============================
   SEÇÃO: TOKENOMICS
============================= */
#tokenomics {
      margin-top: 50px;
      min-height: 80vh;
}

.tokenomics-grid {
      display: grid;
      grid-template-columns: 210px 120px 270px; /* colunas fixas */
      gap: 2px;
      width: fit-content; /* impede que o grid tente se ajustar ao container */
      margin: 20px auto;
}

.tokenomics-grid > div {
      padding: 12px;
      border: 1px solid #333;
      background-color: #0d0d0d;
      font-size: 1rem;
      word-break: break-word;
      overflow-wrap: break-word;
      color: var(--gold);
}

/* Cabeçalhos */
.tokenomics-grid .header {
      font-weight: bold;
      color: var(--light);
      background: #222;
}

/* Mostra só em telas grandes */
.texto-desktop {
  display: inline;
}

/* Mostra só em telas pequenas */
.texto-mobile {
  display: none;
}

/* =============================
   SEÇÃO: ROADMAP
============================= */
#roadmap {
      margin-top: 80px;
      min-height: 70vh;
}


.roadmap-grid {
      display: grid;
      grid-template-columns: 110px 400px;
      gap: 2px;
      width: fit-content;
      margin: 40px auto;
}

.roadmap-grid > div {
      padding: 12px;
      border: 1px solid #333;
      background-color: #0d0d0d;
      font-size: 1rem;
      word-break: break-word;
      overflow-wrap: break-word;
      color: var(--gold);
} 

.roadmap-grid .header {
      font-weight: bold;
      color: var(--light);
      background: #222;
}

/* =============================
       FOOTER
============================= */
footer {
      background-color: #111;
      text-align: center;
      color: var(--light);
      display: flex;
      flex-direction: column;
}

.container-footer {
      display: flex;
      width: 100%;
      height: 22vh;
      background-color: #000;
      padding: 20px 0;
}

.container-footer .footer-box-duplo {
      display: flex;
      width: 50%;
      justify-content: space-around;
}

.container-footer .footer-box-duplo .footer-box {
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: center; /* Centraliza horizontalmente */
      align-items: center; /* Centraliza verticalmente */  
}

.container-footer .footer-box p {
      font-size: 0.8rem;
}

.container-footer .footer-box img {
      width: 100px;
      height: 100px;
      border-radius: 100%;
}

footer .p-footer {
      margin-top: 30px;
}

.fabricante {
      background: #000;
      color: var(--light);
      text-align: center;
      font-size: 0.7rem;
      width: 100%;
      height: 15vh;
      padding-top: 40px;
      line-height: 0.3rem;
}
/* =============================
   GERAL: BOTÕES E LINKS
============================= */
button, .btn {
      background: #00ffff;
      color: #000;
      border: none;
      padding: 12px 24px;
      border-radius: 8px;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s;
}
button:hover, .btn:hover {
      background: #00bbbb;
}

/* =============================
   FIX: EVITA VAZAMENTO EM TELAS GRANDES
============================= */
body {
      max-width: 100vw;
      overflow-x: hidden;
}

/* =============================
   SCROLLBAR PERSONALIZADA (Opcional)
============================= */
::-webkit-scrollbar {
      width: 8px;
}
::-webkit-scrollbar-thumb {
      background: #00ffff;
      border-radius: 10px;
}
::-webkit-scrollbar-track {
      background: #1a1a1a;
} 



/* ========================================
   RESPONSIVIDADE UNIFICADA - SWAPA CRYPTO
   ======================================== */

/* Telas abaixo de 920px - Menu */
@media (max-width: 1006px) {
      .container-direita {
            top: 20px;
            right: 95px;
      }
}

@media (max-width: 920px) {
      .menu {
            display: block;
            position: absolute;
            top: 5.0275rem;
            left: 0;
            background: linear-gradient(135deg,#0d0e20 0%, #0d0e20 85%, #0d1f29 92%, #15173e 100%);
            background-repeat: no-repeat;
            background-size: cover;
            text-align: center;
            width: 100%;
            height: 100vh;
            z-index: 1000;
            visibility: hidden;
            overflow-y: hidden;
            transition: 0.5s;
      }

      .menu a {
            padding: 1rem 0;
            margin-inline: 1rem;
            border-bottom: 0.0625rem solid rgba(0, 0, 0, 0.16);
            border-radius: 0;
      }

      .btn-menu {
            background: none;
            border: none;
            font: inherit;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #999;
            padding-block: 1rem;
            cursor: pointer;
      }

      .hamburger {
            border-top: 0.125rem solid;
            width: 1.25rem;
      }

      .hamburger::before,
      .hamburger::after {
            content: " ";
            display: block;
            width: 1.25rem;
            height: 0.125rem;
            background-color: currentColor;
            margin-top: 0.3125rem;
            position: relative;
            transition: 0.4s;

      }

      .nav.active .menu {
            height: calc(100vh - 8.6875rem);
            visibility: visible;
            overflow-y: auto;

      }

      .nav.active .hamburger {
            border-top-color: transparent;
      }

      .nav.active .hamburger::before {
            transform: rotate(135deg);
      }

      .nav.active .hamburger::after {
            transform: rotate(-135deg);
            top: -0.4375rem;
      }

      .nav-rodape {
            color: #999;
            position: absolute;
            bottom: 0;
            height: 35px;
            line-height: 5px;
            text-align: center;
            width: 100%;
            display: block;
      }

      .container-direita {
            top: 20px;
            right: 20px;
      }

}

@media (max-width: 750px) {
      .container-direita {
            top: 180px;
            right: 20px;
      }

}

/* RESPONSIVO: TOKENOMICS MANTÉM GRID */
@media (max-width: 768px) {
      .comunidades .box_ {
            width: 90%;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
      }

      .box,
      .box_middle {
            width: 100%;
            padding: 20px 5px;
      }

      .container-tela {
            margin: 0 5px;
      }

      .sub-menu {
            gap: 10px;
            padding: 10px;
            right: 5px;
            left: 5px;
      }

      .sub-menu .whitepaper,
      .sub-menu .box-bandeira {
            margin-top: 140px;
            width: 29%;
            justify-content: center;
      }

      .pulsando-rotacionando {
            right: 10px;
            width: 180px;
      }

      #mais_sobre .container_mais_sobre {
            flex-direction: column;
            margin: 0 5px;
      }

      #mais_sobre .container_mais_sobre .box_descric {
            width: 100%;
            padding: 5px;
      }

      .comunidades .moeda-container {
            height: 150px;
      }

      .tokenomics-grid {
            grid-template-columns: 160px 100px 230px; /* colunas fixas */
      }

      .tokenomics-grid > div {     
            font-size: 0.8rem;    
      }

      .roadmap-grid {
            grid-template-columns: 90px 330px;
      }

      .roadmap-grid > div {     
            font-size: 0.8rem;    
      }

      .container-footer {      
            height: 50vh;
            padding: 20px 0;
}

      .container-footer .footer-box-duplo {
            flex-direction: column;
      }
}

@media (max-width: 535px) {
      .comunidades {
            min-height: 90vh;
      }

      #tokenomics {
            padding-top: 50px;
            min-height: 80vh;
      }
}

/* === AJUSTES GERAIS DE MARGEM EM TELAS MENORES === */
@media (max-width: 530px) { 
      .box_img,
      .box .moeda,
      .comunidades .moeda-container .girar_dinheiro {
            width: 100%;
            max-width: 180px;
      }

      .button {
            width: 100%;
            padding: 0.6rem;
      }

      .sub-menu img {
            width: 90px;
      }

      .tokenomics-grid {
            grid-template-columns: 145px 50px 175px; /* colunas fixas */
      }

      .tokenomics-grid > div {     
            font-size: 0.7rem;    
      }

      .texto-desktop {
            display: none;
      }

      .texto-mobile {
            display: inline;
      }

      .roadmap-grid {
            grid-template-columns: 85px 282px;
      }

      .roadmap-grid > div {     
            font-size: 0.7rem;    
      }

      .nav-rodape {
            font-size: 0.9rem;
      }
}
}


@media (max-width: 387) {
      .tokenomics-grid {
            grid-template-columns: 36px 16px 35px; /* colunas fixas */
      }

      .tokenomics-grid > div {     
            font-size: 0.5rem;    
      }

      .texto-desktop {
            display: none;
      }

      .texto-mobile {
            display: inline;
      }

      .comunidades {
            min-height: 130vh;
      }

      .roadmap-grid {
            grid-template-columns: 55px 250px;
      }

      .roadmap-grid > div {     
            font-size: 0.5rem;    
      }

}