/* 🚀 CSS MODERNO - DETETIVE OLIVEIRA */
:root {
  --primary: #2d2d2d;
  --secondary: #1a1f36;
  --accent: #f5c542;
  --accent-hover: #ffd86c;
  --text: #4a4a4a;
  --text-light: #6b7280;
  --light: #ffffff;
  --dark: #111827;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  
  /* Gradientes modernos */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #ffd86c 100%);
  --gradient-dark: linear-gradient(135deg, var(--secondary) 0%, #2d3748 100%);
  
  /* Sombras modernas */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 25px rgba(0,0,0,0.15);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.2);
  --shadow-xl: 0 25px 50px rgba(0,0,0,0.25);
  
  /* Bordas modernas */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Transições avançadas */
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out-back: cubic-bezier(0.68, -0.6, 0.32, 1.6);
  --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* 🔥 RESET MODERNO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Lexend', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--light);
  font-weight: 400;
}

/* 🎯 TIPOGRAFIA MODERNA */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Kameron', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4rem;
  position: relative;
  text-align: center;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
  animation: slideInWidth 1s var(--ease-out-back) forwards;
}

/* 📱 HEADER MODERNO */
.top-header {
  background: rgba(26, 31, 54, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s var(--ease-smooth);
}

.top-header.scrolled {
  background: rgba(26, 31, 54, 0.98);
  backdrop-filter: blur(30px);
  height: 70px;
  box-shadow: var(--shadow-lg);
}

.top-logo {
  height: 50px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  transition: all 0.3s var(--ease-out-back);
}

.top-logo:hover {
  transform: scale(1.05) rotate(-2deg);
}

/* 🧭 NAVEGAÇÃO MODERNA */
.top-nav {
  display: flex;
  gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-nav a {
  color: var(--light);
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s var(--ease-smooth);
}

.top-nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out-back);
}

.top-nav a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.top-nav a:hover::before {
  width: 100%;
}

.top-nav a.active {
  color: var(--accent);
}

.top-nav a.active::before {
  width: 100%;
}

/* 📱 MENU MOBILE ANIMADO */
.hamburger {
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.3s var(--ease-out-back);
  border-radius: var(--radius-sm);
}

.hamburger:hover {
  background: rgba(255,255,255,0.1);
  transform: scale(1.1);
}

.hamburger.active {
  transform: rotate(90deg);
}

.mobile-nav {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(26, 31, 54, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-top: 1px solid rgba(255,255,255,0.1);
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.5s var(--ease-out-back);
  z-index: 999;
}

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

.mobile-nav li {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.4s var(--ease-out-back);
}

.mobile-nav.active li {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav.active li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active li:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav.active li:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav.active li:nth-child(4) { transition-delay: 0.4s; }

.mobile-nav a {
  color: var(--light);
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 1.2rem 2rem;
  display: block;
  transition: all 0.3s var(--ease-smooth);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-nav a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--accent);
  padding-left: 2.5rem;
}

/* 🎪 HEADER PRINCIPAL COM ANIMAÇÕES */
.main-header {
  padding: 200px 0 120px;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.main-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(245, 197, 66, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(26, 31, 54, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  animation: float 6s ease-in-out infinite;
}

.main-logo {
  max-width: 320px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
  animation: 
    float 3s var(--ease-in-out-back) infinite,
    fadeInUp 1s var(--ease-out-back) forwards;
  opacity: 0;
}

.location-tag {
  font-family: 'Jost', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: #ffc107;
  opacity: 0.9;
  animation: fadeInUp 1s var(--ease-out-back) 0.3s forwards;
  opacity: 0;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s var(--ease-out-back) 0.6s forwards;
  opacity: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--light);
  font-size: 1.1rem;
  transition: all 0.3s var(--ease-smooth);
}

.contact-item:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s var(--ease-out-back) 0.9s forwards;
  opacity: 0;
}

.social-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  text-decoration: none;
  transition: all 0.4s var(--ease-out-back);
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}

.social-icon:hover::before {
  left: 100%;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.whatsapp-icon {
  background: var(--success);
}

.whatsapp-icon:hover {
  background: #059669;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.phone-icon {
  background: var(--primary);
}

.phone-icon:hover {
  background: #374151;
}

/* 📄 SEÇÕES MODERNAS */
.section {
  padding: 6rem 0;
  position: relative;
}

.bg-light {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* 🎨 SOBRE COM ANIMAÇÕES */
.about-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--text);
  opacity: 0;
  animation: fadeInLeft 1s var(--ease-out-back) forwards;
}

.about-text p:nth-child(1) { animation-delay: 0.2s; }
.about-text p:nth-child(2) { animation-delay: 0.4s; }
.about-text p:nth-child(3) { animation-delay: 0.6s; }

.badge {
  background: var(--gradient-accent);
  color: var(--secondary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  transition: all 0.3s var(--ease-smooth);
}

.badge:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-md);
}

