/* RESET */
*{
  box-sizing:border-box;
  scroll-behavior:smooth;
  margin:0;
  padding:0;
}

/* VARIÁVEIS */


/* BODY */


/* HEADER */
header{
  position:fixed;
  top:0;
  width:100%;
  background:var(--bg-color);
  padding:15px 20px;
  z-index:1000;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid rgba(255,255,255,0.05);
  backdrop-filter:blur(8px);
}

.logo{
  font-weight:800;
  font-size:22px;
  color:var(--main-color);
}

/* MENU HAMBURGER PREMIUM */
.menu-btn{
  width:28px;
  height:18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  cursor:pointer;
}

.menu-btn span{
  height:2px; /* mais fino */
  background:var(--main-color);
  border-radius:20px;
  transition:0.3s;
}

.menu-btn:hover span{
  background:#ff3b3b;
  transform:scaleX(1.1);
}

/* NAV */
nav{
  display:none;
  position:absolute;
  top:60px;
  right:0;
  background:var(--bg-color);
  width:220px;
  border-left:1px solid rgba(255,255,255,0.05);
}

nav a{
  display:block;
  padding:14px;
  color:var(--text-color);
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,0.05);
  transition:0.3s;
}

nav a:hover{
  background:var(--main-color);
  color:white;
}

/* HERO */
.hero{
  padding:140px 20px 80px;
  text-align:center;
}

.hero-logo{
  height:95px;
  margin-bottom:18px;
}

.hero h1{
  font-size:38px;
  font-weight:800;
}

.hero span{
  color:var(--main-color);
}

.hero p{
  max-width:600px;
  margin:auto;
  opacity:.85;
  font-size:18px;
}

/* BOTÃO PRINCIPAL */
.cta-btn{
  display:inline-block;
  margin-top:25px;
  padding:14px 28px;
  background:var(--main-color);
  color:white;
  text-decoration:none;
  border-radius:30px;
  font-weight:700;
  transition:0.3s;
  box-shadow:0 0 15px rgba(225,6,0,0.4);
}

.cta-btn:hover{
  transform:scale(1.1);
  box-shadow:0 0 25px var(--main-color);
}

/* SEÇÕES */
.secao{
  padding:80px 20px;
  text-align:center;
}

.secao h2{
  font-size:30px;
  font-weight:800;
}

.secao p{
  max-width:750px;
  margin:auto;
  opacity:.85;
}

.destaque{
  color:var(--main-color);
  font-weight:700;
}

/* GRID */
.servicos-grid,
.links-grid,
.avaliacoes-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
  margin-top:35px;
}

/* CARDS */
.servico-card,
.link-box,
.avaliacao-card{
  background:var(--card-bg);
  padding:20px;
  border-radius:16px;
  transition:0.3s;
}

.servico-card:hover,
.avaliacao-card:hover{
  transform:translateY(-6px);
  box-shadow:0 0 20px rgba(225,6,0,0.2);
}

.servico-card img{
  width:100%;
  border-radius:12px;
}

.link-box{
  border:2px solid var(--main-color);
  color:var(--text-color);
  text-decoration:none;
  font-weight:700;
}

.link-box:hover{
  background:var(--main-color);
  color:white;
  transform:scale(1.08);
}

.estrelas{
  color:gold;
}

/* FOOTER */
footer{
  background:var(--bg-color);
  padding:100px 20px 40px;
  text-align:center;
}

.email-icon{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  width:60px;
  height:60px;
  border-radius:50%;
  border:2px solid var(--main-color);
  color:var(--main-color);
  text-decoration:none;
  margin-top:20px;
  transition:0.3s;
}

.email-icon svg{
  width:28px;
  height:28px;
  fill:currentColor;
}

.email-icon:hover{
  background:var(--main-color);
  color:white;
  transform:scale(1.1);
}


.theme-btn:hover{
  background:var(--main-color);
  color:white;
}
/* CHAT/FAQ FLUTUANTE */
.chat-container{
  position:fixed;
  bottom:25px;
  right:25px;
  z-index:9999;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
}

/* BOTÃO REDONDO */
.chat-btn{
  width:60px;
  height:60px;
  border-radius:50%;
  background:var(--main-color);
  color:white;
  font-size:28px;
  display:flex;
  justify-content:center;
  align-items:center;
  cursor:pointer;
  box-shadow:0 0 15px rgba(0,0,0,0.3);
  transition:0.3s;
}

