/* A Vida Não Para — sponsorship page.
   The proposal PDF as a page: same black, gold and serif as the film page (tokens come from styles.css), no pinned scenes.
   Content only fades up as it enters; print and no-JS show everything. */

.pg main {
  overflow-x: clip;
}

/* dense text scrolls under the bar here, so it gets a solid top */
.pg .bar {
  background: linear-gradient(#000 55%, rgba(0, 0, 0, 0));
}

.pg .bar .wide {
  display: none;
}

@media (min-width: 720px) {
  .pg .bar .wide {
    display: inline-flex;
  }
}

.js .rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .rv.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .rv {
    transform: none;
    transition-duration: 0.4s;
  }
}

@media print {
  .js .rv {
    opacity: 1 !important;
    transform: none !important;
  }
}

.eyebrow.gold,
.eyebrow.dot {
  color: var(--gold);
}

.eyebrow.dot::before {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-right: 0.8em;
  border-radius: 50%;
  background: #d9382a;
  vertical-align: 0.08em;
}

.fine {
  max-width: 52rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--dim);
}

.label {
  font: 400 0.8rem/1.35 var(--text);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.panel {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: #0c0c0c;
  border: 1px solid var(--line);
}

/* ---------- Opening ---------- */
.p-hero {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 6.5rem var(--pad) 4rem;
  overflow: hidden;
}

.p-hero .bg {
  opacity: 0.55;
}

.p-hero > :not(.bg) {
  position: relative;
  z-index: 1;
}

.p-hero-tx {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}

.p-hero .line {
  max-width: 9ch;
  font-size: clamp(3.2rem, 9vw, 7.2rem);
  line-height: 0.96;
}

.p-lede {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

.p-lede b {
  font-weight: 400;
  color: var(--gold);
}

.p-hero .link,
.contact .link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.p-deadline {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font: 400 0.8rem/1.3 var(--text);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.p-deadline i {
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #d9382a;
}

.p-poster {
  margin: 0;
  justify-self: start;
}

.p-poster img {
  width: min(100%, 22rem);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

@media (min-width: 900px) {
  .p-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
    gap: 4rem;
  }

  .p-poster {
    justify-self: end;
  }

  .p-poster img {
    width: auto;
    max-height: 76vh;
    max-height: 76svh;
  }
}

/* ---------- Sections ---------- */
.sec {
  display: grid;
  gap: clamp(1.8rem, 4vh, 2.75rem);
  padding: clamp(4.5rem, 11vh, 7.5rem) var(--pad);
  border-top: 1px solid var(--line);
  scroll-margin-top: 3rem;
}

.sec > * {
  width: 100%;
  max-width: 68rem;
}

.head {
  display: grid;
  gap: 1.1rem;
}

.head .line {
  max-width: 17ch;
}

.sub {
  max-width: 44rem;
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

/* timeline */
.tl {
  list-style: none;
  display: grid;
  gap: 2.2rem;
  padding: 0 0 0 1.75rem;
  border-left: 1px solid var(--line);
}

.tl li {
  position: relative;
  display: grid;
  gap: 0.45rem;
  max-width: 46rem;
}

.tl li::before {
  content: "";
  position: absolute;
  left: calc(-1.75rem - 5px);
  top: 0.3rem;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: #000;
}

.tl li.now::before {
  border-color: #d9382a;
  background: #d9382a;
}

.when {
  font: 400 0.8rem/1.35 var(--text);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.tl h3 {
  font: 400 clamp(1.6rem, 2.8vw, 2.2rem) / 1.1 var(--display);
}

.tl p:not(.when):not(.go) {
  color: rgba(255, 255, 255, 0.8);
}

.go {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.5rem;
}

.go a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: 400 0.78rem/1.2 var(--text);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.45em;
  transition: color 0.2s;
}

.go a::after {
  content: "›";
  margin-left: 0.5em;
  color: var(--gold);
}

.go a:hover {
  color: var(--gold);
}

.quote {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-left: 3px solid var(--gold);
  background: #0c0c0c;
  font: 400 clamp(1.5rem, 2.6vw, 2.1rem) / 1.2 var(--display);
}

.quote b {
  font-weight: 400;
  color: var(--gold);
}

/* figures */
.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.stats li {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  padding: 1.3rem 1.1rem 1.5rem;
  background: #000;
}

.stats b {
  font: 400 clamp(2rem, 4.4vw, 3.2rem) / 1 var(--display);
  color: var(--gold);
}

.stats span {
  font-size: 1rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.78);
}

@media (min-width: 820px) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stats li {
    padding: 1.8rem 1.6rem 2rem;
  }
}

.sum {
  display: grid;
  gap: 1.2rem 2.5rem;
  align-items: center;
  border-left: 3px solid var(--gold);
}

.sum b {
  font-weight: 400;
  color: #fff;
}

.sum > p:last-child {
  color: rgba(255, 255, 255, 0.8);
}

.math {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  white-space: nowrap;
}

.math span {
  display: grid;
  justify-items: center;
}

.math b {
  font: 400 clamp(2.4rem, 5vw, 3.4rem) / 1 var(--display);
}

.math small {
  font: 400 0.7rem/1.6 var(--text);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

.math i {
  padding-top: 0.5rem;
  font: 400 1.6rem/1 var(--display);
  font-style: normal;
  color: var(--dim);
}

.math .g b {
  color: var(--gold);
}

@media (min-width: 820px) {
  .sum {
    grid-template-columns: auto 1fr;
  }
}

.why {
  list-style: none;
  display: grid;
  gap: 1.6rem 3rem;
  padding: 0;
}

.why li {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.why h4 {
  font: 400 1.5rem/1.15 var(--display);
}

.why p {
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 820px) {
  .why {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* objectives */
.split {
  display: grid;
  gap: 2rem 3rem;
  align-items: start;
}

.split > div {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
}

.goals {
  list-style: none;
  padding: 0;
  counter-reset: g;
  border-bottom: 1px solid var(--line);
}

.goals li {
  counter-increment: g;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.goals li::before {
  content: counter(g, decimal-leading-zero);
  font: 400 1.25rem/1.4 var(--display);
  color: var(--gold);
}

.big {
  display: grid;
  gap: 0.7rem;
}

.big b {
  font: 400 clamp(4.5rem, 9vw, 6.5rem) / 0.85 var(--display);
  color: var(--gold);
}

.big p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.45;
}

.ods {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  padding: 0;
}

.ods li {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  border: 1px solid var(--line);
  background: #0c0c0c;
}

.ods li > b {
  display: grid;
  place-items: center;
  background: var(--c);
  font: 700 1.9rem/1 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #fff;
}

.ods li > div {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem 1.15rem;
}

.ods h4 {
  font: 400 1.3rem/1.15 var(--display);
}

.ods p {
  font-size: 1.02rem;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.78);
}

@media (min-width: 820px) {
  .ods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* the law */
.pair {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  padding: 0;
}

.pair li {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.pair b {
  font: 400 clamp(3.4rem, 8vw, 5.4rem) / 0.95 var(--display);
  color: var(--gold);
}

.pair p {
  max-width: 26rem;
  color: rgba(255, 255, 255, 0.82);
}

.pair strong {
  font-weight: 400;
  color: #fff;
  border-bottom: 1px solid var(--gold);
}

@media (min-width: 720px) {
  .pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sim {
  border-collapse: collapse;
  text-align: left;
}

.sim th {
  padding: 0 1rem 0.7rem 0;
  font: 400 0.74rem/1.3 var(--text);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.sim td {
  padding: 0.85rem 1rem 0.85rem 0;
  border-top: 1px solid var(--line);
}

.sim td b {
  font-weight: 400;
  color: var(--gold);
  font-size: 1.25rem;
}

.sim tbody tr:last-child td {
  border-bottom: 1px solid var(--line);
}

/* phones: each simulation row becomes a small card, with the column name beside every value */
@media (max-width: 640px) {
  .sim,
  .sim tbody,
  .sim tr,
  .sim td {
    display: block;
  }

  .sim thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .sim tr {
    padding: 0.9rem 0;
    border-top: 1px solid var(--line);
  }

  .sim tbody tr:last-child {
    border-bottom: 1px solid var(--line);
  }

  .sim td,
  .sim tbody tr:last-child td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.2rem 0;
    border: 0;
    text-align: right;
  }

  .sim td::before {
    content: attr(data-l);
    flex: none;
    font: 400 0.72rem/1.3 var(--text);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: left;
    color: var(--dim);
  }
}

.edge {
  display: grid;
  gap: 0.6rem;
  border-left: 3px solid var(--gold);
}

.bigline {
  font: 400 clamp(1.6rem, 3vw, 2.3rem) / 1.15 var(--display);
}

.bigline b {
  font-weight: 400;
  color: var(--gold);
}

/* quotas */
.quotas {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  padding: 0;
}

.quotas > li {
  display: grid;
  border: 1px solid var(--line);
  background: #0c0c0c;
}

.quotas .q {
  display: grid;
  gap: 0.3rem;
  align-content: center;
  padding: 1.3rem 1.4rem;
  background: #141414;
}

.quotas h3 {
  font: 400 clamp(1.9rem, 3.2vw, 2.5rem) / 1.05 var(--display);
}

.quotas .price {
  color: rgba(255, 255, 255, 0.78);
}

.quotas ul {
  display: grid;
  gap: 0.5rem;
  align-content: center;
  padding: 1.2rem 1.4rem 1.3rem 2.6rem;
  color: rgba(255, 255, 255, 0.88);
}

.quotas ul li::marker {
  color: var(--gold);
}

.quotas > li.top {
  border-color: var(--gold);
}

.quotas > li.top .q {
  background: var(--gold);
  color: #000;
}

.quotas > li.top .label,
.quotas > li.top .price {
  color: rgba(0, 0, 0, 0.72);
}

@media (min-width: 760px) {
  .quotas > li {
    grid-template-columns: 17rem 1fr;
  }
}

/* steps */
.steps {
  list-style: none;
  display: grid;
  gap: 0;
  padding: 0;
  counter-reset: s;
  border-bottom: 1px solid var(--line);
}

.steps li {
  counter-increment: s;
  position: relative;
  display: grid;
  gap: 0.35rem;
  padding: 1.3rem 0 1.4rem 4rem;
  border-top: 1px solid var(--line);
}

.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.15rem;
  font: 400 2rem/1 var(--display);
  color: var(--gold);
}

.steps h3 {
  font: 400 1.5rem/1.15 var(--display);
}

.steps p:not(.fine) {
  max-width: 44rem;
  color: rgba(255, 255, 255, 0.8);
}

.approved {
  display: grid;
  gap: 1.5rem 2.5rem;
  align-items: center;
  border-left: 3px solid var(--gold);
}

.approved .lr {
  width: auto;
  height: 3rem;
}

.approved .pronac {
  white-space: nowrap;
  margin: 0.2rem 0 0.6rem;
  font: 400 clamp(2rem, 4.4vw, 3rem) / 1 var(--display);
}

.approved p:last-child {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.approved p b {
  font-weight: 400;
  color: var(--gold);
}

.approved .dou {
  width: min(100%, 17rem);
  border: 1px solid var(--line);
}

@media (min-width: 900px) {
  .approved {
    grid-template-columns: 12rem 1fr 17rem;
  }
}

/* contact */
.contact {
  padding-bottom: clamp(4rem, 9vh, 6rem);
}

.contact .line {
  max-width: 15ch;
}

.who {
  font-size: 1.3rem;
  color: var(--dim);
}

.who b {
  font-weight: 400;
  color: #fff;
}

.pg .marks {
  grid-template-columns: 1fr;
  gap: 2rem 3.5rem;
  margin-top: 1.5rem;
}

.pg .marks > div {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.yours {
  display: grid;
  place-items: center;
  min-height: 4.2rem;
  padding: 0.8rem 1.2rem;
  border: 1px dashed rgba(236, 228, 180, 0.6);
  font-size: 0.95rem;
  color: var(--dim);
  text-align: center;
}

@media (min-width: 820px) {
  .pg .marks {
    grid-template-columns: 16rem 1fr;
  }
}

.pg footer {
  padding-top: 2rem;
}

.pg footer a:not(.credit) {
  text-underline-offset: 0.3em;
}
