/* ==========================================================================
   Sublime Presentes Criativos — Versão V2 Cinematográfica & Editorial
   CSS puro, responsivo, performático e sem dependências externas.
   ========================================================================== */

:root {
  --ink: #070609;
  --ink-2: #110f16;
  --ink-3: #1a1722;
  --ink-card: rgba(18, 15, 24, 0.75);
  --ink-border: rgba(255, 255, 255, 0.08);

  --paper: #f4efe6;
  --paper-2: #e8e2d4;
  --paper-ink: #100e14;
  --paper-muted: #534e5a;

  --text: #f7f4ef;
  --muted: #aba4b4;
  --dim: #736c7c;

  --neon-g: #7cff4f;
  --neon-g-glow: rgba(124, 255, 79, 0.35);
  --neon-p: #ff3da5;
  --neon-p-glow: rgba(255, 61, 165, 0.4);
  --pink-ink: #b8005f;

  --f-display: "Bahnschrift", "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", sans-serif-condensed, "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --max: 1360px;
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: clamp(1rem, 0.96rem + 0.25vw, 1.15rem);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

:focus-visible {
  outline: 3px solid var(--neon-g);
  outline-offset: 4px;
}

/* ---------- Utilitários de Acessibilidade ---------- */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1.5rem;
  top: -5rem;
  z-index: 1000;
  padding: 0.85rem 1.4rem;
  background: var(--neon-g);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: top 0.25s var(--ease-cinematic);
}
.skip-link:focus {
  top: 1.5rem;
}

/* ---------- Tipografia Editorial ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  font-family: var(--f-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neon-g);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.eyebrow--pink { color: var(--neon-p); }
.eyebrow--dark {
  color: var(--pink-ink);
}
.eyebrow--dark::before {
  box-shadow: none;
}

.section-title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 80%;
  font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-title--dark {
  color: var(--paper-ink);
}

em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ---------- Text Reveal on Scroll ---------- */

.reveal-text {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-cinematic), transform 0.85s var(--ease-cinematic);
  will-change: opacity, transform;
}

.reveal-text.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-cinematic), transform 0.8s var(--ease-cinematic);
}

.reveal-stagger.is-revealed > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-revealed > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-revealed > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-revealed > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-revealed > *:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }

/* ---------- Botões e Links de Ação ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.4rem;
  padding: 0.95rem 1.85rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease-cinematic), box-shadow 0.25s var(--ease-cinematic), background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.01);
}

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

.btn--neon {
  background: var(--neon-g);
  color: var(--ink);
  box-shadow: 0 0 0 0 rgba(124, 255, 79, 0), 0 12px 35px -8px var(--neon-g-glow);
}

.btn--neon:hover {
  box-shadow: 0 0 0 6px rgba(124, 255, 79, 0.2), 0 18px 45px -6px rgba(124, 255, 79, 0.65);
}

.btn--pink {
  background: var(--neon-p);
  color: var(--ink);
  box-shadow: 0 12px 35px -8px var(--neon-p-glow);
}

.btn--pink:hover {
  box-shadow: 0 0 0 6px rgba(255, 61, 165, 0.22), 0 18px 45px -6px rgba(255, 61, 165, 0.65);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: var(--neon-g);
  color: var(--neon-g);
  background: rgba(124, 255, 79, 0.08);
}

.btn--sm {
  min-height: 2.75rem;
  padding: 0.55rem 1.25rem;
  font-size: 0.92rem;
}

.btn__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--neon-g);
  box-shadow: 0 0 10px var(--neon-g);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
  transition: color 0.2s ease, border-color 0.2s ease, gap 0.25s var(--ease-cinematic);
}

.link-arrow:hover {
  color: var(--neon-g);
  border-color: var(--neon-g);
  gap: 0.75rem;
}

.link-arrow--sm {
  min-height: 2.4rem;
  font-size: 0.92rem;
}

/* ---------- Header Flutuante Editorial ---------- */

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.2rem, 3vw, 2.2rem) var(--pad);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.35rem);
  letter-spacing: -0.015em;
  color: var(--text);
}

