/* ==========================================
   CASE STUDY COMPONENTS
   ========================================== */

/* Seção Padrão */
.section {
  padding: 6rem 1.5rem;
  position: relative;
  z-index: 1;
}

.section-alt {
  background: rgba(0, 178, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 178, 255, 0.1);
  border: 1px solid rgba(0, 178, 255, 0.3);
  border-radius: 9999px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title { font-size: 3rem; }
}

.section-title .highlight {
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================
   1. HERO DO CASE STUDY
   ========================================== */

.case-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 5rem;
  overflow: hidden;
}

.case-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--background), rgba(0, 178, 255, 0.1));
}

.case-hero-glow {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.case-hero-glow > div {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: pulse-slow 6s ease-in-out infinite;
}

.case-hero-glow-1 {
  top: 10%;
  left: 10%;
  width: 40rem;
  height: 40rem;
  background: rgba(0, 178, 255, 0.15);
}

.case-hero-glow-2 {
  bottom: 10%;
  right: 10%;
  width: 35rem;
  height: 35rem;
  background: rgba(0, 255, 170, 0.15);
  animation-delay: 2s;
}

@keyframes pulse-slow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.1); }
}

.case-hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  text-align: center;
}

/* Mobile adjustments: avoid visual "cut" and make hero full-width on small screens */
@media (max-width: 639px) {
  .case-hero {
    min-height: auto;
    padding-top: 3.5rem;
    padding-bottom: 2rem;
    overflow: visible;
  }

  .case-hero-content {
    max-width: 100%;
    padding: 2rem 1rem;
    margin: 0;
    text-align: left;
  }

  /* Reduce heavy decorative glows that may overflow on small screens */
  .case-hero-glow-1,
  .case-hero-glow-2 {
    display: none;
  }

  /* Ensure container uses full viewport width with small side padding */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Make header compact on mobile to avoid overlapping content */
  .header-content {
    padding: 0.6rem 1rem;
  }
}

/* Make header non-fixed and compact on small screens so it doesn't block content */
@media (max-width: 639px) {
  .header {
    position: relative !important;
    background: linear-gradient(180deg, rgba(8,12,21,0.95), rgba(8,12,21,0.9));
    border-bottom: 1px solid var(--border);
  }

  .header-content {
    padding: 0.5rem 0.75rem !important;
  }

  .logo img {
    height: 28px !important;
    width: auto !important;
  }

  /* Hide non-essential header text on mobile */
  .hide-mobile { display: none !important; }

  /* Ensure main content starts below header (if any fixedness remains) */
  main { margin-top: 0 !important; }
}

/* Extra mobile safety rules to avoid 'half page' layout issues */
@media (max-width: 639px) {
  html, body, main, section {
    width: 100%;
    min-width: 0;
  }

  /* Ensure container uses full width on small screens */
  .container {
    max-width: 100% !important;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Disable any sidebars or panels that may appear */
  aside, .sidebar, .side-panel, .panel-right {
    display: none !important;
  }

  /* Prevent transforms from shifting content off-screen */
  * {
    transform: none !important;
  }

  /* Force images and iframes to fit the viewport */
  img, iframe, video {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Floating elements should not cover main content area */
  .floating-whatsapp, .floating-* {
    right: 0.75rem;
  }
}

.case-hero-title {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .case-hero-title { font-size: 3.5rem; }
}

@media (min-width: 1024px) {
  .case-hero-title { font-size: 4rem; }
}

.case-hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.case-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .case-hero-actions {
    flex-direction: row;
  }
}

.case-hero-image {
  margin-top: 3rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 178, 255, 0.2);
  border: 1px solid rgba(0, 178, 255, 0.2);
}

.case-hero-image img,
.case-hero-image video {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   2. PROBLEMA
   ========================================== */

.problem-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .problem-section {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.problem-content h3 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.problem-list {
  list-style: none;
  space-y: 1rem;
}

.problem-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: rgba(0, 178, 255, 0.05);
  border-left: 3px solid var(--primary);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.problem-item:hover {
  background: rgba(0, 178, 255, 0.1);
  transform: translateX(0.25rem);
}

.problem-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 0.25rem;
}

.problem-text {
  flex: 1;
}

.problem-text strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--foreground);
}

.problem-text span {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.5;
}

.problem-image {
  display: block;
  margin-top: 1.5rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 178, 255, 0.15);
}

@media (min-width: 768px) {
  .problem-image {
    margin-top: 0;
  }
}

