/* =============================================
   GAMMA MÍDIAS — LANDING PAGE
   Design System & Complete Styles
   ============================================= */

/* ─── Custom Properties ─── */
:root {
  /* Backgrounds */
  --bg-primary: #060b18;
  --bg-secondary: #0a1628;
  --bg-tertiary: #0e1d36;
  --bg-surface: rgba(14, 29, 54, 0.55);

  /* Text */
  --text-primary: #f2f2f2;
  --text-secondary: #a3b1bd;
  --text-muted: #5a6a7d;

  /* Accent */
  --accent: #2781d4;
  --accent-light: #3a9ef0;
  --accent-dark: #1450c4;
  --navy: #0b2066;
  --navy-deep: #092c52;

  /* Glass */
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-bg: rgba(14, 29, 54, 0.5);
  --glass-hover: rgba(22, 40, 72, 0.65);

  /* Gradients */
  --grad-accent: linear-gradient(135deg, #2781d4, #1450c4);
  --grad-accent-h: linear-gradient(135deg, #3a9ef0, #2781d4);
  --grad-dark: linear-gradient(180deg, #060b18 0%, #0e1d36 100%);
  --grad-radial: radial-gradient(ellipse at 50% 0%, rgba(39, 129, 212, 0.12) 0%, transparent 60%);

  /* Typography */
  --font-heading: 'Exo 2', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  /* Layout */
  --container: 1200px;
  --section-py: clamp(80px, 10vw, 140px);
  --gap: clamp(16px, 3vw, 32px);

  /* Radius */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 0.25s var(--ease);
  --t-base: 0.4s var(--ease);
  --t-slow: 0.7s var(--ease);
}


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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 80px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

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

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

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}


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

.section-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}


/* ─── Layout ─── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

section {
  padding: var(--section-py) 0;
  position: relative;
}


/* ─── Reveal Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(39, 129, 212, 0.15); }
  50% { box-shadow: 0 0 40px rgba(39, 129, 212, 0.3); }
}

@keyframes grid-move {
  0% { transform: translateY(0); }
  100% { transform: translateY(40px); }
}

@keyframes count-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }


/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: var(--t-base);
}

.nav.scrolled {
  padding: 8px 0;
  background: rgba(6, 11, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  height: 60px;
  width: auto;
  transition: var(--t-fast);
}

.nav__logo:hover {
  opacity: 0.8;
}

/* Text-based logo fallback */
.nav__brand {
  display: flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav__brand-bracket {
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 1.6rem;
}

.nav__brand-g {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: 1.55rem;
}

.nav__brand-text {
  font-weight: 300;
  letter-spacing: 0.5px;
}

.nav__brand-midias {
  font-weight: 300;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 2px;
  align-self: flex-end;
  letter-spacing: 1px;
}

.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--t-fast);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--t-base);
  border-radius: 1px;
}

.nav__links a:hover {
  color: var(--text-primary);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--grad-accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--t-base);
  border: none;
}

.nav__cta:hover {
  background: var(--grad-accent-h);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(39, 129, 212, 0.3);
}

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

.nav__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--t-base);
}

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

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

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


/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 100px;
}

/* Particle network canvas */
.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Interactive mouse glow */
.hero__mouse-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 129, 212, 0.12) 0%, rgba(20, 80, 196, 0.05) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  filter: blur(30px);
}

