@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700&family=Oswald:wght@300;400;500;600;700&display=swap');

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 0 !important;
}

:root {
  --black: #000000;
  --dark: #0a0a0a;
  --dark-2: #111111;
  --asphalt: #1a1a1a;
  --asphalt-2: #222222;
  --asphalt-3: #333333;
  --gray-mid: #8b8b8b;
  --gray-tech: #c7c7c7;
  --gray-light: #e1e1e1;
  --white: #F9F9F9;
  --orange: #E85002;
  --orange-dark: #C10801;
  --red: #F16001;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
  scrollbar-width: none;
}

@media (max-width: 420px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: 'JetBrains Mono', monospace;
  background: linear-gradient(180deg, var(--black) 0%, var(--dark) 100%);
  color: var(--white);
  overflow-x: hidden;
  scrollbar-width: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
  /* Melhor para leitura */
  text-rendering: optimizeLegibility;
  word-spacing: normal;
}

p {
  color: var(--gray-light);
}

::selection {
  background: var(--orange);
  color: var(--black);
}

::-webkit-scrollbar {
  width: 0;
  height: 0;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: transparent;
}

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

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

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

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

section[id] {
  scroll-margin-top: 110px;
}

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

@media (min-width: 1280px) {
  .container {
    padding: 0 24px;
  }
}

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

/* ===== NOISE TEXTURE ===== */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* ===== GRID BACKGROUND ===== */
.grid-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
}

.section-animate {
  position: relative;
}

.section-progress {
  position: absolute;
  left: 12px;
  top: 80px;
  width: 2px;
  height: calc(var(--section-progress, 0) * 1%);
  background: linear-gradient(180deg, rgba(232, 80, 2, 0.2), var(--orange));
  box-shadow: 0 0 12px rgba(232, 80, 2, 0.25);
  transition: height 0.1s ease-out;
  opacity: 0.7;
}

@media (max-width: 700px) {
  .section-progress {
    display: none;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(232, 80, 2, 0.3);
  }

  50% {
    box-shadow: 0 0 30px 0 rgba(232, 80, 2, 0.15);
  }
}

@keyframes lineExpand {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-section.vis {
  opacity: 1;
  transform: translateY(0);
}

.text-anim .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(120%);
  margin-right: 0.32em;
}

.hero h1 .word,
.hero-sub .word {
  margin-right: 0.32em;
}

.text-anim .word:last-child,
.hero h1 .word:last-child,
.hero-sub .word:last-child {
  margin-right: 0;
}

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

  .reveal,
  .reveal-section,
  .text-anim .word {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.delay-1 {
  transition-delay: 0.1s;
}

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

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

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

.delay-5 {
  transition-delay: 0.5s;
}

.delay-6 {
  transition-delay: 0.6s;
}

.delay-7 {
  transition-delay: 0.7s;
}

.delay-8 {
  transition-delay: 0.8s;
}

/* ================================================================
   HEADER
   ================================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.4s ease;
  background: transparent;
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, rgba(232, 80, 2, 0.2), var(--orange));
  box-shadow: 0 0 12px rgba(232, 80, 2, 0.35);
  transition: width 0.15s ease-out;
}

/* Floating scrollbar */
.floating-scrollbar {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 60vh;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  z-index: 998;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  cursor: grab;
  transition: width 0.2s ease, background 0.2s ease;
}

.floating-scrollbar-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffb36b 0%, var(--orange) 100%);
  box-shadow: 0 0 12px rgba(232, 80, 2, 0.7);
  transition: height 0.18s ease-out;
  pointer-events: none;
}

.floating-scrollbar:hover {
  width: 10px;
  background: rgba(255, 255, 255, 0.12);
}

.floating-scrollbar.dragging {
  width: 12px;
  background: rgba(255, 255, 255, 0.14);
  cursor: grabbing;
}

@media (max-width: 900px) {
  .floating-scrollbar {
    right: 10px;
    height: 50vh;
    width: 5px;
  }
}

@media (max-width: 600px) {
  .floating-scrollbar {
    display: none;
  }
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 80, 2, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 101;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--black);
  transition: transform 0.3s ease;
}

.logo:hover .logo-mark {
  transform: scale(1.05);
}

.logo-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.15em;
  color: var(--white);
  transition: color 0.3s ease;
}

.logo:hover .logo-name {
  color: var(--orange);
}

/* Desktop Nav */
.nav {
  display: none;
  align-items: center;
  gap: 0;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
}

.nav a {
  padding: 8px 16px;
  font-size: 0.667rem;
  /* 12px */
  font-weight: 500;
  letter-spacing: 0.08em;
  /* Mais espaço para textos pequenos */
  color: var(--gray-light);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav a:hover {
  color: var(--white);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-sep {
  color: var(--gray-mid);
  font-size: 0.667rem;
  /* 12px */
  user-select: none;
}

/* CTA Button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  /* Área de toque maior */
  background: var(--orange);
  color: var(--black);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.667rem;
  /* 12px */
  font-weight: 700;
  letter-spacing: 0.1em;
  /* Espaçamento otimizado */
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-height: 48px;
  /* Padrão Google para toque */
}

.btn-cta:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(232, 80, 2, 0.18);
}

.nav .btn-cta {
  margin-left: 20px;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  z-index: 101;
  cursor: pointer;
}

@media (min-width: 900px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
  transform-origin: center;
}

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

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

/* Mobile Menu */
.mob-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.98);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mob-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mob-menu a {
  display: block;
  padding: 20px 40px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 0.1em;
  color: var(--gray-light);
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
}

.mob-menu a:hover {
  color: var(--orange);
  background: rgba(232, 80, 2, 0.05);
}

.mob-menu .mob-cta {
  margin-top: 40px;
  padding: 16px 48px;
  background: var(--orange);
  color: var(--black);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.mob-menu .mob-cta:hover {
  background: var(--white);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 96px;
}

.hero-cursor-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(180px 180px at var(--glow-x, 50%) var(--glow-y, 50%),
      rgba(232, 80, 2, 0.18),
      rgba(232, 80, 2, 0.08) 40%,
      transparent 70%);
  mix-blend-mode: screen;
}

.hero:hover .hero-cursor-glow {
  opacity: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(232, 80, 2, 0.06) 0%, transparent 70%),
    linear-gradient(180deg, var(--black) 0%, var(--dark) 100%);
}

.hero-streak {
  position: absolute;
  right: -6%;
  top: 50%;
  width: 48vw;
  height: 70vh;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

.hero-streak::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  transform: translateY(-50%) rotate(-12deg);
  background: linear-gradient(90deg, rgba(232, 80, 2, 0) 0%, rgba(232, 80, 2, 0.6) 40%, rgba(255, 150, 60, 0.85) 55%, rgba(232, 80, 2, 0.2) 85%, rgba(232, 80, 2, 0) 100%);
  box-shadow: 0 0 18px rgba(232, 80, 2, 0.45);
  opacity: 0.9;
}

