/* ================================================
   VANTT Marketing - Site Institucional
   Nova Identidade Visual 2026
   ================================================ */

/* ================================================
   CSS VARIABLES (Design Tokens)
   ================================================ */
:root {
  /* Cores Principais */
  --navy: #1E3A5F;
  --navy-dark: #0A1929;
  --navy-light: #2D4A6F;
  --orange: #E85D26;
  --orange-hover: #D14D1A;
  --orange-light: rgba(232, 93, 38, 0.1);

  /* Neutros */
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-400: #CED4DA;
  --gray-500: #ADB5BD;
  --gray-600: #6C757D;
  --gray-700: #495057;
  --gray-800: #343A40;
  --gray-900: #212529;

  /* Texto */
  --text-primary: #1A1A1A;
  --text-secondary: #5F6368;
  --text-light: rgba(255, 255, 255, 0.9);
  --text-muted: rgba(255, 255, 255, 0.7);

  /* Tipografia */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Tamanhos Fluidos */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
  --text-5xl: clamp(3rem, 2rem + 5vw, 4.5rem);
  --text-6xl: clamp(3.5rem, 2.5rem + 5vw, 6rem);

  /* Espaçamento */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 1280px;
  --container-padding: clamp(1rem, 5vw, 5rem);
  --section-padding: clamp(4rem, 10vw, 8rem);

  /* Bordas */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(232, 93, 38, 0.3);

  /* Transições */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-preloader: 500;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Desabilitar smooth scroll quando Lenis está ativo */
html.lenis {
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

body {
  font-family: var(--font-family);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--white);
  overflow-x: hidden;
  position: relative;
}

/* Respeitar preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Seleção de texto */
::selection {
  background-color: var(--orange-light);
  color: var(--navy-dark);
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* Listas */
ul, ol {
  list-style: none;
}

/* Botões */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ================================================
   PRELOADER
   ================================================ */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-preloader);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__logo {
  width: 280px;
  height: auto;
  opacity: 0;
  transform: scale(0.8);
}

.preloader__logo.animate {
  animation: preloaderLogo 1s ease forwards;
}

@keyframes preloaderLogo {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ================================================
   LAYOUT
   ================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding: var(--section-padding) 0;
}

.section--dark {
  background: var(--navy-dark);
  color: var(--text-light);
}

.section--light {
  background: var(--off-white);
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-xl);
}

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

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

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

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

@media (max-width: 768px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ================================================
   TYPOGRAPHY
   ================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-dark);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

h1, .h1 {
  font-size: var(--text-5xl);
  font-weight: 900;
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-size: var(--text-4xl);
  letter-spacing: -0.01em;
}

h3, .h3 {
  font-size: var(--text-2xl);
}

h4, .h4 {
  font-size: var(--text-xl);
  font-weight: 600;
}

p {
  margin-bottom: var(--space-md);
}

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

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

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

.text-gradient {
  background: linear-gradient(135deg, var(--orange) 0%, var(--navy) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Split Text Animation Styles */
.split-text .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(50px);
}

.split-text .word {
  display: inline-block;
  overflow: hidden;
}

/* ================================================
   HEADER
   ================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: var(--space-lg) 0;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: var(--space-md) 0;
}

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

.header__logo {
  height: 80px;
  width: auto;
  transition: transform var(--transition-base), opacity var(--transition-base), height var(--transition-base);
}

.header__logo:hover {
  transform: scale(1.02);
}

/* Mostrar logo branca por padrão (fundo escuro) */
.header__logo--white {
  display: block !important;
}

.header__logo--dark {
  display: none !important;
}

/* Quando scrolled (fundo branco), mostrar logo preta */
.header.scrolled .header__logo--white {
  display: none !important;
}

.header.scrolled .header__logo--dark {
  display: block !important;
}

.header.scrolled .header__logo {
  height: 80px;
}

/* Navigation Desktop */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-desktop__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--white);
  position: relative;
  padding: var(--space-sm) 0;
  transition: color var(--transition-fast);
}

.header.scrolled .nav-desktop__link {
  color: var(--text-primary);
}

.nav-desktop__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition-base);
}

.nav-desktop__link:hover::after,
.nav-desktop__link.active::after {
  width: 100%;
}

.nav-desktop__link:hover {
  color: var(--orange);
}

.header.scrolled .nav-desktop__link:hover {
  color: var(--orange);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: var(--z-modal);
}

.hamburger__line {
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-base);
  transform-origin: center;
}

.header.scrolled .hamburger__line {
  background: var(--navy-dark);
}

