
/* style.css */

body {
  font-family: Arial, sans-serif;
  background-color: #f8d7da;
  color: #333;
  margin: 0;
  padding: 0;
}

header {
  background-color: #f8d7da;
  border-bottom: 2px solid #d4af37;
  position: relative; /* ou position: static; */
  top: 0;
  z-index: 1000;
}

.header-content {
  max-width: 1200px;
  width: 100%;       /* garante que nunca ultrapasse a tela */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px; /* reduz o padding lateral no celular */
  box-sizing: border-box; /* inclui o padding na largura */
}

@media (max-width: 768px) {
  nav ul {
    display: flex;
    flex-direction: column; /* itens empilhados */
    align-items: flex-start;
    gap: 8px;
    padding-left: 0;
  }

  nav ul li {
    margin: 0; /* remove margin horizontal que causava overflow */
  }
}

.logo {
  height: 50px;
}

.site-title {
  font-family: 'Great Vibes', cursive;
  font-size: 28px;
  color: #556b2f;
}

nav ul {
  display: flex;
  gap: 15px;
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color: #556b2f;
  font-weight: bold;
}

nav ul li a:hover {
  color: #d4af37;
}

.hero {
  text-align: center;
  padding: 60px 20px;
  color: #556b2f;
}

.btn {
  background-color: #556b2f;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 25px;
  margin-top: 20px;
  display: inline-block;
}

.btn:hover {
  background-color: #d4af37;
}

section {
  padding: 50px 20px;
}

h2 {
  text-align: center;
  color: #556b2f;
  margin-bottom: 20px;
}

.sobre-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.sobre-img img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  border: 2px solid #d4af37;
}

.sobre-texto {
  flex: 1;
}

.portfolio-item {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  align-items: center;
}

.portfolio-item.reverse {
  flex-direction: row-reverse;
}

.portfolio-item img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  border: 2px solid #d4af37;
}

.portfolio-desc {
  flex: 1;
}

.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-content: center;  /* <<< centraliza os itens da última linha */
}

.catalogo-grid img {
  width: 100%;
  border-radius: 8px;
  border: 2px solid #d4af37;
}

.produto {
  text-align: center;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
}

.agendamento, .contato {
  text-align: center;
}

footer {
  background-color: #f8d7da;
  text-align: center;
  padding: 15px;
  color: #556b2f;
  font-size: 14px;
}

.catalogo-desc {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #444;
}

.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .catalogo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .catalogo-grid {
    grid-template-columns: 1fr;
  }
}

