/* ============================================
   FIDION — Global Stylesheet
   ============================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
   --color-petroleo: #1A5C70;
   --color-abissal: #0D3240;
   --color-prata: #4B5563;
   --color-gelo: #D9DDE0;
   --color-pulse: #00B894;
   --color-branco: #FDFDFD;

   --font-body: 'Inter', sans-serif;
   --font-heading: 'Plus Jakarta Sans', sans-serif;

   --shadow-sm: 0 2px 8px rgba(13, 50, 64, .08);
   --shadow-md: 0 4px 20px rgba(13, 50, 64, .12);
   --shadow-lg: 0 8px 40px rgba(13, 50, 64, .18);
   --radius-sm: 6px;
   --radius-md: 12px;
   --radius-lg: 20px;
   --transition: .3s cubic-bezier(.4, 0, .2, 1);
   --max-width: 1200px;
}

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

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

body {
   font-family: var(--font-body);
   color: var(--color-abissal);
   background: var(--color-branco);
   line-height: 1.6;
   overflow-x: hidden;
   -webkit-font-smoothing: antialiased
}

img,
svg {
   display: block;
   max-width: 100%
}

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

ul,
ol {
   list-style: none
}

button,
input,
select,
textarea {
   font: inherit;
   border: none;
   outline: none;
   background: none
}

button {
   cursor: pointer
}

/* --- Accessibility --- */
@media(prefers-reduced-motion:reduce) {

   *,
   *::before,
   *::after {
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .01ms !important;
      scroll-behavior: auto !important
   }
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
   font-family: var(--font-heading);
   font-weight: 700;
   line-height: 1.15
}

h1,
h2 {
   letter-spacing: -0.02em;
}

h1 {
   font-size: clamp(2.8rem, 5vw, 4.5rem);
}

h2 {
   font-size: clamp(1.6rem, 3.5vw, 2.4rem)
}

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

p {
   font-size: 1rem;
   color: var(--color-abissal)
}

/* --- Utility --- */
.container {
   width: 90%;
   max-width: var(--max-width);
   margin: 0 auto
}

.section-label {
   font-family: var(--font-heading);
   font-weight: 700;
   font-size: .85rem;
   letter-spacing: 2px;
   text-transform: uppercase;
   color: var(--color-pulse);
   margin-bottom: .75rem
}

.section-title {
   margin-bottom: 1rem
}

.section-subtitle {
   font-size: 1.05rem;
   color: var(--color-prata);
   max-width: 600px;
   margin-bottom: 2.5rem
}

/* --- Reveal on scroll --- */
.reveal {
   opacity: 0;
   transform: translateY(30px);
   transition: opacity .7s var(--transition), transform .7s var(--transition)
}

.reveal.visible {
   opacity: 1;
   transform: translateY(0)
}

/* --- Buttons --- */
.btn {
   display: inline-flex;
   align-items: center;
   gap: .5rem;
   padding: .85rem 1.8rem;
   border-radius: var(--radius-sm);
   font-weight: 600;
   font-size: .95rem;
   transition: all var(--transition);
   white-space: nowrap
}

.btn-primary {
   background: var(--color-pulse);
   color: var(--color-branco);
   border: none;
   font-weight: 600;
   padding: 14px 32px;
   border-radius: 6px;
   transition: filter 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
   filter: brightness(1.1);
   transform: scale(1.02);
   box-shadow: 0 8px 25px rgba(0, 212, 170, 0.25);
}

.btn-outline {
   background: transparent;
   color: var(--color-branco);
   border: 1.5px solid var(--color-branco);
   padding: 14px 32px;
   border-radius: 6px;
}

.btn-outline:hover {
   border-color: var(--color-branco);
   background: rgba(255, 255, 255, .08);
   transform: none;
}

.btn-pulse {
   background: var(--color-pulse);
   color: var(--color-branco);
   font-weight: 700;
   border: 2px solid var(--color-pulse)
}

.btn-pulse:hover {
   background: #00c09a;
   transform: translateY(-2px);
   box-shadow: 0 4px 18px rgba(0, 212, 170, .3)
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   z-index: 1000;
   padding: 1rem 0;
   transition: all var(--transition)
}

.navbar.scrolled {
   background: var(--color-abissal);
   box-shadow: 0 2px 20px rgba(0, 0, 0, .2);
   padding: .7rem 0
}

.navbar.scrolled .nav-cta {
   background: var(--color-pulse);
   color: var(--color-branco);
   border-color: var(--color-pulse);
}

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

.nav-logo {
   font-family: var(--font-heading);
   font-weight: 800;
   font-size: 1.6rem;
   color: #fff;
   letter-spacing: -.5px
}

.nav-logo span {
   color: var(--color-pulse)
}

.nav-logo-img {
   height: 45px;
   width: auto;
   display: block;
   object-fit: contain;
   filter: brightness(1.4) drop-shadow(0 0 8px rgba(0, 212, 170, 0.2));
   opacity: 1;
}

.nav-links {
   display: flex;
   align-items: center;
   gap: 2rem
}

