:root {
  --accent-color: #ab2834;
  --bg-color: #040404;
  --bg-gradient: linear-gradient(135deg, #1d1d20 0%, #040404 100%);
  --text-color: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
iframe,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-gradient);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

section {
  scroll-margin-top: 120px;
}

h1,
h2,
h3,
h4 {
  font-family: 'Bebas Neue', sans-serif;
  text-align: center;
}

.highlight {
  color: var(--accent-color);
}

header {
  background: rgba(0, 0, 0, 0.8);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

header .header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
}

header .logo {
  display: block;
  width: 73px;
  height: 64px;
  margin-right: 20px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--text-color);
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.menu-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-icon--close {
  display: none;
  font-size: 1.9rem;
  line-height: 1;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: var(--accent-color);
}

.menu-bar {
  width: 24px;
  height: 2px;
  background: currentColor;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-active .menu-icon--open {
  display: none;
}

.menu-toggle.is-active .menu-icon--close {
  display: flex;
}

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

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  main {
    padding: 0 20px;
  }
  header {
    padding: 10px 0;
  }
  header .header-wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  header .logo {
    margin: 0;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .main-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: -20px;
    width: calc(100% + 40px);
    display: none;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 16px;
    padding: 10px 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    z-index: 20;
  }
  .main-nav.is-open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-nav li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .main-nav a {
    display: block;
    padding: 12px 0;
    text-align: center;
  }
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 40px;
  margin: 60px 0;
  padding: 0;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 40px 0;
  }
  .hero > div:first-child {
    order: 2;
  }
  .hero > div:last-child {
    order: 1;
    padding: 0;
  }
  .hero > div {
    padding: 0;
  }
  .hero h1,
  .hero p {
    text-align: center;
  }
  .hero-video {
    width: 100%;
    height: auto;
    max-height: 520px;
    border-radius: 20px;
  }
}
.hero > div:last-child {
  overflow: hidden;
}
.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: left;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-align: left;
}
.hero > div {
  padding: 0 20px;
}
.hero-video {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border: 0;
}

.video-placeholder {
  position: relative;
  border: 0;
  background: #000;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  font: inherit;
  color: inherit;
}

.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.video-placeholder .video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.video-placeholder:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
}

.video-placeholder:hover img {
  transform: scale(1.03);
}

@media (min-width: 769px) {
  .hero-video {
    max-width: 720px;
  }
}
.cta-button {
  display: block;
  background: #28a745;
  color: #fff;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  margin: 20px auto 0;
  font-weight: 700;
  font-size: 1.2rem;
  text-align: center;
  transition: background 0.3s;
  text-transform: uppercase;
}
.cta-button:hover {
  background: #218838;
}

.cta-button.cta-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 14px 36px;
  margin: 30px auto 0;
  min-width: 220px;
}
.task-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.task-list li {
  background: rgba(171, 40, 52, 0.2);
  border: 1px solid rgba(171, 40, 52, 0.4);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
  text-align: center;
}
.section {
  margin: 80px 0;
  padding: 40px 0 60px;
  color: var(--text-color);
}
.section:nth-child(even) {
  background: #121212;
}
.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-color);
}
.section p {
  text-align: center;
}
.section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.columns > div {
  padding: 0 20px;
  text-align: center;
}
.columns > .image-column {
  padding: 0;
}
.image-column {
  overflow: hidden;
}
.image-column img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}
.problems .columns {
  align-items: center;
}

.intro-price {
  font-size: 1.2rem;
  margin: 10px 0;
}

.price-value {
  font-size: 2.2rem;
  color: var(--accent-color);
  font-weight: 700;
}

.price-highlight {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.2rem;
}

.payment-terms {
  background: rgba(171, 40, 52, 0.1);
  border-left: 4px solid var(--accent-color);
  padding: 10px 15px;
  margin: 20px 0;
  border-radius: 8px;
  text-align: center;
  font-size: 1.2rem;
}

.payment-terms .installment-price,
.payment-terms .full-price {
  color: var(--accent-color);
  font-weight: 700;
}

