:root {
  --color-bg: #121214;
  --color-bg-secondary: #202024;
  --color-text: #E1E1E6;
  --color-text-secondary: #A8A8B3;
  --color-primary: #FFD800;
  --color-primary-glow: rgba(255, 216, 0, 0.5);

  --font-main: 'Outfit', sans-serif;

  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --blur: 10px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  /* cursor: none; Removed to keep default cursor visible */
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(18, 18, 20, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo span {
  color: var(--color-primary);
}

/* Main Nav Container */
.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
  gap: 2.5rem;
  /* Increased spacing */
  align-items: center;
  flex-wrap: nowrap;
  /* Prevent wrapping */
  white-space: nowrap;
  /* Keep text on one line */
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-secondary);
}

.nav-link:hover {
  color: var(--color-primary);
  text-shadow: 0 0 10px var(--color-primary-glow);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-left: 2rem;
}

.social-icons a {
  color: var(--color-text-secondary);
}

.social-icons a:hover {
  color: var(--color-primary);
}

/* Footer */
.main-footer {
  background: var(--color-bg-secondary);
  padding: 8rem 0 0;
  margin-top: -3rem;
  /* border-top: 1px solid var(--glass-border); Removed for angled look */
  clip-path: polygon(0 50px, 100% 0, 100% 100%, 0 100%);
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer-col h3,
.footer-col h4 {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.footer-col p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.contact-info p i {
  color: var(--color-primary);
  margin-right: 0.5rem;
}

.address-item {
  margin-bottom: 1.5rem;
}

.address-item strong {
  display: block;
  color: var(--color-text);
  margin-bottom: 0.2rem;
}

.address-item a {
  font-size: 0.8rem;
  color: var(--color-primary);
  text-decoration: underline;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: var(--color-text-secondary);
}

.footer-nav a:hover {
  color: var(--color-primary);
  padding-left: 5px;
}

.footer-bottom {
  background: #0d0d10;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background: var(--color-text);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
    z-index: 1002;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--color-bg-secondary);
    padding: 5rem 2rem;
    transition: 0.3s ease-in-out;
    border-left: 1px solid var(--glass-border);
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-icons {
    margin-left: 0;
    margin-top: 2rem;
  }
}

/* Full Bleed Product Rows (Migrated from produtos.php) */
.product-row-full {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

.product-img-full {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  /* Ensure visibility on mobile */
  overflow: hidden;
}

.product-img-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Optional: Slight border radius if desired via class */
  /* border-radius: 30px; Remove if strict full bleed is wanted, but kept based on user context */
}

.product-text-col {
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-bg);
  /* Ensure contrast */
  z-index: 1;
}

.product-text-wrapper {
  width: 100%;
  max-width: 600px;
  /* Half of standard 1200px container */
}

@media(max-width: 991px) {

  /* Mobile: Force Image to Top */
  .product-row-full .product-img-full {
    order: -1;
  }
}

@media(min-width: 992px) {
  .product-row-full {
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
  }

  /* Left Image, Right Text */
  .product-row-full.img-left .product-text-col {
    align-items: flex-start;
    /* Align content to the left (center) */
    padding-left: 4rem;
    /* Gap from image */
    padding-right: max(20px, calc((100vw - 1200px) / 2));
    /* Flexible padding */
  }

  /* Right Image, Left Text */
  .product-row-full.img-right .product-text-col {
    align-items: flex-end;
    /* Align content to the right (center) */
    padding-right: 4rem;
    /* Gap from image */
    padding-left: max(20px, calc((100vw - 1200px) / 2));
    /* Flexible padding */
    order: -1;
    /* Text First on Desktop DOM-wise logic helper */
  }

  /* Ensure strict grid ordering on desktop */
  .product-row-full.img-right .product-img-full {
    order: 2;
  }

  .product-row-full.img-right .product-text-col {
    order: 1;
  }
}

/* Product Page Specifics */
.product-section {
  padding: 0;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.product-img-full img {
  border-radius: 30px;
  /* Specific override for products if needed, mostly handled by class above if uncommented */
  display: block;
}

.product-img-full::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.product-content h3 {
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.product-content p {
  color: #ccc;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ddd;
  margin-bottom: 0.5rem;
}

.feature-list li i {
  color: var(--color-primary);
}

/* Swiper / Carousel Customizations */
.carousel-section {
  padding: 80px 0;
  text-align: center;
}

.swiper {
  width: 100%;
  padding: 50px 0;
}

.swiper-slide {
  width: 280px;
  height: auto;
}

.product-card {
  height: 100%;
  /* Remaining styles handled by card-glass utility mostly */
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-container {
  background: #fff;
  color: #333;
  width: 100%;
  max-width: 900px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-header {
  background: #f8f9fa;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  color: #111;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #999;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: #333;
}

.modal-body {
  overflow-y: auto;
}

.modal-img {
  width: 100%;
  border-radius: 8px;
  background: #eee;
  height: 300px;
  object-fit: cover;
}

.modal-specs h4 {
  color: var(--color-primary);
  /* Or darker color since modal is white? */
  color: #d4a000;
  /* Darker gold for white bg */
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.modal-specs ul {
  list-style: none;
  margin-bottom: 2rem;
}

.modal-specs li {
  margin-bottom: 0.5rem;
  color: #555;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}

.modal-specs li strong {
  color: #111;
  margin-right: 0.5rem;
}

@media (max-width: 768px) {
  .modal-body {
    grid-template-columns: 1fr;
  }

  .modal-img {
    height: 200px;
  }
}

/* Page Success Layout */
.page-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
}