/**
 * Theme name: TS Digital Solutions
 * Author: TS Digital Solutions - Agência de Soluções Digitais
 */
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #560bad;
  --primary-dark: #4a0996;
  --primary-light: #7230c2;
  --footer-text-color: #605d5d;
  --light: #faf5ea;
  --dark: #282120;
  --gray: #64748b;
  --gray-light: #e2e8f0;
  --white: #ffffff;
  --gradient: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 2rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Figtree', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 2rem;
}
h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray);
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

.highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  /* -webkit-text-fill-color: transparent; */
  background-clip: text;
  font-weight: 800;
}

/* Fallback para navegadores que não suportam background-clip */
@supports not (-webkit-background-clip: text) {
  .highlight {
    color: var(--primary);
    background: none;
  }
}

/* Enhanced Buttons - Inspired by Fame.so */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

/* Header CTA Button */
.btn-outline-header,
.mobile-nav .btn {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 25px;

  @media screen and (max-width: 768px) {
    font-size: 1.8rem;
    padding: 0.7rem 2.2rem;
    border-radius: 2.4rem;
  }
}

.btn-outline-header:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Hero Primary Button - Eye-catching */
.btn-primary-hero {
  background: var(--gradient);
  color: var(--white);
  padding: 18px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(86, 11, 173, 0.3);
  position: relative;
}

.btn-primary-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(86, 11, 173, 0.4);
}

.btn-primary-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 50%
  );
  border-radius: 50px;
  opacity: 0;
  transition: var(--transition);
}

.btn-primary-hero:hover::before {
  opacity: 1;
}

/* Hero Outline Button - Fame.so inspired */
.btn-outline-hero {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 16px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-outline-hero:hover {
  background: rgba(86, 11, 173, 0.05);
  transform: translateY(-2px);
  border-color: var(--primary-dark);
}

/* Section Outline Button */
.btn-outline-section {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 16px 32px;
  font-size: 1.1rem;
  border-radius: var(--border-radius);
}

.btn-outline-section:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Final CTA Button */
.btn-primary-cta {
  background: var(--gradient);
  color: var(--white);
  padding: 20px 40px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(86, 11, 173, 0.3);
}

.btn-primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(86, 11, 173, 0.4);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(250, 245, 234, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(86, 11, 173, 0.1);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.5s ease;
  .logo {
    max-width: 120px;
    img {
      width: 100%;
    }
  }
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
}

.logo-accent {
  color: var(--primary);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  transition: var(--transition);
  border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(250, 245, 234, 0.3);
  backdrop-filter: blur(15px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  transform: translateX(-100%);
  transition: var(--transition);
  text-align: center;
  padding: 1rem;
  overflow-y: scroll;
  z-index: 100;
}

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

.mobile-nav .nav-link {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
}

/* Hero Section - REDESIGNED - Compact & Focused */
.hero {
  padding: 140px 0 80px;
  background: var(--light);
  text-align: center;
  position: relative;
}
.hero .container {
  display: flex;
  gap: 4rem;
  align-items: center;

  @media screen and (max-width: 768px) {
    flex-direction: column;
  }
  .hero-content {
    flex: 1;
  }
  .hero-image {
    max-width: 40%;
    @media screen and (max-width: 768px) {
      max-width: 100%;
      display: none;
    }
    img {
      width: 100%;
    }
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(86, 11, 173, 0.03) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-content {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Hero Icon */
.hero-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.1) 0%,
    rgba(239, 68, 68, 0.05) 100%
  );
  border: 2px solid rgba(239, 68, 68, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: #dc2626;
  font-size: 2rem;
  display: none;
}

/* Hero Title - Compact */
.hero-title {
  font-size: 70px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--dark);
  .highlight {
    color: var(--primary);
  }
}

/* Hero Subtitle */
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Stats - Inline */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  font-size: 0.9rem;
  color: var(--gray);
}

.stat-item {
  font-weight: 500;
}

.stat-divider {
  color: var(--primary);
  font-weight: 700;
}

/* Hero CTA */
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* Hero Trust Elements */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: 0.9rem;
  color: #10b981;
  font-weight: 500;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Problem Section */
.problem,
.about,
.form-section {
  padding: 100px 0;
  background: var(--white);
}
.problem {
  padding-top: 0;
}
.form-section {
  padding-bottom: 60px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
  .highlight {
    color: var(--primary);
  }
}

.section-header h2 {
  margin-bottom: 1rem;
  color: var(--dark);
  font-weight: 800;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.problem-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 4px solid var(--primary);
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.problem-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.problem-card h3 {
  color: var(--dark);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.problem-cta {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.highlight-card {
  grid-column: 2 / 4;
}

.problem-highlight {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: var(--dark);
}

/* Solution Section */
.solution {
  padding: 100px 0;
  background: var(--light);
}

.solution-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.solution-main {
  text-align: center;
  margin-bottom: 4rem;
}

.blog-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray);
  img {
    /* width: 100%; */
    max-width: 100%;
    /* height: 100%; */
    object-fit: cover;
    display: block;
    margin: 1.5rem auto 2rem auto;
    aspect-ratio: 16 / 9;
    max-height: 400px;
    border-radius: 2rem;
    box-shadow: 7px 7px 0 var(--primary);
    border: solid 1px var(--light);
  }
  h2 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    color: var(--primary);
  }
  h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
  }

  a:not(.btn) {
    color: var(--primary);
    font-weight: 600;
  }
}

