/* ========================================
   GEOSITE TELECOM - Client Area Styles
   ======================================== */

/* --- Shared Carousel Dots --- */
.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.carousel-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--neutral-light);
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dot.active {
  background: var(--primary-dark);
}

main {
  position: relative;
}

/* ========================================
   ACESSO RÁPIDO
   ======================================== */
.acesso {
  position: relative;
  padding: 140px var(--content-padding) 60px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* --- Symbol Background (positioned relative to tutoriais section) --- */
.cliente-symbol-bg {
  position: absolute;
  bottom: 100%;
  right: 0;
  width: 632px;
  height: 803px;
  pointer-events: none;
  z-index: 0;
}

.cliente-symbol-bg__img {
  width: 100%;
  height: 100%;
}

.acesso__container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.acesso__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.acesso__title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--primary);
}

.acesso__text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--neutral);
}

.acesso__cards {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.acesso__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 61px;
  width: 183px;
  padding: 16px;
  border: 1px solid var(--primary);
  border-radius: 16px;
  background: var(--white-hover);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.acesso__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.acesso__card-icon {
  width: 40px;
  height: 40px;
}

.acesso__icon {
  width: 40px;
  height: 40px;
}

.acesso__card-label {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--neutral);
}

/* ========================================
   GUIA RÁPIDO DE TUTORIAIS
   ======================================== */
.tutoriais {
  position: relative;
  padding: 60px var(--content-padding);
  max-width: var(--max-width);
  margin: 0 auto;
  overflow: visible;
}

.tutoriais__container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.tutoriais__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tutoriais__title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--primary);
}

.tutoriais__text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--neutral);
  max-width: 557px;
}

.tutoriais__carousel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  position: relative;
}

.tutoriais__viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.tutoriais__track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.tutorial-card {
  flex: 0 0 calc((100% - 48px) / 3);
  box-shadow: var(--shadow-card);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white-hover);
}

.tutorial-card__video {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  background: #000;
}

.tutorial-card__video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.tutorial-card__body {
  padding: 16px;
}

.tutorial-card__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary);
}

/* Tutorial carousel navigation */
.tutoriais__nav {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.tutoriais__nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--light-purple);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}

.tutoriais__nav-btn:hover {
  background: #b88fe0;
}

.tutoriais__nav-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.tutoriais__nav-btn svg {
  width: 24px;
  height: 24px;
  color: var(--primary-dark);
}

.tutoriais__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.tutoriais__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neutral-light);
  cursor: pointer;
  transition: background 0.3s;
}

.tutoriais__dot.active {
  background: var(--primary-dark);
}

/* ========================================
   WHATSAPP CHANNEL CTA
   ======================================== */
.whatsapp-channel {
  padding: 0 24px;
}

.whatsapp-channel__container {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, var(--primary-darker) 100%);
  border-radius: 20px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.whatsapp-channel__container::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.whatsapp-channel__container::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 30%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.whatsapp-channel__icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-channel__content {
  flex: 1;
}

.whatsapp-channel__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.whatsapp-channel__title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.whatsapp-channel__text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 560px;
}

.whatsapp-channel__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.whatsapp-channel__btn:hover {
  background: #1eba59;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .whatsapp-channel__container {
    flex-direction: column;
    text-align: center;
    padding: 40px 32px;
    gap: 24px;
  }

  .whatsapp-channel__text {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .whatsapp-channel__container {
    padding: 32px 24px;
  }

  .whatsapp-channel__title {
    font-size: 22px;
  }

  .whatsapp-channel__btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   SE ESPECIALIZE
   ======================================== */
.especialize {
  padding: 56px 0;
  background: linear-gradient(180deg, #f4edf8 0%, #e8daf3 50%, #f4edf8 100%);
}

.especialize__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--content-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.especialize__title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--primary);
  text-align: center;
}

.especialize__carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  position: relative;
}

.especialize__slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  width: 100%;
  position: relative;
}

.especialize__side {
  flex-shrink: 0;
  width: 426px;
  position: relative;
  opacity: 0.7;
}

.especialize__side-img {
  width: 100%;
  height: 279px;
  object-fit: cover;
  border-radius: 12px;
}

