/* ========== VARIÁVEIS E RESET ========== */
:root {
  --primary: #8a2be2;
  --primary-dark: #5a189a;
  --secondary: #ff0a54;
  --secondary-dark: #c9184a;
  --dark: #2c3e50;
  --light: #f5f4f7;
  --accent: #3498db;
  --text: #333;
  --text-light: #fff;
  --overlay: rgba(0, 0, 0, 0.6);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: white;
}

hr {
  border: none;
  height: 1px;
  background: rgba(138, 43, 226, 0.2);
  margin: 20px auto;
  width: 80%;
}

/* ========== LAYOUT BASE ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HEADER ========== */
header {
  background: linear-gradient(to bottom, var(--primary), #e6e6fa);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo-img {
  height: 60px;
  width: auto;
  transition: transform var(--transition);
}

.logo-img:hover {
  transform: scale(1.05);
}

/* ========== NAVEGAÇÃO ========== */
.menu ul {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.menu a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 4px;
  transition: var(--transition);
  display: inline-block;
}

.menu a:hover {
  background-color: var(--accent);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* ========== SEÇÃO HERO ========== */
.hero {
  background: linear-gradient(var(--overlay), rgba(0, 0, 0, 0.4)), url('../imagens/0426.gif') no-repeat center/cover;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-light);
  position: relative;
}

.hero-content {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-title {
  display: inline-block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(255, 254, 254, 0.3), 0 4px 8px rgba(0, 0, 0, 0.2), 0 8px 16px rgba(0, 0, 0, 0.15);
  background: linear-gradient(to right, #fff, #e6e6fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 10px;
  animation: textGlow 2s ease-in-out infinite alternate;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  max-width: 700px;
  margin: 0 auto 30px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  padding: 15px 25px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-btn .btn-text {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

/* ========== SEÇÃO FEATURES ========== */
.features {
  padding: 80px 0;
  background: linear-gradient(to right, #deb3eb, #9c78d3);
}

.features h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--dark);
  position: relative;
}

.features h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--primary);
  margin: 15px auto 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-item {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-item h3 {
  margin-bottom: 15px;
  color: var(--dark);
}

/* ========== SEÇÃO PLANOS ========== */
.plan-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.plan-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 25px;
  text-align: center;
}

.plan-section p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: center;
}

.plan-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.familia-plan, .hot-plan {
  flex: 1 1 300px;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  z-index: 2;
  background: linear-gradient(to right, #deb3eb, #9c78d3);
}

.plan-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  z-index: 1;
}

.familia-plan::before {
  background: url('../imagens/family-pattern.png') repeat;
}

.hot-plan::before {
  background: url('../imagens/heart-pattern.png') repeat;
}

/* ========== BOTÕES ========== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  text-align: center;
}

.plan-btn {
  display: block;
  max-width: 90%;
  margin: 30px auto 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  padding: 12px 24px;
  height: auto;
  font-size: 0.9rem; 
}

.plan-btn2 {
  display: inline-block;
  padding: 8px 16px;          /* Reduz o espaço interno */
  font-size: 0.9rem;          /* Reduz o tamanho da letra */
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  text-align: center;
  max-width: 200px;
  width: auto;
  line-height: 1.2;
}

.familia-plan .plan-btn {
  background: linear-gradient(to right, #aa15d8, #5f00ee);
  color: white;
}

.hot-plan .plan-btn {
  background: linear-gradient(to right, #aa15d8, #5f00ee);
  color: white;
  color: white;
  font-weight: bold;
  border: none;
}

.plan-btn-hot {
  background: linear-gradient(to right, #aa15d8, #5f00ee);
  color: white;
  color: white;
  border: none;
  font-weight: bold;
  text-transform: uppercase;
  padding: 10px 20px;       /* Diminui altura e largura interna */
  border-radius: 50px;
  transition: all 0.3s ease;
  width: auto;              /* Permite o botão ajustar ao conteúdo */
  min-width: 160px;         /* Evita que fique pequeno demais */
  text-align: center;
  display: inline-block;
}

.plan-btn-hot i {
  margin-right: 8px;
}

.plan-btn-hot:hover {
  background: linear-gradient(to right, #cc0052, #ff3399);
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(255, 0, 102, 0.6);
}



.btn-hot-assine {
  background: linear-gradient(to right, #cc00c2, #a333ff8f);
  color: white;
  border: none;
  padding: 10px 25px;
  font-weight: bold;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-hot-assine:hover {
  background: linear-gradient(to right, #ff1ac6, #ff1ac6);
  box-shadow: 0 0 12px #ff4d4d;
  transform: scale(1.05);
  color: #fff;
}

.btn-hot:hover {
  background: linear-gradient(to right, #b30000, #ff1a1a);
  transform: scale(1.05);
}

.plan-btn:hover {
  transform: translateY(-3px);
}

.familia-plan .plan-btn:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 10px 20px rgba(92, 5, 168, 0.3);
}

.hot-plan .plan-btn:hover {
  background-color: var(--secondary-dark);
  box-shadow: 0 10px 20px rgba(255, 10, 84, 0.3);
}

/* ========== RODAPÉ ========== */
footer {
  background: linear-gradient(to right, var(--primary), #5c04ff);
  color: white;
  padding: 10px 0;
  text-align: center;
}

footer a {
  color: #bdc3c7;
  transition: color var(--transition);
}

footer a:hover {
  color: white;
}

/* ========== WHATSAPP FLUTUANTE ========== */
.whatsapp-float-btn {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease-in-out;
}

.whatsapp-float-btn::after {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.4);
  animation: pulse 1.5s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}


.whatsapp-float-btn:hover {
  transform: scale(1.1);
  background-color: #1ebc59;
}

/* ========== RESPONSIVIDADE ========== */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }

  .menu ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .whatsapp-float-btn {
    width: 60px;
    height: 60px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}

@media (max-width: 576px) {
  .plan-btn {
    max-width: 180px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}
