/* ==========================================================================
   PRIMEFIX ESTRUTURAS FOTOVOLTAICAS - LINK NA BIO INSTAGRAM
   Design System & Styling com Fidelidade Visual Rigorosa (100% Calibrado)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variáveis Globais de Design
   -------------------------------------------------------------------------- */
:root {
  --color-bg-deep: #000730;
  --color-bg-dark: #000C38;
  --color-card-bg: rgba(6, 26, 82, 0.76);
  --color-card-border: rgba(255, 255, 255, 0.08);
  
  /* Amarelo Institucional Primefix */
  --color-yellow: #FFC700;
  --color-yellow-light: #FFD53D;
  --color-yellow-dark: #C29000;
  --color-yellow-glow: rgba(255, 199, 0, 0.5);

  /* Azul Institucional Primefix */
  --color-blue-primary: #053E87;
  --color-blue-dark: #002264;
  --color-blue-glow: rgba(2, 56, 130, 0.4);
  --color-blue-border: rgba(45, 120, 240, 0.3);

  /* Tipografia */
  --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Texto */
  --text-white: #FFFFFF;
  --text-dim: #D0DBEE;
  --text-dark: #06152D;

  /* Dimensões Calibradas */
  --app-max-width: 576px;
  --btn-width: 346px;
  --btn-height: 54px;
  --btn-radius: 9999px;
  --transition-smooth: 0.25s cubic-bezier(0.33, 1, 0.68, 1);
}

/* --------------------------------------------------------------------------
   2. Reset e Configurações Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-bg-deep);
  color: var(--text-white);
  min-height: 100%;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  font-family: var(--font-body);
  background: #000730 url('BG.webp') no-repeat center top / cover;
  background-attachment: fixed;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* --------------------------------------------------------------------------
   3. Container Principal (576px Mobile-First)
   -------------------------------------------------------------------------- */
.bio-app {
  width: 100%;
  max-width: var(--app-max-width);
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Camada Flutuante de Produtos de Fundo */
.floating-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Camada Flutuante de Primeiro Plano (Img 02 na frente dos botões) */
.floating-foreground-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  overflow: hidden;
}

.floating-item {
  position: absolute;
  will-change: transform;
}

/* Imagem 03: Gancho Superior Esquerdo (Efeito de Profundidade) */
.float-item-top-left {
  top: 42px;
  left: -8px;
  width: 195px;
  animation: floatBracket 6.2s ease-in-out infinite alternate;
}

.img-bracket {
  width: 100%;
  height: auto;
  opacity: 0.92;
  filter: blur(1.2px) drop-shadow(0 15px 25px rgba(0, 4, 20, 0.7));
  transform: rotate(-3deg);
}

/* Imagem 02: Perfil Lateral Direito (Sobrepondo em primeiro plano o botão de orçamento) */
.float-item-mid-right {
  top: 418px;
  right: -50px;
  width: 240px;
  pointer-events: none;
  animation: floatClamp 6.2s ease-in-out infinite alternate;
  will-change: transform;
}

.img-clamp {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 6, 25, 0.85));
  transform: rotate(-2deg);
}

/* Imagem 01: Haste Roscada Inferior Esquerdo (Ao lado do botão comercial e vídeo) */
.float-item-bottom-left {
  top: 512px;
  left: -112px;
  width: 370px;
  animation: floatBolt 5.0s ease-in-out infinite alternate;
  will-change: transform;
}

.img-bolt {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(0, 4, 20, 0.8));
  transform: rotate(3deg);
}

/* Animações de Flutuação Contínua e Suave no Mobile (60fps com aceleração 3D por GPU) */
@keyframes floatBracket {
  0% {
    transform: translate3d(0, 0px, 0) rotate(0deg);
  }
  100% {
    transform: translate3d(0, -18px, 0) rotate(1.5deg);
  }
}

@keyframes floatClamp {
  0% {
    transform: translate3d(0, 0px, 0) rotate(0deg);
  }
  100% {
    transform: translate3d(0, 18px, 0) rotate(-1.8deg);
  }
}

@keyframes floatBolt {
  0% {
    transform: translate3d(0, 0px, 0) rotate(0deg);
  }
  100% {
    transform: translate3d(0, -16px, 0) rotate(-1.2deg);
  }
}

/* --------------------------------------------------------------------------
   4. Conteúdo Principal da Bio
   -------------------------------------------------------------------------- */
.bio-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 34px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

