@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800;900&display=swap');
/*!
 * SELMETAL — Formulário de Contato Completo
 * Prefixo: smfc-
 * Uso:
 *   <link rel="stylesheet" href="assets/css/selmetal-form-contact.css">
 *   <script src="assets/js/selmetal-form-contact.js"></script>
 */

/* ── Reset isolado ── */
.smfc-wrap *, .smfc-wrap *::before, .smfc-wrap *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Variáveis ── */
.smfc-wrap {
  --smfc-blue: #0D3364;
  --smfc-blue2: #0a2a52;
  --smfc-green: #25D366;
  --smfc-green2: #1ebe59;
  --smfc-text: #1a1a1a;
  --smfc-text2: #595959;
  --smfc-border: #e0e0e0;
  --smfc-bg: #f8f9fa;
  --smfc-white: #ffffff;
  --smfc-red: #e53935;
  --smfc-radius: 10px;
  --smfc-shadow: 0 4px 24px rgba(13,51,100,0.10);
  font-family: 'Inter', 'Barlow', sans-serif;
}

/* ── Seção wrapper ── */
.smfc-wrap {
  background: var(--smfc-bg);
  padding: 44px 0;
  width: 100%;
}

.smfc-container {
  max-width: 1100px;  /* era 860px */
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header da seção ── */
.smfc-header {
  text-align: center;
  margin-bottom: 48px;
}

.smfc-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--smfc-green);
  margin-bottom: 12px;
}

.smfc-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--smfc-blue);
  line-height: 1.2;
  margin-bottom: 14px;
  font-family: 'Barlow', sans-serif;
}

.smfc-title span {
  color: var(--smfc-green);
}

.smfc-subtitle {
  font-size: 16px;
  color: var(--smfc-text2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Card do formulário ── */
.smfc-card {
  background: var(--smfc-white);
  border-radius: 16px;
  box-shadow: var(--smfc-shadow);
  overflow: hidden;
}

.smfc-card-head {
  background: var(--smfc-blue);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.smfc-card-head-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.smfc-card-head-icon svg {
  width: 22px;
  height: 22px;
  color: white;
}

.smfc-card-head-text h3 {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 2px;
}

.smfc-card-head-text p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}

.smfc-card-body {
  padding: 22px 24px;
}

/* ── Grid de campos ── */
.smfc-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}

.smfc-grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* ── Campo ── */
.smfc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.smfc-field.smfc-full {
  grid-column: span 2;
}

.smfc-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--smfc-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.smfc-label svg {
  width: 14px;
  height: 14px;
  color: var(--smfc-blue);
  flex-shrink: 0;
}

.smfc-required {
  color: var(--smfc-red);
  font-size: 12px;
}

.smfc-optional {
  color: #aaa;
  font-size: 11px;
  font-weight: 400;
}

.smfc-wrap .smfc-input,
.smfc-wrap .smfc-select,
.smfc-wrap .smfc-textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px !important;
  line-height: 1.4;
  border: 1.5px solid var(--smfc-border) !important;
  border-radius: var(--smfc-radius);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1a1a1a !important;
  background-color: #ffffff !important;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.smfc-wrap .smfc-textarea {
  min-height: 84px;
}

.smfc-input:focus,
.smfc-select:focus,
.smfc-textarea:focus {
  border-color: var(--smfc-blue);
  box-shadow: 0 0 0 3px rgba(13,51,100,0.08);
}

.smfc-input.smfc-error,
.smfc-select.smfc-error,
.smfc-textarea.smfc-error {
  border-color: var(--smfc-red);
  box-shadow: 0 0 0 3px rgba(229,57,53,0.08);
}

.smfc-input::placeholder,
.smfc-textarea::placeholder {
  color: #bbb;
}

.smfc-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23595959' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.smfc-textarea {
  resize: vertical;
  min-height: 100px;
}

/* ── Divisor ── */
.smfc-divider {
  margin: 16px 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.smfc-divider-line {
  flex: 1;
  height: 1px;
  background: var(--smfc-border);
}

.smfc-divider-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--smfc-blue);
  white-space: nowrap;
}

