/* =========================================================
   AULA 01 — ESTRUTURA HTML5 PROFISSIONAL PRO
   Bloco: Estrutura HTML5 completa
   ========================================================= */

#profissional.profissional-pro {
  position: relative;
  overflow: hidden;
  border-color: rgba(56, 189, 248, 0.24);
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 34%),
    radial-gradient(circle at bottom left, rgba(247, 201, 72, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.94));
}

#profissional.profissional-pro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.07), transparent 42%, rgba(247, 201, 72, 0.045));
  pointer-events: none;
}

#profissional .profissional-pro-inner {
  position: relative;
  z-index: 1;
}

#profissional .profissional-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: rgba(56, 189, 248, 0.08);
  color: #67e8f9;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

#profissional .profissional-title {
  max-width: 900px;
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4.6vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.052em;
}

#profissional .profissional-title span {
  background: linear-gradient(135deg, #67e8f9, #38bdf8, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#profissional .profissional-lead {
  max-width: 980px;
  margin: 0;
  color: #e0f2fe;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.8;
}

#profissional .estrutura-parts {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

#profissional .estrutura-part {
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 18px;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 38%),
    rgba(2, 6, 23, 0.62);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

#profissional .estrutura-part:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.42);
  box-shadow: 0 16px 34px rgba(0, 20, 60, 0.22);
}

#profissional .estrutura-part small {
  display: inline-flex;
  margin-bottom: 10px;
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

#profissional .estrutura-part strong {
  display: block;
  margin-bottom: 8px;
  color: #f8fafc;
  font-size: 1.05rem;
}

#profissional .estrutura-part p {
  margin: 0;
  color: #dbeafe;
  line-height: 1.65;
}

#profissional .code-window-pro {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 20px;
  background: #020617;
  box-shadow: 0 18px 44px rgba(0, 20, 60, 0.22);
}

#profissional .code-window-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.16);
  background: rgba(15, 23, 42, 0.76);
}

#profissional .code-window-topbar strong {
  color: #e0f2fe;
}

#profissional .code-window-topbar span {
  color: #7dd3fc;
  font-size: 0.86rem;
}

#profissional .code-window-pro pre {
  margin: 0;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.05), transparent 32%),
    #020617;
}

#profissional .profissional-table-wrap {
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.45);
}

#profissional .profissional-table-wrap table {
  margin: 0;
  min-width: 720px;
}

#profissional .profissional-rule {
  margin-top: 22px;
  border: 1px solid rgba(34, 197, 94, 0.34);
  border-radius: 20px;
  padding: 20px;
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(5, 46, 36, 0.46), rgba(3, 30, 27, 0.58));
}

#profissional .profissional-rule strong {
  display: block;
  margin-bottom: 8px;
  color: #bbf7d0;
  font-size: 1rem;
}

#profissional .profissional-rule p {
  margin: 0;
  color: #eafff2;
  line-height: 1.75;
}

@media (max-width: 980px) {
  #profissional .estrutura-parts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  #profissional.profissional-pro {
    padding: 22px !important;
  }

  #profissional .estrutura-parts {
    grid-template-columns: 1fr;
  }

  #profissional .profissional-title {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  #profissional .profissional-lead,
  #profissional .estrutura-part p,
  #profissional .profissional-rule p {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  #profissional .code-window-topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}
