/* Tela inicial — identidade lilás CNV em Rede */

.page-home {
  background: linear-gradient(180deg, var(--color-brand-light) 0%, #c4b5e8 38%, var(--color-brand-lighter) 72%, #e8dff8 100%);
  min-height: 100vh;
  overflow-x: clip;
}

.page-home .site-header {
  display: none;
}

.page-home .app-main {
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
  padding: 0 max(1rem, env(safe-area-inset-left)) max(1.25rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-right));
  box-sizing: border-box;
}

.home-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--color-brand-dark);
  gap: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.home-header {
  width: 100%;
  padding-top: 1rem;
}

.home-logo-wrap {
  width: min(140px, 36.4vw);
  height: min(140px, 36.4vw);
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.home-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-display);
}

.home-title-line--lg {
  font-size: clamp(3.1rem, 13.6vw, 3.8rem);
  font-weight: 700;
  color: var(--color-brand-dark);
  line-height: 1.02;
}

.home-title-line--sm {
  font-family: var(--font-body);
  font-size: 1.09rem;
  font-weight: 400;
  color: var(--color-brand-muted);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.home-title-line--sm:first-of-type {
  margin-top: 0.35rem;
}

.home-title-line--sm + .home-title-line--sm {
  margin-top: 0.1rem;
}

.home-hero {
  width: 100%;
  margin: 0.15rem 0 0;
  position: relative;
  z-index: 0;
  line-height: 0;
  overflow: visible;
}

.home-hero-stage {
  position: relative;
  width: min(308px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  line-height: 0;
  overflow: visible;
}

.home-hero-bg {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: auto;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%) scale(1.08);
  transform-origin: center center;
  pointer-events: none;
}

.home-hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
}

.home-menu {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  margin-top: -3px;
  position: relative;
  z-index: 2;
}

.home-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.68rem 0.85rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--color-brand-dark);
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease;
}

.home-btn:active {
  transform: scale(0.98);
}

.home-btn--primary {
  background: var(--color-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
  margin-bottom: 0.08rem;
  padding: 0.74rem 0.85rem;
}

.home-btn--primary .home-btn-icon-wrap {
  background: #fff;
  color: var(--color-brand-accent);
}

.home-btn--primary .home-btn-chevron {
  color: #fff;
}

.home-btn--card {
  background: var(--surface-card);
  border: 1.5px solid var(--color-border);
  box-shadow: none;
}

.home-btn--link {
  background: var(--surface-muted);
  border: 1.5px solid var(--color-border-soft);
  font-weight: 600;
  padding: 0.62rem 0.85rem;
}

.home-btn-icon-wrap {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-brand-icon-bg);
  color: #6b5a94;
}

.home-btn--card .home-btn-icon-wrap {
  background: transparent;
  width: 1.5rem;
  height: 1.5rem;
}

.home-btn-icon-wrap svg {
  width: 1.15rem;
  height: 1.15rem;
}

.home-btn--primary .home-btn-icon-wrap svg {
  width: 1rem;
  height: 1rem;
}

.home-btn-label {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.home-btn-chevron {
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--color-brand-accent);
  font-weight: 400;
}

.home-privacy {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.6rem 0 0;
  padding: 0.4rem 0.75rem;
  position: relative;
  z-index: 2;
  background: var(--surface-muted);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--color-brand-muted);
  font-weight: 500;
}

.home-privacy svg {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  color: var(--color-brand);
}

.home-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin: 0.85rem 0 0;
  position: relative;
  z-index: 2;
  font-size: 0.82rem;
}

.home-legal a {
  color: var(--color-brand);
  text-decoration: none;
  font-weight: 500;
}

.home-legal a:hover {
  text-decoration: underline;
}

.home-legal span {
  color: var(--color-brand-accent);
}
