/* Telas de acesso (app/Views/layout_simples.php) com o visual do site de vendas. Carrega depois do app.css (campos e
   botões) e do marca.css (fonte Roboto e relógio do dia). Contraste: branco só até o azul médio; o cartão é branco. */

body.acesso-pagina {
  margin: 0; min-height: 100svh; background: #062236; color: #fff;
  font-family: var(--letra); -webkit-font-smoothing: antialiased;
}
.acesso-pagina input, .acesso-pagina button, .acesso-pagina select, .acesso-pagina textarea { font-family: inherit; }

.ac {
  --corte-cima: 80%;
  --corte-baixo: 66%;
  --lateral: clamp(1rem, 4vw, 2.5rem);
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto;
  background: linear-gradient(105deg, #06263c 0%, #0b3b5c 40%, #0c4a73 62%, #0b598c 82%);
}
.ac::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(165deg, #5ad0ea 0%, #29b6d6 48%, #1d9fc2 100%);
  clip-path: polygon(var(--corte-cima) 0, 100% 0, 100% 100%, var(--corte-baixo) 100%);
}

.ac-menu {
  position: relative; z-index: 2; /* acima do relógio do palco */
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; max-width: 78rem; margin: 0 auto; padding: 1.15rem var(--lateral);
}
.ac-marca { display: inline-flex; align-items: center; gap: .65rem; color: #fff; text-decoration: none; font-size: 1.45rem; letter-spacing: -.01em; white-space: nowrap; }
.ac-marca:hover { text-decoration: none; }
.ac-marca img { width: auto; height: 2.25rem; }
.ac-marca b { font-weight: 700; }
.ac-marca span { font-weight: 400; }
.ac-conhecer {
  color: #fff; background: #072a42; text-decoration: none; font-weight: 700; white-space: nowrap;
  padding: .65rem 1.4rem; border-radius: 999px; box-shadow: 0 10px 24px -14px rgb(3 20 33 / 80%);
}
.ac-conhecer:hover { background: #062236; text-decoration: none; }
.acesso-pagina :focus-visible { outline: 3px solid #7fe0f2; outline-offset: 3px; }

.ac-corpo {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  width: 100%; max-width: 78rem; margin: 0 auto; padding: 1rem var(--lateral) 3rem;
}
.ac-corpo.largo { grid-template-columns: minmax(0, 46rem); justify-content: center; }

.ac-texto { display: grid; gap: 1.1rem; max-width: 32rem; }
.ac-rotulo { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7fe0f2; }
.ac-titulo { margin: 0; font-size: clamp(2.4rem, min(4.6vw, 9svh), 4.25rem); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; }
.ac-titulo span { color: #7fe0f2; }
.ac-sub { margin: 0; font-size: 1.12rem; line-height: 1.55; color: #cfe2ee; }
.ac-contato { margin: 0; color: #9fc3d8; line-height: 1.5; }
.ac-contato a { color: #7fe0f2; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.ac-palco { position: relative; display: grid; }
.ac-relogio { position: absolute; z-index: 0; left: 50%; top: 50%; width: 52rem; max-width: none; height: auto; aspect-ratio: 1; translate: -50% -50%; pointer-events: none; }
.ac-relogio .relogio-centro { display: none; }

.ac-caixa {
  position: relative; z-index: 1; width: 100%;
  background: #fff; color: #1d2b36;
  border-radius: 1.25rem; padding: 2rem 2rem 1.5rem;
  box-shadow: 0 2px 4px rgb(6 34 54 / 10%), 0 40px 70px -30px rgb(2 16 28 / 75%);
}
.ac-caixa h1 { font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: #0b3b5c; margin: 0 0 1.25rem; }
.ac-caixa p { line-height: 1.5; }
.ac-caixa a:not(.botao) { color: #0b598c; }
.ac-caixa .botao { border-radius: 999px; padding-block: .85rem; font-weight: 700; }
.ac-caixa .botao.largo { width: 100%; justify-content: center; }
.ac-caixa .rodape { text-align: center; margin-top: 1.1rem; font-size: .9rem; }
.ac-caixa .botoes { margin-top: 1.25rem; }

.ac-rodape { position: relative; z-index: 2; text-align: center; font-size: .85rem; color: #9fc3d8; padding: 1rem var(--lateral) 1.5rem; font-variant-numeric: tabular-nums; }
.ac-rodape span { white-space: nowrap; }

@keyframes ac-entra { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }
.ac-texto { animation: ac-entra 900ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.ac-caixa { animation: ac-entra 900ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both; }
.ac-conhecer { transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), background-color 300ms; }
.ac-conhecer:hover { transform: translateY(-2px); }

/* Celular e tablet: uma coluna; o ciano vira a base, com a borda inclinada em cima, atrás do cartão. */
@media (max-width: 56rem) {
  .ac::before { clip-path: polygon(0 62%, 100% 52%, 100% 100%, 0 100%); }
  .ac-menu { padding-block: 1rem; }
  .ac-marca { font-size: 1.25rem; }
  .ac-marca img { height: 2rem; }
  .ac-conhecer { padding: .55rem 1rem; font-size: .9rem; background: #29b6d6; color: #062a42; }
  .ac-conhecer:hover { background: #45c3df; }
  .ac-corpo { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-top: .5rem; }
  .ac-texto { gap: .6rem; }
  .ac-titulo { font-size: clamp(2rem, 9vw, 2.8rem); }
  .ac-sub { display: none; }
  .ac-contato { display: none; }
  .ac-relogio { width: 40rem; }
  .ac-caixa { padding: 1.6rem 1.35rem 1.25rem; }
  .ac-rodape { color: #062a42; font-weight: 500; } /* sobre o ciano: marinho escuro (6,18) */
}
