@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --primary: #0B3D5D;
  --accent: #a9c1e8;
  --shadow: rgba(0, 0, 0, 0.2);
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  background: var(--primary);
  color: #f0f4f8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.bg {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 60vh;
  z-index: 0;
  opacity: 0.01;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 640px;
  padding: 20px;
  z-index: 1;
  position: relative;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-shadow: 2px 2px var(--shadow);
}

h2 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--accent);
}

img.logo {
  max-width: 80%;
}

p.tagline {
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 600;
  animation: fadeIn 2s ease-in-out forwards;
  opacity: 0;
  margin: 0;
}

div.logo-and-tagline {
  margin-bottom: 2rem;
  margin-top: 2rem;
}

/* Selecionador de bandeiras */
.language-selector {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.flag {
  /* width: 32px;
  height: 32px; */
  cursor: pointer;
  transition: transform 0.3s ease;
  border-radius: 24px;
  box-shadow: 0 2px 5px var(--shadow);
  opacity: 0.32;
}

.flag.active {
  opacity: 1;
}

.flag:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* Ícone e-mail */
.email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
}

.email-link:hover {
  color: #fff;
  transform: translateY(-2px);
}

.cnpj {
  font-weight: 300;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.7rem;
  transition: color 0.3s ease, transform 0.3s ease;
  position: absolute;
  bottom: 0;
}

.email-icon {
  width: 24px;
  height: 24px;
  fill: var(--accent);
  transition: fill 0.3s ease;
}

.email-link:hover .email-icon {
  fill: #fff;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Responsivo */
@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1rem;
  }
  img.logo {
    max-width: 90%;
  }
  p.tagline {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  .email-link {
    font-size: 1rem;
  }
  .email-icon {
    width: 20px;
    height: 20px;
  }
  .flag {
    width: 28px;
    height: 28px;
  }
}
