﻿#quartos {
  padding: 22px 1rem;
  background: #f0f4ff;
}

[data-theme="dark"] #quartos {
  background: var(--background);
}
.promocoes-site {
  padding: 22px 1rem;
  background: #f0f4ff;
  text-align: center;
}

[data-theme="dark"] .promocoes-site {
  background: var(--background);
}


[data-theme="dark"] .hero {
  filter: none !important;
  background-blend-mode: normal !important;
  /* Remove qualquer overlay ou escurecimento */
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');
#quartos {
  padding: 22px 1rem;
  background: var(--background);
}

/* =========================
   VARIÁVEIS
*/
:root {
  --primary: #1E3A8A;   /* Azul escuro */
  --secondary: #FACC15; /* Amarelo vibrante */
  --background: #FFFFFF; /* Branco */
  --text-dark: #334155;
}

[data-theme="dark"] {
  --primary: #0A1A36;
  --secondary: #FFD700;
  --background: #18181B;
  --text-dark: #F3F4F6;
}

/* =========================
   SERVIÇOS
========================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { overflow-x: hidden; height: 100%; }

body {
  font-family: Arial, sans-serif;
  background: var(--background);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.flex { min-width: 0; min-height: 0; }

/* =========================
   CONTAINER RESPONSIVO
========================= */
.container {
  width: 100%;
  padding: 0 1rem;
  margin: 0 auto;
}

@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; max-width: 1280px; } }

/* =========================
   CABEÇALHO
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--primary);
  color: var(--background);
  padding: 10px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header-logo { display: flex; align-items: center; }
.logo { width: auto; height: 48px; }
.logo {
  width: auto;
  height: 48px;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.header-nav { display: none; gap: 15px; }
.header-nav a {
  color: var(--background);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}
.header-nav a:hover { color: white; text-shadow: 4px 4px 8px #000; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}


.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  color: var(--background);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-pontos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: var(--primary);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}
.btn-pontos:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.22);
  filter: brightness(1.05);
}

/* Desktop header */
@media (min-width: 768px) {
  .header-logo { position: absolute; left: 0; }
  .header-container { justify-content: center; }
  .header-nav { display: flex; gap: 20px; }
  .logo {
    height: 60px;
    max-width: 220px;
  }
}
@media (min-width: 1024px) { .header-logo { margin-left: -5rem; } }

/* Mobile header adjustments */
@media (max-width: 767px) {
  .header-container { justify-content: center; }
  .header-logo { justify-content: center; width: 100%; }
  .logo {
    height: 56px;
    max-width: 90vw;
  }
}

/* =========================
   HERO
========================= */
.hero {
  background-image: url('imagens/FRENTE DA POUSADA.jpeg');
  background-repeat: no-repeat;
  background-position: center 35%;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
  padding: 72px 1rem;
  height: auto;
}

.titulo-cursivo {
  font-family: "Great Vibes", cursive;
  font-size: 2.5rem;
  color: #fff;
  text-shadow: 4px 4px 8px #000;
  margin-bottom: 5px;
}

.hero h2 { font-size: 1.5rem; margin: 0 0 20px 0; }

.btn-explore {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
}
.btn-explore:hover { background: var(--secondary); transform: scale(1.05); }

/* Desktop hero */
@media (min-width: 768px) {
  .titulo-cursivo { font-size: 4.8rem; }
  .hero h2 { font-size: 2.5rem; }
  .hero { height: 400px; padding: 0; }
}

/* =========================
   PROMO��ES
========================= */
.promocoes-site {
  padding: 22px 1rem;
  background: #f0f4ff;
  text-align: center;
}

.promocoes-site h2 {
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 30px;
  font-family: "Playfair Display", serif;
  letter-spacing: 0.4px;
}

.promocoes-grid {
  position: relative;
  z-index: 1;
}

.promocao-card {
  background: var(--background);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 14px 16px;
  margin: 8px auto;
  max-width: 260px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.promocao-card:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0,0,0,0.2); }

