/* --- Maicon Soluções Elétricas Style Sheet --- */

/* Theme Variables */
:root {
  --primary-green: #25D366;
  --primary-green-hover: #20BD5C;
  --gold: #f7c912;
  --light-gold: #fcfc03;
  --bg-dark: #020820;
  --bg-dark-blue: #031232;
  --bg-deep-slate: #010610;
  --bg-card: #0a1f38;
  --bg-card-hover: #102a4e;
  --text-white: #ffffff;
  --text-gray-light: #e5e7eb;
  --text-gray-muted: #9ca3af;
  --font-sans: 'Montserrat', sans-serif;
  --border-glow: rgba(247, 201, 18, 0.15);
  --border-glow-hover: rgba(247, 201, 18, 0.35);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 0 20px rgba(37, 211, 102, 0.25);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-deep-slate);
  color: var(--text-white);
  line-height: 1.6;
  scroll-behavior: smooth;
  height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-image: linear-gradient(135deg, var(--bg-dark-blue) 0%, var(--bg-dark) 50%, var(--bg-deep-slate) 100%);
  background-attachment: fixed;
  background-color: var(--bg-deep-slate);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  font-family: inherit;
  font-size: 100%;
  border: none;
  background: none;
  outline: none;
  cursor: pointer;
}

input, textarea, select {
  font-family: inherit;
  outline: none;
}

/* Layout Utilities (Desktop-First / Fluid Responsive Grid) */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section {
  padding: 80px 0;
  position: relative;
}

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

.grid {
  display: grid;
  gap: 32px;
}

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

@media (max-width: 992px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-1 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .sm\:grid-cols-1 { grid-template-columns: 1fr; }
  .grid-cols-2, .grid-cols-3 { grid-template-columns: 1fr !important; }
}

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-col { flex-direction: column; }
.gap-4 { gap: 16px; }
.gap-8 { gap: 32px; }

