/* 4Broker — tokens e componentes de páginas. Base aprovada em 30/10/2026. */
@font-face { font-family: "Creato Display"; src: local("Creato Display Light"), local("CreatoDisplay-Light"); font-style: normal; font-weight: 300; font-display: swap; }
@font-face { font-family: "Creato Display"; src: local("Creato Display Regular"), local("CreatoDisplay-Regular"); font-style: normal; font-weight: 400; font-display: swap; }

:root {
  --blue: #0000fe;
  --blue-deep: #0000e0;
  --blue-light: #1f4dff;
  --offwhite: #f7f9fc;
  --alice: #eff8ff;
  --page: #f7f9fc;
  --surface: #eff8ff;
  --surface-raised: #eff8ff;
  --muted: #52649b;
  --line: rgba(247, 249, 252, .14);
  --line-strong: rgba(247, 249, 252, .28);
  --brand-gradient: linear-gradient(45deg, #0000e0 0%, #0000fe 50%, #1f4dff 100%);
  --radius-compact: 12px;
  --radius-medium: 18px;
  --radius-large: 24px;
  --radius-pill: 9999px;
  --container: 1152px;
  --shadow-panel: 0 1px 0 rgba(247,249,252,.06) inset, 0 24px 64px -28px rgba(0,0,0,.8);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--offwhite); font-family: "Creato Display", Arial, sans-serif; font-weight: 300; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--offwhite); outline-offset: 4px; }
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding-block: 104px; }
.eyebrow { color: var(--muted); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }
.section-title { margin: 16px 0 12px; font-size: clamp(34px, 4vw, 48px); line-height: 1.05; font-weight: 400; letter-spacing: -.03em; }
.section-subtitle { max-width: 640px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.5; font-weight: 300; }
.section-heading { margin-bottom: 44px; }

.glass-panel { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-large); background: rgba(14,16,43,.86); box-shadow: var(--shadow-panel); }
.glass-panel::after { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(247,249,252,.18), transparent); pointer-events: none; }
.glow-blue::before { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; left: 50%; top: -100px; transform: translateX(-50%); background: var(--blue); filter: blur(80px); opacity: .42; pointer-events: none; }

.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 14px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--radius-pill); color: var(--offwhite); font-size: 14px; font-weight: 400; line-height: 1; letter-spacing: 0; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--brand-gradient); box-shadow: 0 10px 32px -14px rgba(31,77,255,.65); }
.btn-primary:hover { box-shadow: 0 14px 40px -12px rgba(31,77,255,.8); }
.btn-outline { border-color: var(--line-strong); background: rgba(247,249,252,.03); }
.btn-outline:hover { border-color: rgba(247,249,252,.5); background: rgba(247,249,252,.08); }
.btn-dark { background: linear-gradient(135deg,rgba(5,6,18,.94),rgba(22,24,42,.9)); border-color: rgba(247,249,252,.36); color: rgba(247,249,252,.88); }
.btn .arrow { width: 28px; height: 28px; display: grid; place-items: center; margin-right: -13px; border-radius: 50%; background: rgba(247,249,252,.1); }
.btn .arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.circle-btn { display: inline-grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--offwhite); background: rgba(247,249,252,.06); line-height: 1; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.circle-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.circle-btn:hover { background: rgba(247,249,252,.15); transform: translateY(-2px); }
.pill-label { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: rgba(247,249,252,.08); color: var(--offwhite); font-size: 12px; }
.pill-label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--offwhite); }
.segmented { display: inline-flex; gap: 3px; padding: 5px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: rgba(247,249,252,.035); }
.segmented button { min-width: 130px; min-height: 38px; padding: 0 16px; border: 1px solid transparent; border-radius: var(--radius-pill); background: transparent; color: var(--muted); cursor: pointer; }
.segmented button[aria-selected="true"] { border-color: var(--line); background: var(--surface-raised); color: var(--offwhite); box-shadow: inset 0 1px 0 rgba(247,249,252,.08); }