.promocao-card h3 {
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 8px;
  font-family: "Playfair Display", serif;
  letter-spacing: 0.3px;
  font-weight: 700;
}
.promocao-card p { font-size: 0.95rem; color: var(--text-dark); margin: 4px 0; font-weight: 600; }
.promocao-card p:last-child { font-weight: 700; color: var(--secondary); }
.btn-promo-whats {
  display: inline-block;
  margin-top: 12px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  padding: 10px 12px;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-promo-whats:hover {
  background: #1fb657;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Layout responsivo promo��es */
@media (min-width: 640px) {
  .promocoes-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .promocao-card { flex: 1 1 250px; max-width: 260px; }
}

/* =========================
   QUARTOS
========================= */
#quartos {
  padding: 22px 1rem;
  background: #f0f4ff;
}
#quartos h2 { text-align: center; color: var(--primary); margin-bottom: 30px; }

.quartos-topo {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.quartos-topo h2 {
  margin: 0;
  text-align: left;
}

.disponibilidade-box {
  background: #fff;
  border: 1px solid #dbe4ff;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 4px 10px rgba(30,58,138,0.08);
}

.disponibilidade-box label {
  display: block;
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 8px;
}

.disponibilidade-controles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.disponibilidade-controles input[type="date"] {
  min-height: 40px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0 10px;
  color: var(--text-dark);
  background: #fff;
}

.btn-disponibilidade {
  min-height: 40px;
  border: none;
  border-radius: 8px;
  padding: 0 14px;
  font-weight: bold;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
}

.btn-disponibilidade.secundario {
  background: #e2e8f0;
  color: #1e293b;
}

.btn-disponibilidade:hover {
  filter: brightness(1.05);
}

@media (min-width: 900px) {
  .quartos-topo {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .disponibilidade-box {
    width: min(560px, 100%);
  }
}

.categoria {
  margin: 20px 0 10px;
  color: var(--primary);
  font-size: 1.5rem;
  border-bottom: 3px solid var(--secondary);
  padding-bottom: 5px;
}

.quartos-lista {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  justify-items: center;
}

@media (min-width: 768px) { .quartos-lista { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .quartos-lista { grid-template-columns: repeat(3,1fr); } }

.card-quarto {
  background: var(--background);
  border-radius: 10px;
  border: 1px solid #ddd;
  width: 100%;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.card-quarto:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0,0,0,0.2); }

.card-header.azul {
  background: var(--primary);
  color: var(--background);
  padding: 12px;
  font-weight: bold;
  text-align: center;
  border-radius: 10px 10px 0 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wishlist-btn {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.15);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wishlist-btn:hover {
  transform: translateY(-1px);
  border-color: #cbd5f5;
}

.wishlist-btn.ativo {
  background: #fee2e2;
  border-color: #fecaca;
  color: #dc2626;
}

.wishlist-btn.texto {
  position: static;
  width: auto;
  height: auto;
  padding: 6px 12px;
  gap: 6px;
  font-size: 0.9rem;
}

.card-body { padding: 15px; text-align: center; }

.preco {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  font-weight: bold;
  font-size: 1.6rem;
  padding: 8px 16px;
  border-radius: 20px;
  margin-top: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}
.card-quarto:hover .preco { transform: scale(1.1); }

.btn-reserva.amarelo {
  background: var(--secondary);
  color: var(--primary);
  padding: 10px;
  text-align: center;
  text-decoration: none;
  border-radius: 0 0 10px 10px;
  font-weight: bold;
  transition: background 0.3s ease;
}
.btn-reserva.amarelo:hover { background: #FFD700; }

.observacao.destaque span {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 2px 4px;
  margin: 1px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: bold;
} 

/* =========================
   SOBRE
========================= */
.sobre { padding: 30px 1rem; }
.sobre-container { display: flex; flex-direction: column; gap: 20px; }
.sobre-texto { font-size: 1.2rem; }
.sobre-texto h2 { color: var(--primary); margin-bottom: 15px; font-size: 2rem; }
.sobre-imagem { width: 100%; }
.sobre-mapa { margin-top: 24px; }
.sobre-mapa h3 { color: var(--primary); margin-bottom: 10px; font-size: 1.5rem; }
.sobre-mapa p { margin-bottom: 12px; color: var(--text); }
.mapa-frame { width: 100%; height: 320px; border: 0; border-radius: 14px; box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12); }


@media (min-width: 1024px) {
  .sobre-container { flex-direction: row; justify-content: space-between; align-items: center; gap: 40px; }
  .sobre-texto { flex: 1; max-width: 50%; font-size: 2rem; }
  .sobre-texto h2 { font-size: 3rem; }
  .sobre-imagem { flex: 1; max-width: 70%; }
  .sobre-imagem .carousel { margin: 0 auto; }
  .sobre-imagem .carousel .slides img { max-height: 500px; object-fit: cover; width: 100%; }
  .mapa-frame { height: 380px; }
}

/* =========================
   CARROSSEL
========================= */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.slides { display: flex; transition: transform 0.5s ease-in-out; }
.slides img { width: 100%; flex-shrink: 0; }

.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}
.carousel .prev { left: 10px; }
.carousel .next { right: 10px; }
.carousel button:hover { background: var(--secondary); }

/* =========================
   SERVI�OS
========================= */
.servicos { padding: 50px 1rem; text-align: center; background: #f9f9f9; }
.servicos h2 { color: var(--primary); font-size: 2rem; margin-bottom: 8px; }
.servicos .servicos-intro {
  margin: 0 auto 32px;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.servicos-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}

.servico {
  background: var(--background);
  border-radius: 10px;
  padding: 18px 16px;
  width: 100%;
  max-width: none;
  min-height: 100%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: grid;
  gap: 10px;
  align-content: start;
}
.servico:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.14);
}

.servico .icone {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 4px;
  display: block;
  line-height: 1;
}
.servico h3 {
  color: var(--primary);
  margin: 0;
}
.servico p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-dark);
}

