:root {
  --bg-base: #080c12;
  --bg-surface: #0d1320;
  --bg-elevated: #111927;
  --bg-card: #131c2b;
  --border: rgba(255, 255, 255, 0.06);
  --border-bright: rgba(255, 255, 255, 0.12);
  --text-primary: #f0ece4;
  --text-secondary: #8c9ab0;
  --text-muted: #4a5568;
  --gold: #c9a96e;
  --gold-light: #e8c98a;
  --gold-dim: rgba(201, 169, 110, 0.15);
  --blue: #3b7dd8;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: .4;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
  border-radius: 2px;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s, backdrop-filter .4s;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

nav.scrolled {
  background: #ffffff;
  backdrop-filter: none;
  border-bottom: 1px solid #e0e0e0;
}

.nav-links a {
  color: #333333;
}

.nav-links a:hover {
  color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: #333333;
  border: 1px solid #cccccc;
}

.btn-ghost:hover {
  color: var(--gold);
  background: rgba(201, 169, 110, 0.1);
  border-color: var(--gold);
}

.nav-user-name {
  color: #333333;
}

.nav-user-chip {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
}

.hamburger span {
  background: #333333;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

.nav-logo-icon {
  background: transparent !important;
  box-shadow: none !important;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon img {
  width: 140px;
  height: 140px;
  border-radius: 0;
  object-fit: contain;
}

.nav-logo-text {
  display: none !important;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 100px;
  cursor: pointer;
  transition: all .2s;
}

.nav-user-chip:hover {
  border-color: var(--gold);
  background: #f0f0f0;
}

.nav-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #8b6914);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: #0d0a04;
}

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

.hamburger span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  transition: all .3s;
  display: block;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: #ffffff;
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
  display: flex;
}

.mobile-nav a {
  color: #333333;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color .2s;
  cursor: pointer;
}

.mobile-nav a:hover {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s var(--ease);
  text-decoration: none;
  border: none;
  outline: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #a8801f);
  color: #0d0a04;
  box-shadow: 0 4px 24px rgba(201, 169, 110, .25);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 32px rgba(201, 169, 110, .35);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(201, 169, 110, .4);
}

.btn-outline-gold:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
}

.btn-large {
  padding: 14px 28px;
  font-size: .95rem;
  border-radius: var(--radius-md);
}

.btn-refresh {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: var(--text-muted);
}

.btn-refresh svg {
  stroke: currentColor;
}

.btn-refresh:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
  transform: rotate(180deg);
}

.password-toggle-btn {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.password-toggle-btn:hover {
  background: var(--bg-card);
  border-color: var(--gold-dim);
}

.password-toggle-btn .eye-icon {
  stroke: var(--text-muted);
  transition: stroke 0.2s ease;
}

.password-toggle-btn:hover .eye-icon {
  stroke: var(--gold);
}

#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 2rem 80px;
  flex-direction: column;
  gap: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .18;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #c9a96e, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #3b7dd8, transparent 70%);
  bottom: 0;
  left: -100px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #6b4fbb, transparent 70%);
  bottom: 100px;
  right: -50px;
  animation: orbFloat 12s ease-in-out infinite;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(201, 169, 110, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 169, 110, .03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(201, 169, 110, .1);
  border: 1px solid rgba(201, 169, 110, .2);
  border-radius: 100px;
  font-size: .8rem;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeUp .8s var(--ease) both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .4;
  }
}

/* TÍTULO CORRIGIDO - COM QUEBRA DE LINHA EM TELAS GRANDES */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  animation: fadeUp .8s .1s var(--ease) both;
  max-width: 100%;
}

.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-line {
  display: inline-block;
}

/* Desktop - quebra de linha controlada */
@media (min-width: 992px) {
  .hero-title {
    white-space: normal;
    word-break: keep-all;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-title-line {
    display: block;
    margin-top: 0.25rem;
  }
}

/* Mobile */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.2rem;
    white-space: normal;
  }
  
  .hero-title-line {
    display: block;
    margin-top: 0.5rem;
  }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.7;
  animation: fadeUp .8s .2s var(--ease) both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp .8s .3s var(--ease) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0;
  justify-content: center;
  margin-top: 5rem;
  animation: fadeUp .8s .5s var(--ease) both;
}