.problem-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   3. SOLUÇÃO
   ========================================== */

.solution-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .solution-section {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.solution-section.reversed {
  direction: rtl;
}

.solution-section.reversed > * {
  direction: ltr;
}

.solution-content h3 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.solution-text {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.solution-highlight {
  background: rgba(0, 255, 170, 0.1);
  border: 1px solid rgba(0, 255, 170, 0.3);
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin: 2rem 0;
  border-left: 4px solid var(--accent);
}

.solution-highlight strong {
  color: var(--accent);
}

/* ==========================================
   4. DEMONSTRAÇÃO (VIDEO + INFO)
   ========================================== */

.demo-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 768px) {
  .demo-section {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.demo-video-container {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 20px 60px rgba(0, 178, 255, 0.25);
  border: 1px solid rgba(0, 178, 255, 0.2);
}

.demo-video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.demo-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.demo-summary,
.demo-features,
.demo-tech,
.demo-metrics,
.demo-type {
  padding: 1.5rem;
  background: rgba(0, 178, 255, 0.05);
  border: 1px solid rgba(0, 178, 255, 0.2);
  border-radius: 0.75rem;
}

.demo-summary h4,
.demo-features h4,
.demo-tech h4,
.demo-metrics h4,
.demo-type h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 1rem;
}

.demo-summary p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.demo-features ul,
.demo-tech ul {
  list-style: none;
  space-y: 0.75rem;
}

.demo-features li,
.demo-tech li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
  padding: 0.5rem 0;
}

.demo-features li::before,
.demo-tech li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
  width: 20px;
}

.demo-tech li::before {
  content: "◆";
  color: var(--primary);
}

.metric-stat {
  margin-bottom: 1rem;
}

.metric-stat:last-child {
  margin-bottom: 0;
}

.metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.metric-label {
  display: block;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ==========================================
   5. FLUXOGRAMA / WORKFLOW
   ========================================== */

.workflow-container {
  max-width: 900px;
  margin: 0 auto;
}

.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .workflow-steps {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 3.5rem;
  }
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.workflow-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 178, 255, 0.2), rgba(0, 255, 170, 0.2));
  border: 2px solid rgba(0, 178, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

.workflow-step:nth-child(1) .workflow-icon { animation-delay: 0s; }
.workflow-step:nth-child(2) .workflow-icon { animation-delay: 0.2s; }
.workflow-step:nth-child(3) .workflow-icon { animation-delay: 0.4s; }
.workflow-step:nth-child(4) .workflow-icon { animation-delay: 0.6s; }
.workflow-step:nth-child(5) .workflow-icon { animation-delay: 0.8s; }
.workflow-step:nth-child(6) .workflow-icon { animation-delay: 1s; }
.workflow-step:nth-child(7) .workflow-icon { animation-delay: 1.2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.workflow-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--foreground);
}

.workflow-arrow {
  display: none;
  color: var(--primary);
  font-size: 1.5rem;
  animation: slideRight 2s ease-in-out infinite;
}

@media (min-width: 768px) {
  .workflow-arrow {
    display: block;
  }
}

@keyframes slideRight {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

/* ==========================================
   6. GRID DE FUNCIONALIDADES
   ========================================== */

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 2rem;
  background: rgba(0, 178, 255, 0.05);
  border: 1px solid rgba(0, 178, 255, 0.2);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.feature-card:hover {
  background: rgba(0, 178, 255, 0.1);
  border-color: rgba(0, 178, 255, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 178, 255, 0.15);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(0, 178, 255, 0.2), rgba(0, 255, 170, 0.1));
  border: 1px solid rgba(0, 178, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.feature-description {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ==========================================
   7. ANTES X DEPOIS
   ========================================== */

.comparison-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .comparison-container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.comparison-side {
  border-radius: 1rem;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.comparison-side::before {
  content: attr(data-label);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
}

.comparison-before {
  background: linear-gradient(135deg, rgba(255, 100, 100, 0.1), rgba(255, 100, 100, 0.05));
  border: 1px solid rgba(255, 100, 100, 0.2);
  color: #ff6464;
}

.comparison-before::before {
  content: "❌ ANTES";
  color: #ff6464;
}

.comparison-after {
  background: linear-gradient(135deg, rgba(0, 255, 170, 0.1), rgba(0, 255, 170, 0.05));
  border: 1px solid rgba(0, 255, 170, 0.2);
  color: var(--accent);
}

.comparison-after::before {
  content: "✓ DEPOIS";
  color: var(--accent);
}

.comparison-items {
  list-style: none;
  margin-top: 3rem;
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
}

.comparison-item::before {
  content: "•";
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: -0.25rem;
  flex-shrink: 0;
}

.comparison-before .comparison-item::before {
  color: #ff6464;
}

.comparison-after .comparison-item::before {
  color: var(--accent);
}

/* ==========================================
   8. ESTATÍSTICAS / RESULTADOS
   ========================================== */

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(0, 178, 255, 0.1), rgba(0, 255, 170, 0.05));
  border: 1px solid rgba(0, 178, 255, 0.2);
  border-radius: 0.75rem;
  text-align: center;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out both;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 255, 170, 0.4);
  box-shadow: 0 15px 40px rgba(0, 178, 255, 0.2);
}

.stat-value {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* ==========================================
   9. STACK DE TECNOLOGIAS
   ========================================== */

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 178, 255, 0.1);
  border: 1px solid rgba(0, 178, 255, 0.2);
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--foreground);
  transition: all 0.3s ease;
  cursor: default;
}