.img-fade-in {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  transform: perspective(1000px) rotateY(-10deg) translateX(50px);
  transition: all 0.8s var(--ease-out-back);
  filter: brightness(1.05) contrast(1.1);
}

.img-fade-in.appear {
  opacity: 1;
  transform: perspective(1000px) rotateY(0) translateX(0);
}

/* 🎴 CARDS DE CASOS MODERNOS */
.areas-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  perspective: 1000px;
}

.case-item {
  background: var(--light);
  padding: 3rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border-left: 6px solid var(--accent);
  transition: all 0.6s var(--ease-out-back);
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  position: relative;
  overflow: hidden;
}

.case-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(245, 197, 66, 0.1), transparent);
  transition: left 0.6s;
}

.case-item:hover::before {
  left: 100%;
}

.case-item.appear {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.case-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.case-icon {
  width: 240px;
  height: 140px;
  margin: 0 auto 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s var(--ease-out-back);
  position: relative;
}

.case-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(245, 197, 66, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.case-item:hover .case-icon {
  transform: scale(1.05) rotate(2deg);
}

.case-item:hover .case-icon::after {
  opacity: 1;
}

.case-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.case-item:hover .case-icon img {
  transform: scale(1.1);
}

.case-item h3 {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.case-item p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* 📞 SEÇÃO CONTATO MODERNA */
.contact-section {
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(245, 197, 66, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(26, 31, 54, 0.2) 0%, transparent 50%);
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  z-index: 2;
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.form-control {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  font-size: 1rem;
  transition: all 0.3s var(--ease-smooth);
  backdrop-filter: blur(10px);
}

.form-control:focus {
  background: var(--light);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 197, 66, 0.1);
  transform: translateY(-2px);
}

.form-control.is-valid {
  border-color: var(--success);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2310b981' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
}

.form-control.is-invalid {
  border-color: var(--error);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ef4444'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6.4.4.4-.4'/%3e%3cpath d='M6 7v1'/%3e%3c/svg%3e");
  animation: shake 0.5s var(--ease-elastic);
}

.submit-btn {
  background: var(--gradient-accent);
  color: var(--secondary);
  font-family: 'Kameron', serif;
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 1.25rem 2rem;
  border: none;
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease-out-back);
  cursor: pointer;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(245, 197, 66, 0.3);
}

.submit-btn:active {
  transform: translateY(-1px) scale(1.01);
}

/* 📊 FAQ MODERNO */
.accordion-item {
  background: var(--light);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-lg) !important;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s var(--ease-smooth);
}

.accordion-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.accordion-button {
  background: var(--light);
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.5rem 2rem;
  border: none;
  transition: all 0.3s var(--ease-smooth);
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: var(--accent);
  box-shadow: none;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f5c542'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: transform 0.3s var(--ease-out-back);
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg);
}

/* 👣 FOOTER MODERNO */
footer {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(245, 197, 66, 0.05) 0%, transparent 50%);
}

.footer-logo {
  height: 50px;
  filter: brightness(0) invert(1);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

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

/* 🔔 WHATSAPP FLUTUANTE */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  animation: float 3s var(--ease-in-out-back) infinite;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: var(--success);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: var(--shadow-xl);
  transition: all 0.4s var(--ease-out-back);
  position: relative;
  overflow: hidden;
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.4s var(--ease-out-back);
}

.whatsapp-btn:hover::before {
  transform: scale(1);
}

.whatsapp-btn:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
}

.whatsapp-btn i {
  font-size: 2rem;
  position: relative;
  z-index: 2;
}

/* 🎬 ANIMAÇÕES PERSONALIZADAS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

@keyframes slideInWidth {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

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

/* ✨ UTILITÁRIOS MODERNOS */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hover-lift {
  transition: transform 0.3s var(--ease-out-back);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* 📱 RESPONSIVIDADE AVANÇADA */
@media (max-width: 1200px) {
  .container {
    max-width: 1140px;
    padding: 0 2rem;
  }
}

@media (max-width: 992px) {
  .top-nav {
    display: none !important;
  }
  
  .main-header {
    padding: 160px 0 80px;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .case-item {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .main-header {
    padding: 140px 0 60px;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .social-icon {
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
  }
  
  .whatsapp-btn {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 576px) {
  .main-logo {
    max-width: 250px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .case-item {
    padding: 1.5rem;
  }
  
  .accordion-button {
    padding: 1.25rem 1.5rem;
  }
}

/* 🎯 OTIMIZAÇÕES DE PERFORMANCE */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 🎨 MODOS DE COR */
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #e5e7eb;
    --text: #d1d5db;
    --light: #111827;
    --dark: #f9fafb;
  }
  
  .bg-light {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  }
}

/* 🖨 ESTILOS PARA IMPRESSÃO */
@media print {
  .top-header,
  .social-icons,
  .whatsapp-float,
  .contact-form {
    display: none !important;
  }
  
  .main-header {
    background: none !important;
    color: black !important;
    padding: 2rem 0 !important;
  }
}
























