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

:root {
  --primary-color: #2d6a4f;
  --primary-dark: #1b4332;
  --tertiary-color: #424530;
  --quaternary-color: #936f3f;

  --secondary-color: #936f3f;
  --accent-color: #10b981;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

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

html {
  scroll-behavior: smooth;
}
/* .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 18, 27, 0.7);
  z-index: 1;
} */

/* Header */
.header {
  background: var(--bg-white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: 1rem 0; */
}

.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-text-white);
  transition: color var(--transition-normal);
}
.logo {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo__text {
  font-size: var(--font-size-lg);
  font-weight: 300;
  font-family: var(--font-family-primary);
  color: var(--color-text-primary);
  transition: color var(--transition-normal);
}

.logo__text strong {
  font-size: var(--font-size-lg);
  font-weight: 500;
}
.logo__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.header__menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.header__menu-item {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 1.1rem 0;
}

.header__menu-item:hover {
  color: var(--primary-color);
}

.header__menu-item--active {
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
}

.header__menu-item--active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-color);
  border-radius: 1px;
}

.header__submenu-arrow {
  font-size: 0.75rem;
  margin-bottom: -1px;
  color: rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.header__menu-item--has-submenu:hover .header__submenu-arrow {
  transform: rotate(180deg);
}

.header__submenu {
  position: absolute;
  top: 100%;
  /* left: 0; */
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  list-style: none;
  padding: 0.5rem 0;
  /* margin-top: 0.1rem; */
}

.header__submenu--active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.button-plans {
  /* background: red; */
  cursor: pointer;
}
.header__submenu-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.header__submenu-item:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
}

.header__submenu-item--active {
  background: var(--primary-color);
  color: white;
  font-weight: 600;
}

.header__submenu-item--active:hover {
  background: var(--primary-dark);
  color: white;
}

.header__auth {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.header__auth-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.header__auth-btn--login {
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  background: transparent;
}

.header__auth-btn--login:hover {
  background: var(--primary-color);
  color: white;
}

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

.header__auth-btn--cadastro:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.header__mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

/* Seção principal hero */
.hero {
  position: relative;
  width: 100%;
  height: 92vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

/* Vídeo de fundo ocupa toda a área */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
}
.video-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay escura transparente para melhorar contraste do texto */
.video-background .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* verde escuro com transparência */
  z-index: 1;
}

/* Container principal com conteúdo centralizado */
.hero__container {
  position: relative;
  z-index: 2; /* acima do vídeo e da overlay */
  max-width: 900px;
  padding: 20px;
}

/* Conteúdo flexível com alinhamento central */
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Título e descrição */
.hero__title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.2;
  color: white;

  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__title-highlight {
  color: var(--quaternary-color);
}

