/* Cores personalizadas para Tailwind */
:root {
  --color-dark-blue: #0a192f; /* Azul Escuro */
  --color-gold: #d4af37; /* Dourado */
  --color-light-gray: #f5f5f5; /* Cinza Claro */
  --color-text-gray: #4a4a4a; /* Cinza para texto */
}

.hidden :hover {
  color: var(--color-gold);
}

.shine :hover{
  color: var(--color-gold);
}

.font-playfair {
  font-family: "Playfair Display", serif;
}


.text-4xl :hover {
  transform: scale(1.1);
}

.subir :hover {
  transform: scale(1.1);
}

.text-dark-blue {
  color: #002147;
}

.bg-light-gray {
  background-color: #f5f5f5;
}

.text-gold {
  color: #ffd700;
}

.fill-gold {
  fill: #ffd700;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Estilos para a animação de fade in e fade out por scroll */
.depoimento-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.depoimento-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Adiciona um atraso para os elementos aparecerem em cascata */
.depoimento-item:nth-child(2) { transition-delay: 0.1s; }
.depoimento-item:nth-child(3) { transition-delay: 0.2s; }

/* Mantenha os estilos de hover que você já tinha */
.card-depoimento {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.card-depoimento:hover {
    transform: translateY(-8px) scale(1.02); /* Corrigi a escala para 1.02, já que a original estava em 1, que não faz nada */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Estilos para a animação de entrada */
.animation-target {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

/* Estilo para a animação de saída/retorno */
.animation-target.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Os atrasos de animação podem ser aplicados assim */
.animation-target:nth-child(2) {
    transition-delay: 0.1s;
}
.animation-target:nth-child(3) {
    transition-delay: 0.2s;
}

.bg-dark-blue {
  background-color: var(--color-dark-blue);
}
.text-dark-blue {
  color: var(--color-dark-blue);
}
.border-dark-blue {
  border-color: var(--color-dark-blue);
}

.bg-gold {
  background-color: var(--color-gold);
}
.text-gold {
  color: var(--color-gold);
}
.border-gold {
  border-color: var(--color-gold);
}

.bg-light-gray {
  background-color: var(--color-light-gray);
}
.text-light-gray {
  color: var(--color-light-gray);
}

.text-text-gray {
  color: var(--color-text-gray);
}

/* Fontes personalizadas */
.font-inter {
  font-family: "Inter", sans-serif;
}
.font-playfair {
  font-family: "Playfair Display", serif;
}

/* Estilos para rolagem suave */
html {
  scroll-behavior: smooth;
}

/* Hero section background overlay */
.hero-bg-overlay {
  background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.7)),
    url("img/imagem-fundo.png") center/cover no-repeat fixed;
}

/* Carousel navigation (basic for static cards) */
.carousel-container {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; /* For smoother scrolling on iOS */
}

.logo img {
  width: 170px;
}

.carousel-item {
  scroll-snap-align: start;
  flex: 0 0 auto; /* Prevent items from shrinking */
}


@media (max-width: 400px) {
  .media{
    width: 100px;
  }
}

/* Media queries personalizadas para responsividade */
@media (max-width: 480px) {
  .hero-bg-overlay {
    min-height: 100vh;
    padding-top: 5rem; /* 80px */
  }
  
  .modern-header {
    min-height: 70px;
  }
  
  .icon-wrapper {
    width: 60px !important;
    height: 60px !important;
  }
  
  .glass-card {
    padding: 1.5rem !important;
  }
  
  .modern-btn {
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
  }
  
  .section-header {
    font-size: 1.875rem !important;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .hero-bg-overlay {
    padding-top: 6rem; /* 96px */
  }
  
  .modern-header {
    min-height: 80px;
  }
  
  .icon-wrapper {
    width: 70px;
    height: 70px;
  }
}

@media (min-width: 769px) {
  .hero-bg-overlay {
    padding-top: 7rem; /* 112px */
  }
  
  .modern-header {
    min-height: 88px;
  }
}

@media (max-width: 640px) {
  .decorative-line {
    width: 60px;
    margin: 0 auto 1.5rem;
  }
  
  .diagonal-bg::before {
    height: 60px;
  }
}

/* Melhor spacing em mobile */
@media (max-width: 768px) {
  .py-20 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .py-32 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  .gap-16 {
    gap: 2rem;
  }
  
  .gap-12 {
    gap: 1.5rem;
  }
}

/* Touch targets melhores para mobile */
@media (hover: none) and (pointer: coarse) {
  .modern-btn, .glass-card a, .animated-link {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Estilos Modernos Customizados */
.font-poppins {
  font-family: "Poppins", sans-serif;
}

/* Hero moderno com imagem de fundo */
.hero-corporate {
  position: relative;
  overflow: hidden;
}

.hero-corporate::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, white, transparent);
  pointer-events: none;
  z-index: 5;
}

/* Cards com efeito glassmorphism */
.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(212, 175, 55, 0.3);
  border-color: rgba(212, 175, 55, 0.6);
}

/* Botões modernos com gradiente */
.modern-btn {
  background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}

.modern-btn:hover::before {
  left: 100%;
}

.modern-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

/* Header moderno e minimalista */
.modern-header {
  background: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Classes para controlar visibilidade da navbar */
.navbar-hidden {
  transform: translateY(-100%);
}

.navbar-visible {
  transform: translateY(0);
}

/* Seção com background diagonal */
.diagonal-bg {
  position: relative;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.diagonal-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: #0a192f;
  clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%);
}

/* Efeito de texto gradiente */
.gradient-text {
  background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Estatísticas com animação */
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #d4af37;
  line-height: 1;
}

/* Linha decorativa */
.decorative-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #f4d03f);
  margin: 0 auto 2rem;
  border-radius: 2px;
}

/* Timeline moderna */
.timeline-item {
  position: relative;
  padding-left: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: #d4af37;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

/* Depoimentos modernos */
.modern-testimonial {
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
  border-left: 4px solid #d4af37;
  position: relative;
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

/* Icon wrapper moderno */
.icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.icon-wrapper::after {
  content: '';
  position: absolute;
  inset: -4px;
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  border-radius: 22px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.2s;
}

.glass-card:hover .icon-wrapper::after {
  opacity: 0.3;
}

/* Section headers modernos */
.section-header {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

/* Animated underline for links */
.animated-link {
  position: relative;
  text-decoration: none;
}

.animated-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d4af37;
  transition: width 0.2s ease;
}

.animated-link:hover::after {
  width: 100%;
}