/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --laranja: #FF6B00;
  --amarelo: #FFB800;
  --fundo: #050505;
  --fundo2: #0A0A0A;
  --fundo3: #111111;
  --branco: #FFFFFF;
  --cinza: #A1A1AA;
  --borda: rgba(255, 255, 255, 0.08);
  --gradiente-texto: linear-gradient(135deg, #FFF, #A1A1AA);
  --gradiente-primario: linear-gradient(135deg, #FFB800, #FF6B00);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--fundo);
  color: var(--branco);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 12px;
  background: var(--gradiente-texto);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  text-align: center;
  color: var(--cinza);
  margin-bottom: 56px;
  font-size: 1.1rem;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.4s; }

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--borda);
  padding: 16px 0;
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--branco);
  letter-spacing: -1px;
}
.logo span {
  background: var(--gradiente-primario);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-header {
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.5);
  color: var(--laranja);
  padding: 8px 24px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-header:hover {
  background: var(--gradiente-primario);
  color: var(--branco);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

/* ===== HERO ===== */
.hero {
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  opacity: 0.35;
  background-position: center;
  background-size: cover;
  mix-blend-mode: color-dodge;
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,107,0,0.2) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -2;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--cinza);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--branco);
}

.hero h1 span {
  background: var(--gradiente-primario);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero p {
  font-size: 1.25rem;
  color: var(--cinza);
  max-width: 650px;
  margin: 0 auto 40px;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn-primary {
  display: inline-block;
  background: var(--gradiente-primario);
  color: var(--branco);
  padding: 18px 40px;
  border-radius: 100px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.25);
}

.btn-primary:after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: 0.6s;
}
.btn-primary:hover:after { left: 100%; }

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.4);
}

.btn-secondary {
  display: inline-block;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  color: var(--branco);
  padding: 18px 40px;
  border-radius: 100px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 30px 40px;
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--borda);
  border-radius: 24px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-stat strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--branco);
}

.hero-stat span {
  font-size: 0.85rem;
  color: var(--cinza);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* ===== COMO FUNCIONA ===== */
.como-funciona {
  padding: 100px 0;
  background: linear-gradient(to bottom, var(--fundo), var(--fundo2));
}

.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.step {
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  flex: 1;
  min-width: 250px;
  max-width: 320px;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.step:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 107, 0, 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 20px rgba(255,107,0,0.1);
}

.step:hover::before { opacity: 1; }

.step-number {
  width: 56px;
  height: 56px;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--laranja);
  margin: 0 auto 24px;
  box-shadow: 0 4px 20px rgba(255,107,0,0.2) inset;
}

.step h3 { margin-bottom: 12px; font-size: 1.2rem; color: var(--branco); }
.step p { color: var(--cinza); font-size: 0.95rem; line-height: 1.5; }

.step-arrow {
  display: flex;
  align-items: center;
  font-size: 2rem;
  color: rgba(255,255,255,0.1);
  font-weight: bold;
}

/* ===== EXEMPLOS ===== */
.exemplos { padding: 100px 0; background: var(--fundo2); }

.exemplos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.exemplo-card {
  background: #000000;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 24px;
  padding: 32px 28px;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.exemplo-card:hover { 
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 107, 0, 0.4);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 30px rgba(255,107,0,0.1);
}

.exemplo-img-container {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.exemplo-img {
  height: 160%;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 0 15px rgba(255,107,0,0.3));
}

.exemplo-icon { 
  font-size: 3rem; 
  margin-bottom: 16px;
  filter: drop-shadow(0 0 10px rgba(255,107,0,0.3));
}

.exemplo-card h4 { margin-bottom: 16px; font-size: 1.1rem; color: var(--branco); }

.chat-bubble {
  background: rgba(10, 10, 10, 0.6);
  border-left: 3px solid var(--laranja);
  padding: 14px 18px;
  border-radius: 0 12px 12px 0;
  font-size: 0.9rem;
  color: #ddd;
  font-style: italic;
  margin-top: auto;
  border: 1px solid rgba(255,255,255,0.05);
  border-left: 3px solid var(--laranja);
}

