/* ===== TOKENS ===== */
:root {
  --verde: #3f6b32;
  --verde-escuro: #23401c;
  --verde-vivo: #4d8a3c;
  --vermelho: #d9291c;
  --vermelho-vivo: #e8442f;
  --kraft: #f0e6d3;
  --kraft-card: #fbf6ea;
  --kraft-escuro: #ddccab;
  --texto: #2a2620;
  --texto-suave: #756a54;
  --branco: #fffdfa;
  --font-display: 'Fredoka', 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --radius-tag: 16px;
  --radius-pill: 100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--texto);
  background: var(--kraft);
  min-height: 100vh;
  position: relative;
}

img { max-width: 100%; display: block; }

.destaque { color: var(--vermelho); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ===== BACKGROUND: papel kraft ===== */
.bg-texture {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--kraft);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(63,107,50,0.10), transparent 40%),
    radial-gradient(circle at 90% 18%, rgba(217,41,28,0.07), transparent 38%),
    radial-gradient(rgba(42,38,32,0.05) 1px, transparent 1px);
  background-size: auto, auto, 14px 14px;
}

/* ===== LAYOUT ===== */
.wrap {
  max-width: 500px;
  margin: 0 auto;
  padding: 44px 20px 40px;
}

/* ===== PROFILE ===== */
.profile {
  text-align: center;
  margin-bottom: 30px;
}
.avatar {
  width: 156px;
  height: 156px;
  padding: 0;
  background: #e9e3d6;
  border-radius: 50%;
  border: 4px solid var(--vermelho);
  margin: 0 auto 20px;
  box-shadow: 0 10px 0 -4px rgba(42,38,32,0.08), 0 14px 26px rgba(42,38,32,0.18);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(0.98) translateX(4px);
}
.tagline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15.5px;
  color: var(--texto-suave);
  margin-bottom: 14px;
  text-wrap: balance;
}
.rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--kraft-card);
  border: 1.5px dashed var(--verde);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--verde-escuro);
  margin-bottom: 16px;
}
.rating svg { color: #e2a837; }
.profile-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.profile-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--kraft-card);
  border: 1.5px solid var(--kraft-escuro);
  color: var(--verde-escuro);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.profile-social a:hover { background: var(--vermelho); border-color: var(--vermelho); color: #fff; transform: translateY(-2px) rotate(-3deg); }

/* ===== TAGS (links estilo etiqueta de embalagem) ===== */
.links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}
.tag {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--kraft-card);
  border: 1.5px solid var(--kraft-escuro);
  border-radius: var(--radius-tag) 4px 4px var(--radius-tag);
  padding: 15px 20px 15px 30px;
  color: var(--texto);
  text-decoration: none;
  box-shadow: 3px 4px 0 rgba(42,38,32,0.06), 0 6px 14px rgba(42,38,32,0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.tag::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--kraft);
  border: 1.5px solid var(--kraft-escuro);
  transform: translateY(-50%);
}
.tag:hover {
  transform: translate(-2px, -3px) rotate(-0.6deg);
  box-shadow: 5px 6px 0 rgba(42,38,32,0.08), 0 10px 20px rgba(42,38,32,0.1);
  border-color: var(--verde);
}
.tag-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde-escuro);
}
.tag-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tag-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  text-wrap: balance;
}
.tag-sub {
  font-size: 12px;
  color: var(--texto-suave);
}
.tag-arrow {
  flex-shrink: 0;
  opacity: 0.3;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.tag:hover .tag-arrow { opacity: 0.85; transform: translateX(3px); }

.tag-primary {
  background: linear-gradient(135deg, #e8442f 0%, #c92315 100%);
  border-color: transparent;
  color: #fff;
}
.tag-primary::before { background: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.6); }
.tag-primary .tag-icon { color: #fff; }
.tag-primary .tag-sub { color: rgba(255,255,255,0.8); }
.tag-primary .tag-arrow { color: #fff; }
.tag-primary:hover {
  box-shadow: 5px 6px 0 rgba(150,20,10,0.18), 0 12px 24px rgba(217,41,28,0.28);
}

/* ===== BADGES ===== */
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}
.badge {
  background: var(--kraft-card);
  border: 1px solid var(--kraft-escuro);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--texto-suave);
}

/* ===== LOCALIZAÇÃO ===== */
.localizacao {
  text-align: center;
  margin-bottom: 36px;
}
.localizacao h2 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--verde-escuro);
  font-size: 20px;
  margin-bottom: 18px;
  text-wrap: balance;
}
.localizacao .tag { margin-bottom: 18px; }
.map-card {
  border-radius: var(--radius-tag);
  overflow: hidden;
  border: 2px solid var(--verde);
  margin-bottom: 18px;
  box-shadow: 0 10px 26px rgba(42,38,32,0.1);
}
.map-embed {
  width: 100%;
  height: 240px;
  display: block;
  border: 0;
}
.loc-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.loc-details p {
  font-size: 13.5px;
  color: var(--texto-suave);
}

/* ===== FOOTER ===== */
.site-footer {
  text-align: center;
  font-size: 12px;
  color: var(--texto-suave);
}
.site-footer p { margin-bottom: 4px; }
.footer-credit {
  display: block;
  margin-top: 10px;
  color: var(--verde-escuro);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.85;
}
.footer-credit:hover { opacity: 1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
  .wrap { padding: 36px 16px 32px; }
  .avatar { width: 124px; height: 124px; }
  .tag { padding: 13px 16px 13px 26px; gap: 12px; }
  .tag-text { font-size: 14.5px; }
  .tag-sub { font-size: 11.5px; }
  .map-embed { height: 210px; }
}

@media (max-width: 360px) {
  .avatar { width: 108px; height: 108px; }
  .rating { font-size: 12px; padding: 5px 12px; }
  .tag { padding: 12px 14px 12px 24px; gap: 10px; }
  .tag-icon { width: 22px; height: 22px; }
  .tag-icon svg { width: 18px; height: 18px; }
  .tag-text { font-size: 13.5px; }
}
