/* Base Styles */
:root {
  --primary-color: #00d8e5;
  --primary-color-dark: #00b8c3;
  --text-color: #ffffff;
  --text-color-muted: rgba(255, 255, 255, 0.7);
  --bg-color: #000000;
  --bg-color-light: rgba(255, 255, 255, 0.05);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-color-hover: rgba(0, 216, 229, 0.5);
  --transition: all 0.3s ease;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  --radius: 0.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

header.header,
section,
footer.footer,
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: auto;
}

#main-content {
  position: relative;
  z-index: 1; /* força todo o conteúdo ficar acima do fundo */
  background: transparent; /* garantir fundo transparente */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.gradient-text {
  background: linear-gradient(to right, var(--primary-color), #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--text-color-muted);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #000000;
}

.btn-primary:hover {
  background-color: var(--primary-color-dark);
}

.btn-secondary {
  background-color: #00e4ff; /* Cor de fundo */
  color: black; /* Cor do texto */
  padding: 10px 20px; /* Espaçamento interno */
  border: none; /* Sem borda */
  border-radius: 5px; /* Borda arredondada */
  text-align: center; /* Alinhamento do texto */
  text-decoration: none; /* Sem sublinhado */
  display: inline-block; /* Para se comportar como bloco em linha */
  font-size: 16px; /* Tamanho da fonte */
  cursor: pointer; /* Cursor de mão */
  transition: background-color 0.3s ease; /* Animação para troca de cor */
}

.btn-secondary:hover {
  background-color: #00b3cc; /* Cor do fundo ao passar o mouse */
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-color);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--text-color);
}

.btn-full {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.logo span {
  background: linear-gradient(to right, var(--primary-color), #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: 2rem;
}

.nav-desktop a {
  color: var(--text-color-muted);
}

.nav-desktop a:hover {
  color: var(--primary-color);
}

.desktop-only {
  display: none;
}

/* Mobile Menu */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1001;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
  position: absolute;
  transition: var(--transition);
}

.menu-icon {
  top: 50%;
  transform: translateY(-50%);
}

.menu-icon::before,
.menu-icon::after {
  content: "";
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  bottom: -8px;
}

.menu-toggle.active .menu-icon {
  background-color: transparent;
}

.menu-toggle.active .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.active .menu-icon::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 9999;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
} 

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu a {
  display: block;
  padding: 0.5rem 0;
  color: var(--text-color-muted);
}

.mobile-menu a:hover {
  color: var(--primary-color);
}

.mobile-cta {
  margin-top: 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 3rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background-image: url("https://via.placeholder.com/1920x1080"); */
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: -1;
}

.hero-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, var(--bg-color), rgba(0, 0, 0, 0.9), var(--bg-color));
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 250px;
  text-align: center;
  z-index: 1;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-color-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

/* .scroll-indicator {
  position: absolute;
  bottom: -14rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: var(--primary-color);
} */
.scroll-indicator {
  position: fixed;
  bottom: 2rem;  /* espaço do bottom da viewport */
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: var(--primary-color);
  transition: opacity 0.3s ease, visibility 0.3s ease;
  opacity: 1;
  visibility: visible;
  pointer-events: none; /* para não bloquear cliques */
}

