/* ============================================================
   SeuBizu — styles
   ============================================================ */

:root {
  --blue-950: #000D33;
  --blue-900: #001A5E;
  --blue-800: #002B8A;
  --blue-700: #0033A0;
  --blue-600: #0047CC;
  --blue-400: #6b93e8;
  --blue-300: #93b4f0;
  --blue-200: #bdd0f7;
  --green-500: #25D366;
  --green-600: #1DA851;
  --green-400: #4de088;
  --green-300: #7beaa5;
  --white:    #ffffff;
  --font: "Inter", system-ui, sans-serif;
  --max-w: 1152px;
  --px: 1rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-full: 9999px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--blue-950); color: var(--white); }
img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; }

/* ---- Container ---- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

/* ================================================================
   HEADER
   ================================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 26, 94, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 43, 138, 0.5);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
}
.logo {
  font-size: 1.5rem;
  font-weight: 900;
  font-style: italic;
  color: var(--white);
  user-select: none;
}
.logo span { color: var(--green-500); }

.nav { display: none; align-items: center; gap: 1.5rem; }
.nav a {
  font-size: 0.875rem;
  color: var(--blue-200);
  transition: color 0.15s;
}
.nav a:hover { color: var(--white); }
.btn-wa-sm {
  margin-left: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--green-500);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: background 0.15s;
  white-space: nowrap;
}
.btn-wa-sm:hover { background: var(--green-600); }

.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.25rem;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  background: var(--blue-900);
  border-top: 1px solid rgba(0, 43, 138, 0.5);
  padding: 1rem var(--px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--blue-200);
  transition: color 0.15s;
}
.mobile-menu a:hover { color: var(--white); }
.btn-wa-mobile {
  padding: 0.5rem 1rem;
  background: var(--green-500);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: background 0.15s;
  text-align: center;
}
.btn-wa-mobile:hover { background: var(--green-600); }

@media (min-width: 768px) {
  .nav { display: flex; }
  .hamburger { display: none; }
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  background: linear-gradient(to bottom, var(--blue-900), var(--blue-800));
  padding-block: 4rem;
}
.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: center;
  padding: 0.25rem 0.75rem;
  background: rgba(37, 211, 102, 0.2);
  border: 1px solid rgba(37, 211, 102, 0.4);
  border-radius: var(--radius-full);
  color: var(--green-400);
  font-size: 0.875rem;
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
}
.hero h1 .accent { color: var(--green-500); }
.hero__desc {
  color: var(--blue-200);
  font-size: 1.125rem;
  line-height: 1.65;
}
.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--green-500);
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--green-600); animation: none !important; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: border-color 0.15s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.6); }
.hero__sub { color: var(--blue-300); font-size: 0.875rem; }

/* Phone mockup */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 288px;
  background: #f3f4f6;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  border: 4px solid #1f2937;
  flex-shrink: 0;
}
.phone__status {
  background: #1f2937;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
}
.phone__header {
  background: #16a34a;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.phone__avatar {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--blue-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-style: italic;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.phone__avatar .s { color: var(--white); }
.phone__avatar .b { color: var(--green-400); }
.phone__name { color: var(--white); font-size: 0.875rem; font-weight: 700; line-height: 1.2; }
.phone__online { color: #bbf7d0; font-size: 0.75rem; }
.chat {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 420px;
  background: #e5ddd5;
  overflow-y: scroll;
  scrollbar-width: none;
}
.chat::-webkit-scrollbar { display: none; }

/* Chat bubbles */
.msg { display: flex; }
.msg.from-user { justify-content: flex-end; }
.msg.from-bot  { justify-content: flex-start; }
.bubble {
  max-width: 85%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.5;
  white-space: pre-line;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
  color: #1f2937;
}
.bubble.user { background: #dcfce7; border-top-right-radius: 2px; }
.bubble.bot  { background: var(--white); border-top-left-radius: 2px; }

/* Audio bubble */
.audio-bubble {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #dcfce7;
  border-radius: 0.75rem;
  border-top-right-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
  min-width: 160px;
}
.audio-play {
  width: 1.75rem;
  height: 1.75rem;
  background: var(--green-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.audio-play svg { width: 0.75rem; height: 0.75rem; color: var(--white); fill: currentColor; }
.waveform {
  display: flex;
  align-items: flex-end;
  gap: 1px;
  flex: 1;
  height: 20px;
}
.waveform span {
  background: var(--green-500);
  border-radius: 9999px;
  flex: 1;
  opacity: 0.8;
}
.audio-dur { color: #6b7280; font-size: 0.75rem; flex-shrink: 0; }

/* Image bubble */
.img-bubble {
  border-radius: 0.75rem;
  border-top-right-radius: 2px;
  overflow: hidden;
  background: #dcfce7;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
  width: 140px;
}
.img-bubble img { width: 100%; height: 110px; object-fit: cover; }
.img-bubble p { padding: 0.25rem 0.5rem; color: #6b7280; font-size: 0.65rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Typing dots */
.typing-dots {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  background: var(--white);
  border-radius: 0.75rem;
  border-top-left-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}
.typing-dots span {
  width: 0.5rem;
  height: 0.5rem;
  background: #9ca3af;
  border-radius: 50%;
  animation: typingBounce 1.2s infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@media (min-width: 768px) {
  .hero { padding-block: 6rem; }
  .hero__grid { grid-template-columns: 1fr 1fr; }
  .badge { align-self: flex-start; }
  .hero__ctas { flex-direction: row; }
}

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.how {
  background: var(--blue-950);
  padding-block: 4rem;
}
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
}
.section-header p { color: var(--blue-300); font-size: 1.125rem; max-width: 40rem; margin-inline: auto; }

.cards-3 { display: grid; gap: 1.5rem; }
.card {
  background: rgba(0, 26, 94, 0.6);
  border: 1px solid rgba(0, 43, 138, 0.5);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transition: border-color 0.2s;
}
.card:hover { border-color: rgba(0, 51, 160, 0.8); }
.card__icon {
  width: 4rem;
  height: 4rem;
  background: var(--blue-800);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.card__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.step-num {
  width: 1.5rem;
  height: 1.5rem;
  background: var(--green-500);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card__title h3 { color: var(--white); font-weight: 700; font-size: 1.125rem; }
.card p { color: var(--blue-300); font-size: 0.875rem; line-height: 1.6; }

@media (min-width: 768px) {
  .how { padding-block: 6rem; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ================================================================
   BENEFITS
   ================================================================ */
.benefits {
  background: var(--blue-900);
  padding-block: 4rem;
}
.cards-6 { display: grid; gap: 1.25rem; }
.benefit-card {
  background: rgba(0, 13, 51, 0.6);
  border: 1px solid rgba(0, 43, 138, 0.4);
  border-radius: var(--radius-2xl);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color 0.2s;
}
.benefit-card:hover { border-color: rgba(0, 51, 160, 0.7); }
.benefit-card .emoji { font-size: 1.875rem; flex-shrink: 0; }
.benefit-card h3 { color: var(--white); font-weight: 700; margin-bottom: 0.25rem; }
.benefit-card p { color: var(--blue-300); font-size: 0.875rem; line-height: 1.5; }

@media (min-width: 640px)  { .benefits { padding-block: 5rem; } .cards-6 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits { padding-block: 6rem; } .cards-6 { grid-template-columns: repeat(3, 1fr); } }

/* ================================================================
   FAQ
   ================================================================ */
.faq {
  background: var(--blue-950);
  padding-block: 4rem;
}
.faq-grid { display: grid; gap: 1rem; max-width: 56rem; margin-inline: auto; }
.faq-card {
  background: rgba(0, 26, 94, 0.5);
  border: 1px solid rgba(0, 43, 138, 0.4);
  border-radius: var(--radius-2xl);
  padding: 1.25rem;
  transition: border-color 0.2s;
}
.faq-card:hover { border-color: rgba(0, 51, 160, 0.7); }
.faq-card h3 { color: var(--white); font-weight: 700; margin-bottom: 0.5rem; display: flex; align-items: flex-start; gap: 0.5rem; }
.faq-card h3 .q-mark { color: var(--green-500); flex-shrink: 0; }
.faq-card p { color: var(--blue-300); font-size: 0.875rem; line-height: 1.6; padding-left: 1.25rem; }

@media (min-width: 640px) { .faq { padding-block: 6rem; } .faq-grid { grid-template-columns: repeat(2, 1fr); } }

/* ================================================================
   FOOTER
   ================================================================ */
.footer { background: var(--blue-950); border-top: 1px solid var(--blue-900); }

.cta-band {
  background: linear-gradient(to right, var(--blue-800), var(--blue-900));
  padding-block: 3.5rem;
}
.cta-band__inner {
  max-width: 42rem;
  margin-inline: auto;
  padding-inline: var(--px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.cta-band h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--white);
}
.cta-band p { color: var(--blue-200); font-size: 1.125rem; }
.btn-cta {
  padding: 1rem 2rem;
  background: var(--green-500);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: background 0.15s;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.btn-cta:hover { background: var(--green-600); }

.footer-cols {
  display: grid;
  gap: 2rem;
  padding-block: 2.5rem;
}
.footer-cols .logo-col .logo { font-size: 1.5rem; margin-bottom: 0.75rem; }
.footer-cols .logo-col p { color: var(--blue-400); font-size: 0.875rem; line-height: 1.6; }
.footer-cols h4 {
  color: var(--white);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.footer-cols ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-cols ul a { color: var(--blue-400); font-size: 0.875rem; transition: color 0.15s; }
.footer-cols ul a:hover { color: var(--white); }
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green-400);
  font-size: 0.875rem;
  transition: color 0.15s;
}
.contact-link:hover { color: var(--green-300); }
.contact-link svg { width: 1rem; height: 1rem; fill: currentColor; }

.footer-bottom {
  border-top: 1px solid var(--blue-900);
  padding: 1rem var(--px);
  text-align: center;
}
.footer-bottom p { color: #3b5aad; font-size: 0.75rem; }

@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(4, 1fr); } }

/* ================================================================
   LEGAL PAGES (privacidade.html, termos.html)
   ================================================================ */
.legal {
  min-height: 100vh;
  background: var(--blue-950);
  padding-block: 4rem;
}
.legal .back-link {
  display: inline-block;
  color: var(--green-400);
  font-size: 0.875rem;
  margin-bottom: 2rem;
  transition: color 0.15s;
}
.legal .back-link:hover { color: var(--green-300); }
.legal h1 { font-size: 1.875rem; font-weight: 900; color: var(--white); margin-bottom: 0.5rem; }
.legal .date { color: var(--blue-400); font-size: 0.875rem; margin-bottom: 2.5rem; }
.legal-sections { display: flex; flex-direction: column; gap: 2rem; color: var(--blue-200); line-height: 1.7; }
.legal-sections section h2 { color: var(--white); font-weight: 700; font-size: 1.125rem; margin-bottom: 0.5rem; }
.legal-sections strong { color: var(--white); }
.legal-sections ul { list-style: disc; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.25rem; margin-top: 0.5rem; }
.legal-sections a { color: var(--green-400); transition: color 0.15s; }
.legal-sections a:hover { color: var(--green-300); }
.legal-sections p + p { margin-top: 0.75rem; }

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}
@keyframes msgPop {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.msg-pop { animation: msgPop 0.25s ease-out forwards; }

@keyframes ring {
  0%   { transform: translateX(0); }
  10%  { transform: translateX(-3px); }
  20%  { transform: translateX(3px); }
  30%  { transform: translateX(-2px); }
  40%  { transform: translateX(2px); }
  50%  { transform: translateX(-1px); }
  60%  { transform: translateX(1px); }
  70%, 100% { transform: translateX(0); }
}
@keyframes ringPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); }
  60%  { box-shadow: 0 0 0 10px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.btn-ring {
  animation: ring 3.5s ease-in-out infinite, ringPulse 3.5s ease-out infinite;
}
.btn-ring:hover { animation: none; }
