@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

:root {
  --navy: #0B1F3A;
  --navy-mid: #163360;
  --blue: #1A56DB;
  --blue-hover: #1444BB;
  --blue-light: #E8F0FE;
  --slate: #475569;
  --muted: #94A3B8;
  --line: #E2E8F0;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --green: #059669;
  --green-bg: #ECFDF5;
  --green-border: #A7F3D0;
  --red: #DC2626;
  --red-bg: #FEF2F2;
  --red-border: #FECACA;
  --gold: #D97706;
  --gold-bg: #FFFBEB;
  --text: #0F172A;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--white); color: var(--text); font-family: 'DM Sans', sans-serif; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 68px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 60px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: var(--shadow-md); }
.logo { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 20px; color: var(--navy); letter-spacing: -0.5px; }
.logo img { height: 60px; width: auto; display: block; }
.logo span { color: var(--blue); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--slate); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-cta { background: var(--navy); color: #fff !important; padding: 10px 22px; border-radius: 6px; font-size: 14px; font-weight: 600; transition: background .2s; }
.nav-cta:hover { background: var(--navy-mid) !important; }
.nav-mobile-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--navy); }

/* ── UTILS ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 60px; }
.section { padding: 96px 0; }
.section-sm { padding: 72px 0; }
.bg-light { background: var(--bg); }
.bg-navy { background: var(--navy); }
.label {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px; display: block;
}
.label-white { color: rgba(255,255,255,0.55); }
.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
  font-size: clamp(28px, 3.5vw, 44px); letter-spacing: -1.5px;
  line-height: 1.1; color: var(--navy);
}
.section-title.white { color: #fff; }
.section-sub { color: var(--slate); font-size: 17px; font-weight: 300; line-height: 1.75; margin-top: 14px; }
.section-sub.white { color: rgba(255,255,255,0.6); }
.sec-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; gap: 32px; }
.sec-header-left { max-width: 520px; }
.sec-header-right { max-width: 380px; flex-shrink: 0; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all .2s; border: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid var(--line); color: var(--navy); background: transparent; }
.btn-outline:hover { border-color: #94A3B8; background: var(--bg); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { opacity: 0.92; }
.btn-ghost-w { border: 1.5px solid rgba(255,255,255,0.3); color: #fff; background: transparent; }
.btn-ghost-w:hover { border-color: rgba(255,255,255,0.6); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ── TAGS ── */
.tag { font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: 100px; background: var(--bg); color: var(--slate); border: 1px solid var(--line); white-space: nowrap; }

