/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  background: white;
  z-index: 1000;
  border-bottom: 1px solid #eee;
  transition: 0.3s;
}

.header.scrolled {
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  height: 75px;
}

/* MENU */
.menu {
  display: flex;
  gap: 25px;
}

.menu a {
  text-decoration: none;
  color: #0a2346;
  font-weight: 500;
}

/* MENU MOBILE */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* BOTÕES */
.btn, .btn-header {
  background: linear-gradient(45deg, #ff6a00, #ff8c00);
  color: white;
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255,106,0,0.3);
}

/* HERO COM PARALLAX */
.hero {
  height: 95vh;
  background:
    linear-gradient(rgba(10,35,70,0.85), rgba(0,0,0,0.7)),
    url("fundo.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
}

.hero-content {
  color: white;
  max-width: 600px;
  animation: fadeUp 1s ease;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.hero p {
  margin-bottom: 25px;
  color: #e0e0e0;
}

/* SEÇÕES */
.section {
  padding: 70px 0;
  text-align: center;
}

.section h2 {
  margin-bottom: 25px;
  font-size: 32px;
  color: #0a2346;
  position: relative;
}

/* LINHA DECORATIVA */
.section h2::after {
  content: "";
  width: 50px;
  height: 3px;
  background: #ff6a00;
  display: block;
  margin: 10px auto 0;
}

/* SEÇÃO ESCURA */
.dark {
  background: linear-gradient(135deg,#0a2346,#0f2f63);
  color: white;
}

/* TÍTULO ESCURO */
.dark h2 {
  color: #ffffff;
}

.dark h2::after {
  background: #ff8c00;
}

/* GRID */
.grid-servicos {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 25px;
}

/* CARDS PADRÃO */
.card {
  padding: 25px;
  border-radius: 10px;
  background: white;
  border: 1px solid #eee;
  transition: 0.3s;
  color: #1a1a1a;
}

.card h3,
.card p {
  color: #1a1a1a;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* CARDS NA SEÇÃO ESCURA (CORREÇÃO DEFINITIVA) */
.dark-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #ffffff;
}

/* FORÇA TEXTO VISÍVEL */
.dark-card,
.dark-card h3,
.dark-card p {
  color: #ffffff !important;
}

.dark-card:hover {
  background: rgba(255,255,255,0.15);
}

/* SUBTITLE */
.subtitle {
  margin-bottom: 30px;
  color: #666;
}

/* CTA */
.cta-condominio {
  margin-top: 40px;
}

/* CONTATO */
.contato {
  background: linear-gradient(180deg,#f4f7fb,#e9eef5);
  padding: 60px 0;
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.whatsapp:hover {
  transform: scale(1.08);
}

.whatsapp img {
  width: 28px;
  filter: invert(1);
}

/* ANIMAÇÕES */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVO */
@media(max-width:900px){
  .grid-servicos {
    grid-template-columns: repeat(2,1fr);
  }
}

@media(max-width:768px){

  .menu-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 25px 0;
    display: none;
    animation: slideDown 0.3s ease;
  }

  .menu.active {
    display: flex;
  }

  .btn-header {
    display: none;
  }

  /* REMOVE PARALLAX NO MOBILE */
  .hero {
    background-attachment: scroll;
  }
}

@media(max-width:600px){
  .grid-servicos,
  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    height: auto;
    padding: 100px 20px 60px;
    text-align: center;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 15px;
  }

  .logo {
    height: 55px;
  }

  .header-content {
    padding: 12px 0;
  }

  .whatsapp {
    width: 55px;
    height: 55px;
    bottom: 15px;
    right: 15px;
  }

  .card {
    padding: 20px;
  }

  .section {
    padding: 50px 0;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FOOTER */
footer {
  background: #0a2346;
  color: white;
  text-align: center;
  padding: 25px;
}