/* Versão 1.0.0 */

/* Hero Section */
#hero-assentos {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background-image: var(--bg-hero-assentos);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;

  @media only screen and (max-width: 768px) {
    height: 70vh;
    min-height: 500px;
  }

  & .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  & .hero-titulo {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: none;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    max-width: 1100px;
    line-height: 1.3;

    @media only screen and (max-width: 768px) {
      font-size: 32px;
      letter-spacing: 1px;
    }

    @media only screen and (max-width: 480px) {
      font-size: 24px;
    }
  }
}

/* Seções */
.assentos-section {
  padding: 80px 0;
  background-color: #ffffff;

  &.assentos-section-alt {
    background-color: #f8f9fa;
  }

  & .assentos-titulo {
    font-size: 42px;
    font-weight: 500;
    letter-spacing: 0px;
    text-transform: none;
    color: #1b1b1b;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;

    @media only screen and (max-width: 768px) {
      font-size: 32px;
      margin-bottom: 24px;
    }

    @media only screen and (max-width: 480px) {
      font-size: 28px;
      margin-bottom: 20px;
    }
  }

  & .assentos-content {
    padding: 20px 0;

    @media only screen and (max-width: 768px) {
      margin-bottom: 30px;
    }
  }

  & .assentos-lista {
    list-style: none;
    padding: 0;
    margin: 0;

    & li {
      position: relative;
      background: #fff;
      box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15);
      margin: 1rem 0 1rem 0;
      padding: 1em 1em 1em 2.5em;
      border-radius: 0.28571429rem;
      border: 1px solid rgba(34, 36, 38, 0.15);
      font-size: 16px;
      line-height: 1.7;
      color: #1f1e1f;

      @media only screen and (max-width: 768px) {
        font-size: 15px;
        padding: 1em 1em 1em 2.25em;
      }

      &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 10px;
        height: 16px;
        background-color: var(--cor-fundo);
      }
    }
  }

  & .assentos-intro {
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;

    & p {
      font-size: 18px;
      line-height: 1.8;
      color: #1f1e1f;
      margin: 0;
      text-align: center;

      @media only screen and (max-width: 768px) {
        font-size: 16px;
      }

      & strong {
        color: var(--cor-fundo);
        font-weight: 700;
      }
    }
  }

  & .assentos-imagem-destaque {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin-bottom: 10px;

    & img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
      transition: transform 0.4s ease;
    }

    &:hover img {
      transform: scale(1.05);
    }
  }
}

/* ============================================
   MOSAICOS DE IMAGENS
   ============================================ */

.mosaico-imagens {
  display: grid;
  gap: 15px;
  width: 100%;

  & .mosaico-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: #fff;

    &:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 30px rgba(182, 115, 40, 0.2);
    }

    & img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
      display: block;
      transition: transform 0.4s ease;
    }

    &:hover img {
      transform: scale(1.05);
    }
  }
}

.mosaico-imagens.mosaico-fit-contain .mosaico-item {
  background-color: #fff;
}

.mosaico-imagens.mosaico-fit-contain .mosaico-item img {
  object-fit: contain;
  object-position: center;
}

.mosaico-imagens.mosaico-fit-cover .mosaico-item {
  background-color: transparent;
}

.mosaico-imagens.mosaico-fit-cover .mosaico-item img {
  object-fit: cover;
  object-position: center;
}

.mosaico-imagens.mosaico-fit-cover .mosaico-item:hover img {
  transform: scale(1.08);
}

/* Mosaico 5 imagens (2 no topo + 3 embaixo) */
.mosaico-5 {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 220px);

  @media only screen and (min-width: 769px) {
    & .mosaico-item:nth-child(1) {
      grid-column: 1;
      grid-row: 1;
    }
    & .mosaico-item:nth-child(2) {
      grid-column: 2;
      grid-row: 1;
    }
    & .mosaico-item:nth-child(3) {
      grid-column: 1;
      grid-row: 2;
    }
    & .mosaico-item:nth-child(4) {
      grid-column: 2;
      grid-row: 2;
    }
    & .mosaico-item:nth-child(5) {
      grid-column: 3;
      grid-row: 2;
    }
  }

  @media only screen and (max-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 200px);
  }

  @media only screen and (max-width: 480px) {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 180px);
  }
}

