/* Tela de pré-inauguração da Loja do Preto — isolada do layout da loja. */
:root {
  --launch-bg: #080907;
  --launch-panel: #131510;
  --launch-lime: #b7ef00;
  --launch-text: #f7f8f2;
  --launch-muted: #a9ada1;
}

body.launch-locked {
  overflow: hidden !important;
  background: var(--launch-bg) !important;
}

body.launch-locked #app,
body.launch-locked #modal,
body.launch-locked #toast {
  visibility: hidden !important;
}

#launch-screen {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  isolation: isolate;
  color: var(--launch-text);
  background:
    radial-gradient(ellipse at 76% 24%, rgba(183, 239, 0, .12), transparent 34%),
    radial-gradient(ellipse at 8% 88%, rgba(183, 239, 0, .07), transparent 30%),
    var(--launch-bg);
  opacity: 1;
  transition: opacity .82s cubic-bezier(.22, 1, .36, 1), visibility .82s;
  scrollbar-width: thin;
  scrollbar-color: rgba(183, 239, 0, .4) transparent;
}

#launch-screen[hidden],
#launch-screen [hidden] {
  display: none !important;
}

#launch-screen::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 94%);
  content: "";
}

#launch-screen::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(8, 9, 7, .45), transparent 48%, rgba(8, 9, 7, .24));
  content: "";
}

.launch-shell {
  box-sizing: border-box;
  width: min(100%, 1512px);
  min-height: 100%;
  margin: 0 auto;
  padding: clamp(22px, 3.2vw, 48px) clamp(20px, 5.2vw, 78px) 24px;
  display: flex;
  flex-direction: column;
}

.launch-header,
.launch-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.launch-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.launch-brand img {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  object-fit: cover;
  background: #050505;
  box-shadow: 0 0 0 5px rgba(255,255,255,.025);
}

.launch-brand-copy { display: grid; gap: 3px; }
.launch-brand-name {
  font-family: Manrope, "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .075em;
}
.launch-brand-tagline {
  color: var(--launch-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .035em;
}

.launch-header-badge,
.launch-date-pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(183, 239, 0, .24);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(183, 239, 0, .065);
  color: #e6f4bf;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.launch-live-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--launch-lime);
  box-shadow: 0 0 12px rgba(183, 239, 0, .65);
}
.launch-live-dot::after {
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(183, 239, 0, .55);
  border-radius: 50%;
  animation: launch-pulse 2s ease-out infinite;
  content: "";
}

.launch-content {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, .94fr);
  align-items: center;
  gap: clamp(42px, 6.5vw, 100px);
  flex: 1 0 auto;
  padding: clamp(46px, 7vh, 88px) 0 clamp(38px, 6vh, 72px);
  transition: opacity .45s ease, transform .65s cubic-bezier(.22, 1, .36, 1), filter .5s ease;
}

.launch-copy { min-width: 0; max-width: 720px; }
.launch-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 25px;
  color: #d2d8c8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.5;
  text-transform: uppercase;
}
.launch-eyebrow-mark {
  width: 25px;
  height: 2px;
  display: inline-block;
  background: var(--launch-lime);
  box-shadow: 0 0 12px rgba(183, 239, 0, .45);
}

.launch-headline {
  margin: 0;
  max-width: 760px;
  font-family: Manrope, "DM Sans", sans-serif;
  font-size: clamp(3.15rem, 5.7vw, 5.85rem);
  font-weight: 800;
  letter-spacing: -.078em;
  line-height: .98;
  text-wrap: balance;
}
.launch-headline .launch-accent {
  display: block;
  color: var(--launch-lime);
}
.launch-description {
  max-width: 490px;
  margin: 23px 0 26px;
  color: #b8bcb2;
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.8;
  text-wrap: pretty;
}