.solution-main h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary);
}

.imagine-list {
  display: grid;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
  list-style: none;
}

.imagine-item {
  /* display: flex; */
  /* gap: 1rem; */
  font-size: 1.1rem;
  color: var(--dark);
}

.imagine-item i {
  color: #10b981;
  font-size: 1.2rem;
  /* margin-right: 1rem; */
}

.solution-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: left;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.service-icon {
  font-size: 2rem;
  color: var(--primary);
}

.service-card h4 {
  color: var(--dark);
  margin-bottom: 0;
}

.service-card p {
  color: var(--gray);
  font-weight: 400;
}

.service-features {
  list-style: none;
  margin-top: 1rem;
}

.service-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray);
  font-weight: 400;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

.solution-cta {
  margin-top: 4rem;
}

/* How It Works */
.how-it-works {
  padding: 100px 0;
  background: var(--white);
}

.process-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h4 {
  color: var(--dark);
}

.step-content p {
  color: var(--gray);
}

.step-duration {
  background: var(--primary-light);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 0.5rem;
}

.process-result {
  text-align: center;
  margin-top: 3rem;
}

.result-box {
  background: var(--gradient);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 600px;
  margin: 0 auto;
}

.result-box h4,
.result-box p {
  color: var(--white);
}

/* Investment */
.investment {
  padding: 100px 0;
  background: var(--light);
}

.investment-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.investment-header h2 {
  color: var(--dark);
}

.investment-comparison {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
}

.comparison-item {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  flex: 1;
  max-width: 300px;
}

.comparison-item.highlight {
  border: 2px solid var(--primary);
  transform: scale(1.05);
  font-weight: 400;
}

.comparison-label {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 1rem;
  font-weight: 400;
}

.comparison-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.comparison-note {
  font-size: 0.9rem;
  color: var(--gray);
}

.comparison-vs {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);

  @media screen and (max-width: 768px) {
    display: none;
  }
}

.investment-guarantee {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-top: 3rem;
}

.investment-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.investment-plans .plan-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: left;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Destaque no plano Premium */
.investment-plans .plan-card.highlight {
  border: 2px solid var(--primary);
  transform: scale(1.03);
  font-weight: 400;
}

/* Hover para todos os cards */
.investment-plans .plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Título do plano */
.investment-plans .plan-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

/* Descrição breve */
.investment-plans .plan-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  color: var(--gray);
}

/* Preço do plano */
.investment-plans .plan-card .plan-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Nota de parcelamento */
.investment-plans .plan-card .plan-note {
  font-size: 0.85rem;
  color: var(--gray);
}

/* Botão de ação interno opcional */
.investment-plans .plan-card .plan-cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}
.investment-plans .plan-card .plan-cta:hover {
  background: var(--primary-dark);
}

/* Responsivo para telas menores */
@media (max-width: 768px) {
  .investment-plans {
    grid-template-columns: 1fr;
  }
}

.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #10b981;
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Final CTA */
.final-cta {
  padding: 100px 0;
  padding-bottom: 60px;
  background: var(--dark);
  color: var(--white);
  text-align: center;

  &.e-book {
    background-color: var(--primary);
  }
}

.cta-urgency {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  margin-bottom: 2rem;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.8rem;
  font-weight: 800;
}

.cta-content p {
  color: #d1d5db;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.cta-guarantee {
  margin-top: 2rem;
  color: #10b981;
  font-weight: 500;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 0 0 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* margin-bottom: 2rem; */
  border-top: 1px solid var(--footer-text-color);
  padding-top: 2rem;
}

.footer-brand p {
  color: var(--footer-text-color);
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.footer-brand img {
  max-width: 120px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--footer-text-color);
  font-size: 0.875rem;
}

.footer-bottom {
  /* border-top: 1px solid var(--footer-text-color); */
  padding-top: 2rem;
  text-align: center;
  /* background-color: #fff; */
}

