/*
===============================================================================
 ARQUIVO: style.css
 PROJETO: Pimenta Recepções e Eventos
-------------------------------------------------------------------------------
 Este arquivo controla toda a aparência do site.

 MAPA RÁPIDO:
 1. Variáveis e configuração geral
 2. Botões e componentes
 3. Cabeçalho / navegação
 4. Página inicial
 5. Calendário
 6. Reservas / filtros
 7. Galeria / feedbacks
 8. Modais / formulários
 9. Notificações
10. Responsividade para celular
===============================================================================
*/

/* ============================================================
   PIMENTA RECEPÇÕES — ESTILO PRINCIPAL
   Corrigido e consolidado para funcionar no Live Server.
   ============================================================ */

:root {
  --red: #c51f2b;
  --red-dark: #8f101b;
  --red-soft: #fff0f2;
  --gold: #c9972f;
  --gold-dark: #9a6d16;
  --cream: #fffaf4;
  --cream-dark: #f6eee2;
  --white: #ffffff;
  --gray: #666b73;
  --gray-dark: #252830;
  --gray-light: #dfe2e6;
  --green: #198754;
  --blue: #2768d8;
  --shadow: 0 10px 30px rgba(36, 24, 18, 0.1);
  --shadow-lg: 0 18px 50px rgba(36, 24, 18, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #fffaf7 0%, #f8f0e8 100%);
  color: var(--gray-dark);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
.hidden {
  display: none !important;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 78px;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(115deg, #6f0d17, var(--red), #a51320);
  color: #fff;
  box-shadow: 0 5px 22px rgba(80, 0, 8, 0.24);
}
.header-left {
  min-width: 0;
}
.header-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
}
.header-logo img {
  display: block;
  width: 120px;
  height: 72px;
  max-width: 22vw;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  background: transparent;
}
.logo-bg {
  display: flex;
  align-items: center;
}
.logo-text {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
  line-height: 1;
}
.logo-text small {
  display: block;
  margin-top: 4px;
  font:
    700 9px/1 "Montserrat",
    sans-serif;
  letter-spacing: 1.3px;
}
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.nav-tabs {
  display: flex;
  gap: 4px;
  margin-right: 8px;
}
.tab-btn {
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 9px 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}
.tab-btn:hover,
.tab-btn.active {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* LAYOUT */
.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 60px;
}
.view {
  display: none;
  animation: fadeIn 0.2s ease;
}
.view.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0.2;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* BUTTONS */
.btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 700;
  transition: 0.18s ease;
  text-decoration: none;
}
.btn:hover {
  transform: translateY(-1px);
  filter: brightness(0.98);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-success {
  background: var(--green);
  color: #fff;
}
.btn-warning {
  background: #d99a16;
  color: #fff;
}
.btn-danger {
  background: #c62828;
  color: #fff;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn-block {
  width: 100%;
}
.btn-sm {
  padding: 7px 10px;
  font-size: 12px;
}
.mt-8 {
  margin-top: 8px;
}

/* HOME */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 50px 36px;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 210, 80, 0.2),
      transparent 28%
    ),
    linear-gradient(125deg, #71101a, #c51f2b 58%, #8c111b);
  box-shadow: var(--shadow-lg);
}
.home-hero::after {
  content: "🌶️";
  position: absolute;
  right: 40px;
  bottom: -30px;
  font-size: 150px;
  opacity: 0.09;
  transform: rotate(-15deg);
}
.home-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 45px);
  font-weight: 900;
}
.home-hero p {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0;
  font-size: 17px;
  opacity: 0.94;
}
.home-hero .tagline {
  position: relative;
  z-index: 1;
}
.home-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.home-info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}
.info-icon {
  font-size: 27px;
}
.info-label {
  margin-top: 8px;
  color: var(--gray);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.info-value {
  margin-top: 3px;
  color: var(--red-dark);
  font-weight: 800;
  word-break: break-word;
}

/* AGENDA */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.stat-card {
  background: #fff;
  border-left: 5px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.stat-number {
  font-size: 30px;
  font-weight: 900;
  color: var(--red-dark);
}
.stat-label {
  color: var(--gray);
  font-size: 13px;
  font-weight: 700;
}
.calendar-wrapper,
.bookings-section {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.calendar-wrapper {
  padding: 20px;
}
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
}
.calendar-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.calendar-nav button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red-dark);
  font-size: 25px;
  font-weight: 800;
}
.calendar-nav button:hover {
  background: #ffdfe3;
}
.calendar-title {
  min-width: 160px;
  text-align: center;
  font-size: 20px;
  font-weight: 900;
  color: var(--red-dark);
}
.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--gray);
  font-size: 12px;
}
.legend-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 4px;
  background: var(--gray-light);
}
.legend-dot.available {
  background: #43a047;
}
.legend-dot.booked {
  background: #d32f2f;
}
.legend-dot.past {
  background: #aaa;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}
.calendar-day-name {
  padding: 8px 3px;
  text-align: center;
  color: var(--gray);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.calendar-day {
  min-height: 88px;
  padding: 9px 7px;
  border: 1px solid #ece8e3;
  border-radius: 11px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  text-align: center;
  transition: 0.15s ease;
}
.calendar-day.available {
  border-color: #b9dfc0;
  background: #f5fff7;
  cursor: pointer;
}
.calendar-day.available:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 16px rgba(25, 135, 84, 0.13);
  border-color: #70bf7d;
}
.calendar-day.booked {
  border-color: #f0b7bb;
  background: #fff5f5;
}
.calendar-day.past {
  background: #f1f1f1;
  color: #999;
}
.calendar-day.today {
  outline: 3px solid rgba(201, 151, 47, 0.28);
  outline-offset: 1px;
}
.calendar-day.empty {
  min-height: 88px;
  background: transparent;
  border: 0;
}
.day-number {
  font-size: 18px;
  font-weight: 900;
}
.day-label {
  font-size: 9px;
  font-weight: 800;
  color: var(--gray);
  text-transform: uppercase;
}
.calendar-day[data-tooltip] {
  position: relative;
}
.calendar-day[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 20;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  width: max-content;
  max-width: 230px;
  padding: 7px 9px;
  border-radius: 7px;
  background: #252830;
  color: #fff;
  font-size: 11px;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}
.calendar-day[data-tooltip]:hover::after {
  opacity: 1;
}

/* RESERVAS */
.bookings-section {
  margin-top: 20px;
  padding: 20px;
}
.bookings-section h2 {
  margin: 0 0 16px;
  color: var(--red-dark);
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.badge {
  display: inline-flex;
  min-width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border-radius: 50px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
}
.filter-bar {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr auto;
  gap: 8px;
  margin-bottom: 15px;
}
.form-group {
  margin-bottom: 14px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--gray-dark);
}
.required {
  color: var(--red);
}
input,
select,
textarea {
  width: 100%;
  border: 2px solid var(--gray-light);
  border-radius: 9px;
  padding: 10px 12px;
  outline: none;
  background: #fff;
  color: var(--gray-dark);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(197, 31, 43, 0.1);
}
textarea {
  min-height: 90px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.booking-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid #eee;
}
.booking-item:first-child {
  border-top: 0;
}
.booking-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.booking-date {
  font-weight: 900;
  color: var(--red-dark);
}
.booking-client {
  font-size: 13px;
  font-weight: 800;
}
.booking-details {
  color: var(--gray);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.booking-status {
  padding: 5px 9px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.booking-status.upcoming {
  background: #e7f6eb;
  color: #147239;
}
.booking-status.past {
  background: #eee;
  color: #777;
}
.booking-status.pending-payment {
  background: #fff3cd;
  color: #7a5a00;
}
.booking-status.confirmed-payment {
  background: #e7f6eb;
  color: #147239;
}
.booking-financial {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
  font-size: 12px;
  color: var(--gray);
}
.booking-financial strong {
  color: var(--dark);
}
.empty-state {
  padding: 28px 15px;
  text-align: center;
  color: var(--gray);
}
.empty-icon {
  font-size: 42px;
}

/* GRÁFICO */
#bookingChart {
  display: block;
  width: 100% !important;
  height: 300px !important;
  max-width: 100%;
  background: #fff;
  border-radius: 8px;
  padding: 12px;
}

/* FOTOS / FEEDBACK */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-item {
  min-height: 190px;
  overflow: hidden;
  border-radius: 14px;
  background: #eee;
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  display: block;
  object-fit: cover;
}
.feedbacks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feedback-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
}
.fb-text {
  font-size: 14px;
  line-height: 1.6;
}
.fb-author {
  margin-top: 10px;
  font-weight: 900;
  color: var(--red-dark);
}
.fb-date {
  margin-top: 3px;
  color: #999;
  font-size: 11px;
}
#feedbackFormContainer {
  border: 2px solid var(--gold);
}
#galleryAdminControls {
  border: 2px dashed var(--red);
}
.map-link {
  display: inline-flex;
  margin-top: 5px;
  padding: 10px 14px;
  border-radius: 9px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}
