/* ==============================
   LMRX Digital Hub - Static CSS
   Pure HTML/CSS - No frameworks
   ============================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* Utility */
.text-center { text-align: center; }
.text-green { color: #25D366 !important; }
.text-accent { color: #4a8fd4; }
.text-accent-dark { color: #3b6fa0; }

/* ==============================
   HEADER
   ============================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.header-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}

.header-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-subtitle {
  font-size: 10px;
  color: #64748b;
  display: none;
}

/* ==============================
   BUTTONS
   ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-xl {
  padding: 20px 40px;
  font-size: 20px;
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
}
.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-youtube {
  background: transparent;
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.5);
}
.btn-youtube:hover {
  background: rgba(239, 68, 68, 0.1);
}

.btn-text-desktop {
  display: none;
}

/* ==============================
   HERO
   ============================== */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #ffffff;
  padding: 40px 16px;
}

.hero-inner {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.hero-photo {
  flex-shrink: 0;
}

.hero-photo-wrapper {
  position: relative;
}

.hero-avatar {
  width: 192px;
  height: 192px;
  border-radius: 50%;
  border: 4px solid #4a8fd4;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #4a8fd4;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  white-space: nowrap;
}

.hero-content {
  text-align: center;
  flex: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 9999px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
}

.hero-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  text-wrap: balance;
}

.hero-description {
  font-size: 16px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 24px;
  text-wrap: pretty;
}

.hero-cta {
  margin-bottom: 24px;
}

.hero-cta .btn {
  width: 100%;
}

.hero-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  color: #94a3b8;
}

.hero-check {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

/* ==============================
   STATS
   ============================== */
.stats {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 24px 16px;
}

.stats-inner {
  max-width: 1024px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  text-align: center;
}

.stat-value {
  font-size: 20px;
  font-weight: 800;
  color: #2d3a4f;
}

.stat-label {
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
}

/* ==============================
   SECTION HEADERS
   ============================== */
.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  text-wrap: balance;
}

.section-subtitle {
  font-size: 16px;
  color: #475569;
  max-width: 600px;
  margin: 0 auto;
  text-wrap: pretty;
}

/* ==============================
   CASES
   ============================== */
.cases {
  padding: 40px 16px;
}

.cases-inner {
  max-width: 1152px;
  margin: 0 auto;
}

/* Featured Case */
.case-featured {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 12px;
  padding: 20px;
  color: #ffffff;
  margin-bottom: 24px;
  overflow: hidden;
}

.case-featured-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 128px;
  height: 128px;
  background: rgba(37, 211, 102, 0.05);
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.case-featured-content {
  position: relative;
}

.case-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(37, 211, 102, 0.2);
  color: #25D366;
  font-size: 12px;
  font-weight: 700;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.case-featured-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.case-featured-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.case-featured-stat {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

.case-featured-stat-value {
  font-size: 18px;
  font-weight: 700;
}

.case-featured-stat-label {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 4px;
}

.case-featured-desc {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.5;
}

/* Case Cards */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.case-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s ease;
}
.case-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}

.case-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.case-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
  flex-shrink: 0;
}

.case-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.case-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px 8px;
  background: #f8fafc;
  border-radius: 8px;
}

.case-card-stat {
  text-align: center;
}

.case-card-stat-mid {
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
}

.case-card-stat-value {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}

.case-card-stat-label {
  font-size: 10px;
  color: #64748b;
}

.case-card-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
}

/* Measurement */
.measurement-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-bottom: 32px;
}

.measurement-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.measurement-desc {
  font-size: 14px;
  color: #475569;
  margin-bottom: 20px;
}

.measurement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.measurement-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.measurement-item span {
  font-size: 12px;
  color: #334155;
  font-weight: 500;
  text-align: center;
}

.measurement-quote {
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}

.measurement-quote p {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  font-style: italic;
}

/* ==============================
   WHY DIFFERENT
   ============================== */
.why-different {
  background: #f8fafc;
  padding: 40px 16px;
}

.why-inner {
  max-width: 1024px;
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.why-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.why-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(45, 58, 79, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.why-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.why-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
}

/* ==============================
   TESTIMONIALS
   ============================== */
.testimonials {
  padding: 48px 16px;
}

.testimonials-inner {
  max-width: 1024px;
  margin: 0 auto;
}

.testimonials-inner .section-title {
  text-align: center;
  margin-bottom: 32px;
}

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

.testimonial-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
}

.testimonial-quote-icon {
  opacity: 0.3;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 16px;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.testimonial-company {
  font-size: 12px;
  color: #64748b;
}

/* ==============================
   AUTHORITY
   ============================== */
.authority {
  background: #f8fafc;
  padding: 48px 16px;
}

.authority-inner {
  max-width: 896px;
  margin: 0 auto;
}

.authority-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 16px;
  padding: 32px;
  color: #ffffff;
}

.authority-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.authority-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid #4a8fd4;
  object-fit: cover;
  flex-shrink: 0;
}

.authority-content {
  text-align: center;
}

.authority-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.authority-role {
  color: #4a8fd4;
  font-weight: 600;
  margin-bottom: 16px;
}

.authority-text {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 12px;
}

.authority-text strong {
  color: #ffffff;
}

.authority-site {
  font-size: 14px;
  color: #94a3b8;
  display: block;
  margin-bottom: 16px;
}

