/* ==========================================================================
   SUL BRASIL ALPINISMO - GLOBAL DESIGN SYSTEM
   ========================================================================== */

:root {
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-title: 'Outfit', 'Syne', sans-serif;

  --bg-dark: #050a14;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(0, 210, 255, 0.4);

  --brand-blue: #0055A5;
  --brand-blue-light: #3B82F6;
  --brand-cyan: #00D2FF;
  --brand-cyan-hover: #00b8e6;
  --brand-ice: #38BDF8;
  --brand-yellow: #00D2FF;
  /* Alias apontando para Ciano Neon */

  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-sub: #CBD5E1;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.25);
  --shadow-cyan: 0 0 20px rgba(0, 210, 255, 0.35);
  --shadow-yellow: 0 0 20px rgba(0, 210, 255, 0.35);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --transition-smooth: 0.3s var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  .reveal {
    transform: none !important;
    transition-duration: 0.15s !important;
  }

  .hero-bg-carousel,
  .iphone17-mockup-perspective-wrapper,
  .trust-slider {
    animation: none !important;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Ambient Glow (Nebula) */
.nebula-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at 15% 15%, rgba(0, 85, 165, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(59, 130, 246, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 40%, rgba(255, 199, 0, 0.03) 0%, transparent 55%);
  filter: blur(40px);
}

/* Container & Sections - Largura Total Edge-to-Edge */
.full-width-section {
  width: 100%;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--glass-border);
}

.full-width-section.bg-alt {
  background: rgba(255, 255, 255, 0.015);
}

.full-width-section.bg-glow {
  background: linear-gradient(180deg, rgba(7, 16, 38, 0.6) 0%, rgba(5, 10, 20, 0.9) 100%);
}

.full-width-section.bg-card-dark {
  background: rgba(7, 11, 22, 0.5);
}

.section-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 24px;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50px;
  color: var(--brand-cyan);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text-main);
  line-height: 1.25;
}

.section-title span {
  color: var(--brand-blue-light);
  background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.main-header.scrolled {
  background: rgba(5, 10, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #FFF;
  letter-spacing: -0.01em;
}

.logo-text span {
  color: var(--brand-blue-light);
}

.header-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 210, 255, 0.35));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-link:hover .header-logo-img {
  transform: scale(1.08);
  filter: drop-shadow(0 4px 16px rgba(0, 210, 255, 0.6));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-cyan);
}

.dropdown-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

/* Dropdown Menu */
.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 230px;
  background: rgba(7, 12, 25, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1100;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 18px;
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(59, 130, 246, 0.15);
  color: #FFF;
  padding-left: 22px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #FFF;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.88rem;
  font-family: var(--font-title);
  transition: color 0.3s ease;
}

.header-phone:hover {
  color: var(--brand-cyan);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-blue-light) 0%, var(--brand-blue) 100%);
  color: #FFF;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: #FFF;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* WhatsApp Brand Buttons Global Styling */
.btn-whatsapp,
a.btn[href*="wa.me"],
a.btn[href*="whatsapp.com"],
a.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.btn-whatsapp:hover,
a.btn[href*="wa.me"]:hover,
a.btn[href*="whatsapp.com"]:hover,
a.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2ae971 0%, #149c8d 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.65) !important;
  color: #FFFFFF !important;
}

.btn-whatsapp svg,
.btn-whatsapp i,
a.btn[href*="wa.me"] svg,
a.btn[href*="wa.me"] i {
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
}

/* Setores Minimal CTAs to WhatsApp */
.sector-giant-content .btn-minimal {
  background: rgba(37, 211, 102, 0.16) !important;
  border-color: rgba(37, 211, 102, 0.45) !important;
  color: #25D366 !important;
}
.sector-giant-content .btn-minimal:hover {
  background: #25D366 !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.55) !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger-line {
  width: 26px;
  height: 2px;
  background: #FFF;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */

.hero-banner {
  position: relative;
  padding-top: 150px;
  padding-bottom: 80px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

.hero-layout {
  display: block;
  max-width: 760px;
  text-align: left;
  position: relative;
  z-index: 2;
}

/* Hero Background Carousel & Fullscreen Video Fix */
.hero-bg-carousel {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: -2 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.hero-bg-slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease-in-out, transform 3.5s ease;
  pointer-events: none !important;
}

.hero-bg-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-bg-slide video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  pointer-events: none !important;
  z-index: -2 !important;
}

/* Hero Carousel Dots */
.hero-carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 2;
  padding: 8px 18px;
  background: rgba(5, 10, 20, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-dot {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0;
  margin: 0;
  transition: all 0.25s ease;
}

.hero-dot.active {
  width: 36px;
  border-radius: 12px;
  background: var(--brand-cyan, #00D2FF);
  border-color: var(--brand-cyan, #00D2FF);
  box-shadow: 0 0 14px rgba(0, 210, 255, 0.8);
}

.hero-layout {
  max-width: 760px;
  text-align: left;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  margin-top: 16px;
  color: #FFF;
}

.hero-title span {
  color: var(--brand-blue-light);
  background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: #FFFFFF;
  line-height: 1.5;
  margin-top: 16px;
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-image-area {
  position: relative;
}

.hero-image-glass {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.hero-image-glass img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(5, 10, 20, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 8px 16px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #FFF;
}

/* Trust Banner Slider - Real Client Logos Strip (Fundo Branco Puro) */
.trust-banner {
  overflow: hidden;
  padding: 22px 0;
  background: #ffffff;
  /* Fundo branco puro como solicitado pelo cliente */
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.03);
}

.trust-banner-label {
  text-align: center;
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 14px 0;
}

.trust-slider {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: scrollLeft 32s linear infinite;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.trust-logo-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: #f8fafc;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.trust-logo-card:hover {
  background: #ffffff;
  border-color: #0055A5;
  box-shadow: 0 4px 14px rgba(0, 85, 165, 0.15);
  transform: translateY(-2px);
}

.trust-logo-brand {
  font-family: var(--font-title);
  font-size: 0.92rem;
  font-weight: 900;
  color: #0f172a !important;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.trust-logo-segment {
  font-size: 0.68rem;
  font-weight: 800;
  color: #0055A5;
  background: #eff6ff;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #bfdbfe;
  text-transform: uppercase;
}

/* ==========================================================================
   GRID LAYOUTS & COMPONENT CARDS
   ========================================================================== */

/* About Section */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--brand-cyan);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--font-title);
}

/* Rope Intro & Benefit Cards */
.rope-intro-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-card {
  display: flex;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-cyan);
  flex-shrink: 0;
}

.benefit-info h4 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFF;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.benefit-info p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
}

