:root {
  --gold: #C29A39;
  --gold-light: #d4b060;
  --gold-pale: #f9f3e6;
  --silver: #BBBCBE;
  --charcoal: #58595B;
  --white: #FFFFFF;
  --bg: #f4f1eb;
  --border: #ddd5c0;
  --text: #3a3a3a;
  --radius: 6px;
  --shadow: 0 1px 12px rgba(0,0,0,0.07);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
}

.hero {
  background: linear-gradient(135deg, #2e2408 0%, #4a3518 50%, #7a5e28 100%);
  position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg,transparent,transparent 30px,rgba(194,154,57,0.04) 30px,rgba(194,154,57,0.04) 31px);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 860px; margin: 0 auto;
  padding: 40px 32px 36px;
  display: flex; align-items: center; gap: 24px;
}
.hero-emblem {
  width: 76px; height: 76px; flex-shrink: 0;
  background: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 4px rgba(194,154,57,0.35);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px; font-weight: 700;
  color: var(--gold); line-height: 1.1; text-align: center;
}
.hero-text { flex: 1; }
.hero-tag {
  display: inline-block;
  background: rgba(194,154,57,0.2);
  border: 1px solid rgba(194,154,57,0.45);
  color: #f0d07a; font-size: 10px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 8px;
}
.hero-text h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 700;
  color: var(--white); line-height: 1.2; margin-bottom: 8px;
}
.hero-text p { font-size: 12.5px; color: rgba(255,255,255,0.7); line-height: 1.6; max-width: 520px; }

.wrapper { max-width: 860px; margin: 0 auto; padding: 28px 16px 64px; display: flex; flex-direction: column; gap: 20px; }

.card { background: var(--white); border-radius: 10px; border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; }
.card-header { background: linear-gradient(90deg, var(--charcoal) 0%, #474849 100%); padding: 16px 24px; display: flex; align-items: center; gap: 12px; }
.card-num { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 16px; font-weight: 700; color: var(--white); flex-shrink: 0; }
.card-num.outline { background: transparent; border: 2px solid var(--gold); color: var(--gold); font-size: 13px; }
.card-title { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600; color: var(--white); }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 18px; }

.field { display: flex; flex-direction: column; gap: 5px; }

label.lbl { font-size: 12.5px; font-weight: 600; color: var(--charcoal); }
label.lbl .req { color: var(--gold); }
label.lbl .hint { display: block; font-weight: 400; font-size: 11.5px; color: #888; margin-top: 2px; line-height: 1.4; }

input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; padding: 10px 13px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif; font-size: 13.5px; color: var(--text);
  background: var(--white); outline: none;
  transition: border-color .18s, box-shadow .18s;
}
input:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194,154,57,0.13); }
textarea { resize: vertical; min-height: 88px; }

.opts { display: flex; flex-direction: column; gap: 7px; }
.opt { display: flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1.5px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: border-color .15s, background .15s; user-select: none; }
.opt:hover { border-color: var(--gold); background: var(--gold-pale); }
.opt.sel { border-color: var(--gold); background: var(--gold-pale); }
.opt input[type="radio"], .opt input[type="checkbox"] { accent-color: var(--gold); width: 15px; height: 15px; flex-shrink: 0; cursor: pointer; }
.opt span { font-size: 13.5px; }

