/* ================================================================
   WORLD SHOWCASE — BASE
   ================================================================ */

#world-showcase{
  --base:#111317;
  --hero-h: clamp(360px, 43.33vw, 1040px); 
  position:relative;
  padding:50px 20px;                 
  background-color:var(--base);
  overflow:hidden;
  isolation:isolate;
}

#world-showcase::before{
  content:"";
  position:absolute; left:0; right:0; top:0;
  height:var(--hero-h);
  background:
    linear-gradient(to bottom,
      rgba(17,19,23,0) calc(100% - 140px),
      rgba(17,19,23,.50) calc(100% - 70px),
      rgba(17,19,23,.90) 100%
    ),
    url('../images/backgrounds/bg-body-section.jpg') no-repeat center top / contain;
  -webkit-mask-image: linear-gradient(to bottom, #000 0% 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0% 70%, transparent 100%);
  pointer-events:none;
  z-index:0;
}

#world-showcase::after{
  content:"";
  position:absolute;
  left:0; right:0;
  top: calc(var(--hero-h) - 120px); 
  height: 240px;                    
  background:
    radial-gradient(120% 160% at 50% 25%,
      rgba(17,19,23,.75) 0%,
      rgba(17,19,23,.45) 50%,
      rgba(17,19,23,0) 100%
    );
  filter: blur(48px);   
  opacity: .95;         
  pointer-events:none;
  z-index: 0;           
}

.main-title-container,
.showcase-stage{
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.main-title-container{
  text-align: center;
  color: #fff;
  margin-bottom: 120px;
}
.main-title-container h1{
  font-family: 'Marcellus', serif;
  font-size: 2.8em;
  text-transform: uppercase;
}
.main-title-container p{
  font-family: 'Encode', sans-serif;
  font-size: 1.05em;
  color: #b0b0b0;
  max-width: 700px;
  margin: 20px auto 0 auto;
}

/* ================================================================
   SISTEMA DE “VÃOS” ENTRE SHOWCASE ITEMS
   ================================================================ */

.showcase-item{
  margin: 0 !important;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .5s ease-out, transform .5s ease-out;
}
.showcase-item.is-visible{ opacity:1; transform:translateY(0); }
.showcase-item + .showcase-item{ margin-top: 300px; }
.showcase-item{ margin-bottom: 150px; }
.showcase-item:last-child{ margin-bottom: 0; }
#item-forjas + #item-batalhas{ margin-top: 80px; }

@media (max-width: 1200px){
  .showcase-item + .showcase-item{ margin-top: 180px; }
  #item-forjas + #item-batalhas{ margin-top: 60px; }
  .showcase-item{ margin-bottom: 110px; }
}
@media (max-width: 768px){
  .showcase-item + .showcase-item{ margin-top: 100px; }
  #item-forjas + #item-batalhas{ margin-top: 48px; }
  .showcase-item{ margin-bottom: 80px; }
}

/* ================================================================
   BLOCO 1 — FORJAS
   ================================================================ */

#item-forjas{
  display:flex;
  align-items:center;
}

#item-forjas.showcase-item{
  margin-top: 300px !important;
}

#item-forjas .text-content-block{
  flex-grow:1;
  flex-basis:40%;
  padding: 20px;
}

#item-forjas .image-content-block{
  flex-shrink:0;
  flex-basis:750px;
}

.npc-gallery{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  gap:10px;
}

.npc-card{
  flex:1;
  min-width:100px;
  text-align:center;
}
.npc-card img{
  width:100%;
  height:450px;
  object-fit:cover;
  object-position:center;
  border-radius:2px;
  box-shadow:0 5px 15px rgba(0,0,0,.3);
}

/* ================================================================
   BLOCO 2 — BATALHAS
   ================================================================ */

#item-batalhas.showcase-item{
  margin-top: clamp(30px, 4vw, 64px) !important;
}

#item-batalhas .image-content-block{
  max-width: 1400px;
  margin: 0 auto;
}

#item-batalhas .showcase-image-stage{
  position: relative !important;
  width: 100%;
  height: 0;
  padding-bottom: 56%;          
  overflow: hidden !important;  
}

#item-batalhas .layered-bg{
  position: absolute !important;
  left: 0; bottom: 0;
  width: 100%; height: 62%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 1;
  border-radius: 8px;
}

#item-batalhas .layered-fg{
  position: absolute !important;
  left: 50%; bottom: -2%;
  transform: translateX(-50%);
  height: 104%;
  width: auto;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 1200px){
  #item-batalhas .showcase-image-stage{ padding-bottom: 58%; }
  #item-batalhas .layered-bg{ height: 64%; }
  #item-batalhas .layered-fg{ bottom: -1%; height: 102%; }
}
@media (max-width: 900px){
  #item-batalhas .showcase-image-stage{ padding-bottom: 60%; }
  #item-batalhas .layered-bg{ height: 65%; }
  #item-batalhas .layered-fg{ bottom: 0; height: 100%; }
}
@media (max-width: 600px){
  #item-batalhas .showcase-image-stage{ padding-bottom: 62%; }
  #item-batalhas .layered-bg{ height: 66%; }
  #item-batalhas .layered-fg{ bottom: 0; height: 100%; }
}

