body{
  margin:0;
  background:#111;
  color:white;
  font-family:Arial;
}

/*LOGO*/
.logo img{
  height:60px;
}

/* BANNER */
.banner{
  width:100%;
  height:600px;
  background:url('./img/banner.jpg');;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:32px;
  margin-top:63px; /* compensa menu fixo */
}

/* MENU */
.menu{
  width:100%;
  background:#000;
  position:fixed;
  top:0;
  left:0;
  z-index:1000;
}

.menu-container{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 40px;
  box-sizing:border-box;
}

/* MENU HORIZONTAL */
.menu ul{
  list-style:none;
  display:flex;
  gap:40px;
  margin:0;
  padding:0;
}

.menu a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  text-transform: uppercase;
  position: relative;
}

.menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #298ee5;
  transition: width 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
}

/* HAMBURGER */
.hamburger{
  position:fixed;
  top:20px;
  right:20px;
  display:none;
  font-size:28px;
  background:#000;
  color:white;
  border:none;
  padding:10px 15px;
  cursor:pointer;
  z-index:2000;
  border-radius: 50%;
}

/* ===== MODO LIVE ===== */

.controls button{
  background:#333;
  border:none;
  color:white;
  padding:8px 12px;
  cursor:pointer;
  border-radius:4px;
}

.controls button:hover{
  background:#298ee5;
}

/* remove fundo da barra */
.menu.live-mode{
  background:transparent;
}

/* esconde apenas menu horizontal */
.menu.live-mode #menuList{
  display:none;
}

/* dropdown aberto */
.menu.live-mode #menuList.show{
  display:flex;
  flex-direction:column;
  position:fixed;
  top:70px;
  right:20px;
  background:#000;
  padding:20px;
  gap:20px;
  z-index:3000;
}

/* LIVE AREA */
.live-area{
  display:none;
  position:relative;
  height:900px;
}

/* BOX DRAG */
.box{
  position:absolute;
  background:#1a1a1a;
  border:1px solid #333;
  resize:both;
  overflow:auto;
  min-width:300px;
  min-height:200px;

  /* esconder scrollbar */
  scrollbar-width: none;          /* Firefox */
}

.box::-webkit-scrollbar{
  display: none;                  /* Chrome, Edge */
}

.box .content{
  width:100%;
  height:calc(100% - 30px);
  overflow:hidden;
}

.box iframe{
  width:100%;
  height:calc(100% - 30px);
  border:none;
  pointer-events:auto;
}

.header{
  height:30px;
  background:#000;
  cursor:move;
  padding:5px;
  font-size:14px;
}

/* CONTROLS */
.controls{
  position:fixed;
  top:0; /* abaixo do menu fixo */
  left:50%;
  transform:translateX(-50%);
  background:#000;
  padding:10px 20px;
  display:flex;
  gap:10px;
  z-index:1500;
  border-radius:8px;
}

/* SEÇÕES */
.page-section{
  padding: 60px 0;
}

.black{background-color: #000;}

/* SCROLL SUAVE */
html{
  scroll-behavior:smooth;
}

/*TITLE*/
.title{
  text-align: center;
  font-size: 24px;
  margin-bottom: 30px;
  font-weight: bold;
}

.fa-crosshairs{
  color: #298ee5; 
}

/* NEWS */
#editor {
  height: 520px;
}

.ql-editor {
  height: 520px;
  font-size: 14px;
}

.content-news {
  width: calc(100% - 40px);
  padding: 20px;
  background: #111;
  box-sizing: border-box;
}

.conteudo a{
  color: #298ee5;
  text-decoration: none;
}

.conteudo img{
    max-width: 100%;
    padding: 10px 0;
  }

#news .content {
  max-width: 1200px;  /* limite no desktop */
  width: 100%;
  margin: 10px auto;
  padding: 20px;
  box-sizing: border-box;
}

#news .news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.news-card {
  position: relative;
  display: block;
  border: 1px solid #333;
  text-decoration: none;
  color: #cecece;
  background: #111;
  padding: 0 0 30px 0;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  z-index: 10;
}

.news-card .info{
  text-align: center;
}

.news-card .thumb {
  width: 100%;
  height: 160px;
  object-fit: contain;
}

.news-card h3 {
  font-size: 14px;
  margin: 8px;
}

.container {
  display: grid; /* ou flex */
  gap: 20px;
}

.news-card .meta {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  margin: 0 8px 8px;
}

.news-card .meta img {
  width: 22px;
  height: 22px;
}

.thumb.big {
  width: 100%;
  height: auto;
}

