/* --- 1. THEME TOKENS (DEFINED GLASS EDITION) --- */
:root {
  --bg-image-url: url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");

  /* Dark Mode (Default) */
  --bg-body: #050505;
  /* Fundo mais escuro para destacar o vidro */
  --bg-layer:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.85), rgba(10, 10, 10, 0.95)),
    var(--bg-image-url);

  /* Glassmorphism Variables - BORDAS MAIS FORTES E DEFINIDAS */
  --glass-bg: rgba(30, 30, 35, 0.75); /* Mais opaco para leitura */
  --glass-border: rgba(255, 255, 255, 0.4); /* Borda branca mais forte */
  --glass-border-highlight: rgba(96, 165, 250, 0.8); /* Borda azul forte */
  --glass-blur: blur(20px);
  --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);

  --text-main: #ffffff;
  --text-muted: #d1d5db; /* Texto cinza mais claro para contraste */

  --primary: #3b82f6;
  --primary-glow: rgba(59, 130, 246, 0.6);
  --success: #22c55e;
  --accent: #fbbf24;

  --radius-lg: 24px;
  --radius-md: 16px;
}

/* Light Mode */
[data-theme="light"] {
  --bg-body: #eef2f7;
  --bg-layer: radial-gradient(
    circle at 50% 20%,
    rgba(37, 99, 235, 0.1) 0%,
    transparent 70%
  );

  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.15);
  --glass-border-highlight: rgba(59, 130, 246, 0.6);
  --glass-blur: blur(12px);
  --card-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);

  --text-main: #18181b;
  --text-muted: #52525b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  -webkit-tap-highlight-color: transparent;
}
html {
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
  color: inherit;
}

body {
  background-color: var(--bg-body);
  background-image: var(--bg-layer);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-main);
  display: flex;
  justify-content: center;
  min-height: 100vh;
  overflow-x: hidden;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

/* --- 2. LAYOUT --- */

/* Acessibilidade: esconde visualmente mas mantém para leitores de tela */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-container {
  width: 100%;
  max-width: 480px;
  padding-bottom: 120px;
  position: relative;
}

/* Glass Card envolvendo o container principal */
.glass-wrapper {
  /* Glassmorphism principal */
  background: rgba(15, 15, 20, 0.55);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);

  /* Borda brilhante com gradiente */
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(255, 255, 255, 0.35);
  border-left-color: rgba(255, 255, 255, 0.25);

  /* Sombra profunda + brilho interno */
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 1px 0 0 rgba(255, 255, 255, 0.15) inset;

  border-radius: 0;
  overflow: hidden;
  margin: 0 auto;
}

/* Em telas maiores que 480px, exibe como card flutuante com cantos arredondados */
@media (min-width: 520px) {
  .glass-wrapper {
    border-radius: 32px;
    margin: 32px auto;
    min-height: auto;
  }
}

.text2 {
  border-bottom: 1px solid #d1d5db;
  text-align: center;
  padding-bottom: 4px;
}

.text2 i {
  color: #1d4ed8;
  margin-right: 5px;
  font-size: 20px;
}

/* Utility Class: The Glass Effect (Universal) */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
}

/* Theme Toggle */
.theme-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  color: var(--text-main);
  transition: 0.3s;
}
.theme-toggle:hover {
  transform: rotate(15deg) scale(1.1);
}

/* Animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- 3. HEADER --- */
header {
  padding: 60px 24px 30px;
  text-align: center;
}
.avatar-container {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  position: relative;
}
.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    var(--primary),
    transparent,
    var(--primary)
  );
  animation: spin 8s linear infinite;
  opacity: 0.8;
}
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  /* Borda semi-transparente para integrar com o fundo */
  border: 4px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 2;
  transition: border-color 0.3s;
}
h1 {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}
.subtitle {
  font-size: 0.95rem;
  color: var(--text-main);
  opacity: 0.9;
  line-height: 1.5;
  margin-bottom: 24px;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.social-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  /* Glass Effect nos botões */
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text-main);
  transition: all 0.3s;
}
.social-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* --- 4. BUTTONS --- */
.btn-primary {
  width: 100%;
  padding: 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 8px 24px -6px var(--primary-glow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -8px var(--primary-glow);
  filter: brightness(1.1);
}
.btn-primary:active {
  transform: scale(0.97);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--glass-border);
  color: var(--text-main);
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

/* --- 5. BIO CARD (GLASS) --- */
.bio-card {
  margin: 0 24px 40px;
  padding: 32px 24px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  /* Linha de brilho no topo */
  border-top-color: rgba(255, 255, 255, 0.35);
}

/* === Foto de Perfil centralizada === */
.bio-avatar-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 8px; /* foto mais perto do nome */
}
.bio-avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(
    var(--primary) 0%,
    rgba(59,130,246,0.1) 50%,
    var(--primary) 100%
  );
  animation: spin 6s linear infinite;
}
.bio-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(0,0,0,0.4);
  position: relative;
  z-index: 2;
}
.bio-avatar-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 3;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* === Header da Bio === */
.bio-header {
  margin-bottom: 14px;
}
.bio-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.bio-title h2 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.bio-credential {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.3);
  padding: 3px 10px;
  border-radius: 20px;
}

