/* --- CONFIGURAÇÕES GLOBAIS E VARIÁVEIS --- */
:root {
  --color-background: #030217;
  --color-blue: #1a3a9f;
  --color-green: #00d43a;
  --color-white: #ffffff;
  --color-text-light: #ffffff;
  --font-famaily-main: 'Montserrat', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- BODY --- */
body {
  font-family: var(--font-family-main);
  background-color: var(--color-background);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  background: linear-gradient(to bottom, rgba(5, 4, 37, 1) 100%);
}

/* --- CONTAINER PRINCIPAL --- */
.container {
  width: 100%;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

/* --- CABEÇALHO --- */
.caixa-imagem {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(
    to top,
    rgba(13, 14, 36, 0) 20%,
    rgba(13, 14, 36, 1) 60%
  );
}

.caixa-imagem img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

/* --- SEÇÃO DE LINKS --- */
.action-links {
  padding: 0 25px 40px 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 460px;
}

/* --- CARDS --- */
.card-link {
  display: block;
  text-decoration: none;
  color: var(--color-white);
  border-radius: 15px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  background-size: cover;
  background-position: center;
  transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
}

.card-link:hover {
  transform: scale(1.03);
  filter: brightness(1.1);
}

/* --- FUNDOS --- */
.card-bg-1 { background-image: url('./img/foto1.png'); }
.card-bg-2 { background-image: url('./img/foto2.png'); }
.card-bg-3 { background-image: url('./img/foto3.png'); }
.card-bg-4 { background-image: url('./img/foto4.png'); }

/* --- MEDIA QUERY (RESPONSIVO) --- */
@media (max-width: 480px) {
  body {
    padding: 10px;
    align-items: center;
  }

  .container {
    width: 100%;
    max-width: 100%;
    align-items: center;
  }

  .caixa-imagem {
    width: 100%;
    max-width: 100%;
    border-radius: 15px;
  }

  .caixa-imagem img {
    border-radius: 15px;
  }

  .action-links {
    padding: 0 15px 25px 15px;
    width: 100%;
  }

  .card-link {
    min-height: 180px;
    border-radius: 15px;
  }
}
