/* ── REVELATION ANIMATIONS ── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), 
              transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
  will-change: transform, opacity;
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Delay Helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 80px 48px 64px;
  background: var(--surface-0);
  border-bottom: 1px solid var(--border);
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-light); color: var(--brand-mid);
  border: 1px solid rgba(46, 125, 50, 0.2);
  padding: 5px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 600; margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.hero h1 {
  font-size: 44px; font-weight: 700; line-height: 1.15;
  color: var(--text-primary); max-width: 680px;
  margin: 0 auto 20px;
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--brand-mid); }
.hero p {
  font-size: 16px; color: var(--text-secondary);
  max-width: 520px; margin: 0 auto 36px; line-height: 1.75;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; justify-content: center; gap: 64px;
  margin-top: 56px; padding-top: 36px;
  border-top: 1px solid var(--border);
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 28px; font-weight: 700; color: var(--brand); }
.hero-stat span { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* ── SECTIONS COMUNS ── */
.section { padding: 64px 48px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.section + .section { background: var(--surface-1); }
.section:nth-child(odd) { background: var(--surface-2); }
.section-label {
  font-size: 11px; font-weight: 700; color: var(--brand-mid);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px;
}
.section-title { font-size: 26px; font-weight: 700; color: var(--brand); margin-bottom: 8px; letter-spacing: -0.2px; }
.section-sub { font-size: 15px; color: var(--text-secondary); margin-bottom: 36px; line-height: 1.75; max-width: 600px; }

/* ── MÓDULOS ── */
.modules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.module-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.module-card:hover { 
  border-color: var(--brand-mid); 
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.module-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 22px;
  box-shadow: var(--shadow-sm);
}
.mod-green { background: var(--brand-light); color: var(--brand-mid); }
.mod-blue  { background: #E3F2FD; color: #1565C0; }
.mod-teal  { background: #E0F2F1; color: #00796B; }
.mod-orange { background: #FFF3E0; color: #B53603; }

.module-card h3 { font-size: 16px; font-weight: 600; color: var(--brand); margin-bottom: 8px; }
.module-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.65; flex-grow: 1; }
.module-link {
  margin-top: 18px; font-size: 13px; color: var(--brand-mid);
  display: inline-flex; align-items: center; gap: 4px; font-weight: 600;
  transition: gap 0.2s ease;
}
.module-card:hover .module-link {
  gap: 8px;
}

/* ── ORIGEM / HISTORIA ── */
.story-section { padding: 80px 48px; background: var(--brand-gradient); position: relative; overflow: hidden; }
.story-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.story-inner { max-width: 860px; margin: 0 auto; position: relative; z-index: 2; }
.story-label { font-size: 11px; font-weight: 700; color: #81C784; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.story-title { font-size: 32px; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 24px; letter-spacing: -0.3px; }
.story-title em { color: #A5D6A7; font-style: normal; }
.story-body { font-size: 15.5px; color: #E8F5E9; line-height: 1.85; max-width: 720px; opacity: 0.92; }
.story-body p + p { margin-top: 16px; }
.story-quote { margin-top: 36px; padding: 24px 28px; border-left: 4px solid #66BB6A; background: rgba(255,255,255,0.06); border-radius: 0 12px 12px 0; }
.story-quote p { font-size: 16.5px; font-style: italic; color: #fff; line-height: 1.75; }
.story-quote cite { display: block; margin-top: 12px; font-size: 12px; color: #A5D6A7; font-style: normal; font-weight: 500; }

/* ── IMPACTO ── */
.impact-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 32px; }
.impact-card { 
  background: #fff; 
  border: 1px solid var(--border); 
  border-radius: 16px; 
  padding: 26px 20px; 
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.impact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.impact-number { font-size: 34px; font-weight: 800; color: var(--brand-mid); line-height: 1; margin-bottom: 8px; }
.impact-label { font-size: 12.5px; color: var(--text-secondary); line-height: 1.5; font-weight: 500; }

/* ── DEPOIMENTO ── */
.testimonial-section { padding: 72px 48px; background: var(--surface-1); border-bottom: 1px solid var(--border); }
.testimonial-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.testimonial-inner blockquote { font-size: 22px; font-weight: 400; color: var(--brand); line-height: 1.7; font-style: italic; }
.testimonial-inner blockquote::before { content: '"'; font-size: 54px; color: var(--brand-mid); line-height: 0; vertical-align: -18px; margin-right: 6px; font-style: normal; font-weight: 700; }
.testimonial-inner cite { display: block; margin-top: 24px; font-size: 13.5px; color: var(--text-muted); font-style: normal; font-weight: 500; }

/* ── CTA BANNER ── */
.cta-section { padding: 48px; background: var(--surface-1); border-bottom: 1px solid var(--border); }
.cta-banner {
  background: var(--brand-gradient); border-radius: 18px;
  padding: 36px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0; width: 50%; height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner-text h3 { font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.cta-banner-text p { font-size: 14.5px; color: #A5D6A7; line-height: 1.65; max-width: 460px; }

/* ── IMPRENSA ── */
.press-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 32px; max-width: 800px; margin-left: auto; margin-right: auto; }
.press-card { 
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; 
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.press-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-mid);
}
.press-card .press-icon { width: 38px; height: 38px; background: var(--brand-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--brand-mid); font-size: 18px; box-shadow: var(--shadow-sm); }
.press-card h4 { font-size: 15px; font-weight: 600; color: var(--brand); margin-bottom: 8px; }
.press-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }
.press-card a { margin-top: 14px; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--brand-mid); font-weight: 600; transition: gap 0.2s ease; }
.press-card:hover a { gap: 8px; }

/* ── SOBRE ── */
.page-separator {
  padding: 12px 48px;
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .12em;
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 26px;
  box-shadow: var(--shadow-sm);
}
.about-card h4 {
  font-size: 15px; font-weight: 600; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px; color: var(--brand);
}
.about-card h4 i { color: var(--brand-mid); font-size: 18px; }
.about-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }
.timeline { margin-top: 8px; }
.tl-item {
  display: flex; gap: 14px; padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.tl-item:last-child { border: none; padding-bottom: 0; }
.tl-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--brand-mid); margin-top: 6px; flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--brand-light);
}
.tl-item strong { font-size: 12.5px; font-weight: 600; color: var(--text-primary); display: block; margin-bottom: 4px; }
.tl-item p { font-size: 12px; color: var(--text-secondary); line-height: 1.6; }

/* ── EQUIPE ── */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.team-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.team-card:hover { 
  border-color: var(--brand-mid); 
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.team-card h4 { font-size: 15px; font-weight: 600; color: var(--brand); margin-bottom: 4px; }
.team-card .role { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.team-info { display: flex; flex-direction: column; }

/* ── STACK ── */
.stack-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* ── CONTATO ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 26px;
  display: flex; align-items: flex-start; gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.contact-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--brand-light); color: var(--brand-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.contact-card h4 { font-size: 15px; font-weight: 600; color: var(--brand); margin-bottom: 6px; }
.contact-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 14px 24px; }
  .mobile-menu-toggle { display: flex; }
  
  /* Menu Mobile Drawer */
  .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 99;
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-cta {
    width: 100%;
    justify-content: center;
    padding: 11px;
  }

  .hero { padding: 56px 24px 44px; }
  .hero h1 { font-size: 32px; }
  .hero-stats { gap: 28px; flex-direction: column; align-items: center; margin-top: 40px; }
  .section, .cta-section { padding: 48px 24px; }
  .modules-grid, .team-grid { grid-template-columns: 1fr; gap: 16px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 28px; }
  .cta-banner-btn { width: 100%; justify-content: center; }
  footer { padding: 32px 24px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links { width: 100%; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 16px; }
  .page-separator { padding: 12px 24px; }
  .impact-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .press-grid { grid-template-columns: 1fr; gap: 16px; }
}
