
:root{
  --accent:#f05a28;
  --dark:#0f1724;
  --muted:#6b7280;
  --radius:12px;
}


*{box-sizing:border-box}
body{font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial; margin:0;color:var(--dark);background:#fff}
.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,#fff,#fff);position:sticky;top:0;z-index:50;box-shadow:0 1px 6px rgba(16,24,40,.06)}

/* 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}
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;    /* distância da parte inferior */
    right: 20px;     /* distância da lateral direita */
    width: 65px;
    height: 65px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 999;
    transition: transform 0.2s ease;
}

.whatsapp-float img {
    width: 38px;
    height: 38px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.map-container {
    width: 100%;
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}


/* Botão hamburguer (oculto em telas grandes) */


/* Menu fechado no mobile */






/*//////////////////////////////////////////////////////*/
#chat-icon {
  position: fixed;
  bottom: 95px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  z-index: 1000;
}

#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 {
  border: none;
  border-top: 1px solid #eee;
  padding: 10px;
  width: 100%;
}

/*/////////////////////////////////////////////////*/

#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.4s 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;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .block-with-image .block-inner {
    flex-direction: column;
    text-align: center;
  }

  .block-with-image img {
    width: 100%;
  }

  .block-with-image .text {
    width: 100%;
  }
}


/*-----------------------------------*/

/* BOTÃO LATERAL FIXO */
.menu-toggle {
  position: fixed;
  top: 50%;
  right: 0; /* 👉 se quiser do lado esquerdo troque para: left: 0 */
  transform: translateY(-50%);
  background: #007bff;
  color: #fff;
  border-radius: 10px 0 0 10px;
  padding: 12px 16px;
  font-size: 22px;
  cursor: pointer;
  z-index: 9999;
  transition: 0.3s;
  border: none;
}

.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); }

/* ----- PAINEL LATERAL (MENU) ----- */
.menu {
  position: fixed;
  top: 0;
  right: -320px; /* escondido inicialmente */
  width: 320px;
  height: 100vh;
  background: #fff;
  box-shadow: -6px 0 24px rgba(0,0,0,0.18);
  padding: 28px 20px;
  transition: right .28s cubic-bezier(.2,.9,.2,1);
  z-index: 9998;
  overflow-y: auto;
}

/* Quando aberto */
.menu.open {
  right: 0;
}

/* Botão de fechar dentro do menu */
.menu-close {
  background: transparent;
  border: none;
  font-size: 20px;
  position: absolute;
  top: 12px;
  left: 12px;
  cursor: pointer;
}

/* Lista do menu */

.main-nav.open {
    right: 0;   /* aparece deslizando */
}
/*--------------------------------------------------*/
.main-nav {
    position: fixed;
    top: 0;
    right: -250px;   /* escondido fora da tela */
    width: 250px;
    height: 100vh;
    background: #fff;
    /* ⬅ AQUI: espaço para o botão */
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: left 0.3s ease;
    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: column; /* volta ao normal no mobile */
  }
}



/* 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);
}