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

:root {
  /* Color Palette */
  --primary-color: #0b132b;
  --secondary-color: #1c2541;
  --accent-color: #3a506b;
  --highlight-color: #5bc0be;
  --text-main: #f0f4ef;
  --text-muted: #aab2bd;
  --bg-color: #0f172a;
  --card-bg: rgba(28, 37, 65, 0.7);
  
  /* Utilities */
  --glass-bg: rgba(15, 23, 42, 0.85);
  --glass-border: rgba(255, 255, 255, 0.1);
  --transition-speed: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 240px;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Top Announcement Bar --- */
.top-bar {
  background: linear-gradient(135deg, var(--highlight-color) 0%, #00d2ff 100%);
  color: #0b132b;
  text-align: center;
  padding: 8px 10px;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1002;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* --- Header & Navigation --- */
header {
  position: fixed;
  top: 35px;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: all var(--transition-speed) ease;
}

.header-slogan {
  flex: 1;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 0 2rem;
}

.header-slogan span {
  color: var(--highlight-color);
}

header.scrolled {
  padding: 1rem 5%;
  background: rgba(11, 19, 43, 0.95);
}

.logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 140px;
  object-fit: contain;
  border-radius: 10px;
  transition: all var(--transition-speed);
  animation: float 4s ease-in-out infinite;
}

.logo-link:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px rgba(91, 192, 190, 0.5));
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.5rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color var(--transition-speed);
}

.logo-link:hover img {
  transform: scale(1.05);
}

.logo-link:hover .logo-text {
  color: var(--highlight-color);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color var(--transition-speed);
}

.nav-links li a:hover {
  color: var(--highlight-color);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--highlight-color);
  transition: width var(--transition-speed) ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
}

/* --- Hero Section --- */
#hero {
  height: 100vh;
  background: linear-gradient(rgba(11, 19, 43, 0.5), rgba(15, 23, 42, 0.65)), url('../images/slider.jpg') center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
}

.hero-content {
  max-width: 800px;
  animation: fadeInDown 1s ease-out forwards;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #ffffff, var(--highlight-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--highlight-color);
  color: #000;
  text-decoration: none;
  font-weight: 700;
  border-radius: 50px;
  transition: all var(--transition-speed);
  border: 2px solid var(--highlight-color);
}

.btn:hover {
  background: transparent;
  color: var(--highlight-color);
  box-shadow: 0 0 20px rgba(91, 192, 190, 0.4);
  transform: translateY(-3px);
}

/* --- Sections General --- */
section {
  padding: 5rem 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #fff;
}

.section-title span {
  color: var(--highlight-color);
}

/* --- About Section --- */
#sobre {
  background: var(--primary-color);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* --- Products Section --- */
#produtos {
  background: var(--bg-color);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--highlight-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  border-color: rgba(91, 192, 190, 0.3);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-icon {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--highlight-color) 0%, #00d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  display: inline-block;
  transition: all 0.4s ease;
}

.product-card:hover .product-icon {
  animation: icon-bounce 0.6s ease;
  filter: drop-shadow(0 0 10px rgba(91, 192, 190, 0.8));
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.product-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.product-card a {
  color: var(--highlight-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: color var(--transition-speed);
}

.product-card a:hover {
  color: #fff;
}

/* --- Contact Section --- */
#contato {
  background: var(--secondary-color);
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-around;
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 15px;
  border: 1px solid var(--glass-border);
}

.contact-info {
  flex: 1;
  min-width: 250px;
}

.contact-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.contact-item {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, var(--highlight-color) 0%, #00d2ff 100%);
  padding: 1rem;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(91, 192, 190, 0.3);
  transition: all 0.4s ease;
}

.contact-item:hover i {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 8px 25px rgba(91, 192, 190, 0.6);
}

/* --- Footer --- */
footer {
  background: var(--primary-color);
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
  color: var(--text-muted);
}

/* --- Animations --- */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

@keyframes icon-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2) rotate(8deg); }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Media Queries --- */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    flex-direction: column;
    background: var(--primary-color);
    padding-top: 6rem;
    padding-left: 2rem;
    transition: 0.4s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
  }

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

  .hamburger {
    display: block;
    z-index: 1001;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .header-slogan {
    display: none;
  }
}