.nav-links a {
   color: rgba(255, 255, 255, .8);
   font-size: .9rem;
   font-weight: 500;
   transition: color var(--transition);
   position: relative
}

.nav-links a::after {
   content: '';
   position: absolute;
   bottom: -4px;
   left: 0;
   width: 0;
   height: 2px;
   background: var(--color-pulse);
   transition: width var(--transition)
}

.nav-links a:hover {
   color: #fff
}

.nav-links a:hover::after {
   width: 100%
}

.nav-links a.active {
   color: #fff;
   font-weight: 600;
}

.nav-links a.active::after {
   width: 100%;
}

.nav-cta {
   margin-left: 1rem;
   background: transparent;
   border: 1.5px solid var(--color-pulse);
   color: var(--color-pulse);
   transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.nav-cta:hover {
   background: var(--color-pulse);
   color: var(--color-branco);
}

/* Hamburger */
.hamburger {
   display: none;
   flex-direction: column;
   gap: 5px;
   cursor: pointer;
   z-index: 1001;
   padding: 4px
}

.hamburger span {
   display: block;
   width: 24px;
   height: 2px;
   background: #fff;
   transition: all var(--transition);
   border-radius: 2px
}

.hamburger.active span:nth-child(1) {
   transform: rotate(45deg) translate(5px, 5px)
}

.hamburger.active span:nth-child(2) {
   opacity: 0
}

.hamburger.active span:nth-child(3) {
   transform: rotate(-45deg) translate(5px, -5px)
}

/* Mobile overlay */
.mobile-menu {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100vh;
   background: var(--color-abissal);
   display: flex;
   flex-direction: column;
   align-items: flex-start;
   justify-content: flex-start;
   padding: 110px 10% 2rem;
   gap: 1rem;
   opacity: 0;
   visibility: hidden;
   transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
   z-index: 999;
   overflow-y: auto;
}

.mobile-menu.active {
   opacity: 1;
   visibility: visible
}

.mobile-menu a:not(.btn) {
   font-family: var(--font-heading);
   font-size: 1.25rem;
   font-weight: 600;
   color: #fff;
   transition: all var(--transition);
   width: 100%;
   padding: 0.8rem 0;
   border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu a:not(.btn):hover {
   color: var(--color-pulse);
   padding-left: 10px;
}

.mobile-menu a.active:not(.btn) {
   color: var(--color-pulse);
   border-bottom-color: rgba(0, 184, 148, 0.2);
}

.mobile-menu .btn {
   margin-top: 1.5rem;
   width: 100%;
   justify-content: center;
   color: var(--color-branco) !important;
}

/* ============================================
   HERO
   ============================================ */
.hero {
   min-height: 100vh;
   display: flex;
   align-items: center;
   background: radial-gradient(circle at 80% 50%, var(--color-petroleo) 0%, var(--color-abissal) 85%);
   padding: 0 8vw;
   position: relative;
   overflow: hidden
}

.hero::before {
   content: '';
   position: absolute;
   top: 10%;
   right: -10%;
   width: 800px;
   height: 800px;
   background: radial-gradient(circle, rgba(0, 212, 170, 0.06) 0%, rgba(0, 212, 170, 0.01) 40%, transparent 70%);
   border-radius: 50%;
   pointer-events: none;
   z-index: 1;
}

.hero .container {
   display: flex;
   align-items: center;
   gap: 4vw;
   width: 100%;
}

.hero-content {
   position: relative;
   z-index: 2;
   flex: 0 0 45%;
}

.hero-title {
   line-height: 1.1;
   letter-spacing: -0.02em;
   margin-bottom: 0;
}

.hero-title-main {
   color: #FDFDFD;
   font-size: clamp(2.6rem, 4.8vw, 4.2rem);
   font-weight: 700;
   display: inline;
   line-height: 1.1;
}

.hero-title-pulse {
   color: #00D4AA;
   font-size: clamp(2.8rem, 5.2vw, 4.6rem);
   font-weight: 700;
   display: inline;
   line-height: 1.1;
   margin-top: 0.05em;
}

.hero-subtitle {
   margin-top: 1.8rem;
   font-size: 1.05rem;
   color: #D1D5DB;
   /* Lighter gray for dark background hero */
   font-weight: 400;
   line-height: 1.65;
   max-width: 460px;
   margin-bottom: 0;
}

.hero-buttons {
   display: flex;
   gap: 16px;
   flex-direction: column;
   margin-top: 2.5rem;
   margin-bottom: 0;
   max-width: 460px;
}

.hero-buttons .btn {
   width: 100%;
   justify-content: center;
}

.hero-badge {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   border: 1px solid #00D4AA;
   color: #00D4AA;
   background: rgba(0, 212, 170, 0.08);
   border-radius: 999px;
   padding: 6px 16px;
   font-size: 0.85rem;
   margin-bottom: 1.2rem;
   animation: badgePulse 2.5s ease-in-out infinite
}

@keyframes badgePulse {

   0%,
   100% {
      box-shadow: 0 0 0 0 rgba(0, 212, 170, .15)
   }

   50% {
      box-shadow: 0 0 0 10px rgba(0, 212, 170, 0)
   }
}

.hero-metrics {
   flex: 1;
   display: flex;
   align-items: center;
   justify-content: center;
   position: relative;
   z-index: 2;
}

/* Hero Mockup */
.hero-mockup {
   position: relative;
   width: 100%;
   max-width: 1100px;
   display: grid;
   place-items: center;
   aspect-ratio: 1.4 / 1;
}

.hero-full-mockup {
   grid-area: 1 / 1;
   width: 100%;
   height: auto;
   display: block;
   opacity: 0;
   visibility: hidden;
   filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.35));
   transition: opacity 2s ease-in-out, transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-full-mockup.active {
   opacity: 1;
   visibility: visible;
}

.hero-mockup:hover .hero-full-mockup {
   transform: translateY(-12px) scale(1.02);
}

@media (max-width: 1024px) {
   .hero {
      padding: 100px 0 40px;
      height: 100vh;
      display: flex;
      align-items: center;
      overflow: hidden;
      position: relative;
   }

   .hero .container {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      min-height: 100%;
      width: 100%;
      z-index: 2;
      padding: 0 6%;
   }

   .hero-content {
      position: relative;
      z-index: 10;
      flex: 0 0 100%;
      align-items: center;
      display: flex;
      flex-direction: column;
      max-width: 700px;
      margin: 0 auto;
      text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
   }

   .hero-subtitle {
      margin-left: auto;
      margin-right: auto;
      font-size: 1.15rem;
      color: #fff;
      max-width: 500px;
   }

   .hero-buttons {
      width: 100%;
      max-width: 400px;
      position: relative;
      z-index: 11;
   }

   .hero-metrics {
      position: absolute !important;
      top: 50% !important;
      left: 50% !important;
      transform: translate(-50%, -50%) !important;
      width: 130% !important;
      max-width: none !important;
      height: auto;
      opacity: 0.35 !important;
      z-index: 1 !important;
      pointer-events: none;
      filter: brightness(0.6) blur(1px);
      margin: 0 !important;
      display: flex !important;
      justify-content: center !important;
   }

   .hero-mockup {
      width: 100%;
      max-width: none !important;
   }
}

@media (max-width: 480px) {
   .hero {
      padding: 80px 0 40px;
   }

   .hero-title-main {
      font-size: 2.2rem;
   }

   .hero-title-pulse {
      font-size: 2.4rem;
   }

   .hero-subtitle {
      font-size: 1rem;
   }

   .hero-metrics {
      width: 220%;
      opacity: 0.3;
      top: 60%;
   }
}

@media (prefers-reduced-motion: reduce) {

   .metrics-circle,
   .metric-card {
      animation: none !important;
   }
}

.hero-bg-dots {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-image: radial-gradient(circle, rgba(0, 212, 170, 0.15) 1px, transparent 1px);
   background-size: 32px 32px;
   opacity: 0.15;
   pointer-events: none;
   z-index: 0;
}

.floating-shape {
   position: absolute;
   pointer-events: none;
   z-index: 0;
   animation: float ease-in-out infinite;
}

@keyframes float {

   0%,
   100% {
      transform: translateY(0);
   }

   50% {
      transform: translateY(-18px);
   }
}

.shape-1 {
   width: 420px;
   height: 420px;
   border-radius: 50%;
   border: 1px solid rgba(0, 212, 170, 0.05);
   background: rgba(0, 212, 170, 0.02);
   top: -120px;
   right: -80px;
   animation-duration: 14s;
}

.shape-2 {
   width: 260px;
   height: 260px;
   border-radius: 50%;
   border: 1px solid rgba(26, 92, 112, 0.15);
   background: rgba(26, 92, 112, 0.05);
   bottom: -60px;
   left: -40px;
   animation-duration: 18s;
   animation-delay: 2s;
}

.shape-3 {
   width: 140px;
   height: 140px;
   border-radius: 50%;
   border: 1px solid rgba(0, 212, 170, 0.05);
   background: transparent;
   top: 40%;
   right: 42%;
   animation-duration: 22s;
   animation-delay: 4s;
}

.hero-code-deco {
   font-family: 'Courier New', monospace;
   font-size: 0.75rem;
   color: rgba(0, 212, 170, 0.06);
   line-height: 1.8;
   position: absolute;
   bottom: 40px;
   right: 8vw;
   pointer-events: none;
   user-select: none;
   white-space: pre;
   z-index: 0;
}

@media (max-width: 768px) {
   .hero-code-deco {
      display: none;
   }
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
   background: linear-gradient(180deg, var(--color-abissal) 0%, #0a1f2b 100%);
   padding: 2.8rem 0;
   border-top: 1px solid rgba(0, 212, 170, 0.12);
   border-bottom: 1px solid rgba(0, 212, 170, 0.08);
   position: relative;
   overflow: hidden;
}

.trust-bar::before {
   content: '';
   position: absolute;
   inset: 0;
   background: radial-gradient(ellipse at 50% 0%, rgba(0, 212, 170, 0.06) 0%, transparent 70%);
   pointer-events: none;
}

.trust-bar .container {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   align-items: center;
   position: relative;
   z-index: 1;
}

.trust-item {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 1rem;
   padding: 1.2rem 1rem;
   border-right: 1px solid rgba(255, 255, 255, 0.07);
   border-bottom: 1px solid transparent;
   font-weight: 600;
   font-size: 0.92rem;
   color: rgba(255, 255, 255, 0.85);
   letter-spacing: 0.01em;
   transition: all 0.3s ease;
   cursor: default;
}

.trust-item:last-child {
   border-right: none;
}

@media (max-width: 1024px) {
   .trust-bar .container {
      grid-template-columns: repeat(2, 1fr);
   }

   .trust-item {
      border-bottom: 1px solid rgba(255, 255, 255, 0.07);
   }

   .trust-item:nth-child(2n) {
      border-right: none;
   }

   .trust-item:nth-child(3),
   .trust-item:nth-child(4) {
      border-bottom: none;
      border-bottom-color: transparent;
   }
}

.trust-item:hover {
   color: #fff;
}

.trust-item:hover .trust-icon-wrap {
   background: rgba(0, 212, 170, 0.2);
   border-color: rgba(0, 212, 170, 0.5);
   box-shadow: 0 0 16px rgba(0, 212, 170, 0.25);
}

.trust-item:hover svg {
   color: var(--color-pulse);
   transform: scale(1.12);
}

.trust-icon-wrap {
   width: 40px;
   height: 40px;
   border-radius: 10px;
   background: rgba(0, 212, 170, 0.08);
   border: 1px solid rgba(0, 212, 170, 0.18);
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
   transition: all 0.3s ease;
}

.trust-item svg {
   width: 20px;
   height: 20px;
   flex-shrink: 0;
   color: var(--color-pulse);
   transition: all 0.3s ease;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
   padding: 5rem 0;
   background: var(--color-branco)
}

.services .container {
   text-align: center
}

.services .section-subtitle {
   margin-left: auto;
   margin-right: auto
}

.services-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 1.5rem;
   margin-top: 2rem
}

.service-card {
   background: var(--color-branco);
   border: 1px solid var(--color-gelo);
   border-radius: var(--radius-md);
   padding: 2rem;
   text-align: left;
   transition: all var(--transition);
   position: relative;
   overflow: hidden
}

.service-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 3px;
   background: var(--color-pulse);
   transform: scaleX(0);
   transform-origin: left;
   transition: transform var(--transition)
}

