:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #171818; background: #fff; --muted: #838584; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #446856; outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 10; left: 20px; top: -70px; padding: 12px 20px; background: white; border: 1px solid #444; }
.skip-link:focus { top: 12px; }
.site-header { background: #fff; }
.header-inner { min-height: clamp(80px, 5.6vw, 106px); width: 87%; max-width: 1700px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { display: flex; flex-direction: column; flex-shrink: 0; gap: 3px; }
.brand-group { font-size: clamp(10px, .85vw, 16px); letter-spacing: .8em; }
.brand-name { font-size: clamp(20px, 1.65vw, 31px); letter-spacing: .23em; font-weight: 400; }
nav { display: flex; align-items: center; gap: clamp(24px, 2.6vw, 50px); }
.nav-item { position: relative; font-size: clamp(16px, 1.2vw, 23px); color: #727572; padding: 29px 0; background: none; border: 0; white-space: nowrap; }
.nav-item:hover { color: #151818; }
.nav-item.is-active { color: #151818; }
.nav-item.is-active::after { content: ''; position: absolute; bottom: 11px; width: 35px; height: 2px; background: #242727; left: 50%; transform: translateX(-50%); }
.header-actions { display: flex; align-items: center; gap: clamp(20px, 2.2vw, 40px); }
.icon-button { background: none; border: 0; padding: 9px; line-height: 0; }
.icon-button svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.profile { width: clamp(44px, 2.85vw, 54px); height: clamp(44px, 2.85vw, 54px); border-radius: 50%; border: 0; color: #707070; background: #e5e5e7; font-size: 20px; }
.hero { position: relative; height: clamp(390px, 27vw, 540px); background: url('/assets/images/hero.png') center center / cover no-repeat; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255,255,255,.84), rgba(255,255,255,.64) 29%, rgba(255,255,255,.12) 57%, transparent 72%); }
.hero-content { width: 85%; max-width: 1600px; margin: auto; padding-top: clamp(40px, 3.9vw, 74px); }
.welcome { margin: 0 0 12px; color: #858785; font-size: clamp(27px, 2.1vw, 40px); font-weight: 400; }
.hero h1 { margin: 0 0 clamp(15px, 1.4vw, 26px); font-size: clamp(48px, 4.4vw, 84px); line-height: 1.04; font-weight: 300; letter-spacing: .14em; }
.hero h2 { margin: 0 0 10px; font-size: clamp(28px, 2.45vw, 46px); font-weight: 400; line-height: 1.14; }
.hero-description { margin: 0; color: #858785; font-size: clamp(22px, 1.82vw, 35px); line-height: 1.17; }
.apps-section { width: 90%; max-width: 1720px; margin: 0 auto; padding: 24px 0; scroll-margin-top: 16px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.section-heading h2 { margin: 0; font-size: clamp(15px, 1.1vw, 21px); color: #6f756f; font-weight: 400; letter-spacing: .21em; }
#show-all { display: flex; align-items: center; gap: 6px; border: 0; background: none; padding: 5px 0 5px 10px; font-size: clamp(15px, 1.07vw, 20px); }
#show-all svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.apps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px clamp(18px, 1.7vw, 32px); }
.app-card { position: relative; display: block; width: 100%; aspect-ratio: 1.49; min-height: 216px; border: 0; border-radius: clamp(16px, 1.1vw, 22px); padding: 0; text-align: left; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.app-card:hover { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(30,40,33,.09); }
.app-card:focus-visible { outline-offset: 4px; }
.card-order { --card-background: #f8f3ed; --arrow-background: #eee6da; }
.card-invoice, .card-records { --card-background: #eaf3fe; --arrow-background: #d9e7f6; }
.card-dashboard, .card-finance { --card-background: #edf5ee; --arrow-background: #dfeade; }
.card-people { --card-background: #fff1eb; --arrow-background: #f4e1d8; }
.card-stock { --card-background: #eeecfa; --arrow-background: #dedaf0; }
.card-reports { --card-background: #f7f0e5; --arrow-background: #eddfc9; }
.app-card { background: var(--card-background); }
.card-art { position: absolute; width: 42%; aspect-ratio: .75; left: 20%; top: -16%; background-image: url('/assets/images/cards.png'); background-size: 400% 200%; background-repeat: no-repeat; mix-blend-mode: multiply; }
.art-order { background-position: 0 0; }
.art-invoice { background-position: 33.33333% 0; }
.art-dashboard { background-position: 66.66667% 0; }
.art-people { background-position: 100% 0; }
.art-stock { top: -9%; background-position: 0 100%; }
.art-finance { top: -9%; background-position: 33.33333% 100%; }
.art-reports { top: -9%; background-position: 66.66667% 100%; }
.art-records { top: -9%; background-position: 100% 100%; }
.card-copy { position: absolute; left: 9%; bottom: 8%; right: 8%; }
.card-copy h3 { margin: 0 0 6px; font-size: clamp(21px, 1.4vw, 27px); line-height: 1.1; font-weight: 500; }
.card-description { display: block; color: #656d67; font-size: clamp(16px, 1.15vw, 22px); line-height: 1.3; }
.card-arrow { position: absolute; top: 58%; right: 7.5%; width: clamp(35px, 2.3vw, 44px); height: clamp(35px, 2.3vw, 44px); display: grid; place-items: center; border-radius: 50%; background: var(--arrow-background); font-size: 30px; font-family: Arial, sans-serif; line-height: 1; }
.search-panel { margin: 10px 0 20px; padding: 20px; background: #f5f7f5; border-radius: 16px; }
.search-panel label { display: block; font-size: 15px; margin-bottom: 8px; }
.search-panel input { width: 100%; border: 1px solid #cdd4ce; border-radius: 8px; background: white; padding: 12px 14px; font-size: 17px; }
.empty-state { padding: 40px 0; text-align: center; color: #6f746f; }
dialog { width: min(460px, calc(100% - 40px)); border: 1px solid #e1e5e1; border-radius: 20px; padding: 28px; box-shadow: 0 22px 90px #0003; }
dialog::backdrop { background: #17251a66; backdrop-filter: blur(3px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dialog-heading h2 { font-size: 24px; font-weight: 500; margin: 0; }
#close-notice { background: #f0f3ef; border: 0; border-radius: 50%; width: 36px; height: 36px; font-size: 25px; }
dialog p { color: #656d66; line-height: 1.6; margin: 18px 0 24px; }
.dialog-confirm { border: 0; background: #384f40; color: white; border-radius: 9px; padding: 11px 22px; }
@media (max-width: 1100px) {
  .header-inner { width: 90%; gap: 20px; }
  nav { gap: 22px; }
  .header-actions { gap: 14px; }
  .app-card { min-height: 205px; }
  .card-description { font-size: 15px; }
  .card-art { top: -12%; width: 52%; left: 16%; }
}
@media (max-width: 800px) {
  .header-inner { flex-wrap: wrap; padding: 17px 0 0; row-gap: 8px; }
  nav { order: 3; width: 100%; justify-content: space-between; }
  .nav-item { font-size: 16px; padding: 15px 0 19px; }
  .nav-item.is-active::after { bottom: 8px; }
  .hero { height: 380px; background-position: 64% center; }
  .hero::before { background: linear-gradient(90deg, rgba(255,255,255,.94), rgba(255,255,255,.78) 42%, rgba(255,255,255,.2)); }
  .hero-content { width: 90%; padding-top: 46px; }
  .hero h1 { font-size: clamp(39px, 7.8vw, 62px); letter-spacing: .09em; }
  .hero h2 { font-size: 28px; margin-top: 24px; }
  .hero-description { font-size: 23px; }
  .welcome { font-size: 27px; }
  .apps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .app-card { min-height: 250px; }
  .card-copy h3 { font-size: 22px; }
  .card-description { font-size: 17px; }
  .card-art { width: 42%; left: 20%; top: -10%; }
}
@media (max-width: 480px) {
  nav { gap: 10px; }
  .header-inner { column-gap: 12px; }
  .header-actions { gap: 8px; }
  .brand-name { font-size: 18px; }
  .hero { height: 340px; }
  .hero-content { padding-top: 35px; }
  .hero h1 { font-size: clamp(29px, 8.5vw, 40px); letter-spacing: .1em; }
  .hero h2 { font-size: 24px; margin-top: 25px; }
  .hero-description { font-size: 21px; }
  .welcome { font-size: 23px; }
  .apps-section { padding-top: 18px; }
  .apps-grid { gap: 12px; }
  .app-card { aspect-ratio: auto; height: 225px; min-height: 0; }
  .card-art { width: 68%; left: 12%; top: -10%; }
  .card-copy { left: 10%; right: 8%; bottom: 9%; }
  .card-copy h3 { font-size: 18px; margin-bottom: 7px; }
  .card-description { font-size: 13px; line-height: 1.4; }
  .card-arrow { width: 29px; height: 29px; top: 56%; right: 8%; font-size: 25px; }
  .card-records .card-description { font-size: 12px; }
}
@media (max-width: 350px) {
  .apps-grid { grid-template-columns: 1fr; }
  .app-card { height: 240px; }
  .card-art { width: 43%; left: 20%; top: -14%; }
  .card-description, .card-records .card-description { font-size: 17px; }
  .card-copy h3 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .app-card { transition: none; } }

/* Símbolo escolhido pelo usuário, sem fundo vermelho. */
.brand { flex-direction: row; align-items: center; gap: 12px; }
.brand-wordmark { display: flex; flex-direction: column; gap: 0; }
.brand-group { margin-bottom: -3px; }
.brand-symbol { width: 64px; height: 56px; object-fit: contain; }
@media (max-width: 1100px) { .header-inner { gap: 16px; } nav { gap: 16px; } .brand-symbol { width: 48px; height: 44px; } }
@media (max-width: 480px) { .brand { gap: 7px; } .brand-symbol { width: 43px; height: 40px; } .brand-name { font-size: 16px; letter-spacing: .18em; } .header-inner { column-gap: 8px; } }
@media (max-width: 350px) { .brand-symbol { width: 32px; height: 34px; } .brand-name { font-size: 14px; } .header-actions { gap: 3px; } }

/* As linhas partem da mesma margem. O centro do O fica sobre o T. */
.hero h1 { width: 8.4em; max-width: 100%; letter-spacing: 0; }
.hero-name, .brand-name { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); text-align: center; letter-spacing: 0; }
.hero-group, .brand-group { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: 38.888889%; text-align: center; letter-spacing: 0; }
.hero-group > span:first-child, .hero-name > span:first-child, .brand-group > span:first-child, .brand-name > span:first-child { text-align: left; }
.brand-wordmark { width: 8.4em; font-size: clamp(20px, 1.65vw, 31px); }
.brand-name { font-size: 1em; }
.brand-group { font-size: .5em; }
@media (max-width: 480px) { .brand-wordmark { font-size: 16px; } }
@media (max-width: 350px) { .brand-wordmark { font-size: 14px; } }
.hero-group { font-size: .68em; line-height: 1.1; }
/* Referência aprovada: avanço proporcional, sem células iguais por letra. */
.hero h1 { width: max-content; }
.hero-name, .hero-group { display: block; width: max-content; text-align: left; letter-spacing: .08em; white-space: nowrap; }
.hero-name > span, .hero-group > span { display: inline-block; }
.hero-group { font-size: .773em; line-height: 1.1; }
@font-face { font-family: 'Martinelle Light'; src: url('/assets/fonts/raleway-latin-300-normal.woff2') format('woff2'); font-style: normal; font-weight: 300; font-display: swap; }
.hero h1 { font-family: 'Martinelle Light', Arial, sans-serif; font-weight: 300; }
.hero-group { font-size: .8em; }
/* Marca do topo com a mesma tipografia proporcional e fina do banner. */
.brand-wordmark { width: max-content; font-family: 'Martinelle Light', Arial, sans-serif; font-weight: 300; }
.brand-name, .brand-group { display: block; width: max-content; text-align: left; letter-spacing: .08em; white-space: nowrap; }
.brand-name > span, .brand-group > span { display: inline-block; }
.brand-group { font-size: .8em; line-height: 1.1; margin-bottom: 0; }

/* PNG original da logo completa, sem redesenho de letras ou símbolo. */
.brand { display: block; width: clamp(230px, 19vw, 340px); height: 64px; }
.brand-logo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
@media (max-width: 480px) { .brand { width: 210px; height: 46px; } }
@media (max-width: 350px) { .brand { width: 180px; height: 42px; } }
