/* ── RESET & VARIABLES ────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:      #f5f5f7;
  --bg2:     #ffffff;
  --card:    #ffffff;
  --border:  #e8eaed;
  --red:     #EF5037;
  --red-d:   #d63e25;
  --red-bg:  rgba(239,80,55,0.07);
  --text:    #1a1a2e;
  --muted:   #6b7280;
  --shadow:  0 2px 16px rgba(0,0,0,0.07);
  --shadow-h:0 8px 32px rgba(0,0,0,0.11);
  --radius:  16px;
  --font:    'Inter', sans-serif;
}

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

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ── SHARED ─────────────────────────────────────────────── */
.grad-text { color: var(--red); }
.section-label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; line-height: 1.2; margin-bottom: 48px; color: var(--text); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── NAV ─────────────────────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(255,255,255,.95); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--text); }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: pulse 2.5s ease-in-out infinite; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .9rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.btn-nav { background: var(--red) !important; color: #fff !important; padding: 8px 20px; border-radius: 8px; font-weight: 600 !important; transition: opacity .2s !important; }
.btn-nav:hover { opacity: .88 !important; }

/* ── HERO ────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 100px 0 60px; overflow: hidden; background: var(--bg2); }
.hero::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse 65% 55% at 50% 40%, rgba(239,80,55,.06) 0%, transparent 70%); pointer-events:none; }
.hero-content { position: relative; z-index: 2; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--red-bg); border: 1px solid rgba(239,80,55,.25); color: var(--red); font-size: .8rem; font-weight: 600; padding: 6px 16px; border-radius: 999px; margin-bottom: 28px; }
.hero-title { font-size: clamp(2.2rem, 5.5vw, 4.2rem); font-weight: 900; line-height: 1.1; margin-bottom: 24px; color: var(--text); }
.hero-sub { font-size: clamp(.95rem, 1.8vw, 1.1rem); color: var(--muted); max-width: 620px; margin: 0 auto 36px; line-height: 1.75; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.btn-primary { background: var(--red); color: #fff; text-decoration: none; padding: 14px 32px; border-radius: 10px; font-weight: 700; font-size: .95rem; box-shadow: 0 4px 20px rgba(239,80,55,.3); transition: transform .2s, box-shadow .2s, opacity .2s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(239,80,55,.4); opacity: .92; }
.btn-ghost { background: #fff; border: 1.5px solid var(--border); color: var(--text); text-decoration: none; padding: 14px 32px; border-radius: 10px; font-weight: 600; font-size: .95rem; transition: border-color .2s, box-shadow .2s; box-shadow: var(--shadow); }
.btn-ghost:hover { border-color: var(--red); box-shadow: 0 4px 20px rgba(239,80,55,.12); }
.hero-pills { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pill { background: var(--bg); border: 1px solid var(--border); color: var(--muted); font-size: .8rem; padding: 6px 14px; border-radius: 999px; font-weight: 500; }

/* ── ORBS ────────────────────────────────────────────────── */
.orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.orb-1 { width: 500px; height: 500px; background: rgba(239,80,55,.09); top: -120px; left: -150px; animation: float1 14s ease-in-out infinite; }
.orb-2 { width: 400px; height: 400px; background: rgba(239,80,55,.06); bottom: -80px; right: -120px; animation: float2 16s ease-in-out infinite; }
.orb-3 { width: 280px; height: 280px; background: rgba(239,80,55,.05); top: 35%; left: 62%; animation: float3 11s ease-in-out infinite; }
.orb-cta-1 { width: 400px; height: 400px; background: rgba(239,80,55,.1); top: -100px; left: -100px; animation: float1 14s ease-in-out infinite; }
.orb-cta-2 { width: 300px; height: 300px; background: rgba(239,80,55,.07); bottom: -80px; right: -80px; animation: float2 16s ease-in-out infinite; }

@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(28px,-36px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-22px,28px)} }
@keyframes float3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(14px,-18px)} }
@keyframes pulse  { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.55;transform:scale(.8)} }

/* ── WHY SECTION ──────────────────────────────────────────── */
.why { padding: 96px 0; background: var(--bg); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.why-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); transition: border-color .3s, transform .3s, box-shadow .3s; }
.why-card:hover { border-color: rgba(239,80,55,.3); transform: translateY(-4px); box-shadow: var(--shadow-h); }
.why-icon { font-size: 2rem; margin-bottom: 16px; }
.why-card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.why-card p { color: var(--muted); font-size: .9rem; line-height: 1.65; }

