/* Arquivo principal que importa todos os estilos */
@import url('base/reset.css');
@import url('base/typography.css');
@import url('utils/variables.css');
@import url('components/header.css');
@import url('components/buttons.css');
@import url('components/imoveis.css');
@import url('components/search-bar.css');
@import url('components/pagina-sobre.css');
@import url('components/pagina-contato.css');
@import url('components/portal-cliente.css');
@import url('components/redirecionar-mapa-imoveis.css');
@import url('/css/components/footer.css');

/* Estilos gerais do site */

/* Estilo de transição para fade (já existente) */


body.loaded {
  opacity: 1;
}

body.unloading {
  opacity: 0;
}

body {
  color: var(--text-color);
  background: #e6dfdf85;
  font-family: 'Arial', sans-serif;
  padding-top: 118px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-lg);
  /*background: url('../assets/img/office-bg.jpg') no-repeat center/cover;*/
  background-image: url(/assets/img/imagem_home.jpg);
  background-size: cover; 
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  color: rgb(245, 245, 245);
  text-align: center;
  height: 100vh;
  justify-content: center;
  opacity: 100%;
}

.hero-texto {
  animation: fadeIn 1s ease-in;
}

section.hero h1 {
  color: #fefefe;
  text-align: center;
  font-size: 2em;
  margin-top: -250px;
  margin-bottom: 10px;
  text-shadow: 3px 3px 3px #000000;
}

section.hero h2 {
  color: #D99F59;
  font-size: 1.5em;
  margin-bottom: 50px;
  margin-top: 30px;
  text-shadow: 2px 2px 4px #000000;
}

/* 👇 HOME ABAIXO DO HERO */
.container {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.beneficios h2, .servicos h2, .cta-final h2 {
  text-align: center;
  color: #C7473C;
  margin-bottom: 30px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.card {
  flex: 1;
  min-width: 250px;
  background-color: #fefefe;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #D09D5B;
}

/* Serviços */
.servicos ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 0;
  font-size: 1.1rem;
}

.servicos li::before {
  content: "✔️ ";
  margin-right: 5px;
  color: #40916c;
}

.cta-final {
  /* background: linear-gradient(to right, #eaf4f4, #f9fbfb); */
  padding: 20px 20px;
  text-align: center;
  color: #003333;
}

.cta-final .container {
  max-width: 900px;
  margin: 0 auto;
  margin-top: -60px;
}

.cta-final h2 {
  font-size: 2rem;
  color: #D09D5B;
  margin-bottom: 20px;
  font-weight: bold;
}

.cta-final p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333;
}

.cta-final div.container p strong {
  color: #D09D5B;
}

.cta-final em {
  display: block;
  text-align: center;
  color: #C7473C;
  font-style: italic;
  margin-top: 15px;
  font-size: 1rem;
}

.btn.grande {
  background-color: #f1ded5;
  color: #C7473C;
  margin-top: 30px;
  padding: 15px 30px;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  text-align: center;
}

.cta-final .btn.grande:hover {
  background-color: #ecd2b7;
}

section div.container a.btn:hover {
  color: #C7473C;
  transform: scale(1.05);
}

.btn-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  
}


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

  header .em-desenv h2 {
    font-size: 13px;
  }

  /* Ajustes para dispositivos móveis HERO*/
@media (max-width: 768px) {
  .hero {
    background-image: url(/assets/img/imagem_hero_mobile.jpg); /* use uma versão recortada */
    background-attachment: scroll; /* evita bug no mobile */
    background-size: cover;
    background-position: center;
    height: auto;
    padding: 80px 20px;
  }
}

section.hero h1 {
  color: #fefefe;
  text-align: center;
  font-size: 1.5em;
  margin-top: -150px;
  margin-bottom: 10px;
  padding: 5px;
  text-shadow: 2px 2px 4px #000000;
}

section.hero h2 {
  color: #D99F59;
  font-size: 1.5em;
  margin-bottom: 40px;
  margin-top: 10px;
  text-shadow: 2px 2px 4px #000000;
}

  .cards {
    flex-direction: column; 
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 400px;
  }

  .servicos ul {
    grid-template-columns: 1fr;
  }

  .cta-final {
    padding: 40px 15px;
  }

  .cta-final h2 {
    font-size: 1.5rem;
  }

  .cta-final p {
    font-size: 1rem;
  }

  .cta-final .btn.grande {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
  }
}


@media (max-width: 480px) {
  .card h3 {
    font-size: 1rem;
  }

  .servicos li {
    font-size: 1rem;
  }

  .container {
    padding: 40px 15px;
  }

  .cta-final h2 {
    font-size: 1.3rem;
  }

  .cta-final p {
    font-size: 0.95rem;
    text-align: justify;
  }

  .cta-final .btn.grande {
    padding: 12px;
    font-size: 0.95rem;
  }
}

/* 👆 HOME ABAIXO DO HERO */


section.mapa-container iframe{
  border-radius: 8px;
}

/* Botão "Voltar ao Topo" */
#btn-topo {
  position: fixed;
  bottom: 20px; /* Fica acima do botão do WhatsApp */
  left: 20px;
  background-color: #C7473C;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: block;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s, transform 0.3s;
  
}

#btn-topo:hover {
  background-color: #a8352f;
  transform: scale(1.1);
}


/* Responsividade */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    max-width: 100%;
    flex: 1 1 50px;
    min-width: 220px;
  }

  .footer-section h2 {
    text-align: center;
  }

  .footer-section .icons {
    justify-content: center;
  }

  #btn-topo {
    left: auto;
    right: 20px;
  }
}

/* 👆 FOOTER */



