/**
 * Homepage Modern Styles
 * Alexandre Queiroz Marketing Digital
 * Modern, clean, conversion-focused design
 */

/* ========================================
   Section Base Styles - Elegant Typography
======================================== */
section {
  padding: 100px 0;
}

section.hero-immersive {
  padding: 0;
  margin: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
}

.section-header::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  margin: 25px auto 0;
  border-radius: 2px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 18px;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.section-title::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -15px;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0.1;
  border-radius: 8px;
  transform: rotate(15deg);
  z-index: -1;
}

.section-subtitle {
  font-size: 19px;
  color: #7f8c8d;
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================================
   Services Section - Elegant & SEO-Friendly
======================================== */
.services-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #667eea, transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
  margin-top: 50px;
}

.service-card {
  background: #fff;
  padding: 45px 35px;
  border-radius: 16px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  position: relative;
  border: 1px solid rgba(102, 126, 234, 0.08);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 50px rgba(102, 126, 234, 0.2);
  border-color: #667eea;
}

.service-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #fff;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  position: relative;
}

.service-icon::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.service-card:hover .service-icon::before {
  opacity: 1;
}

.service-icon i {
  position: relative;
  z-index: 1;
}

.service-title {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 18px;
  line-height: 1.3;
  transition: color 0.3s;
}

.service-card:hover .service-title {
  color: #667eea;
}

.service-description {
  font-size: 15px;
  color: #7f8c8d;
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  text-align: left;
}

.service-bullets li {
  font-size: 14px;
  color: #5a6f7a;
  line-height: 1.6;
  padding: 6px 0 6px 24px;
  position: relative;
}

.service-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: 700;
  font-size: 14px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #667eea;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 10px 20px;
  border-radius: 25px;
  background: rgba(102, 126, 234, 0.05);
}

.service-link:hover {
  background: rgba(102, 126, 234, 0.1);
  gap: 15px;
  color: #764ba2;
}

.service-link i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(5px);
  animation: arrow-bounce 0.6s ease-in-out infinite;
}

@keyframes arrow-bounce {
  0%,
  100% {
    transform: translateX(5px);
  }
  50% {
    transform: translateX(10px);
  }
}

.service-link:hover {
  color: #764ba2;
  gap: 12px;
}

.service-link i {
  font-size: 12px;
  transition: transform 0.3s;
}

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

/* ========================================
   Why Choose Section - Premium Design
======================================== */
.why-choose-section {
  background: #fff;
  position: relative;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

.benefit-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 35px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 16px;
  border-left: 5px solid #667eea;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.benefit-item:hover {
  transform: translateX(15px);
  background: #fff;
  box-shadow: 0 10px 35px rgba(102, 126, 234, 0.15);
  border-left-width: 8px;
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  flex-shrink: 0;
  transition: all 0.4s ease;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.benefit-item:hover .benefit-icon {
  transform: rotate(-5deg) scale(1.1);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.benefit-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
  line-height: 1.3;
}

.benefit-content p {
  font-size: 15px;
  color: #7f8c8d;
  line-height: 1.8;
  margin: 0;
}

/* ========================================
   Testimonials — Scrolling Columns
======================================== */
.testimonials-columns-section {
  background: #ffffff !important;
  position: relative;
  overflow: hidden;
}

.testimonials-columns-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  max-width: 540px;
  margin: 0 auto 40px !important;
  text-align: center;
}

.testimonials-badge {
  display: inline-block;
  border: 1px solid #e2e8f0;
  padding: 5px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #06a14b;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.testimonials-columns-title {
  font-size: clamp(1.5rem, 4vw, 2.75rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
  color: #1a202c;
  line-height: 1.15;
  margin: 0;
}

.testimonials-columns-subtitle {
  margin-top: 16px;
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
}

.testimonials-columns-wrapper {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 24px;
  max-height: 740px;
  overflow: hidden !important;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 20%,
    black 80%,
    transparent 100%
  );
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

.testimonials-column {
  flex: 0 0 340px !important;
  max-width: 340px;
  overflow: hidden;
}

.testimonials-column-inner {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px;
  padding-bottom: 24px;
}

@keyframes tcolScroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}

/* Card */
.testimonials-columns-section .tcard {
  padding: 32px !important;
  border-radius: 20px !important;
  border: 1px solid #e8ecf1 !important;
  background: #ffffff !important;
  box-shadow: 0 4px 24px rgba(6, 161, 75, 0.06) !important;
  width: 100%;
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  box-sizing: border-box;
}

.testimonials-columns-section .tcard:hover {
  box-shadow: 0 8px 40px rgba(6, 161, 75, 0.12) !important;
  border-color: #06a14b !important;
}