/* Text & Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-break: break-word;
}

h1 {
  font-size: clamp(28px, 5vw, 48px);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--light-gold) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

h3 {
  font-size: clamp(20px, 3vw, 24px);
  margin-bottom: 12px;
}

p {
  color: var(--text-gray-light);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

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

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

/* Gradients & Highlights */
.gradient-highlight {
  background: linear-gradient(90deg, var(--gold) 0%, var(--light-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background-color: rgba(247, 201, 18, 0.1);
  border: 1px solid var(--border-glow);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(2, 8, 32, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

header.scrolled {
  background-color: rgba(2, 8, 32, 0.95);
  border-bottom: 1px solid var(--border-glow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding-top: 10px;
  padding-bottom: 10px;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (min-width: 993px) {
  .header-container {
    padding-left: 120px !important;
    padding-right: 120px !important;
  }
}

@media (max-width: 992px) {
  .header-container {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

@media (max-width: 576px) {
  .header-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

.logo-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 40px;
  max-height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-separator {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.72rem;
  font-weight: 300;
  pointer-events: none;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex-wrap: nowrap;
}

.nav-link {
  color: var(--text-gray-light);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 5px;
  border-radius: 6px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal !important;
  word-break: normal;
  overflow-wrap: normal;
  line-height: 1.15;
  max-width: 85px;
  letter-spacing: -0.01em;
}

.nav-menu .cta-button {
  font-size: 0.75rem !important;
  padding: 8px 12px !important;
  white-space: nowrap;
  flex-shrink: 0;
}

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

.nav-link.active {
  color: var(--gold);
  font-weight: 700;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link.active::after, .nav-link:hover::after {
  width: 80%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  border-radius: 99px;
  transition: var(--transition);
}

@media (max-width: 992px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(101%);
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: rgba(1, 6, 16, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    border-left: 1px solid var(--border-glow);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    padding: 70px 24px 24px;
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-separator {
    display: none;
  }

  .nav-link {
    font-size: 1rem;
    width: 100%;
    max-width: none !important;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    text-align: center;
    line-height: 1.35;
  }

  .nav-menu .cta-button {
    width: 100%;
    max-width: none !important;
    margin-top: 8px;
    box-sizing: border-box;
    font-size: 0.9rem !important;
    padding: 12px 20px !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    text-align: center;
    line-height: 1.35;
  }

  .mobile-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scale(0.5);
  }

  .mobile-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Button & CTAs */
@keyframes cta-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
  white-space: normal;
  text-align: center;
  word-break: break-word; /* fallback */
  overflow-wrap: break-word;
  animation: cta-pulse 2.5s infinite ease-in-out;
  will-change: transform;
}

.cta-button svg {
  flex-shrink: 0;
}

.cta-whatsapp {
  background-color: var(--primary);
  color: var(--text-white);
  background-color: #25D366;
  box-shadow: var(--shadow-glow);
}

.cta-whatsapp:hover {
  background-color: #20BD5C;
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.5);
}

.cta-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
}

.cta-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

@media (max-width: 576px) {
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  .btn-group .cta-button {
    width: 100%;
  }
}

/* Hero Section */
.hero-wrapper {
  position: relative;
  height: 100dvh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  box-sizing: border-box;
  overflow: hidden;
  margin: 0;
  padding: 0;

  /* CSS variables to allow page-specific background image customization! */
  --hero-bg-desktop: url('https://i.ibb.co/HDPbHyd4/desktop1.webp');
  --hero-bg-mobile: url('https://i.ibb.co/v4bJpBwN/mobile1.webp');
}

/* Remove all overlays completely on desktop & mobile */
.hero-wrapper::before,
.hero-wrapper::after,
.hero-bg,
.glowing-circle {
  display: none !important;
  content: none !important;
  background: none !important;
  background-color: transparent !important;
  opacity: 0 !important;
  filter: none !important;
  backdrop-filter: none !important;
}

/* Desktop Hero Setup */
@media (min-width: 993px) {
  .hero-wrapper {
    background-image: var(--hero-bg-desktop) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-left: 120px !important;
    padding-right: 120px !important;
    background-color: transparent !important;
  }

  .hero-content-wrapper {
    width: 650px; /* controlled width for ultrawide */
    max-width: 100%;
    z-index: 10;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    height: 100%;
  }

  .hero-inner-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px; /* reduced gap to fit well in 100dvh */
  }

  .hero-inner-content .badge {
    align-self: flex-start;
    margin-bottom: 2px;
  }

  .hero-inner-content h1 {
    font-size: clamp(2.2rem, 3.8vw, 3.2rem) !important;
    line-height: 1.15 !important;
    margin: 0 0 4px 0 !important;
    text-align: left !important;
    font-weight: 800;
  }

  .hero-wrapper:not(.service-hero) .hero-inner-content h1 {
    font-size: clamp(1.76rem, 3.04vw, 2.56rem) !important;
  }

  .hero-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.2rem) !important;
    line-height: 1.4 !important;
    color: var(--text-gray-light) !important;
    margin-bottom: 4px !important;
    border-left: 3px solid var(--gold) !important;
    padding-left: 12px !important;
    text-align: left !important;
  }

  .hero-inner-content p {
    font-size: clamp(0.9rem, 1.2vw, 1.05rem) !important;
    line-height: 1.35 !important;
    margin-bottom: 4px !important;
    text-align: left !important;
  }

  .hero-bullets-container {
    margin: 8px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .hero-bullet {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: left;
  }

  .btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 10px;
    align-self: flex-start;
  }

  .hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 35%;
    max-width: 420px;
    z-index: 5;
  }

  .illustration-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--border-glow);
    transform: perspective(1000px) rotateY(-10deg) rotateX(10deg);
    transition: var(--transition);
  }

  .hero-faixa-a {
    display: none !important;
  }
}

/* Mobile Hero Setup */
@media (max-width: 992px) {
  .hero-wrapper {
    position: relative !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    width: 100% !important;
    overflow: hidden !important;
    background-image: var(--hero-bg-mobile) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: transparent !important;
  }

  /* Faixa A: 0dvh to 40dvh, completely empty and free for top background image */
  .hero-faixa-a {
    height: 40dvh !important;
    min-height: 40dvh !important;
    max-height: 40dvh !important;
    flex: 0 0 40dvh !important;
    flex-shrink: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
    pointer-events: none !important;
  }

  /* Faixa B: 40dvh to 100dvh (exactly 60dvh height for content, including bottom pb-8 padding & buttons) */
  .hero-content-wrapper {
    height: 60dvh !important;
    min-height: 60dvh !important;
    max-height: 60dvh !important;
    flex: 0 0 60dvh !important;
    flex-shrink: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 18px 28px 18px !important; /* 28px bottom padding anchor */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    background: transparent !important;
    z-index: 10 !important;
    overflow: hidden !important;
  }

  /* Inside ContentWrapper - dynamic flex space-evenly distribution across 60dvh */
  .hero-inner-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-evenly !important; /* Evenly distributes badge, h1, subtitle, buttons across 60dvh */
    width: 100% !important;
    height: 100% !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .hero-inner-content .badge {
    margin: 0 !important;
    font-size: clamp(0.7rem, 1.8dvh, 0.85rem) !important;
    padding: 3px 10px !important;
    align-self: center !important;
    flex-shrink: 0 !important;
  }

  .hero-inner-content h1,
  .service-hero .hero-inner-content h1 {
    font-size: clamp(1.02rem, 3.19dvh, 1.85rem) !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    text-align: center !important;
    color: #fff !important;
    text-transform: uppercase !important;
  }

  .hero-subtitle,
  .service-hero .hero-subtitle,
  .hero-inner-content p,
  .service-hero .hero-inner-content p {
    font-size: clamp(0.85rem, 2.3dvh, 1.2rem) !important;
    line-height: 1.35 !important;
    color: var(--text-gray-light) !important;
    margin: 0 !important;
    text-align: center !important;
    border-left: none !important;
    padding-left: 0 !important;
  }

  /* Exclusive mobile adjustments for Home tab (aba Início) hero */
  .hero-wrapper:not(.service-hero) .hero-inner-content {
    justify-content: center !important;
    gap: clamp(8px, 2dvh, 16px) !important;
  }

  .hero-wrapper:not(.service-hero) .hero-inner-content h1 {
    margin-top: clamp(14px, 3.5dvh, 26px) !important;
    margin-bottom: clamp(2px, 0.5dvh, 5px) !important;
  }

  .hero-wrapper:not(.service-hero) .hero-inner-content p {
    margin-top: 0 !important;
    margin-bottom: clamp(10px, 2.5dvh, 18px) !important;
  }

  .hero-bullets-container {
    display: none !important; /* Hide bullet points on mobile */
  }

  .btn-group {
    width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  .btn-group .cta-button {
    width: 100% !important;
    max-width: 310px !important;
    font-size: clamp(0.82rem, 2.1dvh, 1.0rem) !important;
    padding: clamp(8px, 1.4dvh, 12px) 16px !important;
    text-align: center !important;
  }

  .btn-group .cta-button {
    width: 100% !important;
    max-width: 290px !important;
    font-size: clamp(0.78rem, 2.0dvh, 0.88rem) !important;
    padding: 8px 12px !important;
    text-align: center !important;
  }

  /* Hide illustration on mobile */
  .hero-illustration {
    display: none !important;
  }
}

.glowing-circle {
  position: absolute;
  width: 320px;
  height: 320px;
  background-color: var(--gold);
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.12;
  z-index: -1;
  pointer-events: none;
}

.illustration-img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border: 1px solid var(--border-glow);
  transform: perspective(1000px) rotateY(-10deg) rotateX(10deg);
  transition: var(--transition);
}

.illustration-img:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  border-color: var(--border-glow-hover);
}

/* Pain & Solutions (Dor) */
.section-dor {
  background-color: rgba(1, 6, 16, 0.4);
  border-top: 1px solid var(--border-glow);
  border-bottom: 1px solid var(--border-glow);
}

.dor-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

@media (max-width: 992px) {
  .dor-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.dor-badge-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.dor-badge-item {
  background-color: rgba(255, 0, 0, 0.05);
  border: 1px solid rgba(255, 0, 0, 0.15);
  color: #ff4d4d;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 576px) {
  .dor-badge-list {
    grid-template-columns: 1fr;
  }
}

/* Service Cards */
.services-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-bottom: 28px;
}

.services-row:last-child {
  margin-bottom: 0;
}

.services-row .service-box {
  flex: 1 1 250px;
  max-width: 280px;
  width: 100%;
}

@media (max-width: 768px) {
  .services-row {
    gap: 20px;
    margin-bottom: 20px;
  }
  .services-row .service-box {
    max-width: 100%;
    flex: 1 1 100%;
  }
}

.services-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 28px;
}