.tech-badge:hover {
  background: rgba(0, 178, 255, 0.15);
  border-color: rgba(0, 178, 255, 0.4);
  transform: translateY(-3px);
}

/* ==========================================
   10. GALERIA
   ========================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  position: relative;
  border: 1px solid rgba(0, 178, 255, 0.2);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  border-color: rgba(0, 178, 255, 0.4);
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 178, 255, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ==========================================
   11. BENEFÍCIOS
   ========================================== */

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  padding: 2rem;
  background: rgba(0, 178, 255, 0.05);
  border: 1px solid rgba(0, 178, 255, 0.2);
  border-radius: 0.75rem;
  display: flex;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  background: rgba(0, 178, 255, 0.1);
  border-color: rgba(0, 178, 255, 0.4);
  transform: translateX(5px);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.benefit-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.benefit-content p {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================
   12. FAQ
   ========================================== */

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--foreground);
  background: transparent;
  border: none;
  transition: color 0.3s ease;
  user-select: none;
  padding: 0;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-toggle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 178, 255, 0.1);
  border: 1px solid rgba(0, 178, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: bold;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
  background: var(--primary);
  color: var(--background);
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  margin-top: 1rem;
  padding-left: 2rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  font-size: 0.95rem;
  animation: slideDown 0.3s ease-out;
}

.faq-item.active .faq-answer {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   13. OUTRAS SOLUÇÕES
   ========================================== */

.related-solutions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .related-solutions {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .related-solutions {
    grid-template-columns: repeat(3, 1fr);
  }
}

.solution-card {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(0, 178, 255, 0.2);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.solution-card:hover {
  border-color: rgba(0, 178, 255, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 178, 255, 0.15);
}

.solution-card-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, rgba(0, 178, 255, 0.1), rgba(0, 255, 170, 0.05));
  border-bottom: 1px solid rgba(0, 178, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
}

.solution-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.solution-card-title {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--foreground);
}

.solution-card-description {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.5;
  flex: 1;
}

.solution-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
  margin-top: auto;
  transition: all 0.3s ease;
}

.solution-card-link:hover {
  gap: 1rem;
}

/* ==========================================
   14. CTA FINAL
   ========================================== */

.final-cta {
  text-align: center;
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, rgba(0, 178, 255, 0.1), rgba(0, 255, 170, 0.05));
  border: 1px solid rgba(0, 178, 255, 0.2);
  border-radius: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.final-cta p {
  color: var(--muted-foreground);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.final-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .final-cta-actions {
    flex-direction: row;
  }
}

.final-cta-trust {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  border-top: 1px solid rgba(0, 178, 255, 0.2);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.final-cta-trust strong {
  color: var(--accent);
}

/* ==========================================
   ANIMAÇÕES GERAIS
   ========================================== */

.scroll-animate {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.scroll-animate:nth-child(1) { animation-delay: 0s; }
.scroll-animate:nth-child(2) { animation-delay: 0.2s; }
.scroll-animate:nth-child(3) { animation-delay: 0.4s; }
.scroll-animate:nth-child(4) { animation-delay: 0.6s; }
.scroll-animate:nth-child(5) { animation-delay: 0.8s; }

/* Lazy Loading para imagens */
img[loading="lazy"] {
  background: rgba(0, 178, 255, 0.05);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0%, 100% { background: rgba(0, 178, 255, 0.05); }
  50% { background: rgba(0, 178, 255, 0.1); }
}
