* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: #f0ebe3;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f0ebe3;
}

.taup-wrap {
  max-width: 390px;
  margin: 0 auto;
  padding: 2rem 1.1rem 3rem;
  background: #f0ebe3;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #111;
}

.taup-hero { text-align: center; margin-bottom: 2rem; }

.taup-logo {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  background: #FFD700;
  margin: 0 auto 1rem;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.taup-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.taup-logo span {
  font-size: 1.5rem;
  font-weight: 900;
  color: #111;
  letter-spacing: -0.05em;
}

.taup-eyebrow {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 0.5px solid #e4dfd6;
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #888880;
  margin: 0 0 0.7rem;
}

.taup-h1 {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 0.5rem;
  color: #111;
}

.taup-sub {
  font-size: 0.83rem;
  color: #888880;
  line-height: 1.55;
  max-width: 300px;
  margin: 0 auto;
}

.taup-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}

.taup-link {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 0.5px solid #e4dfd6;
  border-radius: 16px;
  padding: 12px 14px;
  text-decoration: none;
  color: #111;
}

.taup-link-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: #111;
  border-radius: 11px;
  display: grid;
  place-items: center;
}

.taup-link-icon svg {
  width: 18px;
  height: 18px;
}

.taup-link-body {
  flex: 1;
  min-width: 0;
}

.taup-link-body strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
  color: #111;
}

.taup-link-body small {
  display: block;
  font-size: 12px;
  color: #888880;
}

.taup-arrow {
  font-size: 15px;
  color: #aaa;
}

.taup-sec-hdr {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 1.75rem 0 0.75rem;
}

.taup-sec-hdr-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888880;
  margin-bottom: 3px;
}

.taup-sec-hdr-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #111;
}

.taup-sec-icon {
  width: 32px;
  height: 32px;
  background: #fff;
  border: 0.5px solid #e4dfd6;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #111;
}

.taup-sec-icon svg {
  width: 14px;
  height: 14px;
  opacity: 0.4;
}

.taup-sec-icon .taup-link-icon,
.taup-sec-icon svg[stroke="white"] {
  color: #111;
}

.taup-sec-icon svg[stroke="white"] {
  stroke: currentColor;
}

.taup-camps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.taup-pill {
  display: inline-block;
  background: #f0ebe3;
  color: #555550;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 999px;
  border: 0.5px solid #e4dfd6;
  margin-bottom: 8px;
}

.taup-camp h3 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 3px;
  color: #111;
}

.taup-camp-author {
  font-size: 12px;
  color: #888880;
  margin: 0 0 14px;
  line-height: 1.45;
}

.taup-prog {
  height: 6px;
  background: #e4dfd6;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 7px;
}

.taup-prog span {
  display: block;
  height: 100%;
  background: #111;
  border-radius: 999px;
  min-width: 3px;
}

.taup-prog-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  margin-bottom: 3px;
}

.taup-prog-row span {
  font-weight: 600;
  color: #111;
}

.taup-prog-row strong {
  font-weight: 800;
  color: #111;
}

.taup-goal {
  font-size: 11px;
  color: #888880;
  margin: 0 0 12px;
}

.taup-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 11px;
  border-radius: 10px;
  text-decoration: none;
}

.taup-posts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.taup-post {
  background: #fff;
  border: 0.5px solid #e4dfd6;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  text-decoration: none;
}

.taup-post-body {
  flex: 1;
  min-width: 0;
}

.taup-post-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888880;
  margin-bottom: 4px;
}

.taup-post-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  margin-bottom: 4px;
}

.taup-post-exc {
  font-size: 11.5px;
  color: #888880;
  line-height: 1.45;
}

.taup-post-arrow {
  font-size: 14px;
  color: #aaa;
  flex-shrink: 0;
  margin-top: 2px;
}

.taup-footer {
  text-align: center;
  padding-top: 2rem;
}

.taup-footer strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin-bottom: 2px;
}

.taup-footer span {
  font-size: 12px;
  color: #888880;
}

.taup-note {
  font-size: 10px;
  color: #aaa;
  text-align: right;
  margin-top: 6px;
}

code {
  padding: 1px 4px;
  border-radius: 5px;
  background: #f0ebe3;
  color: #555550;
  font-size: 0.92em;
}

@media (min-width: 700px) {
  .taup-wrap {
    margin-top: 0;
    margin-bottom: 0;
  }
}


/* Hover amarelo no tom da logo */
.taup-link,
.taup-camp,
.taup-post {
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  will-change: transform;
  contain: layout style;
}

.taup-link:hover,
.taup-camp:hover,
.taup-post:hover {
  background: #FFD700;
  border-color: #111;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.10);
}

.taup-link:hover .taup-link-icon {
  background: #111;
}

.taup-post:hover .taup-post-tag,
.taup-post:hover .taup-post-exc,
.taup-link:hover small,
.taup-camp:hover .taup-camp-author,
.taup-link:hover .taup-arrow,
.taup-post:hover .taup-post-arrow {
  color: #111;
}

.taup-camp:hover .taup-pill,
.taup-camp:hover /* Banner/imagem da campanha */
.taup-camp:hover /* Versão sem barras: cards focados em banner, título e CTA */
.taup-camp .taup-btn {
  margin-top: 12px;
}

.taup-camp-author {
  margin-bottom: 0;
}

.taup-camp:hover .taup-camp-author {
  color: #111;
}


/* Otimizações leves de renderização */
.taup-link,
.taup-camp,
.taup-post {
  contain: layout paint;
}

.taup-camp-cover img,
.taup-logo img {
  background: #f0ebe3;
}


/* Correção: remove bloco fantasma/escuro no hover das campanhas */
.taup-value-fallback,
.taup-camp:hover {
  background: #FFD700;
}

.taup-camp:hover


/* Card de campanha limpo: sem bloco fantasma no hover */
.taup-camp {
  background: #fff;
  border: 0.5px solid #e4dfd6;
  border-radius: 22px;
  padding: 0;
  overflow: hidden;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.taup-camp:hover {
  background: #FFD700;
  border-color: #111;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.10);
}

.taup-camp-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0;
  background: #f0ebe3;
  border: 0;
  border-bottom: 0.5px solid #e4dfd6;
}

.taup-camp-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform .22s ease;
}

.taup-camp:hover .taup-camp-cover img {
  transform: scale(1.02);
}

.taup-camp-content {
  background: transparent;
  padding: 14px 14px 16px;
}

.taup-camp h3 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 3px;
  color: #111;
}

.taup-camp-author {
  font-size: 12px;
  color: #888880;
  margin: 0 0 14px;
  line-height: 1.45;
}

.taup-camp:hover .taup-camp-author,
.taup-camp:hover .taup-arrow {
  color: #111;
}

.taup-value-fallback,
.value-fallback,
.taup-prog,
.taup-prog-row,
.taup-goal {
  display: none !important;
}