.hero__description {
  font-size: 1.25rem;
  max-width: 1200px;
  margin-bottom: 2rem;
  text-align: center;

  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.hero__features {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.hero__feature:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero__feature-icon {
  font-size: 1.2rem;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn--secondary {
  background-color: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  z-index: 2;
  pointer-events: none;
}

.hero__scroll-arrow {
  width: 2px;
  height: 30px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
  border-radius: 1px;
  animation: scrollBounce 2s infinite;
}

/* Animação suave de "subir e descer" */
@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

/* Botão */
.btn {
  padding: 12px 24px;
  background-color: var(--quaternary-color); /* verde escuro */
  color: white;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: var(--quaternary-color);
}
/* Plans Section */
.plans {
  padding: 4rem 0;
}

.plans__title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.plans__subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  font-size: 1.125rem;
}

.plans__grid {
  display: grid;
  /* grid-template-columns: repeat(2, 1fr); */
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.plans__card {
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  transition: border-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.plans__card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.plans__card--featured {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.plans__name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.plans__price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.plans__features {
  list-style: none;
  margin-bottom: 2rem;
}

.plans__feature {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.plans__feature:last-child {
  border-bottom: none;
}

.plans__description {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.plans__highlight {
  background: var(--bg-light);
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  color: var(--primary-color);
  border-left: 3px solid var(--primary-color);
}

.plans__button {
  background: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  margin-top: auto;
}

.plans__button:hover {
  background: var(--primary-dark);
}

/* How it works */
.how-it-works {
  padding: 4rem 0;
  background: var(--bg-light);
}

.how-it-works__title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.how-it-works__steps {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.how-it-works__step {
  flex: 1;
  min-width: 250px;
  text-align: center;
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.how-it-works__number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.how-it-works__title-step {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* CTA Section */
.cta {
  padding: 4rem 0;
  text-align: center;
}

.cta__title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.cta__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta__button {
  padding: 1rem 2rem;
  border: 2px solid var(--primary-color);
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta__button--primary {
  background: var(--primary-color);
  color: white;
}

.cta__button--secondary {
  background: transparent;
  color: var(--primary-color);
}

.cta__button:hover {
  transform: translateY(-2px);
}

/* About Section */
.about {
  padding: 4rem 0;
  background: var(--bg-light);
}

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

.about__title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.about__text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* FAQ Section */
.faq {
  padding: 4rem 0;
}

.faq__title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

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

.faq__item {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq__question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq__question:hover {
  background: var(--border-color);
}

.faq__answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
  background: var(--bg-light);
}

.faq__answer--active {
  max-height: 500px;
  padding: 1.5rem;
  max-height: 1000px;
  transition: all 0.3s;
}

.faq__toggle {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.faq__toggle--active {
  transform: rotate(45deg);
}

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

.footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__section {
  display: flex;
  flex-direction: column;
}
.footer__logo {
  margin-bottom: 1rem;
}
.footer__logo h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.footer__logo p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer__social-link:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.footer__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: 0.75rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: var(--primary-color);
}
.footer__contact {
  display: flex;
  flex-wrap: nowrap; /* evita quebra */
  flex-direction: column;
  gap: 1.5rem;
  white-space: nowrap; /* impede quebra dentro dos textos */
  overflow-x: auto; /* adiciona scroll horizontal se necessário */
}
.footer__contact p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.5;
  flex-wrap: nowrap;
}
.footer__contact span {
  margin-right: 1rem;
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer__bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.footer__bottom-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer__bottom-links a:hover {
  color: var(--primary-color);
}

.footer__separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.875rem;
}

.button-login-mobile {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .button-login-desktop {
    display: none;
  }
  .footer__social {
    justify-content: center;
  }

  .button-login-mobile {
    padding: 0.7rem 2rem !important;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
  }

  .header__menu-item--has-submenu {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  .button-plans {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
    cursor: pointer;
  }
  .video-background {
    background: var(--tertiary-color);
  }
  .header__nav {
    padding: 1rem 0;
  }
  .bg-desktop {
    display: none;
  }
  .header__menu {
    display: none;
  }

  .header__auth {
    display: none;
  }

  .header__mobile-toggle {
    display: block;
  }

  .hero__title {
    font-size: 2.5rem;
    line-height: 1.1;
  }

  .hero__description {
    font-size: 1.1rem;
    max-width: 100%;
  }

  .hero__features {
    flex-direction: column;
    gap: 1rem;
  }

  .hero__feature {
    padding: 0.75rem 1.5rem;
  }

  .hero__cta {
    flex-direction: column;
    align-items: center;
  }

  .hero__scroll-indicator {
    font-size: 0.8rem;
  }

  .plans__grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .plans__card {
    min-width: 100%;
  }

  .how-it-works__steps {
    flex-direction: column;
  }

  .cta__buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta__button {
    width: 100%;
    max-width: 300px;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer__bottom-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Mobile menu styles */
  .header__menu--mobile {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    align-items: center;
    border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    min-height: calc(100vh - 100%);
  }

  .button-login-mobile {
    display: block;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
    text-align: center;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .button-login-mobile:hover {
    background: var(--primary-color);
    color: white;
  }

  .header__menu--mobile .header__menu-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
  }

  .header__menu--mobile .header__menu-item--active {
    background: var(--bg-light);
    color: var(--primary-color);
    font-weight: 600;
  }

  .header__menu--mobile .header__submenu-item--active {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
  }

  .header__menu--mobile .header__submenu {
    position: static;
    max-height: 0;
    overflow: hidden;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(0, 0, 0, 0.09);
    margin-top: 0;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
    opacity: 1;
    visibility: visible;
  }

  .header__menu--mobile .header__submenu--active {
    max-height: 200px !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    border-left: 2px solid var(--primary-color);
    opacity: 1 !important;
    visibility: visible !important;
  }

  .header__menu--mobile .header__submenu-item {
    padding: 0.75rem 1rem;
    border-bottom: none;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease;
    display: block;
    width: 100%;
  }

  .header__menu--mobile .header__submenu-item:hover {
    background: rgba(0, 0, 0, 0.05);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2rem 0;
  }

  .hero__title {
    font-size: 1.75rem;
    line-height: 1.1;
  }

  .hero__description {
    font-size: 0.95rem;
  }

  .hero__features {
    gap: 0.5rem;
  }

  .hero__feature {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  .hero__cta {
    gap: 0.5rem;
  }

  .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .hero__scroll-indicator {
    font-size: 0.75rem;
  }

  .plans__title,
  .how-it-works__title,
  .cta__title,
  .about__title,
  .faq__title {
    font-size: 2rem;
  }
}

/* Botão scroll to top */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.scroll-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.2);
}

.scroll-to-top--visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top svg {
  width: 20px;
  height: 20px;
}
