/* ================================
   RESET & VARIÁVEIS
================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #8FBC8F;
  color: #333;
  scroll-behavior: smooth;
  padding-top: 80px; /* Compensa menu fixo */
}

/* ================================
   NAVEGAÇÃO PRINCIPAL
================================== */
nav.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #6b2eff;
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo-container img {
  height: 40px;
}

ul.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  align-items: center;
}

ul.menu li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}

ul.menu li a:hover {
  background: white;
  color: #6b2eff;
}

#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* ================================
   HEADER
================================== */
header {
  background-color: #0056FF;
  padding: 80px 20px 60px;
  text-align: center;
  color: white;
}

header h1 {
  margin-bottom: 15px;
  font-size: 32px;
}

header p {
  font-size: 18px;
  margin-bottom: 20px;
}

header ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

header ul li {
  margin: 10px 0;
  font-size: 18px;
}

header a.cta-btn {
  display: inline-block;
  background: #FFC107;
  padding: 12px 25px;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 20px;
  font-size: 18px;
}

/* ================================
   HERO / VÍDEO
================================== */
.hero {
  padding: 60px 20px;
  background: #eef3fb;
  text-align: center;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.hero video,
.hero img {
  width: 90%;
  max-width: 800px;
  border-radius: 10px;
  margin-top: 20px;
}

/* ================================
   SEÇÕES GENÉRICAS
================================== */
section {
  padding: 60px 20px;
  text-align: center;
}

section h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

section ul {
  list-style: none;
  padding: 0;
}

section ul li {
  margin: 10px 0;
  font-size: 18px;
}

/* ================================
   PLANOS
================================== */
.plans {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.plan {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  flex: 1 1 300px;
  max-width: 320px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.plan h4 {
  font-size: 22px;
  margin-bottom: 10px;
}

.plan strong {
  display: block;
  font-size: 26px;
  color: #0056FF;
  margin-bottom: 15px;
}

.plan p {
  font-size: 16px;
  margin-bottom: 20px;
}

.plan a {
  display: inline-block;
  background: #0056FF;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 10px;
  font-weight: 600;
}

/* ================================
   CTA FINAL
================================== */
.cta-final {
  background: #0056FF;
  color: white;
  padding: 60px 20px;
}

.cta-final h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.cta-final a {
  background: #FFC107;
  padding: 15px 30px;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 18px;
  margin: 10px;
  display: inline-block;
}

/* ================================
   FOOTER
================================== */
footer {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #777;
  background: #fff;
}

/* ================================
   COOKIE BANNER
================================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #333;
  color: white;
  padding: 20px;
  text-align: center;
  z-index: 1000;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
}

#cookie-banner button {
  background-color: #00b894;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  margin-left: 10px;
}

#cookie-banner a {
  color: #81ecec;
  text-decoration: underline;
}

/* ================================
   VIDEO MODAL
================================== */
.video-thumb {
  position: relative;
  max-width: 800px;
  margin: 30px auto;
  cursor: pointer;
}

.video-thumb img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.video-thumb .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 80px;
  color: white;
  text-shadow: 0 0 10px black;
}

.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background-color: #000; /* ensures iframe contrast */
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fff;
  border: none;
  font-size: 20px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  z-index: 1;
}

/* ================================
   RESPONSIVO
================================== */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  ul.menu {
    display: none;
    flex-direction: column;
    background: #6b2eff;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 999;
  }

  #menu-toggle:checked ~ ul.menu,
  ul.menu.active {
    display: flex;
  }

  .menu li {
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
  }

  .menu li a {
    display: block;
    width: 100%;
  }
}