/* Topo / Logotipo Oficial */
.bio-header {
  margin-top: 0;
  margin-bottom: 14px;
  text-align: center;
}

.logo-link {
  display: inline-block;
  transition: transform var(--transition-smooth);
}

.logo-link:hover {
  transform: scale(1.02);
}

.bio-logo {
  width: 126px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

/* Card de Apresentação (Glassmorphism Exato: 264px x 142px) */
.bio-card {
  width: 264px;
  min-height: 140px;
  background: var(--color-card-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-card-border);
  border-radius: 20px;
  padding: 16px 18px;
  margin-bottom: 16px;
  box-shadow: 
    0 10px 26px rgba(0, 3, 18, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bio-card-text {
  font-family: var(--font-body);
  font-size: 0.71875rem; /* ~11.5px */
  line-height: 1.52;
  color: var(--text-dim);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   5. Fileira de Redes Sociais com Efeito Hover Amarelo e Light Swipe
   -------------------------------------------------------------------------- */
.social-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 22px;
  width: 100%;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth);
}

.social-btn:hover,
.social-btn:focus-visible,
.social-btn.is-selected {
  transform: translateY(-2px) scale(1.18);
  outline: none;
}

.social-btn:active {
  transform: scale(0.95);
}

/* Ícones sociais (Padrão: Branco Puro nítido) */
.social-icon-img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter var(--transition-smooth), transform var(--transition-smooth);
  position: relative;
  z-index: 2;
}

/* Efeito Hover nos Ícones: Fica Amarelo Vibrante (#FFC700) com Glow Dourado */
.social-btn:hover .social-icon-img,
.social-btn:focus-visible .social-icon-img,
.social-btn.is-selected .social-icon-img {
  filter: invert(75%) sepia(90%) saturate(1600%) hue-rotate(360deg) brightness(105%) contrast(105%) drop-shadow(0 0 12px var(--color-yellow-glow));
}

/* Light Swipe Shimmer nos Ícones */
.social-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -130%;
  width: 70%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 3;
  animation: lightSwipeIcon 4.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.social-nav .social-btn:nth-child(1)::after { animation-delay: 0.2s; }
.social-nav .social-btn:nth-child(2)::after { animation-delay: 0.8s; }
.social-nav .social-btn:nth-child(3)::after { animation-delay: 1.4s; }
.social-nav .social-btn:nth-child(4)::after { animation-delay: 2.0s; }

.social-btn:hover::after {
  animation: lightSwipeHover 0.6s ease-out;
}

/* --------------------------------------------------------------------------
   6. Botões de Ação Principais (Assets Oficiais botão 01.png e botão 02.png)
   -------------------------------------------------------------------------- */
.action-buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 19px;
  align-items: center;
}

.action-btn {
  width: var(--btn-width);
  max-width: 90%;
  height: var(--btn-height);
  min-height: var(--btn-height);
  padding: 0 24px;
  border-radius: var(--btn-radius);
  
  /* Botão Oficial: Imagem botão 01.webp do usuário */
  background: url('botão 01.webp') no-repeat center center / 100% 100%;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 6, 28, 0.55);
  
  color: var(--text-white);
  font-family: var(--font-primary);
  font-size: 0.90625rem; /* ~14.5px */
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  
  transition: 
    color var(--transition-smooth),
    box-shadow var(--transition-smooth),
    transform var(--transition-smooth);
}

/* Camada de Transição Suave: botão 02.webp (Amarelo Ouro) */
.action-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: url('botão 02.webp') no-repeat center center / 100% 100%;
  opacity: 0;
  transition: opacity 0.28s cubic-bezier(0.33, 1, 0.68, 1);
  z-index: 1;
  pointer-events: none;
}

/* Light Swipe Shimmer Effect nos Botões */
.action-btn::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -120%;
  width: 50%;
  height: 220%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 25%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.08) 75%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 3;
  animation: lightSwipeBtn 4.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Delays escalonados para o feixe de luz passar sequencialmente */
.action-buttons > .action-btn:nth-child(1)::after { animation-delay: 0s; }
.action-buttons > .action-btn:nth-child(2)::after { animation-delay: 1.2s; }
.action-buttons > .action-btn:nth-child(3)::after { animation-delay: 2.4s; }
.catalog-dropdown-wrapper .action-btn::after { animation-delay: 3.6s; }

.action-btn .btn-text {
  position: relative;
  z-index: 2;
  transition: color var(--transition-smooth), font-weight var(--transition-smooth);
}

