/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #31B475;
  --green-dark: #28a065;
  --green-light: #e6f7ef;
  --text-main: #4A4A4A;
  --text-secondary: #757575;
  --text-light: #9e9e9e;
  --border: #E0E0E0;
  --bg-light: #F8F9FA;
  --bg-white: #ffffff;
  --footer-bg: #262626;
  --footer-text: #bdbdbd;
  --orange: #FF8C00;
  --red: #e53e3e;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
  --radius: 8px;
  --radius-sm: 4px;
  --radius-lg: 12px;
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text-main);
  background: var(--bg-white);
  min-height: 100vh;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--green);
}

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font);
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link svg {
  display: block;
}

/* Nav Desktop */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-item {
  position: relative;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
  background: none;
}

.nav-btn:hover {
  background: var(--bg-light);
  color: var(--green);
}

.arrow {
  font-size: 11px;
  transition: transform 0.2s;
}

.nav-item.open .arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  min-width: 200px;
  z-index: 200;
  display: none;
  overflow: hidden;
}

.nav-item.open .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-main);
  transition: background 0.15s;
}

.dropdown-item:hover {
  background: var(--bg-light);
  color: var(--green);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.search-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.search-btn:hover {
  background: var(--bg-light);
  color: var(--green);
}

.minha-conta-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 4px;
  transition: color 0.2s;
}

.minha-conta-link:hover {
  color: var(--green);
}

.btn-cria-vaquinha {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: var(--green);
  color: white;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}

.btn-cria-vaquinha:hover {
  background: var(--green-dark);
  color: white;
  transform: translateY(-1px);
}

/* Hamburger - usa SVG de 3 barras */
.hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s;
}

.hamburger-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 8px 0;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu-item {
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
}

.mobile-menu-item:hover {
  background: var(--bg-light);
}

.mobile-menu-cta {
  margin: 12px 20px;
  padding: 12px 20px;
  background: var(--green);
  color: white !important;
  border-radius: var(--radius);
  text-align: center;
  border-bottom: none;
}

.mobile-menu-cta:hover {
  background: var(--green-dark);
}

/* ===== MAIN LAYOUT ===== */
.main-content {
  background: var(--bg-white);
  min-height: calc(100vh - 64px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}

.page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

/* ===== CONTENT COLUMN ===== */
.content-col {
  min-width: 0;
}

/* Campaign Image */
.campaign-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #e0e0e0;
  margin-bottom: 20px;
}

.campaign-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-share-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: background 0.2s, transform 0.2s;
  color: var(--text-main);
}

.img-share-btn:hover {
  background: white;
  transform: scale(1.08);
}

/* Campaign Info */
.campaign-info {
  margin-bottom: 20px;
}

.campaign-category {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.campaign-title {
  font-size: 26px;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.2;
  margin-bottom: 6px;
}

.campaign-id {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.campaign-description-short p {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.65;
}

.ver-tudo-link {
  color: var(--green);
  font-weight: 600;
}

.ver-tudo-link:hover {
  text-decoration: underline;
}

/* Seals */
.seals-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.seals-icons {
  display: flex;
  gap: 6px;
}

.seal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: transform 0.2s;
}

.seal-icon:hover {
  transform: scale(1.15);
}

.seal-icon.lg {
  width: 44px;
  height: 44px;
  font-size: 18px;
}

.seal-green {
  background: var(--green);
}

.seal-orange {
  background: var(--orange);
}

.seal-red {
  background: var(--red);
}

.seal-blue {
  background: #3182ce;
}

.seal-pink {
  background: #d53f8c;
}

.ver-selos-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  text-decoration: underline;
}

/* ===== MOBILE PROGRESS CARD ===== */
.mobile-only {
  display: none;
}

/* ===== TABS ===== */
.tabs-wrap {
  border-top: 2px solid var(--border);
  margin-top: 8px;
}

.tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
}

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

.tab-btn {
  flex-shrink: 0;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  background: none;
}

.tab-btn:hover {
  color: var(--green);
}

.tab-btn.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

.tab-content {
  display: none;
  padding: 20px 0;
}

