/* ============================================
   CONTACT CTA - ULTRA MODERN & FUTURISTIC
   ============================================ */

/* Spacing Utilities */
.contact-height-50 {
  height: 50px;
}

.contact-height-40 {
  height: 40px;
}

/* Main Section */
.contact-cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  padding: 80px 0;
  min-height: 600px;
}

/* Background Animation */
.contact-background-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 85, 0, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(38, 147, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(40, 167, 69, 0.03) 0%, transparent 50%);
  animation: contact-background-pulse 8s ease-in-out infinite;
}

@keyframes contact-background-pulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* Section Wrapper */
.contact-cta-wrapper {
  position: relative;
  z-index: 2;
}

/* Section Heading */
.contact-section-heading {
  text-align: center;
  margin-bottom: 20px;
}

.contact-section-title {
  font-size: 48px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #ff5500 0%, #ff8833 50%, #ff5500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: contact-title-glow 3s ease-in-out infinite;
}

@keyframes contact-title-glow {
  0%, 100% {
    filter: brightness(1) drop-shadow(0 0 20px rgba(255, 85, 0, 0.3));
  }
  50% {
    filter: brightness(1.3) drop-shadow(0 0 30px rgba(255, 85, 0, 0.6));
  }
}

.contact-title-underline {
  width: 140px;
  height: 4px;
  background: linear-gradient(90deg, #ff5500 0%, #2693FF 50%, #28a745 100%);
  margin: 0 auto 20px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.contact-title-underline::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  animation: contact-underline-shine 2s linear infinite;
}

@keyframes contact-underline-shine {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

.contact-section-subtitle {
  font-size: 18px;
  color: #5a5a5a;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Cards Grid */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Contact Card Base */
.contact-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 35px 25px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  border: 2px solid #e0e0e0;
  box-shadow: 
    0 5px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.contact-card::before {
  display: none;
}

.contact-card:hover::before {
  display: none;
}

.contact-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #28a745;
  background: linear-gradient(185deg, #EEEEEE 0%, #000000 600%) !important;
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Card Shine Effect */
.contact-card-glow {
  position: absolute;
  top: -100%;
  left: -100%;
  width: 50%;
  height: 300%;
  background: linear-gradient(45deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.15) 45%, 
    rgba(255, 255, 255, 0.4) 50%, 
    rgba(255, 255, 255, 0.15) 55%, 
    transparent 100%);
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

.contact-card:hover .contact-card-glow {
  opacity: 1;
  animation: contact-shine-sweep 1.5s ease-in-out;
}

@keyframes contact-shine-sweep {
  0% {
    top: -100%;
    left: -100%;
  }
  100% {
    top: 100%;
    left: 100%;
  }
}

/* Card Content */
.contact-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Icon Wrapper */
.contact-icon-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 36px;
  transition: all 0.4s ease;
}

.contact-whatsapp-icon {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(40, 167, 69, 0.4);
}

.contact-phone-icon {
  background: linear-gradient(135deg, #2693FF 0%, #4da6ff 100%);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(38, 147, 255, 0.4);
}

.contact-card:hover .contact-icon-wrapper {
  transform: scale(1.1) rotateY(360deg);
  box-shadow: 0 15px 40px rgba(255, 85, 0, 0.5);
}

/* Icon Pulse */
.contact-icon-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  opacity: 0.6;
  animation: contact-pulse 2s ease-out infinite;
}

@keyframes contact-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Card Info */
.contact-card-info {
  width: 100%;
  margin-bottom: 20px;
}

.contact-card-label {
  font-size: 14px;
  color: #6a6a6a;
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.contact-card-number {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-card-number a {
  color: #1a1a2e;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.contact-card-number a:hover {
  color: #ff5500;
  transform: scale(1.05);
}

/* Status Indicator */
.contact-card-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #28a745;
  font-weight: 500;
}

.contact-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28a745;
  box-shadow: 0 0 10px #28a745;
  animation: contact-status-blink 2s ease-in-out infinite;
}

.contact-status-blue {
  background: #2693FF;
  box-shadow: 0 0 10px #2693FF;
}

@keyframes contact-status-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* Card Button */
.contact-card-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: linear-gradient(135deg, #ff5500 0%, #ff7722 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 20px rgba(255, 85, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.contact-card-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.contact-card-button:hover::before {
  width: 300px;
  height: 300px;
}

.contact-card-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 85, 0, 0.6);
  color: #000000;  /* <-- ADICIONE ESTA LINHA */
}

.contact-card-button i {
  font-size: 16px;
  transition: transform 0.4s ease;
}

.contact-card-button:hover i {
  transform: translateX(5px);
}

/* Blue Button Variant */
.contact-button-blue {
  background: linear-gradient(135deg, #2693FF 0%, #4da6ff 100%);
  box-shadow: 0 5px 20px rgba(38, 147, 255, 0.4);
}

.contact-button-blue:hover {
  box-shadow: 0 10px 30px rgba(38, 147, 255, 0.6);
}

/* Location Card */
.contact-location-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: #ffffff;
  border-radius: 20px;
  padding: 30px 40px;
  max-width: 1400px;
  margin: 0 auto;
  border: 2px solid #e0e0e0;
  box-shadow: 
    0 5px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.4s ease;
  overflow: hidden;
}

.contact-location-card:hover {
  transform: translateY(-5px);
  border-color: #d0d0d0;
  background: #f9f9f9;
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.contact-location-icon {
  position: relative;
  z-index: 2;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(40, 167, 69, 0.4);
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.contact-location-card:hover .contact-location-icon {
  transform: scale(1.1) rotate(10deg);
}

.contact-location-info {
  position: relative;
  z-index: 2;
  flex: 1;
}

.contact-location-label {
  font-size: 14px;
  color: #6a6a6a;
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.contact-location-address {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.contact-location-address a {
  color: #1a1a2e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-location-address a:hover {
  color: #28a745;
}

.contact-location-button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(40, 167, 69, 0.4);
  flex-shrink: 0;
  white-space: nowrap;
}

.contact-location-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(40, 167, 69, 0.6);
}

.contact-location-button i {
  font-size: 16px;
  transition: transform 0.4s ease;
}

.contact-location-button:hover i {
  transform: scale(1.2);
}

/* Floating Particles */
.contact-floating-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.contact-particle-1 {
  background: #ff5500;
  top: 15%;
  left: 10%;
  animation: contact-float-1 8s ease-in-out infinite;
  box-shadow: 0 0 20px #ff5500;
}

.contact-particle-2 {
  background: #2693FF;
  top: 70%;
  right: 12%;
  animation: contact-float-2 10s ease-in-out infinite;
  box-shadow: 0 0 20px #2693FF;
}

.contact-particle-3 {
  background: #28a745;
  bottom: 20%;
  left: 15%;
  animation: contact-float-3 12s ease-in-out infinite;
  box-shadow: 0 0 20px #28a745;
}

.contact-particle-4 {
  background: #ff8833;
  top: 40%;
  right: 20%;
  animation: contact-float-4 9s ease-in-out infinite;
  box-shadow: 0 0 20px #ff8833;
}

@keyframes contact-float-1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(60px, -60px) scale(1.5);
    opacity: 1;
  }
}

@keyframes contact-float-2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(-70px, 50px) scale(1.5);
    opacity: 1;
  }
}