/* Efeito Hover nos Botões: Fica Amarelo (botão 02.png), texto escuro e sem aura amarela */
.action-btn:hover,
.action-btn:focus-visible,
.action-btn.is-selected {
  color: var(--text-dark);
  font-weight: 700;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 6, 28, 0.55);
  outline: none;
}

.action-btn:hover::before,
.action-btn:focus-visible::before,
.action-btn.is-selected::before {
  opacity: 1;
}

.action-btn:hover .btn-text,
.action-btn:focus-visible .btn-text,
.action-btn.is-selected .btn-text {
  color: var(--text-dark);
  font-weight: 700;
}

.action-btn:hover::after {
  animation: lightSwipeHover 0.75s ease-out;
}

.action-btn:active {
  transform: translateY(0px) scale(0.98);
}

/* Botão Solicitar Orçamento com Seta e Efeito Pulsar para Chamar Atenção */
.btn-catalog {
  position: relative;
  justify-content: center;
  animation: pulseQuoteBtn 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulseQuoteBtn {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(0, 6, 28, 0.55), 0 0 0 0 rgba(255, 199, 0, 0.7);
  }
  38% {
    transform: scale(1.028);
    box-shadow: 0 10px 24px rgba(0, 6, 28, 0.6), 0 0 0 12px rgba(255, 199, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(0, 6, 28, 0.55), 0 0 0 0 rgba(255, 199, 0, 0);
  }
}

.btn-catalog:hover,
.btn-catalog:focus-visible,
.btn-catalog.is-selected,
.btn-catalog[aria-expanded="true"] {
  animation: none;
  transform: translateY(-2px) scale(1.01);
}

.btn-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-yellow);
  position: relative;
  z-index: 2;
  transition: transform var(--transition-smooth), color var(--transition-smooth);
  margin-left: 8px;
}

.action-btn:hover .btn-caret,
.action-btn:focus-visible .btn-caret,
.action-btn.is-selected .btn-caret {
  color: var(--text-dark);
}

/* Animações de Light Swipe */
@keyframes lightSwipeBtn {
  0% {
    left: -120%;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  32% {
    left: 150%;
    opacity: 1;
  }
  33%, 100% {
    left: 150%;
    opacity: 0;
  }
}

@keyframes lightSwipeIcon {
  0% {
    left: -130%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  35% {
    left: 160%;
    opacity: 1;
  }
  36%, 100% {
    left: 160%;
    opacity: 0;
  }
}

@keyframes lightSwipeHover {
  0% {
    left: -120%;
    opacity: 0.85;
  }
  100% {
    left: 150%;
    opacity: 0;
  }
}

.catalog-dropdown-wrapper {
  width: var(--btn-width);
  max-width: 90%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Garante que o botão de catálogo tenha exatamente a mesma largura dos demais */
.catalog-dropdown-wrapper .action-btn {
  width: 100%;
  max-width: 100%;
}

/* Menu Expansível de Catálogo (Formulário Integrado) */
.catalog-menu {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  transition: all 0.38s cubic-bezier(0.33, 1, 0.68, 1);
  width: 100%;
}

.catalog-menu.is-open {
  max-height: 640px;
  opacity: 1;
  visibility: visible;
  padding: 4px 0 10px;
}

.catalog-form {
  background: rgba(3, 23, 72, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 199, 0, 0.35);
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 32px rgba(0, 4, 25, 0.7);
  width: 100%;
}

.form-header {
  text-align: center;
  margin-bottom: 2px;
}

.form-title {
  display: block;
  font-family: var(--font-primary);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-yellow);
  letter-spacing: 0.01em;
}

.form-subtitle {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 3px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.form-label {
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
}

.form-input {
  width: 100%;
  height: 40px;
  background: rgba(0, 10, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: var(--text-white);
  outline: none;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth), background var(--transition-smooth);
}

.form-input::placeholder {
  color: rgba(208, 219, 238, 0.45);
}

.form-input:focus {
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 2px rgba(255, 199, 0, 0.25);
  background: rgba(0, 12, 50, 0.95);
}

.form-input.is-invalid {
  border-color: #ff4d4d !important;
  box-shadow: 0 0 0 2px rgba(255, 77, 77, 0.3) !important;
}

/* Custom Select para Região / Estados */
.select-wrapper {
  position: relative;
  width: 100%;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 38px;
}

.form-select:invalid,
.form-select option[value=""] {
  color: rgba(208, 219, 238, 0.45);
}

.form-select option {
  background: #000c3b;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.86rem;
  padding: 8px 12px;
}

.select-caret {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-smooth);
}

.select-wrapper:focus-within .select-caret {
  transform: translateY(-50%) rotate(180deg);
}

/* Botão de Envio do Formulário (Estilo botão 02 oficial Primefix) */
.form-submit-btn {
  width: 100%;
  height: 46px;
  margin-top: 4px;
  border-radius: var(--btn-radius);
  background: url('botão 02.webp') no-repeat center center / 100% 100%;
  border: none;
  color: var(--text-dark);
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 5, 22, 0.5);
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.form-submit-btn:active {
  transform: translateY(0) scale(0.98);
}

.form-submit-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   6.5. Carrossel Automático de Produtos com Fade nas Pontas
   -------------------------------------------------------------------------- */
.products-carousel-section {
  width: 100%;
  max-width: 440px;
  margin: 14px auto 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 5;
}

.carousel-section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-yellow);
  box-shadow: 0 0 8px var(--color-yellow-glow);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px var(--color-yellow); }
}

