/* Variáveis CSS para cores */
:root {
  --primary-color: #43c4de;
  --secondary-color: #fabd2f;
  --dark-background: #000000;
  --light-background: #F8F8F8;
  --white-text: #ffffff;
  --dark-text: #000000;
  --gray-text: #9e9e9e;
  --footer-background: #1a1a1a;
  --category-background: #000000;
}

/* Reset e Estilos Globais */
html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark-text);
  background-color: var(--light-background);
  line-height: 1.6;
}
.page-wrapper {
  position: relative;
  width: 100%;
  overflow-x: hidden;
}
img, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}
section {
  padding: 40px 20px;
}
h1, h2, h3 {
  margin-bottom: 20px;
  line-height: 1.2;
}
p {
  margin-bottom: 15px;
}
.btn {
  background: var(--primary-color);
  color: var(--white-text);
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  margin: 10px;
  display: inline-block;
  transition: background-color 0.3s ease;
}
.btn:hover {
  background-color: #36a7c0;
}

/* Estilos Específicos das Seções */

/* Seção do Cabeçalho */
header {
  background: var(--primary-color);
  color: var(--white-text);
  padding: 20px;
  text-align: center;
}
header img {
  max-height: 100px;
  margin: 0 auto;
}

/* Seção Hero */
.hero {
  background: url('https://nurbrasil.com.br/img/banner/BANNER-PRINCIPAL.jpg') center center/cover no-repeat;
  text-align: center;
  position: relative;
  min-height: 585px;
  padding: 100px 20px;
  color: var(--white-text);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 1;
}
.hero .btn {
  position: relative;
  z-index: 2;
  margin-bottom: 10px;
}

.seo-h1 {
  position: absolute;
  left: -9999px; /* empurra pra fora da tela */
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Seção de Vídeo */
.video-section {
  background: var(--white-text);
  padding: 60px 20px;
  text-align: center;
}
.video-section h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 30px;
}
.video-wrapper {
  width: calc(100% - 40px);
  margin: 0 auto;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-width: 1280px;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Seções de Features (Imagem + Texto) */
.feature-section {
  padding: 60px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}
.feature-section > div {
  flex: 1 1 450px;
}
.feature-section img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.feature-light {
  background: var(--white-text);
  color: var(--dark-text);
}
.feature-light h2 {
  color: var(--primary-color);
  font-size: 2.2rem;
}
.feature-dark {
  background: var(--primary-color);
  color: var(--white-text);
}
.feature-dark h2 {
  color: var(--secondary-color);
  font-size: 2.2rem;
}

/* Bloco 4: Imagem central + texto */
.centered-feature {
  background: var(--primary-color);
  color: var(--white-text);
  text-align: center;
  padding: 60px 20px;
}
.centered-feature img {
  width: 350px;
  max-width: 100%;
  margin: 0 auto 30px;
}
.centered-feature h2 {
  color: var(--secondary-color);
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.centered-feature p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Seção de Benefícios */
.benefits {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
  padding: 60px 20px;
}
.benefit {
  width: 220px;
  padding: 20px;
  background-color: var(--white-text);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.benefit:hover {
  transform: translateY(-8px);
}
.benefit h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.benefit p {
  color: var(--gray-text);
}

/* Seção de Produtos */
.products {
  background: var(--primary-color);
  text-align: center;
  padding: 60px 20px;
}
.products h2 {
  font-size: 2.5rem;
  color: var(--white-text);
  margin-bottom: 40px;
}
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.product {
  background: var(--light-background);
  border: 1px solid var(--secondary-color);
  border-radius: 12px;
  width: 280px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.product:hover {
  transform: translateY(-8px);
}
.product img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}
.product h3 {
  color: var(--secondary-color);
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.product p {
  color: var(--gray-text);
  font-size: 0.95rem;
}

/* Seção de Categorias */
.categories {
  background: var(--light-background);
  text-align: center;
  padding: 60px 20px;
}
.categories h2 {
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: var(--secondary-color);
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.category {
  background: var(--category-background);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--secondary-color);
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
  color: var(--white-text);
}
.category:hover {
  transform: translateY(-5px);
}
.category h3 {
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-size: 1.4rem;
}
.category p {
  color: #9e9e9e;
  font-size: 1rem;
}

/* Seção de Clientes */
.clients {
  background: var(--dark-background);
  text-align: center;
  padding: 60px 20px;
  overflow-x: hidden;
}
.clients h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 40px;
}
.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
}
.clients-logos img {
  width: 250px;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(180%);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.clients-logos img:hover {
  filter: grayscale(0%) brightness(100%);
  transform: scale(1.05);
}

/* Seção de Processo */
.process {
  background: var(--light-background);
  text-align: center;
  padding: 60px 20px;
}
.process h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 40px;
}
.steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}
.step {
  width: 200px;
  padding: 20px;
  background-color: var(--white-text);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.step:hover {
  transform: translateY(-8px);
}
.step h3 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 10px;
}
.step p {
  color: var(--gray-text);
  font-size: 1.1rem;
}
.step img {
  display: block;
  margin: 0 auto 15px auto;
}

/* Seção de Contato */
.contact {
  background: var(--primary-color);
  color: var(--white-text);
  text-align: center;
  padding: 60px 20px;
}
.contact h2 {
  font-size: 2.5rem;
  color: var(--white-text);
  margin-bottom: 40px;
}
.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  width: 100%;
}
.form-bitrix {
  flex: 1 1 320px;
  min-width: 320px;
  max-width: 480px;
  width: 100%;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.logo-rotate {
  flex: 1 1 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 300px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  perspective: 1000px;
}
.logo-rotate img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-top: 0px;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform 2s ease-in-out;
}
.logo-rotate.girar img {
  transform: rotateY(720deg);
}