.hamburger.active .hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active .hamburger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Navigation Mobile */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  z-index: var(--z-modal);
  transition: all var(--transition-smooth);
}

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

.nav-mobile__link {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--white);
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-base);
}

.nav-mobile.active .nav-mobile__link {
  opacity: 1;
  transform: translateY(0);
}

.nav-mobile__link:hover {
  color: var(--orange);
}

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

  .hamburger {
    display: flex;
  }
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero__background {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background:
    radial-gradient(circle at 20% 50%, var(--orange) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, var(--navy-light) 0%, transparent 50%);
}

.hero__content {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.hero__title {
  color: var(--white);
  margin-bottom: var(--space-xl);
  overflow: hidden;
}

.hero__title-line {
  display: block;
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero Title Mobile Fix */
@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(2rem, 10vw, 3rem);
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
  }

  .hero__title-line {
    display: block;
  }

  .hero__content {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
}

@media (max-width: 380px) {
  .hero__title {
    font-size: 1.75rem;
  }
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn--secondary:hover {
  background: var(--white);
  color: var(--navy-dark);
}

.btn--outline {
  background: transparent;
  color: var(--navy-dark);
  border: 2px solid var(--navy-dark);
}

.btn--outline:hover {
  background: var(--navy-dark);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--navy-dark);
}

.btn--white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}

.btn--large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-base);
}

/* Button Magnetic Effect */
.btn-magnetic {
  transition: transform var(--transition-fast);
}

/* ================================================
   TRUST BAR / LOGOS MARQUEE
   ================================================ */
.trust-bar {
  padding: var(--space-3xl) 0;
  background: var(--off-white);
  overflow: hidden;
}

.trust-bar__title {
  text-align: center;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.trust-bar__stats {
  text-align: center;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: var(--space-2xl);
}

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--space-2xl);
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.marquee__content {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  animation: marquee 30s linear infinite;
  flex-shrink: 0;
}

.marquee:hover .marquee__content {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.marquee__item {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 120px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  overflow: hidden;
}

.marquee__item:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.marquee__item img {
  max-width: 160px;
  max-height: 80px;
  object-fit: contain;
  transition: all var(--transition-base);
  /* Efeito padronizado: logos em escala de cinza */
  filter: grayscale(100%);
  opacity: 0.7;
}

.marquee__item:hover img {
  /* Ao passar o mouse, mostra a logo original colorida */
  filter: grayscale(0) brightness(1);
}

/* Todas as logos com fundo branco padronizado */
.marquee__item--white,
.marquee__item--gray,
.marquee__item--cream,
.marquee__item--green,
.marquee__item--green-dark,
.marquee__item--dark {
  background: var(--white);
}

/* Correção para logos com problemas de visibilidade */
/* Muniz Fazendas - logo branca precisa de inversão (mantém no hover) */
.marquee__item img[alt="Muniz Fazendas"] {
  filter: grayscale(100%) invert(1);
  opacity: 0.8;
}

.marquee__item:hover img[alt="Muniz Fazendas"] {
  filter: grayscale(0) invert(1) hue-rotate(180deg);
  opacity: 1;
}

/* Brasil Show Turismo - mascara escura */
.marquee__item img[alt="Brasil Show Turismo"] {
  filter: grayscale(100%) brightness(0.9) contrast(1.1);
  opacity: 0.9;
  border-radius: var(--radius-md);
}

.marquee__item:hover img[alt="Brasil Show Turismo"] {
  filter: grayscale(0) brightness(1) contrast(1);
  opacity: 1;
  border-radius: var(--radius-md);
}

/* Logos que precisam de tamanho maior */
.marquee__item img[alt="Casa Juliardi"],
.marquee__item img[alt="Hipercontroll"],
.marquee__item img[alt="Muniz Fazendas"],
.marquee__item img[alt="Prisma"] {
  max-width: 200px;
  max-height: 100px;
}

.marquee__item img[alt="Pellizzari Advocacia"] {
  max-width: 240px;
  max-height: 120px;
}

/* ================================================
   MANIFESTO SECTION
   ================================================ */
.manifesto {
  padding: var(--space-5xl) 0;
  background: var(--white);
}

.manifesto__content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.manifesto__text {
  font-size: var(--text-2xl);
  line-height: 1.6;
  color: var(--text-secondary);
  font-weight: 300;
}

.manifesto__text--highlight {
  color: var(--navy-dark);
  font-weight: 600;
}

.manifesto__line {
  opacity: 0;
  transform: translateY(30px);
}

/* ================================================
   CARDS
   ================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

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

.card__icon {
  width: 56px;
  height: 56px;
  background: var(--orange-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--orange);
  font-size: 24px;
}

.card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
  color: var(--navy-dark);
}

.card__description {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.card__link {
  color: var(--orange);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  transition: gap var(--transition-fast);
}

.card__link:hover {
  gap: var(--space-md);
}

/* ================================================
   SERVICES SECTION
   ================================================ */
.services {
  background: var(--off-white);
}

.services__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.services__title {
  margin-bottom: var(--space-md);
}

.services__subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ================================================
   METHODOLOGY / DIFERENCIAL
   ================================================ */
.methodology {
  background: var(--white);
}

.methodology__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

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

.methodology__content h2 {
  margin-bottom: var(--space-lg);
}

.methodology__content > p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

.methodology__item {
  margin-bottom: var(--space-xl);
}

.methodology__item h4 {
  color: var(--orange);
  margin-bottom: var(--space-sm);
}

.methodology__item p {
  color: var(--text-secondary);
}

/* Timeline Card */
.methodology__timeline {
  background: var(--navy-dark);
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  color: var(--white);
}

.methodology__timeline h3 {
  color: var(--white);
  margin-bottom: var(--space-xl);
}

.timeline-step {
  padding-left: var(--space-xl);
  border-left: 3px solid var(--orange);
  margin-bottom: var(--space-xl);
  position: relative;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--orange);
  border-radius: 50%;
}

