/* ═══════════════════════════════════════════════════════════════
   GESSO ARTETETO — style.css (pasta css/)
   Design: Dark Luxury · Simples e robusto
   ═══════════════════════════════════════════════════════════════ */

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #0b0f14;
  color: #e8eef5;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #d4af37; text-decoration: none; }

/* ═══════════════════════════════════════════════════════════════
   TOPO
   ═══════════════════════════════════════════════════════════════ */
.topo {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 24px;
  background: rgba(11, 15, 20, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #1e2733;
}
.logo {
  color: #d4af37;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  flex-shrink: 0;
}
.menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.menu a {
  color: #8b98a8;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.menu a:hover {
  color: #e8eef5;
  background: rgba(255,255,255,0.04);
}
.menu a.ativo {
  color: #d4af37;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  font-weight: 600;
}
.acoes {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.icone {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #2a3441;
  background: transparent;
  color: #8b98a8;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.icone:hover {
  background: #161d27;
  color: #e8eef5;
}

/* ═══════════════════════════════════════════════════════════════
   CONTEÚDO
   ═══════════════════════════════════════════════════════════════ */
.conteudo {
  padding-top: 56px;
}
.secao {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  position: relative;
}
.secao::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,15,20,0.3) 0%, rgba(11,15,20,0.9) 100%);
  z-index: 0;
}
.centro {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: 100%;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   TIPOGRAFIA
   ═══════════════════════════════════════════════════════════════ */
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #e8eef5;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
h1 strong, h2 strong {
  color: #d4af37;
}
h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #e8eef5;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.sub {
  color: #8b98a8;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  max-width: 500px;
  margin: 0 auto 32px;
}

/* ═══════════════════════════════════════════════════════════════
   SELO / BADGE
   ═══════════════════════════════════════════════════════════════ */