/* ── MODULES SECTION ─────────────────────────────────────── */
.modulos { padding: 96px 0; background: var(--bg2); }

/* Module 01 — Core (full width) */
.mod-core { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; background: var(--card); border: 1.5px solid rgba(239,80,55,.22); border-radius: 20px; padding: 48px; margin-bottom: 28px; position: relative; overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .3s; }
.mod-core::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse 55% 80% at 0% 50%, rgba(239,80,55,.04) 0%, transparent 70%); pointer-events:none; }
.mod-core:hover { box-shadow: 0 8px 40px rgba(239,80,55,.1); }
.mod-num { font-size: 5rem; font-weight: 900; color: rgba(239,80,55,.12); line-height: 1; margin-bottom: 8px; }
.mod-num-sm { font-size: 2.5rem; font-weight: 900; color: rgba(239,80,55,.1); line-height: 1; margin-bottom: 8px; }
.mod-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .05em; padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
.mod-badge.required { background: rgba(239,80,55,.1); border: 1px solid rgba(239,80,55,.3); color: var(--red); }
.mod-badge.addon    { background: var(--bg); border: 1px solid var(--border); color: var(--muted); }
.mod-badge.popular  { background: rgba(239,80,55,.08); border: 1px solid rgba(239,80,55,.25); color: var(--red); }
.mod-icon-big { font-size: 3rem; margin-bottom: 12px; }
.mod-title { font-size: 1.55rem; font-weight: 800; margin-bottom: 6px; color: var(--text); }
.mod-sub   { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.mod-price { font-size: 1.8rem; font-weight: 900; color: var(--red); margin-bottom: 16px; }
.mod-desc  { color: var(--muted); font-size: .92rem; line-height: 1.7; margin-bottom: 20px; }
.mod-alert { background: rgba(239,80,55,.07); border: 1px solid rgba(239,80,55,.2); border-radius: 8px; padding: 10px 16px; font-size: .82rem; color: var(--red); }
.mod-core-right { display: flex; align-items: center; }

.feat-list { display: flex; flex-direction: column; gap: 12px; }
.feat { display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-size: .88rem; padding: 12px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; }

.feat-list-sm { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.feat-list-sm .feat { padding: 8px 12px; font-size: .84rem; }

/* Module Grid (02-04) */
.mod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.mod-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); transition: border-color .3s, transform .3s, box-shadow .3s; position: relative; }
.mod-card:hover { border-color: rgba(239,80,55,.3); transform: translateY(-4px); box-shadow: var(--shadow-h); }
.mod-highlight { border-color: rgba(239,80,55,.2) !important; }
.mod-highlight:hover { border-color: var(--red) !important; }
.mod-icon { font-size: 2.2rem; margin-bottom: 12px; }

