:root {
  --primary: #000;
  --accent: #ff3300;
  --muted: #ccc;
  --card-glow: #ff4500;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #fff;
  background: #111;
  padding-top: 80px;
}

/* ------------------------------------------- */
/* -------- Estilos Globais do Padrao -------- */
/* ------------------------------------------- */

/* Header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #000;
  padding: 12px 20px;
  border-bottom: 2px solid var(--accent);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-container {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  gap: 20px;
}

.logo img {
  height: 50px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.main-nav a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s ease;
  position: relative;
}

.main-nav a:hover {
  color: var(--accent);
}

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.submenu {
  position: relative;
}

.submenu .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  list-style: none;
  padding: 10px;
  border-radius: 5px;
  min-width: 250px;
  z-index: 999;
}

.submenu.active .dropdown {
  display: block;
}

.dropdown li {
  padding: 5px 0;
}

.dropdown li a {
  white-space: nowrap;
}

.btn-orcamento {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-orcamento:hover {
  background: #cc2900;
}

.mobile-menu-btn {
  display: none;
}

/* Footer */
.site-footer {
  background: #000;
  padding: 20px;
  text-align: center;
  border-top: 2px solid var(--accent);
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}

.footer-telefone {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: #fff;
}

.footer-icon {
  width: 24px;
  height: 24px;
}

.footer-legal a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #fff;
}

.copy {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #999;
}

/* Pop-up de Cookies */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #222;
  border: 1px solid #444;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1000;
}

.cookie-popup.show {
  display: block;
}