.tab-content.active {
  display: block;
}

/* PIX Banner */
.pix-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f0faf5;
  border: 1px solid #b2dfdb;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-main);
  flex-wrap: wrap;
}

.pix-banner strong {
  color: #1a1a1a;
}

.btn-copiar-pix {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
  background: none;
}

.btn-copiar-pix:hover {
  background: var(--green);
  color: white;
}

/* Sobre Content */
.sobre-content {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.sobre-content p {
  margin-bottom: 12px;
}

.sobre-content p:last-child {
  margin-bottom: 0;
}

.sobre-date {
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 16px !important;
}

/* Saiba Mais */
.saiba-mais-section {
  margin-bottom: 24px;
}

.saiba-mais-title {
  font-size: 17px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 14px;
}

.pix-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #f5f5f5;
  border-radius: var(--radius);
  border: 1px solid #e0e0e0;
}

.pix-card-text {
  font-size: 13px;
  color: var(--text-main);
}

.pix-card-text p {
  margin-bottom: 8px;
}

/* Denunciar */
.denunciar-section {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.denunciar-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: underline;
  margin-bottom: 12px;
}

.denunciar-link:hover {
  color: var(--red);
}

.aviso-legal {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.5;
}

/* Tab Empty */
.tab-empty-msg {
  text-align: center;
  padding: 32px;
  color: var(--text-light);
  font-size: 14px;
}

/* All Seals Grid */
.all-seals-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 16px 0;
}

.seal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.seal-item p {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ===== SIDEBAR ===== */
.sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.progress-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}

.arrecadado-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.progress-amount {
  font-size: 28px;
  font-weight: 900;
  color: var(--green);
  line-height: 1.1;
  margin-bottom: 4px;
}

.progress-meta {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.progress-bar-wrap {
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}

.progress-bar {
  height: 100%;
  background: var(--green);
  border-radius: 4px;
  transition: width 0.6s ease;
}

.progress-stats {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.stat-row strong {
  font-weight: 800;
  color: var(--text-main);
  font-size: 15px;
}

.heart-icon {
  color: #e53e3e;
}

.btn-quero-ajudar {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--green);
  color: white;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  border-radius: var(--radius);
  margin-bottom: 10px;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: 0.01em;
}

.btn-quero-ajudar:hover {
  background: var(--green-dark);
  color: white;
  transform: translateY(-1px);
}

.btn-compartilhar {
  display: block;
  width: 100%;
  padding: 13px;
  background: white;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 700;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  transition: border-color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}

.btn-compartilhar:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-light);
}

.doacao-protegida {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-light);
  padding: 5px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

.shield-icon {
  flex-shrink: 0;
}

/* Organizer Card */
.organizer-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.organizer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.organizer-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.organizer-info strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
}

.organizer-info span {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ===== OUTRAS HISTÓRIAS ===== */
.outras-historias {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 2px solid var(--border);
}

.section-title {
  font-size: 20px;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 24px;
  text-align: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.campaign-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-white);
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}

.campaign-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.card-image-wrap {
  position: relative;
  aspect-ratio: 16/10;
  background: #e0e0e0;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-heart-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  transition: color 0.2s, background 0.2s;
}

.card-heart-btn:hover {
  color: var(--red);
  background: white;
}

.card-heart-btn.liked {
  color: var(--red);
}

.card-heart-btn.liked svg {
  fill: var(--red);
  stroke: var(--red);
}

.card-body {
  padding: 14px 14px 16px;
}