/* Ambient glow orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: rgba(39, 129, 212, 0.15);
  top: -100px;
  right: -100px;
  animation: float 12s ease-in-out infinite;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: rgba(20, 80, 196, 0.1);
  bottom: -50px;
  left: -100px;
  animation: float 15s ease-in-out infinite reverse;
}

.hero__orb--3 {
  width: 250px;
  height: 250px;
  background: rgba(11, 32, 102, 0.2);
  top: 40%;
  left: 50%;
  animation: float 10s ease-in-out infinite 2s;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 clamp(20px, 5vw, 40px);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  animation: fadeUp 1s var(--ease) 0.2s both;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

.hero__title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 24px;
  animation: fadeUp 1s var(--ease) 0.4s both;
}

.hero__title-accent {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeUp 1s var(--ease) 0.6s both;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1s var(--ease) 0.8s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--t-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--grad-accent);
  color: #fff;
  border: none;
}

.btn--primary:hover {
  background: var(--grad-accent-h);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(39, 129, 212, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 1s var(--ease) 1.2s both;
}

.hero__scroll span {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 100%;
  height: 50%;
  background: var(--accent-light);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { top: -50%; }
  100% { top: 150%; }
}


/* =============================================
   SOCIAL PROOF STRIP
   ============================================= */
.proof {
  padding: 0;
  position: relative;
  z-index: 5;
}

.proof__strip {
  background: var(--glass-bg);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 48px 0;
}

.proof__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.proof__item {
  text-align: center;
  position: relative;
}

.proof__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--glass-border), transparent);
}

.proof__number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.proof__number .accent {
  color: #fff;
}

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


/* =============================================
   DIFERENCIAIS SECTION
   ============================================= */
.diferenciais {
  background: var(--bg-primary);
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
}

.diferenciais::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(39, 129, 212, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.diferenciais__header {
  text-align: center;
  margin-bottom: 40px;
}

.diferenciais__header .section-subtitle {
  margin: 0 auto;
}

.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dif-card {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  transition: var(--t-base);
  position: relative;
  overflow: hidden;
}

.dif-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-accent);
  opacity: 0;
  transition: var(--t-base);
}

.dif-card:hover {
  background: var(--glass-hover);
  border-color: rgba(39, 129, 212, 0.15);
  transform: translateY(-4px);
}

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

.dif-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: rgba(39, 129, 212, 0.1);
  margin-bottom: 20px;
  font-size: 1.3rem;
  transition: var(--t-base);
}

.dif-card:hover .dif-card__icon {
  background: rgba(39, 129, 212, 0.18);
  transform: scale(1.05);
}

.dif-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dif-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.dif-card__text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}


/* =============================================
   MÉTODO SECTION (Timeline)
   ============================================= */
.metodo {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  padding: 50px 0;
}

.metodo::before {
  content: '';
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20, 80, 196, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.metodo__header {
  text-align: center;
  margin-bottom: 40px;
}

.metodo__header .section-subtitle {
  margin: 0 auto;
}

/* Steps container */
.steps {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
}

/* Individual step */
.step {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  opacity: 0.25;
  transform: translateX(-12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.step.active {
  opacity: 1;
  transform: translateX(0);
}

.step.near {
  opacity: 0.5;
  transform: translateX(-6px);
}

/* Number column */
.step__number-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

/* Big number */
.step__big-number {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 9vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(39, 129, 212, 0.12);
  transition: color 0.6s ease, -webkit-text-stroke 0.6s ease, text-shadow 0.6s ease;
  user-select: none;
  position: relative;
  will-change: color, text-shadow;
}

.step.active .step__big-number {
  -webkit-text-stroke: 2px rgba(39, 129, 212, 0.6);
  color: rgba(39, 129, 212, 0.1);
  text-shadow: 0 0 20px rgba(39, 129, 212, 0.25);
}

/* Connecting line between steps */
.step__line {
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(39, 129, 212, 0.15), rgba(39, 129, 212, 0.05));
  margin: 12px 0 8px;
  border-radius: 2px;
  transition: background 0.6s ease;
  position: relative;
  overflow: hidden;
}

.step.active .step__line {
  background: linear-gradient(to bottom, rgba(39, 129, 212, 0.4), rgba(39, 129, 212, 0.1));
}

.step__line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, transparent, var(--accent-light));
  animation: step-drip 2.5s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.step.active .step__line::after {
  opacity: 1;
}

@keyframes step-drip {
  0% { top: -50%; }
  100% { top: 150%; }
}

/* Content */
.step__content {
  padding-top: 12px;
  padding-bottom: 16px;
}

.step__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 10px;
  transition: all 0.6s ease;
}