@media (min-width: 560px) {
  .servicos-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .servicos-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

/* =========================
   CHATBOT IA
========================= */
.chatbot-widget[hidden],
.chatbot-panel[hidden],
.chatbot-action[hidden],
.chatbot-widget.is-hidden {
  display: none !important;
}

.chatbot-widget {
  position: fixed;
  right: 20px;
  bottom: 96px;
  z-index: 1100;
  display: grid;
  justify-items: end;
  gap: 12px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.chatbot-toggle {
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, #3156bf 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(30, 58, 138, 0.28);
  padding: 14px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chatbot-avatar {
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 999px;
}

.chatbot-toggle-avatar-wrap {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.chatbot-toggle-avatar {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.22);
}

.chatbot-status-dot {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #22c55e;
  border: 2px solid #fff;
}

.chatbot-toggle-copy {
  display: grid;
  gap: 1px;
  text-align: left;
}

.chatbot-toggle-copy strong {
  font-size: 0.96rem;
  line-height: 1.05;
}

.chatbot-toggle-copy small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
}

.chatbot-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(30, 58, 138, 0.35);
}

.chatbot-toggle-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1rem;
}

.chatbot-panel {
  width: min(380px, calc(100vw - 24px));
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(30, 58, 138, 0.14);
  border-radius: 22px;
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.24);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.chatbot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.08) 0%, rgba(250, 204, 21, 0.16) 100%);
}

.chatbot-header-identidade {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  width: 100%;
}

.chatbot-header-identidade > div {
  min-width: 0;
  flex: 1;
}

.chatbot-header-avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 2px solid rgba(30, 58, 138, 0.16);
  box-shadow: 0 10px 26px rgba(30, 58, 138, 0.16);
}

.chatbot-header strong {
  display: block;
  color: var(--primary);
  font-size: 1rem;
}

.chatbot-header p {
  margin: 4px 0 0;
  color: #475569;
  font-size: 0.9rem;
}

.chatbot-close {
  border: none;
  background: transparent;
  color: #1e293b;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 0 0;
  margin-left: auto;
}

.chatbot-messages {
  display: grid;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
  padding: 16px 18px;
}

.chatbot-action {
  padding: 4px 18px 14px;
}

.chatbot-action a {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid rgba(37, 211, 102, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(37, 211, 102, 0.16), rgba(37, 211, 102, 0.06)),
    #f8fffb;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.chatbot-action a:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 211, 102, 0.44);
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.16);
}

.chatbot-whatsapp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #25d366, #128c4a);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.chatbot-whatsapp-copy {
  display: grid;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.chatbot-whatsapp-copy strong {
  color: #14532d;
  font-size: 0.95rem;
  line-height: 1.2;
}

.chatbot-whatsapp-copy small {
  color: #3f6212;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
}

.chatbot-whatsapp-arrow {
  color: #15803d;
  font-size: 1.4rem;
  line-height: 1;
  transform: translateY(-1px);
}

.chatbot-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.chatbot-row.user {
  justify-content: flex-end;
}

.chatbot-message-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 2px solid rgba(30, 58, 138, 0.08);
}

.chatbot-message {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 18px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.94rem;
}