/* Botões de contato */
.btn-whatsapp, .btn-instagram, .btn-tiktok {
  display: inline-block;
  margin: 10px;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.btn-whatsapp {
  background-color: #25D366;
}

.btn-instagram {
  background: linear-gradient(45deg, #fd1d1d, #e1306c, #c13584, #833ab4);
}

.btn-tiktok {
  background-color: #010101;
}

.btn-whatsapp:hover, .btn-instagram:hover, .btn-tiktok:hover {
  opacity: 0.85;
}

/* Seção de Promoções */
.promocoes {
  background-color: #f8d7da;
  padding: 50px 20px;
  text-align: center;
}

.promocoes h2 {
  color: #556b2f;
  margin-bottom: 30px;
}

.promocoes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.promocao {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #d4af37;
  transition: transform 0.3s ease;
}

.promocao:hover {
  transform: scale(1.05);
}

/* Seção de Depoimentos */
.depoimentos {
  background-color: #f8d7da;
  padding: 50px 20px;
  text-align: center;
}

.depoimentos h2 {
  color: #556b2f;
  margin-bottom: 30px;
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.depoimento {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #d4af37;
  font-style: italic;
}

.depoimento span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #556b2f;
}

/* Seção de Equipe */
.equipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 20px;
  text-align: center;
}

.equipe-membro img {
  width: 100%;
  border-radius: 50%;
  border: 2px solid #d4af37;
  max-width: 180px;
}

.equipe-membro p {
  margin-top: 10px;
  color: #556b2f;
}

/* Seção de Espaços */
.espacos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.espacos-grid img {
  width: 100%;
  border-radius: 12px;
  border: 2px solid #d4af37;
  transition: transform 0.3s ease;
}

.espacos-grid img:hover {
  transform: scale(1.05);
}

/* Ajustes de responsividade adicionais */
@media (max-width: 900px) {
  .sobre-flex {
    flex-direction: column;
  }

  .portfolio-item, .portfolio-item.reverse {
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  .hero {
    padding: 40px 10px;
  }

  .btn {
    padding: 10px 20px;
  }
}

.banner-slider {
    position: relative;
    max-width: 100%;
    margin: 0 auto 20px auto;
    overflow: hidden;
    border-radius: 10px;
}

.slide {
    display: none;
    width: 100%;
}

/* Banner menor */
.slide img {
  width: 100%;
  height: auto;          /* altura se ajusta à proporção da imagem */
  max-height: 500px;     /* altura máxima (pra não ficar gigante) */
  object-fit: contain;   /* mostra a imagem inteira */
  border-radius: 10px;
  background: #f8d7da;   /* cor de fundo, caso sobre espaço */
  display: block;
  margin: 0 auto;
}


/* Animação de fade */
.fade {
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* Scroll suave (opcional) */
html { scroll-behavior: smooth; }

/* Botão Voltar ao Início */
.btn-topo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #556b2f;
  color: white;
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: none;            /* escondido por padrão */
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: background 0.2s ease, transform 0.15s ease;
  border: none;
}
.btn-topo:hover { transform: translateY(-3px); background-color: #d4af37; }
.show-btn { display: flex !important; }

/* Polaroid */
.polaroid {
  background: white;
  padding: 10px;
  border: 1px solid #ccc;
  border-bottom: 30px solid #fff; /* borda maior embaixo estilo polaroid */
  box-shadow: 2px 4px 8px rgba(0,0,0,0.2);
  display: inline-block;
  text-align: center;
  border-radius: 6px;
}

.polaroid img {
  width: 200px;       /* largura fixa */
  height: 200px;      /* altura fixa */
  object-fit: cover;  /* corta a imagem mantendo proporção */
  border-radius: 4px;
  margin-bottom: 5px;
}

.polaroid p {
  font-size: 0.9em;
  margin: 0;
  color: #444;
}

/* Ajustar portfólio e serviços para estilo polaroide */
.portfolio-item, .portfolio-item.reverse {
  flex-direction: column !important; /* forçar em coluna */
  align-items: center;
  text-align: center;
}

.portfolio-item img {
  max-width: 220px;
  margin: 0 auto 10px auto;
}

.polaroid, 
.polaroid .portfolio-desc {
    text-align: center;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  justify-content: center; /* <<< já está, mantém */
}

@media (max-width: 900px) {
  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .servicos-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  justify-content: center; /* centraliza última linha */
}

.portfolio-grid .polaroid img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

/* DEPOIMENTOS */

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  justify-content: center; /* centraliza as colunas */
  margin-bottom: 30px; /* espaço antes dos depoimentos de texto */
}

.depoimento {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #d4af37;
  font-style: italic;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.depoimento-img {
  width: 100%;
  max-width: 200px;      /* largura máxima */
  height: auto;           /* altura proporcional */
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 2px solid #d4af37;
}

/* Grid para os depoimentos de texto menores */
.depoimentos-texto {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.depoimentos-texto .depoimento {
  width: 250px;  /* largura menor */
  font-size: 0.9rem; /* texto menor */
}


/* Footer */
.footer {
  background-color: #f8d7da; /* fundo rosa */
  padding: 40px 20px;
  color: #000;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #556b2f;
}

.footer-col p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: #556b2f;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  font-size: 0.9rem;
  text-decoration: none;
  color: white;
  padding: 8px 14px;
  border-radius: 20px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #d4af37; /* dourado */
  padding-top: 15px;
  font-size: 0.85rem;
  color: #333;
}

.footer-bottom a {
  color: #556b2f;
  text-decoration: none;
  font-weight: bold;
}
.footer-bottom a:hover {
  color: #d4af37;
}

.sobre-video {
    position: relative;
    display: inline-block;
}

.sobre-video video {
    width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Chat container */
.chat-container {
  width: 360px;
  max-height: 600px;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  background-color: #f8d7da;

  padding: 10px;       /* Adiciona espaço interno */
  gap: 10px;           /* Espaço entre as seções internas */
}

/* Mensagens */
.chat-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  background-color: #fff0f1; /* rosa clarinho */
}

.message {
  margin: 5px 0;
  padding: 10px 15px;
  border-radius: 20px;
  max-width: 80%;
  word-wrap: break-word;
}

/* Mensagens do bot */
.bot {
  background-color: #d4af37; /* dourado */
  color: #333;
  align-self: flex-start;
}

/* Mensagens do usuário */
.user {
  background-color: #f8c1c7; /* rosa mais forte */
  color: #333;
  align-self: flex-end;
}

/* Input do chat */
.chat-input {
  display: flex;
  border-top: 1px solid #d4af37;
}

.chat-input input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
  font-size: 14px;
  background-color: #fff0f1; /* rosa clarinho */
}

.chat-input button {
  padding: 10px 15px;
  border: none;
  background-color: #d4af37; /* dourado */
  color: #333;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s ease;
}

.chat-input button:hover {
  background-color: #b8952b; /* dourado escuro no hover */
}

/* Botões do chat (opções) */
.chat-option-btn {
  background-color: #d4af37; /* dourado */
  color: #333;
  border: none;
  border-radius: 20px;
  padding: 8px 14px;
  margin: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.chat-option-btn:hover {
  background-color: #b8952b; /* dourado escuro no hover */
  transform: scale(1.05);
}

/* Área de opções e calendário */
#optionsDiv, #calendarDiv {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
  justify-content: center;
}

/* Botões do calendário */
#calendarDiv .chat-option-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  padding: 0;
  font-weight: bold;
  background-color: #f8c1c7; /* rosa mais forte */
}

#calendarDiv .chat-option-btn:hover {
  background-color: #d4af37; /* dourado */
  color: #333;
}