.cookie-content p {
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.cookie-content a {
  color: var(--accent);
}

.cookie-buttons {
  display: flex;
  justify-content: space-around;
  gap: 10px;
}

.cookie-buttons button {
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.btn-accept {
  background-color: var(--accent);
  color: #fff;
}

.btn-decline {
  background-color: #555;
  color: #fff;
}

/* Responsividade Global */
@media (max-width: 768px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .header-container {
    justify-content: space-between;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .main-nav.mobile-active {
    display: flex;
  }

  .main-nav.mobile-active .submenu.active .dropdown {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .main-nav li a {
    font-size: 1.5rem;
  }

  .main-nav li a::after {
    height: 3px;
    bottom: -8px;
  }

  .mobile-menu-btn {
    display: block;
    position: relative;
    z-index: 1001;
  }
}

/* ------------------------------------------- */
/* -------- Estilos da Página Index -------- */
/* ------------------------------------------- */

/* Hero Section do Index */
.hero {
  position: relative;
  overflow: hidden;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

/* Conteúdo Geral do Index */
.sobre, .servicos, .diferenciais, .promocoes, .faq-section {
  padding: 30px 20px;
  text-align: center;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

h1 {
  font-size: 2.5rem;
  color: var(--accent);
}

p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 20px auto;
}

.servicos {
  background: #222;
}

.servicos h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 30px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: #333;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 0 0 rgba(255, 69, 0, 0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 20px 5px var(--card-glow);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.btn-saibamais {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: auto;
}

.diferenciais {
  background: #111;
}

.diferenciais h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.diferenciais ul {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
}

.diferenciais li {
  font-size: 1.1rem;
  padding: 10px 0;
  border-bottom: 1px solid #333;
}

.promocoes {
  background: #222;
}

.promocoes h2 {
  font-size: 2rem;
  color: var(--accent);
}

.btn-promocao {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* FAQ */
.faq-section {
  background: #111;
}

.section-title {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 40px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 2px;
}

.accordion-item {
  background: #222;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-btn {
  background: none;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  width: 100%;
  text-align: left;
  padding: 15px;
  border: none;
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-btn::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.accordion-btn[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.accordion-content {
  background: #333;
  padding: 0 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content p {
  padding: 15px 0;
}

/* Responsividade da página Index */
@media (max-width: 768px) {
  .hero img {
    height: auto;
  }
}



/* ---------------------------------------------------------------------------------------------*/
/* -------- Estilos da Página Empresa  - cabeamento - segurança - telefonia - condomino-------- */
/* -------------------------------------------------------------------------------------------- */

/* Banner Empresa */
.empresa-banner {
  position: relative;
  overflow: hidden;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.empresa-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

/* Conteúdo Empresa - cabeamento - segurança - telefonia - condomino */
.empresa {
  padding: 20px 10px;
  background-color: #111;
  text-align: center;
}

.fade-item {
  margin-bottom: 15px; /* Reduz a margem entre os blocos */
  padding: 10px; /* Adiciona espaçamento interno para o conteúdo não tocar a borda */
  background-color: #222;
  border-radius: 10px;
}

.servico-item {
  display: flex; /* Transforma o contêiner em um Flexbox */
  align-items: center; /* Alinha a imagem e o texto verticalmente no centro */

}

/* Regras para a imagem dentro do .servico-item */
.servico-item img {
  max-width: 30%; /* Define a largura máxima da imagem para 40% do contêiner */
  height: auto;
}

.empresa h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 20px;
  margin-top: 10px;
}

.empresa p {
  font-size: 1.1rem;
  color: #fff;
  max-width: 800px;
  margin: 10px auto;
}

.empresa ul {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.empresa li {
  font-size: 1.1rem;
  padding: 10px 0;
  border-bottom: 1px solid #333;
}

.empresa li:last-child {
  border-bottom: none;
}

/* Contadores */
.empresa-contadores {
  display: flex;
  justify-content: space-around;
  text-align: center;
  margin: 40px auto;
  gap: 20px;
  background-color: #222;
  padding: 30px;
  border-radius: 10px;
}

.contador h3 {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 5px;
}

.contador p {
  font-size: 1.2rem;
  color: #ccc;
  font-weight: bold;
}

/* Responsividade da página Empresa */
@media (max-width: 768px) {

 .empresa-banner img {
    height: auto;
  }

  .empresa-contadores {
    flex-direction: column;
  }
  
   .servico-item {
    flex-direction: column; /* Em telas pequenas, a imagem e o texto voltam a se empilhar */
    text-align: center; /* Centraliza o texto */
  }

  .servico-item img {
    max-width: 100%; /* A imagem ocupa 100% da largura do contêiner no mobile */
  }
  
}

/* ------------------------------------------- */
/* -------- Estilos da Página Downloads -------- */
/* ------------------------------------------- */

/* downloads.html*/

.downloads-container {
  text-align: center;
}

.downloads-intro {
  max-width: 900px;
  margin: 0 auto 24px;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.downloads-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #fff;
}

.downloads-item img {
  width: 28px;
}

.downloads-item h3 {
  margin: 0 0 6px;
  color: #000;
}

.downloads-item a {
    color: #ff3300;
}

/* Responsividade para a página de downloads */
@media (max-width: 768px) {
  .downloads-list .servico-item {
    flex-direction: row;
    text-align: left;
  }

  .downloads-list .servico-item img {
    max-width: 28px;
  }
}

/* Contato */
.contato{padding:60px 20px;}
.contato h2{font-size:32px;margin-bottom:10px;color:#ff3300;}
.contato p{font-size:16px;margin-bottom:30px;color:#FFA500;}
.contato-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start;}
.contato-form form{display:flex;flex-direction:column;gap:15px;}
.contato-form label{font-weight:bold;margin-bottom:5px;}
.contato-form input,.contato-form textarea{width:100%;padding:12px;border:1px solid #ccc;border-radius:6px;font-size:16px;box-sizing:border-box;}
.btn-enviar{background:#ff3300;color:#fff;border:none;padding:12px;border-radius:6px;cursor:pointer;font-weight:bold;transition:background 0.3s ease;}
.btn-enviar:hover{background:#cc2900;}
.contato-mapa{border-radius:10px;overflow:hidden;height:100%;}
.contato-mapa iframe{width:100%;height:100%;min-height:350px;border:0;border-radius:10px;}
@media(max-width:900px){.contato-grid{grid-template-columns:1fr;}.contato-mapa{margin-top:30px;}}

/* ------------------------------------------- */
/* -------- Estilos da Página Galeria -------- */
/* ------------------------------------------- */

/* Estilos da galeria Instagram */
.instagram-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    justify-items: center;
    margin-top: 24px;
}

.insta-card {
    width: 100%;
    max-width: 100%;
}

.insta-card img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s;
}

.insta-card img:hover {
    transform: scale(1.05);
}

/* Garante que links e imagens não tenham bordas ou sublinhados azuis */
.insta-card a {
    text-decoration: none; /* Remove o sublinhado */
}

.insta-card a img {
    border: none; /* Remove a borda do link em volta da imagem */
    outline: none; /* Remove o contorno que alguns navegadores criam */
}

/* Botão "Carregar Mais" */
#load-more-btn {
    display: block;
    margin: 30px auto 0;
    padding: 10px 20px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

#load-more-btn:hover {
    background: #fff;
    color: var(--accent);
}

/* Responsividade */
@media(max-width: 768px) {
    .instagram-feed {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    #load-more-btn {
        width: 100%;
    }
}

/* Estilos para o Formulário de Moradores */

.condominio-message {
  padding: 60px 20px;
  text-align: center;
}

.form-section {
  padding: 60px 20px;
  text-align: center;
}

.form-section h2 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 10px;
  text-align: center;
}


.form-section p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 20px auto 40px;
}

#morador-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  background: #222;
  border-radius: 8px;
}

.form-group {
  text-align: left;
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #444;
  background: #333;
  color: #fff;
  border-radius: 6px;
  font-size: 16px;
}

.form-group select:disabled {
  background: #555;
  cursor: not-allowed;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px;
}

.form-check input {
  width: auto;
  margin-top: 5px;
}

/* Alteração dos links - antes e depois */
.form-section a,
.form-check label a {
  color: #ff3300;
  text-decoration: none;
}
.form-section a:hover,
.form-check label a:hover {
  color: #cc2900;
}

.condominio-message {
	margin: 10px;
	color: #E62323;
}


.links-downloads a {
  display: block;
  color: #ff3300;
  background: #333;
  padding: 20px 20px;
  border-radius: 5px;
  text-decoration: none;
  margin-bottom: 10px;
  transition: background 0.3s ease;
}

.links-downloads a:hover {
  background: #444;
}

.btn-enviar {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 25px 30px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2rem;
  transition: background 0.3s ease;
  width: 100%;
}

.btn-enviar:hover {
  background: #cc2900;
}

/* Estilos para a mensagem de status */
.form-status {
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 5px;
  font-weight: bold;
  display: none;
}

.form-status.success {
  background-color: #d4edda;
  color: #155724;
}

.form-status.error {
  background-color: #f8d7da;
  color: #721c24;
}

/* video pagina */


/* Estilos específicos para o vídeo na página do condomínio */
.video-condominio {
  max-width: 1100px;
  margin: 0 auto;
  height: auto;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
}

.video-condominio video {
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0.8; 
}

/* Responsividade para o vídeo em telas menores */
@media (max-width: 768px) {
  .video-condominio {
    height: auto;
  }
}