.launch-date-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 14px;
}
.launch-date-pill {
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.045);
  color: #f2f4eb;
  letter-spacing: .09em;
  padding: 9px 12px;
}
.launch-date-pill svg { color: var(--launch-lime); flex: 0 0 auto; }
.launch-timezone { color: #83897b; font-size: 11px; font-weight: 600; }

.launch-countdown-label {
  margin: 0 0 10px;
  color: #9fa597;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.launch-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  width: min(100%, 465px);
}
.launch-time-unit {
  box-sizing: border-box;
  min-width: 0;
  padding: 15px 10px 13px;
  border: 1px solid rgba(255,255,255,.095);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 9px 30px rgba(0,0,0,.1);
  text-align: center;
  backdrop-filter: blur(10px);
}
.launch-time-value {
  display: block;
  color: #fff;
  font-family: Manrope, "DM Sans", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.055em;
  line-height: 1.12;
  font-feature-settings: "tnum";
}
.launch-time-name {
  display: block;
  margin-top: 7px;
  color: #8c9384;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.launch-actions { margin-top: 22px; }
.launch-instagram-button {
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  min-height: 51px;
  padding: 0 20px;
  border: 1px solid var(--launch-lime);
  border-radius: 13px;
  background: var(--launch-lime);
  color: #15190b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .01em;
  text-decoration: none;
  box-shadow: 0 9px 26px rgba(183, 239, 0, .13);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.launch-instagram-button:hover { transform: translateY(-2px); box-shadow: 0 13px 32px rgba(183,239,0,.21); background: #c7ff13; }
.launch-instagram-button:focus-visible,
.launch-enter-button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.launch-social-note {
  margin: 11px 0 0;
  color: #777e70;
  font-size: 11px;
  line-height: 1.5;
}

.launch-visual {
  position: relative;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
  box-shadow: 0 34px 90px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.08);
  transform: rotate(1.15deg);
  animation: launch-float 7s ease-in-out infinite;
}
.launch-visual::before {
  position: absolute;
  z-index: -1;
  inset: 10% -8% -6% 8%;
  border-radius: 32px;
  background: rgba(183,239,0,.11);
  filter: blur(38px);
  content: "";
}
.launch-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 19px;
  aspect-ratio: 1.13 / 1;
  background: #f8cd45;
}
.launch-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.launch-image-wrap::after {
  position: absolute;
  inset: 35% 0 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.54));
  content: "";
}
.launch-image-caption {
  position: absolute;
  right: 17px;
  bottom: 17px;
  left: 17px;
  z-index: 1;
  color: #fff;
  font-family: Manrope, "DM Sans", sans-serif;
  font-size: clamp(1.15rem, 2.1vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.launch-image-caption span { display: block; color: #e8ff9e; }
.launch-visual-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 17px 4px 1px;
}
.launch-visual-meta strong {
  display: block;
  color: #f5f6f1;
  font-family: Manrope, "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.launch-visual-meta small { display: block; margin-top: 5px; color: #858b7d; font-size: 10px; }
.launch-visual-stamp {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 1px solid rgba(183,239,0,.35);
  border-radius: 50%;
  background: rgba(183,239,0,.07);
  color: var(--launch-lime);
}

.launch-footer {
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.09);
  color: #757c6d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.5;
  text-transform: uppercase;
  transition: opacity .4s ease;
}
.launch-footer-right { display: inline-flex; gap: 9px; align-items: center; }
.launch-footer-mark { color: var(--launch-lime); }

/* Boas-vindas que aparece no instante da abertura, antes de liberar a loja. */
.launch-welcome {
  position: fixed;
  inset: 0;
  z-index: 10;
  box-sizing: border-box;
  display: grid;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  padding: 28px 22px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(183,239,0,.16), transparent 40%),
    rgba(8,9,7,.985);
}
.launch-welcome::before {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(183,239,0,.16);
  border-radius: 24px;
  pointer-events: none;
  content: "";
}
.launch-welcome-content {
  position: relative;
  width: min(100%, 720px);
  animation: launch-welcome-in .75s cubic-bezier(.16,1,.3,1) both;
}
.launch-welcome-symbol {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin: 0 auto 28px;
  border: 1px solid rgba(183,239,0,.5);
  border-radius: 28px;
  background: rgba(183,239,0,.09);
  color: var(--launch-lime);
  box-shadow: 0 0 0 10px rgba(183,239,0,.035), 0 0 60px rgba(183,239,0,.12);
  transform: rotate(-5deg);
}
.launch-welcome-kicker {
  margin: 0 0 15px;
  color: var(--launch-lime);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.launch-welcome-title {
  margin: 0;
  font-family: Manrope, "DM Sans", sans-serif;
  font-size: clamp(2.7rem, 7vw, 5.7rem);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .98;
  text-wrap: balance;
}
.launch-welcome-title span { display: block; color: var(--launch-lime); }
.launch-welcome-text {
  margin: 19px auto 25px;
  color: #b7bdb0;
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.7;
}
.launch-enter-button {
  min-height: 45px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  background: rgba(255,255,255,.055);
  color: #f6f8ef;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: background .2s ease, border-color .2s ease;
}
.launch-enter-button:hover { border-color: rgba(183,239,0,.65); background: rgba(183,239,0,.09); }
.launch-welcome-progress {
  width: min(190px, 52vw);
  height: 3px;
  margin: 30px auto 0;
  overflow: hidden;
  border-radius: 100px;
  background: rgba(255,255,255,.1);
}
.launch-welcome-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--launch-lime);
  transform: scaleX(0);
  transform-origin: left center;
  animation: launch-progress 3.1s linear forwards;
}
.launch-welcome-note { margin: 10px 0 0; color: #697061; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.launch-confetti {
  position: fixed;
  top: -14px;
  z-index: 12;
  width: 8px;
  height: 13px;
  border-radius: 2px;
  pointer-events: none;
  animation: launch-confetti-fall var(--fall-duration, 2.2s) cubic-bezier(.22,.61,.36,1) forwards;
}