.stat-card {
  padding: 1.5rem 2.5rem;
  border-right: 1px solid var(--border);
  text-align: center;
}

.stat-card:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .25rem;
}

.stat-label {
  font-size: .8rem;
  color: var(--text-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
  animation: fadeUp 1s 1s var(--ease) both;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, .15);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-mouse-dot {
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  80% {
    transform: translateY(10px);
    opacity: 0;
  }
}

section {
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-pad {
  padding: 100px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.75;
}

#parceiros {
  background: var(--bg-surface);
}

.partners-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 169, 110, .04), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.partner-card:hover {
  border-color: rgba(201, 169, 110, .25);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4), 0 0 0 1px rgba(201, 169, 110, .1);
}

.partner-card:hover::before {
  opacity: 1;
}

.partner-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.partner-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
}

.partner-type {
  font-size: .75rem;
  color: var(--text-muted);
  text-align: center;
}

.partner-badge {
  padding: 3px 10px;
  background: var(--gold-dim);
  border: 1px solid rgba(201, 169, 110, .2);
  border-radius: 100px;
  font-size: .7rem;
  color: var(--gold);
  letter-spacing: .04em;
}

/* CARD PARCEIROS - CENTRALIZADO CORRETAMENTE */
.partners-cta {
  display: flex;
  justify-content: center;
  width: 100%;
}

.partners-cta-card {
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.08), rgba(59, 125, 216, 0.04));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 900px;
  transition: all 0.4s var(--ease);
}

.partners-cta-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 110, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.plus-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--gold), #a8801f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #0d0a04;
  box-shadow: 0 0 20px rgba(201, 169, 110, 0.4);
  animation: pulsePlus 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulsePlus {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(201, 169, 110, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(201, 169, 110, 0.7);
  }
}

.partners-cta-text {
  flex: 1;
}

.partners-cta-text h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.partners-cta-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.partners-cta-text p strong {
  color: var(--gold);
}

#historia {
  background: var(--bg-base);
}

.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  margin-bottom: 6rem;
}

.history-text .section-desc {
  max-width: 100%;
  margin-bottom: 2rem;
}

.history-quote {
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

.history-quote p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-primary);
  font-style: italic;
  line-height: 1.5;
}

.history-card-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.history-card-main::after {
  content: '✝';
  position: absolute;
  bottom: -30px;
  right: -10px;
  font-size: 130px;
  color: rgba(201, 169, 110, .04);
  line-height: 1;
  pointer-events: none;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2rem;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 4px;
  box-shadow: 0 0 12px rgba(201, 169, 110, .4);
}

.timeline-connector {
  width: 1px;
  flex: 1;
  background: var(--border);
  margin-top: 4px;
  min-height: 32px;
}

.timeline-year {
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .06em;
  margin-bottom: .25rem;
}

.timeline-event {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mvv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color .3s;
}

.mvv-card:hover {
  border-color: rgba(201, 169, 110, .2);
}

.mvv-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: block;
}

.mvv-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: .75rem;
  letter-spacing: .02em;
}

.mvv-text {
  font-size: .875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

#impacto {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 100%);
  overflow: hidden;
}

.impact-inner {
  background: linear-gradient(135deg, rgba(201, 169, 110, .06), rgba(59, 125, 216, .04), rgba(107, 79, 187, .04));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.impact-inner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 169, 110, .08), transparent 70%);
  pointer-events: none;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

.impact-numbers {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.impact-number-item {
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
}

.impact-number-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.impact-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .25rem;
}

.impact-label {
  font-size: .85rem;
  color: var(--text-secondary);
}