/* ================================================================
   TIPOGRAFIA GERAL + CTA
   ================================================================ */

.text-content-block h2{
  font-family:'Marcellus', serif;
  color:#e8e8e8;
  margin-bottom:20px;
  font-size:2.2em;
  text-transform:uppercase;
}
.text-content-block p{
  font-family:'Encode';
  font-size:1.05em;
  color:#cfcfcf;
  line-height:1.5;
  margin-bottom:35px;
  max-width:1000px;
  text-align:justify;
  text-shadow:0 2px 8px rgba(0,0,0,.8);
}

.cta-link-outline{
  --btn-py: clamp(4px, 0.8vw, 8px);    
  --btn-px: clamp(10px, 1.6vw, 18px);   
  --btn-fz: clamp(11px, 0.95vw, 13.5px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-py) var(--btn-px);
  border-radius: 3px;                   
  text-decoration: none;
  font-family: 'Encode', sans-serif;
  font-weight: 700;
  font-size: var(--btn-fz);
  text-transform: uppercase;
  line-height: 1;                      
  letter-spacing: 0;                    
  white-space: nowrap;                 
  background: transparent;
  border: 1px solid #a67c52;
  color: #c5a16d;
  transition: all .3s ease-in-out;
}

.cta-link-outline:hover{
  background: linear-gradient(135deg,#a67c52 0%,#c5a16d 40%,#a67c52 100%);
  color:#111;
  border-color:#c5a16d;
  box-shadow: 0 0 16px rgba(197,161,109,.35);
  transform: translateY(-1px);          
}

.cta-link-outline:focus-visible{
  outline: none;
  box-shadow: 0 0 0 2px rgba(197,161,109,.22);
}

/* ================================================================ */
/* Seção: Especializações 
/* ================================================================ */

#specializations-showcase {
    background-color: #111317;
    padding: 50px 0 140px 0;
}

.specializations-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: stretch; 
    gap: 40px;
}

.spec-item { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.spec-item.is-visible { opacity: 1; transform: translateY(0); }
.spec-card-main {
    flex-basis: 35%;
    position: relative;
    aspect-ratio: 440 / 550;
    height: 550px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.spec-card-main .spec-card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease;
}
.spec-card-main .spec-card-fg {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: auto;
    z-index: 3;
    filter: drop-shadow(5px 5px 15px rgba(0,0,0,0.4));
    transition: transform 0.4s ease;
    pointer-events: none;
}
.spec-card-main .card-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    z-index: 2;
    border-radius: 0 0 8px 8px;
}

/* --- Coluna Central (Texto) --- */
.spec-text-content {
    flex-basis: 40%;
    text-align: left;
    color: #fff;
    position: relative;
    z-index: 10;
    align-self: flex-start; 
    padding: 0px 50px; 
}
.spec-text-content h2 {
    font-family: 'Marcellus', serif;
    font-size: 2.6em;
    font-weight: normal;
    margin-bottom: 20px;
    color: #e0e0e0;
    line-height: 1.2;
}
.spec-text-content p {
    font-family: 'Encode', sans-serif;
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* --- Coluna da Direita --- */
.spec-card-column-right {
    flex-basis: 35%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
}

.spec-card-secondary {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    max-width: 90%; 
}
.spec-card-secondary:hover {
    transform: translateY(-8px);
}

/* Card de cima alinhado à direita */
.spec-card-column-right .spec-card-secondary:first-child {
    align-self: flex-end;
    height: 350px; 
    aspect-ratio: 3 / 4; 
    width: auto;
}

.spec-card-column-right .spec-card-secondary:last-child {
    align-self: flex-start;
    margin-top: auto;
    margin-bottom: -90px; 
}

.spec-card-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.spec-card-secondary .card-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    z-index: 2;
}
.card-overlay .card-title {
    font-family: 'Marcellus', serif;
    font-size: 1.5em;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

/* =========================
   CLASS SLIDER — BASE LIMPA
   ========================= */

/* Seção/Carrossel */
.class-slider-section{
  position: relative;
  width: 100%;
  height: 800px;
  min-height: 700px;
  background-color: #111;
  overflow: hidden;
}

.class-carousel,
.class-carousel .owl-stage-outer,
.class-carousel .owl-stage,
.class-carousel .owl-item{
  height: 100%;
}

.class-slide{
  position: relative;
  width: 100%;
  height: 100%;
  color: #fff;
}

.slide-background{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.slide-background::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,10,10,.95) 25%,
    transparent 50%,
    rgba(10,10,10,.85) 100%
  );
  z-index: 2;
}