/* Tabs & Services Grid */
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  color: var(--text-sub);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--brand-cyan, #00D2FF);
  color: #050a14;
  font-weight: 800;
  border-color: var(--brand-cyan, #00D2FF);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.4);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card.has-img {
  padding: 0;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.service-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #090e1a;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85) contrast(1.05);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.service-card:hover .service-card-img {
  transform: scale(1.08);
  filter: brightness(1.08) contrast(1.1);
}

.service-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(10, 17, 32, 0.95) 100%);
  pointer-events: none;
}

.service-card-content {
  padding: 24px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-icon-box {
  width: 54px;
  height: 54px;
  background: rgba(59, 130, 246, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-cyan);
  margin-bottom: 20px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.service-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFF;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-sub);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.service-features-list li i {
  color: var(--brand-cyan);
  width: 16px;
  height: 16px;
}

.service-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-cyan);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.service-card:hover .service-card-action {
  color: #FFFFFF;
  transform: translateX(4px);
}

/* Fast & Visual Assistente Digital */
.fast-wizard-card {
  background: rgba(10, 20, 42, 0.7);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 20px;
  padding: 36px 30px;
  max-width: 840px;
  margin: 0 auto;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(0, 210, 255, 0.05);
}

.fast-wiz-steps-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
  flex-wrap: wrap;
}

.fast-wiz-step-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.fast-wiz-step-pill.active {
  background: rgba(0, 210, 255, 0.15);
  border-color: var(--brand-cyan);
  color: #FFF;
}

.fast-wiz-step-pill.completed {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10B981;
  color: #10B981;
}

.fast-wiz-panel {
  display: none;
}

.fast-wiz-panel.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

.fast-wiz-summary-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 12px;
  color: var(--brand-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.fast-wiz-group {
  margin-bottom: 24px;
}

.fast-wiz-label {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #FFF;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.fast-wiz-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.fast-wiz-field {
  position: relative;
}

.fast-wiz-field i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-cyan);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.fast-wiz-field input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: rgba(5, 10, 24, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: #FFF;
  font-size: 0.92rem;
  transition: all 0.3s ease;
}

.fast-wiz-field input:focus {
  outline: none;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.3);
  background: rgba(5, 10, 24, 0.85);
}

.fast-wiz-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wiz-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: #E2E8F0;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.wiz-chip i {
  color: var(--brand-cyan);
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.wiz-chip:hover {
  background: rgba(0, 210, 255, 0.1);
  border-color: rgba(0, 210, 255, 0.4);
  transform: translateY(-2px);
}

.wiz-chip.active {
  background: rgba(0, 210, 255, 0.2);
  border-color: var(--brand-cyan);
  color: #FFF;
  box-shadow: 0 4px 16px rgba(0, 210, 255, 0.3);
  transform: translateY(-2px);
}

.wiz-chip.active i {
  transform: scale(1.15);
  color: #FFF;
}

.wiz-other-input-box {
  margin-top: 14px;
  display: none;
  animation: fadeIn 0.3s ease;
}

.wiz-other-input-box.active {
  display: block;
}

.fast-wiz-submit-btn {
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border: none;
  border-radius: 14px;
  color: #FFF;
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  transition: all 0.3s ease;
  margin-top: 10px;
}

.fast-wiz-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.6);
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
}

.wizard-card-icon {
  color: var(--brand-cyan);
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
}

.wizard-card-title {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFF;
  text-transform: uppercase;
}

.wizard-nav {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-sub);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(5, 10, 20, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: #FFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-control:focus {
  border-color: var(--brand-blue-light);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

/* Safety Grid */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.safety-card {
  padding: 32px;
}

.safety-num {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--brand-cyan);
  display: block;
  margin-bottom: 12px;
}

.safety-card-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFF;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.safety-card-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Banners de Tela Cheia Expansíveis para Segmentos (Accordion Premium) */
.sectors-fullwidth-accordion {
  display: flex;
  width: 100%;
  height: 580px;
  gap: 10px;
  padding: 0 20px;
  box-sizing: border-box;
  background: transparent;
}

.sector-giant-banner {
  position: relative;
  flex: 1;
  min-width: 120px;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  filter: grayscale(30%) brightness(0.75);
}

/* Quando a lista não está em hover, o banner ativo fica com flex 2.8 */
.sectors-fullwidth-accordion:not(:hover) .sector-giant-banner.active {
  flex: 3;
  filter: grayscale(0%) brightness(1);
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Quando passa o mouse sobre qualquer banner */
.sectors-fullwidth-accordion .sector-giant-banner:hover {
  flex: 3.5;
  filter: grayscale(0%) brightness(1);
  border-color: rgba(0, 210, 255, 0.5);
  box-shadow: 0 12px 40px rgba(0, 210, 255, 0.2);
}

/* Se a lista está em hover, o banner ativo que NÃO está sob o mouse encolhe como os outros */
.sectors-fullwidth-accordion:hover .sector-giant-banner.active:not(:hover) {
  flex: 0.9;
  filter: grayscale(40%) brightness(0.65);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.sector-giant-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.sector-giant-banner:hover .sector-giant-bg,
.sectors-fullwidth-accordion:not(:hover) .sector-giant-banner.active .sector-giant-bg {
  transform: scale(1.06);
}

.sector-giant-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(5, 10, 20, 0.2) 0%, rgba(5, 10, 20, 0.6) 60%, rgba(5, 10, 20, 0.96) 100%);
  transition: opacity 0.4s ease;
}

/* Conteúdo expandido */
.sector-giant-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 36px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.sector-giant-banner:hover .sector-giant-content,
.sectors-fullwidth-accordion:not(:hover) .sector-giant-banner.active .sector-giant-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Se a lista está em hover, esconde o conteúdo da div active se ela não estiver sob o mouse */
.sectors-fullwidth-accordion:hover .sector-giant-banner.active:not(:hover) .sector-giant-content {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

/* Label Vertical perfeitamente centralizado no banner recolhido */
.sector-giant-banner::after {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  white-space: nowrap;
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 4px;
  z-index: 3;
  transition: opacity 0.3s ease;
  pointer-events: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.sector-giant-banner:hover::after,
.sectors-fullwidth-accordion:not(:hover) .sector-giant-banner.active::after {
  opacity: 0;
}

.sectors-fullwidth-accordion:hover .sector-giant-banner.active:not(:hover)::after {
  opacity: 1;
}

.sector-giant-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 210, 255, 0.18);
  border: 1px solid rgba(0, 210, 255, 0.45);
  color: var(--brand-cyan);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
  backdrop-filter: blur(10px);
}