.hero-streak::after {
  content: '';
  position: absolute;
  right: 12%;
  top: 10%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 80, 2, 0.25) 0%, rgba(232, 80, 2, 0.05) 55%, rgba(232, 80, 2, 0) 70%);
  filter: blur(2px);
  opacity: 0.85;
}

.hero-streak span {
  position: absolute;
  right: 10%;
  bottom: 6%;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  letter-spacing: 0.25em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232, 80, 2, 0.35);
  text-stroke: 1px rgba(232, 80, 2, 0.35);
  opacity: 0.9;
}

.hero-streak span::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232, 80, 2, 0.85);
  text-stroke: 1px rgba(232, 80, 2, 0.85);
  background: linear-gradient(90deg, rgba(232, 80, 2, 0) 0%, rgba(232, 80, 2, 0.95) 40%, rgba(255, 176, 90, 1) 55%, rgba(232, 80, 2, 0) 100%);
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: heroStrokeDraw 4.2s linear infinite;
  opacity: 0.95;
}

@keyframes heroStrokeDraw {
  0% {
    background-position: 0% 50%;
    opacity: 0.3;
  }

  30% {
    opacity: 0.9;
  }

  100% {
    background-position: 220% 50%;
    opacity: 0.2;
  }
}

/* Decorative elements */
.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.deco-circle {
  position: absolute;
  top: 15%;
  right: 5%;
  opacity: 0.06;
}

.deco-data {
  position: absolute;
  bottom: 40px;
  right: 40px;
  text-align: right;
  opacity: 0.15;
}

.deco-data p {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gray-light);
  line-height: 2;
}

.deco-data p.orange {
  color: var(--orange);
}

.deco-label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gray-light);
  opacity: 0.15;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-inner {
  max-width: 700px;
  position: static;
}

@media (max-width: 900px) {
  .hero-streak {
    right: -18%;
    width: 70vw;
    height: 55vh;
  }
}

@media (max-width: 600px) {
  .hero-streak {
    display: none;
  }
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-tag-line {
  width: 40px;
  height: 1px;
  background: var(--orange);
}

.hero-tag span {
  font-size: 0.778rem;
  /* 14px */
  font-weight: 600;
  letter-spacing: 0.4em;
  color: var(--orange);
  text-transform: uppercase;
}

.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1.0;
  /* Título como bloco sólido */
  letter-spacing: -0.015em;
  /* Apertar letras grandes */
  color: var(--white);
  margin-bottom: 28px;
  word-break: keep-all;
  /* Evitar quebra de palavra */
  text-wrap: balance;
}

.hero h1 .accent {
  color: var(--orange);
}

.hero h1.typing {
  position: relative;
}

.type-caret {
  display: inline-block;
  width: 0.08em;
  height: 0.9em;
  background: var(--orange);
  margin-left: 0.08em;
  transform: translateY(0.08em);
  animation: blinkCaret 1s steps(2, end) infinite;
}

@keyframes blinkCaret {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* Text Animation Styles */
.hero h1 .word,
.hero-sub .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
}

.hero h1 .char,
.hero-sub .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.6rem);
  }
}

@media (min-width: 900px) {
  .hero h1 {
    font-size: clamp(3.4rem, 6vw, 5rem);
  }
}

@media (min-width: 1100px) {
  .hero h1 {
    font-size: clamp(3.8rem, 6vw, 5.2rem);
  }
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 400;
  color: var(--gray-light);
  line-height: 1.75;
  /* Mais respiro para lead */
  max-width: 520px;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .hero-sub {
    font-size: 1.222rem;
    /* 22px */
  }
}

/* Hero Buttons */
.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 480px) {
  .hero-btns {
    flex-direction: row;
    gap: 16px;
  }
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.778rem;
  /* 14px */
  font-weight: 700;
  letter-spacing: 0.06em;
  /* Equilíbrio para uppercase */
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  min-height: 52px;
  /* Área de toque generosa */
  text-transform: uppercase;
}

.btn-hero.primary {
  background: var(--orange);
  color: var(--black);
  animation: glow 3s ease-in-out infinite;
  box-shadow: 0 10px 28px rgba(232, 80, 2, 0.2);
}

.btn-hero.primary:hover {
  background: var(--white);
  color: var(--black);
  animation: none;
  transform: translateY(-2px);
}

.btn-hero.secondary {
  background: transparent;
  color: var(--gray-tech);
  border: 1px solid var(--asphalt-3);
}

.btn-hero.secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 20px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--asphalt);
  flex-wrap: wrap;
}

@media (min-width: 640px) {
  .hero-stats {
    gap: 56px;
  }
}

.hero-stat h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: var(--white);
  line-height: 1.1;
}

@media (min-width: 640px) {
  .hero-stat h3 {
    font-size: 2.111rem;
    /* 38px */
  }
}

.hero-stat p {
  font-size: 0.667rem;
  /* 12px - mínimo legível */
  letter-spacing: 0.15em;
  color: var(--gray-light);
  margin-top: 6px;
  line-height: 1.4;
}

/* Hero bottom line */
.hero-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 80, 2, 0.3), transparent);
}

/* ================================================================
   SECTION HEADER (reusable)
   ================================================================ */
.sec-header {
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .sec-header {
    margin-bottom: 64px;
  }
}

.sec-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.sec-tag-line {
  width: 32px;
  height: 1px;
  background: var(--orange);
}

.sec-tag span {
  font-size: 0.667rem;
  /* 12px */
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--orange);
}

.sec-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .sec-title {
    font-size: 2.889rem;
    /* 52px */
  }
}

.sec-desc {
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  color: var(--gray-light);
  margin-top: 12px;
  max-width: 480px;
  line-height: 1.7;
}

/* ================================================================
   SERVICES - BENTO GRID
   ================================================================ */
/* Services */
.services {
  padding: 72px 0;
  position: relative;
}

@media (min-width: 768px) {
  .services {
    padding: 120px 0;
  }
}

.page-map {
  padding: 72px 0;
  position: relative;
}

@media (min-width: 768px) {
  .page-map {
    padding: 120px 0;
  }
}

.page-map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.page-map-card {
  border: 1px solid var(--asphalt-3);
  background: rgba(255, 255, 255, 0.02);
  padding: 18px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.page-map-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.page-map-title {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  color: var(--white);
}

.page-map-desc {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--gray-tech);
}

.page-map-link {
  margin-top: 14px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--orange);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-map-link span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.page-map-link:hover span {
  transform: translateX(2px);
}

.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--asphalt);
  grid-auto-rows: 1fr;
}