.impact-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.impact-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.impact-feature-icon {
  width: 40px;
  height: 40px;
  background: var(--gold-dim);
  border: 1px solid rgba(201, 169, 110, .2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.impact-feature-title {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: .25rem;
}

.impact-feature-text {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* FOOTER CORRIGIDO */
footer {
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand-desc {
  font-size: 0.8rem;
  color: #666666;
  line-height: 1.5;
  margin: 0.5rem 0 1rem;
  max-width: 220px;
}

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

.social-link {
  width: 32px;
  height: 32px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #666666;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: #fff8f0;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #333333;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: #666666;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 0.7rem;
  font-size: 0.8rem;
  color: #666666;
  line-height: 1.4;
}

.input-group {
  display: flex;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  max-width: 220px;
}

.input-group input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: #333333;
}

.input-group input::placeholder {
  color: #999999;
}

.input-group button {
  padding: 8px 14px;
  background: var(--gold);
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  color: #0d0a04;
  transition: background 0.2s;
}

.input-group button:hover {
  background: var(--gold-light);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-text {
  font-size: 0.7rem;
  color: #999999;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.7rem;
  color: #999999;
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

/* LOGO DO FOOTER - AUMENTADA PARA 100px */
footer .nav-logo-icon {
  background: transparent !important;
  box-shadow: none !important;
}

footer .nav-logo-icon img {
  width: 100px !important;
  height: 100px !important;
  border-radius: 0 !important;
  object-fit: contain !important;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .88);
  backdrop-filter: blur(20px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}

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

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  position: relative;
  transform: scale(.95) translateY(20px);
  transition: transform .3s var(--ease);
}

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

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 30px;
  height: 30px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .9rem;
  transition: all .2s;
}

.modal-close:hover {
  color: var(--text-primary);
  border-color: var(--border-bright);
}

.modal-logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), #8b6914);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 30px rgba(201, 169, 110, .2);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: .5rem;
}

.modal-subtitle {
  font-size: .875rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: .04em;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color .2s;
}

.form-input:focus {
  border-color: rgba(201, 169, 110, .4);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-action {
  width: 100%;
  margin-top: .5rem;
  padding: 12px;
  font-size: .95rem;
}

.modal-tabs {
  display: flex;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 2rem;
  gap: 4px;
}

.modal-tab {
  flex: 1;
  padding: 8px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: .85rem;
  cursor: pointer;
  transition: all .2s;
}

.modal-tab.active {
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}

.form-page {
  display: none;
}

.form-page.active {
  display: block;
}

.modal-error {
  background: rgba(220, 50, 50, .1);
  border: 1px solid rgba(220, 50, 50, .25);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: .85rem;
  color: #f87171;
  margin-bottom: 1rem;
  display: none;
}

.modal-error.show {
  display: block;
}

.modal-success {
  background: rgba(34, 197, 94, .1);
  border: 1px solid rgba(34, 197, 94, .25);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: .85rem;
  color: #4ade80;
  margin-bottom: 1rem;
  display: none;
}

.modal-success.show {
  display: block;
}

.partner-modal-body {
  max-width: 560px;
}

.partner-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

#dashboard-page {
  display: none;
  min-height: 100vh;
  background: var(--bg-base);
  padding-top: 72px;
}

#dashboard-page.active {
  display: flex;
}

.dash-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  min-height: calc(100vh - 72px);
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow-y: auto;
}

.dash-main {
  flex: 1;
  padding: 2.5rem;
  overflow-y: auto;
  min-height: calc(100vh - 72px);
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .2s;
  color: var(--text-muted);
  font-size: .875rem;
  text-decoration: none;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
}

.dash-nav-item:hover {
  background: var(--bg-elevated);
  color: var(--text-secondary);
}

.dash-nav-item.active {
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid rgba(201, 169, 110, .15);
}

.dash-section-label {
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 1rem 14px .5rem;
}

.dash-greeting-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: .25rem;
}

.dash-greeting-sub {
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

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

.dash-card-label {
  font-size: .78rem;
  color: var(--text-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.dash-card-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
}

.dash-card-trend {
  font-size: .75rem;
  color: #4ade80;
  margin-top: .25rem;
}

.dash-profile-card {
  background: linear-gradient(135deg, rgba(201, 169, 110, .08), rgba(59, 125, 216, .04));
  border: 1px solid rgba(201, 169, 110, .15);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.dash-avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold), #8b6914);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #0d0a04;
  flex-shrink: 0;
}

.dash-profile-name {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: .25rem;
}

.dash-profile-email {
  font-size: .85rem;
  color: var(--text-secondary);
  margin-bottom: .5rem;
}

.dash-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--gold-dim);
  border: 1px solid rgba(201, 169, 110, .2);
  border-radius: 100px;
  font-size: .75rem;
  color: var(--gold);
  letter-spacing: .04em;
  text-transform: capitalize;
}

