:root {
  --ink: #161210;
  --ink-soft: #3a332c;
  --cream: #f4efe6;
  --paper: #fbf7f0;
  --line: rgba(212, 165, 116, 0.45);
  --gold: #d4a574;
  --gold-deep: #b07d4a;
  --error: #8c2f2f;
  --ok: #2f5d45;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Sora, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--ink);
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 34rem);
}

.intro {
  position: relative;
  isolation: isolate;
  padding: clamp(2rem, 6vw, 5.5rem);
  color: var(--cream);
  background: #161210;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: auto;
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("imagens/IMG_7580.PNG") 42% 38% / cover no-repeat;
  opacity: 0.38;
}

.intro::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    165deg,
    rgba(22, 18, 16, 0.28) 0%,
    rgba(22, 18, 16, 0.55) 100%
  );
}

.eyebrow {
  margin: 0 0 1.25rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
}

h1 {
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  font-weight: 650;
  font-size: clamp(2.1rem, 4.4vw, 3.7rem);
  line-height: 1.12;
  max-width: 14ch;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
}

.lead {
  margin: 1.5rem 0 0;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #e7dfd3;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.email {
  margin: 0.85rem 0 0;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.promises {
  margin: 2.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  color: #d8cfc3;
  font-size: 0.95rem;
}

.promises li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.promises li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.4rem;
  flex: none;
  border-radius: 999px;
  background: var(--gold);
}

.panel {
  background: var(--paper);
  padding: clamp(1.6rem, 4vw, 3.2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
  overflow: auto;
}

h2 {
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  font-size: 1.85rem;
  font-weight: 650;
}

.panel-note {
  margin: 0.45rem 0 1.5rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

form {
  display: grid;
  gap: 1rem;
}

form[hidden],
.panel-note[hidden],
.success[hidden] {
  display: none;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field span {
  font-size: 0.82rem;
  font-weight: 500;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #ddd2c3;
  background: #fffdf9;
  color: var(--ink);
  border-radius: 10px;
  padding: 0.78rem 0.85rem;
}

textarea {
  resize: vertical;
  min-height: 10rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold-deep);
}

.field small {
  color: #7a7168;
  font-size: 0.75rem;
}

.anon {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  cursor: pointer;
  user-select: none;
}

.anon input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--ink);
}

.identificacao {
  display: grid;
  gap: 1rem;
}

.identificacao[hidden] {
  display: none;
}

.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
}

button {
  margin-top: 0.35rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  padding: 0.95rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
}

button:hover:not(:disabled) {
  background: #2a241f;
}

button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.erro {
  margin: 0;
  color: var(--error);
  font-size: 0.88rem;
}

.success {
  margin: 0;
  padding: 1.2rem 1.1rem;
  border-radius: 12px;
  background: #e7f0ea;
  color: var(--ok);
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .page {
    grid-template-columns: 1fr;
  }

  .intro,
  .panel {
    min-height: auto;
  }

  h1 {
    max-width: none;
  }

  .panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
