/* Estilos específicos da página de contato (mantendo o geral.css como base) */
:root {
  --bg: #0c0f13;
  --card: #0a1621;
  --ink: #e5e7eb;
  --accent: #225ec5;
  --gutter: 20px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    system-ui,
    Segoe UI,
    Roboto,
    Arial;
}

h1 {
  margin: 0;
  font-size: 1.6rem;
  color: #5f564b;
}

p {
  line-height: 1.6;
}

a {
  color: #ff8c00;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  color: #ffd9a6;
  text-decoration: underline;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

header {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  height: auto;
  max-height: 64px;
  flex-shrink: 0;
}

header .header-logo {
  margin: 1rem 0 0 0;
  max-width: 180px;
}

.header-inner h1 {
  margin: 0;
  font-size: 1.6rem;
  color: #ccccc9;
  line-height: 1.2;
  text-align: left;
}

.header-divider {
  align-self: stretch;
  height: 2px;
  background-color: #8a4e05;
  margin: 0 0 0.6rem 0;
}

.menu-wrapper {
  position: relative;
  display: inline-block;
}

.menu-button {
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.menu-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--card);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 200px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4);
  padding: 0.4rem 0;
  display: none;
  z-index: 20;
}

.menu-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-dropdown li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.148);
}

.menu-dropdown li:last-child {
  border-bottom: none;
}

.menu-dropdown a {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
}

.menu-dropdown a:hover,
.menu-dropdown a:focus {
  background: rgba(255, 255, 255, 0.08);
}

.menu-wrapper:hover .menu-dropdown,
.menu-wrapper:focus-within .menu-dropdown {
  display: block;
}

section.introducao {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 0;
  color: var(--ink);
  line-height: 1.6;
}

section.introducao p {
  margin: 0;
  line-height: 1.4;
}

section.introducao p + p {
  margin-top: 0.6rem;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  justify-items: stretch;
}

main > * {
  min-width: 0;
}

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.228);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.35);
  border-radius: 14px;
  padding: 0.9rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-bottom: 10px;
  position: relative;
  transform: translateZ(0);
}

.card h2 {
  margin-top: 0;
  display: inline-block;
  vertical-align: top;
  font-size: 1.25rem;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}

@media (max-width: 768px) {
  .header-inner {
    gap: 0.5rem;
  }

  .header-inner h1 {
    font-size: 1.35rem;
  }
}

@media (max-width: 600px) {
  .menu-icon {
    width: 28px;
    height: 28px;
  }

  .menu-dropdown {
    min-width: 180px;
  }
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
  display: block;
}

.card-contato {
  margin-top: 1rem;
}

.form-contato {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e5e7eb;
}

.form-group label span.obrigatorio {
  color: #ff8c00;
  font-weight: 400;
  font-size: 0.85rem;
  margin-left: 0.25rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group input[type="file"] {
  background: #020617;
  border: 1px solid rgba(148, 163, 184, 0.6);
  border-radius: 6px;
  padding: 0.5rem 0.6rem;
  color: #e5e7eb;
  font-size: 0.95rem;
  outline: none;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus,
.form-group input[type="file"]:focus {
  border-color: #ff8c00;
  box-shadow: 0 0 0 1px rgba(255, 140, 0, 0.45);
}

.erro-campo {
  font-size: 0.8rem;
  color: #f97373;
}

.erros-gerais {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #f97373;
}

.mensagem-sucesso {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #bbf7d0;
  font-size: 0.95rem;
}

.btn-enviar {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: 1px solid #ff8c00;
  background: #ff8c00;
  color: #111827;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.1s ease,
    box-shadow 0.2s ease;
}

.btn-enviar:hover {
  background: #ffad33;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.btn-enviar:active {
  transform: translateY(0);
  box-shadow: none;
}

.texto-intro-contato ul {
  margin-top: 0.5rem;
  padding-left: 1.2rem;
}

.texto-intro-contato li {
  margin-bottom: 0.25rem;
}

.texto-intro-contato p strong {
  color: #ffffff;
}

.texto-intro-contato {
  margin-top: 0.5rem;
}

.texto-intro-contato p {
  line-height: 1.6;
}

.comercial-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn-secundario {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 140, 0, 0.7);
  background: transparent;
  color: #ffcf8a;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.1s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.btn-secundario:hover {
  background: rgba(255, 140, 0, 0.12);
  color: #ffe3b8;
  text-decoration: none;
  transform: translateY(-1px);
}

.comercial-grid-2,
.comercial-grid-3,
.planos-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.comercial-grid-2 {
  grid-template-columns: 1fr;
}

.comercial-grid-3 {
  grid-template-columns: 1fr;
}

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

.mini-bloco {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1rem;
}

.mini-bloco h3 {
  margin: 0 0 0.45rem 0;
  color: #ff8c00;
  font-size: 1.02rem;
}

.mini-bloco p {
  margin: 0;
  color: #d6d6d6;
}

.plano-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.plano-destaque {
  border-color: rgba(255, 140, 0, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 140, 0, 0.12);
}

.plano-faixa {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 140, 0, 0.14);
  color: #ffcf8a;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plano-card h3 {
  margin: 0 0 0.4rem 0;
  color: #ffffff;
  font-size: 1.15rem;
}