.timeline-step__title {
  color: var(--orange);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.timeline-step__description {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

/* ================================================
   TEAM SECTION
   ================================================ */
.team {
  background: var(--off-white);
}

.team__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.team__title {
  margin-bottom: var(--space-md);
}

.team__subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.team-card__image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 20%;
  transition: transform var(--transition-slow);
}

/* Ajuste específico para a foto do Tiago */
.team-card__image--tiago {
  object-position: center 10%;
}

.team-card:hover .team-card__image {
  transform: scale(1.05);
}

.team-card__content {
  padding: var(--space-xl);
}

.team-card__name {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
  color: var(--navy-dark);
}

.team-card__role {
  color: var(--orange);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.team-card__bio {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

/* ================================================
   BLOG PREVIEW
   ================================================ */
.blog-preview {
  background: var(--white);
}

.blog-preview__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.blog-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
  color: var(--navy-dark);
}

.blog-card__excerpt {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
}

.blog-card__link {
  color: var(--orange);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.blog-card__badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: var(--gray-200);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
}

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section {
  background: var(--navy-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--orange) 0%, transparent 70%);
  opacity: 0.1;
}

.cta-section__content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.cta-section p {
  font-size: var(--text-xl);
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-2xl);
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--navy-dark);
  color: var(--text-light);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

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

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  height: 120px;
  margin-bottom: var(--space-lg);
}

.footer__tagline {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}

.footer__values {
  color: var(--orange);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer__column h4 {
  color: var(--white);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer__link {
  color: var(--text-muted);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

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

.footer__contact p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
}

.footer__contact a {
  color: var(--text-light);
}

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

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer__copyright {
  color: var(--text-muted);
  font-size: var(--text-xs);
}

/* ================================================
   WHATSAPP FLOAT
   ================================================ */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: var(--z-fixed);
}

.whatsapp-float__btn {
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.whatsapp-float__btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float__btn svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

/* Pulse animation */
.whatsapp-float__btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #25D366;
  border-radius: 50%;
  animation: whatsappPulse 2s ease-out infinite;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ================================================
   ANIMATIONS
   ================================================ */

/* Fade In Up */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
}

.fade-in-up.animated {
  animation: fadeInUp 0.8s ease forwards;
}

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

/* Fade In */
.fade-in {
  opacity: 0;
}

.fade-in.animated {
  animation: fadeIn 0.6s ease forwards;
}

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

/* Scale In */
.scale-in {
  opacity: 0;
  transform: scale(0.9);
}

.scale-in.animated {
  animation: scaleIn 0.6s ease forwards;
}

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

/* Stagger delay classes */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ================================================
   UTILITIES
   ================================================ */
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.mt-0 { margin-top: 0; }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Responsive visibility */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 769px) {
  .hide-desktop { display: none !important; }
}

/* ================================================
   CLIENTE - FORMULÁRIO DE SOLICITAÇÃO
   ================================================ */

/* Hero compacto */
.req-hero {
  min-height: 50vh;
  padding-top: 150px;
}