.scroll-indicator.hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* Features Section */
.features {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card {
  background-color: var(--bg-color-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.feature-card:hover {
  border-color: var(--border-color-hover);
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: rgba(0, 216, 229, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);

  /* UPDATE */
  margin-left: auto;
  margin-right: auto;
}

.feature-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-weight: 700;
}

.feature-card:hover .feature-icon {
  background-color: rgba(0, 216, 229, 0.3);
}

.feature-card h3 {
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-color-muted);
  margin-bottom: 1.5rem;
}

.feature-link {
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-link:hover {
  color: #ffffff;
}

.feature-link i {
  transition: var(--transition);
}

.feature-card:hover .feature-link i {
  transform: translateX(5px);
}

/* .bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background-color: rgba(0, 216, 229, 0.1);
  bottom: -250px;
  right: -250px;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background-color: rgba(0, 216, 229, 0.05);
  top: -250px;
  left: -250px;
} */

/* About Section */
.about {
  padding: 5rem 0;
}

/* .about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
} */
.about-grid {
  grid-template-columns: 1fr;
  gap: 3rem;
  justify-content: center;
  /* remove align="center" do HTML */
}

.about-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.about-image::after {
  content: "";
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 216, 229, 0.2);
  border-radius: var(--radius);
  z-index: 0;
}

/* .about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
} */
.about-content {
  max-width: 800px; /* ou outro valor que preferir */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content .lead {
  font-size: 1.25rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-color-muted);
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat {
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-color-muted);
}

/* Contact Section */
.contact {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(to bottom, var(--bg-color), rgba(0, 0, 0, 0.9));
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background-image: url("https://via.placeholder.com/1920x1080"); */
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: -1;
}

/* .contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
} */

.contact-grid {
  display: flex;
  justify-content: center; /* centraliza horizontalmente */
  align-items: center;     /* centraliza verticalmente (opcional) */
  min-height: 50vh;       /* altura total da tela (opcional) */
}

.info-card {
  background-color: var(--bg-color-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(5px);
  transition: var(--transition);
}

.info-card:hover {
  border-color: var(--border-color-hover);
  background-color: rgba(255, 255, 255, 0.1);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(0, 216, 229, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-number {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-weight: 700;
  font-size: 0.75rem;
}

.info-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.info-value {
  color: var(--text-color-muted);
}

.hours-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.hours-item:last-child {
  border-bottom: none;
}

.hours-item span:first-child {
  color: var(--text-color-muted);
}

/* .contact-form-container {
  background-color: var(--bg-color-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(5px);
} */
.contact-form-container {
  background-color: var(--bg-color-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(5px);
  margin-bottom: 2rem;

  /* ajustes novos */
  max-width: 700px;
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--text-color);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 216, 229, 0.2);
}

.form-group textarea {
  resize: none;
}

/* Footer */
.footer {
  background-color: var(--bg-color);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.footer-about p {
  color: var(--text-color-muted);
  margin-top: 1rem;
}

.footer h4 {
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-color-muted);
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-color-muted);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-color-muted);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--text-color-muted);
  font-size: 0.875rem;
}

.footer-legal a:hover {
  color: var(--primary-color);
}

/* ESTRELAS FUNDO */
.star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0);
}

#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 0; /* atrás do conteúdo */
  background-color: black; /* mantém fundo preto */
  pointer-events: none;
}

/* ALERTAS */
.alert {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* POLITICA E PRIVACIDADE */
/* Modal */
.modal {
  display: none; /* esconde o modal inicialmente */
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(3px);
}

/* Conteúdo do Modal */
.modal-content {
  /* background-color: var(--bg-color-light, #fff); */
  background-color: #1a1a1ae4;
  margin: 5% auto;
  padding: 2rem 2.5rem;
  border-radius: var(--radius, 8px);
  max-width: 700px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  color: var(--text-color, #333);
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

/* Botão fechar */
.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 30px;
  font-weight: bold;
  color: var(--text-color-muted, #999);
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: var(--primary-color, #00d8e5);
}

/* Modal Tipografia */
.modal-content h2 {
  margin-top: 0;
  color: var(--primary-color, #00d8e5);
}

.modal-content h3 {
  margin-top: 1.5rem;
}

.modal-content p {
  line-height: 1.5;
  margin-bottom: 1rem;
}

.modal-content em {
  font-style: italic;
  color: var(--text-color-muted, #666);
  font-size: 0.9rem;
}

@keyframes twinkle {
  0% {
    transform: scale(1, 1);
    background: rgba(255, 255, 255, 0);
    animation-timing-function: linear;
  }
  40% {
    transform: scale(0.8, 0.8);
    background: rgba(255, 255, 255, 1);
    animation-timing-function: ease-out;
  }
  80% {
    background: rgba(255, 255, 255, 0);
    transform: scale(1, 1);
  }
  100% {
    background: rgba(255, 255, 255, 0);
    transform: scale(1, 1);
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries */
@media (min-width: 576px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 992px) {
  .nav-desktop {
    display: block;
  }

  .desktop-only {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .contact-grid {
    grid-template-columns: 2fr 3fr;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .hero h1 {
    font-size: 4rem;
  }
}