.service-card:hover {
   border-color: var(--color-pulse);
   transform: translateY(-4px);
   box-shadow: var(--shadow-md)
}

.service-card:hover::before {
   transform: scaleX(1)
}

.service-badge {
   position: absolute;
   top: 1.5rem;
   right: 1.5rem;
   background: rgba(0, 212, 170, 0.1);
   color: var(--color-pulse);
   padding: 0.3rem 0.7rem;
   border-radius: 50px;
   font-size: 0.7rem;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 0.5px;
}

.service-icon {
   width: 48px;
   height: 48px;
   border-radius: var(--radius-sm);
   background: linear-gradient(135deg, var(--color-petroleo), var(--color-abissal));
   display: flex;
   align-items: center;
   justify-content: center;
   margin-bottom: 1.2rem
}

.service-icon svg {
   width: 24px;
   height: 24px;
   color: #fff
}

.service-card h3 {
   margin-bottom: .6rem;
   color: var(--color-abissal)
}

.service-card p {
   font-size: .9rem;
   color: var(--color-prata);
   line-height: 1.6
}

.services-help-banner {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 0.6rem;
   margin-top: 3rem;
   padding: 0.6rem 1.2rem;
   background: rgba(13, 50, 64, 0.04);
   border: 1px solid rgba(13, 50, 64, 0.08);
   border-radius: 50px;
   color: var(--color-prata);
   font-size: 0.85rem;
   font-weight: 500;
   transition: all var(--transition);
}

