/* 
  Tema: Invocado, Premium, Náutico 
  Cores Principais: Preto, Cinza (Inox), Azul Petróleo
*/

:root {
  /* Cores Base */
  --bg-color: #050505;
  /* Preto profundo */
  --bg-surface: #121212;
  /* Fundo de cards/seções levemente mais claro */
  --bg-surface-light: #1a1a1a;

  /* Azul Petróleo */
  --petroleum-blue: #005f73;
  --petroleum-blue-light: #0a9396;
  --petroleum-blue-glow: rgba(0, 95, 115, 0.5);

  /* Inox / Metálicos */
  --inox-light: #e0e0e0;
  --inox-mid: #b8b8b8;
  --inox-dark: #8a8a8a;

  /* Gradiente Inox para Textos ou Fundo */
  --gradient-inox: linear-gradient(135deg, #e0e0e0 0%, #b8b8b8 20%, #f5f5f5 40%, #8a8a8a 60%, #e0e0e0 80%, #9e9e9e 100%);
  --gradient-dark-metal: linear-gradient(145deg, #1c1c1c 0%, #0a0a0a 100%);

  /* Tipografia */
  --text-main: #f0f0f0;
  --text-muted: #9e9e9e;

  /* Espaçamento */
  --container-width: 1200px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1,
h2,
h3,
h4 {
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.text-highlight {
  color: var(--petroleum-blue-light);
  /* Efeito metálico azulado */
  background: linear-gradient(to right, var(--petroleum-blue-light), #48cae4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-inox {
  background: var(--gradient-inox);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Botões */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: var(--petroleum-blue);
  color: #fff;
  border: 1px solid var(--petroleum-blue-light);
  box-shadow: 0 0 15px rgba(0, 95, 115, 0.4);
}

.btn-primary:hover {
  background-color: var(--petroleum-blue-light);
  box-shadow: 0 0 25px rgba(10, 147, 150, 0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--inox-light);
  border: 1px solid var(--inox-mid);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--inox-light);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 2rem;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--inox-mid);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--inox-light);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Dropdown Menu Styling */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.dropdown-arrow {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.5rem 0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu a {
  display: block;
  padding: 0.7rem 1.2rem;
  font-size: 0.85rem;
  color: var(--inox-mid);
  white-space: nowrap;
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background: rgba(10, 147, 150, 0.18);
  color: var(--inox-light);
  padding-left: 1.5rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: var(--inox-light);
  transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--petroleum-blue-glow) 0%, rgba(5, 5, 5, 0) 70%);
  z-index: 0;
  opacity: 0.4;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(10, 147, 150, 0.1);
  border: 1px solid var(--petroleum-blue);
  color: var(--petroleum-blue-light);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  position: relative;
}

.jack-product-stage {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.jack-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.svg-shine-beam {
  transition: transform 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translate(0, 0);
  mix-blend-mode: color-dodge;
  opacity: 0.95;
}

.hero-image:hover .svg-shine-beam {
  transform: translate(750px, 0);
}

.image-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 20px;
  background: radial-gradient(ellipse, rgba(10, 147, 150, 0.5) 0%, transparent 70%);
  filter: blur(10px);
}

/* ==========================================================================
   Trust / Quality Section
   ========================================================================== */
.trust-section {
  padding: 5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: var(--gradient-dark-metal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.trust-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: skewX(-25deg);
  transition: 0.7s;
}

.trust-item:hover::before {
  left: 150%;
}

.trust-item img {
  height: 120px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

.trust-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--inox-light);
}

.trust-item p {
  color: var(--text-muted);
}

/* ==========================================================================
   Product Highlight (Hidráulico)
   ========================================================================== */
.product-highlight {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  background-color: #050505;
}

.section-video-bg {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 52%;
  height: 85%;
  z-index: 0;
  pointer-events: none;
  border-radius: 20px 0 0 20px;
  overflow: hidden;
}

.section-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: brightness(0.85) contrast(1.15);
  border-radius: 20px 0 0 20px;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 60% 50%,
    rgba(5, 5, 5, 0.15) 0%,
    rgba(5, 5, 5, 0.75) 70%,
    #050505 100%
  );
  z-index: 1;
}

.highlight-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.highlight-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 95, 115, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.highlight-content h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.specs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.spec-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(10, 147, 150, 0.1);
  border: 1px solid var(--petroleum-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--petroleum-blue-light);
}

.spec-icon svg {
  width: 24px;
  height: 24px;
}

.spec-item h4 {
  font-size: 1.2rem;
  color: var(--inox-light);
  margin-bottom: 0.25rem;
}

.spec-item p {
  color: var(--text-muted);
}

/* ==========================================================================
   Mechanical Series
   ========================================================================== */
.mechanical-series,
.accessories-series {
  padding: 8rem 0;
  background: var(--bg-surface);
  position: relative;
}

.accessories-series {
  background: var(--bg-surface-light);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--gradient-dark-metal);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0);
  transition: var(--transition);
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-10px);
  background: #151515;
}

.product-card:hover::after {
  box-shadow: inset 0 0 0 1px var(--petroleum-blue);
}

.card-image {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-image img {
  max-height: 100%;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.6));
  transition: transform 0.3s ease;
}

.product-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content h3 {
  font-size: 1.5rem;
  color: var(--inox-light);
  margin-bottom: 0.5rem;
}

.card-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.hp-options {
  margin: 1.2rem 0;
  text-align: left;
}

.hp-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--petroleum-blue-light);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.hp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hp-badge {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  background: rgba(10, 147, 150, 0.12);
  border: 1px solid rgba(10, 147, 150, 0.4);
  color: var(--inox-light);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.hp-badge:hover {
  background: rgba(10, 147, 150, 0.25);
  border-color: var(--petroleum-blue-light);
}

.card-features {
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  font-size: 0.9rem;
  color: var(--inox-mid);
}

.card-features li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.card-features li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  min-width: 6px;
  background-color: var(--petroleum-blue-light);
  border-radius: 50%;
  margin-top: 6px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: #000;
  padding-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 50px;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--inox-light);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--petroleum-blue-light);
}

.footer-contact p {
  color: var(--text-muted);
}

.footer-bottom {
  background: #050505;
  padding: 1.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  color: var(--inox-dark);
  font-size: 0.9rem;
}

/* ==========================================================================
   Animations & Reveals
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpAnim 0.8s forwards;
}

.fade-in {
  opacity: 0;
  animation: fadeInAnim 1s forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.delay-4 {
  animation-delay: 0.8s;
}

@keyframes fadeUpAnim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInAnim {
  to {
    opacity: 1;
  }
}

/* Intersection Observer Classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 4rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero p {
    margin: 0 auto 2rem;
  }

  .highlight-container {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Mobile Menu Active */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #050505;
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7);
}