.page-nav { position: sticky; z-index: 20; top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 30px; width: min(calc(100% - 40px), 1024px); height: 56px; margin: 20px auto -76px; padding: 0 20px; border: 1px solid var(--line); border-radius: var(--radius-large); background: rgba(8,9,28,.78); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 1px 0 rgba(247,249,252,.08) inset; }
.page-nav img { display: block; width: 98px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: 13px; }
.nav-links a:hover { color: var(--offwhite); }
.nav-status { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.hero { position: relative; display: grid; min-height: 760px; place-items: center; overflow: hidden; padding: 180px 20px 110px; text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--brand-gradient); opacity: .62; -webkit-mask-image: radial-gradient(ellipse 51% 39% at 48% 49%,#000 4%,transparent 78%); mask-image: radial-gradient(ellipse 51% 39% at 48% 49%,#000 4%,transparent 78%); filter: blur(30px); animation: ambient 12s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 30% 22% at 28% 48%,rgba(0,0,254,.48),transparent 80%),radial-gradient(ellipse 20% 28% at 75% 56%,rgba(31,77,255,.27),transparent 80%); filter: blur(24px); pointer-events: none; }
.hero-content { position: relative; z-index: 1; width: min(100%, 900px); }
.hero .eyebrow { color: rgba(247,249,252,.7); }
.hero h1 { max-width: 900px; margin: 24px auto 20px; font-size: clamp(42px, 6.2vw, 72px); font-weight: 400; letter-spacing: -.03em; line-height: 1.03; }
.hero p { max-width: 610px; margin: 0 auto 54px; color: var(--muted); font-size: clamp(17px, 1.8vw, 20px); line-height: 1.5; font-weight: 300; }
@property --ring-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.drag-wrap { width: min(100%, 482px); margin-inline: auto; }
.drag-ring { position: relative; width: 100%; padding: 1px; border-radius: var(--radius-pill); background: conic-gradient(from var(--ring-angle),transparent 0deg,transparent 192deg,rgba(0,0,254,.28) 230deg,rgba(0,0,254,.8) 261deg,#1f4dff 286deg,rgba(247,249,252,.72) 302deg,rgba(0,0,254,.55) 319deg,transparent 348deg); animation: ring-spin 4.5s linear infinite; box-shadow: 0 0 22px rgba(0,0,254,.16); }
.drag-ring::after { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; background: inherit; filter: blur(9px); opacity: .3; pointer-events: none; }
.drag-cta { position: relative; display: flex; align-items: center; height: 64px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-pill); background: rgba(14,16,43,.86); box-shadow: var(--shadow-panel); user-select: none; touch-action: none; }
.drag-fill { position: absolute; inset: 0; border-radius: inherit; background: var(--brand-gradient); opacity: var(--drag-opacity,0); pointer-events: none; transition: opacity .32s ease; }
.drag-cta.dragging .drag-fill { transition: none; }
.drag-label { position: absolute; z-index: 1; inset-block: 0; left: 64px; right: 18px; display: flex; align-items: center; justify-content: center; white-space: nowrap; color: var(--offwhite); font-size: 14px; opacity: var(--drag-label-opacity,1); pointer-events: none; transition: opacity .16s ease; }
.drag-label strong { font-weight: 400; }
.drag-label .separator { margin: 0 9px; color: rgba(247,249,252,.25); }
.drag-label .secondary { color: rgba(247,249,252,.56); font-weight: 300; }
.drag-handle { position: absolute; z-index: 2; left: 4px; top: 3px; width: 56px; height: 56px; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--offwhite); background: var(--brand-gradient); box-shadow: 0 0 26px rgba(0,0,254,.5); cursor: grab; touch-action: none; transform: translateX(var(--drag-x,0px)); transition: transform .32s cubic-bezier(.22,1,.36,1); }
.drag-handle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.drag-handle:active { cursor: grabbing; }
.drag-cta.dragging .drag-handle { transition: none; }
.drag-hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; color: rgba(247,249,252,.58); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; }
.drag-hint svg { width: 20px; height: 12px; fill: none; stroke: var(--blue-light); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.radius-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.radius-card { min-height: 192px; padding: 25px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow-panel); }
.radius-card strong { font-size: 26px; font-weight: 400; letter-spacing: -.03em; }
.radius-card small { color: var(--muted); font-size: 13px; }
.radius-card.compact { border-radius: 12px; }
.radius-card.medium { border-radius: 18px; }
.radius-card.large { border-radius: 24px; }
.radius-card.pill { border-radius: 9999px; align-items: center; text-align: center; }

.context-card { display: grid; place-items: center; min-height: 345px; padding: 58px 32px; text-align: center; }
.context-card .brand-icon { position: relative; z-index: 1; display: grid; width: 64px; height: 64px; place-items: center; margin-bottom: 24px; border-radius: 17px; background: var(--brand-gradient); box-shadow: 0 12px 32px rgba(0,0,254,.35); }
.context-card .brand-icon img { width: 36px; max-height: 42px; }
.context-card h3 { position: relative; z-index: 1; margin: 0 0 14px; font-size: 30px; letter-spacing: -.03em; font-weight: 400; }
.context-card p { position: relative; z-index: 1; max-width: 590px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

.context-strip { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 44px; margin-bottom: 14px; padding: 0 20px; border: 1px solid rgba(247,249,252,.3); border-radius: 12px; color: var(--page); background: var(--offwhite); box-shadow: 0 12px 34px -24px rgba(31,77,255,.6); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.context-strip span:first-child { display: flex; align-items: center; gap: 10px; }
.context-strip i { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--blue); }
.context-strip strong { letter-spacing: .04em; font-size: 12px; }
.offer-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; min-height: 386px; padding: 42px; border: 1px solid rgba(247,249,252,.2); border-radius: 12px; background: var(--brand-gradient); }
.offer-copy,.offer-visual { position: relative; z-index: 1; }
.offer-copy h3 { max-width: 420px; margin: 22px 0 12px; font-size: clamp(36px,4vw,52px); line-height: 1.04; font-weight: 400; letter-spacing: -.03em; }
.offer-copy p { max-width: 410px; margin: 0 0 28px; color: rgba(247,249,252,.88); line-height: 1.55; }
.offer-visual { display: flex; align-items: center; justify-content: center; gap: 14px; }
.offer-mini { display: grid; place-items: center; width: 29%; height: 205px; border: 1px solid rgba(247,249,252,.25); border-radius: 18px; background: rgba(8,10,18,.28); box-shadow: 0 15px 30px rgba(0,0,0,.15); transform: translateY(16px); }
.offer-mini.active { width: 35%; height: 250px; background: var(--offwhite); color: var(--blue); transform: translateY(-4px); }
.offer-mini span { font-weight: 400; font-size: 40px; letter-spacing: -.03em; }
.offer-mini:not(.active) span { color: var(--offwhite); opacity: .74; }
.offer-arrows { position: absolute; right: 48px; bottom: 28px; z-index: 2; display: flex; gap: 12px; }
.offer-arrows .circle-btn { width: 36px; height: 36px; font-size: 18px; border-color: rgba(247,249,252,.4); background: rgba(247,249,252,.1); }

.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.stat-card { min-height: 210px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px; text-align: center; border-color: rgba(31,77,255,.25); background: radial-gradient(circle at 50% 120%,rgba(0,0,254,.12),transparent 65%),var(--surface); }
.stat-card small { color: var(--muted); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.stat-card strong { margin-top: 18px; font-size: clamp(44px,5vw,62px); font-weight: 400; letter-spacing: -.055em; line-height: 1; color: var(--offwhite); }
.stat-card strong em { color: var(--blue-light); font-style: normal; }

.gallery { display: flex; align-items: center; gap: 18px; }
.gallery-stage { position: relative; flex: 1; display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: center; gap: 16px; min-width: 0; }
.gallery-item { display: grid; place-items: center; height: 250px; border: 1px solid var(--line); border-radius: var(--radius-large); background: linear-gradient(145deg,#111523,#0b0f1a); opacity: .45; transform: scale(.9); transition: transform .4s ease,opacity .4s ease,border-color .4s ease; }
.gallery-item.active { height: 320px; opacity: 1; transform: scale(1); border-color: rgba(31,77,255,.55); box-shadow: 0 22px 50px rgba(0,0,0,.45); }
.gallery-item span { color: var(--offwhite); font-size: 28px; font-weight: 400; letter-spacing: -.03em; }
.gallery-item.active span { font-size: 34px; }
.gallery-item small { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.gallery-caption { margin-top: 18px; text-align: center; color: var(--muted); font-size: 13px; }
.footer { padding: 40px 20px 54px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }

@keyframes ambient { from { transform: translate3d(-2%,0,0) scale(1); opacity: .8; } to { transform: translate3d(2%,-2%,0) scale(1.08); opacity: 1; } }
@keyframes ring-spin { to { --ring-angle: 360deg; } }

@media (max-width: 800px) {
  .section { padding-block: 76px; }
  .page-nav { width: min(calc(100% - 24px),1024px); padding-inline: 16px; }
  .nav-links { display: none; }
  .nav-status { font-size: 9px; }
  .hero { min-height: 700px; padding-top: 150px; }
  .radius-grid { grid-template-columns: repeat(2,1fr); }
  .offer-card { grid-template-columns: 1fr; padding: 28px; }
  .offer-visual { min-height: 250px; }
  .offer-arrows { right: 28px; bottom: 22px; }
  .stats { grid-template-columns: 1fr; }
  .gallery-stage { grid-template-columns: .7fr 1fr .7fr; gap: 0; }
  .gallery-item { height: 190px; }
  .gallery-item.active { height: 260px; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 43px; }
  .hero p { margin-bottom: 40px; }
  .drag-label { font-size: 11px; left: 59px; right: 8px; }
  .radius-grid { gap: 12px; }
  .radius-card { min-height: 150px; padding: 18px; }
  .radius-card strong { font-size: 22px; }
  .context-strip { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 10px; }
  .offer-mini { height: 155px; }
  .offer-mini.active { height: 190px; }
  .gallery { gap: 6px; }
  .gallery .circle-btn { width: 36px; height: 36px; min-width: 36px; }
  .gallery-item { height: 150px; }
  .gallery-item.active { height: 210px; }
  .gallery-item span { font-size: 16px; }
  .gallery-item.active span { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Revisão visual: alternância de off-white e azuis oficiais da marca. */
:root {
  --page: #f7f9fc;
  --surface: #eff8ff;
  --surface-raised: #eff8ff;
  --muted: #52649b;
  --line: rgba(0,0,254,.14);
  --line-strong: rgba(0,0,254,.28);
  --shadow-panel: 0 1px 0 rgba(255,255,255,.9) inset, 0 24px 64px -28px rgba(0,0,120,.22);
}
body { background: var(--offwhite); color: var(--blue); }
.btn-dark { background: var(--blue-deep); border-color: rgba(247,249,252,.36); }
.drag-cta { background: rgba(0,0,224,.92); }
button:focus-visible, a:focus-visible { outline-color: var(--blue); }
.section-title,.context-card h3,.radius-card strong,.gallery-item span { color: var(--blue); font-weight: 300; }
.section-subtitle,.eyebrow { color: #52649b; }
.hero { background: var(--blue); color: var(--offwhite); }
.hero::before,.hero::after { opacity: .2; }
.hero .eyebrow,.hero p,.drag-hint { color: rgba(247,249,252,.8); }
.hero h1 { font-weight: 300; }
.page-nav { border-color: rgba(247,249,252,.36); background: rgba(0,0,224,.78); }
.nav-links,.nav-status { color: rgba(247,249,252,.8); }
.nav-links a:hover { color: var(--offwhite); }
.glass-panel,.radius-card,.stat-card,.gallery-item { border-color: var(--line); background: var(--alice); box-shadow: var(--shadow-panel); }
.glass-panel::after { background: linear-gradient(90deg,transparent,rgba(0,0,254,.18),transparent); }
.context-card p,.radius-card small,.gallery-caption { color: #52649b; }
.context-strip { color: var(--blue); border-color: var(--line); }
.offer-card { color: var(--offwhite); }
.offer-copy h3,.offer-copy p,.offer-mini:not(.active) span { color: var(--offwhite); }
.offer-mini:not(.active) { background: rgba(0,0,120,.22); }
.stat-card strong { color: var(--blue); }
.gallery-item { opacity: .65; }
.gallery-item.active { background: var(--blue); border-color: var(--blue-light); box-shadow: 0 22px 50px rgba(0,0,224,.22); }
.gallery-item.active span { color: var(--offwhite); }
.footer { border-color: var(--line); color: #52649b; }

/* Ícones luminosos inspirados nos tiles e reflexos dos motions 4Broker. */
.brand-icon,.intro-card-symbol,.preview-node { isolation: isolate; overflow: hidden; }
.preview-node { position: relative; }
.brand-icon::after,.intro-card-symbol::after,.preview-node::after {
  content: ""; position: absolute; z-index: 2; top: -60%; bottom: -60%; left: -70%; width: 42%;
  background: linear-gradient(90deg,transparent,rgba(247,249,252,.86),rgba(166,240,255,.8),transparent);
  filter: blur(3px); transform: rotate(28deg); animation: motion-icon-sheen 4.2s ease-in-out infinite;
  pointer-events: none;
}
.brand-icon,.intro-card-symbol { box-shadow: 0 12px 32px rgba(0,0,254,.38),0 0 28px rgba(94,208,255,.3); }
@keyframes motion-icon-sheen { 0%,25% { left:-70%; opacity:0; } 38% { opacity:.95; } 62%,100% { left:140%; opacity:0; } }
@media (prefers-reduced-motion: reduce) { .brand-icon::after,.intro-card-symbol::after,.preview-node::after { animation:none; opacity:0; } }
