/* ==========================================================================
   RS SOLUÇÕES - ESTILO INSTITUCIONAL PREMIUM
   Desenvolvido com foco em confiança, credibilidade e conversão.
   Sem frameworks. CSS3 Puro e Otimizado.
   ========================================================================== */

/* 1. CONFIGURAÇÕES GERAIS E VARIÁVEIS (DESIGN SYSTEM)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Cores Principais (Conforme Briefing) */
  --color-black: #111111;
  --color-dark-gray: #222222;
  --color-medium-gray: #555555;
  --color-light-gray: #E8E8E8;
  --color-white: #FFFFFF;
  
  /* Cores de Destaque / Auxiliares */
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #20ba56;
  --color-accent-gold: #D4AF37; /* Toque metálico para sofisticação */
  --color-accent-light: rgba(255, 255, 255, 0.08);
  --color-border-subtle: rgba(255, 255, 255, 0.1);
  
  /* Gradientes Premium */
  --gradient-gold: linear-gradient(135deg, #FFFFFF 0%, #B0B0B0 100%);
  --gradient-card: linear-gradient(145deg, #222222 0%, #151515 100%);
  --gradient-overlay: linear-gradient(to bottom, rgba(17, 17, 17, 0.8) 0%, rgba(17, 17, 17, 0.95) 100%);
  --gradient-hero: linear-gradient(180deg, rgba(17, 17, 17, 0.5) 0%, rgba(17, 17, 17, 0.9) 100%);

  /* Fontes e Tipografia */
  --font-main: 'Poppins', sans-serif;
  
  /* Transições Fluídas (Cubic Bezier) */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease-in-out;
  
  /* Efeitos e Sombras */
  --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(255, 255, 255, 0.05);
  --shadow-glow-accent: 0 0 25px rgba(255, 255, 255, 0.15);
  --shadow-whatsapp: 0 8px 24px rgba(37, 211, 102, 0.3);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--color-black);
  color: var(--color-light-gray);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Scrollbar Personalizado */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-black);
}
::-webkit-scrollbar-thumb {
  background: var(--color-dark-gray);
  border: 2px solid var(--color-black);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-medium-gray);
}

/* 2. COMPONENTES COMUNS E UTILITÁRIOS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

.section-bg-dark {
  background-color: var(--color-black);
}

.section-bg-gray {
  background-color: var(--color-dark-gray);
}

/* Títulos de Seção Premium */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-light-gray);
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
}

.section-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: var(--color-white);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
}

/* Botões Animados */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-light-gray);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  color: var(--color-black);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-accent);
}

.btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

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

.btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  box-shadow: var(--shadow-whatsapp);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

.btn i {
  margin-right: 8px;
  font-size: 1.1rem;
}

/* 3. TELA DE CARREGAMENTO (LOADING SCREEN)
   ========================================================================== */
#loader-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-black);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.loader-logo {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--color-white);
  margin-bottom: 24px;
  animation: pulseLogo 2s infinite ease-in-out;
}

.loader-logo span {
  color: var(--color-medium-gray);
}

.loader-bar {
  width: 160px;
  height: 2px;
  background-color: var(--color-dark-gray);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.loader-progress {
  width: 40%;
  height: 100%;
  background-color: var(--color-white);
  position: absolute;
  left: -40%;
  animation: loadingProgress 1.5s infinite linear;
}

@keyframes pulseLogo {
  0%, 100% { opacity: 0.6; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.02); }
}