/* Contêiner central (amarração 1400px) */
.slide-container{
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
}

/* Camadas principais */
.character-layer,
.symbol-layer,
.info-layer{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}

/* Personagem */
.character-layer{ z-index: 5; justify-content: flex-end; }
.character-frame{
  width: 55%;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.character-frame img{
  width: 80%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

/* Ajustes por personagem */
.character-frame .guerreiro-img{ height: 100%; }
.character-frame .mago-img     { height: 80%; }
.character-frame .arqueiro-img { height: 110%; }
.character-frame .sacerdote-img{ height: 100%; }
.character-frame .barbaro-img  { height: 80%; }
.character-frame .feiticeira-img{height: 100%; }

/* Símbolo */
.symbol-layer{ z-index: 4; justify-content: flex-end; }
.symbol-frame{
  position: relative;
  right: 5%;
  width: 30%;
  height: 40%;
}
.symbol-frame img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: .15;
}

/* Texto (título/descrição) */
.class-slider-section .info-layer{
  z-index: 10;
  justify-content: flex-start;
}
.class-slider-section .info-content{
  width: 45%;
  max-width: 500px;
  padding-left: 1%;
  padding-bottom: 5%;
  text-align: left;
}
.class-slider-section .info-content .class-name{
  font-family: 'Marcellus', serif;
  font-size: 3.2em;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 15px;
}
.class-slider-section .info-content .class-description{
  font-family: 'Encode', sans-serif;
  font-size: 1.1em;
  font-weight: 400;
  color: #ccc;
  line-height: 1.7;
  margin: 0 0 10px;
}

/* “Explorar Classe” */
.class-slider-section .info-content .link-more{
  display: inline-block;
  margin-top: 6px;
  font-family: 'Encode', sans-serif;
  font-size: .95em;
  font-weight: 600;
  color: #d4b38c;
  text-decoration: none;
  text-shadow:
    0 0 7px rgba(212,179,140,.5),
    0 0 7px rgba(212,179,140,.3);
  transition: color .3s, text-shadow .3s, transform .3s;
}
.class-slider-section .info-content .link-more:hover{
  transform: scale(1.05);
  text-shadow:
    0 0 10px rgba(212,179,140,.8),
    0 0 25px rgba(212,179,140,.6);
}

.class-slider-section .info-content .cta-buttons{ display: none !important; }

/* =========================
   NAV DAS THUMBS + BOTÃO
   ========================= */
.class-nav-thumbnails{
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;

  z-index: 20;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 170px;           
  background: transparent;
}

.class-nav-thumbnails .btn-big{
  position: absolute; top: 0; left: 0%; z-index: 21;   /* mantém absoluto */
  height: 46px; padding: 12px 28px; min-width: 260px; border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Encode", sans-serif; font-size: 1rem; font-weight: 700;
  letter-spacing: .2px; line-height: 1; color: #1e150c; text-decoration: none;
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    inset 0 -1px 0 rgba(0,0,0,.22),
    0 8px 18px rgba(0,0,0,.20);

  background-image:
    linear-gradient(to bottom, rgba(255,248,225,.65) 0%, rgba(240,226,182,.25) 16%, rgba(0,0,0,0) 38%),
    linear-gradient(to top, rgba(77,60,35,.70) 0%, rgba(77,60,35,0) 28%),
    linear-gradient(135deg, #a67c52 0%, #c5a16d 40%, #a67c52 100%);
  background-blend-mode: normal, normal, normal;
  transition: transform .15s ease, box-shadow .20s ease, filter .20s ease;
  will-change: transform, filter;
  backface-visibility: hidden;
  overflow: hidden; 
}

.class-nav-thumbnails .btn-big::before{
  content:"";
  position:absolute; inset: 1px; border-radius: 3px;
  box-shadow:
    inset 0 5px 8px rgba(255,255,255,.08),
    inset 0 -6px 10px rgba(0,0,0,.16);
  pointer-events:none;
}

.class-nav-thumbnails .btn-big::after{
  content:"";
  position:absolute;
  top:-80%; left:-30%;
  width:24%; height:260%;
  transform: rotate(18deg) translateX(-140%);
  background: linear-gradient(90deg,
              rgba(255,255,255,0) 0%,
              rgba(255,255,255,.45) 50%,
              rgba(255,255,255,0) 100%);
  filter: blur(10px);
  mix-blend-mode: screen;
  transition: transform .65s cubic-bezier(.2,.6,.2,1);
  pointer-events:none;
}

.class-nav-thumbnails .btn-big:hover{
  transform: translateY(-1px);
  filter: saturate(1.03) brightness(1.01);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.48),
    inset 0 -1px 0 rgba(0,0,0,.25),
    0 12px 26px rgba(0,0,0,.26),
    0 0 12px rgba(197,161,109,.35);
}
.class-nav-thumbnails .btn-big:hover::after{
  transform: rotate(18deg) translateX(320%);
}

.class-nav-thumbnails .btn-big:active{
  transform: translateY(0);
  filter: brightness(.98);
  box-shadow:
    inset 0 3px 9px rgba(0,0,0,.24),
    inset 0 -1px 0 rgba(0,0,0,.30),
    0 8px 16px rgba(0,0,0,.20);
}

.class-nav-thumbnails .btn-big:focus-visible{
  outline:none;
  box-shadow:
    0 0 0 2px #0e0b07,
    0 0 0 4px rgba(187,151,94,.8),
    inset 0 1px 0 rgba(255,255,255,.50);
}

.class-nav-thumbnails > ul{
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Thumb */
.class-nav-thumbnails .thumbnail-item{
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 70px;
  height: 70px;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,.2);
  border-radius: 4px;
  background: #000;
  cursor: pointer;
  opacity: .7;

  transform: none !important;     
  transition: opacity .25s, border-color .25s, box-shadow .25s;
}

.class-nav-thumbnails .thumbnail-item img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; object-position: center 15%;
  filter: grayscale(1);
  pointer-events: none;            
  transform-origin: center;
  transform: none;
  transition: transform .25s, filter .25s;
}

