/* ========================================
   LOCAR - Sistema de Design e Estilos Globais
   ======================================== */

/* Reset e Box Sizing */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Prevenir overflow horizontal */
* {
  max-width: 100%;
}

/* Variáveis CSS - Design System */
:root {
  /* Cores HSL - Modo Claro */
  --background: 0 0% 100%;
  --foreground: 0 0% 15%;

  --primary: 37 95% 54%;
  --primary-foreground: 0 0% 100%;

  --secondary: 28 93% 55%;
  --secondary-foreground: 0 0% 100%;

  --muted: 0 0% 96%;
  --muted-foreground: 0 0% 45%;

  --accent: 28 93% 55%;
  --accent-foreground: 0 0% 100%;

  --card: 0 0% 100%;
  --card-foreground: 0 0% 15%;

  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 100%;

  --border: 0 0% 90%;
  --input: 0 0% 90%;
  --ring: 37 95% 54%;

  --button-primary: 126 55% 55%;

  /* Radius */
  --radius: 0.75rem;

  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-elegant: 0 10px 30px -10px hsl(37 95% 54% / 0.3);
  --shadow-glow: 0 0 40px hsl(37 95% 54% / 0.2);

  /* Transições */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tipografia Base */
html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.5;
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Container Base */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Utilitários de Gradiente */
.gradient-text {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-white {
  color: white;
}

.gradient-bg {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

.header-logo {
  height: 6rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: white;  /* Branco no início */
  font-weight: 500;
  transition: var(--transition-smooth);
  cursor: pointer;
}

/* Menu preto quando scrollar */
.header.scrolled .nav-link {
  color: hsl(var(--foreground));
}

.nav-link:hover {
  color: hsl(var(--primary));
}

.btn-contact-header {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-block;
}

.btn-contact-header:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-elegant);
}

/* Menu Mobile */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* Menu toggle preto quando scrollar */
.header.scrolled .menu-toggle span {
  background: hsl(var(--foreground));
}

/* Animação do X quando menu aberto */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: url('../assets/hero-betoneira.jpg');
  background-size: cover;
  background-position: center;
  padding: 8rem 1rem 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  max-width: 900px;
  animation: fadeInUp 0.6s ease-out;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: hsl(var(--button-primary));
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  border: none;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  border: 2px solid white;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: white;
  color: hsl(var(--foreground));
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounce 2s infinite;
  cursor: pointer;
}

.mouse-container {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.5rem;
}

.mouse-scroll {
  width: 0.25rem;
  height: 0.75rem;
  background: hsl(var(--primary));
  border-radius: 0.25rem;
  animation: scroll-animation 2s infinite;
}

