:root {
  --primary: #347abe;
  --secondary: #9099a5;
  --bg: #f9f9f9;
  --text: #333333;
  --white: #ffffff;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ================== HEADER ================== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 999;
}
.header-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  gap: 20px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
}
.logo img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  border-radius: 6px;
}

/* NAVBAR */
.nav {
  display: flex;
  gap: 25px;
  flex: 1;
  justify-content: center;
}
.nav a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: bold;
  transition: 0.3s;
}
.nav a:hover {
  color: var(--primary);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1000;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* LANGUAGE SWITCH */
.language-switch {
  display: flex;
  gap: 8px;
  align-items: center;
  position: relative;
  z-index: 1001;
}
.language-switch img {
  width: 32px;
  height: 32px;
  cursor: pointer;
  border-radius: 4px;
  transition:
    transform 0.2s ease,
    border 0.2s ease;
}
.language-switch img:hover {
  transform: scale(1.1);
}
.language-switch img.active {
  border: 2px solid var(--primary);
  padding: 2px;
}

/* ================== BOTÕES ================== */
.btn {
  padding: 12px 28px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
}
.btn:hover {
  background: #285d8c;
}

/* ================== HERO ================== */
.hero {
  text-align: center;
  padding: 150px 20px 60px;
  background: var(--white);
}
.hero h1 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 30px;
}

/* ================== FEATURES ================== */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 60px;
}
.feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  width: 250px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease-out;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}
.feature-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
}
.feature-card p {
  color: var(--secondary);
  font-size: 0.95rem;
}

/* ================== DEMO ================== */
.demo {
  text-align: center;
  margin-top: 60px;
}
.demo h2 {
  color: var(--primary);
  margin-bottom: 20px;
}
.demo img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ================== PLANOS ================== */
.plans {
  margin-top: 60px;
}
.plans h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 40px;
}
.plan-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.plan-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 30px 80px;
  width: 250px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease-out;
  z-index: 10;
  min-height: 350px;
}
.plan-card.animate {
  opacity: 1;
  transform: translateY(0);
}
.plan-card .btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
}
.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}
.plan-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
}
.plan-card p {
  color: var(--secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.plan-card .price {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary);
}
.plan-services {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}
.plan-services li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
  color: var(--secondary);
  font-size: 0.95rem;
}
.plan-services li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* ================== CTA ================== */
.cta-section {
  text-align: center;
  padding: 60px 20px;
  background: var(--primary);
  color: var(--white);
  margin-top: 60px;
}
.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* ================== LOGIN ================== */
.login-panel {
  max-width: 400px;
  margin: 60px auto;
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
}
.login-panel h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 30px;
}
.login-panel input {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.login-panel .btn {
  width: 100%;
}

/* ================== BOTÃO FLUTUANTE ================== */
.floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: var(--white);
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  z-index: 100;
}
.floating-btn:hover {
  background: #285d8c;
}

/* ================== RODAPÉ ================== */
.footer {
  background: var(--white);
  text-align: center;
  padding: 20px 0;
  color: var(--secondary);
  border-top: 1px solid #e0e0e0;
  font-size: 0.9rem;
  margin-top: 60px;
}
.footer a {
  color: var(--primary);
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}

/* ================== ANIMAÇÃO AO SCROLL ================== */
[data-anim] {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease-out;
}
[data-anim].animate {
  opacity: 1;
  transform: translateY(0);
}

.login-header {
  text-align: center;
  margin-bottom: 20px;
}

.login-header .login-icon {
  width: 50px; /* tamanho do ícone */
  height: 50px;
  margin-bottom: 10px; /* espaço entre ícone e texto */
}

#login-title {
  font-size: 1.2rem; /* tamanho menor do texto */
  color: var(--primary);
  font-weight: bold;
}

/* Ajuste para mobile */
@media (max-width: 480px) {
  .login-header .login-icon {
    width: 40px;
    height: 40px;
  }
  #login-title {
    font-size: 1rem;
  }
  .login-panel {
    max-width: 250px; /* largura do card no mobile */
    padding: 30px;
  }
}

/* ================== RESPONSIVO ================== */
@media (max-width: 1024px) {
  .feature-card,
  .plan-card {
    width: 250px;
  }
}
@media (max-width: 768px) {
  .feature-card,
  .plan-card {
    width: 48%;
  }

  /* MENU MOBILE */
  .nav {
    position: fixed;
    top: 120px;
    right: -100%;
    flex-direction: column;
    background: var(--white);
    width: 250px;
    height: auto;
    max-height: calc(100% - 80px);
    padding: 20px;
    gap: 20px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    overflow-y: auto;
    z-index: 998;
  }

  .nav.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .language-switch img:not(.active) {
    display: none;
  }
}
@media (max-width: 480px) {
  .feature-card,
  .plan-card {
    width: 250px;
  }
  .language-switch {
    flex-wrap: wrap;
    justify-content: center;
  }
  @media (max-width: 480px) {
    .login-panel {
      max-width: 250px; /* largura do card no mobile */
      padding: 30px; /* opcional: ajuste de padding se necessário */
    }
  }
  .cta-section h2 {
    font-size: 1.5rem; /* menor título no celular */
  }

  .cta-section p {
    font-size: 0.9rem; /* menor texto do parágrafo no celular */
  }

  .cta-section .btn {
    padding: 10px 20px; /* opcional: botões menores em mobile */
  }
}