/* ── PACKAGE SECTION ─────────────────────────────────────── */
.pacote { padding: 96px 0; background: var(--bg); }
.pkg-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--card); border: 1.5px solid var(--border); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-h); }
.pkg-left { padding: 48px; border-right: 1px solid var(--border); }
.pkg-left-title { font-size: .78rem; font-weight: 700; margin-bottom: 28px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.pkg-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.pkg-row:last-child { border-bottom: none; }
.pkg-icon { font-size: 1.3rem; }
.pkg-name { flex: 1; font-size: .92rem; color: var(--text); font-weight: 500; }
.pkg-val { font-size: .9rem; font-weight: 700; color: var(--muted); }
.pkg-divider { border-top: 1.5px solid var(--border); margin: 8px 0; }
.pkg-total-row .pkg-name { font-weight: 700; color: var(--text); }
.strike { text-decoration: line-through; opacity: .45; }
.pkg-right { padding: 48px; background: var(--red-bg); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.deal-label-tag { display: inline-block; background: rgba(239,80,55,.12); border: 1px solid rgba(239,80,55,.3); color: var(--red); font-size: .78rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; letter-spacing: .05em; }
.deal-price { font-size: 3.2rem; font-weight: 900; color: var(--red); margin-bottom: 8px; }
.deal-economy { color: #15803d; font-size: .88rem; font-weight: 600; margin-bottom: 28px; background: rgba(21,128,61,.1); border: 1px solid rgba(21,128,61,.2); padding: 4px 14px; border-radius: 999px; display: inline-block; }
.deal-feats { text-align: left; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; width: 100%; }
.deal-feat { font-size: .88rem; color: var(--text); }
.btn-deal { display: block; width: 100%; background: var(--red); color: #fff; text-decoration: none; padding: 16px; border-radius: 12px; font-weight: 700; text-align: center; font-size: 1rem; box-shadow: 0 4px 20px rgba(239,80,55,.3); transition: transform .2s, box-shadow .2s, opacity .2s; }
.btn-deal:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(239,80,55,.4); opacity: .92; }

/* ── CTA ─────────────────────────────────────────────────── */
.cta-section { position: relative; padding: 120px 0; text-align: center; overflow: hidden; background: var(--text); }
.cta-section::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse 55% 70% at 50% 50%, rgba(239,80,55,.14) 0%, transparent 70%); }
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; margin-bottom: 16px; color: #fff; }
.cta-content p { color: rgba(255,255,255,.6); font-size: 1.05rem; margin-bottom: 36px; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer { padding: 28px 0; border-top: 1px solid var(--border); text-align: center; background: var(--bg2); }
.footer p { color: var(--muted); font-size: .84rem; }

/* ── SCREENSHOTS / CAROUSEL ─────────────────────────────── */
.screenshots-section { padding: 96px 0; background: var(--bg); }
.car-outer { position: relative; display: flex; align-items: center; padding: 0 56px; margin-top: 8px; }
.car-viewport { overflow: hidden; width: 100%; }
.car-track { display: flex; gap: 16px; transition: transform .45s cubic-bezier(.4,0,.2,1); will-change: transform; }
.car-slide { min-width: calc(33.333% - 11px); flex-shrink: 0; cursor: zoom-in; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); transition: transform .25s, box-shadow .25s; }
.car-slide:hover { transform: translateY(-4px) scale(1.015); box-shadow: var(--shadow-h); }
.car-slide img { width: 100%; height: 210px; object-fit: cover; object-position: top; display: block; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--card); color: var(--text); font-size: 1rem; cursor: pointer; box-shadow: var(--shadow); transition: background .2s, border-color .2s, color .2s; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.car-btn:hover:not(:disabled) { background: var(--red); border-color: var(--red); color: #fff; }
.car-btn:disabled { opacity: .3; cursor: default; }
.car-prev { left: 8px; }
.car-next { right: 8px; }
.car-dots { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.car-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: background .2s, transform .2s; border: none; padding: 0; flex-shrink: 0; }
.car-dot.active { background: var(--red); transform: scale(1.4); }

/* ── LIGHTBOX ────────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.lightbox.open { opacity: 1; pointer-events: all; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(10,10,15,.93); backdrop-filter: blur(10px); }
.lb-content { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; max-width: 90vw; max-height: 85vh; }
.lb-content img { max-width: 88vw; max-height: 82vh; object-fit: contain; border-radius: 10px; box-shadow: 0 32px 80px rgba(0,0,0,.6); display: block; transition: opacity .2s; }
.lb-close { position: fixed; top: 20px; right: 24px; z-index: 10; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.lb-close:hover { background: var(--red); border-color: var(--red); }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); z-index: 10; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s; }
.lb-nav:hover:not(:disabled) { background: var(--red); border-color: var(--red); }
.lb-nav:disabled { opacity: .25; cursor: default; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-counter { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 10; color: rgba(255,255,255,.75); font-size: .82rem; font-weight: 500; background: rgba(0,0,0,.45); padding: 5px 16px; border-radius: 999px; white-space: nowrap; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links a:not(.btn-nav) { display: none; }
  .mod-core { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
  .pkg-card { grid-template-columns: 1fr; }
  .pkg-left { border-right: none; border-bottom: 1px solid var(--border); padding: 32px 24px; }
  .pkg-right { padding: 32px 24px; }
  .mod-grid { grid-template-columns: 1fr; }
  .car-slide { min-width: calc(100% - 0px); }
  .car-outer { padding: 0 44px; }
  .lb-nav { width: 38px; height: 38px; font-size: 1rem; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

/* ── CASOS DE USO ───────────────────────────────────────── */
.casos-uso { padding: 96px 0; background: var(--bg); }
.use-cases-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.use-case-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s, border-color .3s; }
.use-case-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); border-color: rgba(239,80,55,.2); }
.use-case-header { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1.5px solid var(--border); }
.use-case-header-icon { font-size: 2.2rem; }
.use-case-header h3 { font-size: 1.25rem; font-weight: 800; color: var(--text); display: flex; flex-direction: column; gap: 4px; }
.badge-use-case { display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 4px; width: fit-content; }
.externo .badge-use-case { background: rgba(239,80,55,.08); color: var(--red); }
.interno .badge-use-case { background: #e0f2fe; color: #0284c7; }

.use-case-body { display: flex; flex-direction: column; gap: 20px; }
.use-case-item { display: flex; gap: 16px; align-items: flex-start; }
.use-case-bullet { font-size: 1.2rem; margin-top: 2px; }
.use-case-item strong { font-size: .95rem; font-weight: 700; color: var(--text); display: block; margin-bottom: 4px; }
.use-case-item p { font-size: .88rem; color: var(--muted); line-height: 1.5; }

/* ── INFRAESTRUTURA ──────────────────────────────────────── */
.infraestrutura { padding: 96px 0; background: var(--bg2); position: relative; overflow: hidden; }
.infraestrutura .section-title { margin-bottom: 16px; }
.section-sub-desc { font-size: 1.05rem; color: var(--muted); text-align: center; max-width: 580px; margin: 0 auto 56px; }

.infra-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; max-width: 960px; margin: 0 auto; }
.infra-card { background: var(--card); border: 1.5px solid var(--border); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); position: relative; transition: transform .3s, box-shadow .3s, border-color .3s; }
.infra-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.local-card { border-color: rgba(239,80,55,.2); }
.local-card:hover { border-color: var(--red); }
.cloud-card:hover { border-color: var(--muted); }

