/* LicitaBR Landing Page — Google Ads → WhatsApp */

:root {
  --navy: #0b1a2e;
  --navy-light: #122640;
  --navy-card: #162d4a;
  --blue-accent: #1e6fd9;
  --blue-glow: rgba(30, 111, 217, 0.25);
  --gold: #f0b429;
  --gold-soft: rgba(240, 180, 41, 0.15);
  --white: #ffffff;
  --gray-100: #e8edf3;
  --gray-300: #94a3b8;
  --gray-500: #64748b;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --whatsapp-glow: rgba(37, 211, 102, 0.35);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container--narrow {
  max-width: 720px;
}

/* Top bar */
.top-bar {
  background: linear-gradient(90deg, var(--blue-accent), #2563eb);
  color: var(--white);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* Hero */
.hero {
  padding: 3rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, var(--blue-glow), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(240, 180, 41, 0.08), transparent),
    var(--navy);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.logo {
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  border: 1px solid rgba(240, 180, 41, 0.3);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.highlight {
  background: linear-gradient(135deg, var(--gold), #fcd34d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--gray-300);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-cta {
  margin-bottom: 2.5rem;
}

.cta-note {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* WhatsApp buttons */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--whatsapp);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  box-shadow: 0 4px 20px var(--whatsapp-glow);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--whatsapp-glow);
}

.btn-whatsapp--lg {
  font-size: 1.0625rem;
  padding: 1rem 2rem;
}

.btn-whatsapp--pulse {
  animation: btn-pulse 2.5s infinite;
}

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 4px 20px var(--whatsapp-glow); }
  50% { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.6); }
}

.icon-wa {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Trust row */
.trust-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-item strong {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--gold);
}

.trust-item span {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Hero visual — chat mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  background: var(--navy-light);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 380px;
  overflow: hidden;
}

.visual-header {
  background: rgba(0, 0, 0, 0.2);
  padding: 0.75rem 1rem;
  display: flex;
  gap: 6px;
}

.visual-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.visual-dot:first-child { background: #ef4444; }
.visual-dot:nth-child(2) { background: #f59e0b; }
.visual-dot:nth-child(3) { background: #22c55e; }

.visual-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.chat-in {
  background: var(--navy-card);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-out {
  background: #075e54;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-typing {
  align-self: flex-end;
  display: flex;
  gap: 4px;
  padding: 0.65rem 0.9rem;
  background: #075e54;
  border-radius: 14px;
  border-bottom-right-radius: 4px;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section--dark {
  background: var(--navy-light);
}

.section--accent {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--gray-300);
  max-width: 560px;
  margin: 0 auto;
}

.lead {
  font-size: 1.0625rem;
  color: var(--gray-300);
  margin-top: 1rem;
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.split h2 {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
}

.solution-box {
  background: var(--navy-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.solution-box h3 {
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
  color: var(--gold);
}

.check-list {
  list-style: none;
  margin-bottom: 1.75rem;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  color: var(--gray-100);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--whatsapp);
  font-weight: 700;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: transform var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 111, 217, 0.3);
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.875rem;
  color: var(--gray-300);
  line-height: 1.55;
}

/* Steps */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: 1.5rem;
}

.step-num {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue-accent), #2563eb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.875rem;
  color: var(--gray-300);
}

.step-arrow {
  font-size: 1.5rem;
  color: var(--gray-500);
  align-self: center;
  padding-top: 1rem;
}

.steps-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* Office section */
.section--office {
  background: var(--navy);
}

.office-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.office-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.office-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
}

.office-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(11, 26, 46, 0.85);
  backdrop-filter: blur(8px);
  color: var(--gray-100);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.office-content h2 {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.office-content .check-list {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

/* Video testimonials */
.video-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.video-testimonial {
  background: var(--navy-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.video-testimonial:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 111, 217, 0.3);
}

.video-wrapper {
  position: relative;
  background: #000;
  line-height: 0;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  display: block;
  background: #000;
}

.video-info {
  padding: 1.125rem 1.25rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.video-info strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.video-info span {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.testimonials-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.125rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-item p {
  padding: 0 1.25rem 1.125rem;
  font-size: 0.875rem;
  color: var(--gray-300);
  line-height: 1.6;
}

/* CTA Final */
.cta-final {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, var(--whatsapp-glow), transparent),
    var(--navy);
  padding-bottom: 5rem;
}

.cta-final h2 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-final p {
  color: var(--gray-300);
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  text-align: center;
}

.logo--sm {
  margin: 0 auto 1rem;
  opacity: 0.9;
}

.footer p {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.footer-copy {
  margin-top: 0.5rem;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--whatsapp);
  color: var(--white);
  padding: 0.875rem 1.25rem;
  border-radius: 100px;
  box-shadow: 0 4px 24px var(--whatsapp-glow);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: float-bounce 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  flex-shrink: 0;
}

.whatsapp-float-label {
  font-weight: 700;
  font-size: 0.9375rem;
  white-space: nowrap;
}

@keyframes float-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-visual {
    order: -1;
  }

  .visual-card {
    max-width: 100%;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .office-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .video-testimonials {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-arrow {
    display: none;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 2rem 0 3rem;
  }

  .section {
    padding: 3rem 0;
  }

  .trust-row {
    gap: 1.25rem;
  }

  .trust-item strong {
    font-size: 1.125rem;
  }

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

  .btn-whatsapp--lg {
    width: 100%;
  }

  .whatsapp-float-label {
    display: none;
  }

  .whatsapp-float {
    padding: 1rem;
    border-radius: 50%;
    bottom: 1.25rem;
    right: 1.25rem;
  }
}