.carousel-badge-title {
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-yellow);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Viewport com Fade Translúcido nas Pontas (Esquerda e Direita) */
.products-carousel-viewport {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 6px 0 8px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
}

/* Pseudo-elementos de gradiente lateral para browsers antigos ou fallback */
.products-carousel-viewport::before,
.products-carousel-viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 36px;
  z-index: 3;
  pointer-events: none;
}

.products-carousel-viewport::before {
  left: 0;
  background: linear-gradient(to right, rgba(0, 7, 48, 0.95), transparent);
}

.products-carousel-viewport::after {
  right: 0;
  background: linear-gradient(to left, rgba(0, 7, 48, 0.95), transparent);
}

/* Trilha Contínua com Animação Infinita */
.products-carousel-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: smoothInfiniteScroll 20s linear infinite;
  will-change: transform;
}

/* Pausa suave ao passar o mouse ou segurar no mobile */
.products-carousel-track:hover,
.products-carousel-track:active {
  animation-play-state: paused;
}

@keyframes smoothInfiniteScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Card Individual do Produto */
.product-item-card {
  width: 130px;
  height: 156px;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(6, 26, 82, 0.88) 0%, rgba(2, 14, 52, 0.94) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 199, 0, 0.22);
  border-radius: 16px;
  padding: 10px 8px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 18px rgba(0, 4, 25, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
  cursor: pointer;
}

.product-item-card:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--color-yellow);
  box-shadow: 0 10px 24px rgba(0, 4, 25, 0.7), 0 0 16px rgba(255, 199, 0, 0.35);
}

