:root {
  --bg: #0b0b0b;
  --bg-soft: #121211;
  --surface: #151514;
  --surface-2: #1b1b1a;
  --line: #2a2a27;
  --gold: #c9a84c;
  --gold-soft: #e8d5a3;
  --text: #eceae6;
  --muted: #b8b6b1;
  --danger: #ff7d7d;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background: radial-gradient(circle at 12% 10%, rgba(201, 168, 76, 0.15), transparent 40%),
    radial-gradient(circle at 92% 88%, rgba(232, 213, 163, 0.08), transparent 36%),
    linear-gradient(170deg, var(--bg) 0%, #10100f 42%, #0a0a09 100%);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  min-height: 100svh;
  padding: clamp(28px, 4vh, 56px) clamp(22px, 4vw, 72px) 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

.bg-shape {
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(38px);
  opacity: 0.35;
}

.shape-a {
  width: 280px;
  height: 280px;
  background: rgba(201, 168, 76, 0.22);
  top: -80px;
  right: -70px;
}

.shape-b {
  width: 340px;
  height: 340px;
  background: rgba(232, 213, 163, 0.12);
  bottom: -90px;
  left: -80px;
}

.layout {
  width: min(1260px, 100%);
  margin: 0;
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(540px, 1.14fr);
  gap: clamp(20px, 2vw, 34px);
  align-items: stretch;
}

.layout > * {
  min-width: 0;
}

.card {
  background: linear-gradient(175deg, rgba(27, 27, 26, 0.95), rgba(17, 17, 16, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.intro {
  padding: clamp(36px, 4vw, 52px) clamp(30px, 3.4vw, 44px);
  min-height: 594px;
  display: flex;
  flex-direction: column;
}

.eyebrow {
  margin: 0;
  color: var(--gold-soft);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

h1 {
  margin: 10px 0 8px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.01em;
}

h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(26px, 2vw, 34px);
  line-height: 1.15;
  font-weight: 600;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 45ch;
}

.info-block {
  margin-top: 30px;
  padding: 20px 18px;
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 14px;
  background: rgba(201, 168, 76, 0.06);
}

.info-block h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.info-block ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.info-block li + li {
  margin-top: 8px;
}

.divider {
  margin: auto 0 18px;
  height: 1px;
  background: linear-gradient(to right, rgba(201, 168, 76, 0.6), rgba(201, 168, 76, 0.02));
}

.muted {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.home-layout {
  grid-template-columns: minmax(360px, 0.9fr) minmax(540px, 1.1fr);
}

.home-logo {
  display: block;
  width: min(260px, 62vw);
  max-height: 130px;
  object-fit: contain;
  object-position: left center;
  margin: 18px 0 10px;
}

.home-info-block {
  margin-top: 24px;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.home-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.home-contact {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

.home-contact p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.home-contact strong {
  color: var(--gold-soft);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-contact a {
  width: max-content;
  max-width: 100%;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.35);
}

.home-contact a:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold);
}

.form-area {
  padding: clamp(28px, 3vw, 38px);
  min-height: 594px;
}

.stepbar {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
}

.step {
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 8px 10px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.step.is-active {
  border-color: var(--gold);
  color: var(--gold-soft);
  background: rgba(201, 168, 76, 0.13);
}

.panel {
  display: none;
}

.panel.is-active {
  display: block;
  animation: fade-up 0.36s ease;
}

.support {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.spacer {
  height: 20px;
}

.radio-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.radio-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.full-row {
  grid-column: 1 / -1;
}

.radio-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  position: relative;
}

.radio-card:hover {
  border-color: rgba(201, 168, 76, 0.62);
  transform: translateY(-1px);
}

.radio-card span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.radio-card span::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.5);
  box-shadow: inset 0 0 0 3px #121211;
  background: transparent;
  transition: background 0.2s ease;
}

.radio-card[aria-pressed="true"] {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.12);
}

.radio-card[aria-pressed="true"] span::before {
  background: var(--gold);
}

.fields {
  display: grid;
  gap: 12px;
}

.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 6px;
}

[hidden] {
  display: none !important;
}

.field label {
  font-size: 13px;
  color: var(--gold-soft);
}

.required-note {
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: 12px;
}

.required-mark {
  color: var(--gold-soft);
  font-size: 0.9em;
  opacity: 0.78;
}

.hidden-derived {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

input:not([type="radio"]):not([type="checkbox"]),
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  padding: 12px 13px;
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-soft) 50%),
    linear-gradient(135deg, var(--gold-soft) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

input:not([type="radio"]):not([type="checkbox"])::placeholder,
textarea::placeholder {
  color: #8c8a84;
}

input:not([type="radio"]):not([type="checkbox"]):focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18);
}

input:not([type="radio"]):not([type="checkbox"]).invalid,
select.invalid,
textarea.invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(255, 125, 125, 0.16);
}

.field-label {
  display: inline-block;
  font-size: 13px;
  color: var(--gold-soft);
  margin-bottom: 6px;
}

.field-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.address-lookup-status {
  min-height: 18px;
}

.address-lookup-status.is-loading,
.address-lookup-status.is-success {
  color: var(--gold-soft);
}

.address-lookup-status.is-error {
  color: var(--danger);
}

