/* Fonte e reset */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
}

h1, h2, h3 {
  margin-bottom: 10px;
}

p {
  margin-bottom: 16px;
}

/* Cabeçalho */
header {
  background-color: #004e64;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.cabecalho h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.cabecalho p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Navegação */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  background-color: #003948;
  padding: 10px 0;
  margin: 0;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* Seções */
section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

/* Cards */
.container-planos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card-plano {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-plano:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.card-plano img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  margin-bottom: 16px;
}

.card-plano h3 {
  font-size: 1.4rem;
  color: #222;
}

.card-plano p {
  font-size: 1rem;
  color: #555;
}

/* Botão WhatsApp nos cards */
.botao-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #25D366;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.botao-whatsapp i {
  font-size: 1.2rem;
}

.botao-whatsapp:hover {
  background-color: #1ebc59;
  transform: scale(1.03);
}

/* Formulários */
form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  font-weight: bold;
}

input, textarea, button {
  padding: 10px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

textarea {
  resize: vertical;
}

button {
  background-color: #004e64;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #003948;
}

.whatsapp-float img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.whatsapp-float img:hover {
  transform: scale(1.1);
}

/* Rodapé */
footer {
  background-color: #003948;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}
.categorias-planos {
  text-align: center;
  margin-bottom: 20px;
}

.categorias-planos h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #fff;
}

.categorias-planos ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.categorias-planos ul li {
  background-color: #fff;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
}

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background-image: url("./img/familia-sorrindo.avif"); /* caminho da sua imagem */
  background-size: cover;       /* cobre toda a área */
  background-position: center;  /* centraliza a imagem */
  background-repeat: no-repeat; /* não repete */
  background-attachment: fixed; /* fixa o background ao scroll */
  color: #fff;                  /* texto branco para contraste */
  min-height: 100vh;            /* garante altura mínima */
  /* Opcional: sombra ou overlay para melhor leitura */
  position: relative;
}

/* Para garantir boa leitura do texto, você pode adicionar um overlay escuro */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* sombra preta com 50% de transparência */
  z-index: -1;
}