@keyframes loadingProgress {
  0% { left: -40%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* 4. CABEÇALHO E MENU DE NAVEGAÇÃO (NAVBAR)
   ========================================================================== */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Estado transparente inicial sobre o hero */
.header-nav.transparent {
  background-color: transparent;
}

/* Estado preto fixo após scroll */
.header-nav.scrolled {
  height: 75px;
  background-color: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Navbar Inteligente (esconde ao scrollar para baixo, aparece ao subir) */
.header-nav.nav-hidden {
  transform: translateY(-100%);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo Premium */
.logo-container {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--color-white);
}

.logo-text span {
  font-weight: 300;
  color: var(--color-light-gray);
  margin-left: 2px;
}

/* Links do Menu Desktop */
.nav-menu-desktop {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-item-desktop {
  margin-left: 32px;
}

.nav-link-desktop {
  color: var(--color-light-gray);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: var(--transition-fast);
  padding: 8px 0;
  position: relative;
}

.nav-link-desktop::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--color-white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

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

.nav-link-desktop:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link-desktop.active {
  color: var(--color-white);
}

.nav-link-desktop.active::after {
  transform: scaleX(1);
}

/* Hamburguer Mobile */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1100;
}

.mobile-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--color-white);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.mobile-toggle span:nth-child(1) { top: 0px; }
.mobile-toggle span:nth-child(2) { top: 10px; }
.mobile-toggle span:nth-child(3) { top: 20px; }

.mobile-toggle.open span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.mobile-toggle.open span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

/* Menu Lateral Mobile */
.nav-menu-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--color-black);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  padding: 120px 40px 40px;
  transition: cubic-bezier(0.77, 0, 0.175, 1) 0.5s;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  border-left: 1px solid var(--color-border-subtle);
}

.nav-menu-mobile.open {
  right: 0;
}

.nav-menu-mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: auto;
}

.nav-link-mobile {
  color: var(--color-light-gray);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: var(--transition-fast);
  display: inline-block;
}

.nav-link-mobile:hover,
.nav-link-mobile.active {
  color: var(--color-white);
  padding-left: 8px;
}

.nav-mobile-footer {
  margin-top: 40px;
}

.nav-mobile-footer p {
  font-size: 0.8rem;
  color: var(--color-medium-gray);
  margin-bottom: 8px;
}

/* Overlay do Menu Mobile */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1020;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

/* 5. SEÇÃO HERO
   ========================================================================== */
#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: var(--color-black);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

#hero.loaded .hero-background {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tag {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--color-light-gray);
  font-weight: 500;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-smooth);
  transition-delay: 0.15s;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-light-gray);
  margin-bottom: 40px;
  max-width: 650px;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(35px);
  transition: var(--transition-smooth);
  transition-delay: 0.3s;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition-smooth);
  transition-delay: 0.45s;
}

/* scroll indicator animado */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0;
  transition: opacity 1.5s ease 0.8s;
  cursor: pointer;
}

.hero-scroll-indicator.visible {
  opacity: 0.7;
}

.hero-scroll-indicator:hover {
  opacity: 1;
}

.mouse-icon {
  width: 24px;
  height: 40px;
  border: 2px solid var(--color-white);
  border-radius: 12px;
  display: block;
  position: relative;
}

.mouse-wheel {
  display: block;
  width: 4px;
  height: 8px;
  background-color: var(--color-white);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouseScroll 1.5s infinite ease-in-out;
}

@keyframes mouseScroll {
  0% { top: 8px; opacity: 1; }
  100% { top: 22px; opacity: 0; }
}

/* Transição de fade-in da Home */
#hero.loaded .hero-tag,
#hero.loaded .hero-title,
#hero.loaded .hero-subtitle,
#hero.loaded .hero-buttons {
  opacity: 1;
  transform: translateY(0);
}

/* 6. SEÇÃO SOBRE (QUEM SOMOS)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

/* Imagem com Parallax leve e overlay sutil */
.about-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.03);
}

.about-image-border {
  position: absolute;
  top: 20px;
  left: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
  z-index: 2;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 24px;
  line-height: 1.25;
}

.about-text {
  font-size: 0.98rem;
  color: var(--color-light-gray);
  margin-bottom: 20px;
  font-weight: 300;
}

.about-text strong {
  font-weight: 600;
  color: var(--color-white);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 16px 0 32px;
  width: 100%;
}

.about-feat-item {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-white);
}

.about-feat-item i {
  color: var(--color-white);
  font-size: 0.85rem;
  margin-right: 12px;
  border: 1px solid var(--color-border-subtle);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-dark-gray);
}