/* Rodapé */
.footer {
  text-align: center;
  color: var(--secondary-color);
  padding: 25px 20px;
  background-color: var(--footer-background);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  width: 100%;
  box-sizing: border-box;
}
.footer a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer a:hover {
  color: #fff6d5;
  text-decoration: underline;
}
.footer a[href*="begluck"] {
  color: #43c4de !important;
}
.footer p::after {
  content: " | Todos os direitos reservados";
  color: #888;
}
.footer .social-icons {
  margin-top: 10px;
}
.footer .social-icons a {
  display: inline-block;
  margin: 0 10px;
  color: #fff;
}
.footer .social-icons img {
  width: 28px;
  height: 28px;
  vertical-align: middle;
}

/* Botões flutuantes */
.whatsapp-button, .instagram-button {
  position: fixed;
  right: 20px;
  z-index: 999;
}
.whatsapp-button {
  bottom: 20px;
}
.instagram-button {
  bottom: 90px;
}
.whatsapp-button img, .instagram-button img {
  width: 60px;
  transition: transform 0.3s ease;
}
.whatsapp-button img:hover, .instagram-button img:hover {
  transform: scale(1.1);
}

/* Media Queries */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
}
@media (max-width: 768px) {
  section {
    padding: 20px 15px;
  }
  .hero {
    min-height: 500px;
    flex-direction: column;
    align-items: center;
  }
  .hero .btn {
    margin-bottom: 20px;
  }
  .hero {
    padding-top: 40px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 40px;
    justify-content: flex-end;
    background-image: url('https://nurbrasil.com.br/img/banner/BANNER-PRINCIPAL---mob.jpg');
    background-repeat: no-repeat;
    background-position: center center;
  }
  .video-wrapper {
    aspect-ratio: 9 / 16;
    max-width: 360px;
    border-radius: 0;
  }
  .video-section h2, .products h2, .categories h2, .clients h2, .process h2, .contact h2, .centered-feature h2 {
    font-size: 2rem;
  }
  .feature-section {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 20px 15px;
  }
  .feature-section > div {
    flex: 1 1 auto;
    max-width: 100%;
    padding: 0;
  }
  .clients-logos img {
    width: 150px;
  }
  .contact-container {
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
  }
  .logo-rotate {
    margin-top: 20px;
    max-width: 250px;
  }
  .benefits {
    gap: 20px;
  }
  .product-grid {
    gap: 20px;
  }
  .steps {
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .whatsapp-button img, .instagram-button img {
    width: 50px;
  }
  .footer {
    font-size: 12px;
    padding: 15px 10px;
  }
  .contact button {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
  }
  .logo-rotate {
    max-width: 250px;
  }
}