.especialize__side-label {
  position: absolute;
  bottom: 30px;
  left: 14px;
  font-size: 18px;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.especialize__main {
  flex-shrink: 0;
  width: 894px;
  height: 485px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.especialize__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.especialize__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 94px;
  height: 60px;
  background: #c30b0b;
  border: 1px solid #c30b0b;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 4px rgba(0,0,0,0.25);
  transition: background 0.3s;
}

.especialize__play-btn:hover {
  background: #a00909;
}

.especialize__play-btn svg {
  width: 32px;
  height: 32px;
  transform: rotate(0deg);
}

.especialize__main-label {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  color: white;
  text-align: center;
  width: 423px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.especialize__slider-wrapper {
  position: relative;
  width: 100%;
}

.especialize__nav {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: space-between;
  width: calc(894px + 100px);
  pointer-events: none;
  z-index: 2;
}

.especialize__nav-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--light-purple);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.3s;
}

.especialize__nav-btn:hover {
  background: #b88fe0;
}

.especialize__nav-btn svg {
  width: 32px;
  height: 32px;
  color: var(--primary-dark);
}

.especialize__cta {
  width: 336px;
}

/* ========================================
   ATUALIZAÇÕES DO SISTEMA
   ======================================== */
.atualizacoes {
  padding: 80px var(--content-padding);
  max-width: var(--max-width);
  margin: 0 auto;
}

.atualizacoes__container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.atualizacoes__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.atualizacoes__title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--primary);
}

.atualizacoes__text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--neutral);
  max-width: 557px;
}

.atualizacoes__carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.atualizacoes__grid {
  display: flex;
  gap: 24px;
  width: 100%;
}

.update-card {
  flex: 1;
  max-width: 374px;
  box-shadow: var(--shadow-card);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white-hover);
}

.update-card__thumb {
  height: 141px;
  overflow: hidden;
}

.update-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.update-card__body {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.update-card__title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--primary);
}

.update-card__desc {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--neutral);
}

.update-card__btn {
  width: 163px;
}

.atualizacoes__playlist-link {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  text-decoration: none;
}

/* ========================================
   RESPONSIVE - CLIENT AREA
   ======================================== */
@media (max-width: 1280px) {
  .especialize__main { width: 700px; height: 380px; }
  .especialize__side { width: 300px; }
  .especialize__side-img { height: 200px; }
  .especialize__nav { width: calc(700px + 80px); }
  .especialize__main-label { font-size: 20px; width: 350px; }
}

@media (max-width: 1024px) {
  .acesso__cards { flex-wrap: wrap; }
  .acesso__card { flex: 1 1 calc(50% - 12px); min-width: 160px; }

  .tutorial-card { flex: 0 0 calc((100% - 24px) / 2); }

  .especialize__slider { flex-direction: column; }
  .especialize__side { display: none; }
  .especialize__main { width: 100%; height: auto; aspect-ratio: 16/9; }
  .especialize__nav { position: relative; top: auto; left: auto; transform: none; width: auto; gap: 24px; justify-content: center; }
  .especialize__nav-btn { pointer-events: auto; }
  .especialize__main-label { font-size: 18px; width: 80%; }

  .atualizacoes__grid { flex-wrap: wrap; }
  .update-card { flex: 1 1 calc(50% - 12px); max-width: none; }
}

@media (max-width: 768px) {
  .acesso { padding: 120px 20px 40px; }
  .acesso__title { font-size: 28px; }
  .acesso__cards { flex-direction: column; }
  .acesso__card { width: 100%; flex-direction: row; gap: 16px; align-items: center; }
  .acesso__card-label { margin-top: 0; }

  .tutoriais { padding: 40px 20px; }
  .tutoriais__title { font-size: 28px; }
  .tutorial-card { flex: 0 0 100%; }

  .especialize__title { font-size: 28px; }
  .especialize__play-btn { width: 60px; height: 40px; }
  .especialize__main-label { font-size: 16px; bottom: 20px; }
  .especialize__nav-btn { width: 50px; height: 50px; }

  .atualizacoes { padding: 40px 20px; }
  .atualizacoes__title { font-size: 28px; }
  .atualizacoes__grid { flex-direction: column; }
  .update-card { max-width: 100%; }
}