.class-nav-thumbnails .thumbnail-item:not(.active):hover{
  opacity: 1;
  border-color: rgba(255,255,255,.6);
}

.class-nav-thumbnails .thumbnail-item.active{
  z-index: 2;
  opacity: 1;
  border-color: #c5a16d;
  box-shadow: 0 0 15px rgba(197,161,109,.6);
  transform: none !important;      
}

.class-nav-thumbnails .thumbnail-item.active img{
  transform: scale(1.08);          
  filter: grayscale(0);
}

.class-nav-thumbnails .thumb,
.class-nav-thumbnails .thumb.active,
.class-nav-thumbnails li.active{
  transform: none !important;      
}
.class-nav-thumbnails .thumb img{ pointer-events: none; } 

/* =========================
   ANIMAÇÕES
   ========================= */
.class-carousel .owl-item:not(.active) .character-layer img,
.class-carousel .owl-item:not(.active) .info-content{
  opacity: 0;
}
.class-carousel .owl-item.active .character-layer img{
  opacity: 1;
  transform: scale(1);
  transition: opacity .6s .2s ease-out, transform .8s .2s ease-out;
}
.class-carousel .owl-item.active .info-content{
  opacity: 1;
  transition: opacity .6s .4s ease-out;
}

.character-layer img,
.info-content{
  opacity: 0;
  transform: scale(1.05);
}

/* ================================================================ */
/* SEÇÃO DE PARCEIROS 
/* ================================================================ */

.partners-section {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #111317;
  color: #fff;
}

/* contêiner 1400px */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
}

.partners-section .section-header {
  margin-bottom: 50px;
}

.partners-section .section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 15px;
}

.partners-section .section-subtitle {
  font-size: 1.1em;
  color: #aaa;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Estilos para os Cards ("Estáticos") DENTRO DO CARROSSEL --- */
.partner-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background-color: #1a1d22;
  border-radius: 8px;
  padding: 20px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  height: 220px;
}

.partner-cta-card:hover {
  background-color: #22262c;
  box-shadow: 0 0 20px rgba(197, 161, 109, 0.2);
}

.partner-cta-card i {
  font-size: 2.5em;
  color: #c5a16d;
  margin-bottom: 15px;
}

.partner-cta-card h3 {
  font-size: 1.1em;
  font-weight: bold;
  margin: 0 0 8px 0;
}

.partner-cta-card p {
  font-size: 0.9em;
  color: #aaa;
  line-height: 1.5;
  margin: 0;
}


/* --- CTA Final --- */
.final-cta {
  margin-top: 100px;
}

.final-cta .btn-big {
  display: inline-block;
  margin-top: 30px;
  background-image: linear-gradient(
      to bottom,
      rgba(255, 248, 225, 0.6) 0%,
      rgba(240, 226, 182, 0.3) 8%,
      rgba(0, 0, 0, 0) 30%
    ),
    linear-gradient(to top, rgba(77, 60, 35, 0.7) 0%, rgba(77, 60, 35, 0) 25%),
    linear-gradient(135deg, #a67c52 0%, #c5a16d 40%, #a67c52 100%);
  color: #111;
  padding: 22px 150px;
  border-radius: 2px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.2s;
}

.final-cta .btn-big:hover {
  transform: scale(1.05);
}

