/* ============================================================
   O PONTO DE VIRADA — Landing Page
   Design system + sections
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink: #080501;
  --ink-2: #100b04;
  --amber: #d48b00;
  --amber-med: #dba401;
  --yellow: #efd319;
  --gray: #dddcdd;
  --gray-mute: #b8b7b6;

  --white: #ffffff;

  /* type */
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;

  /* spacing rhythm */
  --section-pad: clamp(72px, 9vw, 140px);
  --gutter: clamp(20px, 5vw, 80px);
  --maxw: 1240px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-pad);
  overflow: clip;
}

.section--dark {
  background: var(--ink);
  color: var(--gray);
}

.section--light {
  background: var(--gray);
  color: var(--ink);
}

/* ---------- Typography ---------- */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 26px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--amber);
  display: inline-block;
}

.lead {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.65;
  max-width: 60ch;
}

.amber-text {
  color: var(--amber);
}

strong {
  font-weight: 700;
  color: inherit;
}

.section--dark strong {
  color: var(--white);
}

/* ============================================================
   LOGO (PNG file)
   ============================================================ */
.logo-img {
  display: inline-block;
  line-height: 0;
}
.logo-img img {
  display: block;
  width: auto;
}
.logo-img--sm img {
  height: 46px;
}
.logo-img--md img {
  height: 104px;
}
.logo-img--lg img {
  height: 150px;
}
.footer .logo-img--sm img {
  height: 78px;
}

/* ============================================================
   LOGO (recreated in CSS — adapts to any background)
   ============================================================ */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  user-select: none;
  --logo-unit: 1;
}

.logo--left {
  align-items: flex-start;
}

.logo__top {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: calc(15px * var(--logo-unit));
  letter-spacing: 0.52em;
  text-indent: 0.52em;
  color: var(--white);
  margin-bottom: calc(6px * var(--logo-unit));
}

.logo__main {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: calc(54px * var(--logo-unit));
  letter-spacing: 0.04em;
  text-indent: 0.04em;
  color: var(--yellow);
  line-height: 0.92;
}

.logo__by {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: calc(14px * var(--logo-unit));
  letter-spacing: 0.01em;
  color: var(--gray);
  margin-top: calc(8px * var(--logo-unit));
}

.section--light .logo__top {
  color: var(--ink);
}
.section--light .logo__by {
  color: #5a5856;
}

/* size modifiers */
.logo--sm {
  --logo-unit: 0.46;
}
.logo--md {
  --logo-unit: 0.92;
}
.logo--lg {
  --logo-unit: 1.18;
}

/* ============================================================
   BRAND SYMBOL (amber ring + rising line)
   ============================================================ */
.symbol {
  display: block;
  color: var(--amber);
}

.deco-symbol {
  position: absolute;
  pointer-events: none;
  color: var(--amber);
  z-index: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  --btn-bg: var(--amber);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  padding: 17px 30px;
  border: none;
  border-radius: 4px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    background 0.25s ease;
  box-shadow: 0 10px 30px -12px rgba(212, 139, 0, 0.7);
}

.btn:hover {
  background: var(--amber-med);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(212, 139, 0, 0.85);
}

.btn:active {
  transform: translateY(0);
}

.btn .arrow {
  transition: transform 0.4s var(--ease);
}
.btn:hover .arrow {
  transform: translateX(5px);
}

.btn--lg {
  font-size: 18px;
  padding: 21px 38px;
}

.btn--ghost {
  background: transparent;
  color: var(--amber);
  border: 1.5px solid var(--amber);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--amber);
  color: var(--ink);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease),
    border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-stuck {
  background: rgba(8, 5, 1, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(212, 139, 0, 0.22);
  padding-block: 12px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
  position: relative;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover {
  color: var(--white);
}
.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  padding: 11px 22px;
  font-size: 14px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-block: 140px 90px;
  background: radial-gradient(
      120% 90% at 80% 10%,
      rgba(212, 139, 0, 0.1),
      transparent 55%
    ),
    var(--ink);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__logo {
  margin-bottom: 46px;
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 76px);
  color: var(--white);
  margin-bottom: 28px;
}
.hero h1 .turn {
  color: var(--amber);
}

.hero__sub {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--gray);
  max-width: 54ch;
  margin-bottom: 40px;
}