.chat-btn:hover{
  transform:scale(1.1);
  box-shadow:0 0 25px rgba(0,0,0,0.5);
}

.chat-btn span.material-icons{
  font-size:28px;
}

/* CAIXA FAQ ESCONDIDA */
.chat-box{
  background:#111; /* igual aos cards */
  border:1px solid rgba(255,255,255,0.1);
  border-radius:16px;
  padding:15px;
  margin-bottom:10px;
  width:260px;
  display:none; /* inicialmente escondida */
  flex-direction:column;
  box-shadow:0 0 20px rgba(0,0,0,0.3);
}

/* MOSTRA A CAIXA QUANDO O INPUT ESTÁ MARCADO */
.chat-toggle:checked + .chat-btn + .chat-box{
  display:flex;
}

/* ESTILO FAQ */
.chat-box h3{
  margin:0 0 10px 0;
  font-size:18px;
  color:var(--main-color);
  text-align:center;
}

.faq-list{
  list-style:none;
  padding:0;
  margin:0;
}

.faq-list li{
  margin-bottom:12px;
}

.faq-list li strong{
  display:block;
  font-size:14px;
  margin-bottom:3px;
}

.faq-list li p{
  margin:0;
  font-size:13px;
  opacity:0.85;
  line-height:1.4;
}

/* INPUT INVISÍVEL */
.chat-toggle{
  display:none;
}
/* ANIMAÇÃO DE ENTRADA */
.reveal {
  opacity: 0;          /* invisível inicialmente */
  transform: translateY(30px); /* desce 30px */
  transition: all 0.7s ease-out; /* suaviza a animação */
}

.reveal.active {
  opacity: 1;          /* fica visível */
  transform: translateY(0); /* volta para a posição original */
}
/* CARROSSEL DE AVALIAÇÕES */
.avaliacoes-wrapper {
  overflow-x: auto;          /* permite arrastar */
  padding: 20px 0;
  scroll-behavior: smooth;
}

.avaliacoes-slider {
  display: flex;
  gap: 25px;
  width: max-content;
  padding-bottom: 10px;
  animation: scroll-left 10s linear infinite; /* animação automática */
}

.avaliacao-card {
  flex: 0 0 300px;
  background: #111;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;   /* centraliza estrelas e texto */
  text-align: center;
}

.avaliacao-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.avaliacao-card p {
  font-size: 15px;
  margin: 10px 0;
  opacity: 0.9;
}

.cliente {
  font-weight: 700;
  color: var(--main-color);
  font-size: 14px;
}

.estrelas {
  color: gold;
  font-size: 20px;
  margin-bottom: 10px;
}

/* animação automática do slider */
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* desliza metade da largura para dar loop */
}

/* esconder barra de rolagem no desktop */
.avaliacoes-wrapper::-webkit-scrollbar {
  display: none;
}
.avaliacoes-wrapper {
  -ms-overflow-style: none;  
  scrollbar-width: none;  
}
/* BOTÃO DO FAQ / CHAT */
.chat-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--main-color);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 32px;
  z-index: 10000;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

/* CÍRCULO PULSANTE */
.chat-btn::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(186,24,27,0.5); /* cor do halo */
  animation: pulse 1.5s infinite;
  z-index: -1; /* atrás do botão */
}

/* Animação do halo */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}

/* Efeito hover opcional */
.chat-btn:hover {
  transform: scale(1.2);
}
/* BOTÃO CHAT */
.chat-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--main-color);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 32px;
  z-index: 10000;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.chat-btn:hover {
  transform: scale(1.2);
}

/* CAIXA DE CHAT */
.chat-box {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 320px;
  max-height: 450px;
  background: #111;
  color: white;
  border-radius: 16px;
  display: none;
  flex-direction: column;
  z-index: 9999;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  overflow: hidden;
  font-family: 'Outfit', sans-serif;
}

/* Exibe quando toggle marcado */
.chat-toggle:checked ~ .chat-box {
  display: flex;
}

/* CABEÇALHO */
.chat-header {
  background: var(--main-color);
  padding: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}

/* MENSAGENS */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* MENSAGENS DO BOT */
.bot-msg {
  background: #222;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  align-self: flex-start;
  max-width: 85%;
  animation: fadeIn 0.3s ease;
}

