﻿:root {
  --fundo: #f4f7fb;
  --texto: #111827;
  --muted: #5b6472;
  --linha: #d9e0ea;
  --azul: #2457d6;
  --verde: #059669;
  --amarelo: #eab308;
  --vermelho: #e84b4b;
  --painel: #ffffff;
  --codigo: #121827;
  --sombra: 0 24px 70px rgba(31, 41, 55, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", Arial, sans-serif;
  color: var(--texto);
  background:
    radial-gradient(circle at top left, rgba(36, 87, 214, 0.14), transparent 34%),
    linear-gradient(300deg, rgba(5, 150, 105, 0.10), transparent 38%),
    var(--fundo);
}

button,
textarea,
a {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(36, 87, 214, 0.35);
  outline-offset: 3px;
}

a {
  color: inherit;
  text-decoration: none;
}

.pagina {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.cabecalho {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  margin-bottom: 24px;
}

.marca {
  display: inline-flex;
  align-items: center;
  width: min(230px, 62vw);
}

.marca img {
  display: block;
  width: 100%;
  height: 58px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.menu {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(217, 224, 234, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.menu a {
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.menu a:hover {
  color: var(--texto);
  background: #eef3fb;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 32px;
  align-items: stretch;
  min-height: 500px;
}

.hero-conteudo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 0;
}

.etiqueta {
  width: fit-content;
  margin: 0 0 22px;
  padding: 8px 12px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 999px;
  color: #1744b1;
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: var(--azul);
}

.subtitulo {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.metricas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(620px, 100%);
  margin-top: 34px;
}

.metricas div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(217, 224, 234, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.metricas strong,
.metricas span {
  display: block;
}

.metricas strong {
  color: var(--texto);
  font-size: 24px;
  line-height: 1.1;
}

.metricas span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.painel-gerador,
.bloco {
  border: 1px solid var(--linha);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--sombra);
}

.painel-gerador {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 26px 22px 22px;
}

.painel-gerador::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--azul), var(--verde), var(--amarelo), var(--vermelho));
}

label {
  margin-bottom: 10px;
  color: #293241;
  font-weight: 800;
}

textarea {
  width: 100%;
  min-height: 240px;
  resize: vertical;
  border: 1px solid var(--linha);
  border-radius: 8px;
  padding: 16px;
  color: var(--texto);
  background: #fbfdff;
  outline: none;
  line-height: 1.5;
}

textarea:focus {
  border-color: var(--azul);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.exemplos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.exemplo {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #dfe6f0;
  color: #344054;
  background: #f7f9fc;
  font-size: 13px;
  font-weight: 800;
}

.exemplo:hover {
  color: var(--azul);
  background: #eef4ff;
  box-shadow: none;
}

.acoes {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  cursor: pointer;
  color: #fff;
  background: var(--azul);
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
  background: #1d4ed8;
}

.botao-secundario {
  color: var(--texto);
  background: #e9eef6;
}

.botao-secundario:hover {
  background: #dde5f0;
  box-shadow: none;
}

.caixa-resultado {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  margin-top: 36px;
}

.bloco {
  overflow: hidden;
}

.topo-bloco {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid var(--linha);
  color: #293241;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0;
}

.topo-bloco small {
  color: var(--muted);
  font-weight: 700;
  text-transform: none;
}

.acoes-codigo {
  display: flex;
  gap: 8px;
}

.botao-mini {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #d8e7ff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.botao-mini:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.mensagem {
  min-height: 40px;
  margin: 0;
  padding: 11px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #b8f7d0;
  font-size: 13px;
  font-weight: 700;
}
.bloco-codigo {
  background: var(--codigo);
  color: #eef5ff;
}

.bloco-codigo .topo-bloco {
  border-color: rgba(255, 255, 255, 0.12);
  color: #d8e7ff;
}

pre {
  min-height: 420px;
  max-height: 560px;
  margin: 0;
  padding: 18px;
  overflow: auto;
  white-space: pre-wrap;
  line-height: 1.6;
  font-size: 14px;
}

.bloco-site {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
  background: #fff;
}


.rodape {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(217, 224, 234, 0.9);
  color: var(--muted);
}

.rodape p,
.rodape span {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.rodape p {
  max-width: 620px;
  font-weight: 700;
}
@media (max-width: 880px) {
  .hero,
  .caixa-resultado {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .painel-gerador {
    min-height: auto;
  }

  .rodape {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .pagina {
    width: min(100% - 22px, 1180px);
    padding: 16px 0 28px;
  }

  .cabecalho {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 10px;
  }

  .menu {
    width: 100%;
  }

  .menu a {
    flex: 1;
    text-align: center;
  }

  h1 {
    font-size: 42px;
  }

  .subtitulo {
    font-size: 17px;
  }

  .metricas {
    grid-template-columns: 1fr;
  }

  .acoes {
    flex-direction: column;
  }

  button {
    width: 100%;
  }

  pre,
  .bloco-site {
    min-height: 360px;
  }
}