.bento .bento-card.reveal {
  opacity: 0;
  transform: translateX(-60px);
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.bento .bento-card.reveal:nth-child(even) {
  transform: translateX(60px);
}

.bento .bento-card.reveal.vis {
  opacity: 1;
  transform: translateX(0);
}

@media (min-width: 520px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 640px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bento-card {
  position: relative;
  background: linear-gradient(180deg, var(--black) 0%, var(--dark) 100%);
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  height: 100%;
}

@media (min-width: 768px) {
  .bento-card {
    padding: 28px;
    min-height: 240px;
  }
}

.bento-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.4s ease;
}

.bento-card:hover {
  background: var(--dark-2);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.bento-card:hover::before {
  width: 100%;
}

/* Featured card */
.bento-card.featured {
  background: var(--black);
  border: 2px solid var(--orange);
  box-shadow: 0 0 20px rgba(232, 80, 2, 0.1);
}

@media (min-width: 640px) {
  .bento-card.featured {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .bento-card.featured {
    grid-column: span 2;
    grid-row: span 2;
  }
}

/* Module 2 pack layout (3 cards) */
.bento-pack {
  grid-auto-rows: auto;
}

.plans-vertical {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: transparent;
}

.plans-vertical .bento-card,
.plans-vertical .express-mini {
  width: 100%;
  min-height: auto;
}

.plan-cta {
  margin-top: 14px;
  align-self: flex-start;
}

@media (min-width: 1024px) {
  .bento-pack {
    grid-template-columns: repeat(6, 1fr);
  }

  .bento-pack .bento-card {
    grid-column: span 3;
  }

  .bento-pack .bento-card.featured {
    grid-column: span 3;
    grid-row: span 1;
  }

  .bento-pack .express-mini {
    grid-column: span 3;
  }
}

@media (min-width: 1280px) {
  .bento-pack {
    grid-template-columns: repeat(6, 1fr);
  }
}

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

  .bento-pack .bento-card,
  .bento-pack .bento-card.featured,
  .bento-pack .express-mini {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .bento-pack {
    grid-template-columns: 1fr;
    gap: 16px;
    grid-auto-rows: auto !important;
    /* Fix: Adjust rows to content height */
    display: flex;
    /* Alternativa: Usar Flexbox para controle total de altura */
    flex-direction: column;
  }

  /* Fix for "Ugly" mobile pack */
  .bento-pack .bento-card {
    min-height: auto;
    /* Remove altura forçada */
    padding: 24px 20px;
    /* Ajuste de padding */
  }

  .bento-pack .express-mini {
    min-height: auto;
    padding: 20px;
  }

  /* FORCE VISIBILITY FOR FOOTER/FORM ON MOBILE */
  footer,
  .contact-form,
  .footer-bottom {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  .contact-form {
    margin-top: 32px;
    /* Mais espaço antes do form */
  }

  /* High Contrast Mobile Form */
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    background-color: #000000 !important;
    border: 1px solid var(--orange) !important;
    color: #ffffff !important;
  }

  .contact-form .btn-submit {
    background-color: var(--orange) !important;
    color: #ffffff !important;
    border: 1px solid var(--orange) !important;
    font-weight: 700;
  }
}

@media (min-width: 768px) {
  .bento-pack .bento-card {
    padding: 20px;
    min-height: 210px;
  }
}

.bento-pack .card-title {
  font-size: 1rem;
  margin-bottom: 6px;
}

.bento-pack .card-desc {
  font-size: 0.833rem;
  line-height: 1.5;
}

.bento-pack .card-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
}

.bento-pack .express-mini {
  padding: 16px;
  min-height: 160px;
  grid-column: span 2;
}

.bento-pack .express-mini .card-title {
  font-size: 0.833rem;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.bento-pack .express-mini .card-desc {
  font-size: 0.778rem;
  line-height: 1.4;
}

.bento-pack .express-mini .card-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
}

.bento-card.featured::before {
  display: none;
}

.bento-card.featured:hover {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(232, 80, 2, 0.2);
}

.bento-card.featured:hover .card-title,
.bento-card.featured:hover .card-desc,
.bento-card.featured:hover .card-icon,
.bento-card.featured:hover .card-footer span {
  color: var(--black);
}

/* Card number */
.card-num {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gray-mid);
}

.bento-card.featured .card-num {
  color: rgba(0, 0, 0, 0.35);
}

/* Card icon */
.card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--gray-tech);
  transition: color 0.3s ease;
}

.bento-card:hover .card-icon {
  color: var(--orange);
}

.bento-card.featured .card-icon {
  color: var(--orange);
}

.bento-card.featured:hover .card-icon {
  color: var(--black);
}

/* Card content */
.card-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.111rem;
  /* 20px - tamanho único para todos */
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .card-title {
    font-size: 1.222rem;
    /* 22px */
  }
}

.bento-card.featured .card-title {
  color: var(--orange);
  font-size: 1.111rem;
  /* 20px - mesmo tamanho dos outros */
}

@media (min-width: 768px) {
  .bento-card.featured .card-title {
    font-size: 1.222rem;
    /* 22px - mesmo tamanho dos outros */
  }
}

.card-desc {
  font-size: 0.889rem;
  /* 16px - tamanho único para todos */
  line-height: 1.6;
  color: var(--gray-light);
  flex: 1;
}

.bento-card.featured .card-desc {
  color: var(--orange);
  /* Texto laranja no card preto */
  font-size: 0.889rem;
  /* 16px - mesmo tamanho dos outros */
}

.card-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.card-footer span {
  font-size: 0.611rem;
  /* 11px */
  letter-spacing: 0.25em;
  color: rgba(0, 0, 0, 0.4);
  font-weight: 600;
}

.bento-card.featured .card-footer span {
  color: var(--orange);
  /* Texto laranja no card preto */
}

/* Services CTA */
.services-cta {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--asphalt);
}

@media (max-width: 640px) {
  .services-cta {
    margin-top: 40px;
    padding-top: 24px;
  }
}

/* Services Menu Grid */
.services-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 40px;
  background: var(--asphalt);
  padding: 2px;
}

@media (min-width: 768px) {
  .services-menu-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
  }
}

@media (min-width: 1200px) {
  .services-menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-category {
  background: linear-gradient(180deg, var(--black) 0%, var(--dark) 100%);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 28px;
  border-radius: 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-category::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(232, 80, 2, 0.25), var(--orange));
  opacity: 0.7;
}

.service-category:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.service-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--asphalt);
}

.service-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.111rem;
  /* 20px */
  color: var(--orange);
  letter-spacing: 0.02em;
  margin: 0;
  text-transform: uppercase;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.service-item:last-child {
  border-bottom: none;
}

.service-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.889rem;
  /* 16px */
  color: var(--white);
  margin: 0 0 8px 0;
  letter-spacing: 0.02em;
}

.service-desc {
  font-size: 0.778rem;
  /* 14px */
  color: var(--gray-tech);
  line-height: 1.6;
  margin: 0;
}

/* Express Services Grid */
.express-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 40px;
  background: var(--asphalt);
  padding: 2px;
}

@media (min-width: 768px) {
  .express-services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .express-services-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
  }
}

.express-item {
  background: linear-gradient(180deg, var(--black) 0%, var(--dark) 100%);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 22px;
  border-radius: 0;
  text-align: center;
  transition: all 0.3s ease;
}

.express-item:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.express-bento .express-card {
  min-height: 200px;
  padding: 20px;
  text-align: left;
}

