/* --- CSS Reset & Variáveis --- */
:root {
  --dark-blue: #1c252e;
  --primary-green: #00a86b;
  --light-green: #33b88a;
  --card-dark: #25313d;
  --text-light: #f5f5f5;
  --text-gray: #b0b8c4;
  --bg-light: #f8f9fa;
  --font-family: "Poppins", sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: var(--dark-blue);
  color: var(--text-light);
  overflow-x: hidden;
}
section {
  padding: 100px 5%;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
h1,
h2,
h3 {
  font-weight: 700;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.h1-termos,
.h1-aviso,
.h1-politica {
  text-shadow: none;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 10px;
}
p {
  color: var(--text-gray);
  line-height: 1.7;
}
.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
}

/* --- Botões --- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn-primary {
  background-color: var(--primary-green);
  color: white;
}
.btn-primary:hover {
  background-color: var(--light-green);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 168, 107, 0.2);
}
.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--primary-green);
}
.btn-secondary:hover {
  background-color: var(--primary-green);
  color: white;
}

/* --- Cabeçalho --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(28, 37, 46, 0.8);
  backdrop-filter: blur(10px);
}
.logo {
  width: 180px;
}
.navbar {
  display: flex;
  align-items: center;
  gap: 30px;
}
.navbar a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  position: relative;
}
.navbar a:not(.btn)::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-green);
  transition: width 0.3s ease;
}
.navbar a:not(.btn):hover::after {
  width: 100%;
}
.navbar-buttons {
  display: flex;
  gap: 15px;
  margin-left: 20px;
}
#menu-icon {
  font-size: 2.5rem;
  color: var(--text-light);
  cursor: pointer;
  display: none;
  z-index: 1001;
}

/* --- Seção Herói (COM SLIDESHOW) --- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero-slideshow .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slideshow .slide.active {
  opacity: 1;
}
#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 37, 46, 0.75);
  z-index: -1;
}
#hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 168, 107, 0.15) 0%,
    rgba(28, 37, 46, 0) 70%
  );
  z-index: -1;
}
#hero .container {
  z-index: 1;
}
#hero h3 {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-light);
  margin: 20px 0 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}
.hero-buttons .btn {
  margin: 0 10px;
}
.hero-buttons .btn-secondary-link {
  display: block;
  margin-top: 20px;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
}
.hero-buttons .btn-secondary-link:hover {
  color: var(--primary-green);
}

/* --- Seção Funcionalidades --- */
#features {
  background-color: var(--bg-light);
}
#features h2,
#features p.section-subtitle {
  color: var(--dark-blue);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.feature-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-green);
}
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}
.feature-card i {
  font-size: 40px;
  color: var(--primary-green);
  margin-bottom: 20px;
}
.feature-card h3 {
  color: var(--dark-blue);
  font-size: 1.2rem;
}
.feature-card p {
  color: #555;
  font-size: 0.95rem;
}

/* --- CTA Estratégico --- */
.strategic-cta {
  text-align: center;
  margin-top: 80px;
  padding: 40px;
  background-color: #e9ecef;
  border-radius: 12px;
}
.strategic-cta h3 {
  color: var(--dark-blue);
  font-size: 1.8rem;
}
.strategic-cta p {
  color: #555;
  margin-bottom: 20px;
}
#faq .strategic-cta {
  background-color: transparent;
}
/* Botão específico do FAQ */
#faq .strategic-cta .btn-secondary {
  color: var(--primary-green);
}
#faq .strategic-cta .btn-secondary:hover {
  color: white;
}

/* --- Seção Plano Único --- */
#pricing {
  background-color: var(--dark-blue);
}
.single-plan-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card-dark);
  border-radius: 16px;
  padding: 50px;
  text-align: center;
  border: 2px solid var(--primary-green);
  box-shadow: 0 0 40px rgba(0, 168, 107, 0.2);
  /* Adições para a faixa */
  position: relative;
  overflow: hidden;
}
.plan-header h3 {
  font-size: 1.8rem;
  color: var(--primary-green);
}
.plan-header p {
  font-size: 1.1rem;
  margin-top: 10px;
}
.plan-price {
  margin: 30px 0;
  /* Adição para alinhar os preços */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
.plan-price .price-value {
  font-size: 4rem;
  font-weight: 700;
  color: white;
}
.plan-price .price-period {
  font-size: 1.1rem;
  color: var(--text-gray);
}
.plan-features {
  list-style: none;
  text-align: left;
  max-width: 350px;
  margin: 0 auto 40px;
}
.plan-features li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--text-gray);
}
.plan-features li i {
  color: var(--primary-green);
  margin-right: 15px;
  vertical-align: middle;
}

/* ===== NOVOS ESTILOS PARA OFERTA ===== */
.offer-ribbon {
  position: absolute;
  width: 200px;
  height: 40px;
  background: var(--primary-green);
  top: 30px;
  right: -55px;
  transform: rotate(45deg);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.offer-ribbon span {
  color: white;
  font-weight: 600;
  font-size: 1.4rem;
  text-transform: uppercase;
}
.original-price {
  font-size: 1.8rem;
  color: var(--text-gray);
  text-decoration: line-through;
}
.offer-validity {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-gray);
  margin: -20px 0 30px 0;
}
/* ===== FIM DOS NOVOS ESTILOS ===== */

/* --- Seção FAQ --- */
#faq {
  background-color: var(--bg-light);
}
#faq h2 {
  color: var(--dark-blue);
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: white;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--primary-green);
}
.faq-item summary {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dark-blue);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item div {
  padding: 0 20px 20px;
  color: #555;
  line-height: 1.6;
}
.faq-item summary .icon {
  font-size: 1.5rem;
  color: var(--primary-green);
  transition: transform 0.3s ease;
}
.faq-item[open] summary .icon {
  transform: rotate(45deg);
}

/* --- Rodapé --- */
footer {
  background-color: #121a21;
  padding: 60px 5%;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: white;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-col a:hover {
  color: var(--primary-green);
}
.footer-col .logo {
  width: 120px;
  margin-bottom: 15px;
}
/* Hover ícones sociais */
.social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid var(--card-dark);
  color: var(--text-gray);
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}
.social-links a:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: white;
  transform: translateY(-3px);
}
.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--card-dark);
  color: var(--text-gray);
}

/* --- Estilos para Páginas Legais --- */
.legal-page-body {
  background-color: var(--bg-light);
}
.legal-content-wrapper {
  padding-top: 120px;
  padding-bottom: 60px;
}
.legal-content {
  background-color: white;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}
.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--dark-blue);
}
.legal-content h2 {
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 15px;
  text-align: left;
  color: var(--dark-blue);
}
.legal-content p,
.legal-content li {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
}
.legal-content ul {
  padding-left: 20px;
}
.legal-content strong {
  color: var(--dark-blue);
}
.legal-content .update-date {
  font-style: italic;
  color: #555;
  margin-bottom: 30px;
}

/* --- Responsividade e Menu Hambúrguer --- */
@media (max-width: 992px) {
  #menu-icon {
    display: block;
  }
  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--card-dark);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 40px 40px;
    gap: 25px;
    transition: right 0.4s ease-out;
  }
  .navbar.active {
    right: 0;
  }
  .navbar a {
    font-size: 1.2rem;
  }
  .navbar-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-left: 0;
    margin-top: 20px;
    width: 100%;
  }
  .navbar-buttons .btn {
    width: 100%;
  }
  .header .navbar-buttons {
    display: none;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  section {
    padding: 60px 5%;
  }
  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .single-plan-container {
    padding: 40px 25px;
  }
  .legal-content {
    padding: 40px 25px;
  }
}
