@font-face {
  font-family: "Boris";
  src: url("../fonts/BorisBlackBloxx.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 900;
}

:root {
  --ink: #0b0c0a;
  --panel: rgba(18,18,15,.91);
  --ivory: #eee6d8;
  --muted: #b2aa9f;
  --gold: #d4a017;
  --gold-soft: #b88a22;
  --line: rgba(229,212,176,.17);
  --line-gold: rgba(212,160,23,.52);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--ink); scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ivory); background: var(--ink); font-family: var(--sans); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
[hidden] { display: none !important; }
::selection { color: #111; background: var(--gold); }

.research-shell { width: min(1220px, calc(100% - 64px)); margin-inline: auto; }
.research-eyebrow,
.research-label {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .19em;
  line-height: 1.4;
  text-transform: uppercase;
}
.research-eyebrow { display: flex; align-items: center; gap: 12px; }
.research-eyebrow span { width: 36px; height: 1px; flex: 0 0 auto; background: currentColor; }

.research-hero {
  position: relative;
  min-height: 100vh;
  padding: 154px 0 92px;
  overflow: hidden;
  isolation: isolate;
  background: #0b0b0a;
}
.research-visual,
.research-shade { position: absolute; inset: 0; z-index: -2; }
.research-visual {
  background: url("../images/backgrounds/bg-hero-arvore.webp") 72% center / cover no-repeat;
  filter: brightness(1.14) contrast(1.04) saturate(.92);
  transform: none;
}
.research-shade {
  z-index: -1;
  background:
    linear-gradient(90deg,rgba(8,8,7,.94) 0%,rgba(9,9,8,.78) 45%,rgba(9,9,8,.28) 100%),
    linear-gradient(0deg,rgba(8,8,7,.72) 0%,rgba(8,8,7,.1) 46%);
}
.research-layout {
  display: grid;
  grid-template-columns: minmax(0,1.12fr) minmax(390px,.88fr);
  gap: clamp(50px,7vw,104px);
  align-items: start;
}
.research-story { padding-top: 28px; }
.research-story h1 {
  max-width: min(100%, 760px);
  margin: 25px 0 0;
  color: var(--ivory);
  font-family: "Boris", Impact, "Arial Black", sans-serif;
  font-size: clamp(58px,5.5vw,98px);
  font-weight: 900;
  line-height: .84;
  letter-spacing: .006em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow-wrap: normal;
  text-shadow: 0 16px 50px rgba(0,0,0,.35);
}
.research-context {
  margin: 28px 0 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}
.research-story > h2 {
  max-width: 720px;
  margin: 46px 0 0;
  font-family: var(--serif);
  font-size: clamp(26px,3.2vw,47px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.025em;
}
.research-intro {
  max-width: 650px;
  margin: 22px 0 0;
  color: #c3bbb0;
  font-size: 16px;
  line-height: 1.75;
}
.research-scope { margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line); }
.research-scope ol { margin: 22px 0 0; padding: 0; list-style: none; }
.research-scope li {
  min-height: 64px;
  padding: 15px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}
.research-scope li > span { color: var(--gold); font-family: var(--serif); font-size: 18px; }
.research-scope li p { margin: 0; color: #b7afa4; font-size: 14px; line-height: 1.55; }
.research-method {
  margin: 28px 0 0;
  padding: 17px 19px;
  color: #b8b0a5;
  border-left: 2px solid var(--gold);
  background: rgba(212,160,23,.055);
  font-size: 13px;
  line-height: 1.65;
}
.research-method strong { color: var(--ivory); }

.community-panel {
  position: sticky;
  top: 112px;
  padding: clamp(28px,3.2vw,44px);
  border: 1px solid var(--line-gold);
  background: var(--panel);
  box-shadow: 0 35px 90px rgba(0,0,0,.38);
  -webkit-backdrop-filter: blur(17px) saturate(112%);
  backdrop-filter: blur(17px) saturate(112%);
}
.community-top > h2 {
  margin: 23px 0 0;
  font-family: var(--serif);
  font-size: clamp(34px,3.1vw,45px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.02em;
}
.community-top > p:not(.research-eyebrow) { margin: 21px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.whatsapp-button,
.research-submit {
  width: 100%;
  min-height: 58px;
  margin-top: 25px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #111;
  border: 1px solid var(--gold);
  background: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.whatsapp-button:hover,
.whatsapp-button:focus-visible,
.research-submit:hover,
.research-submit:focus-visible { background: #edb622; outline: none; transform: translateY(-1px); }
.whatsapp-button svg { width: 24px; height: 24px; flex: 0 0 auto; }
.whatsapp-button > span { flex: 1; text-align: left; }
.whatsapp-button b,
.research-submit b { font-size: 17px; font-weight: 400; }
.panel-divider {
  margin: 30px 0 23px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #817a71;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.panel-divider::before,
.panel-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.interest-form { display: grid; gap: 15px; }
.research-field { display: grid; gap: 7px; }
.research-field > span { color: #aaa297; font-size: 9px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.research-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 13px;
  color: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  background: rgba(0,0,0,.24);
  font-size: 16px;
}
.research-field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,160,23,.08); }
.research-choice {
  display: grid;
  grid-template-columns: 19px 1fr;
  align-items: start;
  gap: 10px;
  color: #aaa298;
  font-size: 12px;
  line-height: 1.48;
  cursor: pointer;
}
.research-choice input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--gold); }
.research-choice.is-required { color: #c5bdb1; }
.privacy-copy { margin: 2px 0 0; color: #817b72; font-size: 10px; line-height: 1.55; }
.privacy-copy a { color: #aaa297; text-decoration: underline; text-underline-offset: 3px; }
.research-honeypot { position: absolute; left: -9999px; }
.cf-turnstile { min-height: 65px; overflow: hidden; }
.research-submit { margin-top: 2px; border: 0; }
.research-submit:disabled { color: #6d675f; background: #302e29; cursor: wait; transform: none; }
.form-message {
  margin: 0;
  padding: 12px;
  color: #f0cfca;
  border: 1px solid rgba(204,102,92,.45);
  background: rgba(121,45,39,.18);
  font-size: 12px;
  line-height: 1.45;
}
.form-success { padding: 15px 0 4px; }
.success-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  color: #10120f;
  border-radius: 50%;
  background: var(--gold);
  font-size: 23px;
}
.form-success h3 { margin: 15px 0 0; font-family: var(--serif); font-size: 36px; font-weight: 400; line-height: 1.07; }
.form-success > p:not(.research-label) { margin: 17px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.research-footer { padding: 60px 0 25px; border-top: 1px solid var(--line-gold); background: #080907; }
.research-footer .footer-grid { display: grid; grid-template-columns: 1.15fr .75fr .8fr; align-items: start; gap: 72px; }
.research-footer .footer-brand img { display: block; width: 108px; height: auto; opacity: .28; filter: grayscale(1) sepia(.25); }
.research-footer .footer-brand p { max-width: 370px; margin: 20px 0 0; color: #8d867d; font-size: 12px; line-height: 1.65; }
.research-footer nav { display: grid; gap: 13px; }
.research-footer nav a { width: fit-content; color: #9f978d; font-size: 12px; }
.research-footer nav a:hover { color: var(--gold); }
.footer-community { display: grid; gap: 16px; }
.footer-community > span { color: #7f786f; font-size: 9px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.footer-community > a { width: fit-content; padding-bottom: 7px; color: var(--gold-soft); border-bottom: 1px solid rgba(184,138,34,.45); font-size: 12px; }
.research-footer .footer-legal {
  grid-column: 1 / -1;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #6f6961;
  border-top: 1px solid var(--line);
  font-size: 10px;
}

@media (max-width: 1020px) {
  .research-shell { width: min(100% - 44px,820px); }
  .research-layout { grid-template-columns: 1fr; gap: 60px; }
  .research-story { padding-top: 26px; }
  .research-story h1 { font-size: clamp(42px, 5vw, 60px); }
  .community-panel { position: relative; top: auto; }
  .research-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-community { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .research-shell { width: calc(100% - 36px); }
  .research-hero { min-height: 720px; padding: 136px 0 68px; }
  .research-visual {
    background-image: url("../images/backgrounds/bg-hero-arvore-mobile.webp");
    background-position: 68% center;
    filter: brightness(1.18) contrast(1.03) saturate(.94);
  }
  .research-shade {
    background:
      linear-gradient(180deg, rgba(8,8,7,.72) 0%, rgba(9,9,8,.42) 42%, rgba(9,9,8,.9) 100%),
      linear-gradient(90deg, rgba(8,8,7,.63), rgba(8,8,7,.13));
  }
  .research-layout { gap: 48px; }
  .research-story { padding-top: 0; }
  .research-eyebrow,
  .research-label { font-size: 9px; letter-spacing: .15em; }
  .research-eyebrow span { width: 25px; }
  .research-story h1 {
    margin-top: 25px;
    font-size: clamp(28px, 9vw, 72px);
    line-height: .84;
    white-space: normal;
    overflow-wrap: normal;
  }
  .research-context { margin-top: 24px; font-size: 9px; }
  .research-story > h2 { margin-top: 42px; font-size: 29px; line-height: 1.12; }
  .research-intro { margin-top: 21px; font-size: 14px; line-height: 1.75; }
  .research-scope { margin-top: 40px; }
  .research-scope li { grid-template-columns: 34px 1fr; }
  .community-panel { padding: 26px 20px; }
  .community-top > h2 { font-size: 35px; }
  .whatsapp-button,
  .research-submit { min-height: 56px; padding-inline: 15px; font-size: 9px; }
  .cf-turnstile { transform: scale(.86); transform-origin: left top; margin-bottom: -9px; }
  .research-footer .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-community { grid-column: auto; }
  .research-footer .footer-legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