.sector-giant-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 900;
  color: #FFF;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}

.sector-giant-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 500px;
}

.btn-minimal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.35);
  color: #FFF;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.btn-minimal .arrow-icon {
  width: 16px;
  height: 16px;
  color: var(--brand-cyan);
  transition: transform 0.3s ease;
}

.btn-minimal:hover {
  background: var(--brand-cyan);
  color: #050a14;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

.btn-minimal:hover .arrow-icon {
  color: #050a14;
  transform: translateX(4px);
}

/* Scroll Horizontal Touch para Mobile (Snap Scroll) */
@media (max-width: 991px) {
  .sectors-fullwidth-accordion {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    height: 480px;
    gap: 12px;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .sectors-fullwidth-accordion::-webkit-scrollbar {
    display: none;
  }

  .sector-giant-banner {
    flex: 0 0 85vw !important;
    min-width: 85vw !important;
    scroll-snap-align: center;
    border-radius: 16px;
    filter: none !important;
    border: 1px solid var(--glass-border);
  }

  .sector-giant-banner::after {
    display: none !important;
  }

  .sector-giant-content {
    opacity: 1 !important;
    transform: none !important;
  }

  .sector-giant-content {
    padding: 28px 22px;
  }

  .sector-giant-title {
    font-size: 1.6rem;
    white-space: normal;
  }

  .sector-giant-desc {
    opacity: 1 !important;
    transform: none !important;
    font-size: 0.9rem;
    margin-bottom: 18px;
  }

  .sector-giant-banner .btn {
    opacity: 1 !important;
    transform: none !important;
    width: 100%;
    justify-content: center;
  }
}

/* Infra Layout */
.infra-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.infra-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.infra-item {
  display: flex;
  gap: 20px;
}

.infra-icon {
  width: 44px;
  height: 44px;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-cyan);
  flex-shrink: 0;
}

.infra-text h4 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFF;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.infra-text p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
}

/* Portfolio Cards & Slider */
.portfolio-slider-container {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 12px 4px 20px 4px;
}

.portfolio-slider-container::-webkit-scrollbar {
  display: none;
}

.portfolio-slider {
  display: flex;
  gap: 24px;
  width: max-content;
  align-items: stretch;
}

/* Portfolio Card com Foto no Topo & Otimização Visual */
.portfolio-card {
  scroll-snap-align: start;
  flex: 0 0 360px;
  width: 360px;
  max-width: 360px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--glass-border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  background: var(--bg-card);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  text-decoration: none;
  color: inherit;
}

.portfolio-img-box {
  position: relative;
  height: 220px;
  width: 100%;
  overflow: hidden;
  background: #0b1120;
  flex-shrink: 0;
}

.portfolio-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92) contrast(1.05);
  /* Foto clara e nítida */
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

/* Efeito de Clarear e Destacar no Hover */
.portfolio-card:hover .portfolio-img-box img,
.portfolio-card.active .portfolio-img-box img {
  filter: brightness(1.1) contrast(1.08);
  transform: scale(1.08);
}

.portfolio-card:hover,
.portfolio-card.active {
  transform: translateY(-6px);
  border-color: var(--brand-cyan);
  box-shadow: 0 16px 40px rgba(0, 210, 255, 0.25);
}

.portfolio-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  background: rgba(5, 10, 20, 0.85);
  border: 1px solid var(--brand-cyan);
  backdrop-filter: blur(10px);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-cyan);
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.portfolio-highlights { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 6px; }
.portfolio-highlight-badge {
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.25);
  color: var(--brand-cyan);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}
.portfolio-highlight-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 6px var(--brand-cyan);
}
.portfolio-card:hover .portfolio-highlight-badge {
  background: rgba(0, 210, 255, 0.15);
  border-color: rgba(0, 210, 255, 0.45);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.portfolio-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: var(--bg-card);
}

.portfolio-card:hover .portfolio-body {
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(5, 10, 20, 0.95) 100%);
}

.portfolio-body h3 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFF;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.35;
}

.portfolio-body p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
  line-height: 1.55;
  flex-grow: 1;
}

.portfolio-footer-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-sub);
  border-top: 1px solid var(--glass-border);
  padding-top: 14px;
  margin-top: auto;
  font-family: var(--font-title);
}

.portfolio-footer-stats span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.portfolio-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-cyan);
  transition: color 0.2s ease, transform 0.2s ease;
}

.portfolio-card:hover .portfolio-card-link {
  color: #FFF;
  transform: translateX(4px);
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  width: 28px;
  border-radius: 12px;
  background: var(--brand-cyan);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

/* Sidebar Widget e Lista de Outros Serviços (Páginas Internas de Serviço) */
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.sidebar-card h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
  letter-spacing: 0.03em;
}

.sidebar-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-link-item {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.sidebar-link-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-sub) !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.sidebar-link-item a:hover {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.35);
  color: var(--brand-cyan) !important;
  transform: translateX(4px);
}

.sidebar-link-item.active a {
  background: linear-gradient(90deg, var(--brand-blue) 0%, rgba(59, 130, 246, 0.25) 100%);
  border-color: var(--brand-blue);
  color: #FFFFFF !important;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 85, 165, 0.3);
}

.sidebar-link-item a i {
  color: var(--brand-cyan);
  transition: transform 0.25s ease;
}

.sidebar-link-item a:hover i {
  transform: translateX(3px);
}

.slider-arrow:hover {
  background: var(--brand-blue-light);
  border-color: var(--brand-blue-light);
  box-shadow: var(--shadow-glow);
}

