:root {
  --d3dp-royal: #4169E1;
  --d3dp-royal-2: #3154C7;
  --d3dp-royal-3: #2947AE;
  --d3dp-soft: #EEF2FF;
  --d3dp-soft-2: #F7F9FF;
  --d3dp-bg: #F7F9FC;
  --d3dp-surface: #FFFFFF;
  --d3dp-text: #202633;
  --d3dp-muted: #687386;
  --d3dp-border: #E3E7EF;
  --d3dp-success: #15803D;
  --d3dp-font: "Comfortaa", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --d3dp-shadow: 0 22px 70px rgba(34, 52, 95, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--d3dp-bg); }
body.d3d-public-body { margin: 0; background: var(--d3dp-bg); color: var(--d3dp-text); font-family: var(--d3dp-font); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.d3d-public-body.admin-bar { margin-top: 0 !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(65,105,225,.35); outline-offset: 3px; border-radius: 8px; }

.d3d-public-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.d3d-public-skip { position: fixed; z-index: 100000; top: 10px; left: 14px; padding: 10px 14px; border-radius: 10px; background: var(--d3dp-royal); color: #fff; text-decoration: none; transform: translateY(-160%); }
.d3d-public-skip:focus { transform: translateY(0); }

.d3d-public-header { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(227,231,239,.9); background: rgba(255,255,255,.92); backdrop-filter: blur(14px); }
.d3d-public-nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.d3d-public-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; min-width: max-content; }
.d3d-public-brand > span:last-child { display: grid; line-height: 1.15; }
.d3d-public-brand strong { font-size: 17px; }
.d3d-public-brand small { margin-top: 3px; color: var(--d3dp-muted); font-size: 9px; letter-spacing: .04em; }
.d3d-public-logo { display: inline-grid; width: 43px; height: 43px; place-items: center; border-radius: 13px; background: linear-gradient(145deg, var(--d3dp-royal), var(--d3dp-royal-3)); color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 10px 24px rgba(65,105,225,.22); }
.d3d-public-nav { display: flex; align-items: center; justify-content: center; gap: 27px; flex: 1; }
.d3d-public-nav a { color: #4D586A; text-decoration: none; font-size: 12px; font-weight: 700; }
.d3d-public-nav a:hover { color: var(--d3dp-royal); }

.d3d-public-btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 7px; padding: 11px 17px; border: 1px solid transparent; border-radius: 11px; text-decoration: none; font-size: 12px; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.d3d-public-btn:hover { transform: translateY(-1px); }
.d3d-public-btn-primary { background: var(--d3dp-royal); color: #fff; box-shadow: 0 12px 28px rgba(65,105,225,.24); }
.d3d-public-btn-primary:hover { background: var(--d3dp-royal-2); box-shadow: 0 16px 32px rgba(65,105,225,.29); }
.d3d-public-btn-outline { border-color: #CDD5E5; background: #fff; color: #344054; }
.d3d-public-btn-outline:hover { border-color: var(--d3dp-royal); color: var(--d3dp-royal); background: var(--d3dp-soft-2); }
.d3d-public-btn-light { border-color: var(--d3dp-border); background: #fff; color: #344054; }
.d3d-public-btn-white { background: #fff; color: var(--d3dp-royal-3); box-shadow: 0 12px 28px rgba(15,28,68,.16); }

.d3d-hero { position: relative; overflow: hidden; padding: 90px 0 84px; background: radial-gradient(circle at 76% 16%, rgba(65,105,225,.16), transparent 28%), linear-gradient(180deg, #fff 0%, #F8FAFF 100%); }
.d3d-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -230px; top: -230px; border-radius: 50%; border: 70px solid rgba(65,105,225,.045); }
.d3d-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 72px; position: relative; z-index: 1; }
.d3d-chip { display: inline-flex; align-items: center; padding: 7px 11px; border: 1px solid #DDE4FA; border-radius: 999px; background: #fff; color: var(--d3dp-royal-3); font-size: 10px; font-weight: 700; box-shadow: 0 6px 20px rgba(65,105,225,.08); }
.d3d-public-eyebrow { margin: 20px 0 7px; color: var(--d3dp-royal); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.d3d-hero h1 { max-width: 690px; margin: 0; font-size: clamp(42px, 5.3vw, 72px); line-height: 1.05; letter-spacing: -.045em; font-weight: 700; }
.d3d-hero h1 span { color: var(--d3dp-royal); }
.d3d-hero-lead { max-width: 670px; margin: 24px 0 0; color: #596579; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.8; }
.d3d-hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 31px; }
.d3d-trust-list { display: flex; flex-wrap: wrap; gap: 18px 24px; margin: 26px 0 0; padding: 0; list-style: none; color: #5C6677; font-size: 10px; font-weight: 700; }

.d3d-hero-visual { position: relative; min-height: 500px; display: grid; align-items: center; }
.d3d-app-preview { position: relative; width: 100%; padding: 18px; border: 1px solid #DCE3F1; border-radius: 24px; background: rgba(255,255,255,.96); box-shadow: var(--d3dp-shadow); transform: rotate(1deg); }
.d3d-preview-topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 15px; border-bottom: 1px solid var(--d3dp-border); }
.d3d-preview-brand { display: flex; align-items: center; gap: 9px; font-size: 10px; }
.d3d-preview-brand span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--d3dp-royal); color: #fff; font-size: 9px; font-weight: 700; }
.d3d-online { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 999px; background: #ECFDF3; color: var(--d3dp-success); font-size: 8px; font-weight: 700; }
.d3d-online i { width: 6px; height: 6px; border-radius: 50%; background: #22A65A; }
.d3d-preview-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 15px; }
.d3d-preview-stats article { padding: 13px; border: 1px solid var(--d3dp-border); border-radius: 14px; background: #FBFCFF; }
.d3d-preview-stats span, .d3d-preview-stats small { display: block; color: #7A8495; font-size: 7px; }
.d3d-preview-stats strong { display: block; margin: 7px 0 3px; color: #273247; font-size: 12px; }
.d3d-preview-chart { margin-top: 10px; padding: 14px; border: 1px solid var(--d3dp-border); border-radius: 14px; }
.d3d-preview-chart-head { display: flex; justify-content: space-between; align-items: center; font-size: 8px; color: #6F798B; }
.d3d-preview-chart-head strong { color: var(--d3dp-royal); }
.d3d-bars { height: 120px; display: flex; align-items: end; gap: 9px; padding: 18px 6px 5px; border-bottom: 1px solid var(--d3dp-border); }
.d3d-bars i { flex: 1; height: var(--h); min-height: 12px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #6D8AF0, var(--d3dp-royal)); opacity: .9; }
.d3d-preview-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 10px; }
.d3d-preview-list span { padding: 9px 6px; border-radius: 9px; background: var(--d3dp-soft-2); color: #546071; text-align: center; font-size: 7px; font-weight: 700; }
.d3d-float-card { position: absolute; display: flex; align-items: center; gap: 10px; min-width: 178px; padding: 12px 13px; border: 1px solid #DDE4F2; border-radius: 14px; background: #fff; box-shadow: 0 18px 42px rgba(34,52,95,.14); }
.d3d-float-card > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: var(--d3dp-soft); font-size: 18px; }
.d3d-float-card div { display: grid; }
.d3d-float-card strong { font-size: 9px; }
.d3d-float-card small { margin-top: 2px; color: var(--d3dp-muted); font-size: 7px; }
.d3d-float-one { left: -28px; bottom: 35px; }
.d3d-float-two { right: -24px; top: 55px; }

.d3d-proof { padding: 24px 0; border-top: 1px solid var(--d3dp-border); border-bottom: 1px solid var(--d3dp-border); background: #fff; }
.d3d-proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.d3d-proof-grid div { display: grid; gap: 4px; padding-left: 18px; border-left: 2px solid #DCE4FD; }
.d3d-proof-grid strong { font-size: 11px; }
.d3d-proof-grid span { color: var(--d3dp-muted); font-size: 9px; }

.d3d-section { padding: 96px 0; }
.d3d-section-soft { background: #F0F4FF; border-block: 1px solid #E4E9F8; }
.d3d-section-head { max-width: 760px; margin-bottom: 36px; }
.d3d-section-head .d3d-public-eyebrow { margin-top: 0; }
.d3d-section-head h2, .d3d-management-grid h2, .d3d-cta-card h2 { margin: 0; font-size: clamp(29px, 3.4vw, 43px); line-height: 1.18; letter-spacing: -.03em; }
.d3d-section-head p:last-child { margin: 14px 0 0; color: var(--d3dp-muted); font-size: 14px; line-height: 1.8; }
.d3d-section-head-center { margin-inline: auto; text-align: center; }

.d3d-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.d3d-feature { min-height: 230px; padding: 24px; border: 1px solid var(--d3dp-border); border-radius: 18px; background: #fff; box-shadow: 0 5px 20px rgba(34,52,95,.04); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.d3d-feature:hover { transform: translateY(-3px); border-color: #CBD6F8; box-shadow: 0 16px 38px rgba(34,52,95,.08); }
.d3d-feature-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 13px; background: var(--d3dp-soft); font-size: 20px; }
.d3d-feature h3 { margin: 20px 0 8px; font-size: 16px; }
.d3d-feature p { margin: 0; color: var(--d3dp-muted); font-size: 11px; line-height: 1.8; }

.d3d-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 44px 0 0; padding: 0; list-style: none; counter-reset: flow; }
.d3d-flow li { position: relative; display: grid; justify-items: center; text-align: center; padding: 0 16px; }
.d3d-flow li:not(:last-child)::after { content: ""; position: absolute; top: 23px; right: -50%; width: 100%; height: 2px; background: #C9D5F9; z-index: 0; }
.d3d-flow li > span { position: relative; z-index: 1; display: grid; width: 48px; height: 48px; place-items: center; border: 6px solid #F0F4FF; border-radius: 50%; background: var(--d3dp-royal); color: #fff; font-size: 11px; font-weight: 700; box-shadow: 0 0 0 1px #C7D4FC; }
.d3d-flow div { margin-top: 15px; }
.d3d-flow strong { font-size: 12px; }
.d3d-flow p { margin: 8px 0 0; color: var(--d3dp-muted); font-size: 9px; line-height: 1.7; }

.d3d-management-grid { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 70px; }
.d3d-management-grid .d3d-public-eyebrow { margin-top: 0; }
.d3d-management-lead { max-width: 650px; margin: 18px 0 26px; color: var(--d3dp-muted); font-size: 13px; line-height: 1.85; }
.d3d-check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.d3d-check-grid > div { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; align-items: center; padding: 14px; border: 1px solid var(--d3dp-border); border-radius: 13px; background: #fff; }
.d3d-check-grid strong { font-size: 10px; }
.d3d-check-grid span { grid-column: 2; color: var(--d3dp-muted); font-size: 8px; }
.d3d-management-card { overflow: hidden; border: 1px solid #D8E0F3; border-radius: 22px; background: #fff; box-shadow: var(--d3dp-shadow); }
.d3d-cost-head, .d3d-cost-row, .d3d-cost-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 19px; border-bottom: 1px solid var(--d3dp-border); }
.d3d-cost-head { background: #FBFCFF; font-size: 11px; font-weight: 700; }
.d3d-status-pill { padding: 4px 8px; border-radius: 999px; background: #ECFDF3; color: var(--d3dp-success); font-size: 8px; }
.d3d-cost-row { color: #657083; font-size: 10px; }
.d3d-cost-row strong { color: #343F51; }
.d3d-cost-total { color: var(--d3dp-royal-3); font-size: 11px; font-weight: 700; }
.d3d-price-result { display: grid; padding: 21px 19px; background: linear-gradient(135deg, #F2F5FF, #fff); }
.d3d-price-result small { color: #6A7690; font-size: 9px; }
.d3d-price-result strong { margin: 2px 0; color: var(--d3dp-royal-3); font-size: 30px; line-height: 1.2; }
.d3d-price-result span { color: #8690A1; font-size: 8px; }

.d3d-cta-section { padding: 26px 0 88px; }
.d3d-cta-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; overflow: hidden; position: relative; padding: 46px 52px; border-radius: 24px; background: linear-gradient(135deg, #3154C7, #4169E1 52%, #6B86EA); color: #fff; box-shadow: 0 24px 70px rgba(65,105,225,.26); }
.d3d-cta-card::after { content: "D3D"; position: absolute; right: 190px; top: -44px; color: rgba(255,255,255,.06); font-size: 150px; font-weight: 700; line-height: 1; }
.d3d-cta-card > * { position: relative; z-index: 1; }
.d3d-cta-card .d3d-public-eyebrow { margin-top: 0; color: #DCE5FF; }
.d3d-cta-card h2 { max-width: 680px; }
.d3d-cta-card p:last-child { margin: 12px 0 0; color: #E2E8FF; font-size: 11px; }

.d3d-public-footer { padding: 40px 0 20px; border-top: 1px solid var(--d3dp-border); background: #fff; }
.d3d-footer-grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; }
.d3d-footer-grid > p { margin: 0; color: var(--d3dp-muted); font-size: 10px; }
.d3d-footer-grid > a { color: var(--d3dp-royal); font-size: 10px; font-weight: 700; text-decoration: none; }
.d3d-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 17px; border-top: 1px solid var(--d3dp-border); color: #8A94A6; font-size: 8px; }

@media (max-width: 1000px) {
  .d3d-public-nav { display: none; }
  .d3d-hero { padding-top: 66px; }
  .d3d-hero-grid, .d3d-management-grid { grid-template-columns: 1fr; gap: 50px; }
  .d3d-hero-copy { text-align: center; }
  .d3d-hero-lead { margin-inline: auto; }
  .d3d-hero-actions, .d3d-trust-list { justify-content: center; }
  .d3d-hero-visual { min-height: 440px; width: min(700px, 100%); margin-inline: auto; }
  .d3d-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .d3d-proof-grid { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .d3d-flow { grid-template-columns: 1fr; gap: 18px; }
  .d3d-flow li { grid-template-columns: auto 1fr; justify-items: start; align-items: start; gap: 12px; text-align: left; padding: 0; }
  .d3d-flow li:not(:last-child)::after { top: 48px; left: 23px; width: 2px; height: calc(100% + 18px); }
  .d3d-flow div { margin-top: 6px; }
}

@media (max-width: 680px) {
  .d3d-public-container { width: min(100% - 28px, 1180px); }
  .d3d-public-nav-wrap { min-height: 68px; }
  .d3d-public-header .d3d-public-btn { min-height: 40px; padding: 9px 12px; font-size: 0; }
  .d3d-public-header .d3d-public-btn::after { content: "Entrar"; font-size: 11px; }
  .d3d-public-brand small { display: none; }
  .d3d-hero { padding: 52px 0 62px; }
  .d3d-hero h1 { font-size: clamp(38px, 12vw, 56px); }
  .d3d-hero-lead { font-size: 14px; }
  .d3d-hero-actions { display: grid; }
  .d3d-hero-actions .d3d-public-btn { width: 100%; }
  .d3d-trust-list { display: grid; gap: 9px; }
  .d3d-hero-visual { min-height: 355px; }
  .d3d-app-preview { padding: 12px; border-radius: 18px; }
  .d3d-preview-stats { grid-template-columns: 1fr; }
  .d3d-preview-stats article:nth-child(n+2) { display: none; }
  .d3d-preview-list { grid-template-columns: repeat(2,1fr); }
  .d3d-bars { height: 90px; }
  .d3d-float-card { display: none; }
  .d3d-proof-grid { grid-template-columns: 1fr; }
  .d3d-section { padding: 70px 0; }
  .d3d-feature-grid, .d3d-check-grid { grid-template-columns: 1fr; }
  .d3d-feature { min-height: auto; }
  .d3d-cta-card { display: grid; padding: 32px 25px; }
  .d3d-cta-card .d3d-public-btn { width: 100%; }
  .d3d-footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .d3d-footer-bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
