/* ==========================================================================
   JC DESIGN — DESIGN SYSTEM & STYLESHEET
   Baseado em: design-system-jcisper.md
   ========================================================================== */

:root {
  /* Paleta Principal (Base / Fundo) */
  --bg-primary: #0A1128;       /* Azul-marinho profundo */
  --bg-secondary: #0D1B3E;     /* Azul-noite */
  --bg-card: #111C3A;          /* Azul acinzentado */
  --bg-light: #F4F6FA;         /* Cinza muito claro */
  
  /* Paleta Secundária (Acentos / Marca) */
  --accent-electric: #2E6FF2;  /* Azul elétrico */
  --accent-vivid: #1E90FF;     /* Azul vívido */
  --accent-cyan: #4FC3F7;      /* Ciano néon */
  --accent-violet: #7B5CF0;    /* Violeta */
  
  /* Cores Funcionais */
  --text-dark-bg: #FFFFFF;     /* Texto principal em fundo escuro */
  --text-muted-dark: #B8C4E0;  /* Texto secundário em fundo escuro */
  --text-light-bg: #0A1128;    /* Texto principal em fundo claro */
  --text-muted-light: #4A5568; /* Texto secundário em fundo claro */
  --whatsapp-green: #25D366;  /* Verde oficial WhatsApp */
  --whatsapp-hover: #20BD5A;
  --border-subtle: rgba(42, 59, 95, 0.6);
  --border-glow: rgba(79, 195, 247, 0.3);
  
  /* Gradientes */
  --gradient-primary: linear-gradient(135deg, #1E90FF 0%, #4FC3F7 100%);
  --gradient-glow: linear-gradient(135deg, rgba(30, 144, 255, 0.15) 0%, rgba(79, 195, 247, 0.05) 100%);
  
  /* Tipografia */
  --font-heading: 'Poppins', 'Sora', -apple-system, sans-serif;
  --font-body: 'Inter', 'Manrope', -apple-system, sans-serif;
  
  /* Sombras & Efeitos */
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 25px rgba(79, 195, 247, 0.4);
  --shadow-wa-glow: 0 0 20px rgba(37, 211, 102, 0.5);
  
  /* Espaçamento e Borda */
  --radius-pill: 999px;
  --radius-card: 20px;
  --radius-input: 12px;
  --max-width: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-dark-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Tipografia Utilitária */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
}

p {
  color: var(--text-muted-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Botões & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-align: center;
  min-height: 48px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(79, 195, 247, 0.7);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: var(--shadow-wa-glow);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.7);
}

.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--accent-electric);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background: rgba(46, 111, 242, 0.15);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(30, 144, 255, 0.15);
  border: 1px solid rgba(79, 195, 247, 0.3);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-hero {
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  font-weight: 700;
  padding: 10px 22px;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.22) 0%, rgba(79, 195, 247, 0.12) 100%);
  border: 1.5px solid rgba(79, 195, 247, 0.5);
  box-shadow: 0 0 20px rgba(79, 195, 247, 0.3);
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.badge-hero .badge-highlight {
  display: inline;
  font-weight: 800;
  animation: led-color-shift 3.5s ease-in-out infinite alternate;
}

@keyframes led-color-shift {
  0% {
    color: #4FC3F7;
    text-shadow: 0 0 10px rgba(79, 195, 247, 0.8), 0 0 20px rgba(79, 195, 247, 0.4);
  }
  50% {
    color: #9B78FF;
    text-shadow: 0 0 14px rgba(155, 120, 255, 0.85), 0 0 25px rgba(155, 120, 255, 0.45);
  }
  100% {
    color: #A855F7;
    text-shadow: 0 0 16px rgba(168, 85, 247, 0.9), 0 0 30px rgba(168, 85, 247, 0.5);
  }
}

