:root{
  /* Dark + Laranja (premium) */
  --bg: #05060A;
  --panel: #0D1119;
  --panel-2: #121A26;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --line: rgba(255,255,255,.10);
  --accent: #FF6A00;   /* laranja */
  --accent-2: #FFB000; /* âmbar */
  --shadow: 0 18px 60px rgba(0,0,0,.60);
}

*{ box-sizing: border-box; }
html, body { height: 100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(900px 420px at 18% -10%, rgba(255,106,0,.22), transparent 60%),
    radial-gradient(800px 520px at 88% 8%, rgba(255,176,0,.12), transparent 55%),
    radial-gradient(900px 520px at 50% 112%, rgba(255,106,0,.12), transparent 60%),
    var(--bg);
  color: var(--text);
  overflow-x:hidden;
}

a{ color: inherit; }

.container{
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 18px 0;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(5,6,10,.72);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 800;
  letter-spacing: .2px;
}

.brand-badge{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,106,0,.98), rgba(255,176,0,.70));
  box-shadow: 0 10px 25px rgba(255,106,0,.18);
  border: 1px solid rgba(255,255,255,.14);
}

.brand span{ font-size: 16px; }

.nav{
  display:flex;
  gap: 12px;
  align-items:center;
  flex-wrap:wrap;
}

.nav a{
  text-decoration:none;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease;
}

.nav a:hover{
  color: var(--text);
  background: rgba(255,255,255,.06);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration:none;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}

.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
}

.btn-primary{
  background: linear-gradient(135deg, rgba(255,106,0,1), rgba(255,176,0,.85));
  border-color: rgba(255,106,0,.70);
  color: #0b0f14;
  box-shadow: 0 14px 34px rgba(255,106,0,.18);
}

.btn-primary:hover{
  background: linear-gradient(135deg, rgba(255,106,0,1), rgba(255,176,0,1));
}

.btn-ghost{
  background: transparent;
  border-color: rgba(255,255,255,.16);
  color: var(--text);
}

/* Hero */
.hero{ padding: 40px 0 12px; }

.hero-card{
  background: linear-gradient(180deg, rgba(18,26,38,.92), rgba(13,17,25,.82));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px 24px;
  overflow:hidden;
  position: relative;
}

.hero-card:before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(520px 240px at 14% 12%, rgba(255,106,0,.26), transparent 60%),
    radial-gradient(440px 240px at 86% 12%, rgba(255,176,0,.14), transparent 60%);
  pointer-events:none;
}

.hero-inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  align-items:center;
}

.hero h1{
  margin:0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.7px;
}

.hero p{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 52ch;
}

.hero-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hero-stats{ display:grid; gap: 10px; }

.stat{
  background: rgba(0,0,0,.26);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 12px;
}

.stat strong{ display:block; font-size: 16px; }
.stat span{ display:block; color: var(--muted); font-size: 12px; margin-top: 4px; }

/* Sections */
.section{ padding: 18px 0; }

.section h2{
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.2px;
}

.section p.section-subtitle{
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

/* Tools grid */
.tools-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.tool-pill{
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  padding: 10px 12px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
}

.tool-pill b{ font-size: 13px; }
.tool-pill small{ color: var(--muted); font-weight: 700; letter-spacing: .2px; font-size: 11px; }

/* Sticky category filter */
#categoryFilterContainer{
  position: sticky;
  top: 72px;
  z-index: 10;
  padding-top: 8px;
}

#categoryFilter{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(13,17,25,.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#categoryFilter label{
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

#categoryFilter select{
  background: rgba(0,0,0,.30);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  outline:none;
  font-size: 13px;
}

#categoryFilter option{
  background: #0b0f14;
  color: rgba(255,255,255,.92);
}

/* Product grid -> mini marketplace */
main{ padding: 10px 0 40px; }

.product-grid,
.container.product-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  padding-top: 10px;
  align-items: stretch;
  justify-items: center;
}

.product-card{
  background: linear-gradient(180deg, rgba(18,26,38,.94), rgba(13,17,25,.84));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  overflow:hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.38);
  transition: transform .18s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
  display:flex;
  width: 100%;
  max-width: 240px;
  flex-direction: column;
}

.product-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,106,0,.30);
  box-shadow: 0 14px 36px rgba(0,0,0,.44);
}

.media-block{
  position:relative;
}

.product-card img{
  width: 100%;
  height: 118px;
  object-fit: cover;
  display:block;
  border-bottom: 1px solid rgba(255,255,255,.08);
  filter: saturate(1.02) contrast(1.02);
}

.info-block{
  display:flex;
  flex-direction:column;
  padding: 8px 8px 6px;
}

.product-card h3{
  font-size: 13px;
  line-height: 1.3;
  margin: 0 0 5px;
  letter-spacing: -.1px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}

.product-card p{
  margin: 0 0 6px;
  color: var(--muted);
  line-height: 1.35;
  font-size: 11px;
  flex-grow: 0;
}

.info-block > p:not(.price){
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 30px;
}

.price{
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 900;
  color: var(--accent);
}

.btn-mercadolivre{
  margin: 0;
  border-radius: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255,106,0,.55);
  background: linear-gradient(135deg, rgba(255,106,0,1), rgba(255,176,0,.88));
  color: #0b0f14;
  font-weight: 900;
  font-size: 11px;
  text-decoration:none;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap: 6px;
  transition: transform .15s ease, filter .2s ease;
}

