/* Sítio Picus — Guia do Hóspede
   Sistema: Swiss. Branco puro, Space Grotesk, fios hairline,
   acento único Yves Klein Blue #002FA7. Seções como placas
   de sinalização numeradas. */

:root {
  --branco: #FFFFFF;
  --preto: #111111;
  --azul: #002FA7;
  --fio: 1px solid var(--preto);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--branco);
  color: var(--preto);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}

/* ── Cabeçalho ───────────────────────────────── */

.masthead {
  border-bottom: var(--fio);
  padding: 1.5rem 1.25rem 0;
}

.masthead-grid {
  max-width: 64rem;
  margin: 0 auto;
}

.masthead-kicker {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: var(--fio);
  padding-bottom: 0.75rem;
}

.masthead-title {
  font-size: clamp(4rem, 17vw, 9.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  padding: 2rem 0 1.5rem;
}

.masthead-title .dot { color: var(--azul); }

.masthead-sub {
  font-size: clamp(1.0625rem, 2.5vw, 1.375rem);
  max-width: 26em;
  padding-bottom: 2rem;
}

.masthead-nav {
  display: flex;
  flex-wrap: wrap;
  border-top: var(--fio);
}

.masthead-nav a {
  color: var(--preto);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem 1rem 0.75rem 0;
  letter-spacing: 0.02em;
}

.masthead-nav a:hover { color: var(--azul); text-decoration: underline; }

/* ── Placas (seções) ─────────────────────────── */

.placa {
  max-width: 64rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 3.5rem;
  border-bottom: var(--fio);
}

.placa-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.placa-num {
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--azul);
  font-variant-numeric: tabular-nums;
}

.placa-head h2 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  border-bottom: var(--fio);
  padding-bottom: 0.5rem;
}

.placa-lead {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  max-width: 34em;
}

/* ── Galeria ─────────────────────────────────── */

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--preto);
  border: var(--fio);
}

.foto-slot {
  aspect-ratio: 4 / 3;
  background: var(--branco);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--preto);
  text-align: left;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 11px,
    rgba(0, 47, 167, 0.12) 11px,
    rgba(0, 47, 167, 0.12) 12px
  );
}

.foto-slot:hover { outline: 2px solid var(--azul); outline-offset: -2px; }

.foto-slot-wide { grid-column: span 2; aspect-ratio: 21 / 9; }

.foto-slot img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Listas ──────────────────────────────────── */

.lista-regras { counter-reset: regra; list-style: none; }

.lista-regras li {
  counter-increment: regra;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.75rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
}

.lista-regras li::before {
  content: counter(regra, decimal-leading-zero);
  font-weight: 700;
  color: var(--azul);
  font-variant-numeric: tabular-nums;
}

.lista-manual { list-style: none; }

.lista-manual li {
  padding: 0.875rem 0 0.875rem 1.5rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
  position: relative;
}

.lista-manual li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45rem;
  width: 0.75rem;
  height: 1px;
  background: var(--azul);
}

/* ── WiFi ────────────────────────────────────── */

.placa-azul {
  background: var(--azul);
  color: var(--branco);
  max-width: none;
}

.placa-azul .placa-head,
.placa-azul .wifi-status {
  max-width: 61.5rem;
  margin-left: auto;
  margin-right: auto;
}

.placa-azul .placa-num { color: var(--branco); }

.placa-azul .placa-head h2 {
  color: var(--branco);
  border-bottom-color: var(--branco);
}

.wifi-status {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-weight: 500;
}

/* ── Contatos ────────────────────────────────── */

.lista-contatos div {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
}

.lista-contatos dt {
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.lista-contatos dd a { color: var(--azul); font-weight: 700; }

.btn-whatsapp {
  display: inline-block;
  background: var(--azul);
  color: var(--branco) !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.0625rem;
  padding: 0.875rem 1.75rem;
}

.btn-whatsapp:hover { background: var(--preto); }

/* ── Check-out ───────────────────────────────── */

.lista-checkout { list-style: none; }

.lista-checkout li { border-bottom: 1px solid rgba(17, 17, 17, 0.18); }

.lista-checkout label {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 0;
  cursor: pointer;
}

.lista-checkout input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--azul);
}

.lista-checkout input:checked + span,
.lista-checkout label:has(input:checked) {
  text-decoration: line-through;
  text-decoration-color: var(--azul);
}

/* ── Rodapé ──────────────────────────────────── */

.rodape {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.rodape a { color: var(--preto); }
.rodape a:hover { color: var(--azul); }

/* ── Lightbox ────────────────────────────────── */

.lightbox[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  background: var(--branco);
  z-index: 10;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}

.lightbox-fechar {
  align-self: flex-end;
  background: none;
  border: var(--fio);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.lightbox-fechar:hover { background: var(--azul); color: var(--branco); border-color: var(--azul); }

.lightbox figure {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 64rem;
  margin: 0 auto;
  width: 100%;
}

.lightbox-conteudo {
  border: var(--fio);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 11px,
    rgba(0, 47, 167, 0.12) 11px,
    rgba(0, 47, 167, 0.12) 12px
  );
}

.lightbox-conteudo img { width: 100%; height: 100%; object-fit: contain; }

.lightbox figcaption {
  padding-top: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
}

/* ── Desktop ─────────────────────────────────── */

@media (min-width: 48rem) {
  .galeria-grid { grid-template-columns: repeat(3, 1fr); }
  .foto-slot-wide { grid-column: span 3; }
  .masthead, .placa { padding-left: 2rem; padding-right: 2rem; }
}
