/* ============================================================
   SPB TECNOLOGIA - LANDING PAGE STYLES
   ============================================================ */

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

:root {
  --azul-naval: #1B3A5C;
  --cinza-grafite: #3D4F5F;
  --laranja: #E87A2D;
  --branco: #FFFFFF;
  --cinza-claro: #F2F4F6;
  --cinza-medio: #6B7B8D;
  --preto-suave: #1A1A2E;
  --laranja-hover: #D06A20;
  --azul-hover: #15304D;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--preto-suave);
  background-color: var(--branco);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--branco);
  border-bottom: 1px solid var(--cinza-claro);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 2px 12px rgba(27, 58, 92, 0.08);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  overflow: visible;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 280px;
  width: auto;
  margin-left: -44px;
  margin-top: -16px;
  margin-bottom: -16px;
}

.logo-img--footer {
  height: 100px;
  width: auto;
  border-radius: 6px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--azul-naval);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--branco);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo-icon--light {
  background: rgba(255, 255, 255, 0.15);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--azul-naval);
  line-height: 1.2;
}

.logo-name--light {
  color: var(--branco);
}

.logo-tagline {
  font-size: 11px;
  color: var(--cinza-medio);
  line-height: 1.3;
  font-weight: 400;
}

.logo-tagline--light {
  color: rgba(255, 255, 255, 0.7);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--azul-naval);
  text-decoration: none;
  border-radius: 6px;
  letter-spacing: 0.3px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--laranja);
  background: rgba(232, 122, 45, 0.07);
}

.nav-link--cta {
  background: var(--azul-naval);
  color: var(--branco);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-link--cta:hover {
  background: var(--laranja);
  color: var(--branco);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--azul-naval);
}

.menu-toggle .close-icon {
  display: none;
}

.menu-toggle.active .menu-icon {
  display: none;
}

.menu-toggle.active .close-icon {
  display: block;
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--branco);
}

/* Background slideshow */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #0a1e35;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

/* Blue overlay — keeps text legible + grain texture */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(27, 58, 92, 0.75) 0%,
    rgba(10, 30, 55, 0.82) 50%,
    rgba(15, 36, 64, 0.78) 100%
  );
}

.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 150px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 160px 0 100px;
}

.hero-content {
  max-width: 700px;
}

/* Staggered fade-up animations */
.hero-content .hero-title {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease-out 0.2s forwards;
}

.hero-content .hero-subtitle {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease-out 0.5s forwards;
}

.hero-content .hero-actions {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease-out 0.8s forwards;
}

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

.hero-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.highlight {
  color: var(--laranja);
}

/* Typewriter cursor */
.typewriter-cursor {
  display: inline-block;
  color: var(--laranja);
  font-weight: 300;
  animation: blink 0.8s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--laranja);
  color: var(--branco);
}

.btn--primary:hover {
  background: var(--laranja-hover);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--branco);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn--full {
  width: 100%;
}

/* --- SECTIONS --- */
.section {
  padding: 100px 0;
  min-height: 520px;
  position: relative;
  overflow: hidden;
}

/* Grid background para todas as seções (exceto hero) */
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(27, 58, 92, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 58, 92, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section--light {
  background: var(--cinza-claro);
}

/* Grid branco para seções escuras */
.section--dark::before {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
}

.section--dark {
  background: var(--azul-naval);
}

/* --- Scroll reveal (fade-up) --- */
.section .container {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.section.revealed .container {
  opacity: 1;
  transform: translateY(0);
}

/* --- Section titles with blinking cursor --- */
.section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--azul-naval);
  margin-bottom: 12px;
  text-align: center;
}

.section-title::after {
  content: '|';
  display: none;
  color: var(--laranja);
  font-weight: 300;
  animation: blink 0.8s step-end infinite;
  margin-left: 4px;
}

.section-title.typing::after,
.section-title.typed::after {
  display: inline-block;
}

.section-title--light {
  color: var(--branco);
}