.benefits-list {
  list-style: none;
  padding: 0 24px;
  margin: 20px 0;
  box-sizing: border-box;
}

.benefits-list li {
  background: rgba(171, 40, 52, 0.1);
  border-left: 4px solid var(--accent-color);
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 8px;
  text-align: left;
}

.guarantee {
  margin-top: 20px;
  font-weight: 600;
}
.guarantee-icon {
  display: block;
  margin: 10px auto;
  max-width: 150px;
}
.faq-item {
  border-bottom: 1px solid #333;
  padding: 15px 0;
}
.faq-item h4 {
  margin: 0;
  cursor: pointer;
  color: var(--accent-color);
  font-size: 1.3rem;
}
.faq-item p {
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
}
.faq-item.active p {
  margin-top: 10px;
  opacity: 1;
}
.benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.benefit-card {
  background: rgba(171, 40, 52, 0.2);
  border: 1px solid rgba(171, 40, 52, 0.4);
  border-radius: 12px;
  padding: 20px;
  color: var(--text-color);
  margin: 10px;
  flex: 1 1 260px;
  max-width: 320px;
}
.benefit-card h3 {
  margin: 10px 0 5px;
  font-size: 1.2rem;
}
.benefit-card p {
  font-size: 0.9rem;
}
.benefit-card .icon-placeholder {
  height: 40px;
  margin-bottom: 10px;
}

/* Timeline for the "Estrutura das 3 fases" section */
.timeline {
  position: relative;
  margin: 40px auto;
  padding-left: 40px;
}