/* Academy Section */
.academy-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.academy-glass {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.academy-glass img {
  width: 100%;
  height: auto;
  display: block;
}

/* Blocos do editor de artigos (renderizados por admin_render_blocks() dentro do #blogModalBody) */
.article-img-full { margin: 24px 0; }
.article-img-full img { width: 100%; border-radius: var(--radius-md); display: block; }
.article-img-center { max-width: 85%; margin: 24px auto; }
.article-img-center img { width: 100%; border-radius: var(--radius-md); display: block; }
.article-img-left, .article-img-right { max-width: 45%; margin: 8px 0 16px; }
.article-img-left { float: left; margin-right: 20px; }
.article-img-right { float: right; margin-left: 20px; }
.article-img-left img, .article-img-right img { width: 100%; border-radius: var(--radius-md); display: block; }
figure figcaption { font-size: 0.82rem; color: var(--text-muted); margin-top: 8px; text-align: center; }
.article-img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 8px; }
.article-img-grid img { width: 100%; border-radius: var(--radius-md); display: block; }
.article-img-grid-caption { font-size: 0.82rem; color: var(--text-muted); text-align: center; margin-bottom: 16px; }
.article-pullquote {
  border-left: 3px solid var(--brand-cyan); padding: 16px 24px; margin: 28px 0;
  font-family: var(--font-title); font-size: 1.2rem; font-style: italic; color: var(--text-main);
}
.article-pullquote cite { display: block; margin-top: 10px; font-size: 0.85rem; font-style: normal; color: var(--brand-cyan); }
.article-tip-box { background: rgba(0,210,255,0.06); border: 1px solid rgba(0,210,255,0.2); border-radius: var(--radius-md); padding: 18px 20px; margin: 24px 0; }
.article-tip-box h4 { margin: 0 0 8px; font-size: 1rem; }
.article-checklist { margin: 24px 0; }
.article-checklist h4 { margin: 0 0 10px; font-size: 1rem; }
.article-checklist ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }

/* Blog / News Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.45);
}

.blog-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: #090e1a;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92) contrast(1.05);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.08);
  filter: brightness(1.08) contrast(1.08);
}

.blog-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 17, 32, 0.95) 100%);
  pointer-events: none;
}

.blog-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 85, 165, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFF;
  border: 1px solid rgba(0, 210, 255, 0.4);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.blog-date {
  font-size: 0.8rem;
  color: var(--brand-cyan);
  font-weight: 700;
  font-family: var(--font-title);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFF;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.35;
}

.blog-card-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
  line-height: 1.55;
  flex-grow: 1;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--glass-border);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-cyan);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.blog-card:hover .blog-card-link {
  color: #FFFFFF;
  transform: translateX(4px);
}

/* Testimonials & Video Mockup iPhone 17 Pro Max */
.testimonial-phone-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.phone-carousel-item {
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
}

@media (max-width: 768px) {
  .testimonial-phone-carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin-top: 20px;
  }

  .phone-carousel-item {
    width: 100%;
    max-width: 310px;
    opacity: 1;
    transform: none !important;
  }
}

/* Mockup iPhone 17 Pro Max */
.iphone-17-promax {
  position: relative;
  width: 295px;
  height: 590px;
  margin: 0 auto;
  background: #030712;
  border-radius: 48px;
  padding: 10px;
  border: 4px solid #2e3545;
  /* Titanium Chassis */
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.08),
    0 30px 80px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(0, 210, 255, 0.25);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.iphone-17-promax:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 0 0 2px rgba(0, 210, 255, 0.4),
    0 35px 90px rgba(0, 0, 0, 0.95),
    0 0 50px rgba(0, 210, 255, 0.35);
}

/* Titanium Side Buttons */
.iphone-17-promax::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 110px;
  width: 3px;
  height: 46px;
  background: #2e3545;
  border-radius: 3px 0 0 3px;
  box-shadow: 0 60px 0 #2e3545, 0 115px 0 #2e3545;
}

.iphone-17-promax::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 140px;
  width: 3px;
  height: 70px;
  background: #2e3545;
  border-radius: 0 3px 3px 0;
}

/* Screen Frame */
.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000000;
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Vídeo em Tela Cheia do iPhone */
.iphone-screen-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  background: #000000;
  display: block;
}

/* Dynamic Island Realista */
.iphone-dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #000000;
  border-radius: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.iphone-camera-dot {
  width: 8px;
  height: 8px;
  background: #0c1527;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.iphone-speaker-bar {
  width: 32px;
  height: 4px;
  background: #111827;
  border-radius: 4px;
}

/* Informações e Controles sobrepostos no rodapé do iPhone */
.iphone-content-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 50px 20px 24px;
  background: linear-gradient(to top, rgba(3, 7, 18, 0.95) 0%, rgba(3, 7, 18, 0.6) 65%, transparent 100%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.iphone-content-info * {
  pointer-events: auto;
}

.iphone-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 210, 255, 0.18);
  border: 1px solid rgba(0, 210, 255, 0.4);
  color: var(--brand-cyan, #00D2FF);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 4px;
}

.iphone-manager-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  font-family: var(--font-title);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.iphone-manager-role {
  font-size: 0.76rem;
  color: #CBD5E1;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.iphone-controls-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 10px;
}

.iphone-btn-control {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-cyan, #00D2FF);
  border: none;
  color: #050a14;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.iphone-btn-control:hover {
  transform: scale(1.1);
  background: #38bdf8;
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.85);
}

.iphone-btn-control svg,
.iphone-btn-control i {
  color: #050a14 !important;
  stroke: #050a14 !important;
}

/* ==========================================================================
   GIANT VIDEO MOCKUP (SEÇÃO DESTAQUE DE TREINAMENTO)
   ========================================================================== */

.training-highlight-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 52px;
  align-items: center;
}

@media (max-width: 992px) {
  .training-highlight-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
}

.giant-video-mockup-wrapper {
  position: relative;
  width: 100%;
}

/* Widescreen Giant Cinema Monitor Mockup Chassis */
.giant-video-mockup {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  background: #030712;
  border-radius: 24px;
  border: 3px solid #2e3545;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 35px 90px rgba(0, 0, 0, 0.95),
    0 0 60px rgba(0, 210, 255, 0.25);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.giant-video-mockup:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 0 0 2px rgba(0, 210, 255, 0.4),
    0 40px 100px rgba(0, 0, 0, 0.98),
    0 0 75px rgba(0, 210, 255, 0.35);
}

.giant-mockup-header {
  height: 38px;
  background: #0b1120;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.mockup-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dots .dot.red {
  background: #ef4444;
}

.mockup-dots .dot.yellow {
  background: #f59e0b;
}

.mockup-dots .dot.green {
  background: #10b981;
}

.mockup-title-bar {
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-ice);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.giant-mockup-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.giant-screen-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.giant-video-overlay-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 10, 20, 0.7) 40%, rgba(5, 10, 20, 0.98) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 10;
}

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

