/* ==========================================================================
   Base & Variáveis
   ========================================================================== */
:root {
  --primary-color: #2196f3;
  --primary-color-light: #64b5f6;
  --primary-color-dark: #1976d2;
  --text-color: #000000;
  --text-color-light: #757575;
  --accent: #fefee3;
  --light: #f9f9f9;
  --dark: #1d1d1d;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Header & Navegação com Hamburguer
   ========================================================================== */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  transform: scale(1) translate(0, 0);
  transition: transform 0.5s ease;
  width: 100px;
  height: 100px;
}

.logo img:hover {
  transform: scale(1.5) translate(20px, 20px);
}

.logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  margin-right: 45px;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--primary-color-dark);
}

/* Botão Hamburguer */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hamburguer Animação */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Navegação Desktop */
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 12px;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #0077cc;
}

/* ==========================================================================
   Seções Principais
   ========================================================================== */
.hero {
  padding: 150px 0 100px;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(25, 118, 210, 0.1) 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary-color-dark);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-color-light);
}

.hero-btns {
  display: flex;
  gap: 15px;
}

.about {
  padding: 80px 0;
  background-color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  color: var(--primary-color-dark);
  margin-bottom: 15px;
}

.section-title .divider {
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 0 auto;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary-color-dark);
}

.about-image {
  flex: 1;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.products {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.05) 0%, rgba(25, 118, 210, 0.05) 100%);
  margin-top: 50px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
  height: 200px;
  background: linear-gradient(45deg, var(--primary-color-light), var(--primary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  padding: 10px 0;
}

.product-image img {
  max-width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.product-content {
  padding: 25px;
}

.product-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--primary-color-dark);
}

.product-content p {
  color: var(--text-color-light);
  margin-bottom: 20px;
  text-align: justify;
  hyphens: auto;
  word-wrap: break-word;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-color-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-light {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-light:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-buy {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.btn-buy:hover {
  background-color: #0056b3;
}

/* ==========================================================================
   Depoimentos
   ========================================================================== */
.testimonials {
  background-color: #f9f9f9;
  padding: 80px 0;
  text-align: center;
}

.testimonials .section-title h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.testimonial-card video {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
}

.testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.testimonial-footer h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #333;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background-color: var(--dark);
  color: white;
  padding: 70px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-column h3 {
  font-size: 1.4rem;
  margin-bottom: 25px;
  position: relative;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.footer-column p,
.footer-column li {
  color: #aaa;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: white;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #777;
  font-size: 0.9rem;
}

/* ==========================================================================
   Popup
   ========================================================================== */
.popup {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-overlay {
  position: relative;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  padding: 15px;
}

.popup-content {
  position: relative;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  width: 90vw;
  max-width: 800px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup-content video {
  width: 100%;
  height: auto;
  max-height: 70vh;
  display: block;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  z-index: 10;
}

.click-to-start {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 5;
  text-align: center;
  padding: 10px;
}

/* ==========================================================================
   Responsividade
   ========================================================================== */

/* Tablets (telas médias) */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .about-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .product-image img {
    max-height: 200px;
  }
}

/* Smartphones (telas pequenas) */
@media (max-width: 768px) {
  .header-container {
    padding: 15px 0;
    justify-content: space-between;
    flex-direction: row;
  }

  /* Hamburguer Menu */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 80px 20px 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .nav-links a {
    display: block;
    padding: 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }

  /* Overlay quando menu está aberto */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .logo {
    flex-direction: row;
    text-align: center;
    gap: 10px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card video {
    max-height: 250px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .about-image {
    text-align: center;
  }

  .about-image img {
    max-width: 200px;
  }

  .popup-content {
    width: 95%;
    margin: 20px auto;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .product-content h3 {
    font-size: 1.2rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* Remove todos os hovers em telas pequenas */
  *:hover,
  *:focus,
  *:active {
    transform: none !important;
    transition: none !important;
    box-shadow: none !important;
    background-color: inherit !important;
    color: inherit !important;
    opacity: 1 !important;
    text-decoration: none !important;
    border-color: inherit !important;
    outline: none !important;
  }
}

/* Smartphones pequenos */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .product-content p {
    font-size: 0.9rem;
  }

  .price {
    font-size: 1.1rem;
  }

  .testimonial-card video {
    max-height: 200px;
  }

  .footer-column ul li {
    font-size: 0.9rem;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .nav-links {
    width: 100%;
    max-width: none;
  }
}
@media (max-width: 768px) {
  header {
    background-color: white !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .header-container {
    background-color: white;
    padding: 10px 0;
  }

  /* Garante que o header ocupe toda a largura */
  header {
    width: 100%;
    left: 0;
    right: 0;
  }
}

/* Garante que o conteúdo não fique sob o header fixo */
body {
  padding-top: 80px;
  /* Ajuste conforme a altura do seu header */
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
    /* Menor em mobile se o header for menor */
  }
}

/* Remove qualquer transparência que possa existir */
header {
  background-color: white;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}