.express-bento .card-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
}

.express-bento .card-title {
  font-size: 0.944rem;
  margin-bottom: 6px;
}

.express-bento .card-desc {
  font-size: 0.778rem;
  line-height: 1.5;
}

.express-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.889rem;
  /* 16px */
  color: var(--white);
  margin: 0 0 8px 0;
  letter-spacing: 0.02em;
}

.express-desc {
  font-size: 0.722rem;
  /* 13px */
  color: var(--gray-tech);
  line-height: 1.5;
  margin: 0;
}

/* ================================================================
   METHODOLOGY & SOCIAL PROOF
   ================================================================ */
/* Method */
.method {
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.social-proof {
  padding: 72px 0;
  position: relative;
}

.big-numbers {
  padding: 72px 0;
  position: relative;
}

.numbers-bento {
  grid-auto-rows: auto;
}

@media (min-width: 1024px) {
  .numbers-bento {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

@media (max-width: 520px) {
  .numbers-bento {
    grid-template-columns: 1fr;
  }
}

.numbers-card {
  padding: 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.numbers-card.featured {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .numbers-card.featured {
    grid-column: span 1;
  }
}

.numbers-value {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  font-weight: 700;
  color: #ff8a2b;
  line-height: 1;
  letter-spacing: -0.01em;
}

.numbers-label {
  font-size: 0.667rem;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 8px;
}

.numbers-desc {
  font-size: 0.889rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  margin-top: 16px;
}

.numbers-card.featured .numbers-value {
  font-size: clamp(3.8rem, 8vw, 7.6rem);
}

.social-proof .proof-stats {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 1024px) {
  .method-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

.method-grid.single {
  grid-template-columns: 1fr;
}

.method-grid.single .method-left {
  max-width: 980px;
  margin: 0 auto;
}

/* Left panel */
.method-left {
  padding: 32px;
  background: var(--dark);
  border: 1px solid var(--asphalt);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

@media (min-width: 768px) {
  .method-left {
    padding: 48px;
  }
}

.method-label {
  font-size: 0.667rem;
  /* 12px */
  letter-spacing: 0.25em;
  color: var(--gray-light);
  margin-bottom: 28px;
}

.method-left h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  /* 36px */
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .method-left h2 {
    font-size: 2.444rem;
    /* 44px */
  }
}

.method-left h2 .accent {
  color: var(--orange);
}

.method-text {
  font-size: 1rem;
  /* 18px - base */
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .method-text {
    font-size: 1.111rem;
    /* 20px */
  }
}

.method-sig {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  margin-bottom: 36px;
}

.method-sig-line {
  width: 48px;
  height: 1px;
  background: var(--orange);
}

.method-sig span {
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--gray-light);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 480px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.step {
  padding: 24px;
  border: 1px solid var(--asphalt-3);
  background: var(--dark-2);
  text-align: center;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.step:hover {
  background: var(--asphalt);
  transform: translateY(-3px);
  border-color: var(--orange);
}

.step-icon {
  color: var(--orange);
  margin-bottom: 16px;
}

.step-icon svg {
  width: 32px;
  height: 32px;
}

.step-num {
  display: none;
}

.step-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  /* 18px */
  letter-spacing: 0.02em;
  color: var(--white);
  margin-top: 10px;
}

.step-desc {
  font-size: 0.833rem;
  /* 15px */
  color: var(--gray-light);
  margin-top: 4px;
  line-height: 1.5;
}

/* Right panel */
.method-right {
  padding: 32px;
  background: var(--asphalt);
  border: 1px solid var(--asphalt);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

@media (min-width: 768px) {
  .method-right {
    padding: 48px;
  }
}

@media (min-width: 1024px) {
  .method-right {
    border-left: none;
  }
}

.method-roadmap {
  background: linear-gradient(180deg, var(--black) 0%, var(--dark) 100%);
  border: 1px solid var(--asphalt);
}

.method-manifesto {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: var(--white);
}

.method-manifesto h2,
.method-manifesto .method-text,
.method-manifesto .method-label,
.method-manifesto .method-sig span {
  color: var(--white);
}

.method-manifesto .method-sig-line {
  background: rgba(255, 255, 255, 0.6);
}

.method-manifesto .accent {
  color: var(--white);
}

/* Testimonial */
.testimonial {
  position: relative;
  padding: 28px;
  background: var(--dark);
  border-left: 2px solid var(--orange);
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .testimonial {
    padding: 32px;
  }
}

.testimonial-quote {
  position: absolute;
  top: 12px;
  left: 12px;
  opacity: 0.08;
}

.testimonial p {
  font-size: 1rem;
  /* 18px - base */
  color: var(--gray-tech);
  line-height: 1.8;
  font-style: italic;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .testimonial p {
    font-size: 1.111rem;
    /* 20px */
  }
}

.author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--asphalt-3);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-mid);
  flex-shrink: 0;
}

.author-avatar span {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
}

.author-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--white);
  letter-spacing: 0.05em;
}

.author-role {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--gray-light);
  margin-top: 2px;
}

/* Proof stats */
.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  text-align: center;
}

.proof-val {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--orange);
}

.proof-label {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--gray-light);
  margin-top: 4px;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: linear-gradient(180deg, var(--black) 0%, var(--dark) 100%);
}

.footer-line {
  height: 1px;
  background: var(--orange);
}

.footer-inner {
  padding: 72px 0;
}

@media (min-width: 768px) {
  .footer-inner {
    padding: 80px 0;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-brand-desc {
  font-size: 0.889rem;
  /* 16px */
  color: var(--gray-light);
  line-height: 1.8;
  margin-top: 20px;
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.footer-social {
  width: 36px;
  height: 36px;
  border: 1px solid var(--asphalt-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-light);
  transition: all 0.3s ease;
}

.footer-social:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(232, 80, 2, 0.05);
  transform: translateY(-2px);
}

.footer-heading {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.889rem;
  /* 16px */
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 20px;
}

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

.footer-list a,
.footer-list span {
  font-size: 0.889rem;
  /* 16px */
  color: var(--gray-light);
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
  line-height: 1.6;
}

.footer-list a:hover {
  color: var(--orange);
}

.contact-label {
  font-size: 0.667rem;
  /* 12px */
  letter-spacing: 0.25em;
  color: var(--gray-light);
  margin-bottom: 4px;
  display: block;
}

.contact-val {
  font-size: 0.889rem;
  /* 16px */
  color: var(--white);
  transition: color 0.3s ease;
  display: block;
}

.contact-val:hover {
  color: var(--orange);
}

.contact-item {
  margin-bottom: 16px;
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--asphalt);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.footer-copy {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gray-light);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-status {
    justify-content: flex-end;
  }
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  animation: glow 2s ease-in-out infinite;
}

.footer-status span {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gray-light);
}

/* ================================================================
   TESTEMUNHOS SECTION
   ================================================================ */
.testimonials-section {
  padding: 72px 0;
  position: relative;
}