.check-field {
  padding: 10px 0 2px;
}

.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.check-label a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.check-label input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}

.lgpd-note {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 12px;
  color: var(--muted);
  background: rgba(201, 168, 76, 0.04);
  font-size: 13px;
}

.terms-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 14px;
  background: rgba(201, 168, 76, 0.06);
}

.terms-kicker {
  margin: 0 0 5px;
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terms-preview h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 600;
}

.terms-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.terms-preview .terms-version {
  margin-top: 8px;
  color: #8f8c84;
  font-size: 11px;
}

.terms-pdf-link {
  border: 1px solid rgba(201, 168, 76, 0.38);
  border-radius: 999px;
  color: var(--gold-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.terms-pdf-link:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

.actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 24px;
}

.btn {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 11px 18px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(120deg, #c9a84c, #d8bc75);
  color: #1d1a12;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(201, 168, 76, 0.35);
  color: var(--gold-soft);
}

.status {
  min-height: 24px;
  margin: 12px 2px 0;
  font-size: 13px;
  color: var(--muted);
}

.status.error {
  color: var(--danger);
}

.status.success {
  color: #9fdb9d;
}

.success {
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 14px;
  background: rgba(201, 168, 76, 0.07);
  padding: 20px;
}

.success h2 {
  margin-top: 0;
}

.success-link {
  margin: 8px 0 14px;
}

.tracking-layout {
  grid-template-columns: minmax(340px, 0.8fr) minmax(560px, 1.2fr);
}

.tracking-summary {
  margin: 0;
  display: grid;
  gap: 10px;
}

.tracking-summary div {
  display: grid;
  gap: 2px;
}

.tracking-summary dt {
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tracking-summary dd {
  margin: 0;
  color: var(--text);
  font-size: 14px;
}

.tracking-actions {
  align-items: center;
}

.tracking-actions a.btn {
  text-decoration: none;
}

.tracking-empty {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(201, 168, 76, 0.24);
  border-radius: 14px;
  background: rgba(201, 168, 76, 0.05);
}

.tracking-empty h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.15;
  font-weight: 600;
}

.tracking-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.tracking-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tracking-empty-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.terms-layout {
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
}

.terms-content h2 {
  margin-top: 24px;
  font-size: 24px;
}

.terms-content h2:first-child {
  margin-top: 0;
}

.terms-content p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.terms-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.terms-doc {
  border: 1px solid rgba(201, 168, 76, 0.24);
  border-radius: 14px;
  padding: 16px;
  background: rgba(201, 168, 76, 0.05);
}

.terms-doc h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.15;
  font-weight: 600;
}

.terms-doc .terms-pdf-link {
  margin-top: 8px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.reveal {
  animation: fade-up 0.55s ease both;
}

.reveal.delay-1 {
  animation-delay: 0.08s;
}

.site-footer {
  width: min(1260px, 100%);
  margin: 16px 0 0;
  padding: 0 4px;
}

.footer-inner {
  border-top: 1px solid rgba(201, 168, 76, 0.14);
  padding: 12px 6px 4px;
  text-align: center;
}

.footer-brand {
  margin: 0 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9a988f;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.footer-logo {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  opacity: 0.92;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px 11px;
  margin-bottom: 7px;
}

.footer-link {
  text-decoration: none;
  color: #8f8c84;
  font-size: 11px;
  line-height: 1.35;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-link:hover {
  color: var(--gold-soft);
}

.footer-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(201, 168, 76, 0.16);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(201, 168, 76, 0.03);
}

.footer-link-pill:hover {
  border-color: rgba(201, 168, 76, 0.4);
}

.social-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-meta {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 2px;
}

.footer-address {
  display: inline-block;
  max-width: 760px;
  font-size: 10.5px;
  line-height: 1.3;
}

.footer-legal {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.02em;
  color: #73716b;
}

.footer-cnpj {
  margin-top: 1px;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  body {
    min-height: auto;
    padding: 22px 16px 34px;
    justify-content: flex-start;
  }

  .layout {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: min(720px, calc(100vw - 32px));
    min-width: 0;
    overflow: hidden;
  }

  .site-footer {
    width: 100%;
    max-width: min(720px, calc(100vw - 32px));
  }

  .card,
  .intro,
  .form-area,
  .panel,
  form,
  .fields,
  .field {
    max-width: 100%;
    min-width: 0;
  }

  h1 {
    font-size: clamp(31px, 8vw, 42px);
  }

  .intro,
  .form-area {
    padding: 24px;
    min-height: 0;
  }

  .divider {
    margin: 24px 0 18px;
  }

  .home-logo {
    width: min(210px, 70vw);
  }

  .home-actions .btn,
  .tracking-empty-actions .btn {
    flex: 1;
    min-width: 180px;
  }

  .two-cols,
  .radio-grid,
  .terms-preview {
    grid-template-columns: 1fr;
  }

  .stepbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .actions {
    flex-wrap: wrap;
  }

  .actions .btn {
    flex: 1;
    min-width: 132px;
  }

  .footer-inner {
    padding-top: 10px;
  }

  .footer-brand {
    font-size: 10px;
    letter-spacing: 0.09em;
  }

  .footer-link,
  .footer-legal {
    font-size: 10px;
  }
}