/* Barra de progresso */
.req-progress {
  background: var(--gray-200);
  border-radius: var(--radius-full);
  height: 8px;
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.req-progress__bar {
  height: 100%;
  background: var(--orange);
  border-radius: var(--radius-full);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  width: 0%;
}

.req-progress__label {
  font-size: var(--text-sm);
  color: var(--gray-600);
  text-align: right;
  margin-bottom: var(--space-xl);
}

/* Container do formulário */
.req-form {
  max-width: 640px;
  margin: 0 auto;
}

/* Steps */
.req-step {
  display: none;
  animation: reqFadeInUp 0.4s ease forwards;
}

.req-step.active {
  display: block;
}

@keyframes reqFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Step number badge */
.req-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}

.req-step__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}

.req-step__subtitle {
  color: var(--gray-600);
  margin-bottom: var(--space-xl);
}

/* Inputs */
.req-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--navy-dark);
}

.req-label--optional {
  font-weight: 400;
  color: var(--gray-600);
  font-size: var(--text-sm);
}

.req-input,
.req-textarea,
.req-select {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--white);
  transition: border-color var(--transition-fast);
}

.req-input:focus,
.req-textarea:focus,
.req-select:focus {
  outline: none;
  border-color: var(--orange);
}

.req-textarea {
  min-height: 120px;
  resize: vertical;
}

.req-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%236C757D'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Locked input (empresa) */
.req-input--locked {
  background: var(--gray-100);
  color: var(--gray-600);
  cursor: not-allowed;
  border-color: var(--gray-200);
}

.req-input--locked:focus {
  border-color: var(--gray-200);
}

/* Error state */
.req-input--error,
.req-textarea--error,
.req-select--error {
  border-color: #DC3545;
}

.req-error-msg {
  color: #DC3545;
  font-size: var(--text-sm);
  margin-top: var(--space-xs);
  display: none;
}

.req-error-msg.visible {
  display: block;
}

/* Form group */
.req-group {
  margin-bottom: var(--space-lg);
}

/* Toggle buttons (Sim/Não) */
.req-toggle-group {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.req-toggle {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.req-toggle:hover {
  border-color: var(--gray-400);
}

.req-toggle.active {
  border-color: var(--orange);
  background: var(--orange-light);
  color: var(--orange);
  font-weight: 600;
}

/* Conditional fields */
.req-conditional {
  display: none;
  animation: reqFadeInUp 0.3s ease forwards;
}

.req-conditional.visible {
  display: block;
}

/* Action buttons */
.req-actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.req-btn {
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
}

.req-btn--primary {
  background: var(--orange);
  color: var(--white);
  flex: 1;
}

.req-btn--primary:hover {
  background: var(--orange-hover);
}

.req-btn--secondary {
  background: transparent;
  color: var(--gray-600);
  border-color: var(--gray-200);
}

.req-btn--secondary:hover {
  border-color: var(--gray-400);
  color: var(--text-primary);
}

.req-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Loading state */
.req-loading {
  display: none;
  text-align: center;
  padding: var(--space-3xl) 0;
}

.req-loading.visible {
  display: block;
}

.req-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: reqSpin 0.8s linear infinite;
  margin: 0 auto var(--space-lg);
}

@keyframes reqSpin {
  to { transform: rotate(360deg); }
}

/* Success state */
.req-success {
  display: none;
  text-align: center;
  padding: var(--space-3xl) 0;
}

.req-success.visible {
  display: block;
  animation: reqFadeInUp 0.5s ease forwards;
}

.req-success__icon {
  width: 72px;
  height: 72px;
  background: #28A745;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.req-success__icon svg {
  width: 36px;
  height: 36px;
  fill: var(--white);
}

.req-success__number {
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--orange);
  margin-bottom: var(--space-sm);
}

/* Error state (submit fail) */
.req-submit-error {
  display: none;
  text-align: center;
  padding: var(--space-2xl);
  background: #FFF5F5;
  border: 2px solid #DC3545;
  border-radius: var(--radius-lg);
  margin-top: var(--space-lg);
}

.req-submit-error.visible {
  display: block;
}

/* Client error (invalid slug) */
.req-client-error {
  text-align: center;
  padding: var(--space-3xl) 0;
}

.req-client-error__icon {
  font-size: 3rem;
  margin-bottom: var(--space-lg);
}

/* Responsive */
@media (max-width: 480px) {
  .req-actions {
    flex-direction: column-reverse;
  }

  .req-toggle-group {
    flex-direction: column;
  }

  .req-step__title {
    font-size: var(--text-xl);
  }
}