.map-link:hover {
  background: var(--red-dark);
}

/* MODAIS */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(24, 18, 16, 0.62);
  backdrop-filter: blur(4px);
}
.modal-overlay.open {
  display: flex;
}
.modal {
  width: min(100%, 560px);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 22px;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.modal-header h2 {
  margin: 0;
  color: var(--red-dark);
  font-size: 21px;
}
.modal-close {
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 50%;
  background: #f3f3f3;
  color: #444;
  font-size: 24px;
  line-height: 1;
}
.modal-close:hover {
  background: #e8e8e8;
}
.auth-toggle {
  margin-top: 13px;
  text-align: center;
  color: var(--gray);
  font-size: 13px;
}
.auth-toggle a {
  color: var(--red);
  cursor: pointer;
  font-weight: 800;
}

/* TOAST */
.toast-container {
  position: fixed;
  z-index: 3000;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}
.toast {
  min-width: min(360px, calc(100vw - 36px));
  max-width: 430px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #252830;
  color: #fff;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 9px;
  pointer-events: auto;
  font-size: 13px;
}
.toast.success {
  border-left: 4px solid #45b85b;
}
.toast.error {
  border-left: 4px solid #e34c4c;
}
.toast.warning {
  border-left: 4px solid #e0a72b;
}
.toast.info {
  border-left: 4px solid #4d8cf5;
}
.toast-close {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .header {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 16px;
  }
  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .home-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feedbacks {
    grid-template-columns: 1fr 1fr;
  }
  .filter-bar {
    grid-template-columns: 1fr 1fr;
  }
  .filter-bar .btn {
    min-height: 42px;
  }
}
@media (max-width: 640px) {
  .container {
    width: min(100% - 20px, 1180px);
    padding-top: 16px;
  }
  .header-logo img {
    width: 90px;
    height: 58px;
    max-width: 30vw;
  }
  .nav-tabs {
    width: 100%;
    margin: 0;
  }
  .tab-btn {
    flex: 1;
  }
  .header-actions > .btn {
    flex: 1;
  }
  .home-hero {
    padding: 32px 22px;
  }
  .home-info-grid,
  .stats-grid,
  .feedbacks {
    grid-template-columns: 1fr;
  }
  .calendar-wrapper {
    padding: 10px;
  }
  .calendar-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .calendar-nav {
    width: 100%;
    justify-content: center;
  }
  .calendar-title {
    min-width: 0;
  }
  .calendar-legend {
    width: 100%;
    justify-content: center;
  }
  .calendar-grid {
    gap: 3px;
  }
  .calendar-day {
    min-height: 68px;
    padding: 6px 2px;
    border-radius: 7px;
    font-size: 11px;
  }
  .calendar-day.empty {
    min-height: 68px;
  }
  .day-number {
    font-size: 15px;
  }
  .day-label {
    font-size: 7px;
  }
  .calendar-day[data-tooltip]::after {
    display: none;
  }
  .filter-bar,
  .form-row {
    grid-template-columns: 1fr;
  }
  .booking-item {
    align-items: flex-start;
    flex-direction: column;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .gallery-item,
  .gallery-item img {
    min-height: 145px;
  }
  .toast-container {
    right: 10px;
    bottom: 10px;
  }
}

/* Galeria: permite posicionar o botão de exclusão do administrador. */
.gallery-item {
  position: relative;
}
/* ===== ESTRELAS PARA FEEDBACK ===== */
.star-rating .star {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  cursor: pointer;
  user-select: none;
}
.star-rating .star:hover {
  transform: scale(1.2);
}


/* Bloqueios administrativos: visual diferente de reserva de cliente */
.calendar-day.blocked {
  background: #fff7e6;
  border-color: #e0a800;
  cursor: not-allowed;
}
.calendar-day.blocked .day-label {
  color: #8a5a00;
}


/* ============================================================
   GALERIAS SEPARADAS + VISUALIZADOR DE FOTOS
   ============================================================ */
.gallery-admin-panel {
  background: var(--cream-dark);
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 22px;
  border: 2px dashed var(--red);
}
.gallery-admin-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}
.gallery-admin-row select,
.gallery-admin-row input[type="file"] {
  flex: 1 1 220px;
}
.gallery-admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.gallery-section {
  margin-top: 24px;
}
.gallery-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.gallery-section-header h3 {
  color: var(--red-dark);
  font-size: 21px;
  margin-bottom: 3px;
}
.gallery-section-header p {
  color: var(--gray);
  font-size: 13px;
}
.gallery-empty {
  grid-column: 1 / -1;
  padding: 24px;
  text-align: center;
  color: var(--gray);
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.gallery-clickable {
  cursor: zoom-in;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.gallery-clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
.gallery-zoom-hint {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,0.62);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.gallery-clickable:hover .gallery-zoom-hint {
  opacity: 1;
}
.gallery-delete-btn {
  position: absolute !important;
  right: 8px;
  top: 8px;
  z-index: 2;
}
.feedback-photo-clickable {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
  cursor: zoom-in;
}
.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.92);
  padding: 24px 70px;
}
.photo-lightbox.open {
  display: flex;
}
.photo-lightbox-content {
  max-width: min(1100px, 92vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.photo-lightbox-content img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.45);
}
.photo-lightbox-meta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  padding-top: 10px;
  font-size: 13px;
}
.photo-lightbox-close,
.photo-lightbox-nav {
  position: fixed;
  border: 0;
  color: #fff;
  background: rgba(255,255,255,0.14);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-lightbox-close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 32px;
}
.photo-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 72px;
  border-radius: 12px;
  font-size: 48px;
}
.photo-lightbox-prev { left: 16px; }
.photo-lightbox-next { right: 16px; }
.photo-lightbox-close:hover,
.photo-lightbox-nav:hover {
  background: rgba(255,255,255,0.24);
}
@media (max-width: 700px) {
  .photo-lightbox {
    padding: 62px 12px 18px;
  }
  .photo-lightbox-nav {
    width: 42px;
    height: 56px;
    font-size: 38px;
    background: rgba(0,0,0,0.45);
  }
  .photo-lightbox-prev { left: 6px; }
  .photo-lightbox-next { right: 6px; }
  .photo-lightbox-content img {
    max-height: 76vh;
  }
  .gallery-zoom-hint {
    opacity: 1;
  }
}