.dash-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.dash-info-item-label {
  font-size: .72rem;
  color: var(--text-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.dash-info-item-value {
  font-size: .9rem;
  color: var(--text-primary);
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}

.dash-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: .72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.dash-table td {
  padding: 12px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.dash-table tr:hover td {
  background: var(--bg-elevated);
}

.badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .03em;
}

.badge-gold {
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid rgba(201, 169, 110, .2);
}

.badge-blue {
  background: rgba(59, 125, 216, .12);
  color: #6ea8fe;
  border: 1px solid rgba(59, 125, 216, .2);
}

.badge-green {
  background: rgba(34, 197, 94, .1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, .2);
}

.badge-default {
  background: var(--bg-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.dash-content-panel {
  display: none;
}

.dash-content-panel.active {
  display: block;
}

.dash-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.dash-section-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-primary);
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(201, 169, 110, .2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

#site-content.hidden {
  display: none;
}

.delete-user-btn {
  background: rgba(220, 50, 50, 0.15);
  border: 1px solid rgba(220, 50, 50, 0.3);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: #f87171;
}

.delete-user-btn svg {
  stroke: currentColor;
}

.delete-user-btn:hover {
  background: rgba(220, 50, 50, 0.3);
  border-color: rgba(220, 50, 50, 0.5);
  color: #ff9999;
  transform: scale(1.05);
}

.nav-user-role {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.5px;
  font-weight: 500;
  line-height: 1.2;
}

#site-content {
  transition: opacity 0.3s var(--ease);
}

#site-content.hidden {
  display: none;
  opacity: 0;
}

#dashboard-page {
  transition: opacity 0.3s var(--ease);
  display: none;
  opacity: 0;
}

#dashboard-page.active {
  display: flex;
  opacity: 1;
}

.nav-links a, .mobile-nav a {
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-links a:active, .mobile-nav a:active {
  color: var(--gold);
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  15% {
    opacity: 1;
    transform: translateY(0);
  }
  85% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* Responsividade */
@media (max-width: 1024px) {
  .partners-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .history-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .impact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .impact-numbers {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .impact-number-item {
    flex: 1;
    min-width: 120px;
    border-bottom: none;
    border-right: 1px solid var(--border);
    padding-right: 2rem;
    padding-bottom: 0;
  }
  .impact-number-item:last-child {
    border-right: none;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .dash-sidebar {
    width: 220px;
  }
  .partners-cta-card {
    padding: 2rem;
    max-width: 100%;
  }
  .partners-cta-text h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-logo-icon img {
    width: 80px;
    height: 80px;
  }
  .partners-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mvv-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .stat-card {
    border-right: none;
    border-bottom: 1px solid var(--border);
    width: 100%;
    max-width: 200px;
  }
  .stat-card:last-child {
    border-bottom: none;
  }
  .impact-features {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .dash-sidebar {
    display: none;
  }
  .dash-main {
    padding: 1.5rem;
  }
  .dash-cards {
    grid-template-columns: 1fr 1fr;
  }
  .dash-profile-card {
    flex-direction: column;
    text-align: center;
  }
  .dash-info-grid {
    grid-template-columns: 1fr;
  }
  .partners-cta-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  .plus-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
  footer .nav-logo-icon img {
    width: 80px !important;
    height: 80px !important;
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  .dash-cards {
    grid-template-columns: 1fr;
  }
  .impact-numbers {
    flex-direction: column;
  }
  .impact-number-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
  }
  .partner-form-grid {
    grid-template-columns: 1fr;
  }
  .dash-info-grid {
    grid-template-columns: 1fr;
  }
  .nav-logo-icon img {
    width: 60px;
    height: 60px;
  }
  footer .nav-logo-icon img {
    width: 60px !important;
    height: 60px !important;
  }
  .plus-icon {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
  .partners-cta-text h3 {
    font-size: 1.2rem;
  }
}

.dash-sidebar::-webkit-scrollbar {
  width: 3px;
}

.dash-sidebar::-webkit-scrollbar-track {
  background: var(--bg-base);
}

.dash-sidebar::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
  border-radius: 3px;
}

.partner-edit-input:focus,
.partner-edit-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 169, 110, 0.2);
}

.partner-card {
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.partner-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 169, 110, 0.4);
}

.history-image-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.history-image-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 110, 0.3);
}

.pastor-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .history-image-card {
    margin-top: 1.5rem;
  }
}


