@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
  --primary: #F57C00;
  --primary-hover: #E65100;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --nav-bg: rgba(255, 255, 255, 0.95);
  --footer-bg: #0F172A;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(135deg, #e3f2fd 0%, #fff8e1 50%, #ffe0b2 100%);
  background-attachment: fixed;
  color: var(--text-dark);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* HEADER & NAV */
header {
  position: sticky;
  top: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: 15px 0;
}

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

#logo {
  height: 65px;
  transition: transform var(--transition);
}

#logo:hover {
  transform: scale(1.05);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  transition: color var(--transition);
}

nav a:hover {
  color: var(--primary);
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: width var(--transition);
}

nav a:hover::after {
  width: 100%;
}

/* HERO / BANNER */
#banner, .banner {
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

#banner img, .banner img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

/* SECTIONS */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* PRODUTOS GRID */
.produtos-grid, .produtos-relacionados {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.item-produto {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.03);
}

.item-produto:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 124, 0, 0.2);
}

.item-produto img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  transition: transform var(--transition);
}

.item-produto:hover img {
  transform: scale(1.08);
}

.item-produto h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

/* BUTTONS */
.btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--bg-white) !important;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(245, 124, 0, 0.3);
}

.btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(230, 81, 0, 0.4);
}

/* EMPRESA SECTION */
#empresa {
  background-color: var(--bg-white);
  border-radius: 24px;
  padding: 60px;
  box-shadow: var(--shadow-md);
  margin-top: 20px;
  margin-bottom: 60px;
}

#empresa p {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
}

#empresa ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

#empresa li {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 12px;
  font-size: 1rem;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.03);
}

#empresa li strong {
  color: var(--primary);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

/* PRODUTO DETALHE */
.produto-detalhe {
  max-width: 900px;
  margin: 60px auto;
  padding: 40px;
  background: var(--bg-white);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.produto-detalhe h2 {
  margin-bottom: 20px;
}

.produto-detalhe img {
  max-width: 100%;
  height: 350px;
  object-fit: contain;
  margin: 20px 0 40px;
  transition: transform var(--transition);
}

.produto-detalhe img:hover {
  transform: scale(1.05);
}

.produto-detalhe ul {
  list-style: none;
  text-align: left;
  background: var(--bg-light);
  padding: 30px;
  border-radius: 16px;
  margin-bottom: 30px;
  border: 1px solid rgba(0,0,0,0.03);
}

.produto-detalhe ul p {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: var(--text-muted);
}

.produto-detalhe ul p:last-child {
  border-bottom: none;
}

.produto-detalhe > p {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.produto-detalhe .btn {
  margin: 10px;
}

/* CONTATO SECTION */
.contato {
  max-width: 1000px;
  margin: 60px auto;
  background: var(--bg-white);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  padding: 60px;
}

.conteudo-contato {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  margin-top: 40px;
}

.contato-info {
  flex: 1;
  min-width: 300px;
}

.contato-info p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
}

.contato-info strong {
  color: var(--text-dark);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.formulario {
  flex: 1.5;
  min-width: 300px;
}

.formulario form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.formulario input,
.formulario textarea {
  width: 100%;
  padding: 15px 20px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  background-color: var(--bg-light);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.formulario input:focus,
.formulario textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.1);
}

.formulario button.btn {
  width: 100%;
  margin-top: 10px;
}

/* WHATSAPP BUTTON */
#whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  transition: transform var(--transition);
  animation: pulse 2s infinite;
}

#whatsapp img {
  width: 65px;
  height: 65px;
  filter: drop-shadow(0 4px 10px rgba(37, 211, 102, 0.4));
}

#whatsapp:hover {
  transform: scale(1.1);
  animation: none;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* FOOTER */
footer {
  background-color: var(--footer-bg);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
}

footer p {
  font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .container-header {
    flex-direction: column;
    gap: 15px;
  }
  
  nav ul {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  #empresa, .contato, .produto-detalhe {
    padding: 30px 20px;
    border-radius: 16px;
  }
  
  .slide {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }
  .slide-content {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .slide-content h2 {
    font-size: 2rem;
    text-align: center;
  }
  .slide-content h2::after {
    margin: 15px auto 0;
  }
  .slider-container {
    height: 550px;
  }
}

/* HERO SLIDER */
.hero-slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
  box-shadow: var(--shadow-md);
  padding: 0;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 450px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px;
  pointer-events: none;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.slide-content {
  flex: 1;
  max-width: 50%;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.8s ease-in-out 0.3s;
}

.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.slide-content h2 {
  text-align: left;
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.slide-content h2::after {
  margin: 15px 0 0;
}

.slide-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.slide-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.8s ease-in-out 0.4s;
}

.slide.active .slide-image {
  transform: scale(1);
  opacity: 1;
}

.slide-image img {
  max-width: 100%;
  max-height: 350px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-white);
  color: var(--text-dark);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: var(--primary);
  color: var(--bg-white);
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  background: rgba(15, 23, 42, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active, .dot:hover {
  background: var(--primary);
  transform: scale(1.2);
}