.services-help-banner:hover {
   background: rgba(13, 50, 64, 0.08);
   color: var(--color-abissal);
   transform: translateY(-2px);
}

.pulse-dot {
   width: 8px;
   height: 8px;
   background-color: var(--color-pulse);
   border-radius: 50%;
   box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.7);
   animation: pulse-dot-animation 2s infinite;
}

@keyframes pulse-dot-animation {
   0% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.7);
   }

   70% {
      transform: scale(1);
      box-shadow: 0 0 0 6px rgba(0, 212, 170, 0);
   }

   100% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(0, 212, 170, 0);
   }
}

/* ============================================
   UPSELLS
   ============================================ */
.upsells {
   padding: 5rem 0;
   background: var(--color-abissal)
}

.upsells .container {
   text-align: center
}

.upsells .section-title {
   color: #fff
}

.upsells .section-subtitle {
   color: #D1D5DB;
   margin-left: auto;
   margin-right: auto
}

.upsells-categories {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2rem;
   margin-top: 3rem;
}

/* Mobile Carousel Adjustments */
@media (max-width: 768px) {
   .upsells-categories {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      gap: 1.5rem;
      padding: 1rem 0.5rem 1rem;
      scrollbar-width: none;
      /* Firefox */
      -ms-overflow-style: none;
      /* IE/Edge */
      -webkit-overflow-scrolling: touch;
      margin-left: -5%;
      /* Pull to edges */
      margin-right: -5%;
      padding-left: 5%;
      /* Adjusted for wider cards */
      padding-right: 5%;
      align-items: stretch;
   }

   .upsells-categories::-webkit-scrollbar {
      display: none;
      /* Chrome/Safari */
   }

   .upsell-category {
      flex: 0 0 90%;
      scroll-snap-align: center;
      min-width: 310px;
      padding: 1.5rem;
   }

   .upsell-category-header {
      margin-bottom: 1rem;
      padding-bottom: 1rem;
   }

   .upsell-category-header p {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
   }

   .upsell-category-items {
      gap: 0.6rem;
   }

   .upsell-badge {
      padding: 0.75rem 0.85rem;
      font-size: 0.8rem;
      gap: 0.5rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      justify-content: flex-start;
   }

   .upsell-badge svg {
      width: 18px;
      height: 18px;
   }
}