.footer-bottom p {
  color: var(--footer-text-color);
  /* font-size: 0.9rem; */
  font-size: 0.875rem;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .header {
    /* position: relative; */
  }

  /* Header Mobile */
  .header .container {
    justify-content: space-between;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Hero Mobile */
  .hero {
    padding: 120px 0 60px;
  }

  .hero-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .hero-title {
    font-size: 3rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.8rem;
  }

  .stat-divider {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
    gap: 1rem;
    /* align-items: center; */
    a {
      width: 100%;
      display: block;
      text-align: center;
    }
  }

  .hero-trust {
    flex-direction: column;
    gap: 1rem;
    font-size: 0.8rem;
  }

  /* Buttons Mobile */
  .btn-primary-hero {
    padding: 16px 24px;
    font-size: 1rem;
  }

  .btn-outline-hero {
    padding: 14px 20px;
    font-size: 0.9rem;
  }

  .btn-primary-cta {
    padding: 18px 28px;
    font-size: 1.1rem;
  }

  /* Problem Grid Mobile */
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .problem-card {
    padding: 1.5rem;
  }

  .highlight-card {
    grid-column: auto;
  }

  /* Solution Mobile */
  .solution-services {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .imagine-item {
    font-size: 1rem;
  }

  /* Process Mobile */
  .process-step {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    margin: 0 auto;
  }

  .step-content {
    text-align: center;
  }

  /* Investment Mobile */
  .investment-comparison {
    flex-direction: column;
    gap: 1rem;
  }

  .comparison-item {
    max-width: none;
  }

  .comparison-item.highlight {
    transform: none;
    order: -1;
  }

  .comparison-vs {
    order: 1;
  }

  /* Footer Mobile */
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  /* Typography Mobile */
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  h3 {
    font-size: 1.4rem;
  }
  h4 {
    font-size: 1.2rem;
  }

  /* Sections padding mobile */
  .problem,
  .solution,
  .how-it-works,
  .investment,
  .final-cta,
  .form-section {
    padding: 60px 0;
  }
  .problem {
    /* padding-bottom: 1px; */
    padding-top: 0;
  }
  .form-section {
    padding-bottom: 2rem;
  }
}

/* Extra small mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn-primary-hero {
    padding: 14px 20px;
    font-size: 1.2rem;
    text-align: center;
  }

  .btn-outline-hero {
    padding: 14px 20px;
    font-size: 1.2rem;
    text-align: center;
  }
}

.news-btn {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.news-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 2rem;
  @media (max-width: 768px) {
    grid-template-columns: repeat(1, minmax(250px, 1fr));
  }
  li {
    min-height: 250px;
    aspect-ratio: 9/12;
    /* border-radius: 3rem; */

    a {
      height: 100%;
      display: block;
      padding: 1rem;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      justify-content: flex-end;
      text-align: right;
      transition: var(--transition);
      border-radius: 2rem;
      overflow: hidden;

      img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
        filter: grayscale(0.5);
      }
      .news-title {
        position: relative;
        z-index: 1;
        display: inline-block;
        border-top-right-radius: 1rem;
        border-bottom-right-radius: 1rem;
        margin-bottom: 1rem;
        font-size: 1.5rem;
        &::after {
          content: '';
          position: absolute;
          top: 0;
          right: 0;
          width: 10%;
          height: 100%;
          background: var(--primary);
          /* overflow: hidden; */
          border-top-right-radius: 1rem;
          border-bottom-right-radius: 1rem;

          z-index: -1;
        }

        span {
          display: inline;
          color: var(--light);
          background: var(--primary);
          padding: 0.35rem 0.8rem;
          border-radius: 1rem;
          box-decoration-break: clone;
          -webkit-box-decoration-break: clone;
          white-space: normal;
          /* line-height: 1.4; */
          font-weight: 300;
        }
      }

      &:hover {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-5px);
        transition: var(--transition);
        img {
          filter: grayscale(0);
        }
      }
    }
  }
}

.ebook-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;

  @media screen and (max-width: 768px) {
    grid-template-columns: 1fr;
  }
  .benefits-list {
    /* margin-top: 1rem; */
  }
  .col {
    flex: 1;
  }
  .title {
    text-align: left;
  }
  .text {
    text-align: left;
    ul {
      gap: 1rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      li {
        .fas {
          color: var(--primary);
          margin-right: 1rem;
          font-size: 1.5rem;
        }
      }
    }
  }
  .ebook-mockup {
    text-align: center;
    img {
      max-width: 60%;
      height: auto;
      border-radius: 1rem;
      transform: perspective(800px) rotateY(25deg) scale(0.9) rotateX(10deg);
      /* filter: blur(2px); */
      opacity: 0.9;
      transition: 0.6s ease all;
      box-shadow: 24px 16px 64px 0 rgba(0, 0, 0, 0.08);
      transition: var(--transition);
      &:hover {
        transform: perspective(800px) rotateY(-15deg) translateY(-50px)
          rotateX(10deg) scale(1);
        opacity: 1;
      }
      @media screen and (max-width: 768px) {
        transform: none;
        max-width: 100%;
        opacity: 1;
        &:hover {
          transform: none;
        }
      }
    }
  }
}

