
/* ========================================
   EU SOU SABRINA — DESIGN RESPONSIVO
   Desktop, tablets e celulares
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  overflow: hidden;
}

body {
  background-color: #e6e2da;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

/* ========================================
   IMAGEM DE FUNDO
   ======================================== */

.bg-room {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
}

/* ========================================
   PAINEL DE VIDRO — DESKTOP / PC
   ======================================== */

.glass-panel {
  position: relative;
  z-index: 2;
  width: min(90vw, 760px);
  height: min(88dvh, 750px);
  flex-shrink: 0;
  border-radius: 48px 0 0 0;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.12) 55%,
    rgba(80, 80, 80, 0.28) 100%
  );

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-top: 1px solid rgba(255, 255, 255, 0.75);
  border-left: 1px solid rgba(255, 255, 255, 0.75);
  border-right: 1px solid rgba(255, 255, 255, 0.25);

  box-shadow: -16px 20px 50px rgba(0, 0, 0, 0.12);

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;

  padding: 32px 28px 48px;
  overflow: hidden;

  animation: fadeIn 1s ease-out;
}

/* ========================================
   FOTOGRAFIA DA SABRINA
   ======================================== */

.portrait {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 96%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  z-index: 1;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.16));
  pointer-events: none;
}

/* ========================================
   DEGRADÊ DE PROTEÇÃO DO TEXTO
   ======================================== */

.glass-shadow {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 42%,
    rgba(30, 30, 34, 0.5) 70%,
    rgba(20, 20, 24, 0.85) 100%
  );

  z-index: 2;
  pointer-events: none;
}

/* ========================================
   CONTEÚDO — TEXTOS
   ======================================== */

.content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 680px;
}

h1 {
  font-size: clamp(1.55rem, 3.3vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 1.1rem;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.38);
}

.subtitle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: clamp(0.75rem, 1.5vw, 0.92rem);
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  min-width: 7px;
  background-color: #f3eadf;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  animation: pulseAnim 2.2s infinite;
}

/* ========================================
   ASSINATURA
   ======================================== */

.watermark {
  position: fixed;
  bottom: 22px;
  right: 32px;
  z-index: 3;
  font-size: 0.9rem;
  line-height: 1.12;
  color: rgba(55, 55, 55, 0.55);
  text-align: right;
  font-weight: 500;
  pointer-events: none;
}

/* ========================================
   ANIMAÇÕES
   ======================================== */

@keyframes pulseAnim {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   CELULARES E TABLETS — ATÉ 768px
   ======================================== */

@media screen and (max-width: 768px) {

  .glass-panel {
    width: 94vw;
    height: 86dvh;
    border-radius: 32px 0 0 0;
    padding: 20px 16px calc(32px + env(safe-area-inset-bottom));
  }

  .portrait {
    width: auto;
    height: 88%;
    max-width: 115%;
    object-fit: contain;
    object-position: center bottom;
  }

  .glass-shadow {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 38%,
      rgba(25, 25, 28, 0.65) 68%,
      rgba(15, 15, 18, 0.92) 100%
    );
  }

  h1 {
    font-size: clamp(1.35rem, 5.6vw, 1.95rem);
    line-height: 1.22;
    margin-bottom: 0.85rem;
  }

  .subtitle {
    font-size: clamp(0.66rem, 2.8vw, 0.82rem);
    letter-spacing: 0.08em;
  }

  .watermark {
    display: none;
  }
}

/* ========================================
   CELULARES MUITO ESTREITOS — ATÉ 375px
   ======================================== */

@media screen and (max-width: 375px) {

  h1 {
    font-size: 1.25rem;
  }

  .subtitle {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }
}

/* ========================================
   CELULAR DEITADO / TELAS MUITO BAIXAS
   ======================================== */

@media screen and (max-height: 550px) {

  .glass-panel {
    width: 88vw;
    height: 94dvh;
    padding: 16px 24px 18px;
  }

  .portrait {
    width: auto;
    height: 94%;
    object-fit: contain;
    object-position: center bottom;
  }

  h1 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
  }

  .subtitle {
    font-size: 0.7rem;
  }

  .watermark {
    display: none;
  }
}

/* ========================================
   AJUSTE EXCLUSIVO — CELULARES
   ======================================== */

@media screen and (max-width: 768px) {

  html,
  body {
    width: 100%;
    min-height: 100%;
  }

  /* Fundo: mostra a imagem inteira no celular */
  .bg-room {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    object-fit: fill;
    object-position: center center;
  }

  .glass-panel {
    width: 94vw;
    height: 86dvh;
  }

  .portrait {
    height: 75%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center bottom;
  }
}