.upsell-category {
   background: rgba(255, 255, 255, 0.03);
   border: 1px solid rgba(0, 212, 170, 0.15);
   border-radius: var(--radius-md);
   padding: 1.8rem;
   text-align: left;
   display: flex;
   flex-direction: column;
   transition: all var(--transition);
}

.upsell-category:hover {
   background: rgba(255, 255, 255, 0.05);
   border-color: rgba(0, 212, 170, 0.3);
   transform: translateY(-4px);
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.upsell-category-header {
   margin-bottom: 1.5rem;
   border-bottom: 1px solid rgba(255, 255, 255, 0.06);
   padding-bottom: 1.2rem;
}

.upsell-category-header h3 {
   color: #fff;
   font-size: 1.15rem;
   margin-bottom: 0.5rem;
}

.upsell-category-header p {
   color: #9CA3AF;
   font-size: 0.85rem;
   line-height: 1.5;
}

.upsell-category-items {
   display: flex;
   flex-direction: column;
   gap: 0.8rem;
   flex-grow: 1;
}

.upsell-badge {
   display: flex;
   align-items: center;
   gap: .75rem;
   padding: 1rem 1.2rem;
   background: rgba(26, 92, 112, .25);
   border: 1px solid rgba(0, 212, 170, .15);
   border-radius: var(--radius-sm);
   color: #fff;
   font-size: .9rem;
   font-weight: 500;
   transition: all var(--transition)
}

.upsell-badge:hover {
   background: rgba(26, 92, 112, .4);
   border-color: rgba(0, 212, 170, .35);
   transform: translateY(-2px)
}

.upsell-badge svg {
   width: 20px;
   height: 20px;
   color: var(--color-pulse);
   flex-shrink: 0
}

.upsells-indicators {
   display: none;
   justify-content: center;
   gap: 0.8rem;
   margin-top: 0.5rem;
}

@media (max-width: 768px) {
   .upsells-indicators {
      display: flex;
   }
}

.upsell-indicator {
   width: 12px;
   height: 12px;
   background: rgba(255, 255, 255, 0.15);
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: 3px;
   cursor: pointer;
   transition: all var(--transition);
}

.upsell-indicator.active {
   background: var(--color-pulse);
   transform: scale(1.2);
   box-shadow: 0 0 12px rgba(0, 212, 170, 0.4);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
   padding: 5rem 0;
   background: #F1F5F9;
}

.how-it-works .container {
   text-align: center
}

.how-it-works .section-subtitle {
   margin-left: auto;
   margin-right: auto
}

.timeline {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 1.5rem;
   margin-top: 2.5rem;
   position: relative
}

.timeline::before {
   content: '';
   position: absolute;
   top: 32px;
   left: 0;
   right: 0;
   height: 2px;
   background: linear-gradient(90deg,
         transparent 12.5%,
         var(--color-petroleo) 12.5%,
         var(--color-pulse) 37.5%,
         var(--color-pulse) 62.5%,
         var(--color-petroleo) 87.5%,
         transparent 87.5%);
}

.timeline-step {
   text-align: center;
   position: relative;
   z-index: 2
}

.step-number {
   width: 64px;
   height: 64px;
   border-radius: 50%;
   background: var(--color-petroleo);
   color: #fff;
   border: none;
   box-shadow: 0 0 0 6px #F1F5F9;
   /* Criar espaço entre a bola e a linha */
   font-family: var(--font-heading);
   font-weight: 800;
   font-size: 1.4rem;
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 0 auto 1.2rem;
   transition: all var(--transition);
   position: relative;
   z-index: 3;
}

.timeline-step:hover .step-number {
   background: var(--color-pulse);
   color: var(--color-branco);
   transform: scale(1.1)
}

.timeline-step h3 {
   margin-bottom: .4rem;
   font-size: 1.05rem
}

.timeline-step p {
   font-size: .85rem;
   color: var(--color-prata);
   max-width: 200px;
   margin: 0 auto
}

.timeline-trust {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 0.6rem;
   margin-top: 3.5rem;
   padding: 0.75rem 1.5rem;
   background: rgba(255, 255, 255, 0.6);
   backdrop-filter: blur(4px);
   border: 1px solid rgba(0, 212, 170, 0.2);
   border-radius: 50px;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
   color: var(--color-abissal);
   font-size: 0.95rem;
   font-weight: 600;
}

.timeline-trust svg {
   color: var(--color-pulse);
   width: 22px;
   height: 22px;
}

.timeline-speed {
   font-size: 0.92rem;
   color: var(--color-abissal);
   font-weight: 500;
   margin-top: 0.2rem;
}

.timeline-speed strong {
   color: var(--color-pulse);
   font-weight: 700;
}

/* ============================================
   PORTFOLIO PREVIEW
   ============================================ */
.portfolio-preview {
   padding: 5rem 0;
   background: var(--color-branco)
}

.portfolio-preview .container {
   text-align: center
}

.portfolio-preview .section-subtitle {
   margin-left: auto;
   margin-right: auto
}

.portfolio-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 1.5rem;
   margin-bottom: 2.5rem
}

