/* =========================================================
   Promoções na Hora
   Preço baixo, na hora certa.
   ========================================================= */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
}

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --orange: #ff5a00;
  --orange-deep: #d94c00;
  --paper: #ffffff;
  --paper-2: #f3f2ef;
  --ink-soft: #c9c4be;
  --paper-soft: #57524b;
  --flow-pad: clamp(20px, 4.4vw, 72px);
  --max: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--orange);
  color: var(--black);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 20;
  background: var(--orange);
  color: var(--black);
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

/* ------- Split stage ------- */

.stage {
  display: grid;
  grid-template-columns: minmax(0, 44.5%) minmax(0, 1fr);
  align-items: start;
}

.panel {
  position: sticky;
  top: 0;
  height: 100svh;
  padding: clamp(24px, 2.8vw, 42px) var(--flow-pad);
  background: var(--orange);
  color: var(--black);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.panel :focus-visible {
  outline-color: var(--black);
}

.panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.wordmark {
  display: block;
  color: var(--black);
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}

.wordmark-domain {
  display: block;
  margin-top: 7px;
  color: rgba(10, 10, 10, 0.66);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.panel-tag {
  margin: 1px 0 0;
  color: rgba(10, 10, 10, 0.68);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-align: right;
}

.panel h1 {
  margin: clamp(30px, 6.2vh, 68px) 0 0;
  font-size: clamp(42px, 4.9vw, 72px);
  font-weight: 800;
  letter-spacing: -0.052em;
  line-height: 0.93;
}

.clock {
  margin-top: auto;
  padding-top: clamp(24px, 4vh, 48px);
}

.clock-line {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 10px;
}

.clock-label {
  max-width: 15ch;
  margin: 0 0 4px;
  color: rgba(10, 10, 10, 0.66);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.clock-time {
  margin: 0;
  font-size: clamp(40px, 3.8vw, 54px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.clock-note {
  max-width: 36ch;
  margin: 0;
  color: rgba(10, 10, 10, 0.7);
  font-size: 14px;
  line-height: 1.45;
}

.panel-photo {
  flex-shrink: 0;
  margin: clamp(20px, 3.5vh, 36px) 0 0;
}

.panel-photo-frame {
  position: relative;
  height: clamp(130px, 23svh, 230px);
  overflow: hidden;
  background: var(--orange-deep);
}

.panel-photo-frame img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.96);
  opacity: 0;
  transition: opacity 0.7s ease;
}

.panel-photo-frame img.is-active {
  opacity: 1;
}

.panel-photo-frame img:nth-child(1) {
  object-position: 50% 42%;
}

.panel-photo-frame img:nth-child(2) {
  object-position: 50% 50%;
}

.panel-photo-frame img:nth-child(3) {
  object-position: 50% 56%;
}

.panel-photo-frame img:nth-child(4) {
  object-position: 50% 44%;
}

.panel-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--orange);
  mix-blend-mode: multiply;
  opacity: 0.55;
  pointer-events: none;
}

.photo-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 0;
  color: rgba(10, 10, 10, 0.64);
  font-size: 13px;
  line-height: 1.35;
}

.photo-caption span:last-child {
  white-space: nowrap;
}

/* ------- Reading column ------- */

.flow {
  min-width: 0;
  padding: 0 var(--flow-pad);
}

.flow-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 0;
  font-size: 14px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--orange);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-weight: 600;
}

.nav-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.nav-cta:hover svg {
  transform: translateX(3px);
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 10vh, 110px) 0 clamp(64px, 10vh, 120px);
}

