@charset "UTF-8";

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

html, body {
  height: 100%;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  background: #d2673a;
  color: white;
  overflow-x: hidden;
}

/* Intro */
.intro {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #d2673a;
  position: relative;
}

.intro img {
  width: 40%;
  max-width: 500px;
}

.scroll-down {
  position: absolute;
  bottom: 40px;
  font-size: 14px;
  opacity: 0.7;
}

/* Seções */
.section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 20px;
  text-align: center;
}

/* Frases */
#frases {
  background: #6a5852;
}

.phrase {
  opacity: 0;
  font-size: 3vw;
  white-space: nowrap;
  border-right: 2px solid white;
  overflow: hidden;
  max-width: 90%;
}

.phrase.visible {
  opacity: 1;
  animation: blink-caret 0.75s step-end infinite;
}

.phrase.visible-static {
  opacity: 1;
  border-right: none;
}

.phrase.fade-out {
  animation: fadeOut 0.4s ease forwards;
}

@keyframes blink-caret {
  50% { border-color: transparent; }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* Formulário */
#contato {
  background: #1a1a1a;
  color: white;
}

.form-container {
  max-width: 600px;
  width: 90%;
  text-align: center;
}

.form-container h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, textarea {
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  background-color: #333;
  color: white;
}

input::placeholder,
textarea::placeholder {
  color: #aaa;
}

button {
  background-color: #d2673a;
  color: white;
  font-weight: 600;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #b9552f;
}

/* Mensagem de status */
.mensagem {
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.mensagem.sucesso {
  color: #00e676;
}

.mensagem.erro {
  color: #ff5252;
}

.mensagem.aguardando {
  color: #ffa726;
}