/* Blocos de upload (estilo referência: título + badge + hint + área tracejada centrada) */
.file-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 6px;
}
.file-field-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  justify-content: space-between;
}
.file-field-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}
.file-field-title strong { font-family: 'Cormorant Garamond', serif; font-size: 15px; }
.file-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
  flex-shrink: 0;
}
.file-badge-pdf { background: #fde8e8; color: #b83232; border: 1px solid #f5c4c4; }
.file-badge-xlsx { background: #e6f4ea; color: #1b6e3b; border: 1px solid #b8dfc4; }
.file-badge-video { background: #e8eefc; color: #2a4a9a; border: 1px solid #c5d4f0; }
.file-badge-img { background: #f3e8fc; color: #6b2d9e; border: 1px solid #dcc5f0; }
.file-field-hint {
  font-size: 11.5px;
  color: #888;
  line-height: 1.5;
  margin: 0 0 4px 0;
  max-width: 100%;
}

.upload-dropzone {
  position: relative;
  min-height: 168px;
  border: 2px dashed #ccc;
  border-radius: 10px;
  background: #faf9f6;
  padding: 28px 20px;
  cursor: pointer;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.upload-dropzone:hover,
.upload-dropzone.dragover {
  border-color: var(--gold);
  background: var(--gold-pale);
  box-shadow: inset 0 0 0 1px rgba(194, 154, 57, 0.12);
}
.upload-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.upload-dropzone-inner {
  position: relative;
  z-index: 1;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}
.upload-icon {
  font-size: 44px;
  line-height: 1;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.upload-icon-pdf { background: linear-gradient(145deg, #fff5f5, #ffe4e4); }
.upload-icon-xlsx { background: linear-gradient(145deg, #f0fff4, #dcf5e4); }
.upload-icon-docs { background: linear-gradient(145deg, #fffbeb, #fff3cd); }
.upload-icon-cal { background: linear-gradient(145deg, #f0f7ff, #e0ecff); }
.upload-icon-video { background: linear-gradient(145deg, #f5f0ff, #ebe3ff); }
.upload-icon-photo { background: linear-gradient(145deg, #fdf5ff, #f3e8ff); }
.upload-cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--charcoal);
  max-width: 320px;
  line-height: 1.35;
}
.upload-specs {
  font-size: 12px;
  color: #888;
  line-height: 1.55;
  max-width: 340px;
}
.upload-specs strong { color: #666; }
.file-field .upload-filename {
  margin-top: 8px;
  font-size: 12px;
  color: #aaa;
  font-style: italic;
  min-height: 18px;
  padding-left: 2px;
}
.upload-filename.has-file { color: var(--gold); font-style: normal; font-weight: 600; }

.decl-box { background: #fffdf4; border: 1.5px solid rgba(194,154,57,0.5); border-radius: var(--radius); padding: 20px 22px; }
.decl-box p { font-size: 13px; color: var(--charcoal); margin-bottom: 10px; line-height: 1.65; }
.decl-box ul { padding-left: 18px; font-size: 12.5px; color: var(--charcoal); line-height: 1.8; margin-bottom: 14px; }
.decl-box li { margin-bottom: 5px; }
.agree-row { display: flex; align-items: center; gap: 9px; padding-top: 14px; border-top: 1px solid var(--border); }
.agree-row input { accent-color: var(--gold); width: 17px; height: 17px; flex-shrink: 0; cursor: pointer; }
.agree-row label { font-size: 13px; font-weight: 600; color: var(--charcoal); cursor: pointer; }

.submit-wrap { text-align: center; padding-top: 8px; }
.btn-submit { background: linear-gradient(135deg, var(--gold) 0%, #d4a83a 100%); color: var(--white); border: none; border-radius: var(--radius); font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 700; padding: 14px 52px; cursor: pointer; box-shadow: 0 4px 18px rgba(194,154,57,0.38); transition: transform .15s, box-shadow .15s; letter-spacing: 0.3px; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 7px 24px rgba(194,154,57,0.48); }
.btn-submit:disabled { opacity: 0.6; cursor: wait; }

.note { background: #f5f3ee; border-left: 3px solid var(--gold); border-radius: 0 6px 6px 0; padding: 10px 14px; font-size: 12px; color: var(--charcoal); line-height: 1.55; }

#successScreen { display: none; background: var(--white); border-radius: 10px; border: 1px solid var(--border); box-shadow: var(--shadow); text-align: center; padding: 64px 32px; }
.success-circle { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-light)); display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 20px; color: white; }
#successScreen h2 { font-family: 'Cormorant Garamond', serif; font-size: 26px; color: var(--charcoal); margin-bottom: 10px; }
#successScreen p { font-size: 13.5px; color: #888; line-height: 1.65; max-width: 400px; margin: 0 auto; }
.proto { margin-top: 16px; font-size: 12px; color: #aaa; }
.proto strong { color: var(--gold); font-size: 14px; }

@media (max-width: 620px) {
  .hero-inner { flex-direction: column; gap: 14px; padding: 28px 18px; }
  .hero-text h1 { font-size: 20px; }
  .card-body { padding: 16px 14px; }
  .wrapper { padding: 16px 10px 48px; }
}