.brand__tag {
  margin-top: 0.35rem;
  font-family: var(--f-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--f-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ---------- Hero Cinematográfico ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 7rem);
  max-width: var(--max);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(8rem, 14vw, 10.5rem) var(--pad) clamp(4rem, 8vw, 7rem);
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42rem 30rem at 78% 40%, rgba(255, 61, 165, 0.18), rgba(255, 61, 165, 0) 70%),
    radial-gradient(ellipse 36rem 26rem at 52% 82%, rgba(124, 255, 79, 0.14), rgba(124, 255, 79, 0) 72%);
  will-change: transform;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 78%;
  font-size: clamp(3.1rem, 1.8rem + 6.2vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero__title em {
  color: var(--neon-p);
  text-shadow: 0 0 45px rgba(255, 61, 165, 0.45);
}

.hero__lead {
  max-width: 36rem;
  margin: clamp(1.6rem, 3vw, 2.4rem) 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1rem + 0.3vw, 1.3rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2.2rem;
  margin-top: clamp(2.2rem, 4.5vw, 3.4rem);
}

.hero__photo {
  position: relative;
  justify-self: center;
  width: min(100%, 360px);
  margin: 0;
  will-change: transform;
}

.hero__frame {
  position: relative;
  aspect-ratio: 408 / 725;
  border-radius: var(--radius-sm);
  transform: rotate(2.5deg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    -18px 18px 0 -2px var(--neon-g),
    0 35px 85px -20px rgba(255, 61, 165, 0.55);
  transition: transform 0.5s var(--ease-cinematic);
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__photo:hover .hero__frame {
  transform: rotate(0deg) scale(1.02);
}

.hero__caption {
  margin-top: 1.8rem;
  font-family: var(--f-display);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  line-height: 1.4;
}

.hero__caption span {
  display: block;
  font-size: 0.72rem;
  color: var(--dim);
}

/* ==========================================================================
   Seção 1: Scroll-driven Video + Pinned Section + Scrollytelling
   - O scroll controla diretamente o tempo do vídeo (video.currentTime).
   - O scrollytelling revela 4 momentos da narrativa de personalização.
   - Fallback estático e elegante para navegadores sem JS ou reduced-motion.
   ========================================================================== */

.scrub {
  position: relative;
  background: var(--ink);
}

/* Fallback Estático */
.scrub__sticky {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) var(--pad);
}

.scrub__header {
  margin-bottom: 2.5rem;
}

.scrub__label {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 80%;
  font-size: clamp(2rem, 1.4rem + 2.5vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.scrub__media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #040306;
}

.scrub__media img,
.scrub__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scrub__poster,
.scrub__video { display: none; }

.scrub__beats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem 2.2rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.beat {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.beat__kicker {
  font-family: var(--f-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon-p);
}

.beat__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 85%;
  font-size: clamp(1.35rem, 1rem + 1vw, 1.95rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.beat__title em { color: var(--neon-g); }

.beat__desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.scrub__note {
  margin: 2.2rem 0 0;
  font-size: 0.8rem;
  color: var(--dim);
}

.scrub__bar { display: none; }

/* ----- Versão Pinned Dinâmica (Ativada via JS) ----- */

.js .scrub:not(.is-static) {
  height: 420vh;
}

.js .scrub:not(.is-static) .scrub__sticky {
  position: sticky;
  top: 0;
  max-width: none;
  height: 100vh;
  height: 100svh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.js .scrub:not(.is-static) .scrub__header {
  position: absolute;
  z-index: 5;
  top: clamp(1.4rem, 3.2vw, 2.4rem);
  left: var(--pad);
  margin: 0;
  pointer-events: none;
}

.js .scrub:not(.is-static) .scrub__label {
  font-size: clamp(1rem, 0.85rem + 0.5vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon-g);
}

.js .scrub:not(.is-static) .scrub__media {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border-radius: 0;
  background: #040306;
}

.js .scrub:not(.is-static) .scrub__poster,
.js .scrub:not(.is-static) .scrub__video { display: block; }
.js .scrub:not(.is-static) .scrub__still { display: none; }

.js .scrub:not(.is-static) .scrub__video {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.js .scrub.is-ready .scrub__video {
  opacity: 1;
}

/* Scrims de Legibilidade Suaves e Cinematográficos */
.js .scrub:not(.is-static) .scrub__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 6, 9, 0.88) 0%, rgba(7, 6, 9, 0.15) 32%, rgba(7, 6, 9, 0.15) 68%, rgba(7, 6, 9, 0.88) 100%),
    linear-gradient(0deg, rgba(7, 6, 9, 0.92) 0%, rgba(7, 6, 9, 0) 30%),
    linear-gradient(180deg, rgba(7, 6, 9, 0.75) 0%, rgba(7, 6, 9, 0) 22%);
}

.js .scrub:not(.is-static) .scrub__beats {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
  margin: 0;
  pointer-events: none;
}

.js .scrub:not(.is-static) .beat {
  position: absolute;
  max-width: min(32vw, 30rem);
  padding: 1.5rem 1.8rem;
  border-radius: var(--radius-md);
  background: rgba(14, 12, 18, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  opacity: 0;
  will-change: opacity, transform;
}

.js .scrub:not(.is-static) .beat--1 {
  left: var(--pad);
  top: 50%;
  translate: 0 -50%;
}

.js .scrub:not(.is-static) .beat--2 {
  right: var(--pad);
  top: 50%;
  translate: 0 -50%;
  text-align: right;
}

.js .scrub:not(.is-static) .beat--3 {
  left: var(--pad);
  top: 50%;
  translate: 0 -50%;
}

.js .scrub:not(.is-static) .beat--4 {
  left: 50%;
  bottom: clamp(3rem, 8vh, 6rem);
  translate: -50% 0;
  max-width: min(92vw, 48rem);
  text-align: center;
  pointer-events: auto;
}

.js .scrub:not(.is-static) .beat__title {
  font-size: clamp(1.8rem, 1.1rem + 2.2vw, 3.2rem);
  line-height: 1;
  text-shadow: 0 2px 25px rgba(0, 0, 0, 0.8);
}

.js .scrub:not(.is-static) .beat--4 .beat__title {
  font-size: clamp(2.2rem, 1.2rem + 3.8vw, 4.6rem);
}

.js .scrub:not(.is-static) .beat__desc {
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.15rem);
  color: var(--text);
  opacity: 0.9;
}

.beat__cta {
  display: inline-flex;
  margin-top: 0.8rem;
}

.js .scrub:not(.is-static) .scrub__note {
  position: absolute;
  z-index: 5;
  right: var(--pad);
  top: clamp(1.4rem, 3.2vw, 2.4rem);
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--dim);
}

.js .scrub:not(.is-static) .scrub__bar {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.scrub__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--neon-g), var(--neon-p));
  transform-origin: 0 50%;
  transform: scaleX(0);
  box-shadow: 0 0 14px var(--neon-g);
}

/* Telas verticais e celular para a seção de vídeo */
@media (max-aspect-ratio: 3/2) {
  .js .scrub:not(.is-static) { height: 380vh; }
  .js .scrub:not(.is-static) .scrub__media { background: var(--ink); }
  .js .scrub:not(.is-static) .scrub__media img,
  .js .scrub:not(.is-static) .scrub__media video {
    inset: auto;
    left: 50%;
    top: 40%;
    width: auto;
    height: min(120vw, 54svh);
    aspect-ratio: 16 / 9;
    max-width: none;
    translate: -50% -50%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 15%, #000 82%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 15%, #000 82%, transparent 100%);
  }

  .js .scrub:not(.is-static) .beat,
  .js .scrub:not(.is-static) .beat--1,
  .js .scrub:not(.is-static) .beat--2,
  .js .scrub:not(.is-static) .beat--3,
  .js .scrub:not(.is-static) .beat--4 {
    left: var(--pad);
    right: var(--pad);
    top: auto;
    bottom: calc(clamp(1.5rem, 5svh, 3rem) + env(safe-area-inset-bottom, 0px));
    max-width: none;
    translate: none;
    text-align: left;
    padding: 1.25rem 1.4rem;
  }

  .js .scrub:not(.is-static) .beat__title,
  .js .scrub:not(.is-static) .beat--4 .beat__title {
    font-size: clamp(1.5rem, 1rem + 2.8vw, 2.5rem);
    white-space: normal;
  }

  .js .scrub:not(.is-static) .scrub__note {
    top: auto;
    right: auto;
    left: var(--pad);
    bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
    font-size: 0.68rem;
  }
}

/* ==========================================================================
   Seção 2: Evidência Real de Personalização
   - A foto do copo tratada como UMA amostra real do acabamento da loja.
   - Linguagem ampla de presentes criativos e identidade sob medida.
   ========================================================================== */

.detail {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8.5rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(6rem, 12vw, 11rem) var(--pad);
  isolation: isolate;
}

.detail__glow {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 36rem 28rem at 25% 50%, rgba(124, 255, 79, 0.12), rgba(124, 255, 79, 0) 70%);
  will-change: transform;
}

