/* =========================================================
   ALEX I BRUNA — ENTRADA
   Desktop tancat
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&display=swap');

.page-entrada {
  height: 100vh;
  overflow: hidden;
}

.page-entrada .site-shell {
  height: 100vh;
  overflow: hidden;
  background-color: #faf7f4;
}

.page-entrada .page-background-img {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  object-position: center center;
  transform: scale(1.26);
  transform-origin: center center;
  z-index: 0;
  pointer-events: none;
}

.entry-content {
  position: relative;
  z-index: 2;
  height: 100vh;
  overflow: hidden;
}

.entry-side-nav {
  position: absolute;
  top: 38px;
  right: 18px;

  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.35rem;

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1;

  color: #2f2a26;
  text-shadow: 0 1px 6px rgba(255,255,255,0.75);
}

.entry-side-nav a:hover {
  color: #35556f;
}

.entry-hero {
  position: absolute;
  left: 50%;
  top: 74.5%;
  transform: translate(-50%, -50%);
  width: min(88vw, 720px);
  text-align: center;
  color: white;
}

.entry-hero h1 {
  margin: 0;

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4.9rem, 7.2vw, 7rem);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.035em;

  -webkit-font-smoothing: antialiased;
  text-shadow: 0 2px 10px rgba(0,0,0,0.22);
}

.entry-hero p {
  margin: 0.85rem 0 1.55rem;

  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  font-weight: 300;
  line-height: 1.22;

  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.entry-main-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;

  min-width: 360px;
  padding: 1rem 1.9rem;

  border-radius: 26px;
  color: white;

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1;

  background: rgba(38, 68, 101, 0.86);
  border: 1px solid rgba(210, 232, 255, 0.95);

  box-shadow:
    0 0 18px rgba(120, 190, 255, 0.85),
    inset 0 0 12px rgba(255,255,255,0.16);

  backdrop-filter: blur(4px);
}

.entry-main-button:hover {
  background: rgba(38, 68, 101, 0.95);
}

/* Responsive pendent de fase específica */
.entry-side-nav .access-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 48px;

    padding: 12px 26px;
    min-width: 180px;

    border-radius: 999px;

    color: #ffffff;
    text-decoration: none;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;

    background: rgba(38, 68, 101, 0.86);
    border: 1px solid rgba(210, 232, 255, 0.95);

    box-shadow:
      0 0 18px rgba(120, 190, 255, 0.85),
      inset 0 0 12px rgba(255,255,255,0.16);

    backdrop-filter: blur(4px);

    transition:
      background .2s ease,
      transform .2s ease,
      box-shadow .2s ease;
}

.entry-side-nav .access-button:hover {
    background: rgba(38, 68, 101, 0.95);
    transform: translateY(-1px);
}
/* =========================================================
   ENTRADA — MÒBIL
   ========================================================= */

@media (max-width: 700px) {

  .page-entrada,
  .page-entrada .site-shell,
  .entry-content {
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
  }

  .page-entrada .page-background-img {
    content: url("../img/fonsMOBILlandingDEF.png");
    width: 100vw;
    height: 100svh;
    object-fit: cover;
    object-position: center top;
    transform: none;
  }

  .entry-side-nav {
    top: 10px;
    right: 18px;
    gap: 0.75rem;
    font-size: 1.45rem;
  }
   text-shadow:
    0 0 10px rgba(255,255,255,.95),
    0 0 18px rgba(255,255,255,.85),
    0 1px 3px rgba(255,255,255,.9);
}
.entry-side-nav > a:not(.access-button) {
  color: #2b241f;
  font-weight: 560;

  text-shadow:
    0 0 6px rgba(255,255,255,1),
    0 0 12px rgba(255,255,255,1),
    0 0 20px rgba(255,255,255,0.95),
    0 1px 2px rgba(255,255,255,1);
}

  .entry-side-nav .access-button {
    margin-top: 112px;
    min-width: 138px;
    padding: 9px 18px;
    font-size: 1rem;
  }

  .entry-hero {
    top: 54%;
    width: 88vw;
  }

  .entry-hero h1 {
    font-size: clamp(4.1rem, 17vw, 5.6rem);
    line-height: 0.9;
  }

  .entry-hero p {
    margin: 0.8rem 0 1.35rem;
    font-size: 1.05rem;
    line-height: 1.18;
  }

  .entry-main-button {
    min-width: 0;
    width: auto;
    padding: 0.85rem 1.55rem;
    gap: 1rem;
    font-size: 1.55rem;
    border-radius: 24px;
  }
}