.step.active .step__title {
  color: #fff;
}

.step__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 500px;
  transition: color 0.6s ease;
}

.step.active .step__text {
  color: var(--text-secondary);
}


/* =============================================
   SERVIÇOS SECTION
   ============================================= */
.servicos {
  background: var(--bg-primary);
  position: relative;
  padding: 50px 0;
}

.servicos__header {
  text-align: center;
  margin-bottom: 32px;
}

.servicos__header .section-subtitle {
  margin: 0 auto;
}

.servicos__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.serv-card {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 0;
  text-align: center;
  transition: var(--t-base);
  position: relative;
  overflow: hidden;
  min-height: 200px;
  cursor: pointer;
}

.serv-card:hover {
  border-color: rgba(39, 129, 212, 0.25);
  box-shadow: 0 8px 32px rgba(39, 129, 212, 0.1);
}

/* Front (cover) — always visible */
.serv-card__front {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

@media (hover: hover) {
  .serv-card:hover .serv-card__front {
    opacity: 0;
    transform: scale(0.92);
  }
}

.serv-card.active .serv-card__front {
  opacity: 0;
  transform: scale(0.92);
}

.serv-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border-radius: var(--r-sm);
  background: rgba(39, 129, 212, 0.08);
  transition: var(--t-base);
}

@media (hover: hover) {
  .serv-card:hover .serv-card__icon {
    background: rgba(39, 129, 212, 0.15);
  }
}

.serv-card.active .serv-card__icon {
  background: rgba(39, 129, 212, 0.15);
}

.serv-card__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.serv-card__title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.serv-card__text {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.serv-card__text::after {
  content: "Toque para detalhes +";
  display: block;
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 16px;
  cursor: pointer;
}

@media (min-width: 769px) {
  .serv-card__text::after {
    content: "Ver detalhes +";
  }
}

/* Overlay — slides up on hover */
.serv-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(20, 50, 120, 0.95), rgba(6, 11, 24, 0.97));
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 22px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  border-top: 2px solid var(--accent);
}

@media (hover: hover) {
  .serv-card:hover .serv-card__overlay {
    opacity: 1;
    transform: translateY(0);
  }
}

.serv-card.active .serv-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

.serv-card__overlay-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.serv-card__overlay-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
}


/* =============================================
   CASES SECTION
   ============================================= */
.cases {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  padding: 50px 0;
}

.cases::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: var(--grad-radial);
  pointer-events: none;
}

.cases__header {
  text-align: center;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}

.cases__header .section-subtitle {
  margin: 0 auto;
}

.cases__carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 8px clamp(20px, 5vw, 40px) 24px;
  max-width: calc(var(--container) + 80px);
  margin: 0 auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  position: relative;
  z-index: 2;
}

.cases__carousel::-webkit-scrollbar {
  display: none;
}

.case-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: var(--t-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  background: var(--glass-hover);
  border-color: rgba(39, 129, 212, 0.2);
  transform: translateY(-4px);
}

/* Header: badge + ROI */
.case-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.case-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.case-card__platform-logo {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.case-card__badge--google {
  background: rgba(66, 133, 244, 0.12);
  color: #6ea8f6;
  border: 1px solid rgba(66, 133, 244, 0.15);
}

.case-card__badge--meta {
  background: rgba(0, 132, 255, 0.12);
  color: #4da6ff;
  border: 1px solid rgba(0, 132, 255, 0.15);
}

.case-card__roi {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
  padding: 3px 10px;
  border-radius: 50px;
}

/* Segment */
.case-card__segment {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 500;
}

/* Hero result — the big number */
.case-card__hero-result {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px 0;
  margin-bottom: 20px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(39, 129, 212, 0.06), rgba(20, 80, 196, 0.04));
  border: 1px solid rgba(39, 129, 212, 0.08);
}

.case-card__hero-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  margin-bottom: 6px;
}

