/* Direção visual: hotel editorial contemporâneo — marfim, carvão e terracota. */

:root {
  --ink: #242321;
  --ink-soft: #5e5b56;
  --ivory: #f7f5f0;
  --paper: #fffdfa;
  --line: #dedbd3;
  --terracotta: #b56e52;
  --radius: 18px;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--ivory);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ivory);
}

a {
  color: inherit;
}

.access-page {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(520px, 0.9fr);
  min-height: 100svh;
  overflow: hidden;
  background: var(--ivory);
}

.brand-panel {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
}

.brand-image,
.brand-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.brand-image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.brand-overlay {
  z-index: -1;
  background: linear-gradient(115deg, rgba(17, 16, 15, .78), rgba(22, 20, 19, .32) 62%, rgba(22, 20, 19, .1));
}

.brand-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  box-shadow: inset -30px 0 80px rgba(0, 0, 0, .18);
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 35px 10%;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .7);
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 26px;
  line-height: 1;
}

.brand-kicker {
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.brand-copy {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  transform: translateY(-48%);
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: rgba(255, 255, 255, .72);
}

.brand-copy h1 {
  max-width: 600px;
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(58px, 8vw, 112px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .88;
}

.brand-description {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.55;
}

.brand-caption {
  position: absolute;
  right: 10%;
  bottom: 35px;
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.access-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(45px, 8vw, 110px) clamp(30px, 8vw, 120px);
  background: var(--ivory);
}

.access-header {
  max-width: 510px;
  margin-bottom: 38px;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(58px, 9vh, 110px);
  color: #aaa69e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}

.step-indicator__active {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}

.step-line {
  width: 17px;
  height: 1px;
  background: #c5c0b7;
}

.access-header h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1;
}

.access-intro {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.access-list {
  display: grid;
  gap: 15px;
  max-width: 570px;
}

.access-card {
  position: relative;
  display: grid;
  grid-template-columns: 36px 54px 1fr 28px;
  align-items: center;
  gap: 14px;
  min-height: 132px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-decoration: none;
  transition: transform 200ms cubic-bezier(.23, 1, .32, 1), box-shadow 200ms ease, border-color 200ms ease;
}

.access-card:hover,
.access-card:focus-visible {
  border-color: var(--ink);
  box-shadow: 0 18px 40px rgba(36, 35, 33, .1);
  transform: translateY(-3px);
  outline: none;
}

.access-card:focus-visible {
  box-shadow: 0 0 0 4px rgba(181, 110, 82, .2), 0 18px 40px rgba(36, 35, 33, .1);
}

.access-card__number {
  align-self: start;
  padding-top: 4px;
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

.access-card__icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 13px;
  background: var(--ink);
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.access-card__content {
  min-width: 0;
}

.access-card__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.access-card__heading strong {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.access-card__label {
  padding: 5px 9px;
  border-radius: 100px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.access-card__description {
  display: block;
  max-width: 360px;
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.access-card__arrow {
  color: #9c978e;
  font-size: 24px;
  transition: color 180ms ease, transform 180ms ease;
}

.access-card:hover .access-card__arrow,
.access-card:focus-visible .access-card__arrow {
  color: var(--terracotta);
  transform: translate(3px, -3px);
}

.access-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  max-width: 570px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 13px;
}

.access-footer__spark {
  color: var(--terracotta);
  font-size: 19px;
}

.access-footer a {
  color: var(--ink);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .access-page {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .brand-panel {
    min-height: 56svh;
  }

  .brand-copy {
    top: auto;
    bottom: 11%;
    transform: none;
  }

  .brand-caption {
    display: none;
  }

  .access-panel {
    justify-content: flex-start;
    padding: 68px clamp(24px, 8vw, 72px) 78px;
  }

  .step-indicator {
    margin-bottom: 52px;
  }
}

@media (max-width: 560px) {
  .brand-panel {
    min-height: 470px;
  }

  .brand-header {
    padding: 24px 7%;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 22px;
  }

  .brand-copy {
    left: 7%;
    right: 7%;
    bottom: 10%;
  }

  .brand-copy h1 {
    font-size: clamp(58px, 19vw, 90px);
  }

  .brand-description {
    margin-top: 20px;
    font-size: 15px;
  }

  .access-panel {
    padding: 48px 20px 56px;
  }

  .access-header {
    margin-bottom: 28px;
  }

  .step-indicator {
    margin-bottom: 55px;
  }

  .access-header h2 {
    font-size: 38px;
  }

  .access-card {
    grid-template-columns: 30px 44px 1fr;
    gap: 10px;
    min-height: 124px;
    padding: 18px 15px;
  }

  .access-card__icon {
    width: 43px;
    height: 43px;
    border-radius: 11px;
  }

  .access-card__heading strong {
    font-size: 17px;
  }

  .access-card__label {
    margin-top: 5px;
  }

  .access-card__description {
    font-size: 13px;
  }

  .access-card__arrow {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .brand-copy {
    animation: reveal-copy 650ms cubic-bezier(.23, 1, .32, 1) both;
  }

  .access-header,
  .access-card {
    animation: reveal-panel 550ms cubic-bezier(.23, 1, .32, 1) both;
  }

  .access-header {
    animation-delay: 80ms;
  }

  .access-card:nth-child(2) {
    animation-delay: 90ms;
  }
}

@keyframes reveal-copy {
  from {
    opacity: 0;
    transform: translateY(-40%);
  }

  to {
    opacity: 1;
    transform: translateY(-48%);
  }
}

@keyframes reveal-panel {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step.done {
  background: var(--ink);
  color: #fff
}

.step-line.active {
  background: var(--ink)
}