/* 1. Variáveis Globais e Reset */
:root {
  --primary-color: #4a4238;   /* Marrom escuro */
  --secondary-color: #6e6259; /* Marrom mais claro para hover */
  --page-background: #e6e6e6;   /* Fundo cinza claro da página */
  --card-background: #ad987e;   /* Cor de fundo do cartão */
  --text-color: #ffffff;      /* Texto branco (usado no H1) */
  --dark-text-color: #4a4238; /* Cor para texto escuro (usado no corpo) */
  --font-family-sans: "Montserrat", -apple-system, system-ui, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-sans);
  background-color: var(--page-background);
  color: var(--dark-text-color);
  line-height: 1.5;
}

/* 2. Layout Principal */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1rem;
  text-align: center;
}

/* 3. Seção do Cabeçalho */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

/* 4. Estilo do Cartão Principal */
.card-box {
  background-color: var(--card-background);
  border-radius: 15px;
  padding-top: 10rem;
  padding-bottom: 10rem;
  width: 100%;
  max-width: 1140px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.card-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(./assets/xv.webp);
  background-repeat: repeat;
  filter: brightness(1.8) contrast(1.1);
  z-index: 1;
}

.card-box h1 {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-color);
  word-break: break-all;
  position: relative;
  z-index: 2;
}

.badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
}

/* 5. Estilo dos Textos e Contato */
.contact-info {
  margin-top: 100px;
  width: 100%;
  max-width: 1140px;
  text-align: left;
}

.business-info {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--dark-text-color);
}

.contact-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-text-color);
  margin-top: -1rem;
}

.options {
  margin-top: -1rem;
}

.contact-email {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.contact-email:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.options img {
  width: 1.2rem;
  height: auto;
}

.contact-email:hover img {
  filter: invert(47%) sepia(10%) saturate(628%) hue-rotate(344deg)
    brightness(93%) contrast(92%);
}

/* 6. Responsividade */
@media screen and (max-width: 1140px) {
  .card-box {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

@media screen and (max-width: 768px) {
  .card-box {
    padding: 6rem 1.5rem;
  }
  .card-box h1 {
    font-size: 1.8rem;
  }
  .business-info,
  .contact-label,
  .contact-email {
    font-size: 1rem;
  }
  .options img {
    width: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .card-box {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .card-box h1 {
    font-size: 1rem;
  }
  .badge {
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
}