.detail__photo {
  justify-self: center;
  width: min(100%, 420px);
  margin: 0;
  will-change: transform;
}

.detail__frame {
  position: relative;
  aspect-ratio: 408 / 725;
  border-radius: var(--radius-sm);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 95px -10px rgba(124, 255, 79, 0.35),
    20px -20px 0 -2px var(--neon-p);
  transition: transform 0.4s var(--ease-cinematic);
}

.detail__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* Pins Visuais */
.pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--neon-g);
  border: 2px solid var(--neon-g);
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 0 0 4px rgba(7, 6, 9, 0.6), 0 0 20px var(--neon-g);
  cursor: default;
  transition: transform 0.25s var(--ease-cinematic), background-color 0.2s ease;
}

.pin:hover {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--neon-g);
  color: var(--ink);
}

.detail__photo figcaption {
  margin-top: 1.8rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}

.detail__lead {
  max-width: 38rem;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.25rem);
}

.layers {
  margin: 2.8rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink-border);
}

.layers li {
  display: grid;
  grid-template-columns: 2.8rem minmax(8rem, 12rem) 1fr;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--ink-border);
  transition: background-color 0.2s ease;
}

.layers li:hover {
  background: rgba(255, 255, 255, 0.02);
}

.layers__n {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--neon-g);
}

