/* ============================================
   NYXCLOUD — Estilos Internos (Sobre Nós)
   Com Media Queries Anti-Quebra completas
   ============================================ */

.about-page-main {
  /* Impede de forma definitiva que o header fixado corte o texto inicial */
  padding-top: 72px; 
}

.section-about {
  padding: 100px 0;
}

/* HERO DA PÁGINA SOBRE */
.hero-about {
  padding: 80px 0;
  background: radial-gradient(circle at 85% 20%, rgba(113, 63, 169, 0.04), transparent 50%);
}

.hero-content {
  max-width: 860px;
}

.eyebrow-about {
  display: inline-block;
  margin-bottom: 16px;
  color: #713fa9;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-about h1 {
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  font-weight: 700;
  color: #111111;
}

.text-purple {
  color: #713fa9;
}

.hero-about p {
  font-size: 1.15rem;
  color: #6b6b6b;
  max-width: 720px;
  line-height: 1.7;
}

/* CARDS DE PROPÓSITO E SOLUÇÃO */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.about-card {
  padding: 48px;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  background: #ffffff;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

.about-card h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  color: #111111;
}

.about-card p {
  color: #6b6b6b;
  margin-bottom: 16px;
  font-size: 1rem;
}

.card-tag {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(113, 63, 169, 0.08);
  color: #713fa9;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.about-card.highlight {
  background: #0f0f0f;
  color: #ffffff;
  border-color: #0f0f0f;
}

.about-card.highlight h2 {
  color: #ffffff;
}

.about-card.highlight .card-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.about-card.highlight p {
  color: rgba(255, 255, 255, 0.7);
}

.solution-list {
  list-style: none;
  margin-top: 24px;
}

.solution-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.solution-list li svg {
  color: #713fa9;
  flex-shrink: 0;
}

/* SEÇÃO ESCURA (OBJETIVOS) */
.section-dark {
  background: #09090a;
  color: #ffffff;
}

.section-dark h2 {
  color: #ffffff;
}

.section-header {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  color: #8c8c8c;
  font-size: 1.05rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  background: #111113;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: 40px;
  transition: border-color 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(113, 63, 169, 0.3);
}

.stat-card strong {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 30%, #a880da 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card span {
  color: #8c8c8c;
  font-size: 0.95rem;
}

.team-photo {
  width: 100%;
  max-width: 820px; /* largura boa */
  margin: 0 auto 40px auto;
  border-radius: 24px;
  overflow: hidden;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.team-image {
  width: 100%;
  height: 260px; /* diminui só altura */
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Tablet */
@media (max-width: 768px) {
  .team-image {
    height: 220px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .team-image {
    height: 180px;
  }
}

.photo-placeholder {
  height: 360px;
  border-radius: 20px;
  background: #f7f7f7;
  border: 2px dashed #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.team-grid {
  display: grid;
  gap: 16px;
}

.member-card {
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 24px 32px;
  background: #ffffff;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.member-card:hover {
  border-color: #d1bfe8;
  background: #faf9fc;
}

.member-card.active {
  background: #0f0f0f;
  color: #ffffff;
  border-color: #0f0f0f;
}

.member-card.active h3 {
  color: #ffffff;
}

.member-card.active span,
.member-card.active p {
  color: rgba(255, 255, 255, 0.7);
}

.member-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.member-header h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: #111111;
}

.member-header span {
  color: #6b6b6b;
  font-size: 0.9rem;
}

.toggle-btn {
  width: 38px;
  height: 38px;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  background: #ffffff;
  color: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.member-card.active .toggle-btn {
  background: #713fa9;
  color: #ffffff;
  border-color: #713fa9;
  transform: rotate(180deg);
}

.member-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.35s ease;
}

.member-card.active .member-content {
  max-height: 120px;
  margin-top: 16px;
}

/* CAIXA DE CTA INTERNA */
.style-cta-box {
  padding-top: 0;
}

.about-cta-container {
  background: #0f0f0f;
  color: #ffffff;
  border-radius: 24px;
  padding: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.about-cta-container h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 580px;
  color: #ffffff;
}

.about-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 12px;
  background: #713fa9;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.about-cta-btn:hover {
  background: #5f3193;
  transform: translateY(-2px);
}


/* ============================================
   MEDIA QUERIES (Responsividade Total à Prova de Quebras)
   ============================================ */

/* Telas Médias / Tablets em Paisagem (Até 992px) */
@media (max-width: 992px) {
  .section-about {
    padding: 80px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-cta-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
    gap: 28px;
  }
}

/* Tablets em Retrato e Celulares Grandes (Até 768px) */
@media (max-width: 768px) {
  .about-page-main {
    padding-top: 64px; /* Acompanha o encolhimento do header mobile */
  }

  .hero-about {
    padding: 60px 0;
  }

  .about-card {
    padding: 32px 24px;
  }

  .stat-card {
    padding: 32px;
  }

  .photo-placeholder {
    height: 240px;
  }
}

/* Celulares Pequenos (Até 480px) */
@media (max-width: 480px) {
  .section-about {
    padding: 60px 0;
  }

  .about-card, .stat-card, .member-card {
    padding: 24px 20px;
  }

  .member-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  
  .member-header div {
    width: 100%;
  }

  .member-card.active .member-content {
    max-height: 180px; /* Margem extra caso o texto quebre linhas */
  }

  .about-cta-container {
    padding: 32px 20px;
  }
}

/* ============================================
   ACTIVE NAV LINK
============================================ */

.nav a {
  position: relative;
}

.nav a.nav-active {
  color: #ffffff;
}

.nav a.nav-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -18px;
  width: 100%;
  height: 2px;
  background: #713fa9;
  border-radius: 999px;
}

.mobile-menu a.nav-active {
  color: #ffffff;
}

/* ==========================================================================
   AJUSTE CIRÚRGICO DO LOGO (PRESERVA TODO O COMPORTAMENTO DA NAVBAR)
   ========================================================================== */

/* Ajuste no Desktop: Controla apenas a imagem dentro do link do logo */
.header .nav-container a.logo img, 
img[src*="logocompletapreta"] {
  height: 48px !important;       /* Altura ideal para o logo aparecer bem */
  max-height: 48px !important;
  width: auto !important;         /* Mantém a proporção sem distorcer */
  display: block !important;
}

/* Garante que o link em volta da imagem não empurre a navbar para baixo */
.header .nav-container a.logo {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
}

/* Ajuste no Mobile: Diminui apenas o logo, sem mexer no contêiner ou no menu */
@media (max-width: 768px) {
  .header .nav-container a.logo img, 
  img[src*="logocompletapreta"] {
    height: 36px !important;     /* Tamanho perfeito para telas de celular */
    max-height: 36px !important;
  }
}

