/* Reset e Variáveis */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #00ff88;
  --secondary-color: #0066ff;
  --dark-bg: #0a0a0a;
  --dark-secondary: #1a1a1a;
  --text-light: #ffffff;
  --text-gray: #b0b0b0;
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-green: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--dark-bg);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ScrollSmoother removido - sistema funciona apenas com ScrollTrigger */

/* Loading Screen */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.logo-loader {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  animation: pulse 2s ease-in-out infinite;
}

.logo-loader img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.loader-text {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.2em;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 1rem 0;
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 4px 20px rgba(0, 255, 136, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-green);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform, filter;
  transform-origin: center center;
  transition: filter 0.3s ease;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 30%,
    rgba(0, 0, 0, 0.2) 70%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
}

.hero-text-centered {
  max-width: 1200px;
  width: 100%;
}

.hero-logo {
  width: 200px;
  height: 200px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logoFloat 3s ease-in-out infinite;
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-title-main {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  font-family: "Inter", sans-serif;
  position: relative;
}

.text-gradient-animated {
  color: #ffffff;
  display: inline-block;
  position: relative;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  animation: subtleGlow 4s ease-in-out infinite;
}

.text-gradient-animated::before {
  content: "GRUPO TRIGOLAC";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(107, 156, 90, 0.3) 30%,
    rgba(197, 236, 184, 0.5) 50%,
    rgba(107, 156, 90, 0.3) 70%,
    transparent 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
  z-index: -1;
}

@keyframes subtleGlow {
  0%,
  100% {
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2),
      0 0 10px rgba(107, 156, 90, 0.1);
  }
  50% {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3),
      0 0 20px rgba(197, 236, 184, 0.2);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.hero-subtitle-main {
  font-size: 1.25rem;
  color: #ffffff;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  font-family: "Inter", sans-serif;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 3rem;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-green);
  color: var(--dark-bg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--dark-bg);
  transform: translateY(-2px);
}

.hero-image {
  position: relative;
  perspective: 1000px;
}

.image-3d {
  position: relative;
  transform-style: preserve-3d;
}

.main-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 255, 136, 0.2);
  transition: transform 0.3s ease;
}

.image-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: var(--gradient-green);
  border-radius: 30px;
  opacity: 0.3;
  filter: blur(30px);
  z-index: -1;
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.05);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    top: 10px;
    opacity: 1;
  }
  100% {
    top: 30px;
    opacity: 0;
  }
}

/* Sections */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-dark {
  background: var(--dark-secondary);
}

.section-gradient {
  background: linear-gradient(
    180deg,
    var(--dark-bg) 0%,
    var(--dark-secondary) 100%
  );
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(0, 255, 136, 0.1);
  color: var(--primary-color);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-gray);
}

/* About Cards */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.about-card {
  background: var(--dark-secondary);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(0, 255, 136, 0.1);
  position: relative;
  overflow: hidden;
  /* Animações controladas apenas pelo GSAP */
}

/* Efeitos hover removidos - agora controlados apenas pelo GSAP */

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-bg);
}

.card-icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 2;
  /* Animações controladas apenas pelo GSAP */
}

.card-icon svg path,
.card-icon svg polyline {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.about-card p {
  color: var(--text-gray);
  line-height: 1.8;
}

/* Products Section */
.products-showcase {
  margin-bottom: 4rem;
}

.product-main {
  margin-bottom: 4rem;
}

.product-image-3d {
  perspective: 1500px;
  display: flex;
  justify-content: center;
}

.product-card-3d {
  position: relative;
  transform-style: preserve-3d;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 255, 136, 0.2);
}

.product-img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 3rem 2rem 2rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.product-card-3d:hover .product-overlay {
  transform: translateY(0);
}

.product-info h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.product-info p {
  color: var(--text-gray);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.product-item {
  background: var(--dark-bg);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 255, 136, 0.1);
}

.product-item:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
}

.product-item-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.product-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-item:hover .product-item-image img {
  transform: scale(1.1);
}

.product-item-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.product-badge {
  background: var(--gradient-green);
  color: var(--dark-bg);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}

.product-item-content {
  padding: 2rem;
}

