/* ===== Reset básico ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  font-family: Calibri, sans-serif;
  background: #0f2b3a;
  color: #fff;
  font-size: 18px;
}

/* ===== Página ===== */
.pagina-index {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

/* ===== Logo ===== */
.logo-topo { text-align: center; padding: 1.5rem 0; }
.logo-index { width: clamp(200px, 30vw, 300px); }

/* ===== Layout 50/50 ===== */
.index-layout {
  flex: 1;
  display: flex;
  flex-direction: row;
}

.coluna {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  text-decoration: none;
}

/* Imagens de fundo */
.coluna-esquerda { background-image: url("../images/bg-company.jpg"); }
.coluna-direita  { background-image: url("../images/bg-people.jpg"); }

/* ===== Overlay + Tarja (full-bleed, altura fixa, central) ===== */
:root { --tarja-h: 180px; }                /* altura padrão da tarja */

.overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0;                 /* sem respiro: tarja ocupa lateral a lateral */
  pointer-events: none;       /* deixa a âncora clicável */
  text-align: center;
  word-break: break-word;
}

.tarja {
  width: 100%; max-width: none;
  height: var(--tarja-h);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border-radius: 0;           /* full-bleed */
  background: rgba(15, 43, 58, 0.4);
  transition: background-color .3s ease;
  pointer-events: auto;       /* interações dentro da tarja */
  text-align: center;
  padding: 0 clamp(16px, 3vw, 32px); /* respiro lateral */
  overflow: hidden;           /* evita “pulo” se texto passar */
}

.tarja h2 {
  color: #f68d7b;
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 .5rem 0;
  transition: opacity .4s ease;
}

.tarja p {
  color: #faf5f2;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  line-height: 1.3;
  margin: 0;
}

.coluna:hover .tarja { background: rgba(15, 43, 58, 0.8); }

/* ===== Efeito “FOR YOU” → “SOON!” ===== */
.titulo-for-you { opacity: 1; transition: opacity .4s ease; }
.em-breve {
  position: absolute;
  margin-top: -3rem;          /* alinhado ao h2 */
  opacity: 0;
  color: #f68d7b;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  transition: opacity .4s ease;
}
.coluna-direita:hover .titulo-for-you { opacity: 0; }
.coluna-direita:hover .em-breve      { opacity: 1; }

/* ===== Responsivo ===== */
@media (max-width: 768px) {
  /* altura da tarja no mobile (ajuste se quiser igual ao desktop) */
  :root { --tarja-h: 140px; }

  .index-layout { flex-direction: column; flex: 1; }

  .coluna {
    width: 100%;
    height: auto;          /* nada de 50vh para não “esticar” */
    min-height: 220px;
    flex: 1 1 0;           /* divide o espaço restante */
  }

  .logo-topo { padding: 8px 0; }
  .logo-index { width: clamp(140px, 40vw, 220px); }
}

/* Safe-area iOS (notch) */
@supports (padding: env(safe-area-inset-top)) {
  @media (max-width: 768px) {
    .logo-topo { padding-top: max(8px, env(safe-area-inset-top)); }
  }
}