@media (min-width: 768px) {
  .testimonials-section {
    padding: 120px 0;
  }
}

/* Testimonials Carousel */
.testimonials-carousel {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 24px 0 8px;
}

.carousel-wrapper {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  display: block;
  padding: 16px 6vw 24px;
  background: transparent;
  border: none;
  box-shadow: none;
  scroll-behavior: smooth;
}

.carousel-container {
  display: flex;
  gap: 18px;
}

.carousel-slide {
  min-width: min(320px, 80vw);
  max-width: 360px;
  scroll-snap-align: start;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  border: 1px solid var(--asphalt-3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  padding: 28px;
  display: block;
  opacity: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 260px;
}

.carousel-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.45);
}

.slide-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  /* 18px */
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.testimonial-city {
  font-size: 0.778rem;
  /* 14px */
  color: var(--gray-light);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.testimonial-stars {
  font-size: 14px;
  margin-bottom: 16px;
  display: block;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.944rem;
  /* 17px */
  line-height: 1.7;
  color: var(--white);
  margin-bottom: 20px;
  display: block;
  font-style: normal;
  border: none;
  padding: 0;
  margin-left: 0;
  margin-right: 0;
  flex: 1;
}

.carousel-slide .author {
  margin-top: auto;
  gap: 12px;
}

.carousel-slide .author-avatar {
  width: 44px;
  height: 44px;
  background: var(--asphalt-3);
  border: 1px solid var(--gray-mid);
  flex-shrink: 0;
}

.carousel-slide .author-avatar span {
  font-size: 14px;
}

.carousel-slide .author-name {
  font-size: 13px;
  color: var(--white);
}

.carousel-slide .author-role {
  font-size: 9px;
  color: var(--gray-tech);
  margin-top: 2px;
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 12px 0 0;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray-mid);
  background: transparent;
  color: var(--gray-light);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}

.carousel-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(232, 80, 2, 0.08);
  transform: translateY(-1px);
}

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

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--asphalt-3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-mid);
}

.dot.active {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.2);
}

.dot:hover {
  border-color: var(--orange);
}

@media (min-width: 768px) {
  .carousel-slide {
    padding: 32px;
  }
}

@media (max-width: 480px) {
  .carousel-slide {
    min-width: 86vw;
  }
}

.carousel-wrapper::-webkit-scrollbar {
  height: 6px;
}

.carousel-wrapper::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

.carousel-wrapper::-webkit-scrollbar-thumb {
  background: var(--orange);
}


/* ================================================================
   CONTACT FORM & EXTRAS
   ================================================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
  max-width: 400px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--asphalt-3);
  color: var(--white);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.08);
}

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

.btn-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.contact-direct {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--asphalt-3);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--orange);
  color: var(--black);
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(232, 80, 2, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--white);
  transform: translateY(-4px);
}


/* ================================================================
   COOKIE BANNER
   ================================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--orange);
  padding: 24px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.5s ease-out;
  display: flex;
  justify-content: center;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.778rem;
  /* 14px */
  color: var(--white);
  flex: 1;
  min-width: 300px;
  margin: 0;
}

.cookie-btns {
  display: flex;
  gap: 12px;
}

.btn-cookie {
  padding: 10px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.667rem;
  /* 12px */
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-accept {
  background: var(--orange);
  color: var(--black);
}

.btn-accept:hover {
  background: var(--white);
}

.btn-reject {
  background: transparent;
  border-color: var(--asphalt-3);
  color: var(--gray-light);
}

.btn-reject:hover {
  border-color: var(--white);
  color: var(--white);
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-text {
    min-width: 100%;
  }
}


/* ================================================================
   MOBILE REFINEMENTS (User Feedback Polish)
   ================================================================ */
@media (max-width: 480px) {

  /* Contact Form */
  .contact-form {
    max-width: 100%;
    margin-top: 24px;
    padding-right: 0;
  }

  .footer-inner {
    padding: 48px 0;
  }

  .footer-grid {
    gap: 32px;
  }

  /* Buttons */
  .hero-btns {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

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

  /* Typography - prevent overflow */
  h1 {
    font-size: clamp(2.5rem, 10vw, 3rem) !important;
    word-break: break-word;
    hyphens: auto;
  }

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

  /* Cookie Banner spacing */
  .cookie-banner {
    padding: 16px;
    flex-direction: column;
    gap: 16px;
  }

  .cookie-btns {
    width: 100%;
    justify-content: stretch;
  }

  .btn-cookie {
    flex: 1;
    text-align: center;
    justify-content: center;
    display: flex;
    font-size: 11px;
    padding: 12px 0;
  }

  /* Ensure Back to Top doesn't cover content too much */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}


/* ================================================================
   MOBILE SAFETY & VISIBILITY FIXES (URGENT)
   ================================================================ */
@media (max-width: 768px) {

  /* FORCE VISIBILITY: Disable scroll animations on mobile to prevent 'invisible' content */
  .reveal,
  .reveal-section,
  .text-anim .word {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* FORCE 1-COLUMN GRID: Ensure no squeezed columns */
  .bento,
  .bento-pack,
  .services-menu-grid,
  .express-services-grid {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  .bento-card,
  .bento-card.featured,
  .bento-pack .bento-card,
  .bento-pack .express-mini {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: auto !important;
    width: 100% !important;
  }

  /* Adjust padding for readability */
  .sec-title {
    font-size: 1.75rem !important;
    /* 28px */
    line-height: 1.2 !important;
  }

  .section-progress {
    display: none !important;
    /* Hide progress bar on mobile */
  }

  /* Ensure text colors are readable */
  p,
  .card-desc,
  .method-text {
    color: #e0e0e0 !important;
    /* Force high contrast light gray */
  }

  h1,
  h2,
  h3,
  h4,
  .card-title {
    color: #ffffff !important;
    /* Force white */
  }

  /* Fix vertical spacing */
  .services,
  .method,
  .social-proof {
    padding: 40px 0 !important;
  }
}


/* ================================================================
   MOBILE SIZING REFINEMENTS (Reduce 'Huge' look)
   ================================================================ */
@media (max-width: 480px) {

  /* Reduce Card Padding */
  .bento-card,
  .bento-pack .bento-card,
  .service-category,
  .express-item {
    padding: 16px !important;
    min-height: auto !important;
  }

  /* Scale down Typography inside cards */
  .card-title,
  .service-title,
  .bento-pack .card-title {
    font-size: 1rem !important;
    /* 16px */
    margin-bottom: 8px !important;
  }

  .card-desc,
  .service-desc,
  .bento-pack .card-desc {
    font-size: 0.778rem !important;
    /* ~14px */
    line-height: 1.4 !important;
  }

  /* Reduce Icon Sizes */
  .card-icon svg,
  .bento-pack .card-icon {
    width: 28px !important;
    height: 28px !important;
    margin-bottom: 12px !important;
  }

  /* Reduce Gap */
  .bento,
  .services-menu-grid,
  .express-services-grid {
    gap: 12px !important;
  }

  /* Adjust Hero Title slightly */
  h1 {
    font-size: 2.2rem !important;
  }
}


/* ================================================================
   HEURISTIC IMPROVEMENTS (Validation & Feedback)
   ================================================================ */

/* ===== FORM VALIDATION & FEEDBACK ===== */
.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  background: var(--asphalt-2);
  border: 1px solid var(--asphalt-3);
  color: var(--white);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.889rem;
  /* 16px */
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  background: var(--asphalt);
  box-shadow: 0 0 0 2px rgba(232, 80, 2, 0.2);
}

/* Valid/Invalid states - visual feedback (Heuristic 1 & 5) */
.form-group input.user-invalid,
.form-group textarea.user-invalid {
  border-color: var(--red);
  /* Animation shake could be added here */
}

.form-group input.user-valid,
.form-group textarea.user-valid {
  border-color: #4CAF50;
  /* Success Green */
}

.form-feedback {
  font-size: 0.75rem;
  margin-top: 6px;
  min-height: 1.2em;
  opacity: 0;
  transition: opacity 0.3s;
  color: var(--red);
  font-weight: 500;
}

.form-feedback.visible {
  opacity: 1;
}

/* Toast Notification for Mailto Fallback */
.toast-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--asphalt-2);
  border-left: 4px solid var(--orange);
  padding: 16px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 350px;
}

.toast-notification.active {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  color: var(--orange);
}

.toast-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 4px;
}

