/* reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* corpo */
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: #f4f7f8;
  color: #444;
}

/* container geral: 50/50 */
.upc-section {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* lado da imagem */
.upc-slider {
  flex: 1;      /* 50% */
  position: relative;
  overflow: hidden;
}
.upc-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.upc-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.upc-active {
  opacity: 1;
  z-index: 1;
}

/* lado do formulário */
.upc-form-area {
  flex: 1;      /* 50% */
  padding: 2rem;
  background: #fff;
}

/* estilo do form */
.upc-form-title {
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  color: #2c3e50;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.upc-field {
  margin-bottom: 1.25rem;
}
.upc-field label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2c3e50;
}
.upc-field input,
.upc-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccd1d9;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.upc-field input:focus,
.upc-field textarea:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52,152,219,0.2);
  outline: none;
}
.upc-send {
  width: 100%;
  padding: 0.75rem;
  background: orange;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}
.upc-send:hover {
  background: rgb(116, 75, 1);
}

/* responsivo */
@media (max-width: 768px) {
  .upc-section {
    flex-direction: column;
  }
  .upc-slider {
    height: 200px;
  }
}