.hero__note {
  font-size: 14px;
  color: var(--gray-mute);
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* email form */
.signup {
  display: flex;
  gap: 12px;
  max-width: 540px;
  flex-wrap: wrap;
}

.signup__field {
  flex: 1 1 260px;
  position: relative;
}

.signup input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 18px 20px;
  border-radius: 4px;
  border: 1.5px solid var(--amber);
  background: rgba(8, 5, 1, 0.5);
  color: var(--white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.signup input::placeholder {
  color: var(--gray-mute);
}
.signup input:focus {
  outline: none;
  border-color: var(--amber-med);
  box-shadow: 0 0 0 4px rgba(212, 139, 0, 0.18);
}

.signup__msg {
  font-size: 14px;
  margin-top: 14px;
  min-height: 20px;
  color: var(--amber-med);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.signup__msg.show {
  opacity: 1;
  transform: none;
}
.signup__msg.error {
  color: #ff7a59;
}

/* hero portrait */
.hero__portrait {
  position: relative;
  justify-self: center;
}

.hero__portrait .ring {
  position: relative;
  width: clamp(240px, 28vw, 380px);
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  border: 3px solid var(--amber);
  border-left-width: 0;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}
.hero__portrait .ring::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--amber);
  z-index: 2;
}
.hero__portrait .ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}
.hero__portrait .ring .glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 5, 1, 0.5));
  pointer-events: none;
}

.hero__portrait .badge {
  position: absolute;
  bottom: 6%;
  left: -8%;
  background: var(--ink);
  border: 1px solid rgba(212, 139, 0, 0.4);
  border-radius: 100px;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.8);
}
.hero__portrait .badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(239, 211, 25, 0.18);
}

/* scroll hint */
.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-mute);
}
.hero__scroll .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--amber), transparent);
  animation: scrolldown 2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrolldown {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }
  40% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(1) translateY(40px);
    opacity: 0;
  }
}

/* big faint hero symbol */
.hero__deco {
  position: absolute;
  top: 50%;
  right: -6%;
  width: 60vw;
  max-width: 760px;
  transform: translateY(-50%);
  opacity: 0.07;
  color: var(--amber);
  z-index: 0;
}

/* ============================================================
   SECTION HEADINGS (shared)
   ============================================================ */
.section__head {
  max-width: 760px;
  margin-bottom: 64px;
}
.section__head h2 {
  font-size: clamp(30px, 4vw, 52px);
}
.section--dark .section__head h2 {
  color: var(--white);
}
.section--light .section__head h2 {
  color: var(--ink);
}
.section__head .lead {
  margin-top: 24px;
  color: inherit;
}
.section--dark .section__head .lead {
  color: var(--gray);
}

/* ============================================================
   SECTION 2 — A DOR
   ============================================================ */
.pain__text {
  max-width: 64ch;
  margin-bottom: 56px;
}
.pain__text p {
  margin: 0 0 20px;
  font-size: 19px;
  color: #2c2925;
}
.pain__text p:last-child {
  margin-bottom: 0;
}
.pain__text strong {
  color: var(--ink);
  font-weight: 700;
}

.cards {
  display: grid;
  gap: 24px;
}
.cards--3 {
  grid-template-columns: repeat(3, 1fr);
}
.cards--4 {
  grid-template-columns: repeat(4, 1fr);
}

.pain-card {
  background: var(--white);
  border-top: 3px solid var(--amber);
  border-radius: 4px;
  padding: 34px 30px 32px;
  box-shadow: 0 20px 50px -30px rgba(8, 5, 1, 0.4);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.pain-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -28px rgba(8, 5, 1, 0.45);
}
.pain-card .ic {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(212, 139, 0, 0.12);
  display: grid;
  place-items: center;
  color: var(--amber);
  margin-bottom: 22px;
}
.pain-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.25;
}
.pain-card p {
  font-size: 16px;
  color: #4a4742;
  margin: 0;
}