@media (min-width: 769px) {
  .timeline {
    max-width: 650px;
  }
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15px;
  width: 4px;
  background: var(--accent-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-title {
  position: relative;
  left: -25px;
  background: var(--accent-color);
  color: #fff;
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 8px;
  border-radius: 0 8px 8px 0;
  font-weight: 700;
  white-space: nowrap;
}

.timeline-item p {
  margin-bottom: 0;
  margin-left: 0;
}
footer {
  color: var(--text-color);
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9rem;
}

.page-end-sentinel {
  width: 100%;
  height: 1px;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@media (max-width: 768px) {
  .columns {
    grid-template-columns: 1fr;
  }
  .section img {
    height: auto;
  }
}

/* Results carousel */
.results-carousel {
  position: relative;
  overflow: hidden;
  max-width: 600px;
  margin: 20px auto 0;
}

.results-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.results-carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #000;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 5px 10px;
  cursor: pointer;
}

.results-carousel-prev {
  left: 10px;
}

.results-carousel-next {
  right: 10px;
}

.results-carousel-indicators {
  margin: 16px auto 0;
  overflow: hidden;
  max-width: 220px;
}

.results-carousel-indicators-track {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  transition: transform 0.3s ease;
  will-change: transform;
}

.results-carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.results-carousel-indicators button.active {
  background: var(--accent-color);
}

/* Decision paths section */
.decision-intro {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}

.decision-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 20px 0;
}

.decision {
  flex: 1 1 250px;
  background: rgba(171, 40, 52, 0.2);
  border: 1px solid rgba(171, 40, 52, 0.4);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.highlight-decision {
  background: var(--accent-color);
  color: #fff;
}

.highlight-decision p {
  font-size: 1.25rem;
  font-weight: 700;
}

.highlight-decision .cta-button {
  background: #28a745;
  color: #fff;
}

.cta-decision {
  display: block;
  margin: 20px auto 0;
  text-transform: uppercase;
}

/* Final call to action spacing */
.final-cta {
  padding: 40px 20px;
}

@media (min-width: 769px) {
  .highlight-decision {
    flex-basis: 100%;
  }
}
.lead-form-section h2 {
  text-align: center;
  margin-bottom: 20px;
}

.lead-form {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 0 24px;
  box-sizing: border-box;
}

.lead-form label {
  display: block;
  margin-bottom: 5px;
  text-align: left;
}

.lead-form input {
  padding: 10px 15px;
  border: 1px solid rgba(171, 40, 52, 0.4);
  background: rgba(171, 40, 52, 0.2);
  border-radius: 8px;
  color: var(--text-color);
}

.lead-form .lead-submit-button {
  width: 100%;
  border: none;
}

.lead-form .lead-submit-button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.lead-form .lead-submit-button.loading {
  position: relative;
  color: transparent;
}

.lead-form .lead-submit-button.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.error-message {
  display: none;
  font-size: 0.8rem;
  color: #ff7272;
}

.error-message.active {
  display: block;
}

.lead-form select {
  padding: 10px 15px;
  border: 1px solid rgba(171, 40, 52, 0.4);
  background: rgba(171, 40, 52, 0.2);
  border-radius: 8px;
  color: var(--text-color);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.main-nav a:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

.indicator-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--accent-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.indicator-link:hover {
  color: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
  justify-content: center;
  gap: 28px;
  margin: 40px 0;
}

.pricing-card {
  background: radial-gradient(circle at top, rgba(171, 40, 52, 0.3), rgba(4, 4, 4, 0.95));
  border: 1px solid rgba(171, 40, 52, 0.5);
  border-radius: 20px;
  padding: 42px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.highlight-card {
  border-color: var(--accent-color);
  box-shadow: 0 24px 60px rgba(171, 40, 52, 0.35);
  transform: translateY(-8px);
}

.badge {
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.badge-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.pricing-card h3 {
  margin: 0;
  font-size: 1.75rem;
}

.pricing-value {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0;
}

.pricing-detail {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.85);
}

.pricing-detail.small-print {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-color);
  margin-bottom: 0;
  margin-top: -4px;
}

.plan-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.pricing-card .cta-button {
  width: 100%;
}

.pricing-footer {
  max-width: 600px;
  margin: 0 auto 20px;
  text-align: center;
}

.pricing-actions {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 600px) {
  main,
  .container {
    padding: 0 16px;
  }
  header .logo {
    width: 60px;
    height: auto;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.65rem;
  }
  h3 {
    font-size: 1.2rem;
  }
  .section {
    margin: 40px 0;
    padding: 30px 0 40px;
  }
  .hero p {
    font-size: 1rem;
  }
  .cta-button {
    width: 100%;
    padding: 14px 20px;
    margin: 15px 0 0;
  }
  .cta-button.cta-contact {
    width: auto;
    padding: 14px 28px;
  }
  .benefits {
    gap: 12px;
  }
  .benefit-card {
    margin: 10px 0;
    padding: 16px;
  }
  .benefits-list li {
    padding: 12px;
  }
  .benefits-list {
    padding: 0 16px;
  }
  .payment-terms {
    font-size: 1rem;
  }
  .results-carousel {
    margin-top: 10px;
  }
  .results-carousel-track img {
    height: 240px;
  }
  .carousel-control {
    font-size: 1.4rem;
    padding: 4px 8px;
  }
  .decision {
    flex: 1 1 100%;
    padding: 16px;
  }
  .timeline {
    padding-left: 24px;
    margin: 30px 0;
  }
  .timeline::before {
    left: 6px;
  }
  .timeline-title {
    left: -18px;
    font-size: 1rem;
    padding: 4px 10px;
  }
  .pricing-grid {
    gap: 15px;
  }
  .pricing-card {
    margin: 10px 0;
  }
  .pricing-card {
    padding: 28px 20px;
  }
  .pricing-value {
    font-size: 1.6rem;
  }
  .pricing-detail {
    font-size: 0.95rem;
  }
  .lead-form {
    width: 100%;
    gap: 12px;
    padding: 0 16px;
  }
  .lead-form input,
  .lead-form select {
    font-size: 1rem;
  }
  .lead-form label {
    font-size: 0.95rem;
  }
  .faq-item {
    padding: 12px 0;
  }
  .faq-item h4 {
    font-size: 1.1rem;
  }
  footer {
    font-size: 0.8rem;
  }
}
