/* Página: Criação de sites — complementa sistemas.css */

.cds-hero-visual {
  position: relative;
  min-height: 340px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.1)),
    #0b172a;
  border: 1px solid rgba(148, 163, 184, 0.22);
  overflow: hidden;
  padding: 22px 16px 18px;
  display: grid;
  gap: 12px;
  align-content: center;
}

.cds-devices {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr;
  gap: 12px;
  align-items: end;
}

.cds-desktop {
  border-radius: 12px;
  background: #020617;
  border: 1px solid #334155;
  padding: 8px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.cds-desktop-bar {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
}

.cds-desktop-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #475569;
}

.cds-desktop-screen {
  border-radius: 8px;
  background: linear-gradient(180deg, #0f2748 0%, #0b1d36 100%);
  border: 1px solid rgba(96, 165, 250, 0.22);
  padding: 12px;
  min-height: 170px;
  display: grid;
  gap: 8px;
}

.cds-desktop-screen span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.28);
}

.cds-desktop-screen span:nth-child(1) {
  width: 42%;
  height: 14px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.cds-desktop-screen span:nth-child(2) { width: 78%; }
.cds-desktop-screen span:nth-child(3) { width: 64%; }
.cds-desktop-screen span:nth-child(4) { width: 88%; height: 42px; border-radius: 8px; }

.cds-mobile {
  width: 100%;
  max-width: 110px;
  justify-self: center;
  border-radius: 18px;
  background: #020617;
  border: 2px solid #334155;
  padding: 10px 8px 12px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.cds-mobile::before {
  content: "";
  display: block;
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: #1e293b;
  margin: 0 auto 8px;
}

.cds-mobile-screen {
  border-radius: 12px;
  background: linear-gradient(180deg, #102a44 0%, #0b1d36 100%);
  border: 1px solid rgba(96, 165, 250, 0.25);
  min-height: 150px;
  padding: 10px 8px;
  display: grid;
  gap: 6px;
  align-content: start;
}

.cds-mobile-screen b {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.3);
}

.cds-mobile-screen b:nth-child(1) {
  width: 55%;
  height: 10px;
  background: #60a5fa;
}

.cds-mobile-screen b:nth-child(2) { width: 82%; }
.cds-mobile-screen b:nth-child(3) { width: 70%; }
.cds-mobile-screen b:nth-child(4) { width: 90%; height: 28px; border-radius: 7px; }

.cds-hero-caption {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: #bfdbfe;
  font-weight: 600;
}

.cds-questions {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.cds-questions li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.45;
}

.cds-questions svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--blue-600);
}

.cds-seo-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.cds-seo-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.4;
}

.cds-seo-list svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: #60a5fa;
}

.cds-note {
  margin: 20px 0 0;
  max-width: 60ch;
  color: #94a3b8;
  font-size: 14.5px;
  line-height: 1.65;
}

.cds-types {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.cds-type {
  padding: 20px 18px 18px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.cds-type strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.cds-type p {
  margin: 0;
  color: var(--text-2, #475569);
  font-size: 14.5px;
  line-height: 1.55;
}

.cds-portfolio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 32px;
}

.cds-project {
  display: grid;
  gap: 12px;
}

.cds-project a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #0b172a;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cds-project a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.cds-project img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 920 / 570;
  object-fit: cover;
}

.cds-project-meta strong {
  display: block;
  font-size: 17px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.cds-project-meta span {
  display: block;
  color: var(--text-2, #475569);
  font-size: 14px;
  margin-bottom: 8px;
}

.cds-project-meta a {
  font-weight: 600;
  font-size: 14px;
  border: 0;
  background: none;
  box-shadow: none;
  transform: none;
  padding: 0;
}

.cds-project-meta a:hover {
  transform: none;
  box-shadow: none;
}

@media (max-width: 980px) {
  .cds-types {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .cds-seo-list {
    grid-template-columns: 1fr;
  }

  .cds-portfolio {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cds-types {
    grid-template-columns: 1fr;
  }

  .cds-devices {
    grid-template-columns: 1fr auto;
  }
}