.infra-badge { position: absolute; top: -14px; left: 40px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .05em; padding: 4px 14px; border-radius: 999px; box-shadow: 0 4px 12px rgba(239,80,55,.25); }
.infra-badge-cloud { position: absolute; top: -14px; left: 40px; background: var(--text); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .05em; padding: 4px 14px; border-radius: 999px; box-shadow: var(--shadow); }

.infra-icon-wrap { font-size: 2.5rem; margin-bottom: 16px; }
.infra-card h3 { font-size: 1.4rem; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.infra-subtitle { font-size: .88rem; color: var(--muted); font-weight: 500; margin-bottom: 24px; }

.infra-price-box { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 24px; }
.infra-price-box .price-value { font-size: 1.8rem; font-weight: 900; color: var(--text); line-height: 1.2; }
.local-card .price-value { color: var(--red); }
.infra-price-box .price-period { font-size: .8rem; color: var(--muted); font-weight: 500; }

.infra-desc { font-size: .9rem; color: var(--muted); line-height: 1.6; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.infra-feats { display: flex; flex-direction: column; gap: 14px; }
.infra-feat { font-size: .86rem; color: var(--text); line-height: 1.5; }

@media (max-width: 768px) {
  .use-cases-container { grid-template-columns: 1fr; gap: 24px; }
  .infra-grid { grid-template-columns: 1fr; gap: 40px; }
  .infra-card { padding: 32px 24px; }
  .use-case-box { padding: 32px 24px; }
}

/* ── MODULE 01 - CORE DARK ─────────────────────────────── */
.mod-core-dark {
  background: #09090f !important;
  border: 1.5px solid rgba(239,80,55,.4) !important;
  color: #f3f4f6 !important;
  box-shadow: 0 0 30px rgba(239,80,55,.15), inset 0 0 15px rgba(239,80,55,.05) !important;
  overflow: hidden;
}
.mod-core-dark::before {
  background: radial-gradient(circle 350px at 0% 0%, rgba(239,80,55,.12) 0%, transparent 80%) !important;
}
.mod-core-dark .mod-title {
  color: #ffffff !important;
}
.mod-core-dark .mod-sub {
  color: rgba(255,255,255,.6) !important;
}
.mod-core-dark .mod-desc {
  color: rgba(255,255,255,.5) !important;
}
.mod-core-dark .feat-list .feat {
  background: rgba(255,255,255,.03) !important;
  border-color: rgba(255,255,255,.06) !important;
  color: rgba(255,255,255,.8) !important;
}
.mod-core-dark .feat-list .feat strong {
  color: #ffffff;
}
.mod-badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239,80,55,.15);
  border: 1.5px solid rgba(239,80,55,.45);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  box-shadow: 0 0 12px rgba(239,80,55,.2);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ── CAROUSEL WITH CAPTIONS ─────────────────────────────── */
.slide-img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
  border-bottom: 1px solid var(--border);
}
.slide-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.slide-caption {
  padding: 16px 20px;
  background: var(--card);
  text-align: left;
}
.slide-caption h5 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.slide-caption h5::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
}
.slide-caption p {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.45;
}
.car-slide {
  height: 310px;
  background: var(--card);
}

