/* =========================================================
   PAGES.CSS
   PÁGINAS INTERNAS — INFRONEX
========================================================= */

/* =========================================================
   HERO INTERNO
========================================================= */

.page-hero {
  position: relative;
  padding-top: 180px;
  padding-bottom: 120px;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      #020409 0%,
      #061827 45%,
      #020409 100%
    );
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(0,255,156,.18), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(10,132,255,.22), transparent 35%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(48px, 6vw, 88px);
  line-height: .95;
  letter-spacing: -4px;
  margin: 20px 0 25px;
}

.page-hero p {
  max-width: 720px;
  font-size: 18px;
  color: #d8d8d8;
}

/* =========================================================
   SEÇÕES INTERNAS
========================================================= */

.page-section {
  position: relative;
  padding: 110px 0;
  background:
    linear-gradient(
      135deg,
      #020409 0%,
      #071424 50%,
      #020409 100%
    );
}

.page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.page-grid h2 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -2px;
  margin: 14px 0 18px;
}

.page-grid p {
  color: #d8d8d8;
  margin-bottom: 14px;
}

/* =========================================================
   HIGHLIGHT
========================================================= */

.highlight-box {
  background: rgba(8,14,24,.70);
  border: 1px solid rgba(0,255,156,.22);
  border-radius: 30px;
  padding: 42px;
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(0,0,0,.40);
  transition: .3s ease;
}

.highlight-box:hover {
  transform: translateY(-6px);
  border-color: rgba(0,255,156,.45);
}

.highlight-box i {
  font-size: 48px;
  color: #00FF9C;
  margin-bottom: 20px;
}

.highlight-box h3 {
  font-size: 32px;
  margin-bottom: 18px;
}

.highlight-box p {
  color: #d8d8d8;
}

/* =========================================================
   VALUES
========================================================= */

.values-section {
  padding: 110px 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(10,132,255,.25), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(0,255,156,.15), transparent 35%),
    linear-gradient(
      135deg,
      #020409 0%,
      #061827 45%,
      #020409 100%
    );
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: rgba(8,14,24,.72);
  border: 1px solid rgba(0,255,156,.20);
  border-radius: 26px;
  padding: 35px;
  transition: .3s ease;
  backdrop-filter: blur(16px);
}

.value-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,255,156,.45);
  box-shadow: 0 0 35px rgba(0,255,156,.10);
}

.value-card i {
  color: #00FF9C;
  font-size: 38px;
  margin-bottom: 18px;
}

.value-card h3 {
  margin-bottom: 14px;
  font-size: 28px;
}

.value-card p {
  color: #d8d8d8;
}

/* =========================================================
   CTA
========================================================= */

.cta-section {
  background:
    linear-gradient(
      135deg,
      #020409 0%,
      #07111f 50%,
      #020409 100%
    );
  padding: 100px 0;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 50px;
  border-radius: 34px;
  background:
    linear-gradient(
      135deg,
      rgba(0,255,156,.08),
      rgba(10,132,255,.08)
    );
  border: 1px solid rgba(0,255,156,.18);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0,0,0,.40);
}

.cta-box h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.cta-box p {
  color: #d8d8d8;
  margin-top: 10px;
}

/* =========================================================
   SERVICE LIST
========================================================= */

.service-list {
  display: grid;
  gap: 20px;
}

.service-line {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 35px;
  border-radius: 28px;
  background: rgba(8,14,24,.72);
  border: 1px solid rgba(0,255,156,.18);
  transition: .3s ease;
  cursor: pointer;
  overflow: hidden;
}

.service-line:hover {
  transform: translateY(-6px);
  border-color: rgba(0,255,156,.42);
}

.service-line i {
  color: #00FF9C;
  font-size: 38px;
  min-width: 42px;
}

.service-line h3 {
  font-size: 30px;
  margin-bottom: 10px;
}

.preview {
  color: #00FF9C;
  font-weight: 700;
}

.service-content {
  max-height: 0;
  overflow: hidden;
  transition: .4s ease;
}

.service-line.active .service-content {
  max-height: 500px;
  margin-top: 18px;
}

.service-content ul {
  margin-top: 16px;
  padding-left: 18px;
}

.service-content li {
  margin-bottom: 10px;
  color: #d8d8d8;
}

/* =========================================================
   CONTATO
========================================================= */

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-panel {
  background: rgba(8,14,24,.72);
  border: 1px solid rgba(0,255,156,.20);
  border-radius: 28px;
  padding: 40px;
}

.contact-panel h2 {
  font-size: 42px;
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-info-item i {
  color: #00FF9C;
  font-size: 30px;
  margin-top: 5px;
}

.contact-info-item p {
  color: #d8d8d8;
}

/* =========================================================
   LEGAL HERO
   USADO EM:
   politica-privacidade.html
   termos-uso.html
========================================================= */

.legal-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 150px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,255,156,.15), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(10,132,255,.18), transparent 35%),
    linear-gradient(
      135deg,
      #020409 0%,
      #06121d 60%,
      #020409 100%
    );
  border-bottom: 1px solid rgba(0,255,156,.18);
}

.legal-hero .container {
  position: relative;
  z-index: 2;
}

.legal-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -3px;
  margin-bottom: 14px;
}

.legal-hero p {
  max-width: 720px;
  color: #d8d8d8;
  font-size: 18px;
}

/* =========================================================
   LEGAL SECTION / CARDS
========================================================= */

.legal-section {
  padding: 100px 0;
  background:
    linear-gradient(
      135deg,
      #020409 0%,
      #071424 50%,
      #020409 100%
    );
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.legal-box {
  position: relative;
  padding: 35px;
  border-radius: 24px;
  background: rgba(8,14,24,.72);
  border: 1px solid rgba(0,255,156,.18);
  backdrop-filter: blur(14px);
  cursor: pointer;
  overflow: hidden;
  transition: .3s ease;
}

.legal-box:hover {
  transform: translateY(-6px);
  border-color: rgba(0,255,156,.45);
  box-shadow: 0 0 35px rgba(0,255,156,.12);
}

.legal-number {
  position: absolute;
  top: 18px;
  right: 25px;
  font-size: 72px;
  font-weight: 900;
  color: rgba(255,255,255,.05);
  pointer-events: none;
}

.legal-box h3 {
  font-size: 24px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.legal-box p {
  color: #d0d0d0;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.legal-preview {
  color: #9aa4b2 !important;
  font-size: 14px;
  font-weight: 600;
}

.legal-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: .4s ease;
}

.legal-box.active .legal-content {
  max-height: 260px;
  opacity: 1;
  margin-top: 14px;
}

/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 1000px) {
  .page-grid,
  .values-grid,
  .contact-page-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding-top: 140px;
    padding-bottom: 80px;
  }

  .page-hero h1 {
    font-size: 38px;
    line-height: 1.05;
    letter-spacing: -1.5px;
  }

  .legal-hero {
    min-height: 300px;
    padding: 130px 0 70px;
  }

  .legal-hero h1 {
    font-size: 38px;
    letter-spacing: -1.5px;
  }

  .service-line {
    flex-direction: column;
  }

  .cta-box {
    padding: 35px 25px;
  }

  .legal-box {
    padding: 28px;
  }
}