.meta {
  display: flex;
  align-items: center;
  gap: 6px;
}
.meta img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

/*voltar*/
.voltar {
  background: #000;
  color: #fff;
  border: none;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 20px;
}

.voltar:hover {
  background: #298ee5;
}

/* Paginação */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 30px;
}

.pagination a {
  padding: 6px 10px;
  text-decoration: none;
  border: 1px solid #666;
  border-radius: 50%;
  color: #666;
  font-size: 12px;
}

.pagination a.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

.pagination a:hover {
  background: #298ee5;
  color: #fff;
  border-color: #298ee5;
}

.news-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.85);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:5000;
}

.news-modal.active{
  display:flex;
}

.news-modal-content{
  width:90%;
  max-width:900px;
  max-height:70vh;
  overflow-y:auto;
  background:#111;
  padding:40px;
  border-radius:8px;
  position:relative;
}

.close-modal{
  position:sticky;
  top:0;
  float:right;
  background:rgba(0,0,0,0.4);
  border:none;
  border-radius: 50%;
  color:white;
  font-size:26px;
  padding:5px 12px;
  cursor:pointer;
  z-index:10;
}

.close-modal:hover{
  color:#298ee5;
}

/*CONTATO*/
.contact-container{
  max-width:1200px;
  margin:0 auto;
  
}

.contact-text{
  width:100%;
  color:#555;
  line-height:1.6;
  margin-bottom:60px;
  text-align: center;
}

.contact-info{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:40px;
}

.contact-item{
  display:flex;
  align-items:flex-start;
  gap:20px;
}

.contact-item .icon{
  width:55px;
  height:55px;
  background:#333;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:20px;
  flex-shrink:0;
}

.contact-item h3{
  margin:0 0 5px 0;
  font-size:18px;
  font-weight:600;
}

.contact-item span{
  color:#666;
  font-size:15px;
}

/*GALERIA*/
.gal-menu {
  width:100%;
  display:flex;
  justify-content:center;
  gap:30px;
  margin-bottom:20px;
}

.gal-menu button {
  background:none;
  border:none;
  color:white;
  font-size:18px;
  cursor:pointer;
  position:relative;
}

.gal-menu button::after {
  content:'';
  position:absolute;
  left:0;
  bottom:-5px;
  width:0;
  height:2px;
  background:#298ee5;
  transition: width 0.3s ease;
}

.gal-menu button:hover::after,
.gal-menu button.active::after {
  width:100%;
}

.gal-gallery {
  display:flex;
  flex-wrap:wrap;
  gap:15px;
  justify-content:center;
}

.gal-gallery img {
  width:250px;
  height:300px;
  object-fit:cover;
  cursor:pointer;
  border-radius:5px;
  transition: transform 0.2s;
}

.gal-gallery img:hover {
  transform: scale(1.05);
}

#gal-lightbox {
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.8);
  justify-content:center;
  align-items:center;
  z-index:2000;
}

#gal-lightbox img {
  max-width: calc(900px);
  max-height:80%;
  padding:20px;
  box-sizing:border-box;
  border-radius:5px;
}

#gal-lightbox .gal-close {
  position:absolute;
  top:20px;
  right:20px;
  font-size:30px;
  color:white;
  cursor:pointer;
  font-weight:bold;
}

/* botão de comissionar */
.gal-commission-btn {
  width: 250px;
  height: 150px;
  margin-bottom: 15px;
  border: 0;
}

.gal-commission-btn a {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:white;
  font-size:16px;
  text-align:center;
  border-radius:5px;
  padding:5px;
  transition: transform 0.2s, background 0.2s;
}

.gal-commission-btn a img {
  max-width:100%;
  max-height:60px;
  border-radius:3px;
  margin-bottom:5px;
  padding: 10px 0;
}

.gal-commission-btn a:hover {
  transform: scale(1.05);
}

/*SOBRE*/
/* Container geral */
.night-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
  color: #fff;
  max-width: 1000px;
  margin: 40px auto;
  flex-wrap: wrap; /* para mobile */
}

/* Texto */
.night-container .night-text {
  flex: 1 1 400px; /* cresce e encolhe */
  text-align: left;
  line-height: 1.6;
}

.night-container h3 {
  margin-top: 0;
  font-size: 28px;
  color: #298ee5;
}

/* Imagem */
.night-container .night-img {
  flex: 0 0 250px;
  max-width: 250px;
  object-fit: cover;
}

footer {
  text-align: center;
  padding: 20px 0;
  background: #000;
  color: #666;
  font-size: 14px;
  margin-top: 1px;
}