.gvideo-live-badge {
  font-size: 0.65rem;
  font-family: var(--font-title);
  font-weight: 900;
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.gvideo-title {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 800;
  color: #FFF;
}

/* Real Photos Service Gallery Grid (Masonry Layout) */
.gallery-filter-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.gallery-filter-btn {
  padding: 8px 16px;
  font-size: 0.78rem;
  font-family: var(--font-title);
  font-weight: 700;
  border-radius: 50px;
  background: rgba(12, 22, 53, 0.65);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gallery-filter-btn svg,
.gallery-filter-btn i {
  width: 14px;
  height: 14px;
}

.gallery-filter-btn:hover {
  color: #FFFFFF;
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(16, 28, 64, 0.85);
}

.gallery-filter-btn.active {
  background: var(--brand-blue-light);
  color: #FFFFFF;
  border-color: var(--brand-blue-light);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
}

.real-photos-grid {
  column-count: 4;
  column-gap: 16px;
}

.gallery-photo-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0b1120;
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  break-inside: avoid;
  margin-bottom: 16px;
  display: inline-block;
  width: 100%;
  opacity: 1;
}

.gallery-photo-card.revealed {
  opacity: 1 !important;
  transform: none !important;
}

.gallery-photo-card:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: var(--brand-cyan);
  box-shadow: 0 12px 30px rgba(0, 210, 255, 0.25);
}

.gallery-photo-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: brightness(0.82) contrast(1.05);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.gallery-photo-card:hover .gallery-photo-img,
.gallery-photo-card.active .gallery-photo-img {
  filter: brightness(1.15) contrast(1.05);
  transform: scale(1.04);
}

.gallery-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 10, 20, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-photo-card:hover .gallery-photo-overlay {
  opacity: 1;
}

.gallery-photo-tag {
  font-family: var(--font-title);
  font-size: 0.68rem;
  font-weight: 900;
  color: var(--brand-cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.gallery-photo-title {
  font-family: var(--font-title);
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
}

@media (max-width: 1100px) {
  .real-photos-grid {
    column-count: 3;
    column-gap: 14px;
  }
}

@media (max-width: 768px) {
  .real-photos-grid {
    column-count: 2;
    column-gap: 10px;
  }

  .gallery-photo-card {
    margin-bottom: 10px;
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .real-photos-grid {
    column-count: 1;
  }
}

/* Screen Overlay Info & Controls */
.iphone-content-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 14px 18px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 10, 20, 0.6) 30%, rgba(5, 10, 20, 0.98) 100%);
  z-index: 15;
  text-align: left;
}

.iphone-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(0, 210, 255, 0.2);
  border: 1px solid rgba(0, 210, 255, 0.4);
  border-radius: 20px;
  color: #00D2FF;
  font-size: 0.65rem;
  font-weight: 800;
  font-family: var(--font-title);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.iphone-manager-name {
  font-family: var(--font-title);
  font-size: 0.92rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 2px;
  line-height: 1.2;
}

.iphone-manager-role {
  font-size: 0.72rem;
  color: var(--brand-ice);
  margin-bottom: 8px;
  display: block;
}

.iphone-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.iphone-btn-control {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.iphone-btn-control:hover {
  background: var(--brand-cyan);
  color: #000;
  border-color: var(--brand-cyan);
}

/* Lista de Cards de Depoimento em Vídeo */
.testimonial-meta h4 {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFF;
  text-transform: uppercase;
  margin: 0;
}

.testimonial-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #FFF;
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-transform: uppercase;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-content {
  padding: 0 24px 20px 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Contact Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.contact-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.15);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFF;
  text-transform: uppercase;
  margin: 0;
}

.contact-info-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Mega Footer */
.mega-footer {
  background: #030712;
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px 0;
  margin-top: 80px;
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-col h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 800;
  color: #FFF;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: var(--brand-cyan);
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0 auto;
  padding: 24px 24px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--brand-blue-light);
  text-decoration: none;
}

/* ==========================================================================
   SCROLL REVEAL & DYNAMIC MOTION SYSTEM (3D PERSPECTIVE)
   ========================================================================== */