.badge-dot-pulse {
  width: 10px;
  height: 10px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 12px var(--accent-cyan);
  animation: pulse-dot-cyan 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot-cyan {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(79, 195, 247, 0.8); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(79, 195, 247, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(79, 195, 247, 0); }
}

/* Glow Background Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

/* ==========================================================================
   HEADER / NAVEGAÇÃO
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 20px 0;
  background: rgba(10, 17, 40, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 64px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease, height 0.3s ease;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.header.scrolled .logo img {
  height: 52px;
}

.logo:hover img {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 18px rgba(79, 195, 247, 0.45));
}

.footer-brand .logo img {
  height: 82px;
  max-width: 380px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted-dark);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--accent-cyan);
}

.mobile-nav-cta {
  display: none;
}

.hamburger {
  display: none;
  background: rgba(17, 28, 58, 0.9);
  border: 1.5px solid rgba(79, 195, 247, 0.5);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  z-index: 1005;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 12px rgba(79, 195, 247, 0.2);
}

.hamburger:hover, .hamburger:active {
  border-color: var(--accent-cyan);
  background: rgba(30, 144, 255, 0.25);
}

.hamburger.active .hamburger-icon-open {
  display: none !important;
}

.hamburger.active .hamburger-icon-close {
  display: block !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding: 160px 0 100px 0;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(30, 144, 255, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 20% 70%, rgba(123, 92, 240, 0.1) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-headline {
  margin: 16px 0 20px 0;
  color: #FFFFFF;
}

.hero-headline .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheadline {
  font-size: 1.15rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* Carrossel Infinito Hero (Widgets Marquee) */
.hero-widgets-container {
  width: 100%;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.widgets-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.widgets-marquee-track {
  display: flex;
  width: max-content;
  animation: widgets-marquee 28s linear infinite;
}

.widgets-marquee-wrapper:hover .widgets-marquee-track {
  animation-play-state: paused;
}

.widgets-group {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  flex-shrink: 0;
}

.widget-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
  background: rgba(17, 28, 58, 0.55);
  border: 1px solid rgba(79, 195, 247, 0.25);
  padding: 10px 22px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.widget-item:hover {
  border-color: var(--accent-cyan);
  background: rgba(30, 144, 255, 0.2);
  box-shadow: 0 0 22px rgba(79, 195, 247, 0.35);
  transform: translateY(-2px);
}

.widget-item svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.widget-text {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF;
}

.widget-sub {
  font-size: 0.82rem;
  color: var(--text-muted-dark);
  font-weight: 500;
}

.widget-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  opacity: 0.6;
  flex-shrink: 0;
}

@keyframes widgets-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% / 3));
  }
}

/* Mockup Visual Hero */
.hero-visual {
  position: relative;
  z-index: 2;
}

.browser-mockup {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transition: transform 0.5s ease;
}

.browser-mockup:hover {
  transform: translateY(-5px);
}

