/* ===== VARIÁVEIS E RESET ===== */
:root {
  --primary-color: #1a1a1a;
  --secondary-color: #ff6b00;
  --accent-color: #ff8c00;
  --dark-accent: #e05a00;
  --light-color: #f8f8f8;
  --dark-color: #121212;
  --text-color: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --gray: #e0e0e0;
  --success-color: #28a745;
  --whatsapp-color: #25D366;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: var(--primary-color);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 15px auto;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 50px;
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background-color: var(--dark-accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-btn {
  background-color: var(--whatsapp-color);
  margin-left: 15px;
}

.whatsapp-btn:hover {
  background-color: #128C7E;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: var(--transition);
  background-color: #000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 clamp(16px, 4vw, 60px);
}

header.scrolled {
  padding: 10px 0;
  background-color: rgba(0, 0, 0, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.logo-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.logo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.logo-title h1 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 2px;
  transition: var(--transition);
}

.logo-title p {
  color: var(--gray);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.chagas {
  color: var(--accent-color);
}

.loc {
  color: var(--gray);
}

/* NAVEGAÇÃO */
nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: var(--transition);
  padding: 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Oswald', sans-serif;
}

nav ul li a:hover {
  color: var(--accent-color);
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  bottom: 0;
  left: 0;
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

.header-cta {
  margin-left: 20px;
}

.phone-link {
  display: flex;
  align-items: center;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 50px;
  transition: var(--transition);
}

.phone-link i {
  margin-right: 8px;
  color: var(--accent-color);
}

.phone-link:hover {
  background-color: rgba(255, 140, 0, 0.2);
  transform: translateY(-2px);
}

/* MENU MOBILE */
.mobile-menu {
  display: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.menu-icon {
  width: 30px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-icon span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--white);
  transition: var(--transition);
  border-radius: 3px;
}

.mobile-menu.active .menu-icon span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu.active .menu-icon span:nth-child(2) {
  opacity: 0;
}

.mobile-menu.active .menu-icon span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ANIMAÇÕES */
.animated-logo,
.animated-title,
.animated-nav,
.animated-link {
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeInLeft 0.8s forwards;
}

.animated-logo {
  animation-delay: 0.2s;
}

.animated-title {
  animation-delay: 0.5s;
}

.animated-link.delay-1 { animation-delay: 0.8s; }
.animated-link.delay-2 { animation-delay: 1.0s; }
.animated-link.delay-3 { animation-delay: 1.2s; }
.animated-link.delay-4 { animation-delay: 1.4s; }
.animated-link.delay-5 { animation-delay: 1.6s; }

@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInTop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== HERO SECTION ===== */
.hero {
  margin-top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 70px;
  background-color: var(--dark-color);
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: url('/logos/logo-h.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  gap: 30px;
  position: relative;
}

.hero-content {
  max-width: 800px;
  width: 100%;
}

.hero-content h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-content h1 span {
  color: var(--accent-color);
  display: block;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--light-color);
  margin-bottom: 40px;
  line-height: 1.6;
  padding: 0 20px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  margin-top: 20px;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator span {
  display: block;
  width: 20px;
  height: 30px;
  border: 2px solid var(--white);
  border-radius: 10px;
  position: relative;
}

.scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 2px;
  animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
  0% {
    opacity: 1;
    transform: translateY(0) translateX(-50%);
  }
  100% {
    opacity: 0;
    transform: translateY(20px) translateX(-50%);
  }
}

/* ANIMAÇÕES HERO */
.hero-content h1,
.hero-subtitle,
.hero-buttons {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

.hero-content h1 {
  animation-delay: 0.8s;
}

.hero-subtitle {
  animation-delay: 1.0s;
}

.hero-buttons {
  animation-delay: 1.2s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== ABOUT SECTION ===== */
.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-img {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-img:hover img {
  transform: scale(1.05);
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-text p {
  margin-bottom: 15px;
  color: var(--text-color);
}

.qualifications {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.qualification-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qualification-item i {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.qualification-item span {
  font-weight: 500;
}

/* ===== MACHINES SECTION ===== */
.machine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.machine-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.machine-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.machine-img {
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
}

.machine-img img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.machine-card:hover .machine-img img {
  transform: scale(1.05);
}

.machine-info {
  padding: 20px;
}

.machine-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.machine-info p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.machine-specs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.machine-specs span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  color: var(--text-color);
}

.machine-specs i {
  color: var(--secondary-color);
}

.machine-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 20px;
  display: block;
}

/* ===== LOCATION SECTION ===== */
.location {
  background-color: var(--light-color);
}

.map-container {
  display: flex;
  gap: 30px;
  align-items: center;
}

#map {
  height: 400px;
  width: 60%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.location-info {
  width: 40%;
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.location-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.location-info p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.location-info i {
  color: var(--secondary-color);
  width: 20px;
  text-align: center;
}

/* ===== CONTACT SECTION ===== */
.contact-container {
  display: flex;
  gap: 50px;
}

.contact-form {
  flex: 1;
  background-color: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info {
  width: 350px;
  background-color: var(--primary-color);
  padding: 40px;
  border-radius: 10px;
  color: var(--white);
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  position: relative;
}

.contact-info h3::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: -10px;
  left: 0;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-item i {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-top: 5px;
}

.contact-item h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: -10px;
  left: 0;
}

.footer-col p {
  margin-bottom: 15px;
  color: var(--gray);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  color: var(--gray);
  font-size: 0.9rem;
}

.footer-bottom i {
  color: var(--secondary-color);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-container {
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .about-content,
  .map-container,
  .contact-container {
    flex-direction: column;
  }
  
  #map, 
  .location-info,
  .contact-info {
    width: 100%;
  }
  
  nav ul {
    gap: 20px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 15px;
  }
  
  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--dark-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 30px;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  }
  
  nav ul.show {
    right: 0;
  }
  
  nav ul li {
    width: 100%;
  }
  
  nav ul li a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .header-cta {
    display: none;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .logo-title h1 {
    font-size: 1.3rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero {
    min-height: 600px;
    padding-top: 70px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}