.testimonials-columns-section .tcard blockquote {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-left: none !important;
  font-size: 15px !important;
  line-height: 1.7;
  color: #334155;
  font-style: normal !important;
  background: none !important;
}

.testimonials-columns-section .tcard-author {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px;
  margin-top: 20px;
}

.testimonials-columns-section .tcard-author img {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  object-fit: cover;
  display: inline-block !important;
}

.testimonials-columns-section .tcard-author strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a202c;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.testimonials-columns-section .tcard-author span {
  display: block;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 500;
}

/* ========================================
   CTA Contact Section - Elegant & Creative
======================================== */
.cta-contact-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Decorative background elements */
.cta-contact-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-contact-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(118, 75, 162, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-title i {
  color: #ffd700;
  animation: pulse 2s ease-in-out infinite;
}

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

.cta-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 35px;
  line-height: 1.7;
}

.cta-quick-contact {
  margin-top: 35px;
}

.cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 22px 35px;
  background: linear-gradient(135deg, #25d366 0%, #1ea952 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 60px;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
  position: relative;
  overflow: hidden;
}

.cta-whatsapp::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.5s;
}

.cta-whatsapp:hover::before {
  left: 100%;
}

.cta-whatsapp:hover {
  background: linear-gradient(135deg, #1ea952 0%, #128c7e 100%);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

.cta-whatsapp i {
  font-size: 36px;
  animation: ring 3s ease-in-out infinite;
}

@keyframes ring {
  0%,
  100% {
    transform: rotate(0deg);
  }
  10%,
  30% {
    transform: rotate(-15deg);
  }
  20%,
  40% {
    transform: rotate(15deg);
  }
  50% {
    transform: rotate(0deg);
  }
}

.cta-whatsapp span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cta-whatsapp strong {
  font-size: 18px;
}

.cta-whatsapp small {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.95;
}

/* Elegant Contact Form */
.contact-form {
  background: #fff;
  padding: 45px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px 20px 0 0;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e8ecf1;
  border-radius: 12px;
  font-size: 15px;
  font-family: "Open Sans", sans-serif;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: #d1d8e0;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.08);
  transform: translateY(-2px);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.btn-block {
  width: 100%;
  padding: 20px;
  font-size: 17px;
  border: none;
  cursor: pointer;
  margin-top: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.btn-primary::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;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(102, 126, 234, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary i {
  margin-right: 8px;
  transition: transform 0.3s;
}

.btn-primary:hover i {
  transform: translateX(5px);
}

.form-privacy {
  text-align: center;
  font-size: 13px;
  color: #7f8c8d;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e8ecf1;
}

.form-privacy i {
  color: #27ae60;
  margin-right: 5px;
}

/* ========================================
   Stats Section - Impactful & Modern
======================================== */
.stats-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.stats-section::after {
  content: "";
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 50px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 40px 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-item:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-size: 56px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  line-height: 1;
}

.stat-label {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

/* ========================================
   Responsive Design - Mobile First
======================================== */
@media (max-width: 992px) {
  .cta-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .testimonials-column:nth-child(3) {
    display: none !important;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 36px;
  }

  .cta-title {
    font-size: 38px;
  }

  section {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 50px;
  }

  .section-title {
    font-size: 32px;
  }

  .section-subtitle {
    font-size: 17px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .testimonials-column:nth-child(2),
  .testimonials-column:nth-child(3) {
    display: none !important;
  }

  .testimonials-column {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 48px;
  }

  .stat-label {
    font-size: 13px;
  }

  .cta-title {
    font-size: 32px;
  }

  .cta-subtitle {
    font-size: 16px;
  }

  .benefit-item {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }

  .service-card {
    padding: 35px 25px;
  }

  .service-icon {
    width: 80px;
    height: 80px;
    font-size: 32px;
  }

  .contact-form {
    padding: 35px 25px;
  }

  .cta-whatsapp {
    padding: 18px 28px;
    font-size: 16px;
  }

  .stats-section {
    padding: 60px 0;
  }

  .stats-grid {
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 28px;
  }

  .cta-title {
    font-size: 28px;
  }

  .service-title {
    font-size: 20px;
  }

  .benefit-content h3 {
    font-size: 20px;
  }

  .stat-number {
    font-size: 42px;
  }
}

/* ========================================
   Utility Classes
======================================== */
.text-center {
  text-align: center;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 16px;
}

/* AOS Animation overrides */
[data-aos] {
  pointer-events: auto;
}

@media screen and (min-width: 768px) {
  [data-aos="fade-up"] {
    transform: translate3d(0, 40px, 0);
  }

  [data-aos="fade-right"] {
    transform: translate3d(-40px, 0, 0);
  }

  [data-aos="zoom-in"] {
    transform: scale(0.8);
  }
}