.project-card {
   border-radius: var(--radius-md);
   overflow: hidden;
   background: var(--color-branco);
   border: 1px solid var(--color-gelo);
   transition: all var(--transition)
}

.project-card:hover {
   transform: translateY(-4px);
   box-shadow: var(--shadow-md)
}

.project-cover {
   height: 200px;
   position: relative;
   overflow: hidden
}

.project-img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: top;
   transform: scale(1.6) translateY(-20%);
   transition: transform var(--transition);
   display: block;
}

.project-card:hover .project-img,
.catalog-card:hover .project-img {
   transform: scale(1.7) translateY(-20%);
}

.project-cover-inner {
   width: 100%;
   height: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-family: var(--font-heading);
   font-weight: 700;
   font-size: 1.3rem;
   color: rgba(255, 255, 255, .9);
   text-shadow: 0 2px 8px rgba(0, 0, 0, .3)
}

.project-card-body {
   padding: 1.2rem;
   text-align: left
}

.project-category {
   display: inline-block;
   padding: .25rem .7rem;
   border-radius: 50px;
   font-size: .75rem;
   font-weight: 600;
   margin-bottom: .6rem
}

.cat-institucional {
   background: rgba(0, 212, 170, .12);
   color: var(--color-pulse)
}

.cat-landing {
   background: rgba(212, 160, 0, .12);
   color: #d4a000
}

.cat-ecommerce {
   background: rgba(160, 80, 200, .12);
   color: #a050c8
}

.project-card-body h3 {
   font-size: 1.05rem;
   margin-bottom: .3rem
}

.project-card-body p {
   font-size: .85rem;
   color: var(--color-prata);
   margin-bottom: .8rem
}

.project-card-body .btn {
   font-size: .85rem;
   padding: .5rem 1rem
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
   padding: 5rem 0;
   background: var(--color-petroleo)
}

.testimonials .container {
   text-align: center
}

.testimonials .section-title {
   color: #fff
}

.testimonials .section-subtitle {
   color: rgba(255, 255, 255, .6);
   margin-left: auto;
   margin-right: auto
}

.testimonials-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 1.5rem;
   position: relative;
}

.testimonials-indicators {
   display: none;
   justify-content: center;
   gap: 0.8rem;
   margin-top: 2.5rem;
}

.indicator {
   width: 10px;
   height: 10px;
   background: rgba(255, 255, 255, 0.15);
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: 3px;
   cursor: pointer;
   transition: all var(--transition);
}

.indicator.active {
   background: var(--color-pulse);
   transform: scale(1.2);
   box-shadow: 0 0 12px rgba(0, 212, 170, 0.4);
}

.testimonial-card {
   background: rgba(255, 255, 255, .06);
   border: 1px solid rgba(255, 255, 255, .1);
   border-radius: var(--radius-md);
   padding: 2.5rem;
   text-align: left;
   position: relative;
   overflow: hidden;
   transition: all var(--transition)
}