/* Top Scroll Progress Indicator Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #0055A5 0%, #00D2FF 50%, #38BDF8 100%);
  box-shadow: 0 0 14px rgba(0, 210, 255, 0.9);
  z-index: 10000;
  transition: width 0.1s ease-out;
  pointer-events: none;
}

/* 3D Perspective Vertical Elevation Reveal Effect */
.reveal {
  opacity: 0;
  transform: perspective(1000px) rotateX(10deg) translateY(45px) scale(0.95);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-up {
  transform: perspective(1000px) rotateX(10deg) translateY(45px) scale(0.95);
}

.reveal-left {
  transform: perspective(1000px) rotateY(-12deg) translateX(-45px) scale(0.95);
}

.reveal-right {
  transform: perspective(1000px) rotateY(12deg) translateX(45px) scale(0.95);
}

.reveal-scale {
  transform: perspective(1000px) scale(0.88) translateY(20px);
}

.reveal.revealed {
  opacity: 1;
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(0) translateX(0) scale(1);
}

/* Stagger Delays Manual & Automático */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.services-grid>.reveal:nth-child(1),
.safety-grid>.reveal:nth-child(1),
.sectors-grid>.reveal:nth-child(1),
.blog-grid>.reveal:nth-child(1),
.about-stats>.reveal:nth-child(1) {
  transition-delay: 0.05s;
}

.services-grid>.reveal:nth-child(2),
.safety-grid>.reveal:nth-child(2),
.sectors-grid>.reveal:nth-child(2),
.blog-grid>.reveal:nth-child(2),
.about-stats>.reveal:nth-child(2) {
  transition-delay: 0.15s;
}

.services-grid>.reveal:nth-child(3),
.safety-grid>.reveal:nth-child(3),
.sectors-grid>.reveal:nth-child(3),
.blog-grid>.reveal:nth-child(3),
.about-stats>.reveal:nth-child(3) {
  transition-delay: 0.25s;
}

.sectors-grid>.reveal:nth-child(4),
.about-stats>.reveal:nth-child(4) {
  transition-delay: 0.35s;
}

/* Micro-interactions & Card Hover Elevate */
.service-card,
.safety-card,
.sector-card,
.portfolio-card,
.wizard-card,
.hero-image-glass {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover,
.safety-card:hover,
.sector-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 16px 40px rgba(0, 210, 255, 0.18);
  border-color: rgba(0, 210, 255, 0.4);
}

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATION
   ========================================================================== */

@media (max-width: 1024px) {
  .portfolio-card {
    flex: 0 0 calc(50% - 14px);
  }

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

  .hero-layout,
  .about-layout,
  .rope-intro-layout,
  .infra-layout,
  .academy-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .section-wrapper {
    padding: 40px 16px;
  }

  /* Centralização Geral de Textos no Mobile (exceto Hero) */
  .about-layout,
  .rope-intro-layout,
  .infra-layout,
  .academy-layout,
  .contact-layout,
  .section-header {
    text-align: center;
  }

  .hero-layout {
    text-align: left;
  }

  .hero-layout>div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .about-layout>div,
  .rope-intro-layout>div,
  .infra-layout>div,
  .academy-layout>div,
  .contact-layout>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Redução Proporcional e Espaçamento no Mobile */
  .hero-banner {
    padding-top: 105px !important;
    padding-bottom: 50px !important;
    min-height: 85vh;
    display: flex;
    align-items: center;
  }

  .hero-layout {
    text-align: center !important;
    margin: 0 auto;
  }

  .hero-title {
    font-size: clamp(1.5rem, 5.5vw, 1.85rem) !important;
    line-height: 1.22 !important;
    text-align: center !important;
    margin-bottom: 12px !important;
  }

  .hero-subtitle {
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
    text-align: center !important;
    margin-top: 10px !important;
    margin-bottom: 20px !important;
  }

  .section-title {
    font-size: clamp(1.25rem, 4.8vw, 1.65rem);
    line-height: 1.25;
    text-align: center;
  }

  .section-tag {
    font-size: 0.72rem;
    padding: 4px 12px;
    margin-bottom: 10px;
  }

  p,
  .service-desc,
  .benefit-info p,
  .infra-text p,
  .safety-card-desc,
  .sector-desc {
    font-size: 0.86rem;
    line-height: 1.5;
    text-align: center;
  }

  /* Hero & CTAs Otimizados */
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 20px auto 0 auto;
    gap: 10px;
  }

  .hero-image-area {
    max-width: 100%;
    margin: 24px auto 0 auto;
  }

  .hero-image-glass img {
    max-height: none;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .btn {
    width: 100%;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    font-size: 0.86rem;
  }

  /* Navegação por Abas Horizontal com Scroll Fluido */
  .tabs-nav {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 24px;
  }

  .tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    white-space: nowrap;
    flex: 0 0 auto;
    padding: 10px 16px;
    font-size: 0.82rem;
  }

  /* Elementos de Lista e Cards Centralizados */
  .benefit-list,
  .infra-list,
  .info-cards {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .benefit-card,
  .infra-item,
  .contact-info-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 14px;
  }

  .benefit-icon,
  .infra-icon,
  .contact-icon-circle {
    margin-bottom: 10px;
  }

  .benefit-info h4,
  .infra-text h4,
  .contact-info-text h4 {
    text-align: center;
  }

  .service-card {
    text-align: center;
    padding: 20px 16px;
  }

  .service-icon-box {
    margin: 0 auto 16px auto;
  }

  .service-features-list {
    text-align: left;
    display: inline-block;
  }

  /* Menu Hamburguer e Gaveta */
  .mobile-menu-btn {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: rgba(5, 10, 20, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.85);
    padding: 90px 24px 40px 24px;
    z-index: 1000;
    overflow-y: auto;
    text-align: left;
  }

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

  .nav-link {
    font-size: 1.05rem;
    padding: 8px 0;
  }

  .nav-item-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    margin-top: 8px;
    border-radius: 8px;
    box-shadow: none;
  }

  .nav-item-dropdown.open .dropdown-menu {
    display: block;
  }

  /* Carrossel Portfólio Touch Swipe */
  .portfolio-slider-container {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    scrollbar-width: none;
  }

  .portfolio-slider-container::-webkit-scrollbar {
    display: none;
  }

  .portfolio-slider {
    gap: 16px;
  }

  .portfolio-card {
    scroll-snap-align: center;
    flex: 0 0 88%;
    min-width: 260px;
    max-width: 320px;
    text-align: left;
  }

  .slider-controls {
    display: none;
  }

  /* Wizard & Formulários Otimizados */
  .wizard-container {
    padding: 20px 14px;
    text-align: center;
  }

  .wizard-steps-header {
    gap: 14px;
    margin-bottom: 20px;
    justify-content: center;
  }

  .wizard-step-indicator {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .wizard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .wizard-card {
    padding: 14px 8px;
  }

  .wizard-card-title {
    font-size: 0.8rem;
  }

  .wizard-nav {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
  }

  .form-control {
    font-size: 16px !important;
    /* Previne zoom no iOS */
    padding: 12px 14px;
  }

  /* Footer & Grids */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-col .logo-link {
    justify-content: center;
  }

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

  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .stat-item {
    padding: 14px 8px;
    text-align: center;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  .services-grid,
  .safety-grid,
  .sectors-grid,
  .blog-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

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

  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* --- SEÇÃO DO INSTAGRAM (GUIADO POR instagram_section_guide.md) --- */
.instagram-layout {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.instagram-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.btn-insta {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 14px 32px !important;
  border-radius: 50px !important;
  box-shadow: 0 10px 20px rgba(220, 39, 67, 0.25) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none;
  font-size: 0.95rem;
  font-family: var(--font-title);
}

.btn-insta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(220, 39, 67, 0.45) !important;
  filter: brightness(1.05);
}

.btn-insta-below {
  display: none !important;
}

.insta-badge {
  display: inline-block;
  padding: 3px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.insta-badge:hover {
  transform: scale(1.05);
}

.insta-badge-inner {
  background: #050a14;
  padding: 3px;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  overflow: hidden;
}

.insta-embed-container {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  background: rgba(12, 22, 53, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 490px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scrollable-insta-card::-webkit-scrollbar {
  display: none;
}

.insta-embed-iframe-responsive {
  width: 100% !important;
  border: none !important;
  display: block !important;
  height: 680px !important;
}

@media (max-width: 991px) {
  .instagram-layout {
    grid-template-columns: 45% 55%;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .instagram-layout {
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    gap: 40px !important;
  }

  .instagram-content-col {
    align-items: center !important;
    text-align: center !important;
  }

  .btn-insta {
    width: 100% !important;
    max-width: 280px !important;
  }

  #insta-follow-btn-above {
    display: none !important;
  }

  .btn-insta-below {
    display: inline-flex !important;
    margin-top: 24px !important;
  }

  .instagram-feed-col {
    width: 100% !important;
  }

  .scrollable-insta-card {
    height: 380px !important;
  }

  .insta-embed-iframe-responsive {
    height: 480px !important;
  }
}

/* --- MOCKUP IPHONE 17 PRO MAX VERTICAL 3D (CENTRO DE TREINAMENTO) --- */
.iphone17-mockup-perspective-wrapper {
  perspective: 1200px;
  perspective-origin: 50% 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 10px;
  width: 100%;
}

.iphone17-pro-max-container {
  position: relative;
  width: 280px;
  max-width: 90vw;
  height: 560px;
  background: #080d19;
  border-radius: 44px;
  padding: 8px;
  box-shadow:
    0 25px 75px rgba(0, 210, 255, 0.35),
    0 0 50px rgba(59, 130, 246, 0.2),
    inset 0 0 3px 2px rgba(255, 255, 255, 0.25);
  border: 4px solid #2b3859;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.1s cubic-bezier(0.1, 0.9, 0.2, 1), box-shadow 0.2s ease;
}

.iphone-side-button {
  position: absolute;
  background: linear-gradient(180deg, #3a4b70 0%, #1c2742 100%);
  border-radius: 4px;
}

.iphone-side-button.action-btn {
  left: -7px;
  top: 90px;
  width: 4px;
  height: 22px;
}

.iphone-side-button.vol-up-btn {
  left: -7px;
  top: 125px;
  width: 4px;
  height: 38px;
}

.iphone-side-button.vol-down-btn {
  left: -7px;
  top: 175px;
  width: 4px;
  height: 38px;
}

.iphone-side-button.power-btn {
  right: -7px;
  top: 140px;
  width: 4px;
  height: 58px;
}

.iphone17-screen-bezel {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}

.dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 95px;
  height: 24px;
  background: #000;
  border-radius: 16px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
  gap: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}

.dynamic-island .camera-lens {
  width: 9px;
  height: 9px;
  background: radial-gradient(circle at 35% 35%, #1a233d 0%, #050811 80%);
  border-radius: 50%;
  border: 1px solid #1e293b;
}

.dynamic-island .sensor-dot {
  width: 6px;
  height: 6px;
  background: #0f172a;
  border-radius: 50%;
}

.iphone17-screen-display {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.iphone-vertical-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  display: block;
}

.iphone-play-trigger-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 10, 20, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 35;
  transition: background 0.3s ease;
}

.iphone17-pro-max-container:hover .iphone-play-trigger-overlay {
  background: rgba(5, 10, 20, 0.15);
}

.play-pulse-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00D2FF 0%, #0066FF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px rgba(0, 210, 255, 0.7);
  animation: pulsePlayGlow 2s infinite;
  transition: transform 0.3s ease;
}

.iphone17-pro-max-container:hover .play-pulse-circle {
  transform: scale(1.12);
}

@keyframes pulsePlayGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.7);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(0, 210, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 210, 255, 0);
  }
}

.play-trigger-text {
  font-family: var(--font-title);
  font-size: 0.7rem;
  font-weight: 800;
  color: #FFF;
  letter-spacing: 0.06em;
  background: rgba(5, 10, 20, 0.85);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  text-align: center;
}

.iphone-video-overlay-bar {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 10, 20, 0.85) 40%, rgba(5, 10, 20, 0.98) 100%);
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
}