/* ── SIMULADOR BI INTERATIVO ───────────────────────────── */
.simulador-bi {
  padding: 96px 0;
  background: var(--bg2);
}
.sim-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
}
.sim-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sim-sidebar h4 {
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.sim-btn-query {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  text-align: left;
  transition: all .25s ease;
  box-shadow: var(--shadow);
}
.sim-btn-query:hover {
  border-color: rgba(239,80,55,.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-h);
}
.sim-btn-query.active {
  border-color: var(--red);
  background: var(--red-bg);
  box-shadow: 0 4px 16px rgba(239,80,55,.1);
}
.sim-btn-num {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--muted);
  transition: color .2s;
}
.sim-btn-query.active .sim-btn-num {
  color: var(--red);
}
.sim-btn-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sim-btn-txt strong {
  font-size: .92rem;
  color: var(--text);
  font-weight: 700;
}
.sim-btn-txt small {
  font-size: .75rem;
  color: var(--muted);
}

/* Painel da IA (Console escuro) */
.sim-panel {
  background: #0c0c14;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;
  height: 480px;
}
.sim-panel-header {
  background: #141421;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  gap: 20px;
}
.sim-dots {
  display: flex;
  gap: 6px;
}
.sim-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.sim-dot.red { background: #ff5f56; }
.sim-dot.yellow { background: #ffbd2e; }
.sim-dot.green { background: #27c93f; }
.sim-panel-title {
  color: rgba(255,255,255,.5);
  font-size: .78rem;
  font-weight: 600;
  font-family: monospace;
}
.sim-panel-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: radial-gradient(circle at 100% 100%, rgba(239,80,55,.04) 0%, transparent 60%);
}
.sim-chat-message {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  animation: messageSlideIn .3s cubic-bezier(.4,0,.2,1) both;
}
.sim-chat-message .chat-icon {
  font-size: 1.6rem;
  line-height: 1.2;
}
.sim-chat-message.user .chat-bubble {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  padding: 12px 18px;
  border-radius: 4px 16px 16px 16px;
  font-size: .88rem;
  line-height: 1.5;
  max-width: 80%;
}
.sim-chat-message.system .chat-bubble-ai {
  background: rgba(239,80,55,.04);
  border: 1px solid rgba(239,80,55,.15);
  color: rgba(255,255,255,.9);
  padding: 16px 20px;
  border-radius: 4px 16px 16px 16px;
  font-size: .88rem;
  line-height: 1.6;
  max-width: 85%;
  box-shadow: 0 4px 20px rgba(239,80,55,.05);
}

/* Efeito de Escrita com cursor piscando */
.typing-text {
  margin-bottom: 8px;
  border-right: 2px solid var(--red);
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 1.5s steps(40, end) forwards, blink .75s step-end infinite;
}
.typing-text-delayed-1 {
  margin-bottom: 12px;
  border-right: 2px solid var(--red);
  white-space: normal;
  overflow: hidden;
  display: inline-block;
  opacity: 0;
  animation: fadeInText .5s ease forwards 1.6s;
}

/* Tabelas e elementos visuais com Neon */
.sim-visual-output {
  margin-top: 16px;
  opacity: 0;
  animation: fadeInText .6s ease forwards 2.2s;
  overflow-x: auto;
}
.sim-table-neon {
  width: 100%;
  border-collapse: collapse;
  font-size: .8rem;
  color: rgba(255,255,255,.8);
  text-align: left;
}
.sim-table-neon th {
  border-bottom: 2px solid rgba(239,80,55,.3);
  padding: 8px 12px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  font-size: .7rem;
  letter-spacing: .05em;
}
.sim-table-neon td {
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 10px 12px;
}
.sim-table-neon tr:hover {
  background: rgba(239,80,55,.03);
}

/* Gráficos em CSS */
.sim-chart-wrap {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 160px;
  padding: 20px 20px 10px;
  border-bottom: 1.5px solid rgba(255,255,255,.1);
  margin-top: 12px;
}
.sim-chart-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--red) 0%, rgba(239,80,55,.3) 100%);
  border-radius: 4px 4px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 8px;
  font-family: monospace;
  font-size: .75rem;
  color: #fff;
  font-weight: bold;
  height: 0;
  animation: growBar 1.2s cubic-bezier(.4,0,.2,1) forwards 2.3s;
  position: relative;
}
.sim-chart-bar::after {
  content: attr(data-label);
  position: absolute;
  bottom: -22px;
  font-size: .65rem;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
}