.exemplos-cta { text-align: center; }

/* ===== DEPOIMENTOS ===== */
.depoimentos {
  padding: 100px 0;
  background: linear-gradient(to bottom, var(--fundo2), var(--fundo));
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.depoimento-card {
  background: rgba(20, 20, 20, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 24px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: all 0.4s;
}

.depoimento-card.destaque {
  border: 1px solid rgba(255, 107, 0, 0.3);
  box-shadow: 0 0 40px rgba(255, 107, 0, 0.08);
  background: rgba(30, 20, 10, 0.4);
}

.depoimento-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }
.depoimento-card.destaque:hover { border-color: rgba(255, 107, 0, 0.6); }

.depoimento-estrelas {
  color: var(--amarelo);
  font-size: 1.1rem;
  letter-spacing: 4px;
}

.depoimento-card p {
  color: #E4E4E8;
  font-size: 1rem;
  line-height: 1.7;
  flex: 1;
}

.depoimento-autor {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
}

.depoimento-avatar {
  width: 48px;
  height: 48px;
  background: var(--gradiente-primario);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--branco);
  box-shadow: 0 4px 10px rgba(255,107,0,0.3);
}

.depoimento-autor strong { display: block; font-size: 1rem; color: var(--branco); }
.depoimento-autor span { font-size: 0.85rem; color: var(--cinza); }

/* ===== PLANOS ===== */
.planos { padding: 100px 0; background: var(--fundo); }

.planos-badge {
  text-align: center;
  display: inline-block;
  width: 100%;
  margin-bottom: 16px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--amarelo);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.planos-grid {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.plano-card {
  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 32px;
  padding: 48px 40px;
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  position: relative;
  transition: all 0.4s;
}

.plano-card.destaque {
  background: linear-gradient(180deg, rgba(30,15,0,0.8) 0%, rgba(15,15,15,0.8) 100%);
  border: 1px solid rgba(255, 107, 0, 0.4);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 40px rgba(255, 107, 0, 0.1);
  transform: scale(1.05);
}

.tag-destaque {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradiente-primario);
  color: var(--branco);
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(255,107,0,0.4);
}

.plano-card h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: var(--cinza);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.plano-card.destaque h3 { color: var(--laranja); }

.preco {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 12px;
}

.moeda { font-size: 1.4rem; font-weight: 800; color: var(--cinza); margin-bottom: 8px; }
.plano-card.destaque .moeda { color: var(--laranja); }

.valor {
  font-family: 'Montserrat', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--branco);
}

.periodo { font-size: 1rem; color: var(--cinza); margin-bottom: 8px; }

.preco-anual { font-size: 0.95rem; color: var(--cinza); margin-bottom: 4px; }
.economia { font-size: 0.9rem; color: var(--amarelo); font-weight: 700; margin-bottom: 32px; }

.plano-features { list-style: none; margin-bottom: 40px; }
.plano-features li {
  padding: 12px 0;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #DDD;
  display: flex;
  align-items: center;
  gap: 12px;
}
.plano-features li:last-child { border-bottom: none; }

.btn-plano {
  display: block;
  text-align: center;
  padding: 18px;
  border-radius: 100px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--branco);
  transition: all 0.3s;
}

.btn-plano:hover { background: rgba(255,255,255,0.1); }

.btn-plano-destaque {
  background: var(--gradiente-primario);
  border: none;
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
}

.btn-plano-destaque:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(255, 107, 0, 0.4); }

/* ===== FAQ ===== */
.faq { padding: 100px 0; background: var(--fundo2); }

.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }

.faq-item {
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item.open { border-color: rgba(255, 107, 0, 0.3); background: rgba(30,20,10,0.3); }

.faq-pergunta {
  width: 100%;
  background: none;
  border: none;
  color: var(--branco);
  padding: 24px 28px;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--laranja);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-item.open .faq-icon { transform: rotate(135deg); } /* Change to X rather than + */

.faq-resposta {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-resposta { max-height: 250px; }

.faq-resposta p {
  padding: 0 28px 24px;
  color: var(--cinza);
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== TRIAL & FORMULÁRIO ===== */
.trial, .cadastro { padding: 100px 0; background: var(--fundo); }

.form-trial, .form-cadastro {
  max-width: 560px;
  margin: 0 auto;
  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 600; font-size: 0.95rem; color: var(--cinza); }
.form-group input {
  width: 100%;
  padding: 16px 20px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--branco);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
  outline: none;
}
.form-group input:focus { border-color: var(--laranja); background: rgba(255,107,0,0.02); box-shadow: 0 0 0 4px rgba(255,107,0,0.1); }
.plano-toggle { display: flex; gap: 12px; }
.toggle-btn {
  flex: 1; padding: 16px; background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; color: var(--cinza); font-family: 'Inter', sans-serif; font-size: 0.9rem;
  font-weight: 600; cursor: pointer; transition: all 0.3s;
}
.toggle-btn.active {
  border-color: var(--laranja); color: var(--branco); background: rgba(255, 107, 0, 0.15);
  box-shadow: inset 0 0 0 1px var(--laranja);
}
.btn-submit, .btn-submit-trial { width: 100%; margin-top: 12px; font-size: 1.1rem; padding: 20px; }
.form-obs { text-align: center; font-size: 0.85rem; color: var(--cinza); margin-top: 16px; }

/* ===== FOOTER ===== */
footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 40px 0; background: var(--fundo); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
footer p { color: var(--cinza); font-size: 0.9rem; }
.footer-links { display: flex; align-items: center; gap: 16px; }
.footer-links a, .footer-links span { color: var(--cinza); font-size: 0.9rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--laranja); }

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
  .plano-card.destaque { transform: scale(1); }
}
@media (max-width: 768px) {
  h2 { font-size: 2rem; }
  .step-arrow { transform: rotate(90deg); margin: 10px 0; }
  .hero-stat-divider { display: none; }
  .hero-stats { gap: 20px; flex-direction: column; }
}
@media (max-width: 600px) {
  .hero { padding: 100px 0 60px; }
  .form-cadastro, .form-trial { padding: 32px 24px; }
  .plano-toggle { flex-direction: column; }
  .footer-inner { justify-content: center; text-align: center; }
  .steps { flex-direction: column; align-items: center; }
  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
}

/* ===== PARALLAX EFFECTS ===== */
.parallax-container {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: -3; /* Always behind */
  overflow: hidden;
}

.parallax-orb {
  position: absolute;
  top: 10%; right: -5%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 184, 0, 0.15), rgba(255, 107, 0, 0.05) 50%, transparent 70%);
  box-shadow: 
    inset 0 0 60px rgba(255, 107, 0, 0.2),
    0 0 120px rgba(255, 107, 0, 0.1);
  filter: blur(20px);
  will-change: transform;
}

.parallax-orb-2 {
  position: absolute;
  top: 60%; left: -10%;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 107, 0, 0.1), transparent 60%);
  filter: blur(40px);
  will-change: transform;
}

/* FIX BLACK BG ON NEW ICONS */
.exemplo-img-container { height: 120px !important; align-items: center !important; justify-content: center !important; }
.exemplo-img { height: 160% !important; mix-blend-mode: lighten !important; filter: none !important; }

/* ===== APPLE STYLE IPHONE SCROLL ===== */
.iphone-mockup {
  width: 320px; height: 660px;
  background: #000;
  border: 14px solid #1f1f1f;
  border-radius: 46px;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.8), inset 0 0 20px rgba(255,255,255,0.1), 0 0 0 2px rgba(255,255,255,0.05);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
