/* ===== ESTILOS ESPECÍFICOS DO CADASTRO ===== */

.cadastro-body {
  min-height: 100vh;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #ffffff;
  background: #000;
  background-image: url("imagem/fundo.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

/* Overlay escurecido para dar contraste */
.cadastro-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.9)
  );
  z-index: -1;
}

/* ===== CADASTRO DE CLIENTES ===== */

.cadastro-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 16px 120px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 40px;
}

.cadastro-content {
  display: contents;
}

.cadastro-hero {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 10px;
}

.cadastro-hero h1 {
  font-size: clamp(2rem, 3vw, 2.4rem);
}

.cadastro-subtitle {
  margin-top: 6px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Card do formulário */
.form-card {
  background: radial-gradient(circle at top left, rgba(52, 62, 96, 0.7) 0, rgba(18, 22, 40, 0.8) 40%, rgba(5, 8, 22, 0.9) 100%);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.form-card h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-card h2 i {
  margin-right: 8px;
  color: #ffd600;
}

.form-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Campos do formulário */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  padding: 12px 14px;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #ffd600;
  box-shadow: 0 0 0 3px rgba(255, 214, 0, 0.2);
  background: rgba(0, 0, 0, 0.6);
}

.form-double {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.checkbox-group input[type="checkbox"] {
  width: 14px;
  height: 14px;
}

/* Consentimento LGPD */
.consent-group {
  margin-top: 6px;
}

.checkbox-lg {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
}

.checkbox-lg input[type="checkbox"] {
  margin-top: 3px;
}

/* Botões */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  width: 100%;
  margin-top: 4px;
  background: #ffd600;
  color: #000;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.8);
}

.form-privacy-note {
  margin-top: 8px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Card lateral cadastro */
.cadastro-side-card {
  background: rgba(0, 0, 0, 0.75);
  border-radius: 22px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.7);
  font-size: 0.9rem;
}

.cadastro-side-card h3 {
  margin-bottom: 8px;
}

.cadastro-side-card ul {
  padding-left: 16px;
  margin-bottom: 10px;
}

.cadastro-side-card li + li {
  margin-top: 4px;
}

.side-highlight {
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 214, 0, 0.08);
  border: 1px dashed rgba(255, 214, 0, 0.6);
  font-size: 0.82rem;
}

/* ===== MARKETPLACE ===== */

.market-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 16px 80px;
}

.market-hero {
  text-align: center;
  margin-bottom: 20px;
}

.market-hero h1 {
  font-size: clamp(2rem, 3vw, 2.4rem);
}

.market-subtitle {
  margin-top: 6px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.products-section {
  margin-top: 24px;
}

.products-header h2 {
  font-size: 1.2rem;
}

.products-header p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
}

.products-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.product-card {
  background: rgba(3, 8, 25, 0.9);
  border-radius: 18px;
  padding: 16px 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-image {
  height: 90px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 2rem;
}

/* Gradientes para os cards (não dependem de imagens externas) */
.product-image-1 { background: radial-gradient(circle at top, #ffd600, #5b4c00); }
.product-image-2 { background: radial-gradient(circle at top, #00ffc6, #00433a); }
.product-image-3 { background: radial-gradient(circle at top, #ff7af2, #4a0044); }
.product-image-4 { background: radial-gradient(circle at top, #7aa7ff, #041a52); }
.product-image-5 { background: radial-gradient(circle at top, #ffb86c, #5a2a00); }
.product-image-6 { background: radial-gradient(circle at top, #9effa1, #064f1a); }

.product-card h3 {
  font-size: 1rem;
}

.product-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

.product-price {
  font-weight: 600;
  margin-top: 4px;
}

.btn-secondary {
  margin-top: 8px;
  background: transparent;
  border: 1px solid #ffd600;
  color: #ffd600;
}

.btn-secondary:hover {
  background: #ffd600;
  color: #000;
}

/* Responsivo cadastro + marketplace */
@media (max-width: 900px) {
  .cadastro-main {
    grid-template-columns: 1fr;
    padding: 120px 16px 120px;
    gap: 30px;
  }

  .cadastro-side-card {
    order: -1;
    margin-bottom: 0;
  }
}

@media (max-width: 600px) {
  .cadastro-main {
    padding: 100px 12px 100px;
  }

  .form-card {
    padding: 24px 20px;
  }

  .cadastro-hero h1 {
    font-size: 1.8rem;
  }

  .form-double {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Estilos para Seção WhatsApp */
.whatsapp-section {
  margin: 2rem 0;
  padding: 0 2rem;
}

.whatsapp-card {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 15px;
  padding: 2rem;
  color: white;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
  transition: transform 0.3s ease;
}

.whatsapp-card:hover {
  transform: translateY(-5px);
}

.whatsapp-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.whatsapp-icon {
  font-size: 3rem;
  animation: pulse 2s infinite;
}

.whatsapp-text h3 {
  color: white;
  margin: 0 0 0.5rem 0;
  font-size: 1.4rem;
  font-weight: 600;
}

.whatsapp-text p {
  margin: 0;
  opacity: 0.95;
  font-size: 1rem;
  line-height: 1.5;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  color: #25D366;
  text-decoration: none;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.whatsapp-button:hover {
  background: #f8f9fa;
  color: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@media (max-width: 600px) {
  .whatsapp-section {
    padding: 0 1rem;
  }
  
  .whatsapp-card {
    padding: 1.5rem;
  }
  
  .whatsapp-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .whatsapp-icon {
    font-size: 2.5rem;
  }
  
  .whatsapp-text h3 {
    font-size: 1.2rem;
  }
  
  .whatsapp-button {
    width: 100%;
    justify-content: center;
  }
}