/* Gráficos Pizza CSS */
.sim-donut-chart {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 10px 0;
  margin-top: 12px;
}
.donut-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(var(--red) 0% 84%, rgba(255,255,255,.1) 84% 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(239,80,55,.2);
  animation: rotateDonut 1.2s cubic-bezier(.4,0,.2,1) forwards 2.3s;
}
.donut-circle::after {
  content: '84%';
  position: absolute;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #0c0c14;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.donut-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
}
.donut-legend-color {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
.donut-legend-color.red { background: var(--red); }
.donut-legend-color.gray { background: rgba(255,255,255,.1); }

/* Alertas de Gargalo */
.sim-alert-gargalo {
  background: rgba(239,80,55,.08);
  border: 1px dashed rgba(239,80,55,.4);
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 0 16px rgba(239,80,55,.05);
}
.sim-alert-gargalo .alert-icon {
  font-size: 1.5rem;
  animation: pulse 1.5s ease-in-out infinite;
}
.sim-alert-gargalo div {
  font-size: .78rem;
  color: rgba(255,255,255,.8);
}
.sim-alert-gargalo strong {
  color: #fff;
}

/* RAG loading status indicator */
.sim-rag-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--red);
  font-family: monospace;
  font-size: .8rem;
  padding: 12px 16px;
  background: rgba(239,80,55,.04);
  border: 1px solid rgba(239,80,55,.1);
  border-radius: 8px;
  width: fit-content;
}
.sim-rag-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(239,80,55,.2);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

/* ANIMAÇÕES */
@keyframes typing {
  from { width: 0; }
  to { width: 100%; border-right-color: transparent; }
}
@keyframes blink {
  from, to { border-color: transparent; }
  50% { border-color: var(--red); }
}
@keyframes fadeInText {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes messageSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes growBar {
  from { height: 0; }
  to { height: var(--h); }
}
@keyframes rotateDonut {
  from { transform: rotate(0deg); opacity: 0; }
  to { transform: rotate(360deg); opacity: 1; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .sim-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sim-panel {
    height: 440px;
  }
  .sim-sidebar {
    width: 100%;
  }
  .use-cases-container { grid-template-columns: 1fr; gap: 24px; }
  .infra-grid { grid-template-columns: 1fr; gap: 40px; }
  .infra-card { padding: 32px 24px; }
  .use-case-box { padding: 32px 24px; }
}

/* ── SHOWCASE INTERATIVO (GALERIA) ──────────────────────── */
.showcase-section { padding: 96px 0; background: var(--bg); overflow: hidden; }
.showcase-section .section-title { margin-bottom: 16px; }
.screens-gallery {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 24px 0 40px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--red) rgba(255,255,255,.05);
}
.screens-gallery::-webkit-scrollbar {
  height: 6px;
}
.screens-gallery::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}
.screens-gallery::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 3px;
}
.gallery-item {
  flex: 0 0 75%;
  max-width: 860px;
  scroll-snap-align: center;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(239,80,55,.3);
  box-shadow: 0 24px 48px rgba(239,80,55,.15);
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── GRID DE DESTAQUES DE MÓDULOS ──────────────────────── */
.mod-destaques-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-bottom: 32px; }
.mod-destaque-card { background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); transition: border-color .3s, transform .3s, box-shadow .3s; }
.mod-destaque-card:hover { border-color: rgba(239,80,55,.3); transform: translateY(-4px); box-shadow: var(--shadow-h); }
.mod-destaque-card .mod-title { font-size: 1.35rem; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.mod-destaque-card .mod-desc { font-size: .9rem; color: var(--muted); line-height: 1.65; margin-bottom: 24px; }

/* ── COMPLEMENTOS DISCRETOS ────────────────────────────── */
.mod-complementos { width: 100%; }
.comp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }

@media (max-width: 991px) {
  .gallery-item {
    flex: 0 0 88%;
  }
}

/* ── COMPARATIVO DE HARDWARE ────────────────────────────── */
.comparativo-hardware {
  padding: 96px 0;
  background: var(--bg-alt);
  border-top: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
  position: relative;
}
.table-hardware-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 40px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--card);
}
.table-hardware {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: .88rem;
}
.table-hardware th, .table-hardware td {
  padding: 16px 20px;
  border-bottom: 1.5px solid var(--border);
  white-space: nowrap;
}
.table-hardware th {
  background: rgba(0, 0, 0, 0.15);
  font-weight: 800;
  color: var(--text);
}
.table-hardware tbody tr:last-child td {
  border-bottom: none;
}
.table-hardware tbody tr:hover {
  background: rgba(239, 80, 55, 0.02);
}
.table-hardware td strong {
  color: var(--text);
}
.price-td {
  font-weight: 800;
  color: var(--red) !important;
  font-size: 1rem;
}
.highlight-td {
  background: rgba(239, 80, 55, 0.03);
  color: var(--text);
  font-weight: bold;
}
.hardware-link-btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s ease;
  text-align: center;
}
.hardware-link-btn.apple {
  background: #2b2b2b;
  color: #fff;
  border: 1px solid #3d3d3d;
}
.hardware-link-btn.apple:hover {
  background: #444;
  transform: translateY(-1px);
}
.hardware-link-btn.ml {
  background: #fff159;
  color: #333;
  border: 1px solid #e6d83e;
}
.hardware-link-btn.ml:hover {
  background: #ffe81a;
  transform: translateY(-1px);
}

/* ── SIMULADOR DE TOKENS ───────────────────────────────── */
.token-simulator-card {
  margin-top: 48px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.token-simulator-card .sim-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.token-simulator-card .sim-header p {
  font-size: .88rem;
  color: var(--muted);
}
.sim-config-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}
.sim-config-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sim-config-group label {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
}
.sim-radio-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sim-radio-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all .2s ease;
  position: relative;
}
.sim-radio-btn input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.sim-radio-btn span {
  font-size: .88rem;
  color: var(--text);
  font-weight: 600;
}
.sim-radio-btn::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: inline-block;
  transition: all .2s ease;
}
.sim-radio-btn.active {
  border-color: var(--red);
  background: var(--red-bg);
}
.sim-radio-btn.active::before {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 0 6px var(--red);
}
.sim-exec-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1.5px solid var(--border);
}
.speed-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.speed-label {
  font-size: .88rem;
  color: var(--muted);
}
.speed-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  font-family: monospace;
}
.speed-unit {
  font-size: .88rem;
  color: var(--muted);
}
.sim-start-btn {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 4px 12px rgba(239, 80, 55, 0.2);
}
.sim-start-btn:hover {
  background: #d64228;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(239, 80, 55, 0.3);
}
.sim-start-btn:disabled {
  background: var(--border);
  color: var(--muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* TERMINAL RETRO */
.sim-text-terminal {
  margin-top: 24px;
  background: #09090f;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.sim-text-terminal .terminal-header {
  background: #14141f;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--border);
}
.sim-text-terminal .term-status {
  font-size: .78rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.sim-text-terminal .term-speed-realtime {
  font-size: .78rem;
  color: #00ff66;
  font-family: monospace;
  font-weight: bold;
}
.sim-text-terminal .terminal-body {
  padding: 24px;
  height: 220px;
  overflow-y: auto;
  font-family: monospace;
  font-size: .9rem;
  color: #00ff66;
  line-height: 1.6;
  text-align: left;
}
.terminal-placeholder {
  color: rgba(0, 255, 102, 0.4);
}

@media (max-width: 768px) {
  .sim-config-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sim-exec-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .sim-start-btn {
    width: 100%;
  }
}
