/* ============================================
   Crystal - Variáveis do Sistema de Cores
   ============================================ */

:root {
  --crystal-preto: #0d0d0d;
  --crystal-branco: #f8fbfd;
  --crystal-vermelho: #8b0000;
  --crystal-marrom: #2c1810;
  --crystal-branco-90: rgba(248, 251, 253, 0.9);
  --crystal-branco-70: rgba(248, 251, 253, 0.7);
  --crystal-branco-60: rgba(248, 251, 253, 0.6);
  --crystal-preto-80: rgba(13, 13, 13, 0.8);
  --crystal-marrom-50: rgba(44, 24, 16, 0.5);
}

/* ============================================
   Reset / Base
   ============================================ */

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

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Work Sans', sans-serif;
  background-color: var(--crystal-preto);
  color: var(--crystal-branco);
}

/* ============================================
   Fontes
   ============================================ */

/* Relativo ao arquivo style.css (na raiz = public_html/style.css → public_html/assets/fonts/...) */
@font-face {
  font-family: 'August Stories';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/otf/august-stories-august-stories-script-400.otf') format('opentype'),
       url('assets/fonts/ttf/august-stories-august-stories-script-400.ttf') format('truetype');
}

/* ============================================
   Background fixo
   ============================================ */

.bg-container {
  position: fixed;
  inset: 0;
  z-index: -10;
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.bg-container.bg-visible {
  opacity: 1;
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--crystal-preto-80);
}

/* ============================================
   Intro overlay
   ============================================ */

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--crystal-preto);
  transition: opacity 0.4s ease-out;
}

.intro-overlay.intro-fade-out {
  opacity: 0;
  pointer-events: none;
}

.logo-intro {
  width: auto;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              opacity  0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
  .logo-intro {
    height: 128px;
  }
}

.logo-intro.logo-move-up {
  transform: translateY(-60vh);
  opacity: 0;
}

/* ============================================
   Main content
   ============================================ */

.main-content {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-out;
}

.main-content.content-visible {
  opacity: 1;
  visibility: visible;
}

.logo-final {
  margin-bottom: 3rem;
}

.logo-img {
  width: auto;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

@media (min-width: 768px) {
  .logo-img {
    height: 128px;
  }
}

.content-text {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.content-text > * + * {
  margin-top: 2rem;
}

.title-main {
  font-family: 'August Stories', cursive;
  font-size: 3rem;
  font-weight: 400;
  color: var(--crystal-branco);
  letter-spacing: 0.05em;
  margin: 0;
}
.instagram-text{
  font-size: 1.3rem;
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  font-style: italic;
  color: var(--crystal-vermelho);
  letter-spacing: 0.05em;
  margin: 0;
}

@media (min-width: 768px) {
  .title-main {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .title-main {
    font-size: 6rem;
  }
}

.divider {
  width: 6rem;
  height: 2px;
  background-color: var(--crystal-marrom);
  margin: 0 auto;
  margin-bottom:5rem;
}

.text-main {
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--crystal-branco-90);
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 768px) {
  .text-main {
    font-size: 1.25rem;
  }
}

.text-accent {
  color: var(--crystal-vermelho);
  font-weight: 500;
}

.text-secondary {
  font-size: 1rem;
  color: var(--crystal-branco-70);
  margin: 0;
}

a.instagram-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  vertical-align: baseline;
  white-space: nowrap;
  text-decoration: none;
  color: inherit;
}

a.instagram-with-icon:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a.instagram-with-icon .fa-instagram {
  font-size: 1.1em;
  color: var(--crystal-vermelho);
}


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

.footer {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--crystal-marrom-50);
  width: 100%;
  max-width: 28rem;
}

.footer p {
  font-size: 0.875rem;
  color: var(--crystal-branco-60);
  text-align: center;
  margin: 0;
}

.footer-link {
  color: var(--crystal-vermelho);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--crystal-branco);
}