.btn-mercadolivre:hover{
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.video-container{
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.video-container iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.comments-section{
  width: calc(100% - 16px);
  margin: 0 8px 8px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(0,0,0,.22);
}

.comments-section h4{
  margin: 0 0 6px;
  font-size: 11px;
  color: var(--text);
  line-height: 1.2;
}

.comments-section p{
  margin: 0;
  font-size: 10px;
  line-height: 1.3;
}

.comment-item{
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(255,255,255,.10);
}

.comment-item:last-child{
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.comment-item strong{
  color: rgba(255,255,255,.86);
  font-size: 10px;
}

.comment-item p{
  margin-top: 2px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Ações dos cards */
.info-block .actions{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-top: auto;
  justify-content: center;
}

.actions a{
  min-width: 100%;
  text-align:center;
}

.btn-hotmart,
.btn-contact,
.btn-1x1{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 100%;
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration:none;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .2px;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.btn-hotmart{
  border: 1px solid rgba(255,106,0,.35);
  background: linear-gradient(180deg, rgba(255,106,0,.22), rgba(255,106,0,.10));
  color: rgba(255,255,255,.95);
  box-shadow: 0 8px 24px rgba(0,0,0,.30);
}
.btn-hotmart:hover{
  transform: translateY(-1px);
  border-color: rgba(255,106,0,.60);
}

.btn-contact{
  border: 1px solid rgba(255,176,0,.22);
  background: rgba(255,176,0,.08);
  color: rgba(255,255,255,.92);
}
.btn-contact:hover{
  transform: translateY(-1px);
  border-color: rgba(255,176,0,.45);
}

.btn-1x1{
  border: 1px solid rgba(56,189,248,.22);
  background: rgba(56,189,248,.08);
  color: rgba(255,255,255,.92);
}
.btn-1x1:hover{
  transform: translateY(-1px);
  border-color: rgba(56,189,248,.45);
}

/* Video thumb */
.video-thumb{
  position: relative;
  display:block;
  width:100%;
  border:0;
  padding:0;
  background: transparent;
  cursor: pointer;
}

.video-thumb img{
  display:block;
  width:100%;
  height:118px;
  object-fit: cover;
  border-radius: 0;
}

.video-thumb .play-badge{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
}

.video-thumb .play-badge span{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,106,0,.45);
  background: rgba(0,0,0,.45);
  box-shadow: 0 8px 22px rgba(0,0,0,.48);
  display:flex;
  align-items:center;
  justify-content:center;
}

.video-thumb .play-badge span::before{
  content:"";
  display:block;
  width:0;
  height:0;
  border-left: 12px solid rgba(255,255,255,.92);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}

/* Pagination */
.pagination{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 12px 0 22px;
}

.pagination a{
  color: rgba(255,255,255,.92);
  text-decoration:none;
  padding: 7px 10px;
  border-radius: 9px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  font-size: 12px;
}

.pagination a:hover{
  border-color: rgba(255,106,0,.35);
}

.pagination a.disabled{
  opacity: .45;
  pointer-events: none;
}

/* Footer */
footer{
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px 0;
}

footer p{
  margin:0;
  color: var(--muted);
  font-size: 12px;
}

/* Helpers */
.visually-hidden{
  position:absolute!important;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* Modal de vídeo */
.video-modal{
  position:fixed;
  inset:0;
  display:none;
  z-index: 99999;
}

.video-modal.is-open{ display:flex; }

.video-modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.70);
}

.video-modal__content{
  position:relative;
  margin:auto;
  width:min(920px, 92vw);
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.12);
  background: #0D1119;
  box-shadow: 0 24px 80px rgba(0,0,0,.70);
  overflow:hidden;
}

.video-modal__close{
  position:absolute;
  right:10px;
  top:8px;
  width:42px;
  height:42px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  font-size: 26px;
  cursor:pointer;
  z-index: 2;
}

.video-modal__close:hover{
  border-color: rgba(255,106,0,.35);
}

.video-modal__frame{
  position:relative;
  width:100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal__frame iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

/* Responsive */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-stats{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tools-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .product-grid,
  .container.product-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-card{ max-width: 100%; }
}

@media (max-width: 700px){
  .product-grid,
  .container.product-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card{
    max-width: 100%;
  }
}

@media (max-width: 560px){
  .nav{ display:none; }
  #categoryFilterContainer{ top: 68px; }
  .hero-card{ padding: 22px 16px; }
  .hero-stats{ grid-template-columns: 1fr; }
  .tools-grid{ grid-template-columns: 1fr; }

  .product-grid,
  .container.product-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .product-card{
    border-radius: 12px;
  }

  .product-card img,
  .video-thumb img{
    height: 100px;
  }

  .product-card h3{
    font-size: 12px;
    min-height: 30px;
  }

  .product-card p{
    font-size: 10px;
  }

  .price{
    font-size: 13px;
  }

  .comments-section{
    padding: 7px;
  }

  .comments-section h4{
    font-size: 10px;
  }

  .comment-item strong,
  .comment-item p{
    font-size: 9px;
  }

  .video-modal__close{
    right:8px;
    top:8px;
  }
}

@media (max-width: 380px){
  .product-grid,
  .container.product-grid{
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .info-block{
    padding: 7px 7px 5px;
  }

  .actions a{
    min-width: 100%;
  }
}