@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --home-ink: #18313c;
    --home-muted: #526c75;
    --home-sky: #0d1d23;
    --home-blue: #37bdb6;
    --home-deep: #123440;
    --home-coral: #ff806c;
    --home-lime: #c2e88d;
    --home-paper: #f2f7f5;
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    color: var(--home-ink);
    background: var(--home-paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.home-page { min-width: 320px; min-height: 100vh; margin: 0; background: var(--home-paper); }
.home-page a { color: inherit; text-decoration: none; }
.home-page button, .home-page a { -webkit-tap-highlight-color: transparent; }
.home-page :focus-visible { outline: 3px solid var(--home-coral); outline-offset: 3px; }

.home-header {
    position: relative;
    z-index: 5;
    display: flex;
    height: 72px;
    align-items: center;
    gap: 28px;
    padding: 0 clamp(20px, 5vw, 74px);
    color: #f7fbff;
    background: var(--home-deep);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.home-brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; font-size: 15px; font-weight: 800; }
.home-brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px 3px 10px 3px; color: var(--home-deep); background: var(--home-lime); font: 24px/1 'DM Mono', monospace; }
.home-brand small { display: block; margin-top: 2px; color: #a9d6d2; font: 9px 'DM Mono', monospace; }
.home-nav { display: flex; flex: 1; align-items: center; justify-content: flex-end; gap: clamp(15px, 2.6vw, 38px); }
.home-nav a, .home-dashboard-link { color: #d7e8f3; font-size: 13px; font-weight: 600; transition: color .18s ease; }
.home-nav a:hover { color: var(--home-lime); }
.home-dashboard-link { display: inline-flex; min-height: 38px; align-items: center; gap: 8px; border: 1px solid rgba(230, 244, 255, .35); border-radius: 4px; padding: 0 13px; }
.home-dashboard-link:hover { color: var(--home-deep); border-color: var(--home-lime); background: var(--home-lime); }
.home-mobile-nav { display: none; }

.home-main { width: 100%; margin: 0; padding: 0; }
.home-hero {
    position: relative;
    display: grid;
    min-height: 560px;
    height: min(650px, calc(100svh - 205px));
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    align-items: center;
    overflow: hidden;
    padding: 20px clamp(26px, 7vw, 108px) 44px;
    background-color: var(--home-sky);
    background-image: linear-gradient(115deg, rgba(255,255,255,.025), transparent 55%);
}
.home-network-canvas { position: absolute; z-index: 0; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.home-hero-art, .home-hero-copy, .hero-scroll { z-index: 2; }
.home-hero-copy { z-index: 3; }
.home-hero-art { position: relative; z-index: 1; display: flex; min-width: 0; height: 100%; align-items: center; justify-content: center; }
.home-hero-art img { display: block; width: min(100%, 416px); max-height: 416px; object-fit: contain; -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 77%, transparent 100%), linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, #000 0%, #000 77%, transparent 100%), linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%); mask-composite: intersect; filter: drop-shadow(0 22px 18px rgba(0, 0, 0, .35)); animation: hero-bob 6s ease-in-out infinite; }
.hero-art-label, .hero-art-caption { position: absolute; left: 4%; color: rgba(153, 224, 214, .78); font: 10px 'DM Mono', monospace; }
.hero-art-label { top: 8%; }
.hero-art-caption { bottom: 5%; padding-top: 8px; border-top: 1px solid rgba(91, 199, 187, .32); }
.home-hero-copy { position: relative; z-index: 2; max-width: 530px; justify-self: end; padding: 12px 0 22px 26px; }
.home-hero-copy .home-eyebrow { color: #a2dcd3; }
.home-hero-copy h1 { color: #f2f6f8; }
.home-hero-copy .home-lede { color: #bdcbd1; }
.home-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; color: #18466b; font: 10px 'DM Mono', monospace; }
.home-eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--home-coral); box-shadow: 0 0 0 4px rgba(246, 91, 117, .18); }
.home-hero-copy h1 { margin: 0 0 16px; color: #f2f6f8; font-size: 58px; font-weight: 800; line-height: 1; }
.home-lede { max-width: 455px; margin: 0; color: #bdcbd1; font-size: 18px; line-height: 1.55; }
.home-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.home-button { display: inline-flex; min-height: 47px; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 4px; padding: 0 17px; font-size: 13px; font-weight: 800; transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease; }
.home-button:hover { transform: translateY(-2px); }
.home-button-primary { color: #fff !important; background: var(--home-coral); box-shadow: 0 5px 0 #a83955; }
.home-button-primary:hover { background: #ff7186; box-shadow: 0 7px 0 #a83955; }
.home-button-secondary { color: #ecf4f5 !important; border-color: rgba(190, 228, 224, .35); background: rgba(255, 255, 255, .06); }
.home-button-secondary:hover { background: rgba(255, 255, 255, .12); }
.home-note { display: flex; align-items: center; gap: 10px; margin: 24px 0 0; color: #9cb2bb; font-size: 11px; }
.home-note span { color: #6ed2c5; font: 11px 'DM Mono', monospace; }
.home-live-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-top: 17px; color: #bdcbd1; }
.home-live-status { display: inline-flex; align-items: center; gap: 7px; color: #a2dcd3; font: 9px 'DM Mono', monospace; text-transform: uppercase; }
.home-live-status > i { width: 7px; height: 7px; border-radius: 50%; background: #e4b16c; }
.home-live-status.is-online > i { background: #54d18d; box-shadow: 0 0 0 3px rgba(84, 209, 141, .14); }
.home-live-status.is-offline > i { background: var(--home-coral); }
.home-live-status.is-loading > i { background: var(--home-lime); }
.home-live-stat { display: inline-flex; align-items: baseline; gap: 5px; border-left: 1px solid rgba(190, 228, 224, .24); padding-left: 13px; font-size: 10px; }
.home-live-stat > span, .home-live-stat > small { color: #9cb2bb; }
.home-live-stat > strong { color: #eff9f6; font: 12px 'DM Mono', monospace; }
.hero-scroll { position: absolute; z-index: 3; bottom: 16px; left: 50%; display: grid; width: 32px; height: 32px; place-items: center; transform: translateX(-50%); color: #a6e1d9 !important; animation: scroll-hint 1.8s ease-in-out infinite; }
@keyframes hero-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes scroll-hint { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 5px); } }

.home-features { position: relative; padding: 34px clamp(22px, 7vw, 108px) 38px; background: var(--home-paper); }
.features-heading { display: grid; justify-items: start; gap: 7px; max-width: 1250px; margin: 0 auto 24px; }
.features-heading .home-eyebrow { margin: 0; color: #49657b; }
.features-heading h2 { margin: 0; color: var(--home-ink); font-size: 25px; font-weight: 800; }
.features-heading h2 span { color: #218c87; }
.feature-strip { display: grid; max-width: 1250px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 auto; border-top: 1px solid #cbd8df; border-bottom: 1px solid #cbd8df; }
.feature-item { position: relative; min-height: 130px; padding: 18px 20px 17px 0; }
.feature-item + .feature-item { border-left: 1px solid #cbd8df; padding-left: 20px; }
.feature-number { display: block; margin-bottom: 11px; color: #758b9a; font: 10px 'DM Mono', monospace; }
.feature-item > i { position: absolute; top: 17px; right: 16px; color: #218c87; font-size: 18px; }
.feature-item h3 { margin: 0 0 6px; color: var(--home-ink); font-size: 15px; }
.feature-item p { max-width: 225px; margin: 0; color: var(--home-muted); font-size: 12px; line-height: 1.5; }

.home-cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px clamp(22px, 7vw, 108px); color: #eff9f6; background: #17414a; }
.home-cta-band .home-eyebrow { margin-bottom: 8px; color: #a2dcd3; }
.home-cta-band h2 { margin: 0; font-size: 22px; }
.home-button-dark { flex: 0 0 auto; color: #10233b !important; background: var(--home-lime); box-shadow: 0 4px 0 #91b944; }
.home-button-dark:hover { background: #d6ff84; }
.home-footer { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 20px; padding: 18px clamp(22px, 7vw, 108px); color: #c5d2db; background: #123440; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; }
.footer-brand span { color: var(--home-lime); font: 20px 'DM Mono', monospace; }
.home-footer p { margin: 0; color: #93aabd; font-size: 11px; }
.home-footer nav { display: flex; gap: 17px; }
.home-footer nav a { color: #c5d2db; font-size: 11px; }
.home-visit-count { display: inline-flex; align-items: center; gap: 6px; margin: 0; white-space: nowrap; }
.home-visit-count i { color: var(--home-lime); }
.home-footer nav a:hover { color: var(--home-lime); }
.home-support-float { position: fixed; z-index: 20; right: 22px; bottom: 22px; display: grid; width: 54px; height: 54px; isolation: isolate; place-items: center; border: 2px solid rgba(255, 255, 255, .88); border-radius: 50%; color: #fff !important; background: #5865f2; box-shadow: 0 5px 16px rgba(11, 29, 35, .3); font-size: 23px; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.home-support-float::before { position: absolute; z-index: -1; inset: -6px; border: 1px solid rgba(88, 101, 242, .62); border-radius: 50%; content: ""; animation: support-ring 2.6s cubic-bezier(.2, .65, .3, 1) infinite; pointer-events: none; }
.home-support-float::after { position: absolute; top: 50%; right: calc(100% + 10px); padding: 7px 10px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 4px; color: #f5fbfa; background: #123440; box-shadow: 0 5px 14px rgba(11, 29, 35, .2); content: "Suporte"; font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translate(5px, -50%); transition: opacity .18s ease, transform .18s ease; pointer-events: none; }
.home-support-float > i { transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.home-support-float:hover, .home-support-float:focus-visible { transform: translateY(-4px) scale(1.04); background: #4752c4; box-shadow: 0 8px 24px rgba(46, 57, 178, .42); }
.home-support-float:hover::before, .home-support-float:focus-visible::before { animation-play-state: paused; opacity: .2; }
.home-support-float:hover::after, .home-support-float:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
.home-support-float:hover > i, .home-support-float:focus-visible > i { transform: rotate(-8deg) scale(1.08); }
@keyframes support-ring { 0% { transform: scale(.82); opacity: .65; } 80%, 100% { transform: scale(1.38); opacity: 0; } }

@media (max-width: 900px) {
    .home-header { gap: 18px; padding-right: 24px; padding-left: 24px; }
    .home-nav { gap: 16px; }
    .home-nav a { font-size: 12px; }
    .home-hero { grid-template-columns: minmax(0, 1fr) minmax(340px, .95fr); padding-right: 36px; padding-left: 36px; }
    .home-hero-copy { padding-left: 12px; }
    .home-hero-copy h1 { font-size: 50px; }
}

@media (max-width: 700px) {
    .home-header { height: 64px; gap: 12px; padding: 0 16px; }
    .home-brand { font-size: 13px; }
    .home-brand-mark { width: 32px; height: 32px; font-size: 21px; }
    .home-nav { display: none; }
    .home-dashboard-link { margin-left: auto; min-height: 35px; padding: 0 10px; font-size: 11px; }
    .home-mobile-nav { position: relative; display: block; }
    .home-mobile-nav summary { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(230, 244, 255, .35); border-radius: 4px; cursor: pointer; list-style: none; }
    .home-mobile-nav summary::-webkit-details-marker { display: none; }
    .home-mobile-nav nav { position: absolute; top: 44px; right: 0; display: grid; min-width: 180px; gap: 3px; border: 1px solid rgba(230, 244, 255, .2); border-radius: 4px; padding: 8px; background: #10233b; box-shadow: 0 12px 25px rgba(0,0,0,.25); }
    .home-mobile-nav nav a { padding: 9px 10px; color: #e5f2fa; font-size: 13px; }
    .home-mobile-nav nav a:hover { background: rgba(255,255,255,.08); }
    .home-hero { min-height: 0; height: auto; grid-template-columns: 1fr; gap: 0; padding: 8px 20px 46px; }
    .home-hero-art { height: 300px; }
    .home-hero-art img { width: min(100%, 340px); max-height: 300px; }
    .hero-art-label { top: 8px; left: 2%; font-size: 8px; }
    .hero-art-caption { bottom: 7px; left: 2%; font-size: 8px; }
    .home-hero-copy { justify-self: stretch; max-width: 540px; padding: 25px 0 12px; }
    .home-hero-copy h1 { margin-bottom: 12px; font-size: 42px; }
    .home-lede { max-width: 480px; font-size: 16px; }
    .home-actions { gap: 9px; margin-top: 20px; }
    .home-button { min-height: 43px; padding: 0 13px; font-size: 12px; }
    .home-note { margin-top: 17px; }
    .home-live-stats { gap: 10px; margin-top: 13px; }
    .home-live-stat { gap: 4px; padding-left: 9px; font-size: 9px; }
    .home-live-stat > strong { font-size: 11px; }
    .hero-scroll { display: none; }
    .home-features { padding: 28px 20px 30px; }
    .features-heading { display: block; margin-bottom: 15px; }
    .features-heading .home-eyebrow { margin-bottom: 7px; }
    .features-heading h2 { font-size: 22px; }
    .feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-item { min-height: 122px; padding: 15px 12px 13px 0; }
    .feature-item + .feature-item { padding-left: 12px; }
    .feature-item:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid #cbd8df; }
    .feature-item:nth-child(4) { border-top: 1px solid #cbd8df; }
    .feature-item > i { top: 15px; right: 11px; font-size: 15px; }
    .feature-item h3 { font-size: 14px; }
    .feature-item p { font-size: 11px; }
    .home-cta-band { align-items: flex-start; flex-direction: column; padding: 24px 20px; }
    .home-cta-band h2 { font-size: 20px; }
    .home-footer { align-items: flex-start; flex-direction: column; gap: 10px; padding: 19px 20px; }
    .home-footer nav { flex-wrap: wrap; gap: 13px; }
    .home-support-float { right: 16px; bottom: 16px; width: 50px; height: 50px; }
}

@media (max-width: 380px) {
    .home-dashboard-link { width: 37px; justify-content: center; overflow: hidden; padding: 0; font-size: 0; }
    .home-dashboard-link i { font-size: 13px; }
    .home-hero-art { height: 260px; }
    .home-hero-art img { max-height: 260px; }
    .home-hero-copy h1 { font-size: 38px; }
    .home-actions { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