.product-img-box {
  width: 100%;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-img-box img {
  max-width: 100%;
  max-height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s ease;
}

.product-item-card:hover .product-img-box img {
  transform: scale(1.06);
}

.product-info-box {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-name {
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.product-tag {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--color-yellow);
  opacity: 0.9;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

/* Link Inferior: Conheça nossa Fabrica */
.factory-link-container {
  margin-top: 4px;
  margin-bottom: 18px;
  text-align: center;
}

.factory-link {
  font-family: var(--font-primary);
  font-size: 0.875rem; /* ~14px */
  color: var(--text-white);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  padding: 4px 8px;
  transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

.factory-link:hover {
  transform: scale(1.03);
}

.factory-highlight {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--color-yellow);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  transition: color var(--transition-smooth);
}

.factory-link:hover .factory-highlight {
  color: var(--color-yellow);
}

/* --------------------------------------------------------------------------
   7. Seção do Vídeo com Moldura Amarela
   -------------------------------------------------------------------------- */
.video-container {
  width: 358px;
  max-width: 92%;
  margin-top: 18px;
  margin-bottom: 0;
}

.video-frame {
  width: 100%;
  height: 290px;
  min-height: 270px;
  background: #000832;
  border: 4.5px solid var(--color-yellow);
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  border-bottom: none;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 16px 36px rgba(0, 3, 20, 0.7),
    0 0 24px rgba(255, 199, 0, 0.25);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  cursor: pointer;
}

.video-frame:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 20px 45px rgba(0, 3, 20, 0.8),
    0 0 35px rgba(255, 199, 0, 0.45);
}

.video-frame:active {
  transform: scale(0.99);
}

.video-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-top-left-radius: 31px;
  border-top-right-radius: 31px;
  display: block;
  z-index: 1;
}

/* Overlay Superior com Dica e Botão de Som */
.video-controls-overlay {
  position: absolute;
  top: 14px;
  right: 14px;
  left: 14px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.video-tap-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(0, 10, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 199, 0, 0.6);
  color: var(--color-yellow);
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.sound-toggle-btn {
  pointer-events: auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 10, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid var(--color-yellow);
  color: var(--color-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition-smooth), background var(--transition-smooth), color var(--transition-smooth);
}

.sound-toggle-btn:hover {
  background: var(--color-yellow);
  color: var(--text-dark);
  transform: scale(1.08);
}

.sound-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   8. Modal Cinema / Vídeo Expandido ao Centro na Proporção Exata 9:16
   -------------------------------------------------------------------------- */

/* Trava de scroll enquanto o modal do vídeo estiver aberto */
body.is-cinema-open {
  overflow: hidden !important;
}

/* Container Fixed cobrindo todo o viewport */
.video-lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-lightbox-modal.is-active {
  display: flex;
  opacity: 1;
}

/* Backdrop Blur cobrindo 100% da tela e desfocando o conteúdo por trás */
.video-backdrop-blur {
  position: absolute;
  inset: 0;
  background: rgba(0, 4, 25, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1;
  cursor: pointer;
}

/* Card Centralizado em Proporção Estrita 9:16 sem Cortes */
.video-cinema-card {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  /* Proporção original 9:16 estrita */
  aspect-ratio: 9 / 16;
  /* Largura e altura auto-balanceadas para caber com folga perfeita em mobile e desktop */
  width: min(84vw, calc(80vh * 9 / 16), 405px);
  height: auto;
  max-height: 82vh;
  box-sizing: border-box;
  background: #000;
  border: 3.5px solid var(--color-yellow);
  border-radius: 26px;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.95),
    0 0 50px rgba(255, 199, 0, 0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translate(-50%, -50%) scale(0.88);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
  cursor: pointer;
}

.video-lightbox-modal.is-active .video-cinema-card {
  transform: translate(-50%, -50%) scale(1);
}

.video-lightbox-modal.is-closing .video-cinema-card {
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
}

.video-lightbox-modal.is-closing {
  opacity: 0;
}

/* Botão de Fechar no Topo Direito */
.cinema-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 10, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid var(--color-yellow);
  color: var(--color-yellow);
  font-size: 1.75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  transition: transform var(--transition-smooth), background var(--transition-smooth), color var(--transition-smooth);
}

.cinema-close-btn:hover {
  background: var(--color-yellow);
  color: var(--text-dark);
  transform: scale(1.1) rotate(90deg);
}

/* Wrapper Interno do Vídeo */
.cinema-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

/* Elemento de Vídeo 9:16 */
.cinema-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 23px;
}

/* Indicador Central de Play / Pause */
.cinema-center-indicator {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 8;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cinema-indicator-badge {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(0, 10, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid var(--color-yellow);
  color: var(--color-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.6), 0 0 24px rgba(255, 199, 0, 0.45);
}

/* Barra Inferior com Pílula de Áudio */
.cinema-controls-bar {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9;
  pointer-events: none;
}

.cinema-sound-pill {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 30px;
  background: rgba(0, 12, 50, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid var(--color-yellow);
  color: var(--color-yellow);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6), 0 0 18px rgba(255, 199, 0, 0.3);
  transition: transform var(--transition-smooth), background var(--transition-smooth), color var(--transition-smooth);
}

.cinema-sound-pill:hover {
  background: var(--color-yellow);
  color: var(--text-dark);
  transform: scale(1.05);
}

.cinema-sound-pill:active {
  transform: scale(0.97);
}

.cinema-sound-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   9. Ajustes Responsivos para Telas Mobile (< 576px)
   -------------------------------------------------------------------------- */
@media (max-width: 576px) {
  /* No mobile, arrasta a Img 02 para a lateral para não cobrir os textos */
  .float-item-mid-right {
    right: -42px;
    width: 215px;
    top: 418px;
  }
}

/* --------------------------------------------------------------------------
   10. Acessibilidade & Preferências do Usuário (Reduced Motion)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .floating-item,
  .play-pulse-ring {
    animation: none !important;
  }

  .action-btn,
  .social-btn,
  .video-frame,
  .catalog-menu {
    transition: none !important;
  }
}
