@font-face {
  font-family: Geist;
  src: url('../assets/fonts/Geist-Variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root { --paper: #f0efeb; --ink: #171716; --muted: #55544f; --line: #bbb9b2; --focus: #315ee7; }
*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Geist, Arial, sans-serif; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 10; padding: .75rem 1rem; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 1rem; }

.page-header, .page-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin: 0 clamp(1.5rem, 3vw, 3.5rem); }
.page-header { min-height: 95px; padding-top: 32px; }
.identity { display: flex; flex-direction: column; gap: 1px; width: max-content; font-weight: 640; font-size: 1.04rem; letter-spacing: -.04em; }
.identity small { font-size: .82rem; font-weight: 450; color: var(--muted); letter-spacing: -.02em; }
.portfolio-link { font-size: .9rem; font-weight: 550; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.portfolio-link span { margin-left: .4rem; }

.layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: calc(100svh - 153px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro { position: relative; overflow: hidden; min-height: 790px; padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4.8rem); border-right: 1px solid var(--line); }
.eyebrow { margin: 0 0 1.6rem; font-size: .9rem; font-weight: 600; }
h1, h2, p { margin-top: 0; }
.intro h1 { max-width: 9ch; margin-bottom: 1.8rem; font-size: clamp(4.5rem, 7.5vw, 8.25rem); font-weight: 530; line-height: .88; letter-spacing: -.085em; }
.intro-copy { max-width: 29rem; font-size: clamp(1.2rem, 1.65vw, 1.6rem); line-height: 1.3; letter-spacing: -.035em; }

.form-section { padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 4.2vw, 5rem) 5rem; }
.form-heading { border-bottom: 1px solid var(--line); padding-bottom: 1.8rem; margin-bottom: 1.6rem; }
.form-index { display: block; margin-bottom: 1.2rem; color: var(--muted); font-size: .83rem; }
.form-heading h2 { margin: 0 0 .55rem; font-size: clamp(2rem, 3.1vw, 3.5rem); font-weight: 520; line-height: .98; letter-spacing: -.065em; }
.form-heading p { max-width: 29rem; margin: 0; color: var(--muted); line-height: 1.45; }
form { display: grid; gap: 1.45rem; }
.field { display: grid; gap: .55rem; }
.field label, legend { font-size: .95rem; font-weight: 570; letter-spacing: -.02em; }
.field input { width: 100%; height: 3.25rem; padding: .7rem .85rem; border: 1px solid #96958e; border-radius: 0; color: var(--ink); background: transparent; }
.field input::placeholder { color: #77766f; }
.field input:hover { border-color: var(--ink); }
.deadline { display: grid; gap: .5rem; margin: .4rem 0 0; padding: 0; border: 0; }
.deadline legend { margin-bottom: .7rem; }
.option { display: flex; align-items: center; gap: .8rem; min-height: 3.15rem; padding: .7rem .85rem; border: 1px solid var(--line); cursor: pointer; }
.option:has(input:checked) { border-color: var(--ink); background: #e2e0da; }
.option input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--ink); }
.data-note { margin: .25rem 0 -.4rem; color: var(--muted); font-size: .85rem; line-height: 1.4; }
button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 3.8rem; padding: .8rem 1rem; border: 1px solid var(--ink); border-radius: 0; color: var(--paper); background: var(--ink); font-size: 1rem; font-weight: 570; cursor: pointer; }
button:hover { color: var(--ink); background: transparent; }
button span { font-size: 1.35rem; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

.page-footer { align-items: center; min-height: 58px; color: var(--muted); font-size: .8rem; }
.thank-you-page { min-height: 100svh; display: flex; flex-direction: column; }
.thank-you { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 4rem clamp(1.5rem, 6vw, 7rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.thank-you h1 { max-width: 12ch; margin-bottom: 1.5rem; font-size: clamp(4rem, 10vw, 9rem); font-weight: 530; line-height: .88; letter-spacing: -.085em; }
.thank-you > p:not(.eyebrow) { max-width: 33rem; font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.35; }
.thank-you > a { margin-top: 1.8rem; padding-bottom: .3rem; border-bottom: 1px solid var(--ink); font-weight: 600; }
.thank-you > a span { margin-left: .6rem; }

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .intro { min-height: 0; padding: 4rem clamp(1.5rem, 6vw, 4rem); border-right: 0; border-bottom: 1px solid var(--line); }
  .intro h1 { max-width: 11ch; font-size: clamp(4rem, 11vw, 7rem); }
  .form-section { max-width: 44rem; width: 100%; margin: 0 auto; }
}

@media (max-width: 600px) {
  .page-header { min-height: 79px; padding-top: 22px; }
  .portfolio-link { font-size: .8rem; }
  .intro { padding: 3.2rem 1.5rem 2.5rem; }
  .intro h1 { max-width: 10ch; margin-bottom: 1.6rem; font-size: clamp(3.6rem, 14vw, 5.6rem); }
  .intro-copy { max-width: 19rem; margin-bottom: 0; font-size: 1.12rem; }
  .form-section { padding: 2.5rem 1.5rem 3.5rem; }
  .page-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: .15rem; padding: 1rem 0; }
  .thank-you { padding: 4rem 1.5rem; }
  .thank-you h1 { font-size: clamp(3.6rem, 14vw, 5.6rem); }
}

#seguranca-formulario { min-width: 0; width: 100%; }
.form-status { margin: -.6rem 0 0; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.form-status[data-state="error"] { color: #9a2722; }
button:disabled { opacity: .55; cursor: wait; }
button:disabled:hover { color: var(--paper); background: var(--ink); }
.form-alternative { margin: -.35rem 0 0; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.form-alternative a, noscript a { text-decoration: underline; text-underline-offset: 3px; }