/* ============================================================
   SECTION 3 — O QUE É (numbered blocks)
   ============================================================ */
.blocks {
  display: grid;
  gap: 0;
  margin-bottom: 60px;
}
.block {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 30px;
  padding: 34px 0;
  border-top: 1px solid rgba(212, 139, 0, 0.28);
  align-items: start;
}
.block:last-child {
  border-bottom: 1px solid rgba(212, 139, 0, 0.28);
}
.block__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--amber);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.block__body h3 {
  font-size: 23px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.block__body p {
  margin: 0;
  color: var(--gray);
  font-size: 17px;
  max-width: 60ch;
}
.block__tag {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 4px;
}

/* ============================================================
   SECTION 4 — PRÉVIA (edition cards)
   ============================================================ */
.editions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.edition {
  background: var(--ink);
  color: var(--gray);
  border-radius: 6px;
  padding: 32px 30px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  box-shadow: 0 24px 60px -30px rgba(8, 5, 1, 0.6);
}
.edition::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.edition:hover {
  transform: translateY(-6px);
}
.edition:hover::after {
  transform: scaleX(1);
}
.edition__no {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--amber);
  margin-bottom: 18px;
}
.edition h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 18px;
}
.edition__q {
  font-style: italic;
  font-size: 16px;
  color: var(--gray);
  line-height: 1.5;
  padding-left: 16px;
  border-left: 2px solid rgba(212, 139, 0, 0.5);
  margin-bottom: 24px;
}
.edition__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--amber);
  color: var(--ink);
  white-space: nowrap;
}
.tag--ghost {
  background: rgba(221, 220, 221, 0.12);
  color: var(--gray);
}

/* ============================================================
   SECTION 5 — QUEM É MÁRIO
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.about__photo {
  position: relative;
  border-left: 3px solid var(--amber);
  overflow: hidden;
  border-radius: 2px;
}
.about__photo img {
  width: 100%;
  height: 100%;
  max-height: 640px;
  object-fit: cover;
  object-position: 50% 18%;
}
.about__photo .glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(8, 5, 1, 0.55)
  );
  pointer-events: none;
}
.about h2 {
  color: var(--white);
  font-size: clamp(28px, 3.4vw, 46px);
  margin-bottom: 28px;
}
.about__text p {
  margin: 0 0 18px;
  color: var(--gray);
  font-size: 17px;
}
.about__text .hl {
  color: var(--white);
  font-weight: 700;
  font-size: 19px;
}
.creds {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 14px;
}
.creds li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--gray);
  font-size: 16px;
}
.creds li .dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  margin-top: 8px;
  box-shadow: 0 0 0 4px rgba(212, 139, 0, 0.15);
}

/* ============================================================
   SECTION 6 — DIFERENCIAIS (2x2)
   ============================================================ */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.diff {
  background: var(--white);
  border-bottom: 2px solid var(--amber);
  border-radius: 4px;
  padding: 38px 36px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: start;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  box-shadow: 0 20px 50px -34px rgba(8, 5, 1, 0.35);
}
.diff:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -30px rgba(8, 5, 1, 0.4);
}
.diff__ic {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--amber);
  display: grid;
  place-items: center;
}
.diff h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.diff p {
  margin: 0;
  font-size: 16px;
  color: #4a4742;
}

/* ============================================================
   SECTION 7 — DEPOIMENTOS (invitation state)
   ============================================================ */
.testi {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.testi .section__head {
  margin-inline: auto;
  text-align: center;
}
.testi__panel {
  border: 1px solid rgba(212, 139, 0, 0.3);
  background: rgba(221, 220, 221, 0.04);
  border-radius: 10px;
  padding: 56px 48px;
  position: relative;
}
.testi__quote {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 80px;
  line-height: 0.6;
  color: var(--amber);
  height: 40px;
}
.testi__panel p {
  font-size: 20px;
  color: var(--gray);
  margin: 18px 0 0;
}
.testi__panel .small {
  font-size: 15px;
  color: var(--gray-mute);
  margin-top: 18px;
}

/* ============================================================
   SECTION 8 — CANAIS
   ============================================================ */
.channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.channel {
  background: var(--white);
  border-radius: 8px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 20px 50px -34px rgba(8, 5, 1, 0.35);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.channel:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(8, 5, 1, 0.4);
}
.channel__ic {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--white);
}
.channel h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
}
.channel p {
  margin: 0;
  font-size: 16px;
  color: #4a4742;
  flex: 1;
}
.channel .btn {
  align-self: flex-start;
  font-size: 14px;
  padding: 13px 22px;
}