.chatbot-message.assistant {
  justify-self: start;
  background: #eef4ff;
  color: #1e293b;
  border-bottom-left-radius: 8px;
}

.chatbot-message.user {
  justify-self: end;
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 8px;
}

.chatbot-message.loading {
  opacity: 0.78;
}

.chatbot-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 0 18px 18px;
}

.chatbot-form textarea {
  resize: none;
  min-height: 48px;
  max-height: 140px;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text-dark);
  background: #fff;
}

.chatbot-send {
  align-self: end;
  min-width: 92px;
  min-height: 48px;
  border: none;
  border-radius: 16px;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 800;
  cursor: pointer;
  padding: 0 16px;
}

.chatbot-send:disabled {
  opacity: 0.7;
  cursor: wait;
}

@media (max-width: 767px) {
  .chatbot-widget {
    left: auto;
    right: 20px;
    bottom: 92px;
    width: min(360px, calc(100vw - 24px));
  }

  .chatbot-toggle {
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    gap: 0;
  }

  .chatbot-toggle span:last-child {
    display: none;
  }

  .chatbot-toggle-avatar {
    width: 38px;
    height: 38px;
  }

  .chatbot-status-dot {
    right: 0;
    bottom: 0;
  }

  .chatbot-panel {
    width: 100%;
  }

  .chatbot-form {
    grid-template-columns: 1fr;
  }

  .chatbot-send {
    width: 100%;
  }

  .chatbot-action a {
    width: 100%;
  }
}

/* =========================
   WHATSAPP FLUTUANTE
========================= */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 12px rgba(0,0,0,0.3); }
.whatsapp-icon { width: 35px; height: 35px; }

/* =========================
   RODAP�
========================= */
footer {
  background: var(--primary);
  color: var(--background);
  padding: 20px 1rem;
  margin-top: auto;
}
.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.footer-right { position: absolute; right: 20px; top: 20px; text-align: right; }
.footer-cnpj { margin: 4px 0 0; opacity: 0.88; font-size: 0.95rem; }
.footer-right p { margin: 0; font-weight: bold; }
.footer-nav { margin-top: 10px; }
.footer-nav a {
  color: var(--secondary);
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}
.footer-nav a:hover { color: #FFD700; }

@media (max-width: 767px) {
  .footer-container { align-items: flex-start; text-align: left; }
  .footer-right { position: static; margin-bottom: 8px; text-align: left; }
  .footer-nav { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; width: 100%; align-self:flex-start; }
  .footer-nav a { display: block; margin: 5px 10px 5px 0; padding: 6px 8px; border: 2px solid var(--secondary); border-radius: 6px; background:transparent; text-align:center; font-size:0.95rem; transition: all 0.3s ease; }
  .footer-nav a:hover { background: var(--secondary); color: var(--primary); }
}

/* =========================
   PROMOCOES DESTAQUE (Efeito)
========================= */
.promocoes-site {
  position: relative;
  padding: 24px 1rem;
  background: linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
  overflow: hidden;
}

.promocoes-site::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.28) 0%, rgba(250, 204, 21, 0) 70%);
  top: -60px;
  right: -40px;
  pointer-events: none;
}

.promocoes-site h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
  text-shadow: 0 1px 0 #fff;
}

.promocoes-site h2::after {
  content: "";
  display: block;
  width: 70%;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #1E3A8A 0%, #FACC15 100%);
}

.promocao-card {
  border: 1px solid rgba(30, 58, 138, 0.12);
  border-left: 5px solid var(--secondary);
  animation: promoFadeUp 0.55s ease both;
}

.promocao-card:nth-of-type(2) { animation-delay: 0.08s; }
.promocao-card:nth-of-type(3) { animation-delay: 0.16s; }
.promocao-card:nth-of-type(4) { animation-delay: 0.24s; }

@keyframes promoFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ajustes do botao Programa de pontos */
@media (min-width: 768px) {
  .header-actions { position: absolute; right: 0; }
  .cliente-header .header-actions { right: 0; justify-content: flex-end; }
}
@media (max-width: 767px) {
  .header-container { justify-content: center; flex-wrap: wrap; row-gap: 10px; }
  .header-actions { width: 100%; justify-content: center; }
}