.bio-text {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 20px;
  text-align: center;
}
.bio-text strong {
  color: var(--text-main);
  font-weight: 700;
}

/* === Stats com ícones === */
.stats-row {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
  margin-top: 4px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  border-radius: 12px;
  background: rgba(59,130,246,0.06);
  border: 1px solid rgba(59,130,246,0.12);
  transition: background 0.3s;
}
.stat-item:hover {
  background: rgba(59,130,246,0.15);
}
.stat-item i {
  font-size: 1.3rem;
  color: var(--primary);
}
.stat-item small {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

/* --- 6. PLANOS (GLASS CARDS PADRONIZADOS) --- */
.section-header {
  padding: 0 24px;
  margin: 40px 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-icon {
  width: 32px;
  height: 32px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
}
.section-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-main);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  padding: 40px 24px 40px;
  -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}

.plan-card {
  min-width: 85%;
  scroll-snap-align: center;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
  /* APLICAÇÃO DIRETA DO VIDRO EM TODOS OS CARDS */
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
}

/* Destaque Glass - Borda Azul Mais Forte e Fundo Azulado */
.plan-card.highlight {
  background: rgba(37, 99, 235, 0.2); /* Fundo azulado */
  border-color: var(--glass-border-highlight); /* Borda azul forte */
  transform: scale(1.02);
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3);
}

.badge-featured {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}
.badge-discount {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #eab308;
  color: black;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.plan-name {
  font-size: 1.8rem;
  color: var(--text-main);
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
}
.divider {
  height: 1px;
  background: var(--glass-border);
  margin: 20px 0;
}

.feature-list {
  list-style: none;
  margin-bottom: 24px;
}
.feature-list li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.feature-list i {
  color: var(--primary);
  font-size: 1.1rem;
}

/* --- 7. ANTES E DEPOIS (GLASS CARDS) --- */
.results-scroller {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  padding: 0 24px;
}
.results-scroller::-webkit-scrollbar {
  display: none;
}

.result-card {
  min-width: 280px;
  width: min(280px, 80vw);
  height: 380px;
  scroll-snap-align: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  /* Aplicação do Vidro */
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
  /* Garante que imagens não ultrapassem o card */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* === Correção para iPhones pequenos (SE, 12 mini, etc.) === */
@media (max-width: 390px) {
  .result-card {
    min-width: 0;
    width: calc(100vw - 64px);
    height: 340px;
  }
}

/* === Garante padding no scroller para não cortar cards === */
@media (max-width: 480px) {
  .results-scroller {
    padding: 0 20px;
    padding-right: 24px;
  }
}
.img-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}
.img-before {
  z-index: 2;
}
/* JS-controlled toggle: .revealed mostra o depois (img-after), esconde o antes (img-before) */
.result-card.revealed .img-before {
  opacity: 0;
}
/* Cursor pointer para indicar interatividade */
.result-card {
  cursor: pointer;
}
.touch-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid var(--glass-border);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  gap: 6px;
  pointer-events: none;
}

/* --- 8. FEEDBACKS (GLASS CARDS) --- */
.marquee-section {
  padding: 30px 0;
  overflow: hidden;
  /* Fundo da seção também é vidro, mas mais sutil */
  background: rgba(20, 20, 20, 0.3);
  backdrop-filter: blur(5px);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  margin: 40px 0;
}
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll 30s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 10px));
  }
}

