/* Guide voyageur — page publique */
.guide-body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: #FAF7F2;
  color: #1E1608;
  min-height: 100dvh;
}

.guide-loading, .guide-error {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.guide-spinner {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(30, 22, 8, 0.12);
  border-top-color: #D4581A;
  border-radius: 50%;
  animation: guideSpin 0.7s linear infinite;
  margin-bottom: 1rem;
}

@keyframes guideSpin { to { transform: rotate(360deg); } }

.guide-error-icon { font-size: 3rem; margin-bottom: 0.75rem; }
.guide-error h1 { font-family: 'Playfair Display', serif; font-size: 1.35rem; margin: 0 0 0.5rem; }
.guide-error p { color: #6B6054; font-size: 0.88rem; max-width: 280px; }

.guide-page { max-width: 480px; margin: 0 auto; min-height: 100dvh; background: #fff; box-shadow: 0 0 40px rgba(30, 22, 8, 0.06); }

.guide-hero {
  background: linear-gradient(165deg, #2E2210, #1E1608);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 2rem 1.25rem 1.75rem;
  text-align: center;
}

.guide-brand {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.guide-brand em { color: #D4581A; font-style: italic; }

.guide-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  line-height: 1.2;
}

.guide-subtitle { font-size: 0.78rem; opacity: 0.75; margin: 0; line-height: 1.4; }

.guide-content { padding: 1rem 1.1rem 2rem; }

.guide-section {
  background: #FAF7F2;
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  border: 0.5px solid rgba(30, 22, 8, 0.06);
}

.guide-section-title {
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #1E1608;
}

.guide-section-body {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #4A4038;
}

.guide-wifi-box {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.guide-wifi-lbl {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8A7E72;
  margin-bottom: 0.15rem;
}

.guide-wifi-pass {
  font-family: ui-monospace, monospace;
  font-size: 0.95rem;
  color: #D4581A;
}

.guide-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem;
}

.guide-photos img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
}

.guide-footer {
  text-align: center;
  padding: 1.25rem;
  font-size: 0.62rem;
  color: #8A7E72;
  border-top: 0.5px solid rgba(30, 22, 8, 0.08);
  background: #FAF7F2;
}

/* Manager panel (app.css) */
.guide-card { border: 0.5px solid var(--bd2); }
.guide-hint { font-size: 0.68rem; color: var(--text3); margin: 0 0 0.65rem; line-height: 1.4; }
.guide-link-box { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; background: var(--cream); padding: 0.45rem 0.55rem; border-radius: var(--rxs); margin-bottom: 0.5rem; }
.guide-link-url { font-size: 0.62rem; word-break: break-all; color: var(--terra); flex: 1; }
.guide-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.35rem; margin-top: 0.35rem; }
.guide-photo-thumb { position: relative; aspect-ratio: 1; border-radius: var(--rxs); overflow: hidden; border: 0.5px solid var(--bd); }
.guide-photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.guide-photo-thumb button { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%; border: none; background: rgba(0,0,0,0.65); color: #fff; font-size: 0.55rem; cursor: pointer; }
.guide-photo-pending span { position: absolute; bottom: 2px; left: 2px; font-size: 0.5rem; background: var(--terra); color: #fff; padding: 1px 4px; border-radius: 3px; }
.guide-photo-full { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--rsm); }