.toast-msg {
  font-size: 0.8rem;
  color: var(--gray-mid);
}

/* Improved Text Readability (Heuristic 8) */
.method-text,
.card-desc,
.hero-sub,
p {
  line-height: 1.8;
  /* Increased from default */
}

/* Better contrast for gray text on dark bg */
.sec-desc,
.numbers-desc,
.service-desc {
  color: #b0b0b0;
  /* Lightened from gray-mid/gray-tech for better contrast */
}

/* ================================================================
   FORM ENHANCEMENTS (Dropdown & Fields)
   ================================================================ */
.form-group select {
  width: 100%;
  padding: 16px;
  background: var(--asphalt-2);
  border: 1px solid var(--asphalt-3);
  color: var(--white);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.889rem;
  transition: all 0.3s ease;
  outline: none;
  cursor: pointer;
  appearance: none;
  /* Remove default arrow */
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23E85002%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 16px top 50%;
  background-size: 12px auto;
}

.form-group select:focus {
  border-color: var(--orange);
  background-color: var(--asphalt);
  box-shadow: 0 0 0 2px rgba(232, 80, 2, 0.2);
}

.form-group select option {
  background: var(--dark);
  color: var(--white);
  padding: 12px;
}


/* Toast Updates for EmailJS */
.toast-notification.success {
  border-left-color: #4CAF50;
}

.toast-notification.error {
  border-left-color: var(--red);
}

/* CNPJ Mask/Input Style same as others */
#cnpj {
  /* Reuse existing styles */
}

/* ================================================================
   MOBILE FINAL OVERRIDES (SAFETY & FORM FIX)
   ================================================================ */
@media (max-width: 600px) {

  /* --- 1. GLOBAL LAYOUT SAFETY --- */
  html,
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
  }

  .container,
  section,
  footer {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* Force Single Column Grids */
  .bento,
  .bento-pack,
  .services-menu-grid,
  .express-services-grid,
  .numbers-bento,
  .footer-grid,
  .steps {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 24px !important;
  }

  /* Reset Card Heights & Widths */
  .bento-card,
  .service-category,
  .express-item,
  .numbers-card,
  .step {
    width: 100% !important;
    min-height: auto !important;
    height: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }

  /* Typography Safety */
  h1,
  h2,
  h3,
  .sec-title {
    word-wrap: break-word !important;
    hyphens: auto !important;
    max-width: 100% !important;
  }

  /* --- 2. CONTACT FORM HIGH CONTRAST (SPECIFIC) --- */
  #contactForm .form-group input,
  #contactForm .form-group textarea,
  #contactForm .form-group select {
    background-color: #000000 !important;
    border: 1px solid #E85002 !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
  }

  #contactForm button[type='submit'] {
    background-color: #E85002 !important;
    color: #ffffff !important;
    border: 1px solid #E85002 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
  }

  /* Force placeholder color for visibility */
  #contactForm ::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    opacity: 1 !important;
  }
}


/* ================================================================
   NEW CONTACT SECTION
   ================================================================ */
.contact-section {
  padding: 80px 0;
  background: var(--dark);
  /* Fundo escuro para diferenciar */
  border-top: 1px solid var(--asphalt);
  position: relative;
}

.contact-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.contact-section .contact-form {
  max-width: 100%;
  margin-top: 0;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
}

.contact-direct-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--asphalt-3);
  text-align: center;
}


/* ================================================================
   MOBILE LAYOUT RESCUE (FORCE STACKING & SIZING)
   ================================================================ */
/* ================================================================
   MOBILE LAYOUT RESCUE (FORCE STACKING & SIZING)
   ================================================================ */
@media (max-width: 900px) {

  /* 1. FORCE SINGLE COLUMN FOR ALL GRIDS */
  .bento,
  .bento-pack,
  .services-menu-grid,
  .express-services-grid,
  .numbers-bento,
  .footer-grid,
  .steps,
  .form-row,
  .contact-wrapper,
  .contact-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 16px !important;
  }

  /* 2. RESET CARD SIZES (FIX 'HUGE BOXES') */
  .bento-card,
  .service-category,
  .express-item,
  .numbers-card,
  .step,
  .contact-item,
  .profit-roadmap,
  .contact-form-wrapper {
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 16px !important;
    /* Reduced padding */
    margin-bottom: 0 !important;
  }

  /* 3. TYPOGRAPHY SCALING */
  h1 {
    font-size: 2.2rem !important;
  }

  h2 {
    font-size: 1.8rem !important;
  }

  .sec-title {
    font-size: 1.6rem !important;
  }

  /* 4. CONTACT FORM SPECIFIC FIXES (FORCE BLACK) */
  .contact-section {
    padding: 40px 16px !important;
  }

  .contact-form {
    gap: 16px !important;
  }

  .form-group {
    margin-bottom: 0 !important;
  }

  /* FORCE BLACK BACKGROUND ON INPUTS */
  #contactForm input,
  #contactForm select,
  #contactForm textarea {
    background-color: #000000 !important;
    background-image: none !important;
    /* Remove any autofill pattern */
    border: 1px solid #E85002 !important;
    color: #ffffff !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 16px !important;
    /* Prevents iOS zoom */
    padding: 16px !important;
    height: auto !important;
    border-radius: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-shadow: none !important;
  }

  /* Submit Button */
  #contactForm button[type='submit'] {
    width: 100% !important;
    background-color: #E85002 !important;
    color: #ffffff !important;
    border: 1px solid #E85002 !important;
    padding: 16px !important;
    font-weight: 700 !important;
  }
}