.open-full-badge {
  background: rgba(0, 210, 255, 0.2);
  border: 1px solid var(--brand-cyan);
  color: #FFF;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.iphone-home-bar {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  z-index: 40;
}

/* MODAL DE VÍDEO COMPLETO */
.video-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 8, 18, 0.92);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.video-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-container {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: rgba(12, 22, 53, 0.95);
  border: 1px solid var(--glass-border);
  box-shadow: 0 25px 80px rgba(0, 210, 255, 0.3), 0 0 100px rgba(0, 0, 0, 0.9);
  border-radius: 28px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.1, 0.9, 0.2, 1);
}

.video-modal-backdrop.active .video-modal-container {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #00D2FF;
  color: #050a14;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 210, 255, 0.5);
  z-index: 10;
  transition: transform 0.2s ease, background 0.2s ease;
}

.video-modal-close:hover {
  transform: scale(1.1);
  background: #FFF;
}

.video-modal-body {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}

.video-modal-caption {
  margin-top: 16px;
  text-align: center;
}

.video-modal-caption h3 {
  color: #FFF;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.video-modal-caption p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

@media (max-width: 992px) {
  .training-highlight-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .iphone17-pro-max-container {
    width: 240px;
    height: 480px;
    border-radius: 36px;
  }

  .iphone17-screen-bezel {
    border-radius: 30px;
  }

  .dynamic-island {
    width: 85px;
    height: 20px;
    top: 8px;
  }
}

/* Responsividade e Interatividade de Missão, Visão e Valores (Cards Expansíveis) */
.mvv-card.expandable {
  cursor: pointer;
  position: relative;
  user-select: none;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  background: rgba(12, 22, 53, 0.6);
  backdrop-filter: blur(12px);
  padding: 28px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.mvv-card.expandable:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: 0 8px 24px rgba(0, 210, 255, 0.12);
  background: rgba(12, 22, 53, 0.8);
}

.mvv-card.expandable.expanded {
  border-color: var(--brand-cyan);
  box-shadow: 0 10px 30px rgba(0, 210, 255, 0.2);
  background: rgba(12, 22, 53, 0.95);
}

.mvv-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.mvv-card-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mvv-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mvv-card-title {
  color: #FFF;
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.5px;
}

.mvv-card-teaser {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

.mvv-toggle-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--brand-cyan);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.mvv-card.expandable.expanded .mvv-toggle-badge {
  background: var(--brand-cyan);
  color: #050a14;
}

.mvv-toggle-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.mvv-card.expandable.expanded .mvv-toggle-icon {
  transform: rotate(180deg);
}

.mvv-card-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease, margin-top 0.3s ease;
}