/* ── Produto de interesse (campo travado) ── */
.smfc-wrap .smfc-service-locked {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1.5px solid var(--smfc-border);
  border-radius: var(--smfc-radius);
  background: #f4f7fb;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--smfc-blue);
  cursor: not-allowed;
}

.smfc-wrap .smfc-service-locked svg {
  width: 15px;
  height: 15px;
  color: var(--smfc-text2);
  flex-shrink: 0;
}

/* ── Serviços checkboxes ── */
.smfc-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.smfc-service-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1.5px solid var(--smfc-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}

.smfc-service-item:hover {
  border-color: var(--smfc-blue);
  background: rgba(13,51,100,0.03);
}

.smfc-service-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--smfc-blue);
  cursor: pointer;
  flex-shrink: 0;
}

.smfc-service-item.smfc-checked {
  border-color: var(--smfc-blue);
  background: rgba(13,51,100,0.05);
}

.smfc-service-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--smfc-text);
  line-height: 1.3;
}

/* ── Categoria label ── */
.smfc-cat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--smfc-text2);
  margin: 16px 0 8px;
}

.smfc-cat-label:first-child {
  margin-top: 0;
}

/* ── Prazo urgência ── */
.smfc-urgency-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.smfc-urgency-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  border: 1.5px solid var(--smfc-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}

.smfc-urgency-item:hover {
  border-color: var(--smfc-blue);
}

.smfc-urgency-item input[type="radio"] {
  display: none;
}

.smfc-urgency-item.smfc-selected {
  border-color: var(--smfc-blue);
  background: rgba(13,51,100,0.05);
}

.smfc-urgency-emoji {
  font-size: 20px;
  line-height: 1;
}

.smfc-urgency-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--smfc-text);
}

/* ── Erro geral ── */
.smfc-error-msg {
  display: none;
  padding: 12px 16px;
  background: rgba(229,57,53,0.08);
  border: 1px solid rgba(229,57,53,0.3);
  border-radius: 8px;
  font-size: 13px;
  color: var(--smfc-red);
  margin-top: 16px;
}

.smfc-error-msg.smfc-show {
  display: block;
}

/* ── Botão ── */
.smfc-submit-btn {
  width: 100%;
  padding: 13px;
  background: var(--smfc-green);
  border: none;
  border-radius: var(--smfc-radius);
  color: white;
  font-family: 'Barlow', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s, transform 0.1s;
  margin-top: 16px;
}

.smfc-submit-btn:hover { background: var(--smfc-green2); }
.smfc-submit-btn:active { transform: scale(0.99); }
.smfc-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.smfc-submit-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── Nota de privacidade ── */
.smfc-privacy {
  text-align: center;
  font-size: 11px;
  color: #aaa;
  margin-top: 14px;
  line-height: 1.5;
}

/* ── Sucesso ── */
.smfc-success {
  display: none;
  text-align: center;
  padding: 48px 32px;
}

.smfc-success.smfc-show {
  display: block;
}

.smfc-success-icon {
  width: 72px;
  height: 72px;
  background: rgba(37,211,102,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.smfc-success-icon svg {
  width: 36px;
  height: 36px;
  color: var(--smfc-green);
}

.smfc-success h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--smfc-blue);
  margin-bottom: 10px;
  font-family: 'Barlow', sans-serif;
}

.smfc-success p {
  font-size: 15px;
  color: var(--smfc-text2);
  line-height: 1.6;
}

/* ── Responsivo ── */
@media (max-width: 768px) {
  .smfc-wrap { padding: 48px 0; }
  .smfc-title { font-size: 26px; }
  .smfc-card-head { padding: 20px; }
  .smfc-card-body { padding: 24px 20px; }
  .smfc-grid-2 { grid-template-columns: 1fr; }
  .smfc-field.smfc-full { grid-column: span 1; }
  .smfc-services-grid { grid-template-columns: 1fr 1fr; }
  .smfc-urgency-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .smfc-services-grid { grid-template-columns: 1fr; }
  .smfc-urgency-row { grid-template-columns: repeat(2, 1fr); }
}