/* ── CARDS ── */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.card:hover { border-color: #CBD5E1; transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ── TRUST BAR ── */
.trust-bar { background: var(--navy); padding: 18px 60px; display: flex; align-items: center; gap: 40px; overflow-x: auto; }
.trust-bar::-webkit-scrollbar { display: none; }
.trust-item { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.trust-item-icon { font-size: 16px; }
.trust-item-text { font-size: 13px; color: rgba(255,255,255,0.6); white-space: nowrap; }
.trust-item-text strong { color: #fff; font-weight: 600; }
.trust-sep { width: 1px; height: 20px; background: rgba(255,255,255,0.15); flex-shrink: 0; }

/* ── PROCESS STEPS ── */
.fases { display: flex; gap: 0; position: relative; }
.fases::before { content: ''; position: absolute; top: 24px; left: 28px; right: 28px; height: 2px; background: var(--line); z-index: 0; }
.fase { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 12px; position: relative; z-index: 1; }
.fase-num { width: 48px; height: 48px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 16px; color: var(--muted); margin-bottom: 18px; transition: all .3s; }
.fase:first-child .fase-num { background: var(--blue); border-color: var(--blue); color: #fff; }
.fase-title { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.fase-desc { font-size: 13px; color: var(--slate); line-height: 1.6; font-weight: 300; }

/* ── ESCOPO TABLE ── */
.escopo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.escopo-card { border-radius: var(--radius-lg); padding: 24px; border: 1px solid; }
.escopo-card.in { background: var(--green-bg); border-color: var(--green-border); }
.escopo-card.out { background: var(--red-bg); border-color: var(--red-border); }
.escopo-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.escopo-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.escopo-list { list-style: none; }
.escopo-list li { padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 14px; color: var(--slate); font-weight: 300; display: flex; align-items: baseline; gap: 10px; }
.escopo-list li:last-child { border-bottom: none; }
.escopo-list li::before { content: '—'; color: var(--muted); font-size: 12px; flex-shrink: 0; }

/* ── SLA TABLE ── */
.sla-table { width: 100%; border-collapse: collapse; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.sla-table th { background: var(--navy); color: rgba(255,255,255,0.7); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 14px 20px; text-align: left; }
.sla-table td { padding: 13px 20px; font-size: 14px; color: var(--slate); border-bottom: 1px solid var(--line); background: var(--white); }
.sla-table tr:nth-child(even) td { background: var(--bg); }
.sla-table tr:last-child td { border-bottom: none; }
.sla-pill { display: inline-block; background: var(--green-bg); color: var(--green); padding: 3px 10px; border-radius: 100px; font-size: 12px; font-weight: 600; border: 1px solid var(--green-border); }

/* ── PRODUTO CARDS ── */
.produtos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.produto-card { background: var(--white); padding: 36px 30px; transition: background .2s; position: relative; cursor: pointer; }
.produto-card:hover { background: #F0F6FF; }
.produto-card.wide { grid-column: span 3; }
.produto-icon { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; }
.ic-blue { background: var(--blue-light); }
.ic-navy { background: rgba(11,31,58,0.07); }
.ic-green { background: var(--green-bg); }
.ic-gold { background: var(--gold-bg); }
.ic-purple { background: #F3F0FF; }
.produto-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.produto-desc { font-size: 14px; color: var(--slate); line-height: 1.7; font-weight: 300; }
.produto-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.produto-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 13px; font-weight: 600; margin-top: 20px; transition: gap .2s; }
.produto-link:hover { gap: 10px; }

/* ── KPI CARD ── */
.kpi-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.kpi-label { font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: 0.3px; margin-bottom: 6px; }
.kpi-val { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 28px; letter-spacing: -0.5px; line-height: 1; }
.kpi-trend { font-size: 11px; color: var(--muted); margin-top: 4px; }
.kv-green { color: var(--green); }
.kv-blue  { color: var(--blue); }
.kv-red   { color: var(--red); }
.kv-gold  { color: var(--gold); }

/* ── DASHBOARD CARD ── */
.dashboard-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.dash-bar { background: var(--navy); padding: 14px 18px; display: flex; align-items: center; gap: 6px; }
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-left: 8px; }
.dash-body { padding: 18px; }
.kpi-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 80px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(155deg, #EEF4FF 0%, #fff 50%); z-index: 0; }
.hero-grid { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; opacity: 0.5; mask-image: radial-gradient(ellipse 60% 80% at 0% 50%, black 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 80% at 0% 50%, black 20%, transparent 75%); }
.hero-panel { position: absolute; right: 0; top: 0; bottom: 0; width: 40%; background: var(--navy); clip-path: polygon(6% 0, 100% 0, 100% 100%, 0% 100%); z-index: 1; }
.hero-inner { display: grid; grid-template-columns: 1fr 40%; position: relative; z-index: 2; max-width: 1160px; margin: 0 auto; padding: 0 60px; gap: 0; }
.hero-content { padding-right: 60px; display: flex; flex-direction: column; justify-content: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-light); color: var(--blue); padding: 5px 14px; border-radius: 100px; font-size: 12px; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 28px; width: fit-content; }
.hero-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.hero h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(38px, 4.5vw, 62px); font-weight: 800; letter-spacing: -2.5px; line-height: 1.04; color: var(--navy); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-sub { font-size: 18px; color: var(--slate); font-weight: 300; line-height: 1.75; margin-bottom: 40px; max-width: 480px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-kpis { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 60px 48px 60px 64px; }
.hero-kpi { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 18px 20px; display: flex; align-items: center; gap: 14px; transition: background .2s; }
.hero-kpi:hover { background: rgba(255,255,255,0.11); }
.hero-kpi-icon { width: 38px; height: 38px; border-radius: 8px; background: rgba(26,86,219,0.25); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.hero-kpi-val { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 24px; color: #fff; letter-spacing: -0.5px; line-height: 1; }
.hero-kpi-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 3px; }

/* ── PRODUCT PAGE ── */
.prod-nav { border-bottom: 1px solid var(--line); display: flex; overflow-x: auto; }
.prod-nav::-webkit-scrollbar { display: none; }
.prod-nav a { padding: 14px 22px; color: var(--slate); font-size: 14px; font-weight: 500; white-space: nowrap; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.prod-nav a:hover, .prod-nav a.active { color: var(--navy); border-color: var(--blue); }
.prod-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-light); color: var(--blue); padding: 5px 14px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.prod-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(34px, 4vw, 52px); letter-spacing: -2px; line-height: 1.05; color: var(--navy); margin-bottom: 18px; }
.prod-desc-long { color: var(--slate); font-size: 16px; font-weight: 300; line-height: 1.85; margin-bottom: 32px; }
.prod-header-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; margin-bottom: 72px; }

/* ── FOOTER ── */
footer { background: var(--navy); padding: 60px 0 32px; }
.footer-top { display: grid; grid-template-columns: 2fr repeat(4,1fr); gap: 48px; margin-bottom: 48px; }
.footer-logo img { height: 60px; width: auto; display: block; }
.footer-logo span { color: #60A5FA; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.6; font-weight: 300; max-width: 260px; }
.footer-col-title { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-cred { font-size: 13px; color: rgba(255,255,255,0.35); }

/* ── CTA SECTION ── */
.cta-section { background: linear-gradient(155deg, var(--navy) 0%, var(--navy-mid) 100%); padding: 100px 0; text-align: center; }
.cta-section h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(30px, 4vw, 50px); letter-spacing: -1.5px; color: #fff; margin-bottom: 18px; }
.cta-section p { color: rgba(255,255,255,0.6); font-size: 17px; font-weight: 300; max-width: 440px; margin: 0 auto 40px; line-height: 1.7; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT FORM ── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 8px; font-size: 15px; font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--white); transition: border-color .2s, box-shadow .2s; outline: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,86,219,0.1); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── SOFIA FEATURES ── */
.sofia-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sofia-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.sofia-feat { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.sofia-feat-title { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.sofia-feat-sub { font-size: 12px; color: var(--slate); line-height: 1.5; }
.sofia-badge { display: inline-flex; align-items: center; gap: 6px; background: #F3F0FF; color: #6D28D9; padding: 4px 12px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }

/* ── CLIENTES ── */
.clientes-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 52px; }
.cliente-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 22px; background: var(--white); transition: border-color .2s, transform .2s, box-shadow .2s; }
.cliente-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cli-icon { font-size: 28px; margin-bottom: 14px; }
.cli-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 8px; }
.cli-sub { font-size: 13px; color: var(--slate); line-height: 1.65; font-weight: 300; }

/* ── ANIMATE ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── WHATSAPP FLOAT ── */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 500; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: transform .2s, box-shadow .2s; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ── MOBILE ── */
@media (max-width: 960px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
  .container { padding: 0 24px; }
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .trust-bar { padding: 16px 24px; gap: 24px; }
  .hero-inner { grid-template-columns: 1fr; padding: 0 24px; }
  .hero-panel { display: none; }
  .hero h1 { font-size: 36px; letter-spacing: -1.5px; }
  .hero-content { padding-right: 0; }
  .sec-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sec-header-right { max-width: 100%; }
  .produtos-grid { grid-template-columns: 1fr; }
  .produto-card.wide { grid-column: span 1; }
  .sofia-wide { grid-template-columns: 1fr; gap: 28px; }
  .sofia-feats { grid-template-columns: 1fr; }
  .fases { flex-direction: column; gap: 28px; }
  .fases::before { display: none; }
  .fase { flex-direction: row; text-align: left; gap: 16px; align-items: flex-start; }
  .fase-num { flex-shrink: 0; margin-bottom: 0; }
  .clientes-grid { grid-template-columns: 1fr 1fr; }
  .prod-header-grid { grid-template-columns: 1fr; gap: 40px; }
  .escopo-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .kpi-grid-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .hero h1 { font-size: 30px; }
  .clientes-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .kpi-grid-2 { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .cta-btns { flex-direction: column; align-items: center; }
}