.plano-preco {
  margin: 0 0 0.85rem 0;
  color: #ff8c00;
  font-weight: 700;
}

.plano-lista {
  margin: 0 0 1rem 1rem;
  padding-left: 1rem;
  flex: 1 1 auto;
}

.plano-lista li {
  margin-bottom: 0.45rem;
  line-height: 1.4;
}

@media (min-width: 760px) {
  .comercial-grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .comercial-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .planos-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.form-group select {
  background: #020617;
  border: 1px solid rgba(148, 163, 184, 0.6);
  border-radius: 6px;
  padding: 0.5rem 0.6rem;
  color: #e5e7eb;
  font-size: 0.95rem;
  outline: none;
}

.form-group select:focus {
  border-color: #ff8c00;
  box-shadow: 0 0 0 1px rgba(255, 140, 0, 0.45);
}

.form-termo-check {
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.45;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.15rem;
  flex: 0 0 auto;
}

.termo-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1rem;
}

.termo-box p:last-child {
  margin-bottom: 0;
}

.tabela-admin-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1rem;
}

.tabela-admin {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.tabela-admin th,
.tabela-admin td {
  padding: 0.75rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
  vertical-align: top;
  font-size: 0.93rem;
}

.tabela-admin thead th {
  background: rgba(255, 255, 255, 0.06);
  color: #ff8c00;
  font-weight: 700;
}

.tabela-admin tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-novo {
  background: rgba(59, 130, 246, 0.14);
  color: #bfdbfe;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.status-em_analise {
  background: rgba(245, 158, 11, 0.14);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.status-aprovado {
  background: rgba(34, 197, 94, 0.14);
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.status-reprovado {
  background: rgba(239, 68, 68, 0.14);
  color: #fecaca;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.status-contratado {
  background: rgba(168, 85, 247, 0.14);
  color: #e9d5ff;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.status-inativo {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.link-admin {
  color: #ff8c00;
  font-weight: 600;
  text-decoration: none;
}

.link-admin:hover {
  color: #ffd9a6;
  text-decoration: underline;
}

.detalhe-topo {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.detalhe-subtitulo {
  margin-top: 0.35rem;
  color: #d6d6d6;
}

.detalhe-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.logo-preview-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

.logo-preview-img {
  max-width: 100%;
  max-height: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.detalhe-aux {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: #b8b8b8;
}

.detalhe-aux code {
  color: #ffd9a6;
  word-break: break-all;
}

@media (min-width: 760px) {
  .detalhe-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-grid.cols-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 700px) {
  .form-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.etapa-fluxo-card {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.etapa-fluxo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  line-height: 1.4;
}

.etapa-link {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
}

.etapa-link.etapa-ativa {
  color: #ff8c00;
}

.etapa-separador {
  color: rgba(255, 255, 255, 0.5);
}