@keyframes contact-float-3 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(50px, -70px) scale(1.5);
    opacity: 1;
  }
}

@keyframes contact-float-4 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(-50px, 60px) scale(1.5);
    opacity: 1;
  }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ============================================ */

/* Large Tablets */
@media (max-width: 1024px) {
  .contact-section-title {
    font-size: 42px;
  }
  
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1000px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .contact-cta-section {
    padding: 60px 0;
  }
  
  .contact-section-title {
    font-size: 36px;
  }
  
  .contact-section-subtitle {
    font-size: 16px;
    padding: 0 20px;
  }
  
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-card {
    padding: 30px 20px;
  }
  
  .contact-icon-wrapper {
    width: 70px;
    height: 70px;
    font-size: 32px;
  }
  
  .contact-card-number {
    font-size: 22px;
  }
  
  .contact-location-card {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
  }
  
  .contact-location-address {
    font-size: 18px;
  }
  
  .contact-location-button {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .contact-cta-section {
    padding: 50px 0;
  }
  
  .contact-section-title {
    font-size: 28px;
  }
  
  .contact-section-subtitle {
    font-size: 14px;
  }
  
  .contact-title-underline {
    width: 100px;
    height: 3px;
  }
  
  .contact-height-50 {
    height: 30px;
  }
  
  .contact-height-40 {
    height: 25px;
  }
  
  .contact-card {
    padding: 25px 18px;
  }
  
  .contact-icon-wrapper {
    width: 65px;
    height: 65px;
    font-size: 28px;
    margin-bottom: 15px;
  }
  
  .contact-card-label {
    font-size: 13px;
  }
  
  .contact-card-number {
    font-size: 20px;
  }
  
  .contact-card-button {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }
  
  .contact-location-card {
    padding: 20px 15px;
  }
  
  .contact-location-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }
  
  .contact-location-address {
    font-size: 16px;
  }
  
  .contact-location-button {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .contact-floating-particle {
    width: 5px;
    height: 5px;
  }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
  .contact-section-title {
    font-size: 24px;
  }
  
  .contact-card-number {
    font-size: 18px;
  }
  
  .contact-location-address {
    font-size: 15px;
  }
}

/* Performance Optimization */
@media (prefers-reduced-motion: reduce) {
  .contact-background-animation,
  .contact-icon-pulse,
  .contact-floating-particle,
  .contact-status-dot {
    animation: none;
  }
  
  .contact-card,
  .contact-icon-wrapper,
  .contact-card-button {
    transition: none;
  }
}