.layers__t {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 85%;
  font-size: clamp(1.3rem, 1rem + 0.8vw, 1.7rem);
  line-height: 1;
}

.layers__d {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

/* ==========================================================================
   Seção 3: Como Pedir (Bloco Editorial Contrastante)
   - Transição refinada para um fundo quente e claro (efeito editorial).
   ========================================================================== */

.howto {
  background: var(--paper);
  color: var(--paper-ink);
  padding: clamp(6rem, 12vw, 10.5rem) var(--pad);
  position: relative;
}

.howto__head,
.steps {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.howto__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  column-gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}

.howto__head .eyebrow { grid-column: 1 / -1; }
.howto__head .section-title { max-width: 17ch; }

.howto__lead {
  max-width: 34rem;
  margin: 0;
  color: var(--paper-muted);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.6;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--paper-ink);
}

.steps li {
  padding: 2.2rem clamp(1.2rem, 2.5vw, 2.8rem) 0 0;
}

.steps li + li {
  padding-left: clamp(1.2rem, 2.5vw, 2.8rem);
  border-left: 1px solid rgba(16, 14, 20, 0.16);
}

.steps__n {
  font-family: var(--f-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--pink-ink);
}

.steps h3 {
  margin: 0.9rem 0 0.6rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 85%;
  font-size: clamp(1.45rem, 1.15rem + 1vw, 2.15rem);
  line-height: 1.05;
}

