/*
========================================
1. RESET E VARIÁVEIS GLOBAIS
========================================
*/
:root {
  --primary-color: #3b8b9b;
  --secondary-color: #2d3233;
  --text-color: #333;
  --light-bg: #f1f1f1;
  --white: #fff;
  --border-radius: 8px;

  /* Tipografia */
  --font-family: "poppins", sans-serif;
  --heading-font-size: 2.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  line-height: 1.6;
}

b {
  color: var(--primary-color);
}

.container {
  margin: 0 auto;
  padding: 0 20px;
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.l-initial {
  line-height: 1.4;
}

/* Links e Botões */
a {
  text-decoration: none;
  color: var(--primary-color);
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: bold;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
  border: 2px solid var(--secondary-color);
}

.btn-outline {
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover {
  filter: brightness(0.9);
  transition: all 0.3s ease;
}

.btn-primary:active,
.btn-secondary:active,
.btn-primary:first-child:active,
.btn-secondary:first-child:active {
  filter: brightness(0.8) !important;
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--white) !important;
}

.btn-secondary {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--white) !important;
}

.btn:focus {
  box-shadow: 0 0 0 0.25rem rgba(59, 139, 155, 0.25) !important;
}

/*
========================================
2. ESTILOS DO CABEÇALHO (HEADER/NAVBAR)
========================================
*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  border-bottom: 1px solid #eee;
  padding: 15px 0;
  z-index: 1000;
}

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

.logo-image {
  max-height: 40px;
  width: auto;
  display: block;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  margin-bottom: 0;
  gap: 25px;
}

.nav-menu a {
  position: relative;
  color: var(--text-color);
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 4px;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-menu a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  border-radius: 3px;
}

.mobile-cta {
  display: none;
}

/*
========================================
3. SEÇÃO PRINCIPAL (HERO)
========================================
*/
.hero {
  padding: 100px 0;
  padding-top: 140px;
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: var(--heading-font-size);
  margin-bottom: 20px;
}

.hero-content p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  transform: scale(1.3);
  transform-origin: center;
}

/*
========================================
4. SEÇÃO DE FUNCIONALIDADES (FEATURES)
========================================
*/
.features {
  position: relative;
  padding: 2rem 0 1rem;
}

.features-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 22rem;
  background-color: var(--primary-color);
  z-index: 1;
  border-radius: 3rem;
}

.features-container {
  position: relative;
  z-index: 2;
}

.features h2 {
  color: var(--white);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.features h3 {
  padding: 1.5rem;
}

.feature-item p {
  padding: 1.5rem 1.2rem;
  font-size: 0.9rem;
}

.features-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.feature-item {
  background-color: #f1f1f1;
  border-radius: 14px;
  max-width: 100%;
  width: 19rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
}

.feature-icon-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
}

.feature-icon-wrapper img {
  width: 100%;
  object-fit: contain;
}

.feature-item h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 0;
}

.feature-item p {
  color: #666;
  text-align: justify;
  margin-bottom: 0;
}

/*
========================================
5. SEÇÃO DE PERSONALIZAÇÃO
========================================
*/
.personalization {
  padding: 50px 0;
}

.personalization-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
}

.personalization-image {
  width: 32rem;
  max-width: max-content;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: all 0.3s ease;
}

.personalization-image img {
  width: calc(min(100%, 40rem));
  height: auto;
}

.personalization-content {
  flex: 1;
}

