/* ========================================
   AISPEMG Landing Page - Styles
   Fonte Primária: Raleway | Fonte Secundária: Open Sans
   Paleta: Teal (#3DBFA8 / #2BA090), Branco, Cinza escuro
   ======================================== */

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

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  background: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Raleway para headings, Open Sans para corpo */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ---- Variáveis ---- */
:root {
  --teal: #3DBFA8;
  --teal-dark: #2BA090;
  --teal-light: #c8ede7;
  --teal-lightest: #e6f8f5;
  --dark: #1e2d2b;
  --gray: #555;
  --gray-light: #f5f5f5;
  --white: #fff;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --transition: 0.25s ease;
}

/* ---- Container ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==============================
   HEADER
   ============================== */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo { display: flex; align-items: center; gap: 8px; }
.logo img { height: 44px; width: auto; }

/* Oculta texto do logo quando imagem real estiver presente */
.logo-text {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--teal-dark);
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 36px; height: 36px;
  background: var(--teal);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 22px; height: 22px; fill: white; }

/* Oculta ícone genérico quando logo real estiver */
.logo-has-img .logo-icon,
.logo-has-img .logo-text { display: none; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--white);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 50px;
  transition: var(--transition);
}
.header-cta:hover { background: var(--teal-dark); transform: translateY(-1px); }

/* ==============================
   HERO SECTION — imagem de fundo full-width
   ============================== */
.hero {
  background-image: url('../assets/images/aspemg2.jpeg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding-top: 60px; /* compensa header fixo */
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

/* Overlay escuro removido a pedido do usuário */
.hero::before {
  display: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 0 80px 0;
  position: relative;
  z-index: 2;
  min-height: 420px;
}

.hero-content { color: #000000; position: relative; z-index: 3; max-width: 560px; }

/* Hero: "Plano Unimed mais barato" = regular, "para servidores públicos" = bold — padrão Raleway */
.hero-title {
  font-family: 'Raleway', sans-serif;
  font-size: 38px;
  font-weight: 400;   /* regular para a primeira parte */
  color: #000000;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-title strong {
  font-weight: 800;   /* bold para destaque */
}

.hero-desc {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: #000000;
  margin-bottom: 28px;
  max-width: 440px;
  line-height: 1.7;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--teal-dark);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 30px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }

/* Hero: imagem é background, sem coluna de imagem separada */

/* ==============================
   SEÇÃO: VOCÊ ESTÁ PAGANDO CARO
   ============================== */
.section-paying {
  padding: 72px 0;
  background: var(--white);
}
.section-paying-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Imagem real dos $$$ */
.paying-image img {
  width: 100%;
  max-width: 380px;
  display: block;
  margin: 0 auto;
}

.paying-icons-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin-bottom: 8px;
}
.paying-icon {
  font-size: 52px;
  font-weight: 900;
  font-family: 'Raleway', sans-serif;
  line-height: 1;
  background: linear-gradient(160deg, #3DBFA8 0%, #2BA090 50%, #1e8070 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(2px 3px 0px rgba(43,160,144,0.3));
}
.paying-icon:nth-child(1) { font-size: 44px; }
.paying-icon:nth-child(2) { font-size: 58px; }
.paying-icon:nth-child(3) { font-size: 50px; }

/* "Você está pagando" = regular, "caro demais" = bold */
.paying-content h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.3;
}
.paying-content h2 strong { font-weight: 800; }

.paying-content p {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* ==============================
   SEÇÃO: ALTERNATIVA INTELIGENTE (teal gradient)
   Segue fielmente a imagem 5
   ============================== */
.section-alternative {
  background: linear-gradient(135deg, #3DBFA8 0%, #6dddd0 100%);
  padding: 80px 0;
}
.section-alternative-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Título grande à esquerda: Raleway Black */
.alternative-content h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.15;
}

/* Lado direito: texto + botão */
.alternative-right p {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 28px;
}
.alternative-right p strong { font-weight: 700; }

.btn-simular-branco {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--dark);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 50px;
  border: 1.5px solid rgba(30,45,43,0.15);
  transition: var(--transition);
}
.btn-simular-branco:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }

/* ==============================
   SEÇÃO: BENEFÍCIOS (imagem enviada)
   Fundo branco, watermark, pills teal gradient, botão escuro
   ============================== */
.section-benefits-list {
  background: var(--white);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

/* Watermark "Benefícios" ao fundo */
.benefits-watermark {
  font-family: 'Raleway', sans-serif;
  font-size: 100px;
  font-weight: 900;
  color: rgba(61,191,168,0.08);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -2px;
  z-index: 0;
}

.benefits-list-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Pill item — teal gradient, texto centralizado, regular+bold */
.benefit-check-item {
  display: block;
  text-align: center;
  background: linear-gradient(to right, #b2e8e0, #3DBFA8);
  border-radius: 50px;
  padding: 16px 32px;
  margin-bottom: 12px;
  color: var(--dark);
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 400;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(61,191,168,0.15);
}
.benefit-check-item strong { font-weight: 800; }
.benefit-check-item:last-child { margin-bottom: 0; }
.benefit-check-item:hover { filter: brightness(1.04); transform: translateY(-1px); }

/* Sem ícone — texto é centrado */
.benefit-check-icon { display: none; }

.benefits-list-cta { display: flex; justify-content: center; margin-top: 32px; }

.benefits-note {
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  color: var(--dark);
  margin-top: 16px;
  line-height: 1.5;
}

/* Botão escuro "simular meu plano" */
.btn-simular-plano {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--dark);
  color: var(--white);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.btn-simular-plano:hover { background: #111; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }

/* ==============================
   SEÇÃO: CARDS DE PLANOS (imagem 1)
   Wrapper: fundo mint claro
   Cards: fundo teal
   Features: botões escuros
   ============================== */
.section-plans {
  padding: 60px 0;
  background: #f0faf8;
}

.plans-wrapper {
  background: var(--teal-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px 40px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

/* Card com fundo teal */
.plan-card {
  background: var(--teal);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
}
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.plan-card-header { margin-bottom: 20px; }

/* "Pleno" = Raleway Bold, subtítulo = Open Sans regular */
.plan-title {
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}
.plan-subtitle {
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
}
.plan-subtitle strong {
  font-weight: 700;
  color: var(--white);
}

/* Feature como botão escuro */
.plan-feature-btn {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #1a3a35;
  color: var(--white);
  font-family: 'Open Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  padding: 10px 14px;
  border-radius: var(--radius);
  margin-bottom: 8px;
  line-height: 1.4;
}
.plan-feature-btn:last-child { margin-bottom: 0; }

.feat-icon {
  width: 20px; height: 20px;
  background: var(--teal);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: white;
  margin-top: 1px;
}

/* Botão "simular meu plano" centralizado abaixo dos cards */
.plans-cta { display: flex; justify-content: center; }

/* ==============================
   SEÇÃO: DEPOIMENTOS (imagem 4)
   Título com watermark, cards teal-claro, ícone chat
   ============================== */
.section-testimonials {
  padding: 80px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Watermark "Depoimentos:" atrás do título */
.testimonials-header {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}
.testimonials-watermark {
  font-family: 'Raleway', sans-serif;
  font-size: 80px;
  font-weight: 900;
  color: rgba(61,191,168,0.08);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -2px;
}
/* Título: "Depoimentos:" Raleway regular */
.testimonials-title {
  font-family: 'Raleway', sans-serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--dark);
  position: relative;
  z-index: 1;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--teal-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* Ícone de chat no canto superior direito */
.testimonial-chat-icon {
  position: absolute;
  top: 20px; right: 20px;
  width: 32px; height: 32px;
  color: var(--teal);
  opacity: 0.7;
}

/* Texto do depoimento em itálico */
.testimonial-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-style: italic;
  color: #444;
  line-height: 1.75;
  margin-bottom: 20px;
  margin-top: 8px;
  padding-right: 40px; /* Evita que o texto passe por baixo do balão de chat absoluto */
}

/* Nome bold italic + cargo italic */
.testimonial-author-name {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  font-style: italic;
  color: var(--dark);
}

/* ==============================
   SEÇÃO: FAQ ACCORDION (imagem 2)
   Wrapper mint border, cards brancos internos
   ============================== */
.section-faq {
  padding: 60px 0;
  background: #f0faf8;
}

.faq-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: var(--teal-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  border: 1.5px solid transparent;
  transition: var(--transition);
}
.faq-item:last-child { margin-bottom: 0; }
.faq-item.active {
  border-color: var(--teal);
}

.faq-question-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.faq-question-btn strong {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}

.faq-chevron {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1.5px solid #ddd;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-dark);
  transition: transform 0.3s ease;
}
.faq-chevron svg {
  width: 14px; height: 14px;
  stroke: var(--teal-dark);
  stroke-width: 2.5;
  fill: none;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-chevron svg {
  transform: rotate(180deg);
}

/* Resposta: oculta por padrão, expande ao ativo */
.faq-answer-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 24px;
}
.faq-item.active .faq-answer-body {
  max-height: 400px;
  padding: 0 24px 20px;
}
.faq-answer-body p {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  border-top: 1px solid #eee;
  padding-top: 16px;
}

/* ==============================
   SEÇÃO: BANNER "CONDIÇÕES EXCLUSIVAS" (imagem 3)
   Gradient luz→teal, texto escuro, watermark
   ============================== */
.section-cta-banner {
  background: linear-gradient(to right, #dff6f2 0%, #3DBFA8 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Watermark "Exclusivas" ao fundo */
.cta-watermark {
  font-family: 'Raleway', sans-serif;
  font-size: 130px;
  font-weight: 900;
  color: rgba(30,45,43,0.06);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -3px;
}

/* "Condições exclusivas" = Raleway 400 (regular) */
/* "podem mudar" = Raleway 800 (bold) */
.cta-banner-title {
  font-family: 'Raleway', sans-serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cta-banner-title strong {
  font-weight: 800;
  display: block;
}

/* Subtítulo: parte normal + parte bold */
.cta-banner-subtitle {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.cta-banner-subtitle strong { font-weight: 700; }

/* ==============================
   SEÇÃO: FORMULÁRIO DE SIMULAÇÃO
   ============================== */
/* ==============================
   SEÇÃO: FORMULÁRIO DE SIMULAÇÃO (Idêntico ao Protótipo)
   ============================== */
.section-form {
  padding: 80px 0 0 0;
  background: var(--white);
}

/* Título centralizado no topo */
.form-section-title {
  font-family: 'Raleway', sans-serif;
  font-size: 36px;
  font-weight: 400;
  color: #0e2220;
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.25;
}
.form-section-title strong {
  font-weight: 800;
  display: block;
  margin-top: 4px;
}

.form-section-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: end;
}

/* Card do Formulário (Verde Menta) */
.form-card-container {
  background-color: #a4e9dd;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  margin-bottom: 48px;
}

/* Formulário */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field { 
  display: flex; 
  flex-direction: column; 
  gap: 6px; 
}
.form-field label {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #0e2220;
}
.form-field input,
.form-field select {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  color: #333;
  background: #ffffff;
  outline: none;
  transition: var(--transition);
}
.form-field input:focus,
.form-field select:focus {
  box-shadow: 0 0 0 3px rgba(14, 34, 32, 0.15);
}
.form-field input::placeholder { 
  color: #a0b0ad; 
}
.form-field select {
  -webkit-appearance: none;
  appearance: none;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230e2220' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
  cursor: pointer;
}

.btn-form-submit {
  width: 100%;
  padding: 16px;
  background: #0f2624;
  color: var(--white);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(15, 38, 36, 0.2);
  margin-top: 12px;
  text-align: center;
}
.btn-form-submit:hover { 
  background: #1c3d3a; 
  transform: translateY(-1px); 
}

.form-section-image {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: end;
}
.form-section-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin-bottom: -48px; /* Ajusta para encostar no rodapé e evitar espaço em branco */
}

@media (max-width: 600px) {
  .form-card-container {
    padding: 24px 16px;
    margin-bottom: 24px;
  }
}

/* ==============================
   FOOTER
   ============================== */
.site-footer {
  background: var(--dark);
  padding: 32px 0;
  position: relative;
  z-index: 10; /* Garante que o rodapé recorte a imagem da servidora */
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.footer-logo-text {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: var(--white);
}

.footer-contact { display: flex; align-items: center; gap: 32px; }

.footer-phone {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; gap: 8px;
}
.footer-phone svg { width: 16px; height: 16px; stroke: var(--teal); fill: none; stroke-width: 2; }

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: var(--white);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 20px;
  border-radius: 50px;
  transition: var(--transition);
}
.footer-whatsapp:hover { background: #1ebe5a; transform: translateY(-1px); }
.footer-whatsapp svg { width: 18px; height: 18px; fill: white; }

.footer-copy {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* ==============================
   RESPONSIVO
   ============================== */
@media (max-width: 900px) {
  .section-paying-inner,
  .section-alternative-inner,
  .form-section-inner { grid-template-columns: 1fr; gap: 32px; }

  .hero-inner { padding: 60px 0; }

  .plans-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .hero-title { font-size: 28px; }
  .cta-banner-title { font-size: 32px; }
  .alternative-content h2 { font-size: 30px; }
  .testimonials-watermark { font-size: 50px; }
  .cta-watermark { font-size: 80px; }

  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
  .footer-contact { flex-direction: column; gap: 16px; }
  .form-section-image { justify-content: center; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 24px; }
  .cta-banner-title { font-size: 26px; }
  .plans-wrapper { padding: 24px 16px; }
}

/* ========================================
   BOTÃO FLUTUANTE DO WHATSAPP (Com Animação de Pulso)
   ======================================== */
.whatsapp-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease;
  animation: whatsappPulse 3s infinite;
}
.whatsapp-floating:hover {
  transform: scale(1.08);
  background-color: #20ba5a;
  animation: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}
.whatsapp-floating svg {
  width: 32px;
  height: 32px;
  fill: white;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 4px 16px rgba(0,0,0,0.18), 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 4px 16px rgba(0,0,0,0.18), 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 4px 16px rgba(0,0,0,0.18), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 600px) {
  .whatsapp-floating {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-floating svg {
    width: 26px;
    height: 26px;
  }
}

/* ========================================
   SISTEMA DE ANIMAÇÃO E REVEAL
   ======================================== */

/* Elementos iniciais do Hero (entram logo ao carregar) */
.hero-title,
.hero-desc,
.hero-btn {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title {
  animation-delay: 0.1s;
}
.hero-desc {
  animation-delay: 0.3s;
}
.hero-btn {
  animation-delay: 0.5s;
}

@keyframes heroFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Efeito micro-interaction da seta do botão do Hero */
.hero-btn svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-btn:hover svg {
  transform: translateX(4px);
}

/* Estados ativos/hover aprimorados para os botões */
.header-cta:active,
.hero-btn:active,
.btn-simular-branco:active,
.btn-simular-plano:active,
.btn-form-submit:active {
  transform: translateY(1px) scale(0.98);
}

/* Melhorias de Hover e Transições nos Cards e Items */
.plan-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.plan-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.testimonial-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.benefit-check-item {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}
.benefit-check-item:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 6px 16px rgba(61,191,168,0.25);
}

/* Foco animado no formulário */
.form-field input,
.form-field select {
  transition: box-shadow 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}
.form-field input:focus,
.form-field select:focus {
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(61, 191, 168, 0.25);
  transform: translateY(-1px);
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

/* Classe ativa disparada por JS */
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Delays Utilitários para efeito staggered */
.delay-100 { transition-delay: 0.1s !important; }
.delay-200 { transition-delay: 0.2s !important; }
.delay-300 { transition-delay: 0.3s !important; }
.delay-400 { transition-delay: 0.4s !important; }
.delay-500 { transition-delay: 0.5s !important; }

/* Acessibilidade - Respeita prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero-title,
  .hero-desc,
  .hero-btn {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  
  .whatsapp-floating {
    animation: none !important;
  }
}