@media (max-width: 768px) {
  .iphone-mockup { width: 280px; height: 580px; }
  #scrollText1 { right: auto !important; top: 10% !important; text-align: center; width: 100%; left: 0 !important; }
  #scrollText2 { left: auto !important; top: 85% !important; text-align: center; width: 100%; left: 0 !important; }
}
.iphone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px; background: #1f1f1f;
  border-bottom-left-radius: 18px; border-bottom-right-radius: 18px;
  z-index: 10;
}
.iphone-screen {
  width: 100%; height: 100%;
  background-color: #0b141a; /* WhatsApp escuro background */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.iphone-screen::before {
  content: ''; position: absolute; top:0; left:0; right:0; bottom:0;
  background-image: url('assets/chat-bg.png'); /* Novo wallpaper do WhatsApp */
  background-size: cover; background-position: center;
  opacity: 0.8; /* Mantendo sutil para não esconder muito o padrão */
  z-index: 1;
}

/* Cabeçalho superior estilo WhatsApp */
.whatsapp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1f2c34;
  padding: 10px 16px;
  height: 58px;
  z-index: 10;
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.whatsapp-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-back-btn {
  margin-right: -4px;
}

.whatsapp-profile-pic {
  width: 38px;
  height: 38px;
  background: #dfe5e7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.whatsapp-profile-pic svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-top: 6px;
}

.whatsapp-contact-info {
  display: flex;
  flex-direction: column;
}

.whatsapp-contact-name {
  color: #e9edef;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
}

.whatsapp-contact-status {
  color: #8496a0;
  font-size: 0.8rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.2;
}

.whatsapp-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Container das mensagens simulando chat ao vivo */
.chat-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  height: 100%;
  padding: 16px 16px 72px 16px; /* Espaço inferior para a barra de mensagem */
  position: relative;
  z-index: 2;
  overflow-y: hidden;
}

/* Barra inferior fixa do WhatsApp */
.whatsapp-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1f2c34;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
  box-shadow: 0 -1px 2px rgba(0,0,0,0.2);
}

.whatsapp-input-wrapper {
  flex: 1;
  background: #2a3942;
  border-radius: 24px;
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 12px;
}

.wa-icon {
  color: #8696a0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.wa-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.whatsapp-placeholder {
  flex: 1;
  color: #8696a0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
}

.whatsapp-mic {
  width: 44px;
  height: 44px;
  background: #00a884;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111b21;
  cursor: pointer;
  flex-shrink: 0;
}

.whatsapp-mic svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Bolha base com animação Fade + Slide up */
.chat-msg {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  max-width: 85%;
  padding: 8px 12px;
  font-size: 0.95rem;
  line-height: 1.4;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
  position: relative;
}

.chat-msg.visible {
  opacity: 1;
  transform: translateY(0);
}

.chat-msg strong {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 2px;
  opacity: 0.85;
}

.msg-time {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  float: right;
  margin-left: 12px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.msg-status svg {
  width: 14px;
  height: 14px;
  fill: #53bdeb; /* Cor do check azul do WhatsApp */
}

/* Bolha do Personal (Direita) */
.msg-personal {
  align-self: flex-end;
  background: rgba(30, 30, 30, 0.95);
  border: 1px solid rgba(255, 107, 0, 0.1);
  border-right: 4px solid var(--laranja); /* Bordas laranjas mantidas como solicitado */
  border-radius: 12px 0px 12px 12px; /* Arredondamento realístico */
  color: #fff;
}

.msg-personal strong {
  color: var(--laranja);
}

/* Bolha da IA (Esquerda) */
.msg-ia {
  align-self: flex-start;
  background: rgba(0, 92, 75, 0.95); /* Fundo verde escuro do WhatsApp */
  border: 1px solid rgba(74, 222, 128, 0.1);
  border-radius: 0px 12px 12px 12px; /* Arredondamento realístico */
  color: #fff;
}

.msg-ia strong {
  color: #4ade80;
}