.service-box {
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-glow);
  border-radius: 12px;
  padding: 32px 24px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-box > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.service-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--light-gold) 100%);
  opacity: 0.7;
}

.service-box:hover {
  background-color: var(--bg-card-hover);
  transform: translateY(-8px);
  border-color: var(--border-glow-hover);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

.service-icon-box {
  color: var(--gold);
  margin-bottom: 20px;
}

.service-icon-box svg {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 2px 8px rgba(247, 201, 18, 0.3));
}

.service-box-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-white);
}

.service-box-desc {
  font-size: 0.95rem;
  color: var(--text-gray-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-box-link {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  align-self: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-box-link:hover {
  color: var(--text-white);
}

.service-box-link svg {
  transition: var(--transition);
}

.service-box:hover .service-box-link svg {
  transform: translateX(4px);
}

/* Diferenciais Section */
.dif-card {
  background-color: rgba(10, 31, 56, 0.5);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}

.dif-card:hover {
  border-color: var(--border-glow-hover);
  background-color: rgba(10, 31, 56, 0.8);
  transform: translateX(6px);
}

.dif-icon-wrapper {
  color: var(--gold);
}

.dif-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.dif-content h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--text-white);
}

.dif-content p {
  font-size: 0.9rem;
  color: var(--text-gray-light);
  margin-bottom: 0;
}

/* Lead Form Section */
.lead-form-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

@media (max-width: 992px) {
  .lead-form-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.form-wrapper {
  background-color: var(--bg-card);
  border: 2px solid var(--border-glow);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  padding: 40px;
  border-radius: 16px;
  position: relative;
}

@media (max-width: 480px) {
  .form-wrapper {
    padding: 24px;
  }
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
  text-align: center;
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--text-gray-light);
  margin-bottom: 28px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  background-color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #031232;
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 500;
  transition: var(--transition);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.form-input::placeholder {
  color: rgba(3, 18, 50, 0.5);
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(247, 201, 18, 0.2);
}

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

.form-button {
  background: linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 100%);
  color: #010610;
  font-family: var(--font-sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  transition: var(--transition);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  text-align: center;
  word-break: break-word;
  overflow-wrap: break-word;
  animation: cta-pulse 2.5s infinite ease-in-out;
  will-change: transform;
}

.form-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(247, 201, 18, 0.3);
}

.form-button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* FAQ Area */
.faq-container {
  max-width: 800px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  background-color: rgba(10, 31, 56, 0.4);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: rgba(247, 201, 18, 0.05);
  color: var(--gold);
}

.faq-question svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 24px;
  color: var(--text-gray-light);
  font-size: 0.95rem;
  border-top: 1px solid transparent;
}

