/* ============================================ PINHO-NETO Dashboard — style.css Apple-inspired design · macOS Sonoma dark theme Glassmorphism · Rounded corners · Subtle depth ============================================ */ :root { /* Brand: PINHO (warm) / NETO (cool) */ --pin-1: #ff9f43; --pin-2: #f97316; --pin-3: #fbbf24; --net-1: #38bdf8; --net-2: #06b6d4; --net-3: #22d3ee; /* Apple-style dark surfaces (macOS Sonoma dark) */ --bg-0: #000000; --bg-1: #1c1c1e; --bg-2: #2c2c2e; --bg-3: #3a3a3c; --glass: rgba(28, 28, 30, 0.72); --glass-light: rgba(58, 58, 60, 0.55); --glass-brd: rgba(255, 255, 255, 0.08); --glass-brd-hi: rgba(255, 255, 255, 0.16); --card-bg: rgba(44, 44, 46, 0.80); --card-bg-hover: rgba(58, 58, 60, 0.90); --ios-grouped-bg: rgba(44, 44, 46, 0.92); /* Text — Apple system colors */ --text: #ffffff; --text-2: #f2f2f7; --text-dim: rgba(235, 235, 245, 0.60); --text-faint: rgba(235, 235, 245, 0.30); --separator: rgba(255, 255, 255, 0.08); --separator-opaque: #38383a; /* Status */ --ok: #30d158; --warn: #ff9f0a; --bad: #ff453a; --unknown: #8e8e93; /* Apple-style accent */ --accent: #0a84ff; --accent-glow: rgba(10, 132, 255, 0.25); /* Layout */ --radius-xl: 22px; --radius-lg: 18px; --radius-md: 14px; --radius-sm: 10px; --radius-pill: 999px; --shadow: 0 4px 20px rgba(0, 0, 0, 0.40); --shadow-hi: 0 8px 32px rgba(0, 0, 0, 0.50); --shadow-tab: 0 -1px 0 rgba(255, 255, 255, 0.06); --gap: 16px; --maxw: 1200px; /* Apple font stack */ --font: -apple-system, system-ui, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; } * { box-sizing: border-box; } html, body { margin: 0; padding: 0; min-height: 100%; } body { font-family: var(--font); color: var(--text); background: var(--bg-0); line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; position: relative; /* Safe-area insets for iOS PWA */ padding-top: env(safe-area-inset-top); /* Bottom padding reserved for mobile tab bar */ padding-bottom: env(safe-area-inset-bottom); } /* ===== Animated gradient background (subtle) ===== */ .bg-gradient { position: fixed; inset: -10%; z-index: -2; background: radial-gradient(35% 35% at 15% 15%, rgba(249, 115, 22, 0.12), transparent 70%), radial-gradient(40% 40% at 85% 20%, rgba(56, 189, 248, 0.12), transparent 70%), radial-gradient(45% 45% at 75% 80%, rgba(34, 211, 238, 0.10), transparent 70%), radial-gradient(40% 40% at 20% 85%, rgba(251, 191, 36, 0.10), transparent 70%), linear-gradient(180deg, #000000 0%, #1c1c1e 50%, #000000 100%); filter: saturate(1.05); animation: drift 28s ease-in-out infinite alternate; } .bg-grid { position: fixed; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); pointer-events: none; } @keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-1%, 0.5%, 0) scale(1.03); } 100% { transform: translate3d(1%, -0.5%, 0) scale(1.05); } } /* ===== Top navigation bar (frosted glass) ===== */ .site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 40px); /* iOS safe-area top inset */ padding-top: calc(14px + env(safe-area-inset-top, 0px)); background: var(--glass); backdrop-filter: blur(30px) saturate(160%); -webkit-backdrop-filter: blur(30px) saturate(160%); border-bottom: 1px solid var(--glass-brd); } .logo { display: flex; align-items: center; gap: 12px; } .logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--pin-2), var(--net-2)); box-shadow: 0 4px 16px rgba(249, 115, 22, 0.30), 0 4px 16px rgba(6, 182, 212, 0.20); position: relative; overflow: hidden; } .logo-mark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.30) 50%, transparent 70%); transform: translateX(-120%); animation: sheen 5s ease-in-out infinite; } @keyframes sheen { 0%, 100% { transform: translateX(-120%); } 50% { transform: translateX(120%); } } .logo-pn { font-weight: 700; color: #fff; font-size: 16px; letter-spacing: -0.3px; } .logo-text { font-weight: 700; font-size: clamp(17px, 2vw, 21px); letter-spacing: -0.4px; line-height: 1; } .logo-pin { color: var(--pin-3); } .logo-dash { color: var(--text-faint); margin: 0 1px; } .logo-net { color: var(--net-3); } /* Clock */ .clock { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; } .clock-time { font-variant-numeric: tabular-nums; font-weight: 600; font-size: clamp(15px, 1.8vw, 19px); letter-spacing: 0.3px; color: var(--text); } .clock-date { font-size: 11px; color: var(--text-faint); margin-top: 2px; font-variant-numeric: tabular-nums; } /* ===== Search bar ===== */ .search-bar-wrap { position: fixed; top: calc(70px + env(safe-area-inset-top, 0px)); left: 0; right: 0; z-index: 90; padding: 10px 16px; background: rgba(0, 0, 0, 0.50); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); border-bottom: 1px solid var(--glass-brd); display: block; } .search-wrap { position: relative; max-width: 520px; margin: 0 auto; } .search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-faint); pointer-events: none; } .search-input { width: 100%; padding: 12px 16px 12px 42px; border-radius: var(--radius-pill); border: 1px solid var(--glass-brd); background: var(--glass-light); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--text); font-size: 16px; font-family: var(--font); transition: border-color .2s, box-shadow .2s, background .2s; } .search-input::placeholder { color: var(--text-faint); } .search-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); background: rgba(58, 58, 60, 0.80); } .search-input::-webkit-search-cancel-button { -webkit-appearance: none; height: 16px; width: 16px; margin-left: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M15 9l-6 6M9 9l6 6'/%3E%3C/svg%3E") no-repeat center / 16px; } /* ===== Main container ===== */ .container { max-width: var(--maxw); margin: 0 auto; padding: calc(135px + env(safe-area-inset-top, 0px)) clamp(16px, 4vw, 40px) 40px; } /* ===== Hero ===== */ .hero { text-align: center; margin-bottom: 32px; margin-top: 20px; } .hero-title { font-size: clamp(32px, 5vw, 48px); font-weight: 700; letter-spacing: -0.8px; margin: 0 0 8px; color: var(--text); } .hero-sub { color: var(--text-dim); font-size: clamp(15px, 2vw, 17px); margin: 0; font-weight: 400; } .hero-sub strong { color: var(--text); font-weight: 600; } /* ===== Loading skeleton ===== */ .skeleton-wrap { margin-top: 16px; } .skeleton-cat { height: 14px; width: 120px; margin: 20px 0 12px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.06); animation: shimmer 1.5s ease-in-out infinite; } .skeleton-card { display: flex; align-items: center; gap: 14px; padding: 18px; margin-bottom: 10px; border-radius: var(--radius-lg); background: rgba(28, 28, 30, 0.60); animation: shimmer 1.5s ease-in-out infinite; } .skeleton-card:nth-child(even) { animation-delay: 0.3s; } .skeleton-icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.08); } .skeleton-lines { flex: 1; } .skeleton-line { height: 14px; border-radius: 7px; background: rgba(255, 255, 255, 0.08); margin-bottom: 8px; } .skeleton-line:last-child { margin-bottom: 0; } .skeleton-line-w60 { width: 60%; } .skeleton-line-w65 { width: 65%; } .skeleton-line-w70 { width: 70%; } .skeleton-line-w72 { width: 72%; } .skeleton-line-w75 { width: 75%; } .skeleton-line-w80 { width: 80%; } .skeleton-line-w82 { width: 82%; } .skeleton-line-w85 { width: 85%; } .skeleton-line-w88 { width: 88%; } .skeleton-line-w90 { width: 90%; } @keyframes shimmer { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.7; } } /* ===== Services grid ===== */ .services { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--gap); margin-top: 8px; } /* Category header */ .cat-label { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin: 24px 0 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.3px; color: var(--text-dim); } .cat-label:first-child { margin-top: 0; } /* ===== Service card ===== */ .card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--radius-xl); background: var(--card-bg); border: 1px solid var(--glass-brd); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); box-shadow: var(--shadow); overflow: hidden; transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s, box-shadow .25s, background .25s; animation: rise .45s ease both; } @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } .card:hover { transform: translateY(-3px); border-color: var(--glass-brd-hi); box-shadow: var(--shadow-hi); background: var(--card-bg-hover); } .card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .card-icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 22px; background: color-mix(in srgb, var(--accent, #f97316) 15%, transparent); border: 1px solid color-mix(in srgb, var(--accent, #f97316) 25%, transparent); } .card-icon svg { width: 24px; height: 24px; } .card-status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-faint); font-variant-numeric: tabular-nums; font-weight: 500; } .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--unknown); position: relative; } .dot.ok { background: var(--ok); box-shadow: 0 0 6px rgba(48, 209, 88, 0.5); } .dot.warn { background: var(--warn); box-shadow: 0 0 6px rgba(255, 159, 10, 0.5); } .dot.bad { background: var(--bad); box-shadow: 0 0 6px rgba(255, 69, 58, 0.5); } .dot.unknown { background: var(--unknown); } .dot.pulse::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 1px solid currentColor; color: inherit; animation: pulse 1.8s ease-out infinite; opacity: 0; } @keyframes pulse { 0% { transform: scale(.7); opacity: .7; } 100% { transform: scale(2.2); opacity: 0; } } .card-body { flex: 1; } .card-name { font-size: 17px; font-weight: 600; margin: 0 0 4px; color: var(--text); letter-spacing: -0.2px; } .card-desc { font-size: 14px; color: var(--text-dim); margin: 0; line-height: 1.4; } .card-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius-pill); text-decoration: none; font-size: 14px; font-weight: 600; color: var(--text); background: var(--glass-light); border: 1px solid var(--glass-brd); transition: background .2s, border-color .2s, transform .15s; align-self: flex-start; } .card-link:hover { background: color-mix(in srgb, var(--accent, #0a84ff) 20%, transparent); border-color: color-mix(in srgb, var(--accent, #0a84ff) 40%, transparent); transform: translateX(2px); } .card-link svg { width: 14px; height: 14px; } /* Chevron indicator (mobile iOS-style) — hidden on desktop, shown on mobile */ .card-chevron { flex: 0 0 auto; width: 14px; height: 14px; color: var(--text-faint); margin-left: 4px; display: none; } .no-results { text-align: center; color: var(--text-faint); padding: 48px 0; font-size: 15px; } /* ===== Acerca section ===== */ .about-section { margin-top: 32px; } .about-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-dim); margin: 0 0 10px 4px; } .about-card { background: var(--ios-grouped-bg); border-radius: var(--radius-lg); border: 1px solid var(--glass-brd); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); overflow: hidden; } .about-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--separator); } .about-row-last { border-bottom: none; } .about-row-icon { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text); background: var(--glass-light); } .about-row-icon svg { width: 18px; height: 18px; } .about-row-content { flex: 1; } .about-row-label { font-size: 12px; color: var(--text-faint); margin-bottom: 1px; } .about-row-value { font-size: 16px; font-weight: 500; color: var(--text); } .about-chevron { flex: 0 0 auto; width: 12px; height: 12px; color: var(--text-faint); } /* ===== Footer ===== */ .site-footer { text-align: center; padding: 32px 16px 24px; color: var(--text-faint); font-size: 13px; border-top: 1px solid var(--glass-brd); margin-top: 40px; } /* ===== Mobile bottom tab bar (iOS-style) ===== */ .tab-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; flex-direction: row; align-items: center; justify-content: space-around; padding: 6px 8px; padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px)); background: var(--glass); backdrop-filter: blur(30px) saturate(160%); -webkit-backdrop-filter: blur(30px) saturate(160%); border-top: 1px solid var(--glass-brd); } .tab-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 4px; background: none; border: none; cursor: pointer; color: var(--text-dim); font-family: var(--font); font-size: 10px; font-weight: 500; transition: color .15s; -webkit-tap-highlight-color: transparent; } .tab-item.active { color: var(--accent); } .tab-item:active { color: var(--text); } .tab-icon { width: 26px; height: 26px; } .tab-label { letter-spacing: 0.1px; } /* ============================================================ RESPONSIVE — Mobile (iOS app style, single column) ============================================================ */ @media (max-width: 768px) { /* Search bar visible on all sizes — no override needed */ /* Hide hero on mobile (compact header serves as title) */ .hero { display: none; } /* Container padding accounts for header + search bar */ .container { padding-top: calc(70px + 64px + env(safe-area-inset-top, 0px)); padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); } /* Single column list */ .services { grid-template-columns: 1fr; gap: 10px; } /* iOS Settings-style list cards — horizontal row */ .card { flex-direction: row; align-items: center; padding: 14px 16px; gap: 14px; border-radius: var(--radius-lg); text-decoration: none; color: inherit; } .card-top { flex-direction: row; align-items: center; gap: 0; width: auto; margin-bottom: 0; } .card-icon { width: 40px; height: 40px; font-size: 20px; } .card-status { display: none; } .card-body { flex: 1; min-width: 0; } .card-name { font-size: 16px; margin-bottom: 2px; } .card-desc { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* Hide "Abrir" link on mobile — chevron serves as indicator */ .card-link { display: none; } /* Show chevron on mobile */ .card-chevron { display: block !important; } /* Skeleton cards also single column */ .skeleton-card { margin-bottom: 8px; } .skeleton-line { height: 12px; } /* Show bottom tab bar */ .tab-bar { display: flex; } /* Header compact for mobile */ .site-header { padding: 12px 16px; padding-top: calc(12px + env(safe-area-inset-top, 0px)); } .logo-mark { width: 34px; height: 34px; } .logo-pn { font-size: 14px; } .logo-text { font-size: 17px; } .clock-date { display: none; } /* About card full width */ .about-section { margin-top: 28px; } .about-row { padding: 13px 16px; } .about-row-icon { width: 32px; height: 32px; } .about-row-value { font-size: 15px; } } @media (max-width: 420px) { .card { padding: 12px 14px; } .card-icon { width: 38px; height: 38px; } .card-name { font-size: 15px; } .tab-label { font-size: 9px; } } /* ===== Reduced motion ===== */ @media (prefers-reduced-motion: reduce) { .bg-gradient, .logo-mark::after, .dot.pulse::after, .skeleton-card, .skeleton-cat { animation: none !important; } .card { transition: none; } }