/* ================================================================
   NEW LAYOUT & SAFARI FIXES (PROFIT ROADMAP + FORM)
   ================================================================ */

/* Desktop Grid Structure */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }
}

/* Profit Roadmap Styles */
.profit-roadmap {
  background: var(--dark-2);
  padding: 32px;
  border: 1px solid var(--asphalt-3);
  height: 100%;
}

.roadmap-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.roadmap-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.roadmap-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(232, 80, 2, 0.1);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  /* Force circle */
  border: 1px solid rgba(232, 80, 2, 0.2);
}

.roadmap-item h4 {
  font-family: 'Oswald', sans-serif;
  color: var(--white);
  margin-bottom: 6px;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.roadmap-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray-light);
  margin: 0;
}

.contact-direct-desktop {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--asphalt-3);
}

.contact-direct-desktop p {
  font-size: 0.8rem;
  margin-bottom: 4px;
  color: var(--gray-mid);
}

.direct-link {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
}

.direct-link:hover {
  color: var(--orange);
}

/* Form Wrapper Decoration */
.contact-form-wrapper {
  background: var(--black);
  border: 1px solid var(--orange);
  padding: 32px;
  position: relative;
}

.form-header {
  margin-bottom: 24px;
  text-align: center;
}

.form-header h3 {
  font-family: 'Oswald', sans-serif;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

/* MOBILE FIXES for New Sections (iPhone/Safari) */
@media (max-width: 900px) {
  .contact-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
  }

  .profit-roadmap,
  .contact-form-wrapper {
    width: 100% !important;
    padding: 24px !important;
    box-sizing: border-box !important;
  }

  /* Ensure icon doesn't shrink on Safari */
  .roadmap-icon {
    flex-shrink: 0 !important;
  }

  /* Fix vertical alignment flex issues */
  .roadmap-item {
    flex-direction: row !important;
    align-items: flex-start !important;
  }
}

/* ================================================================
   ENHANCED RESPONSIVENESS (2024 PATCH)
   ================================================================ */

/* --- HERO TITLE MOBILE IMPROVEMENTS --- */
@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    word-spacing: 0.05em !important;
  }

  .hero-tag span {
    font-size: 0.65rem !important;
    letter-spacing: 0.2em !important;
  }

  .hero-sub {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }

  .hero {
    padding: 100px 0 60px !important;
  }

  .hero-stats {
    gap: 16px !important;
    margin-top: 40px !important;
  }

  .hero-stat h3 {
    font-size: 1.2rem !important;
  }

  .hero-stat p {
    font-size: 0.6rem !important;
    letter-spacing: 0.1em !important;
  }
}

/* --- TABLET BREAKPOINT (600-900px) --- */
@media (min-width: 600px) and (max-width: 900px) {
  .container {
    padding: 0 24px !important;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 6vw, 3rem) !important;
  }

  .sec-title {
    font-size: 2rem !important;
  }

  /* Services - 2 columns on tablet */
  .bento-pack {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .bento-pack .bento-card,
  .bento-pack .bento-card.featured {
    grid-column: span 1 !important;
    min-height: auto !important;
  }

  .bento-pack .express-mini {
    grid-column: span 2 !important;
  }

  /* Numbers - 2 columns on tablet */
  .numbers-bento {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .numbers-card,
  .numbers-card.featured {
    grid-column: span 1 !important;
  }

  /* Steps - horizontal on tablet */
  .steps {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }

  .step {
    padding: 20px 16px !important;
  }

  .step-title {
    font-size: 0.9rem !important;
  }

  .step-desc {
    font-size: 0.75rem !important;
  }

  /* Contact grid */
  .contact-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }

  .profit-roadmap,
  .contact-form-wrapper {
    padding: 28px !important;
  }

  /* Roadmap items */
  .roadmap-item h4 {
    font-size: 1rem !important;
  }

  .roadmap-item p {
    font-size: 0.85rem !important;
  }
}

/* --- SMALL MOBILE (< 360px) --- */
@media (max-width: 360px) {
  .container {
    padding: 0 12px !important;
  }

  .hero h1 {
    font-size: 1.6rem !important;
  }

  .sec-title {
    font-size: 1.4rem !important;
  }

  .bento-card,
  .numbers-card,
  .step,
  .profit-roadmap,
  .contact-form-wrapper {
    padding: 14px !important;
  }

  .btn-hero {
    padding: 14px 20px !important;
    font-size: 0.7rem !important;
  }

  .roadmap-icon {
    width: 40px !important;
    height: 40px !important;
  }

  .roadmap-icon svg {
    width: 18px !important;
    height: 18px !important;
  }
}

/* --- METHOD SECTION IMPROVEMENTS --- */
@media (max-width: 900px) {
  .method-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  .method-left,
  .method-right {
    padding: 28px 20px !important;
  }

  .method-left h2 {
    font-size: 1.6rem !important;
    margin-bottom: 20px !important;
  }

  .method-text {
    font-size: 0.9rem !important;
  }
}

/* --- FORM IMPROVEMENTS --- */
@media (max-width: 600px) {
  .form-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  .form-group {
    margin-bottom: 16px !important;
  }

  .form-header h3 {
    font-size: 1.2rem !important;
  }

  .form-header p {
    font-size: 0.8rem !important;
  }

  .contact-direct-desktop {
    margin-top: 24px !important;
    padding-top: 16px !important;
  }

  .direct-link {
    font-size: 0.9rem !important;
  }
}

/* --- TESTIMONIALS CAROUSEL IMPROVEMENTS --- */
@media (max-width: 480px) {
  .carousel-slide {
    min-width: 85vw !important;
    max-width: 85vw !important;
    padding: 20px !important;
    min-height: auto !important;
  }

  .testimonial-title {
    font-size: 0.9rem !important;
  }

  .testimonial-city {
    font-size: 0.7rem !important;
  }

  .testimonial-text {
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
  }

  .carousel-slide .author-avatar {
    width: 36px !important;
    height: 36px !important;
  }

  .carousel-slide .author-name {
    font-size: 0.75rem !important;
  }

  .carousel-slide .author-role {
    font-size: 0.6rem !important;
  }

  .carousel-controls {
    margin-top: 16px !important;
  }

  .carousel-btn {
    width: 36px !important;
    height: 36px !important;
  }
}

/* --- NUMBERS SECTION IMPROVEMENTS --- */
@media (max-width: 480px) {
  .numbers-value {
    font-size: clamp(2.4rem, 12vw, 4rem) !important;
  }

  .numbers-label {
    font-size: 0.6rem !important;
    letter-spacing: 0.15em !important;
  }

  .numbers-desc {
    font-size: 0.8rem !important;
    margin-top: 12px !important;
  }

  .numbers-card {
    padding: 20px 16px !important;
    min-height: auto !important;
  }
}

/* --- FOOTER IMPROVEMENTS --- */
@media (max-width: 600px) {
  .footer-inner {
    padding: 40px 0 !important;
  }

  .footer-simple-grid {
    flex-direction: column !important;
    gap: 24px !important;
    text-align: center !important;
  }

  .footer-brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .footer-socials {
    justify-content: center !important;
  }

  .footer-copy-text {
    font-size: 0.7rem !important;
  }
}