.faq-card.active {
  border-color: var(--border-glow-hover);
  background-color: rgba(10, 31, 56, 0.7);
}

.faq-card.active .faq-question {
  color: var(--gold);
}

.faq-card.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-card.active .faq-answer {
  max-height: 200px;
  padding-top: 16px;
  padding-bottom: 20px;
  border-top-color: rgba(255,255,255,0.05);
}

/* Sticky WhatsApp Action */
.wa-sticky-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.15);
}

.wa-sticky-float:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25D366;
  opacity: 0.35;
  z-index: -1;
  animation: sticky-pulse 2s infinite;
  transform: scale(1);
}

.wa-sticky-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

.wa-sticky-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@keyframes sticky-pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Footer style */
footer {
  background-color: var(--bg-deep-slate);
  border-top: 1px solid var(--border-glow);
  padding: 60px 0 30px;
  color: var(--text-gray-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(2, 1fr) 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-column {
    grid-column: auto !important;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-links-list {
    align-items: center;
  }
}

.footer-logo-title {
  margin-bottom: 12px;
  font-size: 1.5rem;
  color: var(--text-white);
}

.footer-column h4 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: var(--text-gray-light);
}

.footer-links-list a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

@media (max-width: 576px) {
  .footer-links-list a:hover {
    transform: none;
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-gray-muted);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Service Info Rows */
.service-info-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.service-info-row h3 {
  background: linear-gradient(90deg, var(--gold) 0%, var(--light-gold) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

@media (max-width: 992px) {
  .service-info-row {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .service-content-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}

.service-feat-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 16px 0;
}

.service-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
}

@media (max-width: 992px) {
  .service-feat-list {
    align-items: flex-start;
    max-width: 500px;
    margin: 24px auto;
  }
  .service-feat-item {
    justify-content: flex-start;
  }
}

.service-feat-item svg {
  color: var(--gold);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.service-image-box {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border-glow);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.service-image-img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.service-image-box:hover .service-image-img {
  transform: scale(1.03);
}

/* Sub-service grids */
.subservices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.subservice-card {
  background-color: rgba(10, 31, 56, 0.4);
  border: 1px solid var(--border-glow);
  padding: 20px;
  border-radius: 8px;
  text-align: left;
}

.subservice-card h5 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.subservice-card p {
  font-size: 0.9rem;
  color: var(--text-gray-light);
  margin-bottom: 0;
}

@media (max-width: 576px) {
  .subservices-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile-only images inside services and service-hero mobile styling */
.service-image-mobile {
  display: none;
}

@media (max-width: 992px) {
  .service-image-mobile {
    display: block !important;
    width: 100%;
    border-radius: 12px;
    border: 2px solid var(--border-glow);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin: 20px 0;
    max-height: 350px;
    object-fit: cover;
  }
  
  .service-image-box {
    display: none !important;
  }
}

/* --- Coverage Section --- */
.coverage-section {
  background: linear-gradient(135deg, #031232 0%, #020820 50%, #010610 100%);
  padding: 60px 0;
  color: #ffffff;
}

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

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

.coverage-info {
  display: flex;
  flex-direction: column;
}

.coverage-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(90deg, #ffffff 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.coverage-subtitle {
  font-size: 1.15rem;
  color: var(--text-gray-light);
  margin-bottom: 32px;
  opacity: 0.9;
}

.coverage-cities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin-bottom: 32px;
}

.city-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.city-icon {
  color: var(--gold);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.city-name {
  color: var(--text-gray-light);
  font-weight: 500;
  font-size: 1rem;
}

.coverage-card-note {
  padding: 24px;
  background: linear-gradient(135deg, rgba(247, 201, 18, 0.08) 0%, rgba(252, 252, 3, 0.08) 100%);
  border-radius: 12px;
  border: 2px solid rgba(247, 201, 18, 0.25);
}

.coverage-card-text {
  font-size: 1rem;
  color: var(--text-gray-light);
  font-weight: 500;
  line-height: 1.5;
}

.coverage-map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  height: 500px;
}

.coverage-map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.coverage-map-image:hover {
  transform: scale(1.02);
}

/* Responsive Styles for Coverage Section */
@media (max-width: 992px) {
  .coverage-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .coverage-map-container {
    height: 350px;
  }
}

@media (max-width: 576px) {
  .coverage-section {
    padding: 40px 0;
  }
  
  .coverage-cities-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .coverage-map-container {
    height: 280px;
  }

  /* Centering coverage section text and note */
  .coverage-info {
    text-align: center !important;
    align-items: center !important;
  }
  
  .coverage-title {
    text-align: center !important;
  }
  
  .coverage-subtitle {
    text-align: center !important;
    margin-bottom: 24px !important;
  }
  
  .coverage-card-note {
    text-align: center !important;
    width: 100% !important;
  }

  /* Centering lead-form-info on mobile */
  .lead-form-info {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  .lead-form-info h2 {
    text-align: center !important;
  }
  
  .lead-form-info p {
    text-align: center !important;
  }
  
  .lead-form-info ul {
    align-items: flex-start !important;
    margin: 20px auto !important;
    max-width: max-content !important;
  }
  
  .lead-form-info .cta-button {
    margin: 0 auto !important;
    display: inline-flex !important;
  }
  
  .lead-form-info div {
    text-align: center !important;
    margin-right: 0 !important;
    width: 100% !important;
  }

  /* Centering footer elements on mobile */
  footer .footer-column {
    align-items: center !important;
    text-align: center !important;
  }
  
  footer .footer-column img {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  footer .footer-column p {
    text-align: center !important;
  }
}

/* Swiper Brand Layout & 9:16 Frame */
.swiper-brand {
  width: 100%;
  padding: 10px 0;
}

.swiper-brand-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(247, 201, 18, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  background-color: #0b1f38;
}

.swiper-brand-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.swiper-brand-img-wrapper:hover img {
  transform: scale(1.06);
}

/* Swiper Controls Custom Styling */
.swiper-button-next,
.swiper-button-prev {
  color: var(--gold) !important;
  background: rgba(10, 31, 56, 0.85);
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  border: 1px solid var(--border-glow);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--gold);
  color: var(--bg-deep) !important;
  box-shadow: 0 0 15px rgba(247, 201, 18, 0.5);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px !important;
  font-weight: bold;
}

.swiper-pagination-bullet {
  background: #ffffff !important;
  opacity: 0.4;
  width: 10px;
  height: 10px;
  transition: var(--transition);
}

.swiper-pagination-bullet-active {
  background: var(--gold) !important;
  opacity: 1;
  width: 24px;
  border-radius: 5px;
}

/* --- Social Media Section Above Footer --- */
.social-media-section {
  background: linear-gradient(180deg, rgba(3, 18, 50, 0.7) 0%, var(--bg-deep-slate) 100%);
  border-top: 1px solid var(--border-glow);
  padding: 48px 0 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.social-media-section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 8px;
}

.social-media-subtitle {
  color: var(--text-gray-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.social-media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
}

.social-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(10, 31, 56, 0.7);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-card:hover {
  background: rgba(16, 42, 78, 0.95);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(247, 201, 18, 0.18);
  color: var(--gold);
}

.social-card svg,
.social-card img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  fill: currentColor;
  transition: var(--transition);
}

.social-card:hover img {
  transform: scale(1.1);
}

.social-card.youtube:hover svg { color: #FF0000; fill: #FF0000; }
.social-card.instagram:hover svg { color: #E1306C; fill: #E1306C; }
.social-card.google:hover svg { color: #4285F4; fill: #4285F4; }
.social-card.tiktok:hover svg { color: #00f2fe; fill: #00f2fe; }

@media (max-width: 992px) {
  .social-media-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 520px) {
  .social-media-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .social-card {
    justify-content: center;
    padding: 14px 16px;
  }
}

/* Service Video Media Toggles for Mobile vs Desktop */
.service-media-mobile {
  display: none !important;
}
.service-media-desktop {
  display: block !important;
}

@media (min-width: 993px) {
  .service-media-mobile {
    display: none !important;
  }
  .service-media-desktop {
    display: block !important;
  }
}

@media (max-width: 992px) {
  .service-media-mobile {
    display: block !important;
    width: 100% !important;
    margin-top: 16px !important;
    margin-bottom: 24px !important;
  }
  .service-media-desktop {
    display: none !important;
  }

  .service-info-col {
    text-align: center !important;
  }
  .service-info-col span,
  .service-info-col h2,
  .service-info-col h3,
  .service-info-col p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .service-info-col .cta-button {
    margin-left: auto !important;
    margin-right: auto !important;
    display: inline-flex !important;
    text-align: center !important;
    justify-content: center !important;
  }
}

/* WhatsApp float class alias */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.15);
}
.whatsapp-float:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25D366;
  opacity: 0.35;
  z-index: -1;
  animation: sticky-pulse 2s infinite;
  transform: scale(1);
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}