#launch-screen.is-leaving { opacity: 0; pointer-events: none; }
#launch-screen.is-leaving .launch-welcome { opacity: 0; transition: opacity .3s ease; }
#launch-screen.is-leaving .launch-content,
#launch-screen.is-leaving .launch-header,
#launch-screen.is-leaving .launch-footer { opacity: 0; }

@keyframes launch-pulse {
  0% { transform: scale(.7); opacity: .9; }
  100% { transform: scale(1.9); opacity: 0; }
}
@keyframes launch-float {
  0%, 100% { transform: translateY(0) rotate(1.15deg); }
  50% { transform: translateY(-9px) rotate(.45deg); }
}
@keyframes launch-welcome-in {
  0% { opacity: 0; transform: translateY(24px) scale(.97); filter: blur(5px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes launch-progress { to { transform: scaleX(1); } }
@keyframes launch-confetti-fall {
  0% { transform: translate3d(0, -20px, 0) rotate(0); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translate3d(var(--drift, 18px), 105vh, 0) rotate(var(--rotation, 540deg)); opacity: 0; }
}

@media (max-width: 1040px) {
  .launch-shell { padding-right: clamp(24px, 4vw, 42px); padding-left: clamp(24px, 4vw, 42px); }
  .launch-content { grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr); gap: clamp(28px, 4vw, 54px); }
  .launch-headline { font-size: clamp(3rem, 6.1vw, 4.8rem); }
  .launch-visual { padding: 12px; border-radius: 24px; }
  .launch-image-wrap { border-radius: 15px; }
}

@media (max-width: 760px) {
  .launch-shell { padding: 19px 20px 18px; }
  .launch-header { gap: 10px; }
  .launch-brand { gap: 9px; }
  .launch-brand img { width: 41px; height: 41px; flex-basis: 41px; }
  .launch-brand-name { font-size: 12px; }
  .launch-brand-tagline { font-size: 9px; }
  .launch-header-badge { padding: 9px 10px; gap: 7px; font-size: 8px; letter-spacing: .08em; }
  .launch-content { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 47px 0 34px; }
  .launch-copy { max-width: 620px; }
  .launch-eyebrow { margin-bottom: 20px; font-size: 9px; letter-spacing: .15em; }
  .launch-headline { max-width: 620px; font-size: clamp(3.1rem, 10.7vw, 4.7rem); line-height: .98; }
  .launch-description { margin: 18px 0 22px; max-width: 590px; font-size: 14px; line-height: 1.7; }
  .launch-date-row { gap: 8px; }
  .launch-date-pill { font-size: 9px; padding: 9px 10px; }
  .launch-timezone { font-size: 10px; }
  .launch-countdown { gap: 7px; width: 100%; }
  .launch-time-unit { padding: 13px 6px 11px; border-radius: 13px; }
  .launch-time-value { font-size: clamp(1.65rem, 7.7vw, 2.3rem); }
  .launch-time-name { margin-top: 6px; font-size: 8px; letter-spacing: .08em; }
  .launch-actions { margin-top: 19px; }
  .launch-instagram-button { min-height: 49px; }
  .launch-social-note { max-width: 360px; font-size: 10px; }
  .launch-visual { width: min(100% - 6px, 540px); justify-self: center; padding: 10px; border-radius: 22px; transform: none; animation: none; }
  .launch-image-wrap { aspect-ratio: 1.35 / 1; border-radius: 14px; }
  .launch-image-caption { right: 13px; bottom: 13px; left: 13px; font-size: clamp(1.25rem, 5.5vw, 1.9rem); }
  .launch-visual-meta { padding: 13px 3px 1px; }
  .launch-visual-stamp { width: 43px; height: 43px; flex-basis: 43px; }
  .launch-footer { padding-top: 15px; gap: 12px; font-size: 8px; letter-spacing: .045em; }
  .launch-footer-right { gap: 6px; }
}

@media (max-width: 420px) {
  .launch-shell { padding-right: 16px; padding-left: 16px; }
  .launch-brand-tagline { max-width: 155px; }
  .launch-header-badge { font-size: 7px; padding: 8px 8px; }
  .launch-headline { font-size: clamp(2.8rem, 10.6vw, 3.65rem); }
  .launch-countdown { gap: 6px; }
  .launch-time-unit { padding: 12px 3px 10px; }
  .launch-time-value { font-size: clamp(1.45rem, 7.4vw, 1.85rem); }
  .launch-time-name { font-size: 7px; letter-spacing: .06em; }
  .launch-footer { align-items: flex-start; }
  .launch-footer-right { white-space: nowrap; }
  .launch-welcome::before { inset: 12px; border-radius: 17px; }
  .launch-welcome-symbol { width: 70px; height: 70px; border-radius: 23px; margin-bottom: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  #launch-screen,
  .launch-content,
  .launch-footer,
  .launch-instagram-button,
  .launch-welcome-content,
  .launch-welcome-progress span,
  .launch-confetti,
  .launch-visual,
  .launch-live-dot::after {
    animation: none !important;
    transition: none !important;
  }
  .launch-welcome-progress span { transform: scaleX(1); }
}