/* 7. SEÇÃO SERVIÇOS (CARDS E HOVER)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: 6px;
  padding: 48px 40px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon-wrapper {
  width: 70px;
  height: 70px;
  background-color: var(--color-black);
  border: 1px solid var(--color-border-subtle);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  transition: var(--transition-smooth);
}

.service-icon-wrapper i {
  font-size: 1.8rem;
  color: var(--color-white);
  transition: var(--transition-smooth);
}

.service-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 16px;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--color-medium-gray);
  margin-bottom: 32px;
  font-weight: 300;
  flex-grow: 1;
  line-height: 1.6;
  transition: var(--transition-fast);
}

.service-card-link {
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: var(--transition-fast);
  align-self: flex-start;
}

.service-card-link i {
  margin-left: 8px;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

/* Hover nos cards */
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-premium), var(--shadow-glow);
}

.service-card:hover .service-icon-wrapper {
  background-color: var(--color-white);
  border-color: var(--color-white);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.service-card:hover .service-icon-wrapper i {
  color: var(--color-black);
}

.service-card:hover .service-card-desc {
  color: var(--color-light-gray);
}

.service-card:hover .service-card-link {
  color: var(--color-white);
  text-decoration: underline;
}

.service-card:hover .service-card-link i {
  transform: translateX(5px);
}

/* 8. SEÇÃO DIFERENCIAIS (POR QUE ESCOLHER A RS)
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background-color: var(--color-black);
  border: 1px solid var(--color-border-subtle);
  border-radius: 4px;
  padding: 40px 32px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.why-icon {
  font-size: 2rem;
  color: var(--color-white);
  margin-bottom: 24px;
  transition: var(--transition-fast);
}

.why-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 12px;
}

.why-card-desc {
  font-size: 0.9rem;
  color: var(--color-medium-gray);
  font-weight: 300;
  line-height: 1.5;
  transition: var(--transition-fast);
}

.why-card:hover {
  background-color: var(--color-dark-gray);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.why-card:hover .why-icon {
  transform: scale(1.1);
}

.why-card:hover .why-card-desc {
  color: var(--color-light-gray);
}

/* 9. SEÇÃO PROCESSO (LINHA DO TEMPO)
   ========================================================================== */
.timeline-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

/* A linha central */
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: var(--color-dark-gray);
  transform: translateX(-50%);
  z-index: 1;
}

/* A linha preenchida animada por JS */
.timeline-progress {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 0;
  background-color: var(--color-white);
  transform: translateX(-50%);
  z-index: 2;
  transition: height 1s ease;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  z-index: 3;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

/* Marcador no centro */
.timeline-marker {
  position: absolute;
  top: 30px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-black);
  border: 2px solid var(--color-dark-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-smooth);
}

.timeline-item:nth-child(odd) .timeline-marker {
  right: -16px;
}

.timeline-item:nth-child(even) .timeline-marker {
  left: -16px;
}

.timeline-step {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-medium-gray);
  transition: var(--transition-smooth);
}

/* Conteúdo do Card do Timeline */
.timeline-box {
  background: var(--color-dark-gray);
  border: 1px solid var(--color-border-subtle);
  padding: 30px;
  border-radius: 4px;
  display: inline-block;
  max-width: 420px;
  transition: var(--transition-smooth);
  text-align: left;
}

.timeline-item:nth-child(odd) .timeline-box {
  /* Alinhado à direita */
}

.timeline-box-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.timeline-box-desc {
  font-size: 0.9rem;
  color: var(--color-light-gray);
  font-weight: 300;
  line-height: 1.5;
}

/* Estados Ativos da Timeline */
.timeline-item.active .timeline-marker {
  border-color: var(--color-white);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.timeline-item.active .timeline-step {
  color: var(--color-white);
}

.timeline-item.active .timeline-box {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-glow);
}

/* 10. SEÇÃO CTA
    ========================================================================== */
#cta {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background-color: var(--color-black);
  text-align: center;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
  opacity: 0.4;
  /* Efeito parallax leve */
  transform: scale(1.1);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 17, 17, 0.85);
  z-index: 2;
}

.cta-container {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 24px;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--color-light-gray);
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 600px;
}