/* MENSAGENS DO USUÁRIO (PERGUNTA) */
.user-msg {
  background: var(--main-color);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  color: white;
  align-self: flex-end;
  max-width: 85%;
  animation: fadeIn 0.3s ease;
}

/* FAQ BOTÕES */
.faq-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
}

.faq-btn {
  background: var(--main-color);
  color: white;
  border: none;
  padding: 8px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-btn:hover {
  background: #ff4b4b;
  transform: scale(1.05);
}

/* ANIMAÇÃO DE FADE */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-container{position:fixed;bottom:30px;right:30px;z-index:10000;}
.chat-btn{background:var(--main-color);color:white;width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:32px;box-shadow:0 5px 15px rgba(0,0,0,0.3);transition:transform 0.3s ease;}
.chat-btn:hover{transform:scale(1.2);}
.chat-box{position:fixed;bottom:100px;right:30px;width:320px;max-height:450px;background:#111;color:white;border-radius:16px;display:none;flex-direction:column;box-shadow:0 8px 25px rgba(0,0,0,0.5);overflow:hidden;font-family:'Outfit',sans-serif;}
.chat-toggle:checked ~ .chat-box{display:flex;}
.chat-header{background:var(--main-color);padding:12px;text-align:center;font-weight:700;font-size:16px;}
.chat-messages{flex:1;overflow-y:auto;padding:10px;display:flex;flex-direction:column;gap:8px;}
.bot-msg{background:#222;padding:10px 12px;border-radius:12px;font-size:14px;align-self:flex-start;max-width:85%;animation:fadeIn 0.3s ease;}
.user-msg{background:var(--main-color);padding:10px 12px;border-radius:12px;font-size:14px;color:white;align-self:flex-end;max-width:85%;animation:fadeIn 0.3s ease;}
.faq-options{display:flex;flex-direction:column;gap:6px;padding:10px;}
.faq-btn{background:var(--main-color);color:white;border:none;padding:8px 10px;border-radius:12px;cursor:pointer;transition:all 0.2s ease;}
.faq-btn:hover{background:#ff4b4b;transform:scale(1.05);}
@keyframes fadeIn{from {opacity:0;transform:translateY(5px);} to {opacity:1;transform:translateY(0);}}
.chat-container{position:fixed;bottom:30px;right:30px;z-index:10000;}
.chat-btn{background:var(--main-color);color:white;width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:32px;box-shadow:0 5px 15px rgba(0,0,0,0.3);transition:transform 0.3s ease;}
.chat-btn:hover{transform:scale(1.2);}
.chat-box{position:fixed;bottom:100px;right:30px;width:320px;max-height:450px;background:#111;color:white;border-radius:16px;display:none;flex-direction:column;box-shadow:0 8px 25px rgba(0,0,0,0.5);overflow:hidden;font-family:'Outfit',sans-serif;}
.chat-toggle:checked ~ .chat-box{display:flex;}
.chat-header{background:var(--main-color);padding:12px;text-align:center;font-weight:700;font-size:16px;}
.chat-messages{flex:1;overflow-y:auto;padding:10px;display:flex;flex-direction:column;gap:8px;}
.bot-msg{background:#222;padding:10px 12px;border-radius:12px;font-size:14px;align-self:flex-start;max-width:85%;animation:fadeIn 0.3s ease;}
.user-msg{background:var(--main-color);padding:10px 12px;border-radius:12px;font-size:14px;color:white;align-self:flex-end;max-width:85%;animation:fadeIn 0.3s ease;}
.faq-options{display:flex;flex-direction:column;gap:6px;padding:10px;}
.faq-btn{background:var(--main-color);color:white;border:none;padding:8px 10px;border-radius:12px;cursor:pointer;transition:all 0.2s ease;}
.faq-btn:hover{background:#ff4b4b;transform:scale(1.05);}
@keyframes fadeIn{from {opacity:0;transform:translateY(5px);} to {opacity:1;transform:translateY(0);}}
/* CHAT */
.chat-container {position:fixed;bottom:30px;right:30px;z-index:10000;}
.chat-btn {
  background:var(--main-color);
  color:white;
  width:60px;
  height:60px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:32px;
  box-shadow:0 5px 15px rgba(0,0,0,0.3);
  transition:transform 0.3s ease;
}
.chat-btn:hover {transform:scale(1.2);}
.chat-box {
  position:fixed;
  bottom:100px;
  right:30px;
  width:320px;
  max-height:450px;
  background:#111;
  color:white;
  border-radius:16px;
  display:none;
  flex-direction:column;
  box-shadow:0 8px 25px rgba(0,0,0,0.5);
  overflow:hidden;
  font-family:'Outfit',sans-serif;
}
.chat-toggle:checked ~ .chat-box {display:flex;}
.chat-header {
  background:var(--main-color);
  padding:12px;
  text-align:center;
  font-weight:700;
  font-size:16px;
}
.chat-messages {
  flex:1;
  overflow-y:auto;
  padding:10px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.bot-msg {
  background:#222;
  padding:10px 12px;
  border-radius:12px;
  font-size:14px;
  align-self:flex-start;
  max-width:85%;
  animation:fadeIn 0.3s ease;
}
.user-msg {
  background:var(--main-color);
  padding:10px 12px;
  border-radius:12px;
  font-size:14px;
  color:white;
  align-self:flex-end;
  max-width:85%;
  animation:fadeIn 0.3s ease;
}
.faq-options {
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:10px;
}
.faq-btn {
  background:var(--main-color);
  color:white;
  border:none;
  padding:8px 10px;
  border-radius:12px;
  cursor:pointer;
  transition:all 0.2s ease;
}
.faq-btn:hover {
  background:#ff4b4b;
  transform:scale(1.05);
}
@keyframes fadeIn {
  from {opacity:0;transform:translateY(5px);}
  to {opacity:1;transform:translateY(0);}
}
.faq-btn {
  display: flex;          /* deixa o botão em linha flexível */
  align-items: center;    /* centraliza verticalmente ícone e texto */
  gap: 8px;               /* espaço entre ícone e texto */
}

.faq-btn .material-icons {
  font-size: 29px;        /* tamanho do ícone */
  color: white;           /* cor do ícone */
  flex-shrink: 0;         /* não deixa o ícone encolher */
}
footer {
  background: #000;
  padding: 40px 20px;
  color: white;
}

footer .email-icon svg {
  width: 24px;   /* tamanho menor */
  height: 24px;
  display: block;
  margin-bottom: 12px; /* espaço entre ícone e menu */
}

footer .footer-menu {
  display: flex;
  flex-direction: column; /* empilha links verticalmente */
  gap: 8px;               /* espaço entre links */
  margin-bottom: 20px;    /* espaço entre menu e créditos */
  text-align: left;        /* alinha à esquerda */
}

footer .footer-menu a {
  color: white;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.3s;
}

footer .footer-menu a:hover {
  color: var(--main-color); /* muda a cor ao passar o mouse */
}

footer p {
  margin: 0;
  font-size: 12px;
  text-align: left; /* créditos alinhados à esquerda */
}
/* Caixa do ícone de e-mail */
footer .email-icon .email-box {
  width: 40px;                 /* tamanho do quadrado */
  height: 40px;
  background: #555;             /* cinza médio */
  display: flex;
  align-items: center;          /* centraliza verticalmente */
  justify-content: center;      /* centraliza horizontalmente */
  border-radius: 6px;           /* cantos levemente arredondados */
  margin-bottom: 12px;          /* espaço entre caixa e mini-menu */
}

footer .email-icon svg {
  width: 20px;                  /* ícone menor */
  height: 20px;
  fill: white;                  /* ícone branco */
}
footer .email-icon {
  background: none !important;   /* remove qualquer fundo antigo */
  border: none !important;       /* remove borda ou círculo antigo */
  padding: 0;                    /* remove padding extra */
  display: inline-block;         /* mantém alinhamento correto */
}
.instagram-box {
  width: 40px;
  height: 40px;
  background: #555;           /* quadrado cinza */
  display: flex;
  align-items: center;
  justify-content: center;    /* centraliza o ícone */
  border-radius: 6px;
  margin-bottom: 12px;        /* espaço entre elementos */
}
.chat-btn {
  -webkit-tap-highlight-color: transparent; /* remove o cinza no Android */
  outline: none;
  border: none;
}

.chat-btn:focus,
.chat-btn:active {
  outline: none;
  box-shadow: none;
}
/* ANIMAÇÃO AO ROLAR */
.scroll-anim {
  opacity: 0;
  transform: translateY(35px);
  transition: all 0.5s ease-out;
}

.scroll-anim.active {
  opacity: 1;
  transform: translateY(0);
}

.divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  margin: 40px 0;
}