.personalization-content h2 {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.personalization-content p {
  margin-bottom: 15px;
  color: #555;
}

.personalization-content .btn {
  margin-top: 20px;
}

/*
========================================
6. SEÇÃO PASSO A PASSO (STEPS)
========================================
*/
.steps {
  padding: 80px 0;
  text-align: center;
  border-style: solid;
  border-width: 0;
  border-top-width: 4px;
  border-bottom-width: 4px;
  border-color: var(--primary-color);
  background-color: var(--light-bg);
}

.steps h2 {
  margin-bottom: 40px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.step-item {
  padding: 20px;
  background-color: #f1f1f1;
  border-radius: var(--border-radius);
  font-weight: bold;
  text-transform: uppercase;
}

/*
========================================
STEPS - TIMELINE (Bootstrap-based)
========================================
*/

.main-timeline-2 {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 0;
}

.main-timeline-2::after {
  content: "";
  position: absolute;
  width: 2px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

.timeline-2 {
  position: relative;
  width: 50%;
  display: flex;
  align-items: center;
  z-index: 2;
}

.left-2 {
  justify-content: flex-end;
  padding-right: 3rem;
  text-align: right;
}

.right-2 {
  left: 50%;
  padding-left: 3rem;
}

.timeline-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 3;
}

.left-2 .timeline-icon {
  right: -17px;
}

.right-2 .timeline-icon {
  left: -17px;
}

.time-card {
  width: 320px;
  padding: 1.25rem 1.5rem;
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.left-2 .time-card h5,
.left-2 .time-card p {
  text-align: right;
}

.right-2 .time-card h5,
.right-2 .time-card p {
  text-align: left;
}

.time-card h5 {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.time-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

/*
========================================
7. SEÇÃO DE PLANOS (PRICING)
========================================
*/
.pricing {
  padding: 80px 0;
  background: #f8f9fb;
  text-align: center;
  flex-direction: column;
  gap: 4px;
}

.old-price {
  font-size: 0.9rem;
  text-decoration: line-through;
  opacity: 0.5;
  display: none;
}

.discount {
  font-size: 0.75rem;
  color: #3ddc97;
  font-weight: 600;
  display: none;
}

.current-price {
  font-size: 2.2rem;
  font-weight: 700;
}

.pricing-title {
  color: #2b7a88;
  margin-bottom: 25px;
  font-weight: 700;
}

.plan-options {
  display: inline-flex;
  background: #e6e6e6;
  border-radius: 30px;
  padding: 4px;
  margin-bottom: 50px;
}

.plan-options span {
  padding: 8px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.plan-options span.clicked {
  animation: clickPulse 0.3s ease;
}

@keyframes clickPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

.pricing-card.animate {
  animation: fadeSlide 0.5s ease;
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  50% {
    opacity: 0.7;
    transform: translateY(-5px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.plan-options .active {
  background: #2b7a88;
  color: var(--white);
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 35px;
  flex-wrap: wrap;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background: #2f3437;
  color: var(--white);
  width: 360px;
  padding: 40px 30px;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card.advanced {
  position: relative;
  background-color: #2f3437;
  color: var(--white);
  border-radius: 14px;

  box-shadow:
    -4px 4px 0 rgba(45, 170, 186, 0.9),
    -8px 8px 0 rgba(45, 170, 186, 0.6),
    -12px 12px 0 rgba(45, 170, 186, 0.35),
    -16px 16px 0 rgba(45, 170, 186, 0.18);
}

.pricing-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffb703;
  color: #000;
  padding: 4px 12px;
  font-size: 0.7rem;
  border-radius: 20px;
  font-weight: 700;
}

.pricing-card h3 {
  margin-bottom: 25px;
}

.features {
  list-style: none;
  text-align: left;
  padding: 0;
  margin-bottom: 35px;
  flex-grow: 1;
}

.features li {
  padding: 6px 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.features li::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.price .current-price {
  font-size: 2.2rem;
  font-weight: 700;
  opacity: 1;
}

.price .old-price {
  font-size: 0.9rem;
  text-decoration: line-through;
  opacity: 0.5;
}

.price .period {
  font-size: 0.75rem;
  opacity: 0.7;
}

.price .discount {
  font-size: 0.75rem;
  color: #3ddc97;
  font-weight: 600;
}

.price span {
  display: block;
  font-size: 0.75rem;
  opacity: 0.7;
}

/*
========================================
8. SEÇÃO VÍDEO (DEMO)
========================================
*/
.demo-video {
  padding: 80px 0;
  text-align: center;
}

.video-container h2 {
  margin-bottom: 15px;
}

.video-placeholder {
  width: 100%;
  max-width: 800px;
  height: 450px;
  background-color: #333;
  margin: 40px auto 0;
  border-radius: var(--border-radius);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-size: 1.5rem;
}

/*
========================================
9. SEÇÃO DÚVIDAS FREQUENTES (FAQ)
========================================
*/
.faq {
  background-color: var(--secondary-color);
  padding: 80px 0;
}

.faq h2 {
  color: var(--white);
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.faq-accordion {
  max-width: 720px;
  margin: 0 auto;
}

.faq-accordion .accordion-item {
  background: transparent;
  border: none;
  margin-bottom: 12px;
}

.faq-accordion .accordion-button {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 500;
}

.faq-accordion .accordion-button::after {
  filter: invert(1);
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.faq-accordion .accordion-body {
  color: #d0d0d0;
  font-size: 0.85rem;
  padding: 15px 18px;
}

.faq-accordion .accordion-collapse {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-top: none;
  border-radius: 0 0 6px 6px;
}

/*
========================================
10. RODAPÉ (FOOTER)
========================================
*/
.footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 25px 0;
}

.footer-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.footer-left img {
  max-height: 36px;
}

.footer-center {
  text-align: center;
}

.footer-center p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.85;
}

.footer-right {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.footer-right a {
  color: var(--white);
  font-size: 1.3rem;
  transition: opacity 0.2s ease;
}

.footer-right a:hover {
  opacity: 0.7;
}

/*
========================================
11. RESPONSIVIDADE (MEDIA QUERIES)
========================================
*/

/* HEADER */

@media (max-width: 992px) {
  .menu-toggle {
    display: flex;
  }

  .desktop-cta {
    display: none;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid #eee;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-menu ul {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  .nav-menu.active {
    max-height: 400px;
  }

  .mobile-cta {
    display: block;
  }
}

/* HERO */

@media (max-width: 992px) {
  .hero {
    padding: 80px 0;
    padding-top: 120px;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-content a.btn {
    margin-top: 10px;
  }

  .hero-image {
    transform: scale(1);
    max-width: 90%;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-image {
    max-width: 100%;
  }
}

/* FUNCIONALIDADES (FEATURES) */

@media (max-width: 992px) {
  .features {
    padding: 3rem 0 2rem;
  }

  .features-bg {
    height: 26rem;
    border-radius: 2rem;
  }

  .features h2 {
    font-size: 1.7rem;
    margin-bottom: 2.5rem;
  }

  .features-grid {
    gap: 1.5rem;
  }

  .feature-item {
    width: 100%;
    max-width: 22rem;
  }
}

@media (max-width: 576px) {
  .features-bg {
    height: 30rem;
    border-radius: 1.5rem;
  }

  .features h2 {
    font-size: 1.4rem;
    padding: 0 1rem;
  }

  .feature-item h3 {
    padding: 1.2rem;
    font-size: 0.95rem;
  }

  .feature-item p {
    font-size: 0.85rem;
    padding: 1.2rem;
  }
}

/* SEÇÃO DE PERSONALIZAÇÃO */

@media (max-width: 992px) {
  .personalization {
    padding: 60px 0;
  }

  .personalization-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .personalization-image {
    width: 100%;
    height: auto;
  }

  .personalization-image img {
    max-width: 22rem;
  }

  .personalization-content h2 {
    font-size: 1.9rem;
  }

  .personalization-content p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .personalization-content h2 {
    font-size: 1.6rem;
  }

  .personalization-content p {
    font-size: 0.95rem;
  }

  .personalization-image img {
    max-width: 18rem;
  }
}

/* STEPS E TIMELINE */

@media (max-width: 992px) {
  .main-timeline-2::after {
    left: 20px;
    transform: none;
  }

  .timeline-2 {
    width: 100%;
    padding-left: 3.5rem;
    padding-right: 1rem;
    justify-content: flex-start;
  }

  .left-2,
  .right-2 {
    left: 0;
    padding: 0;
    text-align: left;
  }

  .timeline-icon {
    left: 3px;
    right: auto;
    top: 1.5rem;
    transform: none;
  }

  .time-card {
    width: 100%;
    max-width: 100%;
  }

  .left-2 .time-card h5,
  .left-2 .time-card p,
  .right-2 .time-card h5,
  .right-2 .time-card p {
    text-align: left;
  }
}

@media (max-width: 576px) {
  .steps {
    padding: 60px 0;
  }

  .steps h2 {
    font-size: 1.6rem;
    padding: 0 1rem;
  }

  .timeline-icon {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .time-card {
    padding: 1rem 1.25rem;
  }

  .time-card h5 {
    font-size: 1rem;
  }

  .time-card p {
    font-size: 0.9rem;
  }

  .btn-lg {
    width: 100%;
    padding: 0.75rem;
  }
}

@media (max-width: 768px) {
  .timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .timeline-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .timeline-icon {
    position: static;
    margin-bottom: 12px;
  }

  .timeline-content {
    padding: 0;
  }

  .timeline .btn,
  .timeline-content .btn {
    width: auto;
    padding: 10px 18px;
    font-size: 0.9rem;
    margin-top: 12px;
  }
}

/* SEÇÃO DE PLANOS (PRICING) */

@media (max-width: 992px) {
  .pricing {
    padding: 60px 0;
  }

  .pricing-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .plan-options {
    margin-bottom: 35px;
    padding: 4px;
  }

  .plan-options span {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .pricing-cards {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .pricing-card {
    width: 100%;
    max-width: 420px;
    padding: 35px 25px;
  }

  .pricing-card.advanced {
    box-shadow:
      -3px 3px 0 rgba(45, 170, 186, 0.9),
      -6px 6px 0 rgba(45, 170, 186, 0.5);
  }

  .features li {
    font-size: 0.85rem;
  }

  .price .current-price {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .pricing-title {
    font-size: 1.5rem;
    padding: 0 1rem;
  }

  .plan-options {
    width: 100%;
    justify-content: space-between;
  }

  .plan-options span {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-size: 0.8rem;
  }

  .pricing-card {
    padding: 30px 20px;
  }

  .pricing-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  .features {
    margin-bottom: 25px;
  }

  .features li {
    font-size: 0.8rem;
  }

  .price .current-price {
    font-size: 1.8rem;
  }

  .pricing-card .badge {
    font-size: 0.65rem;
    padding: 3px 10px;
  }
}

/* SEÇÃO VÍDEO (DEMO) */

@media (max-width: 992px) {
  .demo-video {
    padding: 60px 0;
  }

  .video-container h2 {
    font-size: 1.7rem;
  }

  .video-container p {
    font-size: 1rem;
  }

  .video-placeholder {
    height: auto;
    aspect-ratio: 16 / 9;
    margin-top: 30px;
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .video-container h2 {
    font-size: 1.5rem;
    padding: 0 1rem;
  }

  .video-container p {
    font-size: 0.95rem;
    padding: 0 1rem;
  }

  .video-placeholder {
    border-radius: 12px;
    font-size: 1rem;
  }
}

/* DÚVIDAS - FAQ */

@media (max-width: 992px) {
  .faq {
    padding: 60px 0;
  }

  .faq h2 {
    font-size: 1.4rem;
    margin-bottom: 30px;
  }

  .faq-accordion {
    max-width: 100%;
    padding: 0 1rem;
  }

  .faq-accordion .accordion-button {
    font-size: 0.9rem;
    padding: 14px 16px;
  }

  .faq-accordion .accordion-body {
    font-size: 0.85rem;
    padding: 14px 16px;
  }
}

@media (max-width: 576px) {
  .faq h2 {
    font-size: 1.25rem;
    padding: 0 1rem;
  }

  .faq-accordion .accordion-button {
    font-size: 0.85rem;
    padding: 12px 14px;
  }

  .faq-accordion .accordion-body {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}

/* FOOTER */

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 12px;
  }

  .footer-center {
    position: static;
    transform: none;
    pointer-events: auto;
  }

  .footer-right {
    justify-content: center;
  }
}

/* FIM DO CSS */