/* ========================================
   BASE DE CONHECIMENTO - PW ATLANTA
   Landing Page com links para recursos
   Tema Cyan/Azul
======================================== */

/* === BASE === */
.conhecimento-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* === BACKGROUND === */
.conhecimento-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.conhecimento-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: blur(3px) saturate(0.5) brightness(0.6);
}

.conhecimento-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at center, rgba(8, 25, 45, 0.85) 0%, rgba(5, 12, 22, 0.98) 70%);
}

/* === HEADER === */
.conhecimento-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(5, 15, 25, 0.9) 0%, rgba(5, 15, 25, 0.6) 70%, transparent 100%);
  padding: 1rem 0;
}

.conhecimento-header-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.conhecimento-logo img {
  height: 3rem;
  width: auto;
  transition: transform 0.3s ease;
}

.conhecimento-logo:hover img {
  transform: scale(1.05);
}

.btn-voltar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(10, 30, 50, 0.5);
  border: 1px solid rgba(80, 180, 220, 0.2);
  color: rgba(150, 200, 230, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-voltar:hover {
  background: rgba(30, 80, 120, 0.4);
  border-color: rgba(80, 180, 220, 0.5);
  color: rgb(200, 235, 255);
}

.btn-voltar svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: currentColor;
}

/* === MAIN === */
.conhecimento-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 2rem;
}

.conhecimento-container {
  max-width: 60rem;
  width: 100%;
  text-align: center;
}

/* === TÍTULO === */
.conhecimento-title {
  margin-bottom: 3rem;
}

.conhecimento-label {
  display: inline-block;
  font-size: 0.9rem;
  color: rgba(100, 180, 220, 0.6);
  letter-spacing: 0.1rem;
  margin-bottom: 0.5rem;
}

.conhecimento-title h1 {
  font-family: "TheOneLord";
  font-size: 3.5rem;
  background: linear-gradient(180deg, rgb(180, 230, 255) 0%, rgb(80, 180, 220) 50%, rgb(40, 120, 160) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 1rem 0;
  filter: drop-shadow(0 0.3rem 0.5rem rgba(0, 0, 0, 0.5));
}

.conhecimento-title p {
  color: rgba(150, 200, 230, 0.6);
  font-size: 1.1rem;
  margin: 0;
  max-width: 35rem;
  margin: 0 auto;
}

/* === GRID DE CARDS === */
.conhecimento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}

/* === CARD === */
.conhecimento-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(12, 35, 55, 0.85), rgba(8, 25, 40, 0.95));
  border: 1px solid rgba(60, 140, 180, 0.25);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(5px);
}

.conhecimento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(40, 100, 150, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.conhecimento-card::after {
  content: "";
  position: absolute;
  border: 1rem solid transparent;
  border-image: url('../images/frame_square.png');
  border-image-slice: 40 40 fill;
  inset: -0.1rem;
  pointer-events: none;
  filter: hue-rotate(170deg) saturate(2) brightness(1.3);
  opacity: 0;
  transition: all 0.3s ease;
}

.conhecimento-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(80, 180, 220, 0.5);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(60, 160, 220, 0.2);
}

.conhecimento-card:hover::before {
  opacity: 1;
}

.conhecimento-card:hover::after {
  opacity: 1;
  filter: hue-rotate(170deg) saturate(2) brightness(1.5);
}

.conhecimento-card:hover .card-icon {
  background: linear-gradient(135deg, rgba(50, 130, 180, 0.9), rgba(30, 100, 150, 0.95));
  transform: rotate(45deg) scale(1.1);
  box-shadow: 0 0 25px rgba(80, 180, 220, 0.4);
}

.conhecimento-card:hover .card-icon svg {
  transform: rotate(-45deg) scale(1.1);
}

.conhecimento-card:hover .card-arrow {
  transform: translateX(5px);
  opacity: 1;
}

/* Ícone do Card */
.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(20, 50, 80, 0.8), rgba(10, 30, 50, 0.9));
  transform: rotate(45deg);
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 0 15px rgba(60, 150, 200, 0.2);
}

.card-icon::after {
  content: "";
  position: absolute;
  border: 0.8rem solid transparent;
  border-image: url('../images/frame_square.png');
  border-image-slice: 40 40 fill;
  inset: -0.1rem;
  filter: hue-rotate(170deg) saturate(2) brightness(1.4);
  pointer-events: none;
}

.card-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: rgb(100, 200, 240);
  transform: rotate(-45deg);
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 5px rgba(100, 200, 240, 0.5));
}

/* Conteúdo do Card */
.card-content {
  flex: 1;
  text-align: left;
}

.card-content h3 {
  font-family: "TheOneLord";
  font-size: 1.3rem;
  color: rgb(120, 200, 240) !important;
  margin: 0 0 0.3rem 0;
  background: none !important;
  background-image: none !important;
  -webkit-text-fill-color: rgb(120, 200, 240) !important;
  filter: none !important;
  text-shadow: 0 0 20px rgba(80, 180, 220, 0.5);
}

.card-content p {
  color: rgba(150, 190, 220, 0.65);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
}

/* Seta do Card */
.card-arrow {
  flex-shrink: 0;
  opacity: 0.3;
  transition: all 0.3s ease;
}

.card-arrow svg {
  width: 1rem;
  height: 1rem;
  fill: rgba(80, 180, 220, 0.8);
}

/* === INFO ADICIONAL === */
.conhecimento-info {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(80, 180, 220, 0.1);
}

.conhecimento-info p {
  color: rgba(150, 200, 230, 0.4);
  font-size: 0.85rem;
  margin: 0;
}

.conhecimento-info a {
  color: rgba(100, 180, 220, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.conhecimento-info a:hover {
  color: rgb(200, 235, 255);
}

/* === FOOTER === */
.conhecimento-footer {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(0deg, rgba(5, 15, 25, 0.8) 0%, transparent 100%);
}

.conhecimento-footer p {
  color: rgba(100, 180, 220, 0.3);
  font-size: 0.8rem;
  margin: 0;
}

/* === ANIMAÇÕES === */
.conhecimento-card {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.conhecimento-card:nth-child(1) { animation-delay: 0.1s; }
.conhecimento-card:nth-child(2) { animation-delay: 0.15s; }
.conhecimento-card:nth-child(3) { animation-delay: 0.2s; }
.conhecimento-card:nth-child(4) { animation-delay: 0.25s; }
.conhecimento-card:nth-child(5) { animation-delay: 0.3s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === RESPONSIVIDADE === */
@media (max-width: 768px) {
  .conhecimento-title h1 {
    font-size: 2.5rem;
  }
  
  .conhecimento-grid {
    grid-template-columns: 1fr;
  }
  
  .conhecimento-card {
    padding: 1.2rem;
  }
  
  .card-icon {
    width: 3rem;
    height: 3rem;
  }
  
  .card-icon svg {
    width: 1.2rem;
    height: 1.2rem;
  }
}

@media (max-width: 480px) {
  .conhecimento-main {
    padding: 5rem 1rem 1rem;
  }
  
  .conhecimento-title h1 {
    font-size: 2rem;
  }
  
  .conhecimento-title p {
    font-size: 0.95rem;
  }
  
  .btn-voltar span {
    display: none;
  }
}