.authority-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==============================
   FINAL CTA
   ============================== */
.final-cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #ffffff;
  padding: 60px 16px;
}

.final-cta-inner {
  max-width: 768px;
  margin: 0 auto;
  text-align: center;
}

.final-cta-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  text-wrap: balance;
}

.final-cta-subtitle {
  font-size: 18px;
  color: #cbd5e1;
  margin-bottom: 12px;
  line-height: 1.5;
  text-wrap: pretty;
}

.final-cta-desc {
  font-size: 16px;
  color: #94a3b8;
  margin-bottom: 40px;
}

.final-cta-inner .btn-xl {
  margin-bottom: 24px;
}

.final-cta-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  font-size: 14px;
  color: #94a3b8;
  margin-top: 24px;
}

/* ==============================
   FOOTER
   ============================== */
.footer {
  background: #0f172a;
  color: #ffffff;
  padding: 40px 16px;
  border-top: 1px solid #1e293b;
}

.footer-inner {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.footer-name {
  font-size: 14px;
  font-weight: 700;
}

.footer-tagline {
  font-size: 12px;
  color: #94a3b8;
}

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

.footer-legal p {
  font-size: 12px;
  color: #94a3b8;
}

/* ==============================
   WHATSAPP FLOAT
   ============================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  width: 64px;
  height: 64px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}
.whatsapp-float:hover {
  background: #20BA5A;
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-ping {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  background: #ef4444;
  border-radius: 50%;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.whatsapp-ping-static {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  background: #ef4444;
  border-radius: 50%;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* ==============================
   RESPONSIVE - TABLET (640px+)
   ============================== */
@media (min-width: 640px) {
  .header-inner {
    padding: 12px 24px;
  }

  .header-logo {
    width: 40px;
    height: 40px;
  }

  .header-title {
    font-size: 18px;
  }

  .header-subtitle {
    display: block;
    font-size: 12px;
  }

  .btn-text-desktop {
    display: inline;
  }

  /* Hero */
  .hero {
    padding: 64px 24px;
  }

  .hero-avatar {
    width: 256px;
    height: 256px;
  }

  .hero-badge {
    font-size: 14px;
    padding: 6px 16px;
  }

  .hero-tag {
    font-size: 14px;
    padding: 8px 16px;
  }

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

  .hero-description {
    font-size: 18px;
  }

  .hero-cta .btn {
    width: auto;
  }

  .hero-checks {
    flex-direction: row;
    gap: 24px;
    font-size: 14px;
  }

  /* Stats */
  .stats {
    padding: 40px 24px;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .stat-value {
    font-size: 24px;
  }

  .stat-label {
    font-size: 14px;
  }

  /* Cases */
  .cases {
    padding: 64px 24px;
  }

  .case-featured {
    padding: 24px;
  }

  .case-featured-title {
    font-size: 24px;
  }

  .case-featured-stat-value {
    font-size: 24px;
  }

  .case-featured-stat-label {
    font-size: 12px;
  }

  .case-featured-desc {
    font-size: 14px;
  }

  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .case-card-stat-value {
    font-size: 16px;
  }

  .case-card-stat-label {
    font-size: 12px;
  }

  .measurement-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .measurement-item span {
    font-size: 14px;
  }

  /* Why */
  .why-different {
    padding: 64px 24px;
  }

  .why-grid {
    gap: 24px;
  }

  .why-card {
    padding: 24px;
  }

  .why-icon {
    width: 56px;
    height: 56px;
  }

  .why-title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .why-desc {
    font-size: 14px;
  }

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

  /* Authority */
  .authority-buttons {
    flex-direction: row;
  }

  /* Final CTA */
  .final-cta-title {
    font-size: 32px;
  }

  /* Footer */
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-legal {
    text-align: right;
  }
}

/* ==============================
   RESPONSIVE - DESKTOP (1024px+)
   ============================== */
@media (min-width: 1024px) {
  .header-inner {
    padding: 12px 32px;
  }

  /* Hero */
  .hero {
    padding: 96px 32px;
  }

  .hero-inner {
    flex-direction: row;
  }

  .hero-photo {
    order: 2;
  }

  .hero-content {
    order: 1;
    text-align: left;
    flex: 1;
  }

  .hero-avatar {
    width: 280px;
    height: 280px;
  }

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

  .hero-description {
    font-size: 20px;
  }

  .hero-checks {
    justify-content: flex-start;
  }

  .hero-check {
    justify-content: flex-start;
  }

  /* Stats */
  .stat-value {
    font-size: 30px;
  }

  /* Cases */
  .section-title {
    font-size: 32px;
  }

  .case-featured {
    padding: 32px;
  }

  .case-featured-bg {
    width: 192px;
    height: 192px;
  }

  .case-featured-stat-value {
    font-size: 30px;
  }

  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Why */
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Authority */
  .authority-layout {
    flex-direction: row;
  }

  .authority-content {
    text-align: left;
  }

  /* Final CTA */
  .final-cta-title {
    font-size: 36px;
  }

  /* Para quem e grid */
  .para-quem-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Table responsive mobile */
@media (max-width: 640px) {
  table th, table td {
    padding: 10px 8px !important;
    font-size: 12px !important;
  }
}
