:root {
  --verde-nvidea: #76B900;
  --preto-fosco: #1C1C1C;
  --branco: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background-color: var(--preto-fosco);
  color: var(--branco);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--branco); /* Agora o fundo é branco */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* leve sombra para destaque */
}

.logo img {
  height: 45px;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: var(--preto-fosco); /* texto preto para contraste com fundo branco */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--verde-nvidea); /* mantém o destaque verde */
}

/* MENU HAMBURGUER */
.menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--preto-fosco); /* linhas pretas */
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* NAV RESPONSIVO */
@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background-color: var(--branco);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.4s ease;
  }

  nav.active {
    right: 0;
  }

  nav a {
    color: var(--preto-fosco); /* texto preto no menu mobile */
    font-size: 1.2rem;
  }

  .menu-toggle {
    display: flex;
  }
}

/* ===== HERO ===== */
.hero {
  height: 100vh;
  background: linear-gradient(to right, rgba(28, 28, 28, 0.95), rgba(28, 28, 28, 0.8)), 
    url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1600&q=80') center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 60px;
  animation: fadeIn 1.2s ease;
}

.hero h2 {
  font-size: 3rem;
  color: var(--verde-nvidea);
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.btn {
  background: var(--verde-nvidea);
  color: var(--preto-fosco);
  padding: 14px 28px;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s, background 0.3s;
}

.btn:hover {
  background: #8bdc00;
  transform: scale(1.05);
}

/* ===== SEÇÕES ===== */
section {
  padding: 100px 60px;
  text-align: center;
}

.servicos {
  background: #111;
}

.servicos h3 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--verde-nvidea);
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background: #1f1f1f;
  border: 1px solid #333;
  padding: 40px 25px;
  border-radius: 10px;
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease, box-shadow 0.4s;
}

.card.reveal {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 25px rgba(118,185,0,0.3);
}

.card i {
  font-size: 2.5rem;
  color: var(--verde-nvidea);
  margin-bottom: 15px;
  transition: transform 0.3s;
}

.card:hover i {
  transform: scale(1.2);
}

.card h4 {
  color: var(--verde-nvidea);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.card p {
  color: #ccc;
  font-size: 0.95rem;
}

/* ===== SOBRE ===== */
.sobre {
  background: #1a1a1a;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.sobre.reveal {
  opacity: 1;
  transform: translateY(0);
}

.sobre h3 {
  color: var(--verde-nvidea);
  font-size: 2rem;
  margin-bottom: 20px;
}

.sobre p {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  color: #ddd;
}

/* ===== CONTATO ===== */
.contato {
  background: #111;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.contato.reveal {
  opacity: 1;
  transform: translateY(0);
}

.contato h3 {
  color: var(--verde-nvidea);
  font-size: 2rem;
  margin-bottom: 30px;
}

form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, textarea {
  background: #1f1f1f;
  border: 1px solid #333;
  padding: 12px;
  border-radius: 4px;
  color: var(--branco);
  font-size: 1rem;
}

input:focus, textarea:focus {
  outline: 1px solid var(--verde-nvidea);
}

textarea {
  resize: vertical;
  height: 120px;
}

form button {
  background: var(--verde-nvidea);
  color: var(--preto-fosco);
  border: none;
  padding: 14px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

form button:hover {
  background: #8bdc00;
  transform: scale(1.03);
}

/* ===== FOOTER ===== */
footer {
  background: #0f0f0f;
  text-align: center;
  padding: 40px 20px;
  color: #ccc;
  font-size: 0.9rem;
}

footer a {
  color: var(--verde-nvidea);
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  text-decoration: underline;
}

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

@media (max-width: 768px) {
  .hero {
    padding: 0 20px;
    align-items: center;
    text-align: center;
  }

  .hero h2 {
    font-size: 2.4rem;
  }

  section {
    padding: 80px 20px;
  }
}


.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366; /* Verde oficial WhatsApp */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 10000;
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.cases-modern {
  padding: 80px 30px;
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  color: #fff;
  text-align: center;
  position: relative;
}

.cases-modern h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: #39FF14; /* verde NVidia */
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cases-modern p {
  font-size: 1rem;
  margin-bottom: 40px;
  color: #aaa;
}

/* Scroll horizontal */
.cases-scroll {
  display: flex;
  overflow-x: auto;
  gap: 25px;
  padding-bottom: 10px;
  scroll-behavior: smooth;
}

.cases-scroll::-webkit-scrollbar {
  height: 8px;
}

.cases-scroll::-webkit-scrollbar-thumb {
  background-color: #39FF14; /* verde NVidia */
  border-radius: 4px;
}

/* Cards */
.case-card {
  min-width: 300px;
  max-width: 320px;
  background-color: rgba(30,30,30,0.8);
  border-radius: 15px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
  cursor: pointer;
  border: 1px solid rgba(57,255,20,0.3);
}

.case-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.case-info {
  padding: 20px;
}

.case-info h3 {
  margin-bottom: 8px;
  color: #39FF14;
}

.case-info p {
  font-size: 0.9rem;
  color: #ccc;
}

/* Hover futurista */
.case-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 12px 25px rgba(57,255,20,0.5);
  filter: brightness(1.1);
}

.case-card:hover img {
  transform: scale(1.05);
}

/* Responsivo */
@media (max-width: 768px) {
  .case-card {
    min-width: 260px;
  }
}