.testimonial-card:hover {
   background: rgba(255, 255, 255, .08);
   transform: scale(1.02);
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-card:nth-child(2) {
   transform: scale(1.03);
   background: rgba(255, 255, 255, .08);
   border-color: rgba(0, 212, 170, 0.2);
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card:nth-child(2):hover {
   transform: scale(1.05);
   background: rgba(255, 255, 255, .1);
   box-shadow: 0 15px 40px rgba(0, 212, 170, 0.15);
}

.testimonial-quote {
   position: absolute;
   top: 2.2rem;
   right: 2.5rem;
   font-size: 6rem;
   color: #ffffff;
   opacity: 0.05;
   font-family: "Georgia", serif;
   line-height: 1;
   pointer-events: none;
   z-index: 0;
   user-select: none;
}

.testimonial-stars {
   color: var(--color-pulse);
   font-size: 1rem;
   letter-spacing: 2px;
   margin-bottom: 1rem;
}

.testimonial-card p {
   color: #fff;
   font-size: 0.95rem;
   font-weight: 500;
   line-height: 1.7;
   margin-bottom: 1.5rem;
   position: relative;
   z-index: 1;
}

.testimonial-author {
   display: flex;
   align-items: center;
   gap: .75rem
}

.testimonial-avatar {
   width: 48px;
   height: 48px;
   border-radius: 50%;
   background: linear-gradient(135deg, var(--color-petroleo), var(--color-abissal));
   border: 2px solid rgba(0, 212, 170, 0.4);
   box-shadow: 0 0 12px rgba(0, 212, 170, 0.15);
   display: flex;
   align-items: center;
   justify-content: center;
   font-weight: 700;
   color: var(--color-pulse);
   font-size: 0.95rem
}

.testimonial-name {
   font-weight: 600;
   color: #fff;
   font-size: .85rem;
   letter-spacing: 0.2px;
}

.testimonial-company {
   font-size: .75rem;
   color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
   padding: 5rem 0;
   background: linear-gradient(135deg, var(--color-petroleo), var(--color-abissal))
}

.cta-final .container {
   text-align: center
}

.cta-final h2 {
   color: #fff;
   margin-bottom: .8rem
}

.cta-final .section-subtitle {
   color: #D1D5DB;
   margin-left: auto;
   margin-right: auto
}

.cta-form-wrapper {
   max-width: 600px;
   margin: 0 auto;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 1.5rem;
}

.btn-large {
   width: 100%;
   justify-content: center;
   padding: 1.2rem 2rem;
   font-size: 1.1rem;
   border-radius: var(--radius-md);
}

.cta-form input,
.cta-form select {
   width: 100%;
   padding: .85rem 1rem;
   background: rgba(255, 255, 255, .08);
   border: 1px solid rgba(255, 255, 255, .15);
   border-radius: var(--radius-sm);
   color: #fff;
   font-size: .9rem;
   transition: border var(--transition)
}

.cta-form input::placeholder {
   color: rgba(255, 255, 255, .4)
}

.cta-form select {
   color: rgba(255, 255, 255, .4)
}

.cta-form select option {
   color: var(--color-abissal);
   background: var(--color-branco)
}

.cta-form input:focus,
.cta-form select:focus {
   border-color: var(--color-pulse)
}

.cta-form .btn-pulse {
   width: 100%;
   justify-content: center;
   padding: 1rem
}

.cta-security {
   display: flex;
   justify-content: center;
   align-items: center;
   flex-wrap: wrap;
   gap: 1.5rem;
   color: rgba(255, 255, 255, 0.7);
   font-size: 0.85rem;
   margin-top: 0.8rem;
}

.cta-security span {
   display: flex;
   align-items: center;
   gap: 0.4rem;
}

.cta-security svg {
   color: var(--color-pulse);
}

.form-success {
   display: none;
   color: var(--color-pulse);
   font-weight: 600;
   font-size: 1rem;
   padding: 1rem;
   grid-column: 1/-1
}

.form-success.show {
   display: block
}

.input-error {
   border-color: #ff5f57 !important
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
   padding: 3rem 0 1.5rem;
   background: var(--color-abissal);
   border-top: 1px solid rgba(255, 255, 255, .06)
}

.footer .container {
   display: grid;
   grid-template-columns: 1.5fr 1fr 1fr;
   gap: 2rem;
   margin-bottom: 2rem
}

.footer-logo-img {
   height: 40px;
   width: auto;
   display: block;
   margin-bottom: 0.8rem;
   filter: brightness(1.4) drop-shadow(0 0 8px rgba(0, 212, 170, 0.2));
}

.footer-brand p {
   font-size: .85rem;
   color: #D1D5DB;
   max-width: 280px
}

.footer h4 {
   color: #fff;
   font-family: var(--font-heading);
   font-weight: 700;
   font-size: 1rem;
   margin-bottom: 1rem
}

.footer-links a {
   display: block;
   color: #D1D5DB;
   font-size: .85rem;
   margin-bottom: .5rem;
   transition: color var(--transition)
}

.footer-links a:hover {
   color: var(--color-pulse)
}

.footer-social {
   display: flex;
   gap: .75rem;
   margin-top: .5rem
}

.footer-social a {
   width: 36px;
   height: 36px;
   border-radius: 50%;
   background: rgba(255, 255, 255, .06);
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all var(--transition)
}

.footer-social a:hover {
   background: var(--color-pulse)
}

.footer-social a svg {
   width: 18px;
   height: 18px;
   color: #fff
}

.footer-bottom {
   text-align: center;
   padding-top: 1.5rem;
   border-top: 1px solid rgba(255, 255, 255, .06);
   font-size: 0.55rem
}

.footer-bottom p {
   color: #FFFFFF;
   opacity: 0.35;
   letter-spacing: 0.05em;
   font-weight: 400;
   font-size: 0.75rem
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media(max-width:1024px) {
   .hero .container {
      grid-template-columns: 1fr;
      text-align: center
   }

   .hero-subtitle {
      margin-left: auto;
      margin-right: auto
   }

   .hero-buttons {
      justify-content: center
   }

   .hero-center-mockup {
      max-width: 500px;
      margin: 0 auto
   }

   .services-grid,
   .testimonials-grid,
   .portfolio-grid {
      grid-template-columns: repeat(2, 1fr)
   }

   .timeline {
      display: flex;
      flex-direction: column;
      gap: 3.5rem;
      text-align: left;
      padding-left: 0;
      position: relative;
      margin-top: 3rem;
   }

   .timeline::before {
      display: none;
   }

   .timeline-step {
      display: flex;
      align-items: flex-start;
      gap: 1.5rem;
      position: relative;
      z-index: 2;
      min-height: 100px;
   }

   .step-number {
      flex: 0 0 48px;
      width: 48px;
      height: 48px;
      min-width: 48px;
      min-height: 48px;
      font-size: 1.1rem;
      margin: 0 !important;
      background: var(--color-petroleo);
      color: #fff;
      border: none;
      box-shadow: 0 0 0 6px #F1F5F9;
      z-index: 3;
   }

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

   .timeline-step h3 {
      margin: 0 0 0.5rem 0;
      font-size: 1.25rem;
      color: var(--color-abissal);
   }

   .timeline-step p {
      margin: 0;
      font-size: 0.95rem;
      color: var(--color-prata);
      line-height: 1.5;
      max-width: none;
   }

   .timeline-step:not(:last-child)::before {
      content: '';
      position: absolute;
      left: 23px;
      top: 24px;
      bottom: calc(-3.5rem - 24px);
      width: 2px;
      background: linear-gradient(180deg, var(--color-petroleo), var(--color-pulse));
      z-index: 1;
   }

   .timeline-step:nth-child(2)::before {
      background: var(--color-pulse);
   }

   .timeline-step:nth-child(3)::before {
      background: linear-gradient(180deg, var(--color-pulse), var(--color-petroleo));
   }

   /* Upsells categories remain flex/carousel on mobile via main styles */

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

@media(max-width:768px) {

   .nav-links,
   .nav-cta {
      display: none
   }

   .hamburger {
      display: flex
   }

   .hero-content {
      flex: 0 0 100%;
   }

   .services-grid,
   .portfolio-grid,
   .timeline,
   .upsells-categories {
      grid-template-columns: 1fr
   }

   .testimonials-grid {
      grid-template-columns: 1fr;
      position: relative;
      align-items: stretch;
   }

   .testimonial-card {
      grid-area: 1 / 1;
      opacity: 0;
      visibility: hidden;
      transform: scale(0.96);
      transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
      pointer-events: none;
      height: auto;
      backface-visibility: hidden;
      -webkit-font-smoothing: subpixel-antialiased;
   }

   .testimonial-card.active {
      opacity: 1;
      visibility: visible;
      transform: scale(1);
      pointer-events: all;
      z-index: 5;
   }

   .testimonials-indicators {
      display: flex;
   }

   .trust-bar .container {
      grid-template-columns: repeat(2, 1fr);
   }

   .trust-item {
      flex-direction: column;
      text-align: center;
      gap: 0.6rem;
      padding: 1.5rem 0.5rem;
      font-size: 0.85rem;
   }

   .cta-form {
      grid-template-columns: 1fr
   }

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

   .hero-badge {
      font-size: .78rem;
   }

   .timeline-trust {
      font-size: 0.82rem;
      padding: 0.75rem 1.2rem;
      gap: 0.8rem;
      max-width: 300px;
      margin: 3rem auto 0;
      line-height: 1.4;
   }

   .timeline-trust svg {
      width: 24px;
      height: 24px;
      flex-shrink: 0;
   }
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.floating-whatsapp {
   position: fixed;
   bottom: 2rem;
   right: 2rem;
   width: 60px;
   height: 60px;
   background-color: var(--color-pulse);
   color: white;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   z-index: 990;
   transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
   text-decoration: none;
   opacity: 1;
   visibility: visible;
   transform: translateY(0) scale(1);
}

.floating-whatsapp svg {
   width: 34px;
   height: 34px;
}

.floating-whatsapp:hover {
   transform: translateY(-5px) scale(1.05);
   box-shadow: 0 6px 20px rgba(0, 212, 170, 0.6);
   color: white;
}

.floating-whatsapp.hidden {
   opacity: 0;
   visibility: hidden;
   transform: translateY(20px) scale(0.9);
   pointer-events: none;
}

@media (max-width: 768px) {
   .floating-whatsapp {
      bottom: 1.5rem;
      right: 1.5rem;
      width: 54px;
      height: 54px;
   }

   .floating-whatsapp svg {
      width: 30px;
      height: 30px;
   }
}