/* =========================
   DARK MODE
========================= */
:root[data-theme="dark"] {
  color-scheme: dark;
  --primary: #8bb3ff;
  --secondary: #facc15;
  --background: #0b1220;
  --text-dark: #e2e8f0;
  --surface: #111827;
  --surface-2: #0f172a;
  --border: #1f2937;
}

:root[data-theme="dark"] body {
  background: var(--background);
}

:root[data-theme="dark"] .site-header {
  background: #0b1424;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

:root[data-theme="dark"] .header-nav a {
  color: var(--text-dark);
}

:root[data-theme="dark"] .btn-pontos {
  background: #1f2937;
  color: var(--secondary);
}

:root[data-theme="dark"] .hero {
  background-image: url('imagens/FRENTE DA POUSADA.jpeg');
  background-blend-mode: normal;
}

:root[data-theme="dark"] .promocoes-site,
:root[data-theme="dark"] .sobre,
:root[data-theme="dark"] .servicos {
  background: transparent;
  color: var(--text-dark);
}

:root[data-theme="dark"] .promocao-card,
:root[data-theme="dark"] .card-quarto,
:root[data-theme="dark"] .disponibilidade-box,
:root[data-theme="dark"] .servico,
:root[data-theme="dark"] .chatbot-panel {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
  color: var(--text-dark);
}

:root[data-theme="dark"] .preco {
  color: #2563eb;
}

:root[data-theme="dark"] .disponibilidade-controles input[type="date"] {
  background: #0f172a;
  border-color: #334155;
  color: #e2e8f0;
  color-scheme: dark;
}

:root[data-theme="dark"] .disponibilidade-controles input[type="date"]:required:invalid,
:root[data-theme="dark"] .disponibilidade-controles input[type="date"]:required:invalid::-webkit-datetime-edit,
:root[data-theme="dark"] .disponibilidade-controles input[type="date"]::-webkit-datetime-edit-text {
  color: #cbd5f5;
}

:root[data-theme="dark"] .disponibilidade-controles input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(1.8);
  opacity: 1;
  color: #cbd5f5;
}

:root[data-theme="dark"] .servicos p,
:root[data-theme="dark"] .sobre-texto,
:root[data-theme="dark"] .sobre-texto p {
  color: #cbd5f5;
}

:root[data-theme="dark"] .chatbot-toggle {
  background: linear-gradient(135deg, #1d4ed8 0%, #0f172a 100%);
  color: #f8fafc;
}

:root[data-theme="dark"] .chatbot-toggle-avatar {
  border-color: rgba(191, 219, 254, 0.24);
}

:root[data-theme="dark"] .chatbot-status-dot {
  border-color: #0f172a;
}

:root[data-theme="dark"] .chatbot-header {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18) 0%, rgba(250, 204, 21, 0.12) 100%);
}

:root[data-theme="dark"] .chatbot-header-avatar,
:root[data-theme="dark"] .chatbot-message-avatar {
  border-color: rgba(148, 163, 184, 0.24);
}

:root[data-theme="dark"] .chatbot-header strong,
:root[data-theme="dark"] .chatbot-chip {
  color: #dbeafe;
}

:root[data-theme="dark"] .chatbot-header p,
:root[data-theme="dark"] .chatbot-message.assistant {
  color: #cbd5f5;
}

:root[data-theme="dark"] .chatbot-chip,
:root[data-theme="dark"] .chatbot-message.assistant {
  background: #0f172a;
  border-color: #334155;
}

:root[data-theme="dark"] .chatbot-close {
  color: #e2e8f0;
}

:root[data-theme="dark"] .chatbot-action a {
  border-color: rgba(74, 222, 128, 0.22);
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(15, 23, 42, 0.42)),
    #0f172a;
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.34);
}

:root[data-theme="dark"] .chatbot-whatsapp-copy strong {
  color: #dcfce7;
}

:root[data-theme="dark"] .chatbot-whatsapp-copy small {
  color: #86efac;
}

:root[data-theme="dark"] .chatbot-whatsapp-arrow {
  color: #4ade80;
}

:root[data-theme="dark"] .chatbot-form textarea {
  background: #0f172a;
  border-color: #334155;
  color: #e2e8f0;
}

:root[data-theme="dark"] footer {
  background: #0f172a;
  color: var(--text-dark);
}

:root[data-theme="dark"] .footer-nav a {
  color: var(--text-dark);
}

:root[data-theme="dark"] .theme-toggle {
  background: rgba(148, 163, 184, 0.16);
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--text-dark);
}
