/* Fonte Inter global */
* {
  font-family: "Inter", sans-serif !important;
}

/* Exceções para títulos */
h1,
h2,
h3,
h4,
h5,
h6,
.font-display {
  font-family: "Outfit", sans-serif !important;
}

/* Swiper Custom Styles */
.swiper-button-next,
.swiper-button-prev {
  color: white !important;
  background: rgba(0, 0, 0, 0.15) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: 56px !important;
  height: 56px !important;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0.6;
  box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.2);
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.08);
  opacity: 1;
  box-shadow: 0 8px 32px -4px rgba(0, 0, 0, 0.3);
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px !important;
  font-weight: 900;
}

.swiper-pagination-bullet {
  background: white !important;
  width: 7px !important;
  height: 7px !important;
  opacity: 0.35 !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.swiper-pagination-bullet-active {
  opacity: 1 !important;
  width: 28px !important;
  border-radius: 4px !important;
  background: white !important;
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    width: 44px !important;
    height: 44px !important;
    opacity: 0.5;
  }
  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 16px !important;
  }
  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    opacity: 0.9;
  }
}

@media (max-width: 480px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
}

/* Custom animations - apenas as que não existem no Tailwind */

/* Mobile menu styles */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* WhatsApp button animation customizada */
.whatsapp-float {
  animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #4a7ab5;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3d6599;
}

/* Card hover effects customizados */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Custom gradients específicos do projeto */
.gradient-primary {
  background: linear-gradient(135deg, #4a7ab5 0%, #5885c4 100%);
}

.gradient-secondary {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    page-break-after: avoid;
  }
}

/* Error states */
.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* Loading states - Removido */

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Custom scrollbar melhorado */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #4a7ab5, #5885c4);
  border-radius: 6px;
  border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #3d6599, #4a7ab5);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #4a7ab5 #f1f1f1;
}

/* Selection styles */
::selection {
  background-color: #4a7ab5;
  color: white;
}

::-moz-selection {
  background-color: #4a7ab5;
  color: white;
}

/* Placeholder styles */
::placeholder {
  color: #9ca3af;
  opacity: 1;
}

::-webkit-input-placeholder {
  color: #9ca3af;
}

::-moz-placeholder {
  color: #9ca3af;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #9ca3af;
}

/* Tooltip styles */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #1f2937;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 8px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 12px;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* Custom utility classes específicas do projeto */
.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.text-shadow-lg {
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Depoimentos Carrossel - Removido setas */
.depoimentos-swiper .swiper-pagination-bullet {
  background: #cbd5e1;
  opacity: 1;
  width: 12px;
  height: 12px;
  transition: all 0.3s ease;
}

.depoimentos-swiper .swiper-pagination-bullet-active {
  background: #3b6ca4;
  transform: scale(1.2);
}

.depoimentos-swiper .swiper-slide {
  height: auto;
}

/* Responsive adjustments for depoimentos */
@media (max-width: 640px) {
  .depoimentos-swiper.swiper-button-next,
  .depoimentos-swiper.swiper-button-prev {
    display: none;
  }
}

/* Garantir que as setas de depoimentos fiquem apenas na seção de depoimentos */
#depoimentos {
  position: relative;
}

#depoimentos .depoimentos-swiper.swiper-button-next,
#depoimentos .depoimentos-swiper.swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

#depoimentos .depoimentos-swiper.swiper-button-next {
  right: 20px;
}

#depoimentos .depoimentos-swiper.swiper-button-prev {
  left: 20px;
}

/* Projetos Carrossel */
#projetos {
  position: relative;
}

.projetos-swiper .swiper-button-next,
.projetos-swiper .swiper-button-prev {
  color: #3b6ca4 !important;
  background: white !important;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  box-shadow: 0 4px 12px rgba(59, 108, 164, 0.15);
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

#projetos .projetos-swiper .swiper-button-next {
  right: 20px;
}

#projetos .projetos-swiper .swiper-button-prev {
  left: 20px;
}

.projetos-swiper .swiper-button-next:hover,
.projetos-swiper .swiper-button-prev:hover {
  background: #3b6ca4;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.projetos-swiper .swiper-button-next:after,
.projetos-swiper .swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

.projetos-swiper .swiper-pagination-bullet {
  background: #cbd5e1 !important;
  opacity: 1;
  width: 12px;
  height: 12px;
  transition: all 0.3s ease;
}

.projetos-swiper .swiper-pagination-bullet-active {
  background: #3b6ca4 !important;
  transform: scale(1.2);
}

.projetos-swiper .swiper-slide {
  height: auto;
}

/* Responsive adjustments for projetos */
@media (max-width: 640px) {
  .projetos-swiper .swiper-button-next,
  .projetos-swiper .swiper-button-prev {
    display: none;
  }
}

#parceiros {
  position: relative;
}

.parceiros-swiper .swiper-button-next,
.parceiros-swiper .swiper-button-prev {
  color: #3b6ca4 !important;
  background: white !important;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  box-shadow: 0 4px 12px rgba(59, 108, 164, 0.15);
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.parceiros-swiper .swiper-button-next {
  right: 20px;
}
.parceiros-swiper .swiper-button-prev {
  left: 20px;
}

.parceiros-swiper .swiper-button-next:hover,
.parceiros-swiper .swiper-button-prev:hover {
  background: #3b6ca4;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.parceiros-swiper .swiper-pagination-bullet {
  background: #cbd5e1 !important;
  opacity: 1;
  width: 10px;
  height: 10px;
  transition: all 0.3s ease;
}

.parceiros-swiper .swiper-pagination-bullet-active {
  background: #3b6ca4 !important;
  transform: scale(1.2);
}

.parceiros-swiper .swiper-slide {
  height: auto;
}

@media (max-width: 640px) {
  .parceiros-swiper .swiper-button-next,
  .parceiros-swiper .swiper-button-prev {
    display: none;
  }
}

/* Hero Swiper */
#home {
  position: relative;
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  color: white;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.hero-swiper .swiper-button-next {
  right: 20px;
}

.hero-swiper .swiper-button-prev {
  left: 20px;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.3);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.hero-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5) !important;
  opacity: 1;
  width: 12px;
  height: 12px;
  transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: white !important;
  transform: scale(1.2);
}

.hero-swiper.swiper-button-next:after,
.hero-swiper.swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

/* Cards da seção Quem Somos com position absolute */
@media (max-width: 640px) {
  .quem-somos-cards .card-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }

  .quem-somos-cards .card-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(100%);
  }

  .quem-somos-cards .card-3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(200%);
  }
}
#parceiros {
  position: relative;
  display: none;
}
.parceiros-swiper .swiper-slide {
  height: auto;
}

.logo-placeholder {
  width: 160px;
  height: 64px;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: 0.2px;
}

@media (min-width: 640px) {
  .logo-placeholder {
    width: 200px;
    height: 72px;
  }
}

@media (min-width: 1024px) {
  .logo-placeholder {
    width: 220px;
    height: 80px;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: #3b6ca4;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: top 0.2s ease;
  z-index: 1000;
}

/* Honeypot field hidden off-screen */
.hp-hidden {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.skip-link:focus {
  top: 4px;
}

/* Focus visible for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #3b6ca4;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(59, 108, 164, 0.25);
}
.section-spacing-large {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.content-spacing > * + * {
  margin-top: 1.25rem;
}

@media (min-width: 1024px) {
  .content-spacing > * + * {
    margin-top: 1.5rem;
  }
}
.cta-margin {
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .cta-margin {
    margin-top: 3rem;
  }
}

@media (min-width: 1024px) {
  .cta-margin {
    margin-top: 4rem;
  }
}
