﻿:root{
  --bg0:#050812;
  --bg1:#070b18;
  --card:rgba(255,255,255,.06);
  --border:rgba(255,255,255,.10);
  --text:#eaf0ff;
  --muted:rgba(234,240,255,.70);
  --muted2:rgba(234,240,255,.55);
  --glow:0 20px 80px rgba(0,0,0,.55);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 22% 10%, rgba(52,125,255,.18), transparent 55%),
    radial-gradient(900px 600px at 78% 22%, rgba(210,90,255,.16), transparent 55%),
    radial-gradient(900px 700px at 50% 88%, rgba(0,210,255,.10), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

.topbar{
  max-width:1200px;
  margin:14px auto 0;
  padding:14px 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--glow);
  backdrop-filter: blur(10px);
}

.brand{display:flex;align-items:center;gap:12px}
.brandLogo{
  width:40px;height:40px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.05);
}
.brandText{line-height:1.05}
.brandTitle{font-weight:900;letter-spacing:.3px}
.brandSub{font-size:12px;color:var(--muted2)}

.nav{display:flex;gap:14px;align-items:center}
.navLink{
  color:var(--muted);
  text-decoration:none;
  font-weight:800;
  opacity:.9;
}
.navLink:hover{opacity:1; text-decoration:underline}

.wrap{
  max-width:1200px;
  margin:0 auto;
  padding:18px 18px 32px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  color:var(--text);
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
  font-weight:800;
  font-size:13px;
  transition:transform .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
  text-decoration:none;
}
.btn:hover{transform:translateY(-1px); background:rgba(255,255,255,.09)}
.btn.primary{background:rgba(90,150,255,.18); border-color:rgba(90,150,255,.35)}
.btn.ghost{background:transparent}
.btn.wide{width:100%}

.hero{
  margin-top:18px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  box-shadow: var(--glow);
  overflow:hidden;
}

.heroBanner{
  position: relative;
  padding:26px;
  background:
    linear-gradient(90deg, rgba(5,8,18,.92), rgba(5,8,18,.55)),
    url("https://assets.oficinaxlii.dev/shared/img/hero/ofxlii-hero-1920.webp?v=1") right center / cover no-repeat;
  background-position: 78% 35%;
}

@media (max-width: 820px){
  .topbar{flex-direction:column; align-items:flex-start}
  .nav{align-self:flex-end}

  .heroBanner{
    background:
      linear-gradient(180deg, rgba(5,8,18,.92), rgba(5,8,18,.60)),
      url("https://assets.oficinaxlii.dev/shared/img/hero/ofxlii-hero-1080.webp?v=1") center top / cover no-repeat;
    background-position: 55% 20%;
    padding:20px;
  }
}

.heroInner{max-width:760px}
.hTitle{font-size:36px;margin:0 0 10px;letter-spacing:.2px}
.hDesc{margin:0 0 16px;color:var(--muted);line-height:1.5}
.heroRow{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.heroMini{margin-top:14px;display:flex;align-items:center;gap:10px;color:var(--muted2);font-size:12px}
.dot{
  width:10px;height:10px;border-radius:50%;
  background:#22c55e;
  box-shadow:0 0 0 3px rgba(34,197,94,.15);
}

.section{margin-top:18px}
.sectionHead h2{margin:0 0 6px;font-size:18px;letter-spacing:.2px}
.sectionHead p{margin:0;color:var(--muted);line-height:1.4}

/* Grid 2x2 no desktop */
.grid2{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:14px;
}
@media (max-width: 980px){
  .grid2{grid-template-columns:1fr}
}

.grid3{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}
@media (max-width: 980px){
  .grid3{grid-template-columns:1fr}
}

.card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--glow);
  padding:16px;
  min-width:0;
}

.cardTop{display:flex;align-items:center;justify-content:space-between;gap:12px}

.pill{
  font-size:12px;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  color:var(--muted);
  white-space:nowrap;
}

.price{margin-top:10px;font-size:22px;font-weight:900}
.price span{font-size:12px;color:var(--muted2);font-weight:800;margin-left:6px}

.list{margin:10px 0 0;padding-left:18px;color:var(--muted)}
.list li{margin:6px 0}

.card.mini p{color:var(--muted);margin:8px 0 0;line-height:1.45}

.contactCard{
  margin-top:14px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--glow);
  padding:16px;
}

.kv{
  display:flex;justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border-radius:12px;
  background:rgba(255,255,255,.05);
  border:1px solid var(--border);
  margin-top:10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size:12px;
  color:var(--muted);
}

.footer{
  margin-top:18px;
  padding:14px 4px 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:var(--muted2);
  font-size:12px;
}

.popup{
  display:none;
  position:fixed;
  inset:0;
  z-index:9999;
  background:rgba(0,0,0,.55);
  align-items:center;
  justify-content:center;
  padding:16px;
}
.popup-content{
  width:min(520px, 100%);
  background:#050c14;
  border-radius:18px;
  padding:22px;
  position:relative;
}
.close{
  position:absolute;
  top:10px;
  right:12px;
  width:40px;
  height:40px;
  border:0;
  border-radius:10px;
  cursor:pointer;
  font-size:26px;
}