/* --- PROFIT ROADMAP MOBILE POLISH --- */
@media (max-width: 480px) {
  .profit-roadmap {
    padding: 20px !important;
  }

  .profit-roadmap .sec-title {
    font-size: 1.4rem !important;
    line-height: 1.2 !important;
  }

  .roadmap-list {
    margin-top: 24px !important;
    gap: 20px !important;
  }

  .roadmap-item {
    gap: 12px !important;
  }

  .roadmap-item h4 {
    font-size: 0.95rem !important;
    margin-bottom: 4px !important;
  }

  .roadmap-item p {
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
  }
}

/* --- LANDSCAPE MOBILE FIXES --- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto !important;
    padding: 80px 0 40px !important;
  }

  .hero-stats {
    margin-top: 24px !important;
    padding-top: 16px !important;
  }

  .mob-menu a {
    padding: 12px 20px !important;
    font-size: 22px !important;
  }
}

/* --- iOS SAFARI SPECIFIC FIXES --- */
@supports (-webkit-touch-callout: none) {
  .hero {
    min-height: -webkit-fill-available;
  }

  input,
  textarea,
  select {
    font-size: 16px !important;
    /* Prevent zoom on focus */
  }

  .contact-form-wrapper {
    -webkit-overflow-scrolling: touch;
  }
}

/* ================================================================
   ENTERPRISE LAYER (Navigation, Status, Breadcrumbs, Footer)
   ================================================================ */
.nav-dropdown {
  position: relative;
}

.nav-drop-btn {
  padding: 8px 16px;
  font-size: 0.667rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gray-light);
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-drop-btn:hover {
  color: var(--white);
}

.dropdown-panel {
  position: absolute;
  top: 38px;
  left: 0;
  min-width: 260px;
  background: rgba(0, 0, 0, 0.96);
  border: 1px solid var(--asphalt-3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  padding: 12px 0;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 200;
}

.dropdown-panel a {
  padding: 10px 16px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--gray-tech);
  white-space: nowrap;
}

.dropdown-panel a:hover {
  color: var(--orange);
  background: rgba(232, 80, 2, 0.06);
}

.nav-dropdown:hover .dropdown-panel {
  display: flex;
}

.system-status {
  position: sticky;
  top: 70px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: linear-gradient(90deg, rgba(232, 80, 2, 0.12), rgba(0, 0, 0, 0.85));
  border-bottom: 1px solid rgba(232, 80, 2, 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #19d36b;
  box-shadow: 0 0 12px rgba(25, 211, 107, 0.7);
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

.status-divider {
  color: var(--gray-mid);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--gray-mid);
  margin: 22px 0 8px;
}

.breadcrumbs a {
  color: var(--gray-tech);
}

.breadcrumbs a:hover {
  color: var(--orange);
}

.breadcrumbs .crumb-sep {
  color: var(--asphalt-3);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  border: 1px solid var(--asphalt-3);
  color: var(--gray-tech);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.25s ease;
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-1px);
}

.footer-expanded {
  padding: 80px 0 40px;
  background: var(--dark-2);
  border-top: 1px solid var(--asphalt-3);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
}

.footer-heading {
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  color: var(--white);
}

.footer-link {
  display: block;
  color: var(--gray-tech);
  font-size: 0.82rem;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.footer-link:hover {
  color: var(--orange);
}

.footer-note {
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--gray-mid);
}

@media (max-width: 900px) {
  .nav-dropdown {
    display: none;
  }
}

/* ================================================================
   ENTERPRISE PAGES COMPONENTS
   ================================================================ */
.page-hero {
  padding: 140px 0 80px;
  position: relative;
}

.page-hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.page-hero .lead {
  margin-top: 18px;
  max-width: 720px;
  color: var(--gray-light);
  font-size: 1.02rem;
  line-height: 1.8;
}

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

.panel {
  background: var(--dark-2);
  border: 1px solid var(--asphalt-3);
  padding: 24px;
  position: relative;
}

.panel h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.calc-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  align-items: end;
}

.calc-input label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  color: var(--gray-tech);
}

.calc-input input {
  width: 100%;
  padding: 14px;
  background: var(--asphalt-2);
  border: 1px solid var(--asphalt-3);
  color: var(--white);
  font-family: 'JetBrains Mono', monospace;
}

.calc-result {
  padding: 18px;
  border: 1px dashed var(--asphalt-3);
  background: rgba(232, 80, 2, 0.05);
  color: var(--gray-light);
  line-height: 1.6;
}

.calc-highlight {
  font-size: 1.6rem;
  color: var(--orange);
  font-family: 'Oswald', sans-serif;
}

.risk-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.risk-table th,
.risk-table td {
  border: 1px solid var(--asphalt-3);
  padding: 12px 14px;
  font-size: 0.9rem;
  text-align: left;
}

.risk-table th {
  background: rgba(232, 80, 2, 0.08);
  color: var(--white);
}

.risk-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--asphalt-3);
  color: var(--gray-tech);
  font-size: 0.78rem;
}

.module-card {
  background: var(--dark-2);
  border: 1px solid var(--asphalt-3);
  padding: 22px;
  height: 100%;
}

.module-card h4 {
  font-family: 'Oswald', sans-serif;
  margin-bottom: 10px;
}

.bar-gap {
  margin-top: 18px;
  background: var(--asphalt-2);
  border: 1px solid var(--asphalt-3);
  padding: 16px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.bar-label {
  width: 140px;
  font-size: 0.85rem;
  color: var(--gray-tech);
}

.bar-meter {
  flex: 1;
  height: 10px;
  background: var(--asphalt-3);
  position: relative;
  overflow: hidden;
}

.bar-meter span {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(232, 80, 2, 0.3), var(--orange));
}

.vsync-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.vsync-step {
  border: 1px solid var(--asphalt-3);
  padding: 18px;
  background: var(--dark-2);
}

.stack-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.stack-pill {
  padding: 8px 12px;
  border: 1px solid var(--asphalt-3);
  font-size: 0.82rem;
  color: var(--gray-tech);
}

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

.blog-card {
  background: var(--dark-2);
  border: 1px solid var(--asphalt-3);
  padding: 18px;
}

.blog-card h4 {
  font-family: 'Oswald', sans-serif;
  margin-bottom: 10px;
}

.lead-magnet {
  background: linear-gradient(120deg, rgba(232, 80, 2, 0.12), rgba(0, 0, 0, 0.9));
  border: 1px solid var(--orange);
  padding: 24px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  align-items: center;
}

.lead-magnet input {
  width: 100%;
  padding: 14px;
  background: #0b0b0b;
  border: 1px solid var(--asphalt-3);
  color: var(--white);
}

@media (max-width: 700px) {
  .lead-magnet {
    grid-template-columns: 1fr;
  }
}