[class*='page-template-ebook'] {
  .final-cta-content {
    width: 100%;
    max-width: var(--site-width);
    margin: 0 auto;
    .title {
      color: var(--white);
      margin-bottom: 1rem;
      font-size: 1.8rem;
      font-weight: 800;
    }
    p {
      color: var(--light);
    }
    /* padding: 2rem 0; */
  }
}

.form-ebook-google {
  width: 100%;
  form {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;

    @media screen and (max-width: 768px) {
      flex-direction: column;
      gap: 1rem;
    }

    .wpcf7-spinner {
      display: none;
    }

    .wpcf7-not-valid-tip {
      font-size: 12px;
      margin-top: 0.5rem;
      color: var(--light);
    }

    .wpcf7-response-output {
      margin: 0;
      padding: 0;
      font-size: 1rem;
      font-weight: 600;
      border-color: var(--light);
      /* border-width: 1px; */
      /* flex: 1; */
      width: 100%;
      border: none;
      color: #ff977d;
    }

    p {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      @media screen and (max-width: 768px) {
        width: 100%;
      }
      &:nth-child(5) {
        justify-self: flex-end;
        align-self: flex-end;
      }
    }

    &.invalid p {
      justify-content: center;
      &:nth-child(5) {
        /* justify-self: flex-end; */
        align-self: center;
      }
    }

    label {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      gap: 0.5rem;
      font-size: 1rem;
      font-weight: 300;
      color: var(--light);
      font-weight: 600;
      text-align: left;
    }
    input {
      width: 100%;
      padding: 1rem;
      border: 1px solid var(--light);
      /* border: 1px solid transp; */
      border-radius: 0.5rem;
      outline: none;
      font-size: 1rem;
      font-weight: 300;
      color: var(--primary);
      &:focus {
        border-color: var(--light);
      }
      &[type='submit'] {
        background-color: var(--primary);
        color: var(--light);
        cursor: pointer;
        transition: var(--transition);
        border-radius: 3rem;
        font-weight: 600;
        font-family: 'Poppins', sans-serif;
        border: solid 1px var(--light);
        justify-self: flex-end;
        align-self: flex-end;
        &:hover {
          background-color: var(--light);
          color: var(--primary);
        }
      }
    }
  }
}

/* WhatsApp Float Button */
.whatsapp-float,
.insta-float,
.fb-float {
  position: fixed;
  right: 30px;
  width: 60px;
  height: 60px;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.whatsapp-float {
  bottom: 30px;
  background-color: #25d366;
  animation: pulse 2s infinite;
}

.insta-float {
  background-color: #e4405f;
  bottom: 120px;
  animation: pulse-instagram 3s infinite;
}

.fb-float {
  background-color: #3b5998;
  bottom: 205px;
  animation: pulse-facebook 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 5px 15px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes pulse-instagram {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(228, 64, 95, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(228, 64, 95, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(228, 64, 95, 0);
  }
}

@keyframes pulse-facebook {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(59, 89, 152, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(59, 89, 152, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(59, 89, 152, 0);
  }
}

/* Container geral */
.tsd-contact-form {
  max-width: 480px;
  margin: 2rem 0 3rem 0;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-family: sans-serif;

  * {
    font-family: 'Figtree', sans-serif;
  }

  p {
    margin: 0;
  }

  @media screen and (max-width: 768px) {
    max-width: 100%;
    margin-top: 2rem;
  }
}

.form-section {
  background: var(--white);
}

.home .tsd-contact-form {
  margin: 1rem auto 2rem auto;
  max-width: 600px;
}

/* Campos */
.tsd-contact-form input[type='text'],
.tsd-contact-form input[type='email'],
.tsd-contact-form textarea {
  width: 100%;
  padding: 1rem;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  border: 1px solid #e3e3e3;
  border-radius: 0.5rem;
  font-size: 1rem;
  box-sizing: border-box;

  &:focus {
    outline: none;
    border-color: var(--primary);
  }
}

/* Botão */
/* .tsd-contact-form button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #0073aa;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: 1rem;
  cursor: pointer;
}
.tsd-contact-form button:hover {
  background-color: #005177;
} */

/* Mensagens de retorno */
.tsd-success {
  color: #155724;
  background: #d4edda;
  padding: 0.75rem;
  border: 1px solid #c3e6cb;
  border-radius: 0.5rem;
  margin-bottom: 0;
}
.tsd-error {
  color: #721c24;
  background: #f8d7da;
  padding: 0.75rem;
  border: 1px solid #f5c6cb;
  border-radius: 3px;
  margin-bottom: 1rem;
}