.whatsapp-icon {
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  /* background: #25d366; */
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); */
}

.whatsapp-icon img {
  width: 40px;
  height: 40px;
}

.whatsapp-icon:hover {
  transform: scale(1.15);
  opacity: 0.9;
  
}



@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.whatsapp-icon {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.whatsapp-icon {
  animation: pulse 1.5s infinite ease-in-out;
}

/*  👇  ///  RESPOSIVIDADE  ✔ */

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

/* Estilo do logo */
  .hamburger {
    display: block;/* Exibe o ícone do hambúrguer */
  }

  header nav .botao-social {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 2px;
    margin: 1px;
  }

  .nav-menu {
    display: none; /* Esconde o menu por padrão */
    position: absolute;
    top: 100%; /* Abaixo do header */
    left: 0;
    width: 100%;
    flex-direction: initial;
    padding: 5px;
    margin-top: 18px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.212);
    z-index: 1000;
    background-color: #FEFEFE;
  }

  .nav-menu.active {
    display: flex !important; /* Exibe o menu quando ativo */
  }

  .nav-menu li {
    margin: 0px 0;
  }

  /* Exibir os botões das redes sociais dentro do menu em telas pequenas */
   .social-links-mobile {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }

  /* Esconder os botões das redes sociais fora do menu em telas pequenas */
  .social-links-desktop {
    display: none;
  }

  .hero, .destaques, .search-bar {
    padding: var(--spacing-md);
  }

  .hero {
    height: 400px;
  }

  .header-nav ul {
    /* flex-direction: column; */ 
    text-align: center;
  }

  .whatsapp-icon {
    display: none;
    width: 12vw;
    height: 12vw;
    max-width: 60px;
    max-height: 60px;
    animation: fadeIn 0.5s ease-in-out;
  }

  .whatsapp-icon img {
    width: 60%;
    height: 60%;
  }
  
  .whatsapp-icon {
    width: 50px;
    height: 50px;
    animation: pulse 2s infinite ease-in-out; /* Ajuste para ser mais suave em mobile */
  }
  .whatsapp-icon img {
    width: 35px;
    height: 35px;
  }

  .sobre-conteiner {
    width: 90%;

  /* Responsivo */
  footer div.footer-container {
    padding: 2px;
    margin: 5px;
  }


  .footer-section {
    text-align: center;
  }

  .footer-section .icons {
    justify-content: center;
  }
}
}


/* 👇COOKIES */
/* Estilo do banner de cookies */
/* Banner de cookies profissional e responsivo */
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #4b4a49;
  color: #fff;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 9999;
  font-family: 'Segoe UI', sans-serif;
  animation: slideUp 0.5s ease-out;
  max-width: 800px;
  margin: 0 auto;
}

/* Animação de entrada */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Conteúdo e ícone */
.cookie-content {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cookie-icon {
  font-size: 28px;
  color: #f1c40f;
  flex-shrink: 0;
}

#cookie-banner p {
  font-size: 15px;
  margin: 0;
  flex: 1;
  line-height: 1.5;
}

#cookie-banner a {
  color: #4fc3f7;
  text-decoration: underline;
  font-weight: 500;
}

/* Botões */
.cookie-buttons {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

#cookie-banner button {
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 120px;
}

/* Botão aceitar */
#accept-cookies {
  background-color: #2ecc71;
  color: white;
}

#accept-cookies:hover {
  background-color: #27ae60;
}

/* Botão recusar */
#decline-cookies {
  background-color: #e74c3c;
  color: white;
}

#decline-cookies:hover {
  background-color: #c0392b;
}

/* Responsividade aprimorada */
@media (max-width: 768px) {
  #cookie-banner {
    padding: 15px 20px;
    left: 10px;
    right: 10px;
  }

  .cookie-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cookie-icon {
    font-size: 24px;
  }

  #cookie-banner p {
    font-size: 14px;
  }

  .cookie-buttons {
    justify-content: center;
    margin-top: 10px;
  }

  #cookie-banner button {
    width: 100%;
    max-width: 200px;
  }
}

@media (max-width: 400px) {
  #cookie-banner p {
    font-size: 13px;
  }

  #cookie-banner {
    padding: 12px 15px;
  }

  .cookie-buttons {
    flex-direction: column;
    gap: 8px;
  }
}
/* COKIES 👆 */

/*👇 POLÍTICAS DE PRIVACIDA */´
/* Reset básico */

body {
  background-color: #fefefe;
  color: #333;
  line-height: 1.7;
  font-size: 16px;
}

.header p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Conteúdo principal */
.content {
  text-align: justify;
  max-width: 960px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: #e6d9d177;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.content section {
  margin-bottom: 2rem;
}

.content h2 {
  color: #D09D5B;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  text-align: left;
}

.content ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.content ul li {
  margin-bottom: 0.5rem;
}

.content a {
  color: #004aad;
  text-decoration: none;
}

.content a:hover {
  text-decoration: underline;
}

/* Layout responsivo */
@media (max-width: 1024px) {
  .header h1 {
    font-size: 2rem;
  }

  .content {
    margin: 1rem;
    padding: 1.25rem;
  }
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 1.8rem;
  }

  .header p {
    font-size: 0.95rem;
  }

  .content h2 {
    font-size: 1.3rem;
  }

  .footer {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .header h1 {
    font-size: 1.5rem;
  }

  .content {
    padding: 1rem;
  }

  .content h2 {
    font-size: 1.2rem;
  }

  .footer {
    font-size: 0.8rem;
    padding: 1rem;
  }
}
/*👆 POLÍTICA DEPRIVACIDADE */