.steps p {
  margin: 0;
  color: var(--paper-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.steps a {
  color: var(--paper-ink);
  font-weight: 700;
  text-decoration-color: var(--pink-ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.steps a:focus-visible { outline-color: var(--pink-ink); }

/* ==========================================================================
   Seção 4: Contato (Clímax Cinematográfico)
   - Tipografia gigante, telefone de alta conversão, endereço seguro.
   ========================================================================== */

.contact {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(6rem, 13vw, 12rem) var(--pad);
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  column-gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
}

.contact > .eyebrow,
.contact__title,
.contact__phone {
  grid-column: 1 / -1;
}

.contact__cta { grid-column: 1; }
.contact__address { grid-column: 2; }

.contact__glow {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 38rem 24rem at 28% 55%, rgba(124, 255, 79, 0.14), rgba(124, 255, 79, 0) 70%),
    radial-gradient(ellipse 36rem 26rem at 78% 35%, rgba(255, 61, 165, 0.18), rgba(255, 61, 165, 0) 70%);
  will-change: transform;
}

.contact__title {
  max-width: 24ch;
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 80%;
  font-size: clamp(2.3rem, 1.4rem + 3.2vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.contact__title em {
  color: var(--neon-p);
  text-shadow: 0 0 35px rgba(255, 61, 165, 0.4);
}

.contact__phone {
  display: inline-block;
  margin: clamp(2.2rem, 5.5vw, 4rem) 0 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 75%;
  font-size: clamp(2.8rem, 1.2rem + 8.8vw, 9.8rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--neon-g);
  text-shadow: 0 0 70px rgba(124, 255, 79, 0.38);
  white-space: nowrap;
  transition: color 0.25s ease, transform 0.25s var(--ease-cinematic);
}

.contact__phone:hover {
  color: #bffff0;
  transform: translateX(4px);
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: clamp(2.2rem, 4.5vw, 3.5rem);
}

.contact__hint {
  margin: 1.2rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
  max-width: 32rem;
  line-height: 1.5;
}

.contact__address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 28rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 1.8rem;
  border-top: 1px solid var(--ink-border);
  font-style: normal;
  font-size: 1.15rem;
  line-height: 1.6;
}

.contact__label {
  margin-bottom: 0.6rem;
  font-family: var(--f-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon-p);
}

/* ==========================================================================
   Rodapé
   ========================================================================== */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.4rem var(--pad) calc(2.4rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--ink-border);
  font-size: 0.92rem;
  color: var(--muted);
}

.site-footer__brand {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text);
}

.site-footer a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--neon-g);
}

/* ==========================================================================
   Responsividade Cuidadosa
   ========================================================================== */

@media (max-width: 980px) {
  .contact,
  .howto__head {
    grid-template-columns: 1fr;
  }
  .contact__cta,
  .contact__address {
    grid-column: 1;
  }
  .howto__lead {
    margin-top: 1.6rem;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 3.5rem;
  }
  .hero__photo {
    width: min(80%, 340px);
  }
  .detail {
    grid-template-columns: 1fr;
  }
  .detail__photo {
    width: min(88%, 380px);
  }
  .scrub__beats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 740px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .steps li,
  .steps li + li {
    padding: 1.6rem 0;
    border-left: 0;
    border-bottom: 1px solid rgba(16, 14, 20, 0.16);
  }
  .layers li {
    grid-template-columns: 2.4rem 1fr;
  }
  .layers__d {
    grid-column: 2;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .scrub__beats {
    grid-template-columns: 1fr;
  }
  .hero__actions .btn,
  .contact__actions .btn {
    width: 100%;
  }
  .brand__tag {
    letter-spacing: 0.22em;
  }
}

/* ==========================================================================
   Acessibilidade: Prefers-Reduced-Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
  .btn:hover,
  .pin:hover,
  .hero__photo:hover .hero__frame {
    transform: none !important;
  }
  .reveal-text,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
