/* Identidade preservada do /inicio original do Valora. */
:root {
  --site-primary: var(--valora-visual-accent, #65ACDE);
  --site-primary-dark: #4F9BCE;
  --site-primary-light: rgba(101,172,222,.13);
  --site-brand: var(--valora-visual-accent, #4BC3C7);
  --site-brand-dark: var(--valora-visual-accent, #35ADB1);
  --site-brand-light: rgba(var(--valora-visual-accent-rgb,75,195,199),.14);
  --site-secondary: #071827;
  --site-text: #172033;
  --site-muted: #64748B;
  --site-light: #94A3B8;
  --site-bg: #FFFFFF;
  --site-bg-soft: #F5F7FA;
  --site-card: #FFFFFF;
  --site-elevated: #FFFFFF;
  --site-glass: rgba(255,255,255,.92);
  --site-border: #E5EAF0;
  --site-border-strong: #CBD5E1;
  --site-logo: #071827;
  --site-hero-bg: linear-gradient(135deg,#F5F9FF 0%, #FFFFFF 100%);
  --site-top-bar-bg: linear-gradient(90deg,#071827 0%, #0A2235 100%);
  --site-cta-bg: linear-gradient(135deg,#071827 0%, #0A2235 100%);
}

html[data-theme="dark"] {
  --site-primary: var(--valora-visual-accent, #65ACDE);
  --site-primary-dark: #4F9BCE;
  --site-primary-light: rgba(101,172,222,.16);
  --site-brand: var(--valora-visual-accent, #4BC3C7);
  --site-brand-dark: var(--valora-visual-accent, #35ADB1);
  --site-brand-light: rgba(var(--valora-visual-accent-rgb,75,195,199),.16);
  --site-secondary: #ECECEC;
  --site-text: #ECECEC;
  --site-muted: #B4B4B4;
  --site-light: #8E8E8E;
  --site-bg: #212121;
  --site-bg-soft: #171717;
  --site-card: #2F2F2F;
  --site-elevated: #303030;
  --site-glass: rgba(33,33,33,.84);
  --site-border: rgba(255,255,255,.12);
  --site-border-strong: rgba(255,255,255,.20);
  --site-logo: #ECECEC;
  --site-hero-bg: linear-gradient(135deg,#212121 0%, #171717 100%);
  --site-top-bar-bg: linear-gradient(90deg,#171717 0%, #212121 100%);
  --site-cta-bg: linear-gradient(135deg,#171717 0%, #2F2F2F 100%);
}


:root {
  --bg: var(--site-bg);
  --bg-soft: var(--site-bg-soft);
  --bg-muted: #F5F7FA;
  --surface: var(--site-card);
  --surface-strong: #F5F7FA;
  --text: var(--site-text);
  --text-strong: var(--site-secondary);
  --text-soft: var(--site-muted);
  --text-muted: var(--site-light);
  --line: var(--site-border);
  --line-strong: var(--site-border-strong);
  --primary: var(--site-primary);
  --primary-strong: var(--site-primary-dark);
  --primary-soft: var(--site-primary-light);
  --navy: #071827;
  --navy-strong: #071827;
  --success: #22C55E;
  --shadow-sm: 0 1px 3px rgba(15,23,42,.05);
  --shadow-md: 0 4px 10px rgba(15,23,42,.08);
  --shadow-lg: 0 10px 25px rgba(15,23,42,.10);
  --transition: .25s ease;
}

html[data-theme="dark"] {
  --bg: var(--site-bg);
  --bg-soft: var(--site-bg-soft);
  --bg-muted: #171717;
  --surface: var(--site-card);
  --surface-strong: var(--site-elevated);
  --text: var(--site-text);
  --text-strong: var(--site-secondary);
  --text-soft: var(--site-muted);
  --text-muted: var(--site-light);
  --line: var(--site-border);
  --line-strong: var(--site-border-strong);
  --primary: var(--site-primary);
  --primary-strong: var(--site-primary-dark);
  --primary-soft: var(--site-primary-light);
  --navy: #ECECEC;
  --navy-strong: #F8FAFC;
  --success: #22C55E;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.28);
  --shadow-md: 0 10px 24px rgba(0,0,0,.30);
  --shadow-lg: 0 18px 42px rgba(0,0,0,.34);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--text-strong); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img,svg { max-width: 100%; }
button,input,textarea,select { font: inherit; }
.container { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }

.top-bar {
  background: var(--site-top-bar-bg);
  color: #fff;
  padding: 12px 0;
}
.top-bar-inner { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.top-bar-pill {
  padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,0.15); font-size: .88rem; font-weight: 700;
}
.top-bar-inner p { margin: 0; color: rgba(255,255,255,0.95); font-size: .95rem; }
.top-bar a {
  padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,0.96); color: var(--site-secondary); font-weight: 700;
}

header {
  position: sticky; top: 0; z-index: 1000; background: var(--site-glass); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(7,43,115,0.08); transition: var(--transition);
}
html[data-theme="dark"] header { background: rgba(9,8,13,0.9); border-bottom-color: rgba(255,255,255,0.08); }
header.is-scrolled { box-shadow: var(--shadow-sm); }

.nav-wrapper { display:flex; align-items:center; justify-content:space-between; gap:24px; min-height: 78px; }
.logo { display:inline-flex; align-items:center; gap:12px; flex-shrink:0; }
.logo { color: var(--site-logo); }
.logo-svg { display:block; width:156px; height:auto; }
.footer-logo { display:block; width:180px; height:auto; }
.logo .footer-logo { margin-bottom: 0; }

.nav-links { display:flex; align-items:center; gap:28px; flex:1; justify-content:center; }
.nav-links a, .nav-login { color: var(--site-secondary); opacity: .88; font-size: .98rem; font-weight: 500; }
html[data-theme="dark"] .nav-links a, html[data-theme="dark"] .nav-login { color: var(--text-strong); }
.nav-links a:hover, .nav-login:hover { color: var(--primary); }

.nav-actions { display:flex; align-items:center; gap:14px; }
.theme-toggle { width: 44px; height:44px; display:inline-flex; align-items:center; justify-content:center; border-radius:14px; border:1px solid var(--line); background: var(--surface); color: var(--text-strong); cursor:pointer; position:relative; }
.theme-icon { position:absolute; transition: var(--transition); }
.theme-icon-moon { opacity:0; transform: scale(.6); }
html[data-theme="dark"] .theme-icon-sun { opacity:0; transform: scale(.6); }
html[data-theme="dark"] .theme-icon-moon { opacity:1; transform: scale(1); }

.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:10px; border-radius:999px; font-weight:700; border:1px solid transparent; cursor:pointer; transition: var(--transition);
}
.btn-primary { background: var(--primary); color:#fff; box-shadow: 0 16px 32px rgba(21,122,232,0.22); }
.btn-primary:hover { background: var(--primary-strong); transform: translateY(-1px); }
.btn-secondary { background: var(--surface); color: var(--text-strong); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--primary-soft); }
html[data-theme="dark"] .btn-secondary { background: rgba(255,255,255,0.05); color: var(--text-strong); }
.btn-light-outline { border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.06); color:#fff; }
.btn-header { padding: 12px 24px; background: var(--site-brand); color: #ffffff; box-shadow: 0 4px 12px rgba(75,195,199,.22); }
.btn-header:hover { background: var(--site-brand-dark); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-full { width:100%; }
.play-icon { font-size: .8rem; }
.mobile-toggle { display:none; border:none; background:transparent; font-size:1.5rem; color: var(--text-strong); }
.mobile-menu { display:none; flex-direction:column; gap:18px; padding:20px; border-top:1px solid var(--line); background: var(--surface); }
.mobile-login { color: var(--primary); font-weight: 700; }

.hero {
  position: relative; overflow:hidden; padding: 72px 0 86px; background:
  radial-gradient(circle at 78% 32%, var(--site-primary-light) 0%, transparent 18%),
  var(--site-hero-bg);
}
.hero-grid { display:grid; grid-template-columns: 1fr 1fr; align-items:center; gap: 42px; }
.eyebrow {
  display:inline-flex; align-items:center; margin-bottom: 22px; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--site-secondary);
}
html[data-theme="dark"] .eyebrow { color: #86baff; }
.hero-copy h1,
.section-head h2,
.cta-content h2 {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -0.04em; line-height: 1.02; color: var(--site-secondary);
}
html[data-theme="dark"] .hero-copy h1,
html[data-theme="dark"] .section-head h2,
html[data-theme="dark"] .cta-content h2 { color: var(--text-strong); }
.hero-copy h1 { font-size: clamp(3rem, 5vw, 4.4rem); max-width: 680px; }
.text-accent { color: var(--primary); }
.hero-description { margin: 28px 0 30px; max-width: 620px; font-size: 1.15rem; color: var(--text-soft); }
.hero-actions { display:flex; flex-wrap:wrap; gap:16px; }
.hero-proof { margin-top: 28px; display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.proof-avatars { display:flex; }
.proof-avatars span {
  width: 42px; height:42px; margin-left: -10px; border-radius:50%; border:3px solid var(--bg-soft); background: linear-gradient(135deg, #65ACDE, #4BC3C7); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size: .72rem; font-weight:700;
}
.proof-avatars span:first-child { margin-left: 0; }
.proof-rating .stars { color: #4BC3C7; font-size: 1.05rem; font-weight:600; }
.proof-rating .stars strong { color: var(--site-secondary); margin-left: 8px; }
html[data-theme="dark"] .proof-rating .stars strong { color: var(--text-strong); }
.proof-rating p { margin: 4px 0 0; color: var(--text-soft); }

.hero-visual { position:relative; min-height: 620px; }
.hero-shape {
  position:absolute; top: 40px; right: 30px; width: 380px; height: 380px; border-radius: 50%; background: #65ACDE;
}
.hero-shape::after {
  content:""; position:absolute; right: -34px; bottom: -76px; width: 220px; height: 190px; background: #4BC3C7; border-radius: 54% 46% 60% 40% / 48% 44% 56% 52%; transform: rotate(-18deg);
}
.hero-person-card { position:absolute; top:0; right:0; width: 520px; height: 360px; z-index:2; }
.person-figure { position:absolute; inset: 20px 54px 0 110px; display:flex; align-items:center; justify-content:center; }
.person-circle {
  position:absolute; width: 330px; height:330px; border-radius:50%; background: radial-gradient(circle at 45% 35%, #65ACDE 0%, #65ACDE 66%, transparent 67%);
}
.person-photo {
  position:relative; z-index:1;
  display:block;
  width: min(360px, 100%);
  height: 345px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 10px 15px rgba(7,24,39,.12));
}
.person-badge {
  position:absolute; display:flex; flex-direction:column; gap:2px; min-width: 150px; padding: 14px 16px; background: rgba(255,255,255,.96); border:1px solid rgba(7,43,115,.08); border-radius: 22px; box-shadow: var(--shadow-sm);
}
html[data-theme="dark"] .person-badge { background: rgba(17,24,39,.97); border-color: rgba(255,255,255,.08); }
.person-badge strong { color: var(--navy-strong); font-size: 1rem; }
html[data-theme="dark"] .person-badge strong { color: var(--text-strong); }
.person-badge span { color: var(--text-soft); font-size:.86rem; }
.person-badge-top { top: 30px; left: 35px; }
.person-badge-left { top: 148px; left: 0; min-width: 120px; }
.person-badge-right { top: 118px; right: 0; min-width: 126px; }
.person-badge-bottom { top: 246px; right: 40px; }

.dashboard-card {
  position:absolute; left: 0; right: 16px; bottom: 0; z-index:3; background: var(--surface); border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow:hidden;
}
.dashboard-header { display:flex; align-items:center; justify-content:space-between; padding: 14px 18px; border-bottom:1px solid var(--line); background: #F5F7FA; }
html[data-theme="dark"] .dashboard-header { background: rgba(255,255,255,.03); }
.dashboard-brand { font-size: 1rem; font-weight:800; color: var(--primary-strong); }
.dashboard-actions { display:flex; gap:8px; }
.dashboard-actions span { width: 12px; height:12px; border-radius:50%; background: var(--line-strong); }
.dashboard-body { display:grid; grid-template-columns: 168px 1fr; }
.dashboard-sidebar { padding: 22px 18px; background: #F5F7FA; }
html[data-theme="dark"] .dashboard-sidebar { background: rgba(255,255,255,.03); }
.sidebar-title,.sidebar-line { border-radius:999px; background: var(--line); }
.sidebar-title { width: 76%; height:15px; margin-bottom: 18px; }
.sidebar-line { height:12px; margin-bottom:12px; }
.w-90{width:90%}.w-80{width:80%}.w-70{width:70%}.w-60{width:60%}
.dashboard-main { padding: 18px; }
.kpi-grid { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:14px; }
.kpi-card { border:1px solid var(--line); border-radius: 18px; padding: 16px; background: var(--surface); }
.kpi-card span,.panel-title { display:block; color: var(--text-muted); font-size:.88rem; margin-bottom:8px; }
.kpi-card strong { display:block; color: var(--text-strong); font-size:1.3rem; line-height:1.15; }
.kpi-card small { color: var(--text-soft); display:block; margin-top:8px; }
.kpi-card .success { color: var(--success); }
.kpi-card-wide { grid-column: 1 / -1; }
.bar-track { width:100%; height:10px; border-radius:999px; background: var(--bg-soft); overflow:hidden; margin-top: 12px; }
.bar-fill { width: 72%; height:100%; border-radius:inherit; background: linear-gradient(90deg,#65ACDE,var(--site-primary)); }
.chart-row { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:14px; margin-top: 14px; }
.mini-panel { border:1px solid var(--line); border-radius: 18px; padding:16px; background: var(--surface); }
.chart-line,.chart-bars { height:100px; display:flex; align-items:flex-end; gap: 10px; }
.chart-line span { flex:1; background: linear-gradient(180deg, rgba(79,185,236,.25), rgba(21,122,232,.95)); border-radius:999px 999px 4px 4px; }
.chart-line span:nth-child(1){height:30%}.chart-line span:nth-child(2){height:55%}.chart-line span:nth-child(3){height:46%}.chart-line span:nth-child(4){height:74%}.chart-line span:nth-child(5){height:88%}
.chart-bars span { flex:1; border-radius:10px 10px 4px 4px; background: linear-gradient(180deg,#65ACDE,var(--site-primary)); }
.chart-bars span:nth-child(1){height:45%}.chart-bars span:nth-child(2){height:82%}.chart-bars span:nth-child(3){height:56%}.chart-bars span:nth-child(4){height:70%}

.overview-section { padding: 86px 0 100px; background: #F5F7FA; }
html[data-theme="dark"] .overview-section { background: #0f1320; }
.section-head { display:flex; flex-direction:column; gap:12px; margin-bottom: 42px; }
.section-head.centered { text-align:center; align-items:center; }
.section-head.narrow { max-width: 860px; margin-left:auto; margin-right:auto; }
.section-head h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); color: var(--site-secondary); }
html[data-theme="dark"] .section-head h2 { color: var(--text-strong); }
.section-head p,.cta-content p,.footer-brand p { color: var(--text-soft); font-size: 1.06rem; }

.overview-grid { display:grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap:16px; }
.overview-card,.showcase-card,.testimonial-card,.pricing-card,.faq-item { background: var(--surface); border:1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); }
.overview-card { padding: 26px 22px; text-align:center; }
.overview-icon { width: 56px; height:56px; margin: 0 auto 16px; border-radius: 18px; display:flex; align-items:center; justify-content:center; background: var(--primary-soft); font-size: 1.4rem; }
.overview-card h3,.showcase-card h3,.pricing-card h3 { font-size: 1.34rem; line-height: 1.18; color: var(--text-strong); }
.overview-card p,.showcase-card p,.pricing-card li,.testimonial-content,.faq-answer p,.footer-links a,.author-avatar + div span,.price-note { color: var(--text-soft); }

.feature-showcase,.pricing-section,.faq-section { padding: 100px 0; }
.testimonials-section { padding: 90px 0; background: var(--bg-muted); }
.showcase-grid { display:grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.showcase-card { padding: 30px; }
.showcase-card.highlight { grid-row: span 2; background: linear-gradient(180deg, rgba(21,122,232,.05), rgba(21,122,232,.02) 60%, var(--surface)); }
.showcase-card ul { margin-top: 22px; display:grid; gap:10px; list-style:none; }
.showcase-card li { position:relative; padding-left:22px; color: var(--text-strong); }
.showcase-card li::before { content:"•"; position:absolute; left:0; color: var(--primary); font-size: 1.2rem; line-height:1; }
.showcase-label,.price-kicker { display:inline-flex; width:fit-content; margin-bottom:16px; padding:8px 14px; border-radius:999px; background: var(--primary-soft); color: var(--primary-strong); font-size: .86rem; font-weight:700; }

.testimonials-grid,.pricing-grid { display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.testimonial-card { padding: 28px; }
.testimonial-content { font-size:1rem; min-height:132px; }
.testimonial-author { display:flex; align-items:center; gap:14px; margin-top: 22px; }
.author-avatar { width:50px; height:50px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background: linear-gradient(135deg, var(--site-primary), var(--site-brand)); color:#fff; font-weight:700; }

.pricing-card { position:relative; padding: 32px 28px; }
.price { font-size: 3rem; line-height:1; font-weight:800; color: var(--text-strong); margin-bottom: 8px; }
.price-note { display:block; margin-bottom:20px; }
.pricing-card ul { display:grid; gap:12px; margin: 26px 0 30px; list-style:none; }
.pricing-card li { position:relative; padding-left: 22px; }
.pricing-card li::before { content:"✓"; position:absolute; left:0; color: var(--success); font-weight: 800; }
.pricing-card.featured { border-color: rgba(21,122,232,.3); box-shadow: 0 28px 70px rgba(21,122,232,.18); }
.featured-badge { position:absolute; top:-12px; right:24px; padding: 8px 14px; border-radius:999px; background: linear-gradient(90deg, var(--site-primary), var(--site-brand)); color:#fff; font-size:.8rem; font-weight:800; }

.faq-container { max-width: 900px; }
.faq-list { display:grid; gap:14px; }
.faq-item { overflow:hidden; }
.faq-question { width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px; border:none; background:transparent; color: var(--text-strong); padding: 24px 28px; text-align:left; font-weight:700; cursor:pointer; }
.faq-answer { display:none; padding: 0 28px 24px; }
.faq-item.active .faq-answer { display:block; }
.faq-item.active .icon { transform: rotate(180deg); }
.icon { transition: var(--transition); }

.cta-section { padding: 0 0 100px; }
.cta-box { border-radius: 38px; padding: 58px 26px; background:
radial-gradient(circle at 18% 20%, rgba(104,177,255,.18) 0%, transparent 28%),
radial-gradient(circle at 80% 70%, rgba(255,255,255,.08) 0%, transparent 22%),
var(--site-cta-bg); color:#fff; }
.cta-content { max-width: 820px; margin:0 auto; text-align:center; }
.cta-content h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); color:#fff; }
.cta-content p { margin: 18px auto 30px; max-width: 720px; color: rgba(255,255,255,.86); }
.cta-buttons { display:flex; justify-content:center; gap:16px; flex-wrap:wrap; }
.cta-content small { display:block; margin-top: 20px; color: rgba(255,255,255,.72); }

footer { padding: 0 0 36px; background: var(--bg); }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap:28px; padding: 30px 0 36px; border-top:1px solid var(--line); }
.footer-brand .footer-logo { margin-bottom: 18px; }
.footer-links { display:flex; flex-direction:column; gap:10px; }
.footer-links h4 { color: var(--text-strong); font-size:1rem; margin-bottom:6px; }
.footer-links a { font-size: .96rem; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top:1px solid var(--line); padding-top:24px; text-align:center; }
.footer-bottom p { color: var(--text-muted); }

@media (max-width: 1200px) {
  .overview-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .showcase-grid { grid-template-columns: 1fr 1fr; }
  .showcase-card.highlight { grid-column: 1 / -1; grid-row: auto; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 680px; }
  .testimonials-grid,.pricing-grid,.footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 860px) {
  .nav-links,.nav-actions .btn-header,.nav-login { display:none; }
  .mobile-toggle { display:inline-flex; }
  .mobile-menu.active { display:flex; }
  .dashboard-body { grid-template-columns: 1fr; }
  .dashboard-sidebar { display:none; }
  .overview-grid,.showcase-grid,.testimonials-grid,.pricing-grid,.footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .top-bar-inner { gap:10px; }
  .logo-svg { width: 132px; }
  .hero { padding-top: 46px; }
  .hero-description,.section-head p,.cta-content p { font-size:1rem; }
  .hero-visual { min-height: 610px; }
  .hero-shape { width: 280px; height:280px; right:50%; transform: translateX(50%); top:26px; }
  .hero-shape::after { width: 180px; height: 150px; right: -30px; bottom: -54px; }
  .hero-person-card { right:50%; transform: translateX(50%); width:100%; max-width: 410px; height: 310px; }
  .person-figure { inset: 26px 34px 0 76px; }
  .person-circle { width: 220px; height:220px; }
  .person-photo { width: 230px; height: 250px; }
  .person-badge { min-width: 120px; padding: 12px 14px; }
  .person-badge strong { font-size:.95rem; }
  .dashboard-card { left:0; right:0; }
  .kpi-grid,.chart-row { grid-template-columns: 1fr; }
  .cta-box { padding: 44px 20px; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 28px, 1240px); }
  .top-bar { padding:10px 0; }
  .top-bar-inner p { font-size:.88rem; }
  .nav-wrapper { min-height: 72px; }
  .theme-toggle { width:40px; height:40px; }
  .hero-copy h1 { font-size: 2.55rem; }
  .hero-actions,.cta-buttons { flex-direction:column; }
  .hero-actions .btn,.cta-buttons .btn { width:100%; }
  .hero-proof { align-items:flex-start; flex-direction:column; }
  .hero-visual { min-height: 540px; }
  .dashboard-main { padding: 16px; }
  .price { font-size: 2.4rem; }
}

/* Logo e cores originais, comportamento responsivo e acessibilidade */
.logo-svg { width: 150px; height: auto; }
.footer-logo { width: 180px; height: auto; }
.footer-brand .footer-logo { margin-bottom: 18px; }
.footer-brand .logo { width: auto; }
.footer-brand .footer-logo { max-width: 100%; }
.hero-copy h1 { font-weight: 800; }
.hero-shape { background: linear-gradient(155deg, #65ACDE 0%, #4BC3C7 100%); }
.person-circle { background: radial-gradient(circle at 45% 35%, rgba(101,172,222,.25) 0 64%, transparent 65%); }
.dashboard-demo-note { font-size: .7rem; color: var(--text-muted); }
.proof-chip { display:inline-flex; align-items:center; gap:8px; background: var(--surface); border:1px solid var(--line); border-radius:999px; padding:9px 14px; font-size:.79rem; color:var(--text-soft); font-weight:600; }
.proof-chip::before { content:"✓"; color: var(--site-brand); font-weight:800; }
.benefit-icon { display:inline-flex; justify-content:center; align-items:center; width:48px; height:48px; margin-bottom:18px; border-radius:14px; background: var(--site-brand-light); color:var(--site-brand-dark); font-weight:800; }
.testimonial-card h3 { font-size:1.14rem; line-height:1.4; color:var(--text-strong); margin-bottom:12px; }
.testimonial-content { min-height: 0; }
.cta-box { background: var(--site-cta-bg); }
html[data-theme="dark"] .top-bar { background: var(--site-top-bar-bg); }
html[data-theme="dark"] .hero { background: var(--site-hero-bg); }
html[data-theme="dark"] .overview-section { background: var(--site-bg-soft); }
html[data-theme="dark"] .dashboard-header, html[data-theme="dark"] .dashboard-sidebar { background: var(--site-elevated); }
html[data-theme="dark"] .nav-links a, html[data-theme="dark"] .nav-login { color: var(--site-secondary); }
html[data-theme="dark"] .btn-secondary { background: var(--site-card); color: var(--site-text); }
@media (max-width:768px) { .logo-svg {width:128px;} .person-photo {width:235px;height:245px;} .hero-visual{min-height:560px;} }
@media (max-width:520px) { .hero-visual {min-height:520px;} .hero-person-card {right:50%;transform:translateX(50%);} .person-badge-right {right:2px;} .person-badge-left{left:2px;} .logo-svg{width:116px;} .dashboard-demo-note{display:none;} }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after {scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important;} }

/* O rodapé volta ao fundo e às cores originais do Valora. */
footer { background: #071827; color: #D1D5DB; }
.footer-grid { border-top: none; border-bottom: 1px solid rgba(255,255,255,.10); }
.footer-brand p, .footer-links a, .footer-bottom p { color: #9CA3AF; }
.footer-links h4 { color: #FFFFFF; }
.footer-links a:hover { color: #FFFFFF; }
.footer-bottom { border-top: 0; }
@media (max-width:520px) { .logo-svg {width: 126px;} }
/* Evita que a prévia cubra a pessoa na primeira dobra. */
.hero-visual .chart-row { display: none; }
.hero-visual .dashboard-card { bottom: 4px; }

/* No celular o painel integra o fluxo da página, sem sobrepor os botões. */
@media (max-width: 768px) {
  .hero-visual { min-height: 0; padding-top: 320px; }
  .hero-person-card { top: 0; }
  .dashboard-card,
  .hero-visual .dashboard-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 8px;
  }
  .hero-visual .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-visual .kpi-card { padding: 13px; }
  .hero-visual .kpi-card strong { font-size: 1.05rem; }
  .hero-visual .kpi-card-wide { grid-column: 1/-1; }
}
@media (max-width: 520px) {
  .hero-visual { padding-top: 310px; }
  .hero-shape { top: 20px; }
  .person-photo { height: 250px; }
  .hero-visual .person-badge { font-size: .82rem; }
}
/* Contraste original no dark: evita interferência de estilos globais do aplicativo. */
html[data-theme="dark"] .top-bar a { color:#071827 !important; background:#FFFFFF !important; }
html[data-theme="dark"] .hero-copy h1 .text-accent,
html[data-theme="dark"] .section-head h2 .text-accent { color:var(--site-primary) !important; -webkit-text-fill-color: var(--site-primary) !important; }
.person-badge-bottom { top: 205px; right: 24px; }
@media (max-width:768px) { .person-badge-bottom { top: 226px; right: 6px; } }



/* =============================================================
   Valora CRM — hero V5.
   Layout aprovado, conservando o SVG de logo e as variáveis originais.
   Os valores de exibição abaixo não afetam os estilos dos módulos internos.
   ============================================================= */
.hero {
  padding: clamp(52px, 5.5vw, 76px) 0 clamp(56px, 5.2vw, 76px);
  background:
    radial-gradient(ellipse 42% 65% at 80% 45%, rgba(101,172,222,.10), transparent 85%),
    var(--site-hero-bg);
}
.hero .hero-grid {
  max-width: 1320px;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(8px, 2vw, 32px);
  min-height: 510px;
  align-items: center;
}
.hero .hero-copy { max-width: none; position: relative; z-index: 2; }
.hero .eyebrow {
  margin-bottom: 24px;
  font-size: clamp(.76rem, .85vw, .86rem);
  letter-spacing: .105em;
  color: var(--site-logo);
}
.hero .hero-copy h1 {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.5rem, 3.35vw, 3.58rem);
  line-height: 1.15;
  letter-spacing: -.046em;
  font-weight: 800;
  color: var(--site-secondary);
  max-width: 700px;
}
.hero .hero-title-line { display: block; }
.hero .hero-copy h1 .text-accent {
  color: var(--site-primary);
  -webkit-text-fill-color: var(--site-primary);
}
.hero .hero-description {
  max-width: 560px;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.68;
  margin: 28px 0 32px;
  color: var(--site-muted);
}
.hero .hero-actions { gap: 14px; }
.hero .hero-actions .btn {
  border-radius: 999px;
  padding: 15px 30px;
  font-size: .98rem;
  white-space: nowrap;
}
.hero .btn-secondary { border-color: var(--site-border-strong); }
.hero .hero-visual-equipe {
  min-height: 510px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  margin: 0;
  isolation: isolate;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
.hero .hero-equipe-image {
  display: block;
  width: min(780px, 123%);
  max-width: none;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  margin: 0 -7% 0 -4%;
  padding: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  mix-blend-mode: normal !important;
}
html[data-theme="dark"] .hero {
  background:
    radial-gradient(ellipse 42% 65% at 80% 45%, rgba(101,172,222,.07), transparent 85%),
    var(--site-hero-bg);
}
html[data-theme="dark"] .hero .eyebrow { color: var(--site-secondary); }

@media (max-width: 1150px) {
  .hero .hero-grid { min-height: 0; }
  .hero .hero-copy h1 { font-size: clamp(2.45rem, 3.7vw, 3.2rem); }
  .hero .hero-visual-equipe { min-height: 430px; }
}
@media (max-width: 1024px) {
  .hero .hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .hero .hero-copy { max-width: 720px; }
  .hero .hero-visual-equipe { min-height: 0; padding: 0; max-width: 740px; margin: 4px auto 0; }
  .hero .hero-equipe-image { width: 100%; max-width: 100%; margin: 0; }
}
@media (max-width: 768px) {
  .hero { padding: 44px 0 60px; }
  .hero .hero-copy h1 { font-size: clamp(2.15rem, 6.8vw, 3rem); }
  .hero .hero-title-line { display: block; }
  .hero .hero-description { font-size: 1rem; margin: 23px 0 26px; }
  .hero .hero-visual-equipe { min-height: 0; padding: 0; max-width: 100%; margin: 4px auto 0; }
  .hero .hero-equipe-image { width: 100%; max-width: 100%; }
}
@media (max-width: 520px) {
  .hero { padding-top: 36px; padding-bottom: 50px; }
  .hero .eyebrow { margin-bottom: 18px; letter-spacing: .065em; }
  .hero .hero-copy h1 { font-size: clamp(2rem, 8.6vw, 2.7rem); line-height: 1.18; }
  .hero .hero-actions { display: flex; gap: 12px; flex-direction: column; }
  .hero .hero-actions .btn { width: 100%; }
  .hero .hero-visual-equipe { min-height: 0; padding: 0; margin-top: 8px; }
  .hero .hero-equipe-image { width: calc(100% + 20px); max-width: none; margin: 0 -10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero *, .hero *::before, .hero *::after { animation-duration: .01ms !important; }
}

/* Alinhamento final da fotografia no desktop e acabamento do tema escuro. */
@media (min-width: 1025px) {
  .hero .hero-equipe-image { transform: translateX(32px); }
}
html[data-theme="dark"] .hero .hero-equipe-image {
  filter: brightness(.90) saturate(.96);
}


/* =============================================================
   INÍCIO VALORA — V6 | Layout aprovado (referência hero de equipe)
   Mantém logo original VALORA, Inter e paleta do projeto.
   Regras escopadas à página pública para não alterar módulos.
   ============================================================= */
header#siteHeader { background: var(--site-glass); }
header#siteHeader .nav-wrapper { min-height: 88px; gap: clamp(20px, 2.8vw, 45px); }
header#siteHeader .logo-svg { width: clamp(156px, 13vw, 195px); }
header#siteHeader .nav-links { justify-content: flex-start; gap: clamp(22px, 2.7vw, 44px); }
header#siteHeader .nav-links a { color: var(--site-secondary); font-weight: 600; font-size: .95rem; }
header#siteHeader .nav-actions { gap: clamp(14px, 1.6vw, 24px); }
header#siteHeader .nav-login { color: var(--site-secondary); font-weight: 600; white-space: nowrap; }
header#siteHeader .btn-header {
  padding: 12px 27px; border-radius: 999px; background: var(--site-primary);
  color:#fff; font-weight: 700; white-space:nowrap;
}
header#siteHeader .btn-header:hover { background: var(--site-primary-dark); }
header#siteHeader .theme-toggle { width: 36px; height: 36px; border: 0; box-shadow: none; }
header#siteHeader .has-chevron { display: inline-flex; align-items: center; gap: 9px; }
header#siteHeader .has-chevron::after {
  content: ''; display: inline-block; width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: .9;
}

.hero {
  background: var(--site-bg) !important;
  padding: clamp(42px, 4.3vw, 76px) 0 clamp(38px, 4vw, 70px);
}
.hero .hero-grid {
  max-width: 1320px;
  grid-template-columns: minmax(0, .99fr) minmax(0, 1.01fr);
  gap: clamp(4px, 1vw, 20px);
  min-height: clamp(485px, 36vw, 575px);
  align-items: center;
}
.hero .hero-copy { max-width: none; }
.hero .hero-copy h1 {
  font-family: Inter, -apple-system, BlinkMacFont, 'Segoe UI', sans-serif;
  color: var(--site-secondary);
  font-weight: 800;
  font-size: clamp(2.35rem, 3.5vw, 3.75rem);
  letter-spacing: -.045em;
  line-height: 1.13;
  max-width: 710px;
}
.hero .hero-title-line { display: block; }
.hero .hero-title-line.text-accent {
  color: var(--site-primary);
  -webkit-text-fill-color: var(--site-primary);
}
.hero .hero-description {
  margin: 31px 0 35px;
  max-width: 610px;
  font-size: clamp(1rem, 1.22vw, 1.18rem);
  line-height: 1.66;
  color: var(--site-muted);
}
.hero .hero-actions { display: flex; align-items:center; gap: clamp(22px, 3.3vw, 58px); }
.hero .hero-actions .btn-primary {
  min-width: 205px; padding: 16px 32px; background: var(--site-primary);
  color: #fff; box-shadow: var(--site-shadow-md);
}
.hero .hero-actions .btn-primary:hover { background: var(--site-primary-dark); }
.hero .hero-link-details {
  display: inline-flex; align-items: center; gap: 12px; color: var(--site-primary-dark);
  font-size: 1.02rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-thickness: 1px; white-space: nowrap;
}
.hero .hero-link-details:hover { color: var(--site-primary); }
.hero .hero-link-details span { text-decoration: none; font-size: 1.5rem; line-height: 1; }
.hero .hero-visual-equipe {
  min-height: clamp(465px, 35vw, 570px); display:flex; align-items:center;
  justify-content:flex-start; position:relative; padding:0; margin:0;
  border-radius:0; overflow:visible; background:none!important;
}
.hero .hero-equipe-image {
  display:block; width: clamp(630px, 53vw, 800px); height:auto; max-width:none;
  flex-shrink:0; object-fit:contain; object-position:center;
  transform:translateX(clamp(-12px, .8vw, 22px));
  margin:0; border:0; padding:0; box-shadow:none;
  filter:none;
}
html[data-theme="dark"] .hero { background:var(--site-bg)!important; }
html[data-theme="dark"] .hero .hero-copy h1 { color:var(--site-secondary); }
html[data-theme="dark"] header#siteHeader .nav-links a,
html[data-theme="dark"] header#siteHeader .nav-login { color:var(--site-secondary); }
html[data-theme="dark"] .hero .hero-link-details { color:var(--site-primary); }
html[data-theme="dark"] .hero .hero-equipe-image { filter: brightness(.91) saturate(.96); }

@media (min-width: 1025px) and (max-width: 1250px) {
  .hero .hero-copy h1 { font-size:clamp(2.25rem,3.7vw,3rem); }
  .hero .hero-equipe-image { width:clamp(560px,53vw,690px); }
  header#siteHeader .nav-links { gap:18px; }
}
@media (max-width:1024px) {
  .hero .hero-grid { grid-template-columns:1fr; gap: 0; min-height:0; }
  .hero .hero-copy { max-width: 820px; }
  .hero .hero-copy h1 { font-size:clamp(2.5rem, 5vw, 3.3rem); }
  .hero .hero-visual-equipe { max-width:820px; width:100%; min-height:0; margin:20px auto 0; justify-content:center; }
  .hero .hero-equipe-image { width: 100%; max-width:100%; transform:none; }
}
@media (max-width:860px) {
  header#siteHeader .nav-links { display:none; }
  header#siteHeader .nav-actions .btn-header,
  header#siteHeader .nav-login { display:none; }
  header#siteHeader .mobile-toggle { display:inline-flex; }
  header#siteHeader .mobile-menu.active { display:flex; }
}
@media (max-width:768px) {
  .hero { padding:40px 0 56px; }
  .hero .hero-copy h1 { font-size:clamp(2.1rem, 6.3vw, 3rem); }
  .hero .hero-description { margin:23px 0 29px; font-size:1rem; }
  .hero .hero-visual-equipe { min-height:0; padding:0; margin-top:25px; }
}
@media (max-width:520px) {
  header#siteHeader .nav-wrapper { min-height:72px; }
  header#siteHeader .logo-svg { width:135px; }
  .hero { padding:38px 0 44px; }
  .hero .hero-copy h1 { font-size:clamp(2rem, 8.2vw, 2.75rem); line-height:1.16; }
  .hero .hero-title-line { display: block; }
  .hero .hero-actions { flex-direction:column; align-items:stretch; gap:18px; }
  .hero .hero-actions .btn-primary { min-width:0; width:100%; }
  .hero .hero-link-details { justify-content:center; font-size:.95rem; }
  .hero .hero-visual-equipe { min-height:0; padding:0; margin-top: 12px; }
  .hero .hero-equipe-image { width:calc(100% + 14px); max-width:none; margin-left:-7px; }
}
@media (prefers-reduced-motion:reduce) { .hero *, .hero *::before, .hero *::after { animation:none!important; transition:none!important; } }

/* Acabamento final: primeira dobra compacta, como na referência. */
@media (min-width:1025px) {
  .hero { padding-top:28px; padding-bottom:35px; }
  .hero .hero-grid { min-height:500px; }
  .hero .hero-visual-equipe { min-height:510px; }
  .hero .hero-equipe-image { width:clamp(625px,50vw,730px); }
}


/* Página inicial · seção de apresentação da plataforma após o hero. */
.workflow-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(74px, 7.5vw, 116px) 0;
  background: linear-gradient(180deg, #f7faff 0%, #f4f8fd 100%);
  border-top: 1px solid #eef2f7;
  border-bottom: 1px solid #e9eff7;
}
.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  align-items: center;
  gap: clamp(8px, 2.2vw, 42px);
  min-height: 535px;
}
.workflow-copy { position: relative; z-index: 2; min-width: 0; }
.workflow-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 17px 8px 8px;
  border-radius: 999px;
  background: #176bc8;
  color: #fff;
  font-size: .89rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
}
.workflow-eyebrow-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #5eb3f1;
  color: white;
  font-size: 1.15rem;
  flex: 0 0 auto;
}
.workflow-copy h2 {
  margin-top: 28px;
  max-width: 610px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.35rem, 3.25vw, 3.35rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.047em;
  color: #071827;
}
.workflow-accent { color: #2387e8; }
.workflow-description {
  max-width: 550px;
  margin-top: 27px;
  color: #506178;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.8;
}
.workflow-benefits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin: 27px 0 34px;
  list-style: none;
}
.workflow-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #203047;
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
}
.workflow-benefits li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  flex: 0 0 auto;
  font-size: 1.05rem;
  font-weight: 800;
  color: #147cdb;
  background: #e2f0fc;
}
.workflow-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 35px;
}
.workflow-main-cta {
  min-height: 55px;
  padding: 14px 26px;
  background: #1681e8;
  box-shadow: 0 12px 26px rgba(18, 116, 217, .19);
  color: #fff;
  font-size: .96rem;
  white-space: nowrap;
}
.workflow-main-cta:hover, .workflow-main-cta:focus-visible { background: #0d70c7; }
.workflow-main-cta span { font-size: 1.2rem; line-height: 1; }
.workflow-secondary-cta {
  color: #167bd8;
  font-weight: 700;
  font-size: .93rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.workflow-secondary-cta:hover { color: #0d5ca6; }
.workflow-visual {
  position: relative;
  min-width: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-left: -18px;
}
.workflow-product-image {
  display: block;
  width: clamp(630px, 53vw, 820px);
  max-width: none;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 18px 28px rgba(25, 67, 111, .06));
}
html[data-theme="dark"] .workflow-section {
  background: linear-gradient(180deg, #171b24 0%, #191d27 100%);
  border-color: rgba(255,255,255,.08);
}
html[data-theme="dark"] .workflow-copy h2,
html[data-theme="dark"] .workflow-benefits li { color: var(--site-secondary); }
html[data-theme="dark"] .workflow-accent { color: #65acde; }
html[data-theme="dark"] .workflow-description { color: var(--site-muted); }
html[data-theme="dark"] .workflow-benefits li::before { background: rgba(76,158,231,.15); color:#83c9ff; }
html[data-theme="dark"] .workflow-secondary-cta { color:#79bded; }
@media (max-width: 1150px) {
  .workflow-copy h2 { font-size: clamp(2.15rem, 3.3vw, 2.85rem); }
  .workflow-product-image { width: clamp(580px, 55vw, 720px); }
  .workflow-benefits { gap: 12px 15px; }
}
@media (max-width: 1024px) {
  .workflow-section { padding: 72px 0 64px; }
  .workflow-grid { grid-template-columns: 1fr; gap: 24px; min-height: 0; }
  .workflow-copy { max-width: 740px; }
  .workflow-copy h2 { max-width: 760px; font-size: clamp(2.35rem, 4.8vw, 3.5rem); }
  .workflow-visual { justify-content: center; margin: 0; }
  .workflow-product-image { width: min(100%, 840px); max-width: 100%; }
}
@media (max-width: 620px) {
  .workflow-section { padding: 57px 0 48px; }
  .workflow-eyebrow { font-size: .78rem; }
  .workflow-copy h2 { margin-top: 22px; font-size: clamp(2.05rem, 7.6vw, 2.75rem); line-height: 1.17; }
  .workflow-description { margin-top: 19px; font-size: .99rem; line-height: 1.7; }
  .workflow-benefits { margin: 23px 0 27px; gap: 12px 18px; }
  .workflow-benefits li { font-size: .81rem; }
  .workflow-actions { flex-direction: column; align-items: stretch; gap: 17px; }
  .workflow-main-cta { width: 100%; }
  .workflow-secondary-cta { text-align: center; }
  .workflow-visual { margin-left: -10px; margin-right: -10px; }
  .workflow-product-image { width: calc(100% + 20px); max-width: none; }
}

/* =============================================================
   Landing /inicio: faixa de funcionalidades após o hero.
   Classes isoladas para não interferir no CSS do Valora interno.
   ============================================================= */
.capabilities-section {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: clamp(38px, 4vw, 58px) 0 26px;
  background: linear-gradient(135deg, #091d32 0%, #06162b 65%, #0a213b 100%);
  color: #f8fbff;
  overflow: hidden;
}
.capabilities-heading { text-align: center; position: relative; z-index: 1; }
.capabilities-eyebrow {
  color: #83c9ff;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.4;
}
.capabilities-heading h2 {
  color: #fff !important;
  font-size: clamp(1.75rem, 2.55vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -.047em;
  line-height: 1.16;
  margin: 11px auto 11px;
  max-width: 940px;
}
.capabilities-heading h2 span { color: #69b9f3; }
.capabilities-description {
  color: #b9cadb;
  font-size: clamp(.86rem, 1.12vw, 1rem);
  line-height: 1.55;
  max-width: 680px;
  margin: 0 auto;
}
.capabilities-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.capabilities-carousel {
  margin: 26px auto 0;
  width: min(100%, 1720px);
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 clamp(9px, 2vw, 26px);
}
.capabilities-viewport {
  min-width: 0;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
}
.capabilities-viewport::-webkit-scrollbar { display: none; }
.capabilities-viewport:focus-visible { outline: 2px solid #81c7ff; outline-offset: -4px; border-radius: 5px; }
.capabilities-track { display: flex; width: max-content; }
.capabilities-sequence { display: flex; flex: none; align-items: stretch; }
.capabilities-item {
  width: clamp(170px, 15vw, 220px);
  flex: none;
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 10px 19px;
  border-right: 1px solid rgba(194,220,245,.18);
  color: #e7f0f8;
  font-size: .87rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color .2s ease;
}
.capabilities-item:hover { color: #fff; }
.capabilities-item span { max-width: 132px; }
.capabilities-icon {
  width: 27px;
  height: 27px;
  flex: none;
  fill: none;
  stroke: #84c8f8;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.capabilities-arrow {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(191,215,238,.24);
  border-radius: 50%;
  background: rgba(255,255,255,.065);
  color: #e8f3ff;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.capabilities-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.capabilities-arrow:hover { background: rgba(105,185,243,.17); border-color: rgba(132,200,248,.65); }
.capabilities-arrow:focus-visible { outline: 2px solid #83c9ff; outline-offset: 3px; }
html[data-theme="dark"] .capabilities-section {
  background: linear-gradient(135deg, #0b1524 0%, #081220 65%, #0d1b30 100%);
}
@media (max-width: 768px) {
  .capabilities-section { padding: 38px 0 18px; }
  .capabilities-heading { width: min(100% - 32px, 650px); }
  .capabilities-heading h2 { font-size: clamp(1.65rem, 5vw, 2.15rem); }
  .capabilities-carousel { margin-top: 19px; padding: 0 10px; }
  .capabilities-item { width: 190px; padding: 8px 15px; font-size: .82rem; min-height: 72px; }
  .capabilities-arrow { width: 34px; height: 34px; }
}
@media (max-width: 480px) {
  .capabilities-heading h2 { font-size: 1.65rem; }
  .capabilities-description { font-size: .85rem; }
  .capabilities-carousel { gap: 0; padding: 0 5px; }
  .capabilities-item { width: 180px; }
  .capabilities-arrow { width: 32px; height: 32px; }
}
/* O CSS dark global do aplicativo redefine todos os h2, p e span;
   reestabelece o contraste desta faixa institucional nos dois temas. */
html[data-theme="dark"] .capabilities-heading h2 { color: #ffffff !important; }
html[data-theme="dark"] .capabilities-heading h2 span { color: #69b9f3 !important; }
html[data-theme="dark"] .capabilities-heading .capabilities-eyebrow { color: #83c9ff !important; }
html[data-theme="dark"] .capabilities-heading .capabilities-description { color: #b9cadb !important; }
html[data-theme="dark"] .capabilities-item span { color: #e7f0f8 !important; }