@keyframes scroll-animation {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.5;
    transform: translateY(0.5rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
  padding: 5rem 1rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   EQUIPMENT (Cards Grid)
   ======================================== */
.equipment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.equipment-card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  border: 1px solid hsl(var(--border));
  padding: 12px;
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

.equipment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.equipment-image {
  width: 100%;
  height: 12rem;
  min-height: 12rem;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.equipment-card:hover .equipment-image {
  transform: scale(1.1);
}

.equipment-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.equipment-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  min-height: 4rem;
  display: flex;
  align-items: center;
  line-height: 1.3;
}

.equipment-description {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
  font-size: 0.875rem;
  flex-grow: 1;
}

.equipment-features {
  list-style: none;
  margin-bottom: 1.5rem;
  padding: 0;
  flex-grow: 1;
}

.equipment-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid hsl(var(--border));
  font-size: 0.875rem;
}

.equipment-features li:last-child {
  border-bottom: none;
}

.equipment-features li::before {
  content: '✓';
  color: hsl(var(--button-primary));
  font-weight: bold;
  margin-right: 0.5rem;
}

.btn-equipment {
  width: 100%;
  background: hsl(var(--button-primary));
  color: white;
  padding: 0.75rem;
  border-radius: var(--radius);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-equipment:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* Carrossel de Equipamentos */
.equipment-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0;
}

.equipment-carousel-container {
  overflow: hidden;
  width: 100%;
  padding: 0.5rem 0;
  position: relative;
  box-sizing: border-box;
}

.equipment-carousel {
  display: flex;
  gap: 2rem;
  scroll-behavior: smooth;
  transition: transform 0.5s ease;
  align-items: stretch;
  will-change: transform;
  padding: 0;
  margin: 0;
}

.equipment-carousel .equipment-card {
  min-width: 320px;
  max-width: 320px;
  width: 320px;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Botões do Carrossel */
.carousel-btn {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  min-width: 3.5rem;
  min-height: 3.5rem;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
  z-index: 10;
  align-self: center;
}

.carousel-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

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

.carousel-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Responsivo */
@media (max-width: 1200px) {
  .equipment-carousel-wrapper {
    max-width: 900px;
  }

  .equipment-carousel .equipment-card {
    min-width: 280px;
    max-width: 280px;
  }

  .carousel-btn {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    min-height: 3rem;
  }
}

@media (max-width: 900px) {
  .equipment-carousel-wrapper {
    max-width: 600px;
    gap: 1rem;
  }

  .equipment-carousel .equipment-card {
    min-width: 260px;
    max-width: 260px;
  }

  .carousel-btn {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
  }

  .carousel-btn svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

@media (max-width: 600px) {
  .equipment-carousel-wrapper {
    max-width: 100%;
  }

  .equipment-carousel .equipment-card {
    min-width: 280px;
    max-width: 280px;
  }
}

.equipment-cta {
  background: #fffaf4;
  max-width: 700px;
  width: calc(100% - 2rem);
  color: white;
  border: 1px solid #f9a41a;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--radius);
  margin: 4rem auto 0;
  position: relative;
  clear: both;
  display: block;
}

.equipment-cta h3 {
  color: #262626;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.equipment-cta p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #737373;
}

.btn-cta-catalog {
  background: #4ccb5a;
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  border: none;
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-block;
  width: 100%;
}

.btn-cta-catalog:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* ========================================
   ABOUT
   ======================================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-features {
  list-style: none;
  padding: 0;
}

.about-features li {
  padding: 0.75rem 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-features li::before {
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23f78522" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="m9 12 2 2 4-4"/></svg>');
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.btn-about-cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(249, 164, 26, 0.3);
}

.btn-about-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 164, 26, 0.4);
}

.about-image-container {
  position: relative;
}

.about-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
}

.about-blur-1,
.about-blur-2 {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.2;
  z-index: -1;
}

.about-blur-1 {
  top: -50px;
  right: -50px;
  background: hsl(var(--primary));
}

.about-blur-2 {
  bottom: -50px;
  left: -50px;
  background: hsl(var(--secondary));
}

/* ========================================
   SERVICES
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  background: hsl(var(--card));
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  transition: var(--transition-smooth);
  text-align: left;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: hsl(var(--primary));
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.5rem 0;
}

.service-icon svg {
  width: 2rem;
  height: 2rem;
  color: white;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  line-height: 1.6;
}

/* ========================================
   BENEFITS
   ======================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.benefit-card {
  background: hsl(var(--card));
  padding: 2rem;
  border-radius: var(--radius);
  border: 2px solid hsl(var(--border));
  transition: var(--transition-smooth);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.benefit-card:hover {
  border-color: hsl(var(--primary));
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
}

.benefit-icon svg {
  width: 2rem;
  height: 2rem;
  color: white;
}

.benefit-text h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.benefit-text p {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  font-size: 1.1rem;
}

/* ========================================
   CONTACT
   ======================================== */
.contact-grid-wrapper {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 3rem;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.contact-card {
  background: #fffaf4;
  color: hsl(var(--foreground));
  padding: 1.5rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  border: 2px solid rgba(249, 164, 26, 0.2);
}

.contact-card:hover {
  transform: scale(1.05);
  border-color: #f9a41a;
  background: linear-gradient(135deg,
    rgba(249, 164, 26, 0.05),
    rgba(246, 109, 37, 0.05));
}

.contact-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-icon-wrapper {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.contact-icon-wrapper svg {
  width: 1.75rem;
  height: 1.75rem;
  color: white;
  stroke-width: 2;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: hsl(var(--foreground));
}

.contact-card-text {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
  word-break: break-all;
}

.contact-cta {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(249, 164, 26, 0.2);
}

.contact-cta-text {
  font-size: 1rem;
  font-weight: 400;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.btn-whatsapp-green {
  background: hsl(var(--button-primary));
  color: white;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(76, 203, 90, 0.3);
}

.btn-whatsapp-green svg {
  width: 1.25rem;
  height: 1.25rem;
}

.btn-whatsapp-green:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(76, 203, 90, 0.4);
  background: hsl(126 55% 50%);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  padding: 3rem 1rem 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto 2rem;
}

.footer-logo {
  height: 8rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-description {
  margin-top: 1rem;
  opacity: 0.8;
  line-height: 1.6;
}

.footer-contacts {
  list-style: none;
  padding: 0;
}

.footer-contacts li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-contacts svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: #f9a41a;
}

.footer-contacts a {
  color: hsl(var(--background));
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-contacts a:hover {
  color: hsl(var(--primary));
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
}

/* ========================================
   WHATSAPP BUTTON
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  width: 4rem;
  height: 4rem;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-2xl);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 2.5rem;
  height: 2.5rem;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */

/* Tablets */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 4rem;
  }

  .section-title {
    font-size: 3rem;
  }

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

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

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-content {
    grid-template-columns: 1fr 1fr;
  }

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

/* Desktop */
@media (min-width: 1024px) {
  .hero h1 {
    font-size: 5rem;
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile - Menu Responsivo */
@media (max-width: 767px) {
  /* Base Mobile Fix */
  html,
  body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .section,
  .hero,
  .header,
  .footer {
    width: 100%;
    max-width: 100vw;
  }

  /* Header */
  .header-container {
    justify-content: space-between;
    align-items: center;
  }

  .menu-toggle {
    display: block;
    order: 2;
    margin-left: auto;
  }

  .header-logo {
    height: 4rem;
    order: 1;
  }

  nav {
    order: 3;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 5rem 2rem;
    gap: 1rem;
    transition: left 0.3s ease-in-out;
    box-shadow: var(--shadow-2xl);
    z-index: 1000;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu .nav-link {
    color: hsl(var(--foreground));
    font-size: 1.25rem;
    padding: 0.5rem 0;
  }

  .btn-contact-header {
    display: none;
  }

  /* Hero Section */
  .hero {
    padding: 6rem 1rem 8rem;
    min-height: auto;
    width: 100%;
    max-width: 100vw;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-bottom: 4rem;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
    word-wrap: break-word;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }

  /* Container */
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
  }

  /* Section */
  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  /* Equipment Carousel Mobile */
  .equipment-carousel-wrapper {
    gap: 0.5rem;
  }

  .equipment-carousel .equipment-card {
    min-width: 100%;
    max-width: 100%;
  }

  .equipment-card {
    padding: 1.5rem;
  }

  .equipment-image {
    height: 200px;
  }

  .equipment-title {
    font-size: 1.25rem;
  }

  .equipment-description {
    font-size: 0.875rem;
  }

  .btn-equipment {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }

  .equipment-cta {
    padding: 2rem 1.5rem;
    width: 100%;
  }

  .equipment-cta h3 {
    font-size: 1.5rem;
  }

  .equipment-cta p {
    font-size: 0.875rem;
  }

  .btn-cta-catalog {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }

  /* About Section */
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .about-features li {
    font-size: 0.875rem;
    padding: 0.5rem 0;
  }

  .btn-about-cta {
    width: 100%;
    text-align: center;
    padding: 1rem;
    margin-top: 1.5rem;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .service-card h3 {
    font-size: 1.25rem;
  }

  .service-card p {
    font-size: 0.875rem;
  }

  /* Benefits Grid */
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefit-card {
    padding: 1.5rem;
  }

  .benefit-icon {
    width: 3rem;
    height: 3rem;
  }

  .benefit-icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .benefit-text h3 {
    font-size: 1.25rem;
  }

  .benefit-text p {
    font-size: 0.875rem;
  }

  /* Contact Section */
  .contact-grid-wrapper {
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-card {
    padding: 1.25rem;
  }

  .contact-icon-wrapper {
    width: 3rem;
    height: 3rem;
  }

  .contact-icon-wrapper svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .contact-card-title {
    font-size: 1rem;
  }

  .contact-card-text {
    font-size: 0.8rem;
    word-break: break-word;
  }

  .contact-cta {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }

  .contact-cta-text {
    font-size: 0.875rem;
  }

  .btn-whatsapp-green {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    gap: 0.375rem;
  }

  .btn-whatsapp-green svg {
    width: 1rem;
    height: 1rem;
  }

  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-logo {
    height: 3rem;
  }

  .footer-description {
    font-size: 0.875rem;
  }

  .footer-contacts {
    text-align: center;
  }

  .footer-contacts li {
    justify-content: center;
    font-size: 0.875rem;
  }

  .footer-bottom {
    font-size: 0.75rem;
    padding-top: 1rem;
  }

  /* WhatsApp Float Button */
  .whatsapp-float {
    width: 3.5rem;
    height: 3.5rem;
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .whatsapp-float svg {
    width: 1.75rem;
    height: 1.75rem;
  }

  /* Scroll Indicator */
  .scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .mouse-container {
    margin-top: 0;
  }

  /* Utility Classes */
  .gradient-text {
    font-size: inherit;
  }
}

/* Extra Small Devices */
@media (max-width: 375px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .container {
    padding: 0 0.75rem;
  }

  .contact-grid-wrapper {
    padding: 1rem 0.75rem;
  }

  .btn-primary,
  .btn-secondary,
  .btn-about-cta,
  .btn-whatsapp-green {
    font-size: 0.875rem;
    padding: 0.875rem 1rem;
  }
}