.mvv-card.expandable.expanded .mvv-card-body {
  max-height: 800px;
  opacity: 1;
  pointer-events: auto;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Cards sempre abertos e sem toggle no Desktop */
@media (min-width: 992px) {
  .mvv-card.expandable {
    cursor: default;
    border-color: rgba(0, 210, 255, 0.3);
    background: rgba(12, 22, 53, 0.85);
  }

  .mvv-card.expandable .mvv-toggle-badge {
    display: none !important;
  }

  .mvv-card.expandable .mvv-card-body {
    max-height: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    margin-top: 20px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
}

@media (max-width: 991px) {
  .mvv-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* Galeria em Masonry das Subpáginas de Serviços */
.service-masonry-gallery {
  column-count: 3;
  column-gap: 14px;
  margin-bottom: 32px;
}

.smasonry-item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.smasonry-item:hover {
  transform: translateY(-4px);
  border-color: var(--brand-cyan);
}

.smasonry-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .service-masonry-gallery {
    column-count: 2;
    column-gap: 10px;
  }
}

@media (max-width: 480px) {
  .service-masonry-gallery {
    column-count: 1;
  }
}

/* ==========================================================================
   OTIMIZAÇÕES MOBILE & UX TOUCH (ESCOPADAS)
   ========================================================================== */

@media (max-width: 991px) {
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.25;
  }

  .section-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .nav-menu {
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .full-width-section {
    padding: 44px 16px;
  }

  .hero-banner {
    min-height: 88vh;
    padding-top: 110px !important;
    padding-bottom: 70px !important;
    display: flex;
    align-items: center;
  }

  .hero-layout {
    max-width: 100% !important;
    padding: 0 6px;
  }

  .hero-title {
    font-size: 1.65rem !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em;
    margin-top: 8px !important;
    margin-bottom: 16px !important;
  }

  .hero-subtitle {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin-top: 14px !important;
    margin-bottom: 24px !important;
    color: #F8FAFC !important;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
    margin-top: 24px !important;
  }

  .hero-ctas .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .hero-carousel-dots {
    bottom: 18px;
    gap: 8px;
  }

  .hero-dot {
    width: 10px;
    height: 10px;
  }

  .hero-dot.active {
    width: 24px;
  }

  .training-badges-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 18px;
  }

  .service-card-img-wrapper {
    height: 200px;
  }

  .portfolio-card {
    min-width: 280px;
  }

  .services-tabs-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 8px;
  }

  .services-tabs-nav::-webkit-scrollbar {
    display: none;
  }
}

/* ===== CTA banner de largura total (ex: banco de talentos) ===== */
.cta-banner-full {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 210, 255, 0.25);
  padding: 44px 40px;
  overflow: hidden;
  position: relative;
}

.cta-banner-full--blue {
  background: linear-gradient(120deg, rgba(0, 85, 165, 0.25) 0%, rgba(5, 10, 20, 0.9) 65%);
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-banner-text { max-width: 560px; }

.cta-banner-text h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: #FFF;
  margin-bottom: 10px;
}

.cta-banner-text p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.cta-banner-text p strong { color: #FFF; }

.cta-banner-actions { flex-shrink: 0; }

@media (max-width: 700px) {
  .cta-banner-full { padding: 32px 24px; }
  .cta-banner-inner { flex-direction: column; align-items: flex-start; }
}

/* ===== Política de imagem principal de case (não cropar fotos verticais) ===== */
/* As fotos reais de campo vêm em formato retrato (celular). Em vez de forçar um
   crop largo com object-fit:cover (que corta a maior parte da foto), a imagem
   principal de cada case usa object-fit:contain sobre um fundo escuro sólido,
   mostrando a foto inteira, sem cortar. */
.case-main-img-wrap {
  position: relative;
  width: 100%;
  height: 620px;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
  background: var(--bg-dark);
}

.case-main-img-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(40px) brightness(0.45) saturate(1.3);
  transform: scale(1.15);
}

.case-main-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .case-main-img-wrap {
    height: 440px;
  }
}

/* ===== Sub-escala tipográfica de artigo (páginas case-*.html) ===== */
/* Extraído do <style> inline duplicado em 8 páginas de case (byte-idêntico).
   O ramp de 4 níveis do DESIGN.md (display/headline/body/label) é a escala de
   marketing; um artigo de leitura longa precisa de mais degraus de hierarquia
   (meta, h3 de seção, stat destacado). Nomeado e centralizado aqui em vez de
   duplicado por página. */
.case-container {
  max-width: 900px;
  margin: 120px auto 80px auto;
  padding: 0 24px;
}
.case-container > h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.case-header-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--brand-cyan);
  font-family: var(--font-title);
  font-weight: 700;
  text-transform: uppercase;
}
.case-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 40px;
}
@media (max-width: 768px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}
.case-content h3 {
  font-size: 1.5rem;
  margin: 32px 0 16px 0;
  color: #FFF;
  text-transform: uppercase;
}
.case-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}
.case-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
}
.case-sidebar-card h4 {
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 10px;
}
.sidebar-stat-item {
  margin-bottom: 16px;
}
.sidebar-stat-item strong {
  display: block;
  color: #FFF;
  font-size: 1.2rem;
}
.sidebar-stat-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   NOVA ESTRUTURA: HERO BANNERS GRANDES E CENTRALIZADOS (PÁGINAS DE SERVIÇOS)
   ========================================================================== */
.service-hero-section {
  position: relative;
  width: 100%;
  min-height: 520px;
  padding-top: 140px;
  padding-bottom: 70px;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--bg-dark, #070B16);
  border-bottom: 1px solid var(--glass-border);
  box-sizing: border-box;
}

.service-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.45;
  filter: blur(1px);
  z-index: 1;
}

.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(7, 11, 22, 0.25) 0%, rgba(7, 11, 22, 0.7) 70%, var(--bg-dark, #070B16) 100%),
              linear-gradient(180deg, rgba(7, 11, 22, 0.85) 0%, rgba(7, 11, 22, 0.2) 40%, rgba(7, 11, 22, 0.95) 100%);
  z-index: 2;
  pointer-events: none;
}

.service-hero-content {
  position: relative;
  z-index: 3;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.service-hero-title span {
  color: var(--brand-blue-light, #60A5FA);
  background: linear-gradient(135deg, #00D2FF 0%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #E2E8F0;
  line-height: 1.65;
  max-width: 800px;
  margin: 0 auto 28px auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  font-weight: 400;
}

.service-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.service-container {
  max-width: 1200px;
  margin: 50px auto 80px auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .service-hero-section {
    min-height: 420px;
    padding: 120px 20px 60px 20px;
  }
  .service-hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
  .service-hero-actions .btn {
    width: 100%;
  }
  .service-container {
    margin-top: 36px;
    padding: 0 16px;
  }
}