/* Mosaico 4 imagens (grid 2x2) */
.mosaico-4 {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 250px);

  @media only screen and (max-width: 768px) {
    grid-template-rows: repeat(2, 220px);
  }

  @media only screen and (max-width: 480px) {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 200px);
  }
}

/* Mosaico com label (Assentos) – card com imagem em cima e faixa bege com título */
.mosaico-assentos .mosaico-com-label {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  background-color: #fff;

  & img {
    position: static;
    inset: auto;
    flex: 1;
    min-height: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  & .mosaico-label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 14px 16px;
    background-color: #a07340;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.3px;
    line-height: 1.3;

    @media only screen and (max-width: 768px) {
      font-size: 14px;
      min-height: 52px;
      padding: 12px 14px;
    }
  }
}

.mosaico-assentos.mosaico-4 {
  grid-template-rows: repeat(2, 1fr);

  & .mosaico-item {
    min-height: 280px;

    @media only screen and (max-width: 768px) {
      min-height: 260px;
    }

    @media only screen and (max-width: 480px) {
      min-height: 240px;
    }
  }
}

/* Diferenciais Section */
#diferenciais-assentos {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);

  & .suptitulo {
    width: fit-content;
    margin: 0 auto 10px auto;
    color: var(--cor-fundo);
    border-left-color: var(--cor-fundo);
  }

  & .titulo {
    font-size: 42px;
    font-weight: 500;
    letter-spacing: 0px;
    text-transform: none;
    color: #1b1b1b;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;

    @media only screen and (max-width: 768px) {
      font-size: 32px;
      margin-bottom: 24px;
    }
  }

  & .diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;

    @media only screen and (max-width: 1024px) {
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
    }

    @media only screen and (max-width: 600px) {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  }

  & .diferencial-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;

    @media only screen and (max-width: 768px) {
      padding: 30px 20px;
    }

    &:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 32px rgba(182, 115, 40, 0.2);
      border-color: var(--cor-fundo);

      & .diferencial-icon svg {
        transform: scale(1.1);
        color: var(--cor-fundo);
      }
    }

    & .diferencial-icon {
      width: 80px;
      height: 80px;
      margin: 0 auto 24px;
      background: linear-gradient(135deg, rgba(182, 115, 40, 0.1) 0%, rgba(182, 115, 40, 0.05) 100%);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;

      & svg {
        color: var(--cor-fundo);
        transition: all 0.3s ease;
      }
    }

    & .diferencial-titulo {
      font-size: 20px;
      font-weight: 700;
      letter-spacing: 0px;
      text-transform: none;
      color: #1f1e1f;
      margin-bottom: 16px;

      @media only screen and (max-width: 768px) {
        font-size: 18px;
      }
    }

    & .diferencial-texto {
      font-size: 15px;
      font-weight: 400;
      line-height: 1.7;
      color: #6d6a6a;
      margin: 0;

      @media only screen and (max-width: 768px) {
        font-size: 14px;
      }
    }
  }
}

/* CTA Section */
#cta-assentos {
  position: relative;
  width: 100%;
  height: 500px;
  background-image: linear-gradient(135deg, rgba(31, 30, 31, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%), var(--bg-cta-assentos);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;

  @media only screen and (max-width: 768px) {
    height: 400px;
  }

  & .cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
  }

  & .cta-titulo {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: none;
    color: #ffffff;
    margin-bottom: 40px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    max-width: 900px;

    @media only screen and (max-width: 768px) {
      font-size: 28px;
      margin-bottom: 30px;
    }

    @media only screen and (max-width: 480px) {
      font-size: 22px;
    }
  }

  & .cta-botao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--cor-fundo);
    border-radius: 33px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    height: 58px;
    letter-spacing: 0px;
    line-height: 1.7;
    padding: 7px 40px 3px 40px;
    text-align: center;
    text-transform: none;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(182, 115, 40, 0.3);

    @media only screen and (max-width: 768px) {
      font-size: 16px;
      padding: 7px 32px 3px 32px;
      height: 52px;
    }

    & i {
      transition: transform 0.3s ease;
    }

    &:hover {
      background-color: #a55a1f;
      letter-spacing: 1px;
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(182, 115, 40, 0.4);

      & i {
        transform: translateX(5px);
      }
    }
  }
}