/* ============================================================
   SECTION 9 — CTA FINAL
   ============================================================ */
.final {
  text-align: center;
  position: relative;
}
.final__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin-inline: auto;
}
.final .logo {
  margin-bottom: 44px;
}
.final h2 {
  font-size: clamp(32px, 4.6vw, 60px);
  color: var(--white);
  margin-bottom: 24px;
}
.final h2 .turn {
  color: var(--amber);
}
.final__sub {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--gray);
  max-width: 56ch;
  margin: 0 auto 40px;
}
.final__note {
  font-size: 14px;
  color: var(--gray-mute);
  margin-top: 20px;
}
.final__deco {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70vw;
  max-width: 820px;
  transform: translate(-50%, -50%);
  opacity: 0.06;
  color: var(--amber);
  z-index: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  padding: 70px var(--gutter) 40px;
  text-align: center;
  border-top: 1px solid rgba(212, 139, 0, 0.16);
}
.footer .logo {
  margin-bottom: 30px;
}
.footer__social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 34px;
}
.footer__social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(212, 139, 0, 0.35);
  display: grid;
  place-items: center;
  color: var(--amber);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease);
}
.footer__social a:hover {
  background: var(--amber);
  color: var(--ink);
  transform: translateY(-3px);
}
.footer__rule {
  height: 1px;
  background: rgba(212, 139, 0, 0.3);
  margin: 0 auto 26px;
  max-width: 760px;
}
.footer__copy {
  font-size: 14px;
  color: var(--gray-mute);
  margin: 0 0 10px;
}
.footer__links {
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
  color: var(--gray-mute);
}
.footer__links a {
  transition: color 0.25s ease;
}
.footer__links a:hover {
  color: var(--amber);
}

/* ============================================================
   SCROLL REVEAL
   Content is visible by DEFAULT. The hidden pre-animation state
   is only armed (via .reveal-armed on <html>) once JS confirms
   CSS transitions actually run in this environment — so the page
   never gets stuck blank where transitions don't tick.
   ============================================================ */
.reveal-armed [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal-armed [data-reveal].in {
  opacity: 1;
  transform: none;
}
.reveal-armed [data-reveal-delay="1"] {
  transition-delay: 0.08s;
}
.reveal-armed [data-reveal-delay="2"] {
  transition-delay: 0.16s;
}
.reveal-armed [data-reveal-delay="3"] {
  transition-delay: 0.24s;
}
.reveal-armed [data-reveal-delay="4"] {
  transition-delay: 0.32s;
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__portrait {
    order: -1;
    justify-self: start;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .about__photo {
    max-width: 460px;
  }
  .cards--4,
  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  body {
    font-size: 17px;
  }
  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 26px;
    padding: 40px;
    background: rgba(8, 5, 1, 0.97);
    backdrop-filter: blur(16px);
    border-left: 1px solid rgba(212, 139, 0, 0.25);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
  }
  .nav__links.open {
    transform: none;
  }
  .nav__links a {
    font-size: 18px;
  }
  .nav__toggle {
    display: flex;
    z-index: 110;
  }
  .nav.is-open .nav__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav.is-open .nav__toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav.is-open .nav__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .cards--3,
  .editions,
  .channels,
  .cards--4,
  .diff-grid {
    grid-template-columns: 1fr;
  }
  .block {
    grid-template-columns: 70px 1fr;
    gap: 18px;
  }
  .hero__deco {
    opacity: 0.05;
  }
  .hero__portrait .badge {
    left: 0;
  }
}
