:root {
  --night: #0E0C0A;
  --night-2: #1A1612;
  --line: #2B2520;
  --paper: #F6F1E7;
  --ink: #1A1612;
  --ink-2: #6B6259;
  --snow-2: #A39A8F;
  --gold: #B59142;
  --gold-light: #D4AF5A;
  --gold-ink: #7A5C1C;
  --glow: #F9D2A6;
  --wood: #3C1F0C;
  --wood-2: #2E1709;
  --error: #F07167;
  --gutter: clamp(20px, 5.5vw, 80px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font: 400 17px/1.6 Inter, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.display { font-family: Montserrat, "Segoe UI", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: -.015em; }
.mono { font: 500 12px/1.4 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.muted { color: var(--snow-2); }
.gold { color: var(--gold-light); }
.ink-gold { color: var(--gold-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--night); padding: 10px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; border-bottom: 1px solid var(--line); flex-wrap: wrap; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); text-decoration: none; font-size: 18px; letter-spacing: .03em; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 6vw, 96px); align-items: center; padding-block: clamp(32px, 6vw, 72px); }
.hero-text { display: flex; flex-direction: column; gap: 22px; }
.plate { align-self: flex-start; padding: 7px 12px; background: #000; border: 1px solid var(--line); border-radius: 2px; color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hero-title { font-size: clamp(2.75rem, 1.2rem + 6.2vw, 6rem); line-height: .92; letter-spacing: -.03em; display: flex; flex-direction: column; text-wrap: balance; }
.clip { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.rise { display: block; animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.lead { max-width: 56ch; font-size: clamp(1rem, .9rem + .4vw, 1.1875rem); color: var(--snow-2); }
.hero-figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hero-figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 30% 20%; border-radius: 12px; border: 1px solid var(--line); }
.sign { animation: signOn 2.2s ease-out .4s both; }
.flick { animation: flick .9s ease-out both; }

/* Form */
.form { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.seg-group { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 6px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.seg input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--night); }
.seg input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field label { font-size: 13px; color: var(--snow-2); }
.field input { height: 48px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--line); background: var(--night-2); color: var(--paper); font: 400 16px Inter, sans-serif; width: 100%; }
.field input[aria-invalid="true"] { border-color: var(--error); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--snow-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; flex-shrink: 0; margin: 0; accent-color: var(--gold); }
.error { color: var(--error); font-size: 14px; }
.hint { font-size: 13px; line-height: 1.5; color: var(--snow-2); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 6px; font: 600 16px Inter, sans-serif; text-decoration: none; cursor: pointer; text-align: center; }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: var(--gold-light); }
.btn-dark { background: var(--night); color: var(--paper); }
.btn-dark:hover { background: var(--night-2); }
.btn-ghost { background: transparent; color: var(--paper); border: 1px solid var(--paper); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn[disabled] { opacity: .6; cursor: progress; }
.done { max-width: 640px; padding: 24px; border-radius: 12px; border: 1px solid var(--gold); box-shadow: 0 0 48px rgba(249,210,166,.18); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.done-title { font-size: 26px; color: var(--gold-light); }

/* Blocks */
.block { padding-block: clamp(56px, 8vw, 96px); }
h2.display { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); line-height: 1.05; text-wrap: balance; }
.paper { background: var(--paper); color: var(--ink); color-scheme: light; }
.paper p { color: var(--ink-2); }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.col { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--ink); }
.col h3 { font-size: 22px; line-height: 1.25; font-weight: 600; }

/* Obra */
.obra { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 96px); align-items: center; }
.obra-text { display: flex; flex-direction: column; gap: 18px; }
.toggle { display: flex; gap: 8px; }
.tg { min-height: 44px; padding: 0 18px; border-radius: 6px; border: 1px solid var(--gold); background: transparent; color: var(--paper); font: 600 14px Inter, sans-serif; cursor: pointer; }
.tg[aria-pressed="true"] { background: var(--gold); color: var(--night); }
.obra-fotos { position: relative; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.obra-fotos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.obra-fotos .over { object-position: 50% 62%; opacity: 0; transition: opacity .9s ease; }
.obra-fotos.projeto .over { opacity: 1; }

/* Clube */
.clube { background: repeating-linear-gradient(90deg, var(--wood) 0 12px, var(--wood-2) 12px 14px); border-bottom: 2px solid var(--glow); box-shadow: 0 6px 18px -6px rgba(249,210,166,.5); }
.clube-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 56px; }
.clube-in > div { display: flex; flex-direction: column; gap: 10px; max-width: 34ch; flex: 1 1 320px; }
.clube h2.display { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.375rem); }

/* Onde */
.onde { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.onde > div { display: flex; flex-direction: column; gap: 14px; max-width: 52ch; }

/* Footer */
.foot { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 36px; font-size: 14px; border-top: 1px solid var(--line); }

/* Texto longo (privacidade) */
.prose { max-width: 68ch; padding-block: clamp(40px, 6vw, 72px); display: flex; flex-direction: column; gap: 16px; }
.prose h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); line-height: 1.05; }
.prose h2 { font: 600 20px/1.3 Inter, sans-serif; margin-top: 16px; }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.prose p, .prose li { color: #D9D0C4; }
.prose .note { padding: 14px 16px; border: 1px dashed var(--gold); border-radius: 6px; color: var(--gold-light); font-size: 14px; }

@media (max-width: 860px) {
  .hero, .obra { grid-template-columns: minmax(0, 1fr); }
  .hero-figure { order: -1; }
  .hero-figure img { aspect-ratio: 4 / 3; object-position: 30% 12%; }
  .cols { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .form .btn, .clube-in .btn, .onde .btn { width: 100%; }
}

@keyframes rise { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes flick { 0% { opacity: 0; } 18% { opacity: 1; } 30% { opacity: .35; } 45% { opacity: 1; } 60% { opacity: .7; } 100% { opacity: 1; } }
@keyframes signOn { 0% { filter: brightness(.25); } 18% { filter: brightness(.9); } 26% { filter: brightness(.3); } 40% { filter: brightness(1); } 48% { filter: brightness(.55); } 62% { filter: brightness(1.05); } 100% { filter: brightness(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .sign, .flick { animation: none; }
  .obra-fotos .over { transition: none; }
}
