/* RESET GERAL */
html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
}

/* Corpo */
body {
  background-color: #fffaf5;
  color: #333;
  line-height: 1.6;
}

/* Seletor de Idioma */
.language-selector {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1100;
  display: flex;
  gap: 5px;
}

.language-selector button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.language-selector img {
  width: 24px;
  height: 24px;
}

/* HERO */
.hero-img-container {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  z-index: 1;
}

.overlay h1 {
  font-size: 4em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5em;
}

.overlay p {
  font-size: 1.8em;
}

/* Seção dos Planos */
.planos {
  padding: 60px 20px;
  text-align: center;
  background-color: #ffffff;
}

.planos h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.promocao {
  color: #d35400;
  margin-bottom: 40px;
  font-weight: bold;
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background-color: #fefefe;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  padding: 20px;
  max-width: 250px;
  width: 100%;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s;
}

.card:hover {
  background-color: #f5f5f5;
}

.card i {
  font-size: 2em;
  color: #e67e22;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 1.5em;
  margin: 10px 0;
}

.card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  margin-bottom: 10px;
}

.card ul li {
  font-size: 0.95em;
  margin-bottom: 5px;
}

.preco {
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
}

/* Tooltip (Corrigido para permitir rolagem e interação) */
.tooltip {
  display: none;
  position: absolute;
  width: 320px;
  max-height: 320px;
  padding: 15px;
  background: linear-gradient(to right, #ffecd2, #fcb69f);
  border: 2px solid #e67e22;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.2);
  border-radius: 10px;
  font-size: 15px;
  color: #333;
  z-index: 1000;
  text-align: left;
  overflow-y: auto;
  pointer-events: auto; /* Agora permite interação */
}

.tooltip-content {
  font-size: 1em;
  font-weight: normal;
  line-height: 1.6;
}

.tooltip-content strong {
  font-size: 1.2em;
  color: #e67e22;
}

/* Formulário */
.formulario {
  padding: 50px 20px;
  background-color: #fff3e6;
  text-align: center;
}

.formulario h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.formulario form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: 0 auto;
  gap: 10px;
}

.formulario input,
.formulario button {
  width: 100%;
  padding: 12px;
  font-size: 1em;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #fff;
}

.formulario button {
  background-color: #e67e22;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.formulario button:hover {
  background-color: #cf6b0e;
}

.formulario input:focus,
.formulario button:focus {
  outline: 2px solid #e67e22;
}

/* Rodapé */
footer {
  text-align: center;
  padding: 20px;
  background: #222;
  color: #fff;
  font-size: 0.9em;
}