:root {
  --background-color: #000;
  --text-color: #fff;
  --accent-color: #00afa0;
}

.light-theme {
  --background-color: #fff;
  --text-color: #111;
}

.dark-theme {
  --background-color: #000;
  --text-color: #fff;
}


body {
  margin: 0;
  background: var(--background-color);
  color: var(--text-color);
  font-family: 'Space Grotesk', sans-serif;
  display: block;
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent-color);
  color: #fff;
  padding: 0.5em;
  text-decoration: none;
  transition: left 0.3s;
}
.skip-link:focus {
  left: 0;
}

.theme-toggle {
  position: fixed;
  top: 1em;
  right: 1em;
  background: var(--accent-color);
  color: #fff;
  border: none;
  padding: 0.5em 1em;
  cursor: pointer;
}

.back-to-top {
  display: none;
  position: fixed;
  bottom: 1em;
  right: 1em;
  background: var(--accent-color);
  color: #fff;
  border: none;
  padding: 0.5em 1em;
  cursor: pointer;
}

.servicos ul {
  list-style: none;
  padding: 0;
  line-height: 1.6;
}
.servicos li::before {
  content: "→ ";
  color: var(--accent-color);
}

.tooltip {
  position: relative;
}
.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  background: var(--accent-color);
  color: #fff;
  padding: 0.3em 0.5em;
  border-radius: 4px;
  top: -1.8em;
  left: 0;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  font-size: 0.8em;
}
.tooltip:hover::after,
.tooltip:focus::after {
  opacity: 1;
}


p {
  line-height: 1.6;
  margin-bottom: 1em;
}

.container {
  text-align: left;
  max-width: 700px;
  margin: auto;
  padding: 1em;
}

.ctn {
  text-align: center;
  max-width: 700px;
  margin: auto;
  padding: 1em;
}

h1 {
  font-size: 2.8em;
  font-weight: 700;
}

.word-effect {
  position: relative;
  height: 40px;
  margin-top: 1em;
  font-size: 1.8em;
  font-weight: 400;
  color: var(--accent-color);
}



.word-instr {
  margin-top: 1em;
  font-size: 0.9em;
  color: #888;
}

.word-mural {
  position: relative;
  width: 100%;
  height: 200px;
  background: rgba(255, 255, 255, 0.03);
  margin: 2em 0;
  overflow: hidden;
  cursor: crosshair;
}

.mural-word {
  position: absolute;
  transform: translate(-50%, -50%);
  opacity: 0;
  color: var(--accent-color);
  font-size: 1.1em;
  animation: floatWord 3s ease-out forwards;
  pointer-events: none;
}

#customCursor {
  position: fixed;
  width: 12px;
  height: 12px;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out;
}


@keyframes fadeWord {
  0%   { opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; }

}
.word {
  opacity: 0;

}

.fade-in {
  animation: fadeIn 0.6s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-word {
  position: absolute;
  opacity: 0;
  animation: fadeInOut 3s ease-in-out forwards;
}

@keyframes fadeInOut {
  0%   { opacity: 0; transform: translateY(10px); }
  20%  { opacity: 1; transform: translateY(0); }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-10px); }
}

@media (max-width: 768px) {
  .ctn, .container {
    padding: 1rem;
  }

  h1 {
    font-size: 2em;
  }

  .word-effect {
    font-size: 1.4em;
  }

  .word-mural {
    font-size: 1.4em;
  }
}

@keyframes floatWord {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  10% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
  }
  50% {
    transform: translate(-50%, -60%) scale(1);
  }
  80% {
    opacity: 1;
    transform: translate(-50%, -65%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -70%) scale(1.05);
  }
}

footer {
  margin-top: 2em;
  font-size: 0.9em;
  color: #888;
}

.contact-section {
  margin-top: 2em;
}

.contact-section form {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  margin-bottom: 1em;
}

.contact-section input,
.contact-section textarea {
  padding: 0.5em;
  font-size: 1em;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-section button {
  padding: 0.6em;
  font-size: 1em;
  font-family: inherit;
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-section a {
  color: var(--accent-color);
  text-decoration: none;
}

.faq details {
  margin-bottom: 0.5em;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  margin-left: 1em;
}