.hero-lead {
  max-width: 26ch;
  margin: 0 0 24px;
  font-size: clamp(27px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.hero-body {
  max-width: 52ch;
  margin: 0 0 36px;
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.hero-note {
  color: var(--ink-soft);
  font-size: 14px;
}

/* ------- Buttons and links ------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 15px 22px;
  background: var(--orange);
  color: var(--black);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.btn:hover {
  background: var(--white);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn:active {
  transform: translateY(1px);
}

.panel-cta {
  display: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.text-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.text-link:hover {
  color: var(--white);
}

.text-link:hover svg {
  transform: translateX(4px);
}

/* ------- Ticker ------- */

.ticker {
  margin: 0 calc(-1 * var(--flow-pad));
  padding: 17px 0;
  overflow: hidden;
  background: var(--orange);
  color: var(--black);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 56s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  flex-shrink: 0;
}

.ticker-group span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.ticker-group span::after {
  content: "•";
  font-size: 18px;
  line-height: 1;
}

@keyframes ticker-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ------- Sections ------- */

.section {
  padding-top: clamp(84px, 13vh, 150px);
}

h2 {
  max-width: 15ch;
  margin: 0 0 20px;
  font-size: clamp(34px, 3.6vw, 54px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.section-intro {
  max-width: 52ch;
  margin: 0 0 clamp(32px, 5vh, 56px);
  font-size: 18px;
  line-height: 1.55;
}

/* ------- Groups sheet ------- */

.groups {
  padding: clamp(14px, 2.2vw, 28px);
  background: var(--paper);
  color: var(--black);
}

.groups :focus-visible {
  outline-color: var(--black);
  outline-offset: -3px;
}

.group-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.group-row a {
  display: grid;
  grid-template-columns: 1.12fr 1fr auto;
  grid-template-areas: "name desc go";
  align-items: center;
  gap: 20px;
  padding: 17px 16px;
  background: var(--paper);
  color: var(--black);
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.group-list li:nth-child(even) a {
  background: var(--paper-2);
}

.group-row a:hover {
  background: var(--orange);
}

.group-name {
  grid-area: name;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.group-desc {
  grid-area: desc;
  color: var(--paper-soft);
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.18s ease;
}

.group-row--featured .group-desc {
  color: rgba(10, 10, 10, 0.82);
}

.group-row a:hover .group-desc {
  color: rgba(10, 10, 10, 0.76);
}

.group-go {
  grid-area: go;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.platform {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.platform svg {
  width: 17px;
  height: 17px;
}

.arrow {
  width: 19px;
  height: 19px;
  transition: transform 0.2s ease;
}

.group-row a:hover .arrow {
  transform: translateX(4px);
}

.group-row--featured a {
  grid-template-columns: 1.35fr 0.85fr auto;
  padding-top: 22px;
  padding-bottom: 22px;
  background: var(--orange);
}

.group-row--featured .group-name {
  font-size: clamp(24px, 2.2vw, 28px);
  letter-spacing: -0.035em;
}

.group-row--featured a:hover {
  background: var(--black);
  color: var(--white);
}

.group-row--featured a:hover .group-desc {
  color: rgba(255, 255, 255, 0.74);
}

.group-row--featured a:hover:focus-visible {
  outline-color: var(--white);
}

.groups-note {
  margin: 18px 16px 4px;
  color: var(--paper-soft);
  font-size: 14px;
  line-height: 1.45;
}

/* ------- How it works ------- */

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.how-copy p {
  max-width: 34ch;
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.6;
}

.slip {
  padding: clamp(22px, 3vw, 32px) clamp(20px, 3vw, 32px) clamp(24px, 3vw, 34px);
  background: var(--paper);
  color: var(--black);
}

.slip-steps {
  display: grid;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.slip-steps h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.slip-steps p {
  margin: 0;
  color: #4f4a44;
  font-size: 17px;
  line-height: 1.5;
}

/* ------- FAQ ------- */

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.5fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.faq-head p {
  max-width: 28ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.faq-head a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-head a:hover {
  color: var(--white);
}

.faq-text p {
  max-width: 60ch;
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.6;
}

.faq-text strong {
  font-weight: 700;
}

/* ------- Final CTA ------- */

.final {
  padding: clamp(140px, 22vh, 220px) 0 clamp(100px, 16vh, 160px);
}

.final-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: end;
}

.final-copy p {
  max-width: 32ch;
  margin: 0 0 28px;
  font-size: 22px;
  line-height: 1.35;
}

.final-figure {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  color: var(--orange);
}

.final-number {
  font-size: clamp(80px, 6vw, 88px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.75;
}

.final-label {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

/* ------- Footer ------- */

.footer {
  padding: 0 0 40px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 32px;
}

.footer-brand {
  max-width: 34ch;
  margin: 0;
  color: var(--white);
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-links a,
.footer-meta a,
.footer-fine a {
  color: var(--white);
  text-decoration: none;
}

.footer-links a:hover,
.footer-meta a:hover,
.footer-fine a:hover {
  color: var(--orange);
}

.footer-meta {
  margin: 0;
}

.footer-fine {
  max-width: 80ch;
  margin: 18px 0 0;
  color: #8f8a84;
  font-size: 13px;
  line-height: 1.55;
}

/* ------- Motion ------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity 0.7s ease,
      transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }

  .js .panel h1,
  .js .clock,
  .js .panel-photo {
    animation: panel-in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .js .clock {
    animation-delay: 0.08s;
  }

  .js .panel-photo {
    animation-delay: 0.16s;
  }

  .panel-photo-frame img.is-active {
    animation: photo-drift 13s ease-out both;
  }

  @keyframes panel-in {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes photo-drift {
    from {
      transform: scale(1.06);
    }
    to {
      transform: scale(1);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker-track {
    animation: none;
  }

  .panel-photo-frame img {
    transition: none;
  }
}

/* ------- Tablet and phone ------- */

@media (max-width: 1023px) {
  :root {
    --flow-pad: 20px;
  }

  .stage {
    display: block;
  }

  .panel {
    position: static;
    height: auto;
    min-height: 0;
    padding: 20px 20px 0;
    overflow: visible;
  }

  .wordmark {
    font-size: 24px;
  }

  .wordmark-domain,
  .panel-tag {
    display: none;
  }

  .panel h1 {
    margin-top: 26px;
    font-size: clamp(38px, 11.5vw, 58px);
  }

  .clock {
    margin-top: 26px;
    padding-top: 0;
  }

  .clock-time {
    font-size: clamp(38px, 10.5vw, 52px);
  }

  .panel-cta {
    display: inline-flex;
    align-self: flex-start;
    min-height: 50px;
    margin-top: 22px;
    padding: 13px 18px;
    background: var(--black);
    color: var(--white);
  }

  .panel-cta:hover {
    background: var(--white);
    color: var(--black);
  }

  .clock-note {
    max-width: 42ch;
  }

  .panel-photo {
    margin-top: 22px;
  }

  .panel-photo-frame {
    height: clamp(110px, 20svh, 170px);
  }

  .photo-caption {
    margin-bottom: 18px;
  }

  .flow {
    padding: 0 var(--flow-pad);
  }

  .nav {
    padding-top: 18px;
  }

  .hero {
    min-height: 0;
    padding: 36px 0 56px;
  }

  .hero-lead {
    max-width: 26ch;
    font-size: clamp(24px, 5.2vw, 32px);
  }

  .hero-body {
    max-width: 50ch;
    font-size: 18px;
  }

  .section {
    padding-top: 72px;
  }

  h2 {
    font-size: clamp(34px, 7vw, 46px);
  }

  .section-intro {
    font-size: 18px;
  }

  .how-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .how-copy p {
    max-width: 46ch;
  }

  .faq-head p {
    max-width: 42ch;
  }

  .final {
    padding: 100px 0 90px;
  }

  .footer-row {
    display: block;
  }

  .footer-links {
    margin: 12px 0;
  }

  .footer-meta {
    margin-top: 4px;
  }
}

@media (max-width: 700px) {
  .groups {
    padding: 10px;
  }

  .group-row a,
  .group-row--featured a {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name go"
      "desc go";
    gap: 6px 14px;
    padding: 16px 12px;
  }

  .group-name {
    font-size: 18px;
  }

  .group-row--featured .group-name {
    font-size: 25px;
  }

  .group-desc {
    padding-right: 4px;
    font-size: 14px;
  }

  .group-go {
    gap: 8px;
    font-size: 13px;
  }

  .platform svg {
    width: 15px;
    height: 15px;
  }

  .arrow {
    width: 17px;
    height: 17px;
  }

  .groups-note {
    margin: 14px 10px 4px;
  }

  .nav {
    gap: 14px;
    font-size: 14px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-cta {
    display: none;
  }

  .panel-photo-frame {
    height: clamp(96px, 16svh, 130px);
  }

  .final-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .final-figure {
    flex-direction: row;
    align-items: flex-end;
    gap: 18px;
  }

  .final-number {
    font-size: clamp(72px, 18vw, 96px);
  }

  .final-label {
    font-size: 14px;
  }

  .photo-caption {
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  .photo-caption span:last-child {
    white-space: normal;
  }

  .footer-fine {
    font-size: 13px;
  }
}

@media (max-width: 1023px) and (max-height: 700px) {
  .panel-photo {
    display: none;
  }
}

/* ------- Inner pages (privacidade, créditos, 404) ------- */

.inner {
  background: var(--black);
}

.inner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 24px;
}

.inner-head .wordmark {
  color: var(--white);
  font-size: 20px;
}

.inner-head .wordmark-domain {
  color: rgba(255, 255, 255, 0.58);
}

.inner-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--orange);
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.18s ease;
}

.inner-back:hover {
  background: var(--white);
  color: var(--black);
}

.inner-main {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(56px, 10vh, 110px) 24px 80px;
}

.inner-main h1 {
  max-width: 12ch;
  margin: 0 0 20px;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.inner-lead {
  max-width: 46ch;
  margin: 0 0 56px;
  color: var(--white);
  font-size: 21px;
  line-height: 1.4;
}

.inner-main h2 {
  max-width: none;
  margin: 44px 0 12px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.inner-main p,
.inner-main li {
  max-width: 68ch;
  color: #e6e6e6;
  font-size: 17px;
  line-height: 1.65;
}

.inner-main p {
  margin: 0 0 18px;
}

.inner-main a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.inner-main a:hover {
  color: var(--white);
}

.credit-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
  margin: 0 0 42px;
}

.credit-photos figure {
  margin: 0;
}

.credit-photos img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #1a1a1a;
}

.credit-photos figcaption {
  margin-top: 8px;
  color: #c9c4be;
  font-size: 13px;
  line-height: 1.45;
}

.credit-photos .credit-name {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.credit-photos .credit-name:hover {
  color: var(--orange);
}

.inner-foot {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 24px 40px;
  color: #8f8a84;
  font-size: 14px;
  line-height: 1.6;
}

.inner-foot p {
  margin: 0;
}

.inner-foot a {
  color: var(--white);
  text-decoration: none;
}

.inner-foot a:hover {
  color: var(--orange);
}

@media (max-width: 600px) {
  .inner-head {
    padding: 20px;
  }

  .inner-head .wordmark {
    font-size: 17px;
  }

  .inner-back {
    font-size: 13px;
  }

  .credit-photos {
    grid-template-columns: 1fr;
  }

  .inner-main {
    padding: 44px 20px 64px;
  }

  .inner-lead {
    margin-bottom: 40px;
    font-size: 19px;
  }

  .inner-main h2 {
    margin-top: 36px;
    font-size: 23px;
  }

  .inner-foot {
    padding: 24px 20px 32px;
  }
}
