/* === CAGAAQUI - MAIN STYLES === */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Sora:wght@400;600;700;800&display=swap');

:root {
  --primary: #E07A35;
  --primary-dark: #C4622A;
  --primary-light: #F5A96A;
  --bg: #F5F0E8;
  --bg-dark: #3D3025;
  --bg-card: #FFFFFF;
  --text: #2D1F0F;
  --text-muted: #7A6555;
  --border: #E8DDD0;
  --shadow: 0 2px 16px rgba(45,31,15,0.08);
  --shadow-hover: 0 8px 32px rgba(45,31,15,0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* === NAVBAR === */
.navbar {
  background: rgba(245,240,232,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 1.5rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-links a:hover { color: var(--text); background: var(--border); }

.btn-nav {
  background: var(--primary);
  color: white !important;
  border-radius: 10px !important;
  padding: 0.5rem 1.2rem !important;
  font-weight: 700 !important;
  transition: all 0.2s !important;
}

.btn-nav:hover { background: var(--primary-dark) !important; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* === HERO === */
.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(224,122,53,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-floating {
  position: absolute;
  font-size: 3rem;
  opacity: 0.06;
  user-select: none;
  pointer-events: none;
}

.hero-floating:nth-child(1) { top: 10%; left: 3%; font-size: 2.5rem; animation: float 8s ease-in-out infinite; }
.hero-floating:nth-child(2) { top: 20%; right: 5%; font-size: 4rem; animation: float 10s ease-in-out infinite 2s; }
.hero-floating:nth-child(3) { bottom: 20%; left: 8%; font-size: 2rem; animation: float 7s ease-in-out infinite 1s; }
.hero-floating:nth-child(4) { bottom: 30%; right: 10%; font-size: 3rem; animation: float 9s ease-in-out infinite 3s; }
.hero-floating:nth-child(5) { top: 50%; left: 50%; font-size: 5rem; animation: float 12s ease-in-out infinite 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(224,122,53,0.12);
  border: 1px solid rgba(224,122,53,0.3);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text);
}

.hero h1 span { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(224,122,53,0.4); }

.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-desc strong { color: var(--primary); }

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-stat span { display: block; }
.hero-stat .num { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.hero-stat .label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }

/* App mockup */
.app-mockup {
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow-hover), 0 0 0 1px rgba(224,122,53,0.1);
  overflow: hidden;
  max-width: 380px;
  margin: 0 auto;
  position: relative;
}

.mockup-header {
  background: white;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mockup-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  flex-shrink: 0;
}

.mockup-header h3 { font-family: var(--font-heading); font-size: 1rem; font-weight: 800; color: var(--text); }
.mockup-header p { font-size: 0.75rem; color: var(--text-muted); }

.mockup-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

.mockup-list { padding: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }

.mockup-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.mockup-item:hover { background: var(--bg); }
.mockup-icon { font-size: 1.1rem; }
.mockup-item h4 { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.mockup-item p { font-size: 0.75rem; color: var(--text-muted); }

.mockup-item .stars { color: var(--primary); font-size: 0.75rem; }

/* Store buttons */
.store-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }

.btn-store {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--text);
  color: white;
  text-decoration: none;
  padding: 0.7rem 1.25rem;
  border-radius: 12px;
  transition: all 0.2s;
  flex: 1;
  min-width: 150px;
}

.btn-store:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); background: #1a1010; }
.btn-store.apple { background: #1a1a1a; }
.btn-store svg { width: 22px; height: 22px; fill: white; flex-shrink: 0; }
.btn-store .store-text small { display: block; font-size: 0.65rem; color: rgba(255,255,255,0.7); }
.btn-store .store-text strong { font-size: 0.9rem; display: block; }

.hero-trust { display: flex; align-items: center; gap: 1.5rem; margin-top: 1.25rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: var(--text-muted); font-weight: 600; }
.trust-item span:first-child { color: #22c55e; }

/* === SECTIONS === */
.section { padding: 5rem 1.5rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

.section-title span { color: var(--primary); }
.section-sub { color: var(--text-muted); font-size: 1.05rem; margin-top: 0.75rem; max-width: 600px; }

/* === MISSAO === */
.missao { background: white; }

.missao-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.missao-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.missao-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.missao-card-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  background: white;
}

.missao-card h3 { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 800; margin-bottom: 0.4rem; }
.missao-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

.missao-stats { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.stat-item .num { font-family: var(--font-heading); font-size: 2rem; font-weight: 900; color: var(--primary); display: block; }
.stat-item .label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }

.quote-block {
  background: var(--bg-dark);
  color: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.quote-block::before { content: '"'; font-family: Georgia, serif; font-size: 8rem; position: absolute; top: -1.5rem; left: 1.5rem; color: rgba(255,255,255,0.06); line-height: 1; }

.quote-block blockquote { font-style: italic; font-size: 1.15rem; line-height: 1.6; margin-bottom: 1rem; position: relative; }
.quote-block cite { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* === MURAL PREVIEW === */
.mural-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }

.historia-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.25s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.75rem; gap: 0.5rem; }

.card-author { display: flex; align-items: center; gap: 0.6rem; }

.avatar {
  width: 36px; height: 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.card-author-name { font-weight: 700; font-size: 0.9rem; display: block; }
.card-author-nick { font-size: 0.75rem; color: var(--text-muted); display: block; }

.card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-mais-curtida { background: rgba(239,68,68,0.1); color: #dc2626; }
.badge-historia-epica { background: rgba(234,179,8,0.1); color: #b45309; }
.badge-quase-deu-ruim { background: rgba(239,68,68,0.08); color: #9f1239; }
.badge-lenda { background: rgba(234,179,8,0.12); color: #92400e; }
.badge-destaque { background: rgba(224,122,53,0.1); color: var(--primary-dark); }

.card-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 800; margin-bottom: 0.5rem; line-height: 1.3; }
.card-text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--border); }
.card-votes { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: var(--text-muted); font-weight: 600; }
.card-comments { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: var(--text-muted); }

.btn-vote {
  display: flex; align-items: center; gap: 0.4rem;
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  cursor: pointer; font-size: 0.82rem; font-weight: 700;
  transition: all 0.2s;
  font-family: var(--font-body);
}

.btn-vote:hover { background: rgba(224,122,53,0.1); border-color: var(--primary); color: var(--primary); }
.btn-vote.voted { background: rgba(224,122,53,0.12); border-color: var(--primary); color: var(--primary); }

/* === NEWSLETTER === */
.newsletter-section { padding: 3rem 1.5rem; }

.newsletter-box {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-dark);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(224,122,53,0.15), transparent 70%);
}

.newsletter-icon {
  width: 60px; height: 60px;
  background: var(--primary);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.25rem;
  position: relative;
}

.newsletter-box h2 { font-family: var(--font-heading); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: white; margin-bottom: 0.75rem; position: relative; }
.newsletter-box h2 span { color: var(--primary-light); }
.newsletter-box p { color: rgba(255,255,255,0.7); font-size: 0.95rem; max-width: 480px; margin: 0 auto 2rem; position: relative; line-height: 1.7; }

.newsletter-form { display: flex; gap: 0.75rem; max-width: 500px; margin: 0 auto; position: relative; }
.newsletter-input {
  flex: 1; padding: 0.85rem 1rem 0.85rem 2.75rem;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: white;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-input:focus { border-color: var(--primary); }
.newsletter-input-wrap { position: relative; flex: 1; }
.newsletter-input-icon { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); font-size: 0.9rem; opacity: 0.5; pointer-events: none; }

.btn-newsletter {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: var(--font-body);
  display: flex; align-items: center; gap: 0.5rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-newsletter:hover { background: var(--primary-dark); transform: translateY(-1px); }

.newsletter-trust { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 0.75rem; position: relative; }

.newsletter-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; position: relative; }
.perk { text-align: center; }
.perk-icon { font-size: 1.4rem; margin-bottom: 0.4rem; }
.perk h4 { color: white; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.2rem; }
.perk p { color: rgba(255,255,255,0.55); font-size: 0.75rem; }

/* === DICAS === */
.dicas-section { background: var(--bg); }

.dicas-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.dica-tag {
  background: rgba(224,122,53,0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 1rem;
}

.dicas-card h3 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; margin-bottom: 0.75rem; }
.dicas-card p { color: var(--text-muted); line-height: 1.7; }

.dicas-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; }
.dicas-dots { display: flex; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; }
.dot.active { background: var(--primary); width: 24px; border-radius: 4px; }
.dicas-arrows { display: flex; gap: 0.5rem; }

.btn-arrow {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s;
}

.btn-arrow:hover { border-color: var(--primary); color: var(--primary); }

.quick-tips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.quick-tip {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  text-align: center;
}

.quick-tip-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.quick-tip h4 { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.2rem; }
.quick-tip strong { font-family: var(--font-heading); font-size: 1rem; font-weight: 800; color: var(--text); }

.dica-update { text-align: center; margin-top: 1.5rem; font-size: 0.82rem; color: var(--text-muted); }
.dica-update strong { color: var(--primary); }

/* === FOOTER === */
footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand-name { display: flex; align-items: center; gap: 0.6rem; color: white; font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; margin-bottom: 0.75rem; }
.footer-brand-name-icon { width: 36px; height: 36px; background: var(--primary); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; max-width: 300px; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social-btn { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; text-decoration: none; color: rgba(255,255,255,0.6); font-size: 1rem; transition: all 0.2s; }
.social-btn:hover { background: var(--primary); color: white; }

.footer-col h4 { color: white; font-weight: 700; margin-bottom: 1rem; font-size: 0.9rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-col a:hover { color: white; }

.footer-bottom { max-width: 1200px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; flex-wrap: wrap; gap: 0.5rem; }

/* === BUTTONS === */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: var(--font-body);
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(224,122,53,0.4); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: var(--font-body);
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* === MODAL === */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center; justify-content: center;
  padding: 1rem;
}

.modal-overlay.active { display: flex; }

.modal {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  width: 100%; max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close { position: absolute; top: 1.25rem; right: 1.25rem; background: var(--bg); border: none; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; }
.modal h2 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.modal p.sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 0.4rem; color: var(--text); }
.form-input, .form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus, .form-textarea:focus { border-color: var(--primary); background: white; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; }

/* === MESSAGES === */
.messages { position: fixed; top: 80px; right: 1rem; z-index: 3000; display: flex; flex-direction: column; gap: 0.5rem; max-width: 380px; }
.msg {
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  font-weight: 600; font-size: 0.88rem;
  display: flex; align-items: center; gap: 0.6rem;
  box-shadow: var(--shadow-hover);
  animation: slideIn 0.3s ease;
}

.msg.success { background: #f0fdf4; border: 1px solid #86efac; color: #15803d; }
.msg.error { background: #fef2f2; border: 1px solid #fca5a5; color: #dc2626; }
.msg.info { background: #eff6ff; border: 1px solid #93c5fd; color: #2563eb; }

@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

/* === RANKING SIDEBAR === */
.mural-layout { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; align-items: start; }
.ranking-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 90px; }
.ranking-card h3 { font-family: var(--font-heading); font-size: 1rem; font-weight: 800; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.ranking-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid var(--border); }
.ranking-item:last-child { border-bottom: none; }
.rank-num { font-family: var(--font-heading); font-weight: 900; font-size: 0.9rem; color: var(--text-muted); width: 20px; }
.rank-num.top { color: var(--primary); }
.rank-title { font-size: 0.82rem; font-weight: 700; flex: 1; }
.rank-votes { font-size: 0.75rem; color: var(--text-muted); }

/* === SEARCH === */
.mural-search { margin-bottom: 1.5rem; }
.search-input {
  width: 100%; padding: 0.85rem 1rem 0.85rem 2.75rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  background: white;
  outline: none;
  color: var(--text);
  transition: border-color 0.2s;
}
.search-input:focus { border-color: var(--primary); }
.search-wrap { position: relative; }
.search-icon { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .app-mockup { display: none; }
  .missao-grid { grid-template-columns: 1fr; gap: 2rem; }
  .mural-layout { grid-template-columns: 1fr; }
  .ranking-card { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .quick-tips { grid-template-columns: repeat(2, 1fr); }
  .newsletter-perks { grid-template-columns: 1fr; gap: 1rem; text-align: left; }
  .perk { display: flex; align-items: center; gap: 0.75rem; text-align: left; }
}

@media (max-width: 640px) {
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; padding: 1rem; gap: 0.25rem; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 1rem; }
  .btn-nav { display: block; margin-top: 0.5rem; text-align: center; }
  .hamburger { display: flex; }
  .hero { padding: 2.5rem 1rem; }
  .mural-grid { grid-template-columns: 1fr; }
  .missao-cards { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .btn-newsletter { width: 100%; justify-content: center; }
  .store-buttons { flex-direction: column; }
  .btn-store { flex: none; width: fit-content; min-width: unset; }
  .hero-stats { gap: 1.25rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .quick-tips { grid-template-columns: repeat(2, 1fr); }
  .newsletter-box { padding: 2rem 1.25rem; }
  .mural-grid .historia-card:nth-child(n+3) { display: none; }
}

/* === MURAL PAGE === */
.mural-header { padding: 3rem 1.5rem 2rem; text-align: center; }
.mural-header-badge { display: inline-flex; align-items: center; gap: 0.4rem; border: 1px solid var(--border); padding: 0.35rem 0.85rem; border-radius: 100px; font-size: 0.82rem; font-weight: 700; color: var(--text-muted); margin-bottom: 1rem; }
.mural-page-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem 4rem; }

.btn-contar {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--primary); color: white; border: none;
  padding: 0.85rem 1.75rem; border-radius: 12px;
  font-weight: 800; font-size: 0.95rem; font-family: var(--font-body);
  cursor: pointer; transition: all 0.2s; margin-top: 1rem;
}
.btn-contar:hover { background: var(--primary-dark); transform: translateY(-2px); }

.empty-state { text-align: center; padding: 4rem 1rem; color: var(--text-muted); }
.empty-state .emoji { font-size: 3rem; display: block; margin-bottom: 1rem; }

/* Historia detail */
.detalhe-layout { max-width: 760px; margin: 0 auto; padding: 2rem 1.5rem; }
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--text-muted); text-decoration: none; font-size: 0.88rem; font-weight: 600; margin-bottom: 1.5rem; transition: color 0.2s; }
.back-link:hover { color: var(--primary); }
.detalhe-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; margin-bottom: 2rem; }
.detalhe-card h1 { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 800; margin: 1rem 0; }
.detalhe-body { color: var(--text-muted); line-height: 1.8; font-size: 1rem; }
.detalhe-actions { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.votos-count { font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; color: var(--primary); }
