/* =========================
   RESET E VARIÁVEIS
========================= */

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

:root {
  --black: #0b0b0b;
  --black-soft: #111827;

  --white: #ffffff;
  --white-soft: #f5f5f2;
  --gray-text: #6b7280;

  --neon-green: #25ff8f;
  --neon-green-soft: rgba(37, 255, 143, 0.4);

  --radius: 12px;
  --container-width: 1100px;
  --transition: 0.3s ease;

  font-family: Arial, Helvetica, sans-serif;

}

body {
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
}

/* =========================
   CONTAINER
========================= */

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   HEADER + NAV
========================= */

.header {
  background-color: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo img {
  height: 42px;
}

/* =========================
   NAV DESKTOP
========================= */

.nav ul {
  list-style: none;
  display: flex;
  gap: 14px;
}

.nav a {
  text-decoration: none;
  color: var(--white-soft);
  padding: 8px 14px;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: var(--transition);
}

.nav a:hover {
  color: var(--neon-green);
  background-color: rgba(255,255,255,0.08);
}

/* =========================
   MENU MOBILE
========================= */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background-color: var(--white);
}

/* =========================
   HERO
========================= */

.hero {
  background-color: var(--black);
  padding: 90px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 6px;
}

.hero .subtitle {
  font-size: 1.3rem;
  color: var(--neon-green);
  margin-bottom: 16px;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  color: #d1d5db;
}

/* =========================
   CTA
========================= */

.cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
}

.whatsapp {
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
}

.whatsapp:hover {
  background-color: var(--neon-green);
  color: var(--black);
  box-shadow: 0 0 18px var(--neon-green-soft);
  transform: translateY(-3px);
}

.instagram {
  border: 1px solid #e11d48;
  color: #e11d48;
}

.instagram:hover {
  background-color: #e11d48;
  color: var(--white);
  box-shadow: 0 0 18px rgba(225,29,72,0.4);
  transform: translateY(-3px);
}

/* =========================
   SEÇÕES CLARAS
========================= */

.services,
.portfolio,
.contact {
  background-color: var(--white-soft);
  color: var(--black);
  padding: 80px 0;
}

.services h2,
.portfolio h2,
.contact h2 {
  font-size: 1.9rem;
  margin-bottom: 20px;
}

.services p,
.portfolio p,
.contact p {
  color: var(--gray-text);
}

/* =========================
   SERVIÇOS (ACCORDION)
========================= */

.services-list {
  list-style: none;
  margin-top: 30px;
}

.service-item {
  background-color: var(--white);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}

.service-title {
  width: 100%;
  padding: 16px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
}

.service-title:hover {
  background-color: #f0f0f0;
}

.service-desc {
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  color: var(--gray-text);
  transition: max-height 0.3s ease;
}

.service-item.active .service-desc {
  max-height: 200px;
  padding: 10px 16px 18px;
}

/* =========================
   PORTFÓLIO
========================= */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.project-card {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-image img {
  width: 100%;
  display: block;
}

.project-info {
  padding: 16px;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-weight: bold;
  text-decoration: none;
  color: var(--neon-green);
}

/* =========================
   SOBRE
========================= */

.about {
  background-color: var(--black-soft);
  color: var(--white);
  padding: 80px 0;
}

/* =========================
   CONTATO
========================= */

.contact form {
  max-width: 520px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  margin-bottom: 6px;
  font-weight: bold;
}

.form-field input,
.form-field textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
}

.contact button {
  margin-top: 10px;
  padding: 14px;
  border: none;
  border-radius: 50px;
  background-color: var(--neon-green);
  color: var(--black);
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.contact button:hover {
  box-shadow: 0 0 18px var(--neon-green);
  transform: translateY(-2px);
}

/* =========================
   FOOTER
========================= */

footer {
  background-color: var(--black);
  text-align: center;
  padding: 22px;
  font-size: 0.9rem;
  color: #9ca3af;
}

/* =========================
   RESPONSIVO / MOBILE
========================= */

@media (max-width: 768px) {

  /* MOSTRA HAMBURGER */
  .menu-toggle {
    display: block;
  }

  /* ESCONDE NAV */
  .nav {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: var(--black);
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
    text-align: right;
  }

  .nav.open {
    max-height: 300px;
  }

  .nav ul {
    flex-direction: column;
    padding: 14px 20px;
  }
}
