.whatsapp-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;

  display: flex;
  align-items: center;
  gap: 10px;

  z-index: 9999;
}

/* Ícone */
.whatsapp-float {
  width: 66px;
  height: 66px;
  background: transparent;
  border-radius: 50%;

  
}

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

/* Balão */
.whatsapp-callout {
  background: #25D366;
  color: #fff;

  padding: 10px 14px;
  border-radius: 12px;

  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;

  box-shadow: 0 4px 12px rgba(0,0,0,0.25);

  animation: slideIn 0.6s ease;
}

/* Animação de entrada */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


:root{
  --accent:#f05a28;
  --dark:#0f1724;
  --muted:#6b7280;
  --radius:12px;
}


* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  margin: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color: var(--dark);
  background-color: #f6eef2; /* branco rosado de fallback */
}

/* Fundo fixo estável */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../webp/fundo_7.webp") center / cover no-repeat;
  z-index: -1;
}



.container{max-width:1100px;margin:0 auto;padding:24px}
.header-inner{display:flex;align-items:center;gap:20px;justify-content:space-between}
.logo{font-weight:700;color:var(--dark);text-decoration:none}
.logo span{font-weight:400;color:var(--accent)}
.main-nav a{margin:0 10px;text-decoration:none;color:var(--dark)}
.btn-whatsapp{background:var(--accent);color:#fff;padding:10px 14px;border-radius:8px;text-decoration:none}

.site-header {
  background: linear-gradient(
    90deg,
    rgba(255, 235, 240, 0.75),
    #ffffff
  );
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 6px rgba(16, 24, 40, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* hero */
.hero{padding:60px 0;background:linear-gradient(180deg, #f8fafc 0%, #ffffff 100%)}
.hero-inner{display:grid;grid-template-columns:1fr 420px;gap:24px;align-items:center}
.hero-text h1{font-size:32px;line-height:1.06;margin:0 0 12px}
.hero-text p{color:var(--muted);margin-bottom:18px}
.btn{display:inline-block;padding:12px 18px;border-radius:10px;text-decoration:none}
.btn.primary{background:var(--accent);color:#fff}
.btn.ghost{border:1px solid #e6e7eb;color:var(--dark)}
.hero-image{height:300px;border-radius:14px;background-image:url('https://smartpower.site/wp-content/uploads/2024/10/worker.jpg');background-size:cover;background-position:center}

/* services */
.section{padding:48px 0}
.services .lead{color:var(--muted);max-width:720px}
.cards{display:flex;gap:18px;margin-top:20px}
.card{background:#fff;border-radius:12px;padding:18px;box-shadow:0 6px 20px rgba(15,23,42,0.06);flex:1}
.card h3{margin:0 0 8px}

/* contact */
.contact-inner{display:grid;grid-template-columns:1fr 360px;gap:24px;align-items:start}
.contact-form{background:#fff;padding:20px;border-radius:12px;box-shadow:0 6px 18px rgba(16,24,40,.04)}
.contact-form label{display:block;margin-bottom:12px;color:var(--dark);font-size:14px}
.contact-form input,.contact-form textarea{width:100%;padding:10px;border-radius:8px;border:1px solid #e6e7eb}
.form-actions{display:flex;gap:10px;align-items:center;margin-top:8px}
.btn-whatsapp.small{background:transparent;border:1px solid #e6e7eb;padding:8px 10px;border-radius:8px;text-decoration:none}
.contact-info{padding:10px}
.info-list{list-style:none;padding:0;margin:12px 0}
.info-list li{margin-bottom:6px;color:var(--muted)}
.socials a{display:inline-block;margin-right:8px;text-decoration:none;border-bottom:1px dashed transparent}

.site-footer{background:#e1860f;padding:18px 0;margin-top:40px;border-top:1px solid #f1f5f9}
.footer-inner{display:flex;justify-content:space-between;align-items:center}

/* responsive */
@media (max-width:900px){
  .hero-inner{grid-template-columns:1fr}
  .hero-image{height:220px}
  .contact-inner{grid-template-columns:1fr}
  .cards{flex-direction:column}
  .main-nav{display:none}
}


/* Botão hamburguer (oculto em telas grandes) */


/* Menu fechado no mobile */



#chat-icon {
  position: fixed;
  bottom: 95px;
  right: 7px;
  width: 80px;
  height: 80px;
  cursor: pointer;
  z-index: 1000;
  border-radius: 50%;

}

#chat-icon lottie-player {
  width: 100%;
  height: 100%;

}

#chat-box {
  position: fixed;
  bottom: 170px;
  right: 20px;
  width: 280px;
  height: 340px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
}

#chat-header {
  background: var(--accent);
  padding: 12px;
  color: #fff;
  text-align: center;
  font-weight: bold;
}

#chat-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  font-size: 14px;
}

#chat-input {
  flex: 1;                    /* ocupa o espaço */
  border: none;
  border-top: 1px solid #eee;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
}

#chat-bt {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#chat-bt:hover {
  background: #cf6d0c; /* ajuste se quiser */
}

.linha {
  display: flex;
  align-items: center;
  padding: 8px;
  gap: 8px;
  border-top: 1px solid #eee;
}


/*/////////////////////////////////////////////////*/

#exit-popup {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  top: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

#exit-popup .popup-content {
  background: #fff;
  padding: 25px;
  width: 320px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

#exit-popup h2 {
  margin-top: 0;
  color: #d63031;
}

.popup-btn {
  display: block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 12px;
  margin-top: 15px;
  border-radius: 8px;
  font-weight: bold;
}

#close-popup {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  cursor: pointer;
  color: #555;
}
.alerta {
  animation: fastBlink 0.9s infinite;
}

@keyframes fastBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}


/*/////////////////////////////////////////////////////////

#google-reviews {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.review-box {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.review-stars {
  color: #f1c40f;
  font-size: 20px;
}

.review-author {
  font-weight: bold;
  margin-bottom: 6px;
}
///////////////////////////////////////////////////////////////////
*/
.review-box {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 18px;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.review-stars {
  color: #f4b400;
  font-size: 18px;
  margin: 6px 0;
}

.review-text {
  margin: 10px 0;
}

.review-link {
  font-size: 14px;
  color: #1a73e8;
  text-decoration: none;
}

.review-link:hover {
  text-decoration: underline;
}

/*///////////////instagram-photos////////////*/
           /* Estilos básicos de layout */
        
        .carousel-section { padding: 40px 20px; max-width: 1200px; margin: 0 auto; }
        .carousel-title { text-align: center; color: #007bff; margin-bottom: 30px; }

        /* Estilo para as Imagens no Carrossel */
        .carousel-img {
            width: 100%; /* Garante que a imagem preencha o item do carrossel */
            height: auto;
            display: block;
            border-radius: 8px; 
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        /* Estrutura do Carrossel (CRÍTICO!) */
        .carousel-container {
            position: relative;
            overflow: hidden; /* Esconde as imagens que estão fora da vista */
        }
        .carousel-wrapper {
            display: flex; /* CRÍTICO: Faz com que os itens fiquem lado a lado */
            transition: transform 0.5s ease-in-out; /* Transição suave */
        }
        .carousel-item {
            flex: 0 0 33.333%; /* CRÍTICO: Ocupa exatamente 1/3 do container (mostra 3 por vez) */
            padding: 0 10px;
            box-sizing: border-box;
        }

        /* Estilos dos Botões de Navegação */
        .carousel-nav {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
            pointer-events: none; /* Permite clicar nos botões */
        }
        .nav-button {
            background: rgba(0, 0, 0, 0.6);
            color: white;
            border: none;
            padding: 15px 10px;
            cursor: pointer;
            z-index: 10;
            opacity: 0.8;
            transition: opacity 0.3s;
            pointer-events: all; /* Ativa o clique */
            border-radius: 5px;
            font-size: 20px;
        }
        .nav-button:hover { opacity: 1; }
        .nav-button#prev { margin-left: 20px; }
        .nav-button#next { margin-right: 20px; }
        
        /* Ajuste para responsividade */
        @media (max-width: 768px) {
            .carousel-item {
                flex: 0 0 50%; /* Mostrar 2 por vez */
            }
        }
        @media (max-width: 500px) {
            .carousel-item {
                flex: 0 0 100%; /* Mostrar 1 por vez */
            }
            .carousel-nav { top: 75%; }
        }

        /*--------------------------------------------------*/
/* ================================
   SEÇÕES COM IMAGEM AO LADO DO TEXTO
   ================================ */
.block-with-image .block-inner {
  display: flex;
  align-items: center;
  gap: 35px;
  margin-top: 40px;
}

.block-with-image .text {
  flex: 1;
}

.block-with-image img {
  width: 45%;
  max-width: 420px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  object-fit: cover;
}

/*-----------------------------------*/

/* BOTÃO LATERAL FIXO */

#chat-box { display: none; }
#chat-box.open { display: flex; }

.menu-toggle:hover {
  background: #005fcc;
}

/* MENU LATERAL */
/* ----- BOTÃO LATERAL ----- */
.menu-toggle {
  position: fixed;
  top: 50%;
  right: 0; /* trocar para left:0; se quiser do lado esquerdo */
  transform: translateY(-50%);
  background: var(--accent); /* usa sua variável já definida */
  color: #fff;
  border-radius: 10px 0 0 10px;
  padding: 12px 16px;
  font-size: 22px;
  cursor: pointer;
  z-index: 9999;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 64px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: transform .18s ease, background .18s ease;
}

.menu-toggle:hover { transform: translateY(-50%) scale(1.03); }

.menu-toggle.hide {
  opacity: 0;
  pointer-events: none;
}


#chat-icon {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#chat-icon:hover {
  transform: scale(1.05);
}

#chat-icon.hide {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
}


/* ----- PAINEL LATERAL (MENU) ----- */


/* Lista do menu */

.main-nav.open {
    right: 0;   /* aparece deslizando */
}
/*--------------------------------------------------*/
.main-nav {
  position: fixed;
  top: 50%;
  right: -240px;          /* escondido fora da tela */
  transform: translateY(-50%);
  width: 240px;
  max-height: 70vh;

  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-radius: 16px 0 0 16px;
  box-shadow: -6px 0 20px rgba(0,0,0,0.18);

  padding: 24px 20px 20px 20px;

  display: flex;
  flex-direction: column;
  gap: 14px;

  transition: right 0.3s cubic-bezier(.2,.9,.2,1);
  z-index: 999;
}


/* Ajuste para telas pequenas */
@media (max-width: 420px) {
  .menu { width: 100%; right: -100%; }
  .menu.open { right: 0; }
  .menu-toggle { width: 48px; height: 56px; font-size: 18px; }
}

/*------------------------------------------------*/

.nada {
  position: relative;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -1; /* coloca o vídeo atrás */
  opacity: 0.45; /* pode ajustar */
}
.nada::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.45);
  z-index: -1;
}
.reverso {
  display: flex;
  flex-direction: row-reverse; /* INVERTE: imagem esquerda, texto direita */
  align-items: center;
  gap: 30px; /* espaço entre imagem e texto */
}


@media (max-width: 768px) {
  .reverso {
    flex-direction: row-reverse; /* mantém lado a lado */
    gap: 16px;
  }
}




/* No arquivo style.css: */
.logo {
  font-weight: 700; /* Pode remover se for usar imagem */
  color: var(--dark);
  text-decoration: none;
}

.logo span {
  font-weight: 400; /* Pode remover se for usar imagem */
  color: var(--accent);
}



@media (max-width: 768px) {

  .section {
    padding: 40px 0;
  }

  .block-with-image .block-inner {
    gap: 20px;          /* menos espaço */
  }

  .block-with-image h2 {
    font-size: 1.4rem;  /* título menor */
  }

  .block-with-image p {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .block-with-image img {
    max-width: 45%;     /* imagem menor, mas na mesma posição */
  }
}


/*ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo*/
/* ================================
   VIDEO CALL - PADRÃO SMART POWER
================================ */



/* ===== USER MENU ===== */

.user-area {
  position: relative;
}

/* botão padrão */
.btn-user {
  background: transparent;
  border: 1px solid #e5e7eb;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
}

/* dropdown */
.dropdown {
  position: absolute;
  right: 0;
  top: 45px;

  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);

  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);

  width: 200px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dropdown a {
  padding: 12px;
  text-decoration: none;
  color: #111;
  font-size: 14px;
  border-bottom: 1px solid #eee;
}

.dropdown a:hover {
  background: #f5f5f5;
}

.hidden {
  display: none;
}