.browser-bar {
  background: rgba(13, 27, 62, 0.8);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.browser-url {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: var(--text-muted-dark);
  margin-left: 12px;
  width: 60%;
}

.browser-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.floating-card {
  position: absolute;
  background: rgba(17, 28, 58, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(79, 195, 247, 0.3);
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
  animation: float 4s ease-in-out infinite alternate;
}

.floating-card-1 {
  top: -20px;
  right: -20px;
}

.floating-card-2 {
  bottom: 20px;
  left: -20px;
  animation-delay: 2s;
}

@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* ==========================================================================
   SEÇÕES GERAIS E LAYOUTS
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background-color: var(--bg-primary);
}

.section-noite {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px auto;
}

.section-header p {
  font-size: 1.1rem;
  margin-top: 16px;
}

/* ==========================================================================
   SEÇÃO 2: DOR E AGITAÇÃO
   ========================================================================== */
.section-empresa {
  position: relative;
  background-image: linear-gradient(rgba(10, 17, 40, 0.40), rgba(10, 17, 40, 0.60)), url('empresa.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card-pain {
  background: rgba(17, 28, 58, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card-pain::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: rgba(255, 95, 86, 0.6);
  opacity: 0.5;
  transition: opacity 0.3s;
}

.card-pain:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 95, 86, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.card-pain:hover::before {
  opacity: 1;
}

.icon-box-danger {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 95, 86, 0.1);
  color: #FF5F56;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-pain h3 {
  color: #FFFFFF;
  margin-bottom: 12px;
}

/* ==========================================================================
   SEÇÃO 3: SOLUÇÃO / PILARES
   ========================================================================== */
.section-servicos {
  position: relative;
  background-image: linear-gradient(rgba(10, 17, 40, 0.35), rgba(10, 17, 40, 0.65)), url('fundo_processo.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card-solution {
  background: rgba(17, 28, 58, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: all 0.3s ease;
}

.card-solution:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow);
}

.icon-box-primary {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient-glow);
  border: 1px solid rgba(79, 195, 247, 0.3);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-solution h3 {
  color: #FFFFFF;
  margin-bottom: 12px;
}

/* ==========================================================================
   SEÇÃO 4: PROCESSO DE CRIAÇÃO
   ========================================================================== */
.section-processo {
  position: relative;
  background-image: linear-gradient(rgba(10, 17, 40, 0.35), rgba(10, 17, 40, 0.65)), url('processo_cria.png');
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  position: relative;
}

.process-step {
  background: rgba(13, 27, 62, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  position: relative;
  transition: all 0.3s ease;
}

.process-step:hover {
  border-color: var(--accent-electric);
  transform: translateY(-5px);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(30, 144, 255, 0.2);
  position: absolute;
  top: 16px;
  right: 20px;
}

.step-title {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin: 16px 0 10px 0;
}

/* ==========================================================================
   SEÇÃO 5: PORTFÓLIO / CARROSSEL INFINITO
   ========================================================================== */
.portfolio-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0 40px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.portfolio-carousel-track {
  display: flex;
  width: max-content;
  animation: marquee-infinite 36s linear infinite;
}

.portfolio-carousel-wrapper:hover .portfolio-carousel-track {
  animation-play-state: paused;
}

.carousel-group {
  display: flex;
  gap: 32px;
  padding-right: 32px;
  flex-shrink: 0;
}

.portfolio-card {
  width: 380px;
  flex-shrink: 0;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

.portfolio-img-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #0A1128;
}

.portfolio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img-wrapper img {
  transform: scale(1.05);
}

.portfolio-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-info h3 {
  color: #FFFFFF;
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.portfolio-tag {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

@keyframes marquee-infinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% / 3));
  }
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ==========================================================================
   SEÇÃO 6: DEPOIMENTOS
   ========================================================================== */
.section-depoimentos {
  background: linear-gradient(135deg, #132A5E 0%, #1D4294 50%, #152E68 100%);
  position: relative;
  box-shadow: inset 0 0 80px rgba(30, 144, 255, 0.15);
}

/* Testimonials Carousel Wrapper */
.testimonials-carousel-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.testimonials-slider {
  position: relative;
  width: 100%;
  min-height: 240px;
}

.card-testimonial {
  background: rgba(10, 17, 40, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(79, 195, 247, 0.3);
  border-radius: var(--radius-card);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-testimonial.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px) scale(0.97);
  box-sizing: border-box;
}

.card-testimonial.slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
}

.card-testimonial:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.carousel-btn {
  background: rgba(17, 28, 58, 0.85);
  border: 1.5px solid rgba(79, 195, 247, 0.35);
  color: var(--accent-cyan);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 5;
}

.carousel-btn:hover {
  background: var(--accent-cyan);
  color: #0A1128;
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dots .dot.active {
  width: 32px;
  border-radius: 6px;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(79, 195, 247, 0.6);
}

@media (max-width: 768px) {
  .testimonials-carousel-wrapper {
    gap: 8px;
  }
  .carousel-btn {
    width: 38px;
    height: 38px;
  }
  .card-testimonial {
    padding: 24px;
  }
}

.stars {
  color: #FFBD2E;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 24px;
  color: #E2E8F0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #FFFFFF;
}

.client-details h4 {
  color: #FFFFFF;
  font-size: 1rem;
}

.client-details p {
  font-size: 0.85rem;
  color: var(--text-muted-dark);
}

/* ==========================================================================
   SEÇÃO 7: FAQ (SANFONA / ACCORDION)
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.active {
  border-color: var(--accent-cyan);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  background: none;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--accent-cyan);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 24px 22px 24px;
}

.faq-answer p {
  color: var(--text-muted-dark);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   SEÇÃO 8: CTA FINAL & CONTATO
   ========================================================================== */
.cta-box {
  background: linear-gradient(135deg, rgba(13, 27, 62, 0.95) 0%, rgba(17, 28, 58, 0.98) 100%);
  border: 1px solid rgba(79, 195, 247, 0.35);
  border-radius: 28px;
  padding: 50px 60px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(79, 195, 247, 0.12);
  overflow: hidden;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.cta-content {
  text-align: left;
  z-index: 2;
}

.cta-content h2 {
  color: #FFFFFF;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-muted-dark);
  margin: 0 0 28px 0;
  max-width: 520px;
}

.cta-action {
  margin-bottom: 10px;
}

.contact-details {
  display: flex;
  justify-content: flex-start;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted-dark);
}

.contact-item svg {
  color: var(--accent-cyan);
}

.contact-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--whatsapp-green);
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-phone-link:hover {
  color: var(--whatsapp-hover);
  transform: translateY(-1px);
  text-shadow: 0 0 12px rgba(37, 211, 102, 0.4);
}

.contact-phone-link svg.wa-icon {
  fill: var(--whatsapp-green);
  transition: transform 0.3s ease;
}

.contact-phone-link:hover svg.wa-icon {
  transform: scale(1.15);
}

/* Destaque da Imagem do Especialista */
.cta-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cta-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 360px;
  border-radius: 24px;
  padding: 6px;
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.6) 0%, rgba(46, 111, 242, 0.25) 100%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 35px rgba(79, 195, 247, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cta-image-wrapper:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.6), 0 0 50px rgba(79, 195, 247, 0.5);
}