/* 11. SEÇÃO TRABALHE CONOSCO
    ========================================================================== */
.career-container {
  max-width: 750px;
  margin: 0 auto;
  background-color: var(--color-dark-gray);
  border: 1px solid var(--color-border-subtle);
  border-radius: 6px;
  padding: 48px;
  box-shadow: var(--shadow-premium);
}

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

.career-intro-title {
  font-size: 1.6rem;
  color: var(--color-white);
  margin-bottom: 12px;
}

.career-intro-desc {
  font-size: 0.95rem;
  color: var(--color-medium-gray);
  font-weight: 300;
}

/* Formulário Moderno */
.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-control {
  width: 100%;
  background-color: var(--color-black);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-white);
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: var(--font-main);
  border-radius: 4px;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-white);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

/* Upload de Arquivo Customizado */
.file-upload-wrapper {
  position: relative;
  margin-bottom: 24px;
}

.file-upload-input {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.file-upload-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background-color: var(--color-black);
  padding: 24px;
  border-radius: 4px;
  text-align: center;
  transition: var(--transition-fast);
}

.file-upload-btn i {
  font-size: 1.5rem;
  color: var(--color-medium-gray);
  transition: var(--transition-fast);
}

.file-upload-btn span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-medium-gray);
}

.file-upload-wrapper:hover .file-upload-btn {
  border-color: var(--color-white);
}

.file-upload-wrapper:hover .file-upload-btn i {
  color: var(--color-white);
}

.file-upload-filename {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--color-white);
  font-weight: 500;
}

.form-footer-terms {
  font-size: 0.75rem;
  color: var(--color-medium-gray);
  margin-top: 16px;
  text-align: center;
  line-height: 1.4;
}

/* 12. SEÇÃO CONTATO (MAPA E FORMULÁRIO)
    ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

/* Informações de Contato */
.contact-info-col {
  display: flex;
  flex-direction: column;
}

.contact-info-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
}

.contact-info-desc {
  font-size: 0.95rem;
  color: var(--color-light-gray);
  font-weight: 300;
  margin-bottom: 40px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 40px;
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-dark-gray);
  border: 1px solid var(--color-border-subtle);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-method-icon i {
  font-size: 1.15rem;
  color: var(--color-white);
}

.contact-method-details h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-medium-gray);
  margin-bottom: 4px;
}

.contact-method-details p,
.contact-method-details a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-white);
  text-decoration: none;
}

.contact-method-details a:hover {
  text-decoration: underline;
}

/* Google Maps */
.map-wrapper {
  width: 100%;
  height: 250px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(0.9) contrast(1.2); /* Estilo dark map */
}

/* Formulário de Contato */
.contact-form-col {
  background-color: var(--color-dark-gray);
  border: 1px solid var(--color-border-subtle);
  border-radius: 6px;
  padding: 48px;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
}

.contact-form-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 30px;
}

/* 13. RODAPÉ (FOOTER)
    ========================================================================== */
.footer {
  background-color: #0b0b0b;
  border-top: 1px solid var(--color-border-subtle);
  padding: 80px 0 30px;
}

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

/* Coluna Logo e Redes */
.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-white);
  text-decoration: none;
  margin-bottom: 20px;
}

.footer-logo span {
  font-weight: 300;
  color: var(--color-light-gray);
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--color-medium-gray);
  font-weight: 300;
  margin-bottom: 24px;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid var(--color-border-subtle);
  background-color: var(--color-black);
  color: var(--color-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-social-link:hover {
  background-color: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
  transform: translateY(-3px);
}

/* Coluna Links Rápidos */
.footer-nav-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-nav-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-white);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-item a {
  font-size: 0.88rem;
  color: var(--color-medium-gray);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-link-item a:hover {
  color: var(--color-white);
  padding-left: 5px;
}

/* Coluna Serviços */
.footer-services-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-services-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-white);
}

.footer-services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-service-item a {
  font-size: 0.88rem;
  color: var(--color-medium-gray);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-service-item a:hover {
  color: var(--color-white);
  padding-left: 5px;
}

/* Coluna Contatos */
.footer-contact-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-contact-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-white);
}