/* Mantém o look do teu .btn e só afina detalhes */
.btn.social-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.social-links {
  display: grid;
  gap: 10px;
}

.social-links a {
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 12px;
  background: #2a2749;
  color: #868686;
  font-weight: 600;
}

.footer-center{
  width: 100%;
  display: bnt;
  justify-content: center;
}

.social-links a:hover {
  background: #a8a8a8;
}

/* =========================
   OFX Budget Popup
   ========================= */
.ofx-budget-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity .25s ease;
  padding: 20px;
}
.ofx-budget-overlay.active{ display:flex; opacity:1; }

.ofx-budget-popup{
  background: #22283a;
  border-radius: 16px;
  width: min(650px, 100%);
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  border: 1px solid #2d3548;
  animation: ofxBudgetIn .25s ease-out;
}
@keyframes ofxBudgetIn{
  from{ opacity:0; transform: translateY(-30px) scale(.98); }
  to{ opacity:1; transform: translateY(0) scale(1); }
}

.ofx-budget-header{
  padding: 28px;
  border-bottom: 1px solid #2d3548;
  position: relative;
}
.ofx-budget-close{
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,.06);
  color: #94a3b8;
  font-size: 20px;
  cursor: pointer;
  transition: .2s;
}
.ofx-budget-close:hover{ background: rgba(255,255,255,.12); color:#fff; }

.ofx-budget-badge{
  display: inline-block;
  background: rgba(34,197,94,.1);
  color: #22c55e;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  border: 1px solid rgba(34,197,94,.2);
}

.ofx-budget-header h2{
  margin: 0 0 8px 0;
  color: #fff;
  font-size: 28px;
  font-weight: 650;
}
.ofx-budget-header p{
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
}

.ofx-budget-body{ padding: 28px; }

.ofx-budget-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ofx-budget-group{ margin-bottom: 18px; }

.ofx-budget-group label{
  display:block;
  margin-bottom: 8px;
  color:#f8fafc;
  font-size: 14px;
  font-weight: 520;
  transition: color .2s;
}
.ofx-budget-group:hover label{ color:#3b82f6; }

.ofx-budget-required{ color:#ef4444; }

.ofx-budget-group input,
.ofx-budget-group select,
.ofx-budget-group textarea{
  width: 100%;
  padding: 12px 14px;
  background: #1a1d2e;
  border: 1px solid #2d3548;
  border-radius: 10px;
  color: #e2e8f0;
  font-size: 14px;
  transition: .2s;
}
.ofx-budget-group textarea{ min-height: 110px; resize: vertical; }

.ofx-budget-group input:focus,
.ofx-budget-group select:focus,
.ofx-budget-group textarea:focus{
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}

.ofx-budget-group input::placeholder,
.ofx-budget-group textarea::placeholder{ color:#64748b; }

.ofx-budget-submit{
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: #3b82f6;
  color: #fff;
  font-size: 16px;
  font-weight: 650;
  cursor: pointer;
  transition: .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.ofx-budget-submit:hover{
  background:#2563eb;
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(59,130,246,.25);
}
.ofx-budget-submit:disabled{ opacity:.65; cursor:not-allowed; transform:none; }

.ofx-budget-spinner{
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  display: none;
  animation: ofxSpin .8s linear infinite;
}
.ofx-budget-spinner.active{ display:inline-block; }

@keyframes ofxSpin{ to{ transform: rotate(360deg);} }

.ofx-budget-note{
  text-align:center;
  margin-top: 12px;
  color:#64748b;
  font-size: 13px;
  line-height: 1.5;
}

/* Success */
.ofx-budget-success{
  display:none;
  text-align:center;
  padding: 46px 22px;
}
.ofx-budget-success.active{ display:block; }

.ofx-budget-success-icon{
  width: 92px; height: 92px;
  border-radius: 50%;
  background:#22c55e;
  color:#fff;
  font-size: 46px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin: 0 auto 18px auto;
  box-shadow: 0 10px 40px rgba(34,197,94,.25);
}

.ofx-budget-success h3{
  color:#f8fafc;
  font-size: 26px;
  margin: 0 0 10px 0;
}
.ofx-budget-success p{
  color:#94a3b8;
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 10px 0;
}
.ofx-budget-highlight{ color:#22c55e; font-weight:650; }

.ofx-budget-back{
  margin-top: 14px;
  padding: 12px 28px;
  border: none;
  border-radius: 10px;
  background:#3b82f6;
  color:#fff;
  font-weight:650;
  cursor:pointer;
  transition:.2s;
}
.ofx-budget-back:hover{
  background:#2563eb;
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(59,130,246,.25);
}

/* Mobile */
@media (max-width: 640px){
  .ofx-budget-row{ grid-template-columns: 1fr; }
  .ofx-budget-header{ padding: 22px; }
  .ofx-budget-body{ padding: 22px; }
}

/* scrollbar */
.ofx-budget-popup::-webkit-scrollbar{ width: 8px; }
.ofx-budget-popup::-webkit-scrollbar-track{ background:#22283a; }
.ofx-budget-popup::-webkit-scrollbar-thumb{ background:#3b82f6; border-radius: 10px; }
.ofx-budget-popup::-webkit-scrollbar-thumb:hover{ background:#2563eb; }

.muted{color:var(--muted)}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;}