:root {
  --primary: #e66e18cc;
  --dark: #1c1c1c;
  --light: #fff;
  --text: #333;
}

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

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.5;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Top Bar */
.top-bar {
  background: var(--primary);
  color: var(--light);
  font-size: 0.9rem;
  padding: 5px 0;
  text-align: center;
}

/* Header */
.header {
  background: var(--primary);
  color: var(--light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  position: relative;
}

/* Ajustar hero no celular */
@media (max-width: 768px) {
  .hero {
    padding: 40px 20px;
  }
}

.logo img {
  height: 80px; /* ajuste para mobile */
  max-width: 100%;
}

/* ======== NAVBAR GERAL ======== */
nav {
  position: relative;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;                 /* desktop: links na horizontal */
  gap: 20px;                     /* espaço entre os links */
}

nav ul li a {
  text-decoration: none;
  color: #fff;                   /* cor dos links */
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ff9933;                 /* hover em laranja */
}

/* ======== BOTÃO HAMBÚRGUER ======== */
.menu-toggle {
  display: none;                  /* some no desktop */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  color: #fff;
  font-size: 28px;
}

/* ======== MENU MOBILE ======== */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;               /* aparece no mobile */
  }

  .menu-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: #222;            /* fundo do menu mobile */
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    display: none;               /* começa oculto */
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }

  .menu-links.active {
    display: flex;               /* aparece quando toggle é ativado */
    animation: slideDown 0.3s ease forwards;
  }

  /* Animação do menu */
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  nav ul li a {
    color: #fff;
    font-size: 1.1rem;
  }
}

/* Menu padrão desktop */
.menu-links {
  display: flex;
  gap: 20px;
}

/* Mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .menu-links {
    display: none;
    flex-direction: column;
    background: #333;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 15px;
    border-radius: 8px;
  }

  .menu-links.active {
    display: flex;
  }
}


.menu-links {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  z-index: 2000; /* evita sobreposição no mobile */
}

.menu-links li {
  position: relative;
}

.menu-links a {
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  color: #fff; /* corrigido */
  border: 2px solid #fff; /* corrigido */
  transition: all 0.3s ease-in-out;
}

.menu-links a:hover {
  background: #e66e18;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transform: translateY(-3px);
}

/* Hero Section */
.hero {
  background: url('https://blog.hcchotels.com.br/wp-content/uploads/2024/08/O-que-fazer-em-Sao-Paulo-a-noite-1.jpg') center/cover no-repeat;
  color: var(--light);
  padding: 80px 0;
  background-attachment: fixed; /* leve efeito parallax */
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.hero-text {
  max-width: 500px;
}

.hero-text h1 {
  font-size: 1.5rem;
  margin: 10px 0;
}

.hero-text h2 {
  font-size: 2.5rem;
  margin: 20px 0;
}

.hero-text span {
  color: var(--primary);
  background: var(--light);
  padding: 0 5px;
  border-radius: 8px;
}

.hero-img img {
  width: 350px;
  max-width: 100%;
  animation: float 6s ease-in-out infinite;
}

/* Animação de flutuar suavemente */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-30px); }
  100% { transform: translateY(0px); }
}

/* Footer Principal */
footer {
  background: var(--primary);
  color: white;
  padding: 40px 20px 20px;
  font-size: 14px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h3 {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #222;
}

.footer-column p {
  margin-bottom: 10px;
}

.footer-column i {
  margin-right: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 20px;
}

/* Social Sidebar */
.social-sidebar {
  position: fixed;
  top: 70%;
  right: 0;
  transform: translateY(-50%);
  z-index: 10000;
}

.toggle-tab {
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: var(--primary);
  color: #fff;
  padding: 15px;
  border-radius: 10px 0 0 10px;
  cursor: pointer;
  box-shadow: none; /* ou defina uma sombra */
  font-size: 18px;
}

.social-links {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border-radius: 12px 0 0 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  transform: translateX(110%);
  transition: transform .35s ease;
}

@media (hover:hover) {
  .social-sidebar:hover .social-links { transform: translateX(0); }
}

.social-sidebar.open .social-links { transform: translateX(0); }

.social-links a {
  font-size: 20px;
  color: #0C3B65;
  transition: transform .2s, color .2s;
}

.social-links a:hover {
  transform: scale(1.8);
  color: var(--primary);
}

/* Responsividade */
@media (max-width: 768px) {

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

  .menu-links {
    display: none; /* escondido por padrão */
    flex-direction: column;
    gap: 10px;
    background: transparent;
    padding: 10px;
    border-radius: 5px;
    position: absolute;
    top: 60px;
    right: 10px;
    width: 150px;
  }

  .menu-links.show {
    display: flex;
  }

  /* Hero */
  .hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-text {
    width: 100%; /* corrigido para mobile */
  }
  .hero-text h1 { font-size: 1.2rem; }
  .hero-text h2 { font-size: 2rem; }
  .hero-img img { width: 250px; }

  /* Footer */
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .map-container iframe {
    height: 250px;
  }

  /* Sidebar sempre visível no mobile */
  .social-links {
    transform: translateX(0);
  }
}

/* === Efeito fade + slide para os cards === */
.result-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.result-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ícone fixo do lado direito */
.open-btn {
  position: fixed;
  top: 30%;
  right: 0;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 1001;
}

/* Botão lateral fixo (inicialmente escondido totalmente) */
.btn-condominio {
  position: fixed;
  top: 30%;
  right: -300px; /* totalmente fora da tela */
  transform: translateY(-50%);
  background: linear-gradient(135deg, #e66e18, #ff9900);
  color: #fff;
  padding: 14px 20px;
  border-radius: 8px 0 0 8px;
  text-decoration: none;
  font-weight: bold;
  transition: right 0.3s;
  z-index: 1000;
  pointer-events: none; /* impede clique enquanto escondido */
}

/* Botão lateral visível */
.btn-condominio.show {
  right: 60px; /* distancia o botão do ícone */
  pointer-events: auto; /* permite clique quando visível */
}