.feedback-card {
  width: 300px;
  padding: 20px;
  border-radius: 16px;
  /* Aplicação do Vidro nos Cards de Feedback */
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
  quotes: none;
}
.feedback-card .stars {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 8px;
}
.feedback-card p {
  margin-top: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.feedback-card footer {
  margin-top: 10px;
  padding: 0;
  text-align: left;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: transparent;
}
.feedback-card cite {
  font-style: normal;
  font-weight: 600;
}

/* --- 9. FAQ (GLASS DETAILS) --- */
.faq-box {
  padding: 0 24px;
}
details {
  margin-bottom: 10px;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
  /* Aplica a classe glass-card no HTML para borda e fundo */
}
details[open] {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.2);
}
summary {
  padding: 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.9rem;
  list-style: none;
  color: var(--text-main);
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--primary);
}
.answer {
  padding: 0 18px 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- 10. FORM & FOOTER --- */
.form-area {
  margin: 40px 24px 24px;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border-top-color: rgba(255,255,255,0.35);
}

/* Cabeçalho do formulário */
.form-header {
  text-align: center;
  margin-bottom: 20px;
}
.form-icon-wrap {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin: 0 auto 12px;
  box-shadow: 0 8px 20px -6px var(--primary-glow);
}
.form-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.form-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Benefícios rápidos */
.form-perks {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 12px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.form-perks li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}
.form-perks i {
  color: var(--success);
  font-size: 0.9rem;
}

/* Input Group com ícone */
.input-group {
  margin-bottom: 14px;
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-wrap > i {
  position: absolute;
  left: 14px;
  font-size: 1.05rem;
  color: var(--text-muted);
  pointer-events: none;
  z-index: 1;
  transition: color 0.3s;
}
.input-wrap input,
.input-wrap select {
  padding-left: 40px;
  margin-bottom: 0;
}
.input-wrap:focus-within > i {
  color: var(--primary);
}

/* Linha dupla (Idade + Peso) */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 0;
}

/* Select custom */
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 14px;
}

input,
select {
  width: 100%;
  padding: 13px 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  margin-bottom: 0;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  font-family: "Inter", sans-serif;
}
input:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  background: rgba(0, 0, 0, 0.55);
}
input::placeholder {
  color: rgba(255,255,255,0.25);
  font-size: 0.88rem;
}

label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Botão de submit premium */
.btn-submit {
  width: 100%;
  margin-top: 20px;
  padding: 17px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #25d366 0%, #128C7E 100%);
  border: 1px solid rgba(255,255,255, 0.15);
  color: white;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 24px -6px rgba(37, 211, 102, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: all 0.3s ease;
}
.btn-submit i { font-size: 1.2rem; }
.btn-submit span { flex: 1; text-align: center; }
.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px -8px rgba(37, 211, 102, 0.6);
  filter: brightness(1.08);
}
.btn-submit:active {
  transform: scale(0.97);
}

/* Nota de privacidade */
.form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
}
.form-privacy i {
  font-size: 0.9rem;
  color: var(--success);
}
footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
/* === WhatsApp Flutuante com Badge === */
.whatsapp-wrapper {
  position: fixed;
  bottom: 24px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 200;
}

.whatsapp-badge {
  background: white;
  color: #1a1a1a;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  white-space: nowrap;
  /* Animação de entrada e pulsação suave */
  animation: badgeIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both,
             badgePulse 3s ease-in-out 1s infinite;
  transform-origin: right center;
}
/* Setinha apontando para o botão */
.whatsapp-badge::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: white;
}

@keyframes badgeIn {
  from { opacity: 0; transform: scale(0.7) translateX(10px); }
  to   { opacity: 1; transform: scale(1) translateX(0); }
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.04); }
}

.whatsapp-float {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25d366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s;
  border: 2px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  /* Anel pulsante */
  position: relative;
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: waPing 2s ease-out infinite;
}
@keyframes waPing {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.6); }
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 36px rgba(37,211,102,0.65);
}

/* === Ajustes Mobile Gerais === */
@media (max-width: 480px) {
  header {
    padding: 56px 20px 24px;
  }
  .bio-card {
    margin: 0 16px 32px;
    padding: 24px 18px 20px;
  }
  .section-header {
    padding: 0 16px;
    margin: 32px 0 16px;
  }
  .carousel-track {
    padding: 32px 16px;
    gap: 12px;
  }
  .faq-box {
    padding: 0 16px;
  }
  .form-area {
    margin: 32px 16px 20px;
    padding: 22px 18px;
  }
  .results-scroller {
    padding: 0 16px;
  }
  .whatsapp-wrapper {
    bottom: 18px;
    right: 14px;
  }
  .whatsapp-badge {
    font-size: 0.72rem;
    padding: 6px 10px;
  }
  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 24px;
  }
}