.card-title {
  font-size: 14px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-amount {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 6px;
}

.card-meta-text {
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 13px;
}

.card-bar-wrap {
  height: 5px;
  background: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.card-bar {
  height: 100%;
  background: var(--green);
  border-radius: 3px;
}

.card-hearts {
  font-size: 12px;
  color: var(--text-secondary);
}

.heart-icon.red {
  color: var(--red);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  margin-top: 60px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: 200px 1fr 1fr 160px 180px;
  gap: 32px;
  padding: 40px 0 36px;
}

.footer-logo-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-link {
  display: inline-block;
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #bdbdbd;
  border: 1px solid #444;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.social-link:hover {
  color: white;
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
}

.footer-col-title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.footer-col-title-green {
  color: var(--green) !important;
}

.footer-links-col ul,
.footer-contact-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-col a,
.footer-contact-col a {
  font-size: 13px;
  color: var(--footer-text);
  transition: color 0.2s;
}

.footer-links-col a:hover,
.footer-contact-col a:hover {
  color: white;
}

.footer-horario {
  font-size: 12px;
  color: var(--footer-text);
  line-height: 1.6;
  margin-top: 2px;
}

.selo-seguranca {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 14px;
  background: rgba(49, 180, 117, 0.1);
  border: 1px solid rgba(49, 180, 117, 0.3);
  border-radius: var(--radius);
}

.selo-seguranca span {
  font-size: 11px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.app-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-badge img {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}

.footer-bottom {
  border-top: 1px solid #3a3a3a;
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  color: #777;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s;
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  font-size: 17px;
  font-weight: 800;
  color: #1a1a1a;
}

.modal-close {
  font-size: 18px;
  color: var(--text-secondary);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.modal-close:hover {
  background: var(--bg-light);
}

.modal-body {
  padding: 20px;
}

.modal-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.share-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  transition: opacity 0.2s, transform 0.1s;
  text-align: center;
  cursor: pointer;
}

.share-btn:hover {
  opacity: 0.87;
  transform: translateY(-1px);
}

.share-whatsapp {
  background: #25D366;
  color: white;
}

.share-facebook {
  background: #1877F2;
  color: white;
}

.share-twitter {
  background: #000;
  color: white;
}

.share-copy {
  background: var(--bg-light);
  color: var(--text-main);
  border: 1px solid var(--border);
  font-family: var(--font);
}

.copy-feedback {
  margin-top: 14px;
  text-align: center;
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1a1a1a;
  color: white;
  padding: 12px 22px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .page-layout {
    grid-template-columns: 1fr 280px;
    gap: 24px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-app-col {
    grid-column: 1;
  }
}

@media (max-width: 768px) {

  /* Header Mobile */
  .nav-desktop {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  /* Layout: single column */
  .page-layout {
    display: block;
  }

  /* Show mobile progress card, hide sidebar */
  .mobile-only {
    display: block;
  }

  .sidebar {
    display: none;
  }

  /* Campaign Title smaller */
  .campaign-title {
    font-size: 20px;
  }

  /* Progress card mobile */
  .progress-card {
    margin: 20px 0;
    border-radius: var(--radius-lg);
  }

  .progress-amount {
    font-size: 26px;
  }

  /* Cards: 2 per row on mobile, scroll */
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Footer mobile */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 28px 0;
  }

  .footer-logo-col {
    grid-column: 1 / -1;
  }

  /* Organizer in progress card */
  .progress-card .organizer-card {
    border: none;
    padding: 0;
    box-shadow: none;
    margin-top: 14px;
  }

  .section-title {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 16px 16px 32px;
  }

  .campaign-title {
    font-size: 18px;
  }

  .progress-amount {
    font-size: 22px;
  }

  .cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .card-title {
    font-size: 13px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .share-options {
    grid-template-columns: 1fr 1fr;
  }

  .progress-card {
    padding: 16px;
  }

  .tab-btn {
    padding: 12px 12px;
    font-size: 13px;
  }

  .footer-col-title {
    font-size: 12px;
  }

  .footer-links-col a,
  .footer-contact-col a {
    font-size: 12px;
  }
}

/* Mobile organizer inside bottom of progress card */
@media (max-width: 768px) {
  .progress-card.mobile-only {
    display: block;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 8px;
  }

  .progress-card.mobile-only .organizer-card {
    display: flex;
    border: none;
    padding: 14px 0 0;
    box-shadow: none;
    margin-top: 14px;
    border-top: 1px solid var(--border);
  }
}

/* ===== NOVOS ESTILOS ===== */

/* Mobile header: lupa + hamburger juntos */
.mobile-header-right {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

@media (max-width: 768px) {
  .mobile-header-right {
    display: flex;
  }
}

.mobile-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: none;
  transition: background 0.2s;
}

.mobile-search-btn:hover {
  background: #f0faf5;
}

/* Coração cinza redondo na imagem principal */
.img-heart-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: background 0.2s, transform 0.2s;
}

.img-heart-btn:hover {
  background: white;
  transform: scale(1.1);
}

.img-heart-btn.liked svg {
  fill: #e53e3e;
  stroke: #e53e3e;
}

/* Mobile: Stats de doação logo após ID */
.mobile-donation-stats {
  display: none;
  margin: 14px 0 16px;
}

@media (max-width: 768px) {
  .mobile-donation-stats {
    display: block;
  }
}

.mobile-progress-bar-wrap {
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}

.mobile-progress-bar {
  height: 100%;
  background: var(--green);
  border-radius: 3px;
}

.mobile-amount-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.mobile-amount-value {
  font-size: 22px;
  font-weight: 900;
  color: var(--green);
}

.mobile-amount-meta {
  font-size: 13px;
  color: var(--text-secondary);
}

.mobile-stats-box {
  background: #f0faf5;
  border-radius: var(--radius);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 4px 0;
  border-bottom: 1px solid #e0f5ec;
}

.mobile-stat-row:last-child {
  border-bottom: none;
}

.mobile-stat-row strong {
  font-weight: 800;
  color: var(--text-main);
  font-size: 15px;
}

/* Mobile organizer only wrapper */
.mobile-organizer-only {
  display: none;
}

@media (max-width: 768px) {
  .mobile-organizer-only {
    display: block;
    margin-bottom: 16px;
  }
}

/* ===== BARRA INFERIOR MOBILE FIXA ===== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: white;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.12);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: block;
  }

  /* Add padding-bottom to body so content is not hidden behind the bar */
  body {
    padding-bottom: 140px;
  }
}

.mobile-bottom-inner {
  padding: 10px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-bottom-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-light);
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  width: fit-content;
  margin: 0 auto;
}

.mobile-btn-quero-ajudar {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--green);
  color: white;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  border-radius: var(--radius);
  transition: background 0.2s;
  letter-spacing: 0.01em;
}

.mobile-btn-quero-ajudar:hover {
  background: var(--green-dark);
  color: white;
}

.mobile-btn-compartilhar {
  display: block;
  width: 100%;
  padding: 12px;
  background: white;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 700;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.mobile-btn-compartilhar:hover {
  border-color: var(--green);
  color: var(--green);
}

/* ===== FAQ ACORDEÃO ===== */
.faq-section {
  margin-top: 16px;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  background: none;
  text-align: left;
  cursor: pointer;
  gap: 12px;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--green);
}

.faq-item.open .faq-question {
  color: var(--green);
}

.faq-arrow {
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-bottom: 14px;
}

/* ===== ATUALIZAÇÕES ===== */
.atualizacoes-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.atualizacao-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}

.atualizacao-icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0faf5;
  border-radius: 50%;
}

.atualizacao-time {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.atualizacao-text {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.5;
}

/* ===== QUEM AJUDOU ===== */
.quem-ajudou-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.apoiador-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.apoiador-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: white;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.apoiador-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.apoiador-info strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
}

.apoiador-info span {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

.quem-ajudou-total {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
}

/* ===== VAKINHA PREMIADA ===== */
.premiada-content {
  padding: 4px 0;
}

.premiada-header {
  text-align: center;
  margin-bottom: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #fffde7, #fff9c4);
  border-radius: var(--radius-lg);
  border: 1px solid #ffe082;
}

.premiada-badge {
  font-size: 40px;
  display: block;
  margin-bottom: 10px;
}

.premiada-header h3 {
  font-size: 20px;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.premiada-header p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.premiada-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.premiada-stat {
  text-align: center;
  padding: 16px;
  background: #f0faf5;
  border-radius: var(--radius);
  border: 1px solid #c8e6c9;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.premiada-stat strong {
  font-size: 26px;
  font-weight: 900;
  color: var(--green);
}

.premiada-stat span {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

@media (max-width: 480px) {
  .premiada-stats {
    grid-template-columns: 1fr;
  }
}