.footer-contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  font-size: 0.88rem;
  color: var(--color-medium-gray);
  line-height: 1.5;
}

.footer-contact-item i {
  margin-right: 12px;
  margin-top: 4px;
  color: var(--color-light-gray);
}

.footer-contact-item a {
  color: var(--color-medium-gray);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--color-white);
}

/* Direitos Autorais */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--color-medium-gray);
}

.footer-developer {
  font-size: 0.8rem;
  color: var(--color-medium-gray);
}

.footer-developer a {
  color: var(--color-light-gray);
  text-decoration: none;
  font-weight: 500;
}

.footer-developer a:hover {
  text-decoration: underline;
}

/* 14. EFEITOS ESPECIAIS (TRANSITIONS, DETECTOR, FLOATING)
    ========================================================================== */
/* Botão Voltar ao Topo */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: var(--color-dark-gray);
  border: 1px solid var(--color-border-subtle);
  border-radius: 4px;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

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

.back-to-top:hover {
  background-color: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* Botão WhatsApp Flutuante */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px; /* Separado do back-to-top */
  width: 56px;
  height: 56px;
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.8rem;
  z-index: 99;
  box-shadow: var(--shadow-whatsapp);
  transition: var(--transition-smooth);
  animation: pulseWhatsapp 2s infinite;
}

.whatsapp-float:hover {
  background-color: var(--color-whatsapp-hover);
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

@keyframes pulseWhatsapp {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Scroll Reveal: Classes para IntersectionObserver */
.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-slide-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-active {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* Toast de Confirmação do Form */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--color-white);
  color: var(--color-black);
  padding: 16px 24px;
  border-radius: 4px;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-premium);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-smooth);
}

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

.toast-notification i {
  color: #15b04a;
  font-size: 1.25rem;
}

.toast-notification p {
  font-size: 0.9rem;
  font-weight: 600;
}

/* 15. SISTEMA DE MODAL PREMIUM PARA DETALHES DE SERVIÇOS
    ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background-color: var(--color-black);
  border: 1px solid var(--color-border-subtle);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: 6px;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(30px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.modal-overlay.open .modal-card {
  transform: scale(1) translateY(0);
}

/* Botão Fechar Modal */
.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--color-light-gray);
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

.modal-body {
  padding: 48px;
}

.modal-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: var(--color-dark-gray);
  border: 1px solid var(--color-border-subtle);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.modal-icon-wrapper i {
  font-size: 1.6rem;
  color: var(--color-white);
}

.modal-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 24px;
}

.modal-intro-text {
  font-size: 1.05rem;
  color: var(--color-white);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 20px;
}

.modal-detail-text {
  font-size: 0.95rem;
  color: var(--color-light-gray);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 30px;
}

.modal-why-box {
  background-color: var(--color-dark-gray);
  border: 1px solid var(--color-border-subtle);
  padding: 28px;
  border-radius: 4px;
  margin-bottom: 36px;
}

.modal-why-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-why-desc {
  font-size: 0.9rem;
  color: var(--color-light-gray);
  font-weight: 300;
  line-height: 1.5;
}

.modal-footer {
  display: flex;
  gap: 16px;
}

/* 16. RESPONSIVIDADE (MEDIA QUERIES)
    ========================================================================== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image {
    height: 400px;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }
  .section-title {
    font-size: 2rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
  .btn {
    width: 100%;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu-desktop {
    display: none;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .timeline-line,
  .timeline-progress {
    left: 24px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 64px;
    padding-right: 0;
  }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
    text-align: left;
  }
  .timeline-item:nth-child(odd) .timeline-marker,
  .timeline-item:nth-child(even) .timeline-marker {
    left: 8px;
  }
  .timeline-box {
    max-width: 100%;
  }
  .career-container,
  .contact-form-col {
    padding: 30px 20px;
  }
  .modal-body {
    padding: 30px 20px;
  }
  .modal-footer {
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .logo-text {
    font-size: 1.4rem;
  }
}
