/* ─────────────────────────────────────────────────────────────
   Hero
───────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #fff1e6 0%, #fde9da 100%);
  padding: 72px 5% 60px;
  text-align: center;
  border-bottom: 1.5px solid var(--border);
}
.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.18;
  color: var(--text);
  max-width: 640px;
  margin: 0 auto 18px;
}
.hero h1 em { color: var(--accent); font-style: italic; }
.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 32px;
}

/* ─────────────────────────────────────────────────────────────
   Seção genérica
───────────────────────────────────────────────────────────── */
.section {
  padding: 60px 5%;
  max-width: 1160px;
  margin: 0 auto;
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 700;
}
.section-count { font-size: .88rem; color: var(--muted); }

/* ─────────────────────────────────────────────────────────────
   Grid de cards
───────────────────────────────────────────────────────────── */
.dogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.show-more-wrapper {
  justify-content: center;
  margin-top: 36px;
}

/* ─────────────────────────────────────────────────────────────
   Filtros
───────────────────────────────────────────────────────────── */
.section-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.filter-toggle-btn {
  padding: 5px 14px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}

.filter-toggle-btn:hover,
.filter-toggle-btn.active {
  border-color: var(--accent);
  color: var(--accent);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 6px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
}

.filter-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.no-results {
  color: var(--muted);
  font-size: 1rem;
  text-align: center;
  grid-column: 1 / -1;
  padding: 40px 0;
}

/* ─────────────────────────────────────────────────────────────
   Card individual
───────────────────────────────────────────────────────────── */
.dog-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}
.dog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(100, 50, 10, .15);
}

.dog-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
}
.dog-photo-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--accent-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.dog-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dog-name {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 700;
}
.dog-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: .75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--accent-lt);
  color: var(--accent);
}
.dog-desc { font-size: .9rem; color: var(--muted); flex: 1; }

.dog-btn {
  display: block;
  text-align: center;
  background: var(--accent-lt);
  color: var(--accent);
  font-weight: 600;
  font-size: .9rem;
  padding: 11px;
  border-radius: 10px;
  margin-top: 4px;
  transition: background .2s, color .2s;
}
.dog-btn:hover { background: var(--accent); color: #fff; }

/* ─────────────────────────────────────────────────────────────
   Seção de contato
───────────────────────────────────────────────────────────── */
.contact-section {
  background: var(--surface);
  border-top: 1.5px solid var(--border);
}
.contact-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 64px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.contact-text h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.9rem;
  margin-bottom: 12px;
}
.contact-text p { color: var(--muted); font-size: .95rem; max-width: 380px; }

.contact-links { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  transition: border-color .2s, box-shadow .2s;
}
.contact-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(232, 106, 46, .12);
}
.contact-icon  { font-size: 1.4rem; }
.contact-label { font-size: .78rem; color: var(--muted); }
.contact-value { font-size: .95rem; font-weight: 600; }

@media (max-width: 680px) {
  .contact-inner { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────
   Modal
───────────────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30, 15, 5, .5);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--card);
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  overflow-y: auto;
  max-height: 90vh;
  box-shadow: 0 24px 64px rgba(30, 15, 5, .25);
  animation: pop .2s ease;
}
@keyframes pop {
  from { transform: scale(.94); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.modal-photo {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
}
.modal-photo-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--accent-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
}
.modal-body { padding: 24px; }
.modal-name {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.modal-close {
  float: right;
  background: var(--accent-lt);
  border: none;
  cursor: pointer;
  color: var(--accent);
  font-size: 1.2rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  transition: background .2s;
}
.modal-close:hover { background: var(--accent); color: #fff; }

.modal-desc { color: var(--muted); font-size: .94rem; margin: 12px 0 20px; }
.modal-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.modal-detail       { background: var(--bg); border-radius: 10px; padding: 10px 14px; }
.modal-detail-label { font-size: .72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.modal-detail-value { font-size: .95rem; font-weight: 600; }

.modal-adopt-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px;
  border-radius: 10px;
  transition: opacity .2s;
}
.modal-adopt-btn:hover { opacity: .85; }

.modal::-webkit-scrollbar { display: none; }

/* ─────────────────────────────────────────────────────────────
   Teaser "Como ajudar"
───────────────────────────────────────────────────────────── */
.help-teaser {
  background: var(--bg);
  border-top: 1.5px solid var(--border);
}
.help-teaser-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 64px 5%;
  text-align: center;
}
.help-teaser-inner h2 {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 8px;
}
.help-teaser-inner p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 32px;
}

/* ─────────────────────────────────────────────────────────────
   Lightbox
───────────────────────────────────────────────────────────── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  z-index: 200;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox-overlay.open { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
}