/* Scroll do chat */
#chatMessages {
  max-height: 400px; 
  overflow-y: auto;  
  padding: 10px;
  border: 1px solid #d4af37; /* borda dourada */
  border-radius: 8px;
  background: #fff0f1; /* rosa clarinho */
}

/* Reduz espaçamento antes/depois do agendamento */
.chat-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;   /* reduzido */
  min-height: auto;     /* remove a altura mínima forçada */
}

.lgpd-info {
  background-color: #f8d7da;
  border-top: 1px solid #ddd;
  padding: 12px 16px;
  font-size: 0.85rem;
}

.lgpd-container {
  max-width: 420px;
  margin: 0 auto;
  color: #555;
  text-align: center;
  line-height: 1.4;
}

/* CTA WhatsApp Flutuante */
.cta-whatsapp {
  position: fixed;
  bottom: 90px; /* não cobre o botão de scroll */
  right: 20px;
  background: #25d366;
  color: #fff;
  padding: 14px 20px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 9999;

  /* estado inicial (escondido) */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);

  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* CTA visível após scroll */
.cta-whatsapp.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Hover desktop */
.cta-whatsapp:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

/* Mobile */
@media (max-width: 768px) {
  .cta-whatsapp {
    bottom: 80px;
    right: 50%;
    transform: translateX(50%) translateY(10px);
    width: calc(100% - 30px);
    text-align: center;
    font-size: 1rem;
  }

  .cta-whatsapp.show {
    transform: translateX(50%) translateY(0);
  }

  .cta-whatsapp:hover {
    transform: translateX(50%) translateY(0);
  }
}

/* Avaliação Resumo */
.avaliacao-resumo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin: 20px 0 40px;
  text-align: center;
}

/* Estrelas */
.estrelas-animadas {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 6px;
}

.estrela {
  font-size: 1.4rem;
  color: #d4af37;
  opacity: 0;
  transform: scale(0.6);
}

/* só anima quando ativado */
.depoimentos.animar .estrela {
  animation: estrelaPop 0.5s ease forwards;
}

/* delay em cascata */
.depoimentos.animar .estrela:nth-child(1) { animation-delay: 0.1s; }
.depoimentos.animar .estrela:nth-child(2) { animation-delay: 0.2s; }
.depoimentos.animar .estrela:nth-child(3) { animation-delay: 0.3s; }
.depoimentos.animar .estrela:nth-child(4) { animation-delay: 0.4s; }
.depoimentos.animar .estrela:nth-child(5) { animation-delay: 0.5s; }

@keyframes estrelaPop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Texto */
.avaliacao-nota p {
  font-size: 0.9rem;
  color: #555;
}

/* Contador */
.avaliacao-clientes .clientes-numero {
  font-size: 2rem;
  font-weight: 700;
  color: #556b2f;
}

/* Mobile */
@media (max-width: 768px) {
  .avaliacao-resumo {
    flex-direction: column;
    gap: 25px;
  }
}

/* ===== HERO CTA ===== */
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  margin-top: 1.2rem;
  padding: 14px 28px;

  background: linear-gradient(135deg, #f8c1c7, #fff0f1);
  color: #5a1e2d; /* tom escuro elegante para contraste */

  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;

  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(248, 193, 199, 0.55);

  transition: transform 0.3s ease, box-shadow 0.3s ease,
    filter 0.3s ease;
}

/* Hover desktop */
.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(248, 193, 199, 0.7);
  filter: brightness(0.97);
}

/* Active mobile */
.hero-cta:active {
  transform: scale(0.97);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .hero-cta {
    width: 100%;
    max-width: 320px;
    font-size: 1.05rem;
    padding: 16px 24px;
  }
}
