:root {
  --primario: #3e2723;
  --secundario: #8d6e63;
  --dourado: #c0a97d;
  --fundo: #e6e0dd;
  --fundo-claro: #f9f6f4;
  --fonte: 'Inter', sans-serif;
}

/* Dark mode overrides */
body.dark-mode {
  --primario: #e6e0dd;
  --secundario: #a1887f;
  --dourado: #d7c292;
  --fundo: #121212;
  --fundo-claro: #1e1e1e;
}

body {
  font-family: var(--fonte);
  background-color: var(--fundo);
  color: var(--primario);
  scroll-behavior: smooth;
  line-height: 1.6;
}

section {
  padding: 70px 20px;
  scroll-margin-top: 120px;
}

/* Scroll progress bar */
#scrollBar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--dourado);
  z-index: 9999;
  transition: width 0.25s ease;
}

/* Theme toggle button */
.theme-toggle {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: var(--primario);
  color: var(--dourado);
  border: none;
  font-size: 1.3rem;
  padding: 10px 12px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s;
}
.theme-toggle:hover {
  transform: scale(1.1);
}

/* Hero with background image */
.hero {
  background: url('banner.webp') center/cover no-repeat;
  padding: 120px 20px;
  color: white;
  position: relative;
  min-height: 100vh;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(62, 39, 35, 0.6);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  background-color: transparent;
  padding: 30px;
  animation: fadeUp 1s ease both;
}

/* Buttons */
.btn {
  background: var(--dourado);
  color: var(--primario);
  border: none;
  padding: 12px 25px;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}
.btn:hover {
  background: #b59471;
  color: white;
  transform: translateY(-2px);
}

/* Card base */
.card, .card-servico {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
  text-align: center;
  cursor: pointer;
}
.card:hover, .card-servico:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  border: 1px solid var(--dourado);
}
.card i, .card-servico i {
  font-size: 2rem;
  color: var(--secundario);
  margin-bottom: 10px;
}

/* Serviço description */
.descricao-servico {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 0.9rem;
  margin-top: 10px;
  transition: max-height 0.5s ease, opacity 0.4s ease;
}
.card-servico.ativo .descricao-servico {
  max-height: 300px;
  opacity: 1;
}
.card-servico.ativo {
  background-color: var(--fundo-claro);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
.card-servico.ativo i {
  animation: rotateIn 0.5s ease;
}

@keyframes rotateIn {
  from { transform: rotate(-90deg); opacity: 0; }
  to { transform: rotate(0deg); opacity: 1; }
}

/* Form styles */
form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  transition: border 0.3s;
}
form input:focus,
form textarea:focus {
  border-color: var(--secundario);
  outline: none;
}
form button {
  background-color: var(--primario);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}
form button:hover {
  background-color: var(--secundario);
}

/* Footer */
footer {
  background-color: var(--primario);
  color: white;
  text-align: center;
  padding: 30px;
  font-size: 0.9rem;
}

/* WhatsApp floating */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  font-size: 2rem;
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.3s;
}
.whatsapp:hover {
  transform: scale(1.1);
  text-decoration: none;
}

/* Active nav link */
.nav-link.active {
  color: var(--dourado) !important;
  font-weight: bold;
}

/* Back-to-top button */
.voltar-topo {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: var(--primario);
  color: white;
  font-size: 1.2rem;
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.voltar-topo.show {
  opacity: 1;
  pointer-events: auto;
}
.voltar-topo i {
  font-size: 1.4rem;
  line-height: 1;
  display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    padding: 80px 15px;
  }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .btn { font-size: 1rem; padding: 10px 20px; }
}

#cookieNotice {
  position: fixed;
  bottom: 0;
  background: #f2f2f2;
  padding: 1em;
  width: 100%;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

#cookieNotice.show {
  display: block;
}

#cookieNotice.hidden {
  display: none !important;
}
#blog {
  margin-top: 48px;
  background: rgba(255,255,255,0.96);
  border-radius: 0px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 40px 0;
}
.bg-dica {
  background: #1565c0 !important; /* azul mais escuro */
  color: #fff !important;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(21,101,192,0.12);
}
#contato {
  background: #e6e0dd;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1) grayscale(1) brightness(0.2);
}
.card-dica  {
  min-height: 300px;         /* ajuste conforme necessário */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
