/* Página "Em construção" do Frontdesk BitRoot — cores e animações da marca BitRoot */
:root {
  --ground: #f4f3f0;
  --ink: #27234d;
  --ink-2: #454165;
  --muted: #6b678a;
  --line: #e8e6e0;
  --line-2: #d9d6ce;
  --accent: #e75124;
  --accent-dark: #c94318;
  --ok: #1f7a6d;
  --display: "Space Grotesk", "Arial Black", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ground); }
body { color: var(--ink); font-family: Inter, -apple-system, system-ui, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
a:hover { color: var(--accent-dark); }

.page { position: relative; min-height: 100vh; overflow: hidden; }
.bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wrap { position: relative; max-width: 1280px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 56px) 0; display: flex; flex-direction: column; gap: 56px; }

/* Cabeçalho */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.wordmark { text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.6px; color: var(--accent); min-height: 44px; display: inline-flex; align-items: center; }
.wordmark:hover { color: var(--accent-dark); }
.wordmark sup { font-size: 11px; margin-left: 2px; }
.divider { width: 1px; height: 24px; background: var(--line-2); }
.product { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.3px; }
.tagline { margin: 0; font-family: var(--display); font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); line-height: 1.6; text-align: right; }

/* Conteúdo */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: start; }
.intro { display: flex; flex-direction: column; gap: 28px; }
.eyebrow { margin: 0; font-family: var(--display); font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); }
h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -1.5px; }
h1 span { color: var(--accent); }
.lead { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }

.progress { display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.progress-label { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); }
.motto { font-family: var(--display); letter-spacing: 1px; }
.bar { position: relative; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar-fill { position: absolute; top: 0; left: 0; height: 100%; width: 40%; border-radius: 999px; background: var(--accent); animation: slide 2.4s cubic-bezier(.6,.05,.3,.95) infinite; }

.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; max-width: 560px; }
.steps li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; font-size: 14px; }
.steps .done { background: #fff; border: 1px solid var(--line); }
.steps .current { background: #fdf0eb; border: 1px solid #f2b39f; font-weight: 600; }
.steps .next { border: 1px dashed var(--line-2); color: var(--muted); }
.pulse { flex: none; width: 10px; height: 10px; margin: 4px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s ease-out infinite; }

/* Relógio */
.clock-card { position: relative; display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 48px -32px rgba(39, 35, 77, .25); overflow: hidden; }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 12%; background: linear-gradient(180deg, rgba(231,81,36,0), rgba(231,81,36,.05), rgba(231,81,36,0)); pointer-events: none; animation: scan 6s linear infinite; }
.clock-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.place { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--ink-2); }
.zone { padding: 6px 12px; border-radius: 999px; background: var(--ground); font-size: 12px; font-weight: 600; letter-spacing: .6px; }
.clock { display: flex; align-items: baseline; flex-wrap: nowrap; font-family: var(--display); font-weight: 700; font-size: clamp(56px, 9vw, 112px); line-height: 1; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.sep { color: #b8b5c9; padding: 0 .04em; }
.ss { color: var(--accent); }
.date { margin: 0; font-size: 16px; color: var(--ink-2); }
.rule { height: 1px; background: var(--line); }
.terminal { padding: 16px 18px; border-radius: 14px; background: #f7f6f3; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 13px; line-height: 1.9; color: var(--ink-2); }
.terminal .ok { color: var(--ok); }
.terminal .wait { color: var(--accent-dark); }
.cursor { display: inline-block; width: 8px; height: 15px; margin-left: 6px; vertical-align: -2px; background: var(--accent); animation: blink 1.1s steps(1) infinite; }

/* Contacto e rodapé */
.contact { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding-top: 32px; border-top: 1px solid var(--line); }
.contact-text { display: flex; flex-direction: column; gap: 8px; max-width: 520px; }
.contact-text p:last-child { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.mail { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--accent-dark); color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; transition: background .2s, transform .2s; }
.mail:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
.mail:focus-visible, .wordmark:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.mark { position: relative; max-width: 1440px; margin: 40px auto 0; padding: 0 clamp(8px, 2vw, 24px); font-family: var(--display); font-weight: 700; font-size: clamp(88px, 23vw, 340px); line-height: .8; letter-spacing: -.04em; color: var(--accent); white-space: nowrap; text-align: center; animation: mark 1.4s cubic-bezier(.2,.7,.2,1) .3s both; }
.mark sup { font-size: .12em; vertical-align: 2.6em; letter-spacing: 0; }
.foot { position: relative; max-width: 1280px; margin: 0 auto; padding: 28px clamp(16px, 4vw, 56px) 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: var(--muted); }

@media (max-width: 640px) {
  .tagline { text-align: left; }
  .clock { letter-spacing: -1px; }
}

/* Animações */
.line { stroke-dasharray: 4 18; animation: flow 9s linear infinite; }
.line.b { animation-duration: 13s; animation-direction: reverse; }
.line.c { animation-duration: 17s; }
.spin { animation: spin 40s linear infinite; transform-origin: 50% 50%; transform-box: fill-box; }
.spin.rev { animation-duration: 26s; animation-direction: reverse; }
.blink { animation: blink 1s steps(1) infinite; }
.tick { display: inline-block; animation: tick 1s ease-out infinite; }
.rise { opacity: 0; animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .25s; } .d3 { animation-delay: .4s; } .d4 { animation-delay: .55s; } .d5 { animation-delay: .7s; }

@keyframes flow { to { stroke-dashoffset: -440; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(231,81,36,.55); } 100% { box-shadow: 0 0 0 12px rgba(231,81,36,0); } }
@keyframes slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes tick { 0% { opacity: .35; transform: translateY(-6px); } 35% { opacity: 1; transform: none; } }
@keyframes mark { from { clip-path: inset(100% 0 0 0); transform: translateY(40px); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes scan { 0% { transform: translateY(-100%); } 100% { transform: translateY(900%); } }

@media (prefers-reduced-motion: reduce) {
  .line, .spin, .pulse, .bar-fill, .blink, .tick, .cursor, .scan { animation: none; }
  .rise, .mark { animation: none; opacity: 1; }
}
