/* Estilos do site (extraídos do index.html do Claude Design) */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f6f5fc; }
::selection { background: #17636f; color: #fff; }
a { color: #17636f; }
a:hover { color: #124e58; }
a:focus-visible, button:focus-visible { outline: 2px solid #17636f; outline-offset: 3px; }

/* hovers (plain CSS — work outside the editor) */
.btn-primary { background: #221d3a; color: #f6f5fc; }
.btn-primary:hover { background: #17636f; }
.btn-teal { background: #17636f; color: #f6f5fc; }
.btn-teal:hover { background: #124e58; }
.row-link { background: #fff; }
.row-link:hover { background: #efeaf8; }

/* motion (respects reduced-motion) */
.draw { stroke-dasharray: 600; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes drawA { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
  @keyframes riseUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
  .draw { animation-name: drawA; animation-duration: .5s; animation-timing-function: ease; animation-fill-mode: both; }
  .rise { animation: riseUp .7s ease both; }
}
@media (prefers-reduced-motion: reduce) {
  .packets { display: none; }
}

/* responsive */
@media (max-width: 900px) { .hero-h1 { font-size: 46px; } }
@media (max-width: 640px) {
  .px-pad { padding-left: 20px !important; padding-right: 20px !important; }
  .hero-sheet-pad { padding: 32px 22px 0 !important; }
  .hero-col { min-width: 0 !important; }
  .hero-h1 { font-size: 36px; }
  .sec-h2 { font-size: 26px; }
  .frotix-pad { padding: 36px 24px !important; }
  .frotix-h2 { font-size: 26px; }
  .contact-pad { padding: 40px 24px !important; }
  .contact-h2 { font-size: 32px; }
  .titleblock { grid-template-columns: repeat(2, 1fr) !important; }
  .nav-links { display: none !important; }
  .nav-bar { padding: 0 20px !important; }
}

/* Descricao dos cards de app: altura minima de 5 linhas, para os celulares ficarem alinhados lado a lado */
.app-desc { margin: 0; font-size: 14.5px; line-height: 1.55; color: #4f496b; min-height: calc(1.55em * 5); }
.app-more { white-space: nowrap; font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 600; text-decoration: none; border-bottom: 1px solid #8fc2c9; }

/* ---- moldura de celular do card do TrackList ---- */
.tl-phone { display: flex; justify-content: center; margin: 22px 0 0; }
.tl-phone__body {
  position: relative; width: 100%; max-width: 312px; padding: 11px; border-radius: 38px;
  background: #1c1830; box-shadow: 0 0 0 1px #3a3359, 0 18px 40px -18px rgba(34, 29, 58, .55);
}
/* botoes laterais */
.tl-phone__body::before, .tl-phone__body::after {
  content: ""; position: absolute; width: 3px; border-radius: 2px; background: #3a3359;
}
.tl-phone__body::before { left: -3px; top: 96px; height: 44px; }
.tl-phone__body::after { right: -3px; top: 128px; height: 64px; }
.tl-phone__screen {
  position: relative; overflow: hidden; border-radius: 28px; background: #0a0a14;
  aspect-ratio: 360 / 740;
}
.tl-phone__screen iframe {
  position: absolute; top: 0; left: 0; border: 0; transform-origin: top left; background: #0a0a14;
}
/* "ilha" da camera sobre o app */
.tl-phone__screen::after {
  content: ""; position: absolute; top: 9px; left: 50%; width: 76px; height: 20px; margin-left: -38px;
  border-radius: 12px; background: #000; z-index: 3; pointer-events: none;
}
.tl-phone__cover {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 14px; padding: 24px; text-align: center; color: #eae7f5;
  background: radial-gradient(120% 80% at 50% 0%, #2a2350 0%, #0a0a14 70%);
}
.tl-phone__screen--running .tl-phone__cover { display: none; }
.tl-phone__cover strong { font-family: 'Space Grotesk', sans-serif; font-size: 26px; letter-spacing: -.01em; }
.tl-phone__cover span { font-size: 13px; line-height: 1.5; color: #b3aad9; }

/* Badge discreto de login do dono, canto superior direito (App.razor, só quando não é atendente).
   Por padrão é só o cadeado (cabe na folga ao lado do botão do menu); ao passar o mouse, revela "admin". */
.pf-admin-login {
  position: fixed; top: 72px; right: 10px; z-index: 60;
  display: inline-flex; align-items: center; padding: 5px;
  background: rgba(246, 245, 252, .82); backdrop-filter: blur(10px);
  border: 1px solid #d3cfe6; border-radius: 999px; text-decoration: none;
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .04em;
  color: #8b83ac; opacity: .6; transition: opacity .15s, color .15s, border-color .15s;
}
.pf-admin-login:hover, .pf-admin-login:focus-visible { opacity: 1; color: #17636f; border-color: #17636f; }
.pf-admin-login svg { width: 14px; height: 14px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pf-admin-login circle { fill: currentColor; stroke: none; }
.pf-admin-login span {
  max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap;
  transition: max-width .2s ease, opacity .2s ease, margin .2s ease;
}
.pf-admin-login:hover span, .pf-admin-login:focus-visible span { max-width: 56px; margin-left: 5px; margin-right: 3px; opacity: 1; }
/* Link de conversas (dono logado): rótulo sempre visível */
.pf-admin-conversas span { max-width: 90px; opacity: 1; margin-left: 5px; margin-right: 3px; }
@media (max-width: 640px) { .pf-admin-login { top: 72px; right: 8px; } }
