/* Fonte: assets/scss/pages/home.scss. Estilos isolados das homes públicas. */
:root { color-scheme: dark; }
* { box-sizing: border-box; }
body.conecta-home { margin: 0; color: #f8f7fc; background: #28272e; font-family: Montserrat, sans-serif; }
.home-header { position: absolute; top: 0; left: 0; width: 100%; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 32px; }
.home-logo img { display: block; width: 170px; max-width: 100%; height: auto; }
.home-switch { color: #f3edff; font-size: .875rem; font-weight: 600; text-underline-offset: 5px; }
.home-hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 115px 24px 90px; overflow: hidden; background-image: linear-gradient(#ffffff04 1px, transparent 1px), linear-gradient(90deg, #ffffff04 1px, transparent 1px), radial-gradient(ellipse at top, #55505e80, transparent 70%); background-size: 20px 20px, 20px 20px, auto; }
.home-content { width: min(100%, 740px); text-align: center; z-index: 1; }
.home-content h1 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.18; letter-spacing: -.04em; margin: 0 0 26px; font-weight: 800; }
.home-content h1 span { color: #b9a8ff; }
.home-context { margin: 0 0 22px; color: #d6caff; font-size: clamp(1rem, 3vw, 1.35rem); font-weight: 700; }
.home-description { color: #ddd9e7; line-height: 1.65; margin: 0 auto 30px; max-width: 440px; }
.home-selection h2 { margin: 0 0 10px; font-size: clamp(1.2rem, 3vw, 1.55rem); font-weight: 600; }
.home-selection > p { margin: 0 0 24px; color: #d2cddd; font-size: .95rem; line-height: 1.5; }
.home-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 620px; margin: auto; }
.home-option { display: flex; flex-direction: column; gap: 18px; padding: 28px; border: 1px solid #a690ff80; border-radius: 20px; background: #37313fee; color: #fff; text-decoration: none; box-shadow: 0 14px 38px #0002; transition: border-color .15s, background .15s; }
.home-option:hover { background: #463a60; border-color: #c4b3ff; }
.home-option-name { font-size: clamp(1.1rem, 3vw, 1.6rem); font-weight: 700; overflow-wrap: anywhere; }
.home-option-action { color: #d3c6ff; font-size: .8rem; line-height: 1.5; font-weight: 500; }
.home-access { display: inline-block; padding: 18px 38px; border-radius: 50px; background: #9179e8; color: #fff; text-decoration: none; font-weight: 700; }
.home-access:hover { background: #a28af8; }
a:focus-visible { outline: 3px solid #eadfff; outline-offset: 5px; }
.home-decoration { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .22; }
.home-decoration img { position: absolute; bottom: -75px; width: min(42vw, 550px); }
.home-decoration-left { left: -100px; transform: rotate(-12deg); }
.home-decoration-right { right: -100px; transform: rotate(12deg); }
@media (max-width: 600px) {
  .home-header { padding: 22px 18px; gap: 14px; }
  .home-logo img { width: 132px; }
  .home-switch { font-size: .75rem; max-width: 135px; text-align: right; line-height: 1.5; }
  .home-hero { padding: 105px 18px 60px; }
  .home-options { gap: 12px; }
  .home-option { padding: 22px 12px; gap: 12px; border-radius: 16px; }
  .home-decoration img { width: 65vw; bottom: -20px; }
}
@media (max-height: 700px) {
  .home-hero { padding-top: 90px; padding-bottom: 35px; }
  .home-content h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 18px; }
  .home-selection > p { margin-bottom: 16px; }
  .home-option { padding-top: 18px; padding-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) { .home-option { transition: none; } }