.cta-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  display: block;
}

.cta-image-badge {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 17, 40, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(79, 195, 247, 0.5);
  color: #FFFFFF;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.badge-dot {
  width: 10px;
  height: 10px;
  background-color: var(--whatsapp-green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--whatsapp-green);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   RODAPÉ (FOOTER)
   ========================================================================== */
.footer {
  background: #060B1B;
  padding: 60px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1.6fr 1.3fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted-dark);
  font-size: 0.85rem;
}

/* ==========================================================================
   BOTÃO FLUTUANTE WHATSAPP
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: 24px;
  width: 58px;
  height: 58px;
  background-color: var(--whatsapp-green);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-wa-glow);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: pulse-wa 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: var(--whatsapp-hover);
}

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
  /* Container & Seções */
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 70px 0;
  }

  .section-header {
    margin-bottom: 44px;
  }

  /* Header & Mobile Menu Drawer */
  .header {
    padding: 14px 0;
  }

  .header.scrolled {
    padding: 10px 0;
  }

  .logo img {
    height: 48px;
    max-width: 220px;
  }

  .header.scrolled .logo img {
    height: 40px;
  }

  .hamburger {
    display: flex !important;
    background: rgba(17, 28, 58, 0.7);
    border: 1px solid rgba(79, 195, 247, 0.4);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  .header-cta {
    display: none !important;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 17, 40, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(79, 195, 247, 0.25);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 85px 28px 40px 28px;
    gap: 16px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.85);
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.2s ease, padding-left 0.2s ease;
  }

  .nav-link:hover, .nav-link:active {
    color: var(--accent-cyan);
    padding-left: 6px;
  }

  .mobile-nav-cta {
    display: block;
    margin-top: 16px;
  }

  .mobile-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  body.menu-open {
    overflow: hidden;
  }

  /* Hero Grid & Layout */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-ctas {
    justify-content: center;
  }

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

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .cta-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-details {
    justify-content: center;
  }

  .cta-image-wrapper {
    max-width: 320px;
  }

  .cta-image {
    height: 350px;
  }
}

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

  .section {
    padding: 60px 0;
  }

  .logo img {
    height: 44px;
    max-width: 200px;
  }

  .header.scrolled .logo img {
    height: 38px;
  }

  /* Hero Section */
  .hero {
    padding: 110px 0 50px 0;
  }

  .hero-headline {
    font-size: clamp(1.75rem, 7vw, 2.4rem);
    line-height: 1.25;
  }

  .hero-subheadline {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

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

  /* Hero Visual & Floating Cards */
  .hero-visual {
    margin-top: 10px;
  }

  .floating-card {
    padding: 10px 14px;
    gap: 8px;
    font-size: 0.8rem;
    max-width: calc(100% - 20px);
  }

  .floating-card-1 {
    top: -12px;
    right: 0px;
  }

  .floating-card-2 {
    bottom: -12px;
    left: 0px;
  }

  /* Hero Widgets Marquee no Mobile */
  .hero-widgets-container {
    margin-top: 36px;
    padding-top: 18px;
  }

  .widgets-group {
    gap: 20px;
    padding-right: 20px;
  }

  .widget-item {
    padding: 8px 16px;
    gap: 8px;
  }

  .widget-title {
    font-size: 0.82rem;
  }

  .widget-sub {
    font-size: 0.75rem;
  }

  /* Carrossel de Cards por Toque no Mobile (Dor, Solução e Processo) */
  .pain-grid, .solution-grid, .process-timeline {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    margin-left: -18px;
    margin-right: -18px;
    padding: 6px 18px 24px 18px;
    scrollbar-width: none;
  }

  .pain-grid::-webkit-scrollbar,
  .solution-grid::-webkit-scrollbar,
  .process-timeline::-webkit-scrollbar {
    display: none;
  }

  .card-pain, .card-solution, .process-step {
    flex: 0 0 85% !important;
    max-width: 320px !important;
    min-width: 260px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    padding: 28px 22px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  }

  /* Portfolio Marquee */
  .portfolio-card {
    width: 290px;
  }

  .portfolio-img-wrapper {
    height: 200px;
  }

  .carousel-group {
    gap: 16px;
    padding-right: 16px;
  }

  .portfolio-info {
    padding: 18px;
  }

  /* Testimonials Slider */
  .testimonials-carousel-wrapper {
    flex-direction: column;
    gap: 16px;
  }

  .testimonials-slider {
    min-height: auto;
  }

  .carousel-btn {
    display: none;
  }

  .card-testimonial {
    padding: 24px 18px;
  }

  .testimonial-text {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  /* FAQ Section */
  .faq-question {
    padding: 18px 16px;
    font-size: 0.98rem;
    gap: 12px;
  }

  .faq-answer p {
    font-size: 0.9rem;
  }

  /* CTA Final */
  .cta-box {
    padding: 32px 18px;
    border-radius: 20px;
  }

  .cta-content h2 {
    font-size: 1.55rem;
  }

  .cta-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .cta-action .btn {
    width: 100%;
    font-size: 0.95rem !important;
    padding: 14px 16px !important;
  }

  .contact-details {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .cta-image-wrapper {
    max-width: 270px;
  }

  .cta-image {
    height: 300px;
  }

  .cta-image-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
    white-space: normal;
    text-align: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  /* WhatsApp Floating Button */
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: 16px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.65rem;
  }
  .social-proof-bar {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .portfolio-card {
    width: 260px;
  }
  .cta-box {
    padding: 24px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