.product-item-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.product-item-content p {
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.product-features {
  list-style: none;
}

.product-features li {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.product-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.detail-card {
  background: var(--dark-bg);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(0, 255, 136, 0.1);
  transition: all 0.3s ease;
}

.detail-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.detail-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.detail-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.detail-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* Technology Section */
.tech-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tech-visual {
  position: relative;
  height: 500px;
}

.tech-3d-container {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1200px;
}

.tech-element {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s ease;
  border: 2px solid var(--primary-color);
}

.tech-element img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  padding: 1rem;
  text-align: center;
  color: var(--primary-color);
  font-weight: 600;
}

.tech-element[data-tech="material"] {
  top: 0;
  left: 0;
  transform: rotateY(-15deg) rotateX(10deg);
}

.tech-element[data-tech="process"] {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateY(0deg) rotateX(0deg) scale(1.2);
  z-index: 2;
}

.tech-element[data-tech="result"] {
  bottom: 0;
  right: 0;
  transform: rotateY(15deg) rotateX(-10deg);
}

.tech-element:hover {
  transform: scale(1.1) !important;
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0, 255, 136, 0.4);
}

.tech-content {
  position: relative;
}

.tech-step {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tech-step.active {
  display: block;
}

.tech-step h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.tech-step p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.tech-step ul {
  list-style: none;
}

.tech-step li {
  color: var(--text-light);
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.tech-step li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sustainability Section */
.sustainability-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.stat-card {
  background: var(--dark-bg);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(0, 255, 136, 0.1);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
}

.stat-number {
  font-size: 4rem;
  font-weight: 900;
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-gray);
  font-size: 1rem;
}

.sustainability-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.sustainability-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.sustainability-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.sustainability-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.sustainability-text p {
  color: var(--text-gray);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.impact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.impact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.impact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.impact-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.impact-item p {
  color: var(--text-gray);
  margin: 0;
  font-size: 0.95rem;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-bg);
  flex-shrink: 0;
  box-shadow: 0 10px 25px rgba(0, 255, 136, 0.2);
}

.contact-icon svg {
  width: 26px;
  height: 26px;
}

.contact-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.contact-item p {
  color: var(--text-gray);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--dark-bg);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 10px;
  color: var(--text-light);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Footer */
.footer {
  background: var(--dark-bg);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(0, 255, 136, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

.footer-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-link {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 255, 136, 0.1);
  color: var(--text-gray);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title-main {
    font-size: 4.5rem;
  }

  .hero-subtitle-main {
    font-size: 1.25rem;
  }

  .tech-showcase {
    grid-template-columns: 1fr;
  }

  .sustainability-content {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-info {
    align-items: center;
  }

  .contact-item {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .contact-content {
    gap: 3rem;
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
  }

  .contact-icon {
    width: 44px;
    height: 44px;
    box-shadow: 0 8px 18px rgba(0, 255, 136, 0.2);
  }

  .contact-icon svg {
    width: 22px;
    height: 22px;
  }

  .contact-item h4 {
    font-size: 1.1rem;
  }

  .contact-item p {
    font-size: 0.95rem;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--dark-bg);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hero-title-main {
    font-size: 3rem;
  }

  .hero-subtitle-main {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.filial-card {
  background: var(--dark-secondary);
  border-radius: 20px;
  overflow: hidden;
}

.filial-card video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block; /* remove espaço branco */
}

.filial-info {
  background: var(--dark-secondary);
  padding: 1rem;
  text-align: center;
}

.filial-info p {
  color: var(--text-light);
  font-size: 1rem;
}

/* ===== MAPA BONITO (FILIAIS) ===== */
.section-mapa {
  padding-top: 3.5rem;
}

.mapa-card {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 136, 0.12);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  background: rgba(26, 26, 26, 0.65);
}

.mapa-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9; /* responsivo */
  background: var(--dark-secondary);
}

.mapa-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;

  /* deixa mais “premium” no fundo escuro */
  filter: saturate(1.05) contrast(1.05);
}

.mapa-footer {
  padding: 14px 18px;
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mapa-link {
  text-decoration: none;
  font-weight: 600;
  color: var(--primary-color);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}

.mapa-link:hover {
  transform: translateY(-1px);
  background: rgba(0, 255, 136, 0.12);
}

/* Ajuste do topo da Home da página Filiais */
.section-home {
  padding-top: 200px; /* desce o conteúdo */
  padding-bottom: 120px;
}

/* Aproxima FILIAIS da Home */
.section-filiais {
  margin-top: -140px;
}

/* ===== Fundo da Home (GRUPO TRIGOLAC) ===== */
.section-home{
  position: relative;

  /* OBS: troquei .jpg por .png e reduzi a escuridão */
  background:
    linear-gradient(
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.55)
    ),
    url("images/images/bg-trigo.png") center / cover no-repeat;
}

/* Garante que o texto fique acima do fundo */
.section-home .container{
  position: relative;
  z-index: 2;
}