.selo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #d4af37;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════════════════════
   BOTÕES
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-primario {
  background: #d4af37;
  color: #0b0f14;
}
.btn-primario:hover {
  background: #e8c84a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}
.btn-secundario {
  background: transparent;
  color: #e8eef5;
  border-color: #2a3441;
}
.btn-secundario:hover {
  background: #161d27;
  border-color: #8b98a8;
}
.btn-pequeno {
  padding: 8px 16px;
  font-size: 0.78rem;
}

/* ═══════════════════════════════════════════════════════════════
   NÚMEROS / STATS
   ═══════════════════════════════════════════════════════════════ */
.numeros {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}
.numeros div {
  text-align: center;
}
.numeros strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #d4af37;
  line-height: 1;
}
.numeros span {
  font-size: 0.75rem;
  color: #8b98a8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════
   GRID PRODUTOS
   ═══════════════════════════════════════════════════════════════ */
.grid-produtos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.produto {
  background: #161d27;
  border: 1px solid #1e2733;
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  transition: all 0.25s;
}
.produto:hover {
  transform: translateY(-4px);
  border-color: #2a3441;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.produto-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.produto h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #e8eef5;
  margin-bottom: 8px;
}
.produto > p {
  font-size: 0.82rem;
  color: #8b98a8;
  line-height: 1.5;
  margin-bottom: 16px;
}
.produto-preco {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #1e2733;
}
.produto-preco span {
  font-size: 1.1rem;
  font-weight: 700;
  color: #d4af37;
}

/* ═══════════════════════════════════════════════════════════════
   GRID SERVIÇOS
   ═══════════════════════════════════════════════════════════════ */
.grid-servicos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.servico {
  background: #161d27;
  border: 1px solid #1e2733;
  border-radius: 16px;
  padding: 28px;
  text-align: left;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.servico:hover {
  transform: translateY(-4px);
  border-color: #2a3441;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.servico-icone {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.servico h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e8eef5;
  margin-bottom: 8px;
}
.servico p {
  font-size: 0.82rem;
  color: #8b98a8;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   GRID IAs
   ═══════════════════════════════════════════════════════════════ */
.grid-ias {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.ia-card {
  background: #161d27;
  border: 1px solid #1e2733;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  transition: all 0.2s;
}
.ia-card:hover {
  border-color: #2a3441;
  transform: translateY(-2px);
}
.ia-icone {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.ia-card.online .ia-icone {
  background: rgba(63, 185, 80, 0.12);
}
.ia-card.offline .ia-icone {
  background: rgba(248, 81, 73, 0.12);
}
.ia-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e8eef5;
  margin-bottom: 2px;
}
.status {
  font-size: 0.72rem;
  font-weight: 500;
}
.status.online {
  color: #3fb950;
}
.status.offline {
  color: #f85149;
}

/* ═══════════════════════════════════════════════════════════════
   TABELA
   ═══════════════════════════════════════════════════════════════ */
.tabela-wrap {
  overflow: hidden;
  border: 1px solid #1e2733;
  border-radius: 14px;
  background: #161d27;
  max-width: 800px;
  margin: 24px auto 0;
  width: 100%;
}
.tabela-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.tabela-wrap thead th {
  background: #0f1419;
  color: #8b98a8;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #1e2733;
}
.tabela-wrap tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #1e2733;
  color: #b8c0cc;
}
.tabela-wrap tbody tr:last-child td {
  border-bottom: none;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}
.badge.entregue {
  background: rgba(63, 185, 80, 0.12);
  color: #3fb950;
}
.badge.andamento {
  background: rgba(210, 153, 34, 0.12);
  color: #d29922;
}

/* ═══════════════════════════════════════════════════════════════
   FORMULÁRIO
   ═══════════════════════════════════════════════════════════════ */
.formulario {
  background: #161d27;
  border: 1px solid #1e2733;
  border-radius: 16px;
  padding: 28px;
  text-align: left;
}
.campo {
  margin-bottom: 16px;
}
.campo label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #b8c0cc;
  margin-bottom: 6px;
}
.obrigatorio {
  color: #f85149;
}
.campo input,
.campo textarea {
  width: 100%;
  background: #0b0f14;
  border: 1px solid #2a3441;
  color: #e8eef5;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: all 0.15s;
}
.campo input:focus,
.campo textarea:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}
.campo textarea {
  resize: vertical;
  min-height: 100px;
}

/* ═══════════════════════════════════════════════════════════════
   CONTATO INFO
   ═══════════════════════════════════════════════════════════════ */
.contato-info {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #8b98a8;
}

/* ═══════════════════════════════════════════════════════════════
   CHATBOT
   ═══════════════════════════════════════════════════════════════ */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.chat-botao {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #d4af37;
  color: #0b0f14;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15), 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.2s;
}
.chat-botao:hover {
  transform: scale(1.1);
}
.chat-janela {
  width: 360px;
  max-width: calc(100vw - 48px);
  height: 460px;
  max-height: calc(100vh - 120px);
  background: #0d1218;
  border: 1px solid #2a3441;
  border-radius: 20px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.3s ease;
}
.chat-janela.aberto {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.chat-topo {
  padding: 14px 16px;
  background: #161d27;
  border-bottom: 1px solid #1e2733;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.chat-titulo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.chat-topo button {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid #2a3441;
  background: transparent;
  color: #8b98a8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-mensagens {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
}
.msg.usuario {
  align-self: flex-end;
  background: #d4af37;
  color: #0b0f14;
  border-bottom-right-radius: 4px;
}
.msg.bot {
  align-self: flex-start;
  background: #161d27;
  color: #e8eef5;
  border: 1px solid #1e2733;
  border-bottom-left-radius: 4px;
}
.chat-input {
  padding: 12px 16px;
  border-top: 1px solid #1e2733;
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  background: #161d27;
}
.chat-input input {
  flex: 1;
  background: #0b0f14;
  border: 1px solid #2a3441;
  color: #e8eef5;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
}
.chat-input input:focus {
  border-color: #d4af37;
}
.chat-input button {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #2a3441;
  background: transparent;
  color: #8b98a8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.chat-input button:hover {
  background: #d4af37;
  color: #0b0f14;
  border-color: #d4af37;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVIDADE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .topo { padding: 0 12px; height: 50px; }
  .menu { display: none; }
  .secao { padding: 40px 16px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .grid-produtos,
  .grid-servicos,
  .grid-ias { grid-template-columns: 1fr; }
  .chat-janela {
    width: 100vw;
    max-width: 100vw;
    height: calc(100vh - 60px);
    border-radius: 16px 16px 0 0;
    position: fixed;
    bottom: 0; right: 0; left: 0;
  }
  .chat-widget { bottom: 16px; right: 16px; }
  .chat-botao { width: 48px; height: 48px; font-size: 1.2rem; }
  .numeros { gap: 24px; flex-direction: column; }
  .contato-info { flex-direction: column; gap: 8px; text-align: center; }
}

@media (min-width: 1920px) {
  .centro { max-width: 1400px; }
  h1 { font-size: 4rem; }
  .grid-produtos,
  .grid-servicos { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 2560px) {
  .centro { max-width: 1600px; }
  h1 { font-size: 5rem; }
}