/* Equality Sobre Nós - Premium v4 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif !important; }

/* Layout overrides */
.page-template-equality-sobre .entry-content, .page-template-equality-sobre .site-main,
.page-template-equality-sobre #primary, .page-template-equality-sobre .ast-container,
.page-template-equality-sobre #content > .ast-container { display: block !important; max-width: 100% !important; padding: 0 !important; margin: 0 !important; width: 100% !important; }
.page-template-equality-sobre .entry-header, .page-template-equality-sobre .ast-article-single .entry-header { display: none !important; }
.page-template-equality-sobre .ast-article-single { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }
.page-template-equality-sobre .site-content { padding-top: 0 !important; }
.page-template-equality-sobre article { max-width: 100% !important; margin: 0 !important; padding: 0 !important; }
.page-template-equality-sobre .ast-separate-container .ast-article-single { padding: 0 !important; }
.page-template-equality-sobre .ast-separate-container .entry-content { margin: 0 !important; padding: 0 !important; }
.page-template-equality-sobre .ast-separate-container #primary { padding: 0 !important; }

/* Header */
.site-header, .ast-primary-header-bar, #ast-desktop-header { background: rgba(10,38,71,0.95) !important; backdrop-filter: blur(20px); border-bottom: 1px solid rgba(44,217,255,0.1) !important; }
.ast-builder-menu-1 .main-header-menu > .menu-item > a, .main-header-menu > .menu-item > a { color: #fff !important; font-size: 14px !important; font-weight: 500 !important; }
.main-header-menu > .menu-item > a:hover { color: #2CD9FF !important; }
.main-header-menu .sub-menu { background: rgba(10,38,71,0.98) !important; border: 1px solid rgba(44,217,255,0.15) !important; border-radius: 12px !important; }
.main-header-menu .sub-menu a { color: #B8D4E3 !important; }
.main-header-menu .sub-menu a:hover { color: #2CD9FF !important; }
.site-logo img, .custom-logo-link img { max-height: 50px !important; width: auto !important; }

.sb-container { max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 20px; position: relative; z-index: 2; }

/* ===== HERO ===== */
.sb-hero { background: #020c1b; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; padding: 140px 0 80px; }
.sb-hero-bg { position: absolute; inset: 0; background: linear-gradient(160deg, #020c1b 0%, #0A2647 25%, #144272 50%, #0d1f3c 75%, #020c1b 100%); background-size: 400% 400%; animation: sb-gradient 15s ease infinite; }
@keyframes sb-gradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.sb-hero-overlay { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232CD9FF' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.sb-hero-grid-pattern { position: absolute; inset: 0; background: linear-gradient(rgba(44,217,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(44,217,255,0.03) 1px, transparent 1px); background-size: 60px 60px; }
.sb-hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.sb-orb-1 { width: 500px; height: 500px; background: rgba(44,217,255,0.08); top: -10%; right: -5%; animation: sb-orb 12s ease-in-out infinite; }
.sb-orb-2 { width: 400px; height: 400px; background: rgba(37,211,102,0.06); bottom: -15%; left: -8%; animation: sb-orb 15s ease-in-out infinite reverse; }
.sb-orb-3 { width: 300px; height: 300px; background: rgba(44,217,255,0.05); top: 40%; left: 30%; animation: sb-orb 10s ease-in-out infinite 3s; }
@keyframes sb-orb { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -20px) scale(1.1); } 66% { transform: translate(-20px, 15px) scale(0.9); } }

.sb-hero-content { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.sb-chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(44,217,255,0.08); border: 1px solid rgba(44,217,255,0.2); border-radius: 50px; padding: 8px 20px; font-size: 13px; color: #2CD9FF; font-weight: 600; margin-bottom: 24px; letter-spacing: 1px; }
.sb-chip i { font-size: 12px; }
.sb-hero-content h1 { color: #fff; font-size: 52px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.sb-glow-text { background: linear-gradient(135deg, #2CD9FF, #25D366, #2CD9FF); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: sb-text-glow 3s linear infinite; }
@keyframes sb-text-glow { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
.sb-hero-content p { color: rgba(184,212,227,0.7); font-size: 17px; line-height: 1.7; max-width: 600px; margin: 0 auto; }

/* Metrics bar */
.sb-hero-metrics { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.sb-metric { text-align: center; min-width: 100px; }
.sb-metric-value { color: #fff; font-size: 36px; font-weight: 800; }
.sb-metric-label { color: rgba(184,212,227,0.5); font-size: 12px; text-transform: uppercase; letter-spacing: 2px; margin: 4px 0 8px; }
.sb-metric-bar { height: 3px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; width: 80px; margin: 0 auto; }
.sb-metric-fill { height: 100%; background: linear-gradient(90deg, #2CD9FF, #25D366); border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1); }

/* Scroll indicator */
.sb-hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); text-align: center; }
.sb-hero-scroll span { color: rgba(184,212,227,0.3); font-size: 11px; text-transform: uppercase; letter-spacing: 3px; display: block; margin-bottom: 8px; }
.sb-scroll-line { width: 1px; height: 40px; background: linear-gradient(180deg, rgba(44,217,255,0.5), transparent); margin: 0 auto; animation: sb-scroll 2s ease-in-out infinite; }
@keyframes sb-scroll { 0%, 100% { opacity: 0.3; height: 30px; } 50% { opacity: 1; height: 50px; } }

/* ===== SHARED ===== */
.sb-tag { display: inline-block; font-size: 12px; font-weight: 700; color: #2CD9FF; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 12px; }
.sb-tag-light { display: block; text-align: center; font-size: 12px; font-weight: 700; color: #2CD9FF; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 12px; }
.sb-section-header { text-align: center; margin-bottom: 60px; }
.sb-section-header h2 { color: #0A2647; font-size: 38px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 12px; }
.sb-h2-white { color: #fff !important; font-size: 38px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 12px; }
.sb-highlight { position: relative; color: #0A2647; }
.sb-highlight::after { content: ''; position: absolute; bottom: 2px; left: 0; right: 0; height: 8px; background: rgba(44,217,255,0.2); z-index: -1; border-radius: 4px; }
.sb-subtitle-light { color: rgba(255,255,255,0.88) !important; font-size: 15px; text-align: center; max-width: 500px; margin: 0 auto; }

/* ===== VIDEO BACKGROUND ===== */
.page-template-equality-sobre { overflow-x: hidden; }

.sb-videobg-section {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  padding-bottom: 38%;
  overflow: hidden;
  background: #0A2647;
}
.sb-videobg-wrapper {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sb-videobg-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
}
.sb-videobg-overlay { position: absolute; inset: 0; background: rgba(10,38,71,0.7); z-index: 2; transition: opacity 0.5s; }
.sb-videobg-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.sb-play-circle { width: 80px; height: 80px; background: rgba(255,255,255,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s; box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.sb-play-circle:hover { background: #fff; transform: scale(1.1); box-shadow: 0 8px 40px rgba(0,0,0,0.4); }
.sb-play-circle i { font-size: 28px; color: #0A2647; margin-left: 4px; }
.sb-play-text { color: #fff; font-family: 'Jost', 'Inter', sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; opacity: 0.8; }

/* ===== VIDEO MODAL ===== */
.sb-video-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.sb-video-modal.active { opacity: 1; visibility: visible; }
.sb-video-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); }
.sb-video-modal-content { position: relative; z-index: 2; width: 90%; max-width: 800px; animation: modalIn 0.4s ease; }
.sb-video-modal.active .sb-video-modal-content { animation: modalIn 0.4s ease; }
@keyframes modalIn { from { opacity: 0; transform: scale(0.9) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.sb-video-modal-close { position: absolute; top: -50px; right: 0; width: 40px; height: 40px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; z-index: 3; color: #fff; font-size: 18px; }
.sb-video-modal-close:hover { background: rgba(255,255,255,0.25); transform: rotate(90deg); }
.sb-video-modal-player { position: relative; padding-bottom: 56.25%; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.5); background: #000; }
.sb-video-modal-player iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 768px) {
    .sb-videobg-section { padding-bottom: 56.25%; }
    .sb-play-circle { width: 60px; height: 60px; }
    .sb-play-circle i { font-size: 20px; }
    .sb-play-text { font-size: 12px; }
    .sb-video-modal-content { width: 95%; }
    .sb-video-modal-close { top: -45px; }
}

/* ===== STORY ===== */
.sb-story-section { background: #fff; padding: 100px 0; }
.sb-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sb-story-text h2 { color: #0A2647; font-size: 36px; font-weight: 800; margin-bottom: 20px; letter-spacing: -0.5px; }
.sb-story-text p { color: #555; font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.sb-story-text p strong { color: #0A2647; }
.sb-story-signature { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid #eee; }
.sb-sig-logo { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.sb-story-signature strong { display: block; color: #0A2647; font-size: 14px; }
.sb-story-signature span { color: #999; font-size: 12px; }
.sb-story-visual { position: relative; }
.sb-story-img-wrapper { position: relative; }
.sb-story-img-wrapper img { width: 100%; border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,0.1); }
.sb-story-float-card { position: absolute; bottom: -20px; left: -20px; background: #fff; border-radius: 16px; padding: 16px 24px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 12px; border: 1px solid #f0f0f0; }
.sb-story-float-card i { font-size: 24px; color: #FFD700; }
.sb-story-float-card strong { display: block; color: #0A2647; font-size: 14px; }
.sb-story-float-card span { color: #888; font-size: 12px; }

/* ===== MVV ===== */
.sb-mvv-section { background: #020c1b; padding: 100px 0; position: relative; overflow: hidden; }
.sb-mvv-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #020c1b, #0A2647, #0d1f3c); }
.sb-mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 2; }
.sb-mvv-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 24px; padding: 40px 32px; text-align: center; transition: all 0.4s; position: relative; overflow: hidden; }
.sb-mvv-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(44,217,255,0.4), transparent); transform: scaleX(0); transition: transform 0.5s; }
.sb-mvv-card:hover { background: rgba(255,255,255,0.06); transform: translateY(-8px); }
.sb-mvv-card:hover::before { transform: scaleX(1); }
.sb-mvv-featured { background: rgba(44,217,255,0.05); border-color: rgba(44,217,255,0.15); }
.sb-mvv-icon { width: 60px; height: 60px; background: rgba(44,217,255,0.1); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; border: 1px solid rgba(44,217,255,0.15); }
.sb-mvv-icon i { font-size: 22px; color: #2CD9FF; }
.sb-mvv-number { color: rgba(44,217,255,0.15); font-size: 48px; font-weight: 900; position: absolute; top: 16px; right: 24px; }
.sb-mvv-card h3 { color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.sb-mvv-card p { color: rgba(255,255,255,0.88) !important; font-size: 14px; line-height: 1.7; }

/* ===== DIFF ===== */
.sb-diff-section { background: #f7f9fc; padding: 100px 0; }
.sb-diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sb-diff-item { background: #fff; border-radius: 16px; padding: 28px; display: flex; gap: 20px; align-items: flex-start; border: 1px solid #eee; transition: all 0.3s; }
.sb-diff-item:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,0,0,0.06); border-color: rgba(44,217,255,0.3); }
.sb-diff-num { font-size: 32px; font-weight: 900; color: rgba(44,217,255,0.2); line-height: 1; min-width: 40px; }
.sb-diff-content h4 { color: #0A2647; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.sb-diff-content p { color: #777; font-size: 13px; line-height: 1.5; margin: 0; }

/* ===== TEAM ===== */
.sb-team-section { background: linear-gradient(180deg, #0A2647, #020c1b); padding: 100px 0; position: relative; overflow: hidden; }
.sb-team-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(44,217,255,0.05) 0%, transparent 50%); }
.sb-team-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; position: relative; z-index: 2; }
.sb-team-card { text-align: center; }
.sb-team-card img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(44,217,255,0.15); transition: all 0.4s; filter: grayscale(30%); }
.sb-team-card img:hover { filter: grayscale(0); border-color: #2CD9FF; transform: scale(1.15); box-shadow: 0 0 25px rgba(44,217,255,0.3); }
.sb-team-card span { display: block; margin-top: 8px; font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.9) !important; }

/* ===== CTA ===== */
.sb-cta-section { background: #f7f9fc; padding: 80px 0; position: relative; }
.sb-cta-orb { position: absolute; top: 50%; left: 50%; width: 400px; height: 200px; background: radial-gradient(ellipse, rgba(44,217,255,0.06) 0%, transparent 70%); transform: translate(-50%, -50%); }
.sb-cta-card { background: linear-gradient(135deg, #0A2647, #144272); border-radius: 28px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden; border: 1px solid rgba(44,217,255,0.1); }
.sb-cta-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #2CD9FF, #25D366, #2CD9FF); }
.sb-cta-card h2 { color: #fff; font-size: 34px; font-weight: 800; margin-bottom: 12px; }
.sb-cta-card p { color: rgba(184,212,227,0.7); font-size: 16px; margin-bottom: 32px; }
.sb-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.sb-btn-primary { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, #25D366, #128C7E); color: #fff !important; padding: 18px 42px; border-radius: 50px; font-size: 16px; font-weight: 700; text-decoration: none !important; transition: all 0.3s; box-shadow: 0 0 25px rgba(37,211,102,0.3); }
.sb-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 40px rgba(37,211,102,0.4); }
.sb-btn-secondary { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: #fff !important; padding: 18px 42px; border-radius: 50px; font-size: 16px; font-weight: 600; text-decoration: none !important; border: 1px solid rgba(255,255,255,0.2); transition: all 0.3s; }
.sb-btn-secondary:hover { border-color: #2CD9FF; color: #2CD9FF !important; background: rgba(44,217,255,0.05); }

/* WhatsApp float (shared) */
.eq-whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; background: linear-gradient(135deg, #25D366, #128C7E); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff !important; text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,0.4); z-index: 9999; transition: all 0.3s; }
.eq-whatsapp-float::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: linear-gradient(135deg, #25D366, #128C7E); z-index: -1; animation: sb-wa-pulse 2s ease-in-out infinite; opacity: 0.4; }
.eq-whatsapp-float:hover { transform: scale(1.1); }
.eq-whatsapp-float i { font-size: 28px; }
@keyframes sb-wa-pulse { 0%, 100% { transform: scale(1); opacity: 0.4; } 50% { transform: scale(1.3); opacity: 0; } }

/* Footer */
.site-footer, .ast-footer-overlay { background: #020c1b !important; }
.site-footer, .site-footer * { color: rgba(184,212,227,0.5) !important; }
.site-footer a { color: #2CD9FF !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .sb-hero { padding: 120px 0 60px; min-height: auto; }
  .sb-hero-content h1 { font-size: 32px; }
  .sb-hero-metrics { gap: 20px; }
  .sb-metric-value { font-size: 24px; }
  .sb-story-grid, .sb-mvv-grid, .sb-diff-grid { grid-template-columns: 1fr; gap: 20px; }
  .sb-team-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .sb-team-card img { width: 80px; height: 80px; }
  .sb-section-header h2, .sb-h2-white { font-size: 28px !important; }
  .sb-story-text h2 { font-size: 28px; }
  .sb-cta-card { padding: 40px 24px; }
  .sb-cta-card h2 { font-size: 26px; }
  .sb-cta-btns { flex-direction: column; align-items: center; }
  .sb-hero-scroll { display: none; }
  .sb-story-float-card { position: relative; bottom: auto; left: auto; margin-top: 16px; }
}

/* ===== EQUALITY OFFICIAL PALETTE OVERRIDES (SOBRE) ===== */
:root {
  --eq-brand-blue: #3F43A9;
  --eq-brand-blue-dark: #1F244A;
  --eq-brand-yellow: #F2C200;
  --eq-brand-light: #F6F7FC;
  --eq-brand-text: #3A416F;
}

.sb-hero-bg,
.sb-mvv-bg,
.sb-team-section,
.sb-cta-card {
  background: linear-gradient(135deg, var(--eq-brand-blue-dark) 0%, var(--eq-brand-blue) 55%, #4D52BE 100%) !important;
}

.sb-chip,
.sb-tag,
.sb-tag-light,
.sb-mvv-icon i,
.sb-btn-secondary:hover,
.sb-play-circle i {
  color: var(--eq-brand-yellow) !important;
}

.sb-glow-text {
  color: var(--eq-brand-yellow) !important;
  text-shadow: 0 2px 10px rgba(242,194,0,0.35);
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}

.sb-metric-fill,
.sb-cta-card::before,
.sb-mvv-card::before {
  background: linear-gradient(90deg, var(--eq-brand-yellow), #fff2b3) !important;
}

.sb-btn-primary,
.eq-whatsapp-float,
.eq-whatsapp-float::before {
  background: linear-gradient(135deg, var(--eq-brand-yellow), #d9aa00) !important;
  color: var(--eq-brand-blue-dark) !important;
  box-shadow: 0 0 24px rgba(242, 194, 0, 0.28) !important;
}

.sb-btn-secondary {
  border-color: rgba(242,194,0,0.35) !important;
}

.sb-story-section,
.sb-diff-section,
.sb-cta-section,
.sb-diff-item {
  background: var(--eq-brand-light) !important;
}

.sb-story-text h2,
.sb-story-text p strong,
.sb-diff-content h4,
.sb-story-signature strong,
.sb-play-circle i,
.sb-highlight {
  color: var(--eq-brand-text) !important;
}

/* Garante legibilidade em seções escuras */
.sb-mvv-section .sb-section-header h2,
.sb-team-section .sb-section-header h2,
.sb-cta-card h2 {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.sb-highlight::after {
  background: rgba(242,194,0,0.28) !important;
}

.sb-diff-item:hover,
.sb-story-signature,
.sb-story-float-card,
.sb-mvv-featured {
  border-color: rgba(242,194,0,0.35) !important;
}