.case-card__hero-value {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

/* Footer: secondary metrics */
.case-card__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.case-card__stat {
  flex: 1;
  text-align: center;
}

.case-card__stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.case-card__stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.case-card__stat-divider {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, var(--glass-border), transparent);
  flex-shrink: 0;
}

/* Scroll indicators */
.cases__controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.cases__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--t-base);
  color: var(--text-secondary);
}

.cases__arrow:hover {
  background: var(--glass-hover);
  border-color: var(--accent);
  color: var(--accent);
}

.cases__arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* =============================================
   DEPOIMENTOS SECTION
   ============================================= */
.depoimentos {
  background: var(--bg-primary);
  position: relative;
  padding: 50px 0;
}

.depoimentos__header {
  text-align: center;
  margin-bottom: 28px;
}

.depoimentos__header .section-subtitle {
  margin: 0 auto;
}

.depoimentos__carousel {
  display: flex;
  align-items: stretch;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 8px clamp(20px, 5vw, 40px) 24px;
  max-width: calc(var(--container) + 80px);
  margin: 0 auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.depoimentos__carousel::-webkit-scrollbar {
  display: none;
}

.dep-card {
  flex: 0 0 350px;
  scroll-snap-align: start;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  position: relative;
  transition: var(--t-base);
  display: flex;
  flex-direction: column;
  height: auto;
}

.dep-card:hover {
  border-color: rgba(39, 129, 212, 0.12);
  transform: translateY(-2px);
}

.dep-card__quote-mark {
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.25;
  font-family: Georgia, serif;
  position: absolute;
  top: 20px;
  left: 28px;
}

.dep-card__text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
  font-style: italic;
  position: relative;
  z-index: 1;
  flex: 1;
}

.dep-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dep-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.dep-card__name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.dep-card__role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.dep-card__years {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(39, 129, 212, 0.08);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 8px;
}


/* =============================================
   CTA FINAL SECTION
   ============================================= */
.cta-final {
  background: var(--bg-secondary);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 50px 0;
}

.cta-final__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(39, 129, 212, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-final__content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 0 auto;
}

.cta-final .section-title {
  margin-bottom: 16px;
}

.cta-final__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-final__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-final__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}


/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--glass-border);
  padding: 48px 0;
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__logo {
  height: 64px;
  width: auto;
  opacity: 0.7;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.footer__socials {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t-base);
  color: var(--text-muted);
}

.footer__social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(39, 129, 212, 0.08);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer__copy {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}


/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
  .diferenciais__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* Mobile */
@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 11, 24, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links a {
    font-size: 1.2rem;
  }

  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero__title {
    font-size: clamp(2.4rem, 11vw, 3.8rem);
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .proof__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

  .proof__item:nth-child(2)::after {
    display: none;
  }

  .proof__item::after {
    display: none;
  }

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

  .timeline::before {
    left: 18px;
  }

  .timeline__number {
    left: 2px;
    width: 32px;
    height: 32px;
  }

  .timeline__item {
    padding-left: 56px;
  }

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

  .case-card, .dep-card {
    flex: 0 0 300px;
    scroll-snap-align: center;
  }

  .cases__carousel, .depoimentos__carousel {
    padding: 8px 0 24px;
    scroll-padding: 0;
  }

  .cases__carousel::before, .cases__carousel::after,
  .depoimentos__carousel::before, .depoimentos__carousel::after {
    content: '';
    flex: 0 0 calc(50vw - 174px); /* 150px (half card) + 24px (gap) */
    display: block;
  }

  .cta-final__buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .proof__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__badge {
    font-size: 0.72rem;
    padding: 6px 16px;
  }

  .case-card, .dep-card {
    flex: 0 0 280px;
  }
  
  .cases__carousel::before, .cases__carousel::after,
  .depoimentos__carousel::before, .depoimentos__carousel::after {
    flex: 0 0 calc(50vw - 164px); /* 140px (half card) + 24px (gap) */
  }
  
  .dep-card {
    padding: 28px 24px;
  }
}
