.apache-site { min-height: 100vh; overflow: hidden; background: #080c12; color: #e5e7eb; }
.bar-row { display: flex; min-height: 80px; align-items: center; justify-content: space-between; gap: 24px; }
.site-header nav { display: flex; align-items: center; gap: 32px; }
.apache-button { display: inline-flex; align-items: center; justify-content: center; border: 0; text-decoration: none; cursor: pointer; font-family: inherit; }
.button-symbol { width: 18px; color: #fff; font-size: 18px; }
.action-end { margin-left: auto; }
.hero-notes b, .security-points b, .download-card li b { color: #26c55e; font-weight: 700; }
.floating-icon, .step-icon, .benefit-icon, .download-icon { font-size: 22px; font-weight: 700; }
.trust-icon { width: 22px; color: #168cff; font-size: 22px; text-align: center; }
.step-arrow { font-size: 20px; }
.tools-list > div > span:first-child { width: 18px; color: #168cff; font-size: 18px; text-align: center; }
.security-shield { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #168cff; font-size: 88px; filter: drop-shadow(0 0 24px rgba(8,123,255,.4)); }
.download-card ul b { width: 14px; }

.login-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(3,7,11,.82); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity 150ms ease, visibility 150ms ease; }
.login-overlay.is-open { opacity: 1; visibility: visible; }
.login-dialog-static { position: relative; width: min(430px, 100%); overflow: hidden; border: 1px solid #2b4561; border-radius: 15px; background: #101824; box-shadow: 0 40px 100px rgba(0,0,0,.7); transform: translateY(12px) scale(.98); transition: transform 150ms ease; }
.login-overlay.is-open .login-dialog-static { transform: none; }
.dialog-close-static { position: absolute; z-index: 2; top: 14px; right: 14px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: #7990a6; font-size: 22px; cursor: pointer; }
.dialog-close-static:hover { background: #19283a; color: #fff; }
.login-dialog-head { padding: 28px 30px 19px; background: radial-gradient(circle at 20% 0, rgba(8,123,255,.13), transparent 42%); }
.login-dialog-head h2 { margin: 0; color: #f3f7fb; font-size: 25px; line-height: 1.1; letter-spacing: -.025em; }
.login-dialog-head > p { margin: 10px 0 0; color: #8497aa; font-size: 11px; line-height: 1.55; }
.login-form-static { display: grid; gap: 8px; padding: 18px 30px 28px; border-top: 1px solid #1c2e42; background: #0e1621; }
.login-form-static label { margin-top: 8px; color: #8196aa; font-size: 9px; font-weight: 720; letter-spacing: .06em; text-transform: uppercase; }
.login-form-static label span { color: #536a80; font-weight: 500; }
.login-form-static input { width: 100%; height: 44px; border: 1px solid #29415b; border-radius: 8px; padding: 0 12px; background: #0a131e; color: #e5edf4; font-family: inherit; font-size: 12px; outline: none; }
.login-form-static input:focus { border-color: #087bff; box-shadow: 0 0 0 3px rgba(8,123,255,.14); }
.login-form-static input::placeholder { color: #485e74; }
.password-field-static { position: relative; }
.password-field-static input { padding-right: 45px; }
.password-field-static button { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); width: 30px; height: 30px; border: 0; background: transparent; color: #60778d; cursor: pointer; }
.login-submit-static { display: flex; align-items: center; justify-content: center; gap: 8px; height: 47px; margin-top: 14px; border: 0; border-radius: 8px; background: #087bff; color: #fff; font-family: inherit; font-size: 12px; font-weight: 680; cursor: pointer; }
.login-submit-static:hover { background: #168cff; }
.login-submit-static:disabled { cursor: wait; opacity: .65; }
.login-error { margin-top: 8px; border: 1px solid rgba(255,102,128,.24); border-radius: 8px; padding: 9px 11px; background: rgba(180,35,60,.1); color: #ff8096; font-size: 10px; line-height: 1.45; }
.login-note-static { margin: 1px 0 0; color: #566c82; font-size: 9px; line-height: 1.45; text-align: center; }
body.modal-open { overflow: hidden; }

@media (max-width: 900px) {
  .site-header nav { display: none; }
}
@media (max-width: 560px) {
  .bar-row { min-height: 72px; }
  .site-header .brand-copy { display: none; }
  .login-dialog-head, .login-form-static { padding-inline: 22px; }
}

/* Escala tipográfica alinhada ao site institucional da Emrys Info. */
.apache-site {
  font-size: 16px;
  line-height: 1.6;
}

.site-header nav a,
.header-cta {
  font-size: 14px;
}

.hero-copy h1 {
  font-size: clamp(52px, 5.5vw, 82px);
}

.hero-lead {
  font-size: clamp(16.5px, 1.35vw, 19px);
  line-height: 1.72;
}

.primary-action,
.secondary-action {
  font-size: 15px !important;
}

.hero-notes {
  font-size: 13px;
}

.trust-grid strong {
  font-size: 14px;
}

.trust-grid small {
  font-size: 12px;
}

.section-kicker {
  font-size: 12px;
}

.section-heading h2,
.security-copy h2,
.closing-content h2 {
  font-size: clamp(41px, 4.4vw, 64px);
}

.section-heading p,
.security-copy > p {
  font-size: 16px;
  line-height: 1.75;
}

.step-card h3,
.benefit-card h3 {
  font-size: 23px;
}

.step-card p,
.benefit-card p {
  font-size: 16px;
  line-height: 1.72;
}

.tools-list > div,
.security-points span {
  font-size: 14px;
}

.download-card h3 {
  font-size: 28px;
}

.download-card > p {
  font-size: 16px;
  line-height: 1.7;
}

.download-card ul {
  font-size: 14px;
}

.role-badge {
  font-size: 10px;
}

.download-button {
  font-size: 15px !important;
}

.download-card > small,
.closing-link {
  font-size: 12px;
}

.footer-content {
  font-size: 13px;
}

.login-dialog-head h2 {
  font-size: 27px;
}

.login-dialog-head > p {
  font-size: 14px;
}

.login-form-static label {
  font-size: 12px;
}

.login-form-static input,
.login-submit-static {
  font-size: 15px;
}

.login-error {
  font-size: 13px;
}

.login-note-static {
  font-size: 12px;
}

@media (min-width: 901px) {
  .bar-row {
    min-height: 102px;
  }

  .site-header .brand {
    gap: 14px;
  }

  .site-header .brand-mark {
    width: 54px;
    height: 54px;
  }

  .site-header .brand-copy strong {
    font-size: 22px;
  }

  .site-header .brand-copy small {
    margin-top: 7px;
    font-size: 10px;
  }

  .site-header nav {
    gap: clamp(30px, 2.6vw, 42px);
  }

  .site-header nav a {
    font-size: 15px;
    font-weight: 620;
  }

  .header-cta {
    height: 52px;
    border-radius: 13px;
    padding-inline: 21px;
    font-size: 15px;
  }
}

@media (max-width: 820px) {
  .section-heading h2,
  .security-copy h2,
  .closing-content h2 {
    font-size: clamp(38px, 8vw, 52px);
  }
}

@media (max-width: 560px) {
  .hero-copy h1 {
    font-size: clamp(45px, 13vw, 54px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .section-heading h2,
  .security-copy h2,
  .closing-content h2 {
    font-size: 38px;
  }

  .step-card h3,
  .benefit-card h3 {
    font-size: 22px;
  }
}