/* ============================================================
   PRIVACIDADE / LGPD
   ============================================================ */
.site-footer {
  margin-top: 34px;
  padding: 22px 18px;
  border-top: 1px solid var(--gray-light);
  background: #fff;
}
.site-footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--gray);
  font-size: 13px;
}
.site-footer a,
.privacy-policy-content a,
.privacy-consent-label a {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}
.site-footer a:hover,
.privacy-policy-content a:hover,
.privacy-consent-label a:hover {
  text-decoration: underline;
}
.privacy-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.45;
  color: #333;
}
.privacy-consent-label input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: 0 0 auto;
  accent-color: var(--red);
}
.privacy-policy-modal {
  width: min(760px, calc(100vw - 30px));
  max-width: 760px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}
.privacy-policy-content {
  overflow-y: auto;
  padding-right: 8px;
  color: #333;
  line-height: 1.62;
  font-size: 14px;
}
.privacy-policy-content h3 {
  margin: 22px 0 8px;
  color: var(--red-dark);
  font-size: 17px;
}
.privacy-policy-content p {
  margin: 8px 0;
}
.privacy-policy-content ul {
  padding-left: 22px;
  margin: 8px 0;
}
.privacy-policy-content li {
  margin-bottom: 6px;
}
.privacy-policy-updated {
  color: var(--gray);
  font-size: 13px;
}
.privacy-contact-card {
  margin: 12px 0 4px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fafafa;
  border: 1px solid var(--gray-light);
}
.privacy-contact-card p {
  margin: 4px 0;
}
.privacy-policy-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 16px;
}
@media (max-width: 700px) {
  .site-footer-content {
    justify-content: center;
    text-align: center;
  }
  .privacy-policy-modal {
    max-height: 92vh;
  }
  .privacy-policy-content {
    font-size: 13px;
  }
}
