/* Importing Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --text-dark: #2A2E2C;
  --bg-color: #FDFBF7;
  --font-inter: 'Inter', sans-serif;
  --font-playfair: 'Playfair Display', serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-dark);
  font-family: var(--font-inter);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stagger-2 { animation-delay: 1.5s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Single Screen Mobile-Safe Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh; /* O Segredo! Considera a barra de endereço dinâmica do Safari e Chrome Mobile */
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  background-image: url('./hero_bg.png');
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(253,251,247,0.6) 0%, rgba(253,251,247,0.95) 100%);
  z-index: 1;
}

/* Central Content */
.hero-content {
  position: relative;
  z-index: 2;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  width: 100%;
}

.hero h1 {
  font-family: var(--font-playfair);
  font-size: 5rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.hero p.subtitle {
  font-size: 1.1rem;
  color: var(--text-dark);
  letter-spacing: 0.2em;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.hero p.catchphrase {
  font-family: var(--font-playfair);
  font-size: 2rem;
  font-style: italic;
  color: var(--text-dark);
  opacity: 0.85;
}

/* Chat Pointer */
.chat-pointer {
  position: absolute;
  bottom: 120px;
  right: 35px;
  z-index: 3;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.05em;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.chat-pointer .arrow {
  margin-top: 5px;
  font-size: 1.8rem;
  animation: bounceDiagonal 2s infinite;
  display: inline-block;
}

@keyframes bounceDiagonal {
  0%, 20%, 50%, 80%, 100% { transform: translate(0, 0); }
  40% { transform: translate(5px, 5px); }
  60% { transform: translate(2px, 2px); }
}

/* Minimal Footer */
.footer-minimal {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 20px 25px 40px 25px; /* Adicionado espaço extra em baixo para telas com entalhe */
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 0.8rem;
  color: var(--text-dark);
}

.footer-info {
  text-align: left;
  opacity: 0.6;
}

.footer-info p.site {
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
}

.human-error {
  cursor: help;
  transition: color 0.3s;
}
.human-error:hover {
  color: #000;
}

.easter-egg-1 {
  font-style: italic;
  opacity: 0.15;
  transition: opacity 0.5s;
  cursor: default;
}
.easter-egg-1:hover {
  opacity: 0.6;
}

.micro-text {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  opacity: 0.15;
  user-select: none;
}

/* Media Queries (Correção Mobile) */
@media (max-width: 768px) {
  .hero h1 { font-size: 3rem; }
  .hero p.catchphrase { font-size: 1.5rem; }
  /* Eleva a setinha para não sobrepor o botão que nos celulares muda bastante */
  .chat-pointer { bottom: 130px; right: 15px; font-size: 0.85rem; }
  /* O footer empilha de forma organizada */
  .footer-minimal { flex-direction: column; align-items: center; text-align: center; gap: 15px; padding-bottom: 50px; }
  .footer-info { text-align: center; }
  .easter-egg-1 { display: none; }
}