.section-title--light::after {
  color: var(--laranja);
}

.section-subtitle {
  font-size: 16px;
  color: var(--cinza-medio);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

/* --- ABOUT --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--cinza-grafite);
  font-size: 16px;
}

.quote {
  margin-top: 24px;
  padding: 16px 20px;
  border-left: 4px solid var(--laranja);
  background: var(--branco);
  font-style: italic;
  color: var(--azul-naval);
  font-size: 17px;
  font-weight: 500;
  border-radius: 0 8px 8px 0;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--branco);
  border-radius: 10px;
  border: 1px solid #E8ECF0;
}

.stat-icon {
  width: 24px;
  height: 24px;
  color: var(--laranja);
  flex-shrink: 0;
  margin-top: 2px;
}

.stat-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--cinza-medio);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.stat-value {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--azul-naval);
}

/* --- CARDS --- */
/* --- PORTFOLIO SLIDER --- */
.portfolio-section {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  min-height: auto;
}

.portfolio-slider {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

/* Track that slides horizontally */
.portfolio-track {
  display: flex;
  height: 100%;
  transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.portfolio-slide {
  flex: 0 0 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video background */
.portfolio-slide video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Overlay */
.portfolio-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 58, 92, 0.85) 0%,
    rgba(27, 58, 92, 0.65) 100%
  );
  z-index: 1;
}

/* Content */
.portfolio-slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 40px 0;
  max-width: 700px;
  width: 100%;
}

/* Fixed section title overlay inside slider */
.portfolio-section-title {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 5;
  text-align: center;
  pointer-events: none;
}

.portfolio-section-title .section-title {
  color: var(--branco);
  margin-bottom: 6px;
}

.portfolio-section-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
}

/* Highlight (marcatexto) style */
.portfolio-slide-label {
  display: inline;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--azul-naval);
  background: var(--laranja);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 16px;
  line-height: 2;
}

.portfolio-slide-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 0;
}

/* Marcatexto no título */
.portfolio-slide-title span {
  background: rgba(27, 58, 92, 0.85);
  color: var(--branco);
  padding: 2px 8px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.portfolio-slide-desc {
  display: none;
}

/* Progress bar */
.portfolio-slide-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--laranja);
  z-index: 3;
}

.portfolio-slide.active .portfolio-slide-progress {
  width: 100%;
  transition: width 7s linear;
}

/* Arrow buttons */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--branco);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(4px);
}

.slider-arrow:hover {
  background: rgba(232, 122, 45, 0.8);
  border-color: var(--laranja);
}

.slider-arrow--prev { left: 24px; }
.slider-arrow--next { right: 24px; }

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0 24px;
  background: var(--branco);
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cinza-medio);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.slider-dot.active {
  background: var(--laranja);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .portfolio-slider { height: 320px; }
  .portfolio-section-title { top: 28px; }
  .portfolio-section-title .section-title { font-size: 26px; }
  .portfolio-slide-content { padding: 60px 24px 0; }
  .portfolio-slide-title { font-size: 22px; }
  .portfolio-slide-label { font-size: 10px; letter-spacing: 1px; }
  .slider-arrow { width: 36px; height: 36px; font-size: 20px; }
  .slider-arrow--prev { left: 8px; }
  .slider-arrow--next { right: 8px; }
}

/* --- FEATURES (Diferenciais) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.feature {
  padding: 28px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--laranja);
  margin-bottom: 12px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--branco);
  margin-bottom: 10px;
}

.feature-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* --- LOGO CAROUSEL (Quem confia na SPB) --- */
.logo-carousel {
  overflow: hidden;
  margin-top: 48px;
  padding: 16px 0;
}

.logo-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: logoScroll 30s linear infinite;
}

.logo-track:hover {
  animation-play-state: paused;
}

.logo-item {
  flex-shrink: 0;
  width: 140px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #D4DAE0;
  border-radius: 8px;
  background: var(--branco);
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter 0.3s, opacity 0.3s;
}

.logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 8px;
}

@keyframes logoScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- CONTACT --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  margin-top: 48px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--cinza-grafite);
  margin-bottom: 6px;
}

.form-input {
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  border: 1px solid #D4DAE0;
  border-radius: 8px;
  background: var(--branco);
  color: var(--preto-suave);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--azul-naval);
  box-shadow: 0 0 0 3px rgba(27, 58, 92, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-info {
  padding: 32px;
  background: var(--cinza-claro);
  border-radius: 12px;
}

.contact-info-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--azul-naval);
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 20px;
  height: 20px;
  color: var(--laranja);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--cinza-medio);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-value {
  font-size: 15px;
  color: var(--azul-naval);
  font-weight: 500;
  text-decoration: none;
}

.contact-value:hover {
  color: var(--laranja);
}

/* --- FOOTER --- */
.footer {
  background: var(--azul-naval);
  padding: 60px 0 32px;
  color: var(--branco);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--branco);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

/* --- RESPONSIVE --- */
@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

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

@media (max-width: 768px) {
  .container {
    padding: 0 32px;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-inner {
    padding: 120px 32px 60px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .section {
    padding: 72px 0;
    min-height: auto;
  }

  .section-title {
    font-size: 24px;
  }

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

  .logo-track {
    gap: 32px;
    animation-duration: 20s;
  }

  .logo-item {
    width: 120px;
    height: 50px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Mobile menu */
  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--branco);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--cinza-claro);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .logo-tagline {
    display: none;
  }
}

/* --- EASTER EGG GAME --- */
.easter-egg-section {
  min-height: auto !important;
  padding: 60px 0 !important;
}

.easter-egg-invite {
  text-align: center;
  font-size: 15px;
  color: var(--cinza-medio);
  margin-bottom: 20px;
}

.game-wrapper {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #E8ECF0;
  background: #fff;
  cursor: pointer;
}

#game-canvas {
  display: block;
  width: 100%;
  height: 160px;
}

.game-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.85);
  transition: opacity 0.3s;
}

.game-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.game-overlay-text {
  font-size: 15px;
  color: var(--azul-naval);
  text-align: center;
  padding: 0 16px;
}

.game-score-label {
  text-align: center;
  font-size: 13px;
  color: var(--cinza-medio);
  margin-top: 10px;
}

/* --- WHATSAPP LEAD WIDGET --- */
.wa-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.wa-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.wa-popup {
  width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  overflow: hidden;
  display: none;
  flex-direction: column;
  animation: waSlideUp 0.25s ease-out;
}

.wa-popup.open {
  display: flex;
}

@keyframes waSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.wa-popup-header {
  background: #25D366;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-popup-header-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-popup-header-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.wa-popup-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.wa-popup-subtitle {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
}

.wa-popup-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.wa-popup-close:hover {
  color: #fff;
}

.wa-popup-body {
  padding: 20px;
  background: #f5f0eb;
}

.wa-popup-msg {
  font-size: 13px;
  color: #555;
  margin-bottom: 16px;
  background: #fff;
  padding: 10px 12px;
  border-radius: 8px;
}

.wa-field {
  margin-bottom: 12px;
}

.wa-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #444;
  margin-bottom: 4px;
}

.wa-field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.wa-field input:focus {
  border-color: #25D366;
}

.wa-submit {
  width: 100%;
  padding: 13px;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  transition: background 0.2s;
}

.wa-submit:hover {
  background: #1db954;
}

.wa-submit:disabled {
  background: #aaa;
  cursor: not-allowed;
}

.wa-lgpd {
  font-size: 11px;
  color: #888;
  text-align: center;
  margin-top: 10px;
  line-height: 1.4;
}

@media (max-width: 480px) {
  .wa-widget {
    bottom: 16px;
    right: 16px;
  }
  .wa-popup {
    width: calc(100vw - 32px);
  }
}
