/* ========================================
   SYSTEMTEC INFORMÁTICA — Stylesheet
   Paleta: Preto #000000 | Verde #A9FF3A | Branco #FFFFFF
   ======================================== */

/* ===== VARIÁVEIS ===== */
:root {
  --preto: #000000;
  --verde: #A9FF3A;
  --branco: #FFFFFF;
  --cinza-escuro: #1A1A1A;
  --cinza-claro: #F5F5F5;
  --cinza: #888888;

  --font-principal: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 8px;
  --transicao: 0.3s ease;
  --header-height: 85px;
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(169, 255, 58, 0.3), 0 0 20px rgba(169, 255, 58, 0.15);
  }
  50% {
    box-shadow: 0 0 20px rgba(169, 255, 58, 0.5), 0 0 30px rgba(169, 255, 58, 0.25);
  }
}

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

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

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes flip {
  0% {
    transform: rotateY(0);
  }
  100% {
    transform: rotateY(180deg);
  }
}

@keyframes particleFloat {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0.5;
  }
  25% {
    transform: translateY(-20px) translateX(10px);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-40px) translateX(-10px);
    opacity: 0.5;
  }
  75% {
    transform: translateY(-20px) translateX(15px);
    opacity: 0.3;
  }
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  0%, 49% {
    border-right-color: rgba(169, 255, 58, 0.8);
  }
  50%, 100% {
    border-right-color: transparent;
  }
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-principal);
  font-size: 16px;
  color: var(--cinza-escuro);
  background: var(--branco);
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--preto);
}

h1 { font-size: 3.5rem; }

h2 {
  font-size: 2.5rem;
  color: var(--preto);
}

h3 { font-size: 1.5rem; }

a {
  color: var(--verde);
  text-decoration: none;
  transition: color var(--transicao);
}

a:hover {
  color: var(--preto);
}

img {
  max-width: 100%;
  display: block;
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 2px solid;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transicao);
  text-decoration: none;
  font-family: var(--font-principal);
}

.btn-primary {
  background: var(--verde);
  color: var(--preto);
  border-color: var(--verde);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--preto);
  color: var(--verde);
  border-color: var(--preto);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(169, 255, 58, 0.4), 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--verde);
  border-color: var(--verde);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--verde);
  color: var(--preto);
  border-color: var(--verde);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(169, 255, 58, 0.4), 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ===== HEADER FIXO ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--branco);
  border-bottom: 3px solid var(--verde);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.logo {
  height: 72px;
  width: auto;
  transition: transform var(--transicao), filter var(--transicao);
}

.logo-link:hover .logo {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px rgba(169, 255, 58, 0.4));
}

.desktop-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.desktop-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.desktop-nav a {
  padding: 10px 16px;
  font-weight: 500;
  color: var(--preto);
  border-radius: var(--radius);
  transition: all var(--transicao);
}

.desktop-nav a:hover {
  background: var(--verde);
  color: var(--preto);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--preto);
  border-radius: 2px;
  transition: all var(--transicao);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

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

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

/* Menu Mobile */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--branco);
  border-bottom: 1px solid var(--verde);
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
  display: none;
  flex-direction: column;
  z-index: 999;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  list-style: none;
}

.mobile-nav .nav-link {
  padding: 16px 24px;
  color: var(--preto);
  border-bottom: 1px solid var(--cinza-claro);
  display: block;
  transition: background var(--transicao);
}

.mobile-nav .nav-link:hover {
  background: var(--verde);
  color: var(--preto);
}

/* ===== SEÇÕES ===== */
section {
  width: 100%;
  overflow-x: hidden;
}

.section {
  padding: 100px 0;
}

.section .container {
  background: rgba(255, 255, 255, 0.50);
  padding: 80px 60px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--cinza-escuro);
  font-weight: 500;
}

/* ===== FLIP CARD ===== */
.flip-card {
  perspective: 1000px;
  width: 100%;
  height: 300px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.flip-card-front {
  background: linear-gradient(135deg, rgba(169, 255, 58, 0.1) 0%, rgba(169, 255, 58, 0.05) 100%);
  color: var(--preto);
  border: 1px solid rgba(169, 255, 58, 0.2);
}

.flip-card-back {
  background: linear-gradient(135deg, var(--verde) 0%, rgba(169, 255, 58, 0.8) 100%);
  color: var(--preto);
  transform: rotateY(180deg);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
}

/* ===== HERO ===== */
.hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 60px;
  background: #0a0a0a;
  color: var(--branco);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Hero Background Carousel */
.hero-bg-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-bg-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.675) 0%, rgba(26, 26, 26, 0.675) 100%);
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at 20% 50%, rgba(169, 255, 58, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  text-align: center;
}

.hero h1 {
  color: var(--verde);
  margin-bottom: 16px;
  font-size: 3.5rem;
}

.hero h2 {
  color: var(--verde);
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 400;
  text-shadow: 0 0 10px rgba(169, 255, 58, 0.5);
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.hero .container {
  background: transparent;
  padding: 0;
  border-radius: 0;
  backdrop-filter: none;
}

/* ===== FLOATING PARTICLES ===== */
.particle {
  position: fixed;
  pointer-events: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(169, 255, 58, 0.6);
  animation: particleFloat 8s infinite ease-in;
  z-index: -1;
}

/* ===== TYPING EFFECT ===== */
.typing-text {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  animation: typing 3.5s steps(40, end) forwards;
  display: inline-block;
  letter-spacing: 0.05em;
}

.typing-text::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(169, 255, 58, 0.8);
  animation: blink 0.75s step-end infinite;
}

/* ===== SOBRE ===== */
.sobre-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68) 0%, rgba(245, 245, 245, 0.68) 100%),
    url('img/bg-hero-1.jpg?v=2') center / cover no-repeat;
  background-attachment: scroll, fixed;
}

.sobre-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.sobre-card {
  background: var(--branco);
  padding: 32px;
  border-radius: var(--radius);
  text-align: center;
  transition: transform var(--transicao), box-shadow var(--transicao);
  animation: slideInUp 0.6s ease-out;
}

.sobre-card:hover {
  transform: translateY(-12px) rotateY(-3deg) rotateX(-3deg);
  box-shadow: 0 0 15px rgba(169, 255, 58, 0.2), 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 3rem;
  color: var(--verde);
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(169, 255, 58, 0.3);
}

.sobre-card h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.valores-list {
  list-style: none;
  text-align: left;
}

.valores-list li {
  padding: 8px 0;
  color: var(--cinza-escuro);
  position: relative;
  padding-left: 20px;
}

.valores-list li:before {
  content: "•";
  color: var(--verde);
  position: absolute;
  left: 0;
}

.historia {
  background: var(--branco);
  padding: 40px;
  border-radius: var(--radius);
  border-left: 4px solid var(--verde);
}

.historia h3 {
  margin-bottom: 20px;
}

.historia p {
  margin-bottom: 16px;
  color: var(--cinza-escuro);
  line-height: 1.8;
}

/* ===== PRODUTOS ===== */
.produtos-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.71) 0%, rgba(245, 245, 245, 0.71) 100%),
    url('img/bg-hero-2.jpg?v=2') center / cover no-repeat;
  background-attachment: scroll, fixed;
}

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.produto-card {
  background: linear-gradient(135deg, rgba(169, 255, 58, 0.1) 0%, rgba(169, 255, 58, 0.05) 100%);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(169, 255, 58, 0.2);
  text-align: center;
  transition: all var(--transicao);
  cursor: pointer;
  animation: slideInUp 0.6s ease-out;
}

.produto-card:hover {
  border-color: var(--verde);
  background: linear-gradient(135deg, rgba(169, 255, 58, 0.3) 0%, rgba(169, 255, 58, 0.2) 100%);
  transform: translateY(-10px) rotateY(5deg) rotateX(5deg);
  box-shadow: 0 0 15px rgba(169, 255, 58, 0.3), 0 12px 30px rgba(0, 0, 0, 0.1);
}

.product-icon {
  font-size: 3.5rem;
  color: var(--preto);
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
  text-shadow: none;
}

.produto-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.produto-card p {
  color: var(--cinza-escuro);
  line-height: 1.6;
  font-weight: 500;
}

/* ===== DIFERENCIAIS ===== */
.diferenciais-section {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.72) 0%, rgba(26, 26, 26, 0.72) 100%),
    url('img/bg-hero-3.jpg?v=2') center / cover no-repeat;
  background-attachment: scroll, fixed;
  color: var(--branco);
  position: relative;
}

.diferenciais-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(169, 255, 58, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.diferenciais-section .section-header h2 {
  color: var(--branco);
}

.diferenciais-section .section-header p {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.diferencial-item {
  padding: 32px;
  border-left: 4px solid var(--verde);
  transition: all var(--transicao);
}

.diferencial-item:hover {
  transform: translateX(8px);
}

.diferencial-number {
  font-size: 2.5rem;
  color: var(--verde);
  font-weight: 800;
  margin-bottom: 12px;
  font-family: var(--font-mono);
}

.diferencial-item h3 {
  color: var(--branco);
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.diferencial-item p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.diferenciais-section .container {
  background: transparent;
  padding: 100px 0;
  border-radius: 0;
  backdrop-filter: none;
}

/* ===== DEPOIMENTOS ===== */
.depoimentos-section {
  background:
    linear-gradient(135deg, rgba(245, 245, 245, 0.70) 0%, rgba(255, 255, 255, 0.70) 100%),
    url('img/bg-depoimentos.jpg?v=2') center / cover no-repeat;
  background-attachment: scroll, fixed;
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.depoimento-card {
  background: var(--branco);
  padding: 28px;
  border-radius: var(--radius);
  transition: all var(--transicao);
  border-top: 4px solid var(--verde);
  animation: slideInUp 0.6s ease-out;
}

.depoimento-card:hover {
  transform: translateY(-8px) rotateY(3deg) rotateX(2deg);
  box-shadow: 0 0 12px rgba(169, 255, 58, 0.2), 0 15px 35px rgba(0, 0, 0, 0.12);
}

.stars {
  color: #FFD700;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.stars i {
  margin-right: 2px;
}

.depoimento-texto {
  color: var(--cinza-escuro);
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.depoimento-autor {
  font-weight: 600;
  color: var(--preto);
  margin-bottom: 4px;
}

.depoimento-cargo {
  color: var(--cinza-escuro);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== GALERIA ===== */
.galeria-section {
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.carrossel-container {
  max-width: 900px;
  margin: 0 auto;
}

.carrossel-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--preto);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.carrossel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carrossel-slide.ativo {
  opacity: 1;
  z-index: 10;
}

.carrossel-slide img,
.carrossel-slide video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.carrossel-controles {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  gap: 16px;
}

.carrossel-btn {
  width: 48px;
  height: 48px;
  background: var(--verde);
  color: var(--preto);
  border: 2px solid var(--verde);
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transicao);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.carrossel-btn:hover {
  background: var(--preto);
  color: var(--verde);
  transform: scale(1.1);
}

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

.carrossel-dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.carrossel-dot {
  width: 12px;
  height: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transicao);
}

.carrossel-dot.ativo {
  width: 32px;
  background: var(--verde);
  border-radius: 6px;
}

.carrossel-dot:hover {
  background: rgba(0, 0, 0, 0.5);
}

/* ===== CONTATO ===== */
.contato-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.70) 0%, rgba(245, 245, 245, 0.70) 100%),
    url('img/bg-contato.jpg?v=2') center / cover no-repeat;
  background-attachment: scroll, fixed;
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.info-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius);
  transition: all var(--transicao);
}

.info-item:hover {
  background: var(--cinza-claro);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: var(--verde);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--preto);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-content h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.info-content p {
  color: var(--cinza-escuro);
  font-weight: 500;
}

.info-content a {
  color: var(--preto);
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--verde);
  color: var(--preto);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transicao);
}

.social-links a:hover {
  background: var(--preto);
  color: var(--verde);
}

/* Formulário */
.contato-form {
  background: var(--cinza-claro);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid rgba(169, 255, 58, 0.2);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--preto);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  font-family: var(--font-principal);
  font-size: 1rem;
  transition: all var(--transicao);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(169, 255, 58, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-button {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--branco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  text-decoration: none;
  z-index: 500;
  transition: all var(--transicao);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.whatsapp-button:hover {
  background: #20BA5A;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  transform: scale(1.1);
}

/* ===== MEDIA QUERIES ===== */

/* DESKTOPS GRANDE (≥1920px) */
@media (min-width: 1920px) {
  :root {
    --header-height: 80px;
    font-size: 18px;
  }

  .container {
    max-width: 1400px;
  }

  h1 { font-size: 4rem; }
  h2 { font-size: 2.8rem; }
  h3 { font-size: 1.7rem; }

  .section {
    padding: 120px 0;
  }
}

/* TABLET LANDSCAPE (max 1280px) */
@media (max-width: 1280px) {
  .container {
    padding: 0 20px;
  }

  .section .container {
    padding: 60px 40px;
    border-radius: 10px;
  }

  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }

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

  .contato-grid {
    gap: 40px;
  }

  /* Desabilitar parallax em backgrounds para melhor performance */
  .sobre-section,
  .produtos-section,
  .diferenciais-section,
  .depoimentos-section,
  .contato-section {
    background-attachment: scroll, scroll;
  }

  /* Hero: desativar parallax nos slides para iOS Safari */
  .hero-bg-slide {
    background-attachment: scroll;
  }
}

/* TABLET PORTRAIT (max 1023px) */
@media (max-width: 1023px) {
  :root {
    --header-height: 65px;
  }

  .section {
    padding: 80px 0;
  }

  .section .container {
    padding: 50px 30px;
    border-radius: 8px;
  }

  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }

  .hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 40px;
  }

  .hero h1 { font-size: 2.2rem; }
  .hero h2 { font-size: 1.4rem; }

  .sobre-grid,
  .produtos-grid,
  .diferenciais-grid,
  .depoimentos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contato-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero .btn {
    width: 100%;
    justify-content: center;
  }
}

/* PHABLET (max 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 88px;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 60px 0;
  }

  .section .container {
    padding: 40px 24px;
    border-radius: 8px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }

  .typing-text {
    animation: typing 2.5s steps(30, end) forwards;
  }

  .particle {
    width: 4px;
    height: 4px;
  }

  .flip-card {
    height: 250px;
  }

  .logo {
    height: 75px;
  }

  .sobre-grid,
  .produtos-grid,
  .diferenciais-grid,
  .depoimentos-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .sobre-card,
  .historia {
    padding: 24px;
  }

  .contato-form {
    padding: 24px;
  }

  .carrossel-wrapper {
    aspect-ratio: 16 / 9;
  }

  .carrossel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .carrossel-dot {
    width: 10px;
    height: 10px;
  }

  .carrossel-dot.ativo {
    width: 24px;
  }

  .whatsapp-button {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
    bottom: 20px;
    right: 20px;
  }
}

/* MOBILE (max 600px) */
@media (max-width: 600px) {
  :root {
    --header-height: 82px;
  }

  .logo {
    height: 70px;
  }

  .section {
    padding: 50px 0;
  }

  .section .container {
    padding: 32px 18px;
    border-radius: 8px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }

  .hero {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 30px;
  }

  .hero h1 { font-size: 1.6rem; }
  .hero h2 { font-size: 1.1rem; }

  .hero-description {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }

  .produto-card,
  .diferencial-item {
    padding: 20px 16px;
  }

  .produto-card h3,
  .diferencial-item h3 {
    font-size: 1rem;
  }

  .info-item {
    padding: 16px;
    gap: 16px;
  }

  .info-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .depoimento-card {
    padding: 20px;
  }

  .depoimento-texto {
    font-size: 0.9rem;
  }

  .contato-form {
    padding: 20px;
  }

  .whatsapp-button {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    bottom: 16px;
    right: 16px;
  }

  .typing-text {
    animation: typing 2s steps(25, end) forwards;
  }

  .particle {
    width: 3px;
    height: 3px;
    opacity: 0.3;
  }

  .flip-card {
    height: 200px;
  }
}

/* MOBILE PEQUENO (max 480px) */
@media (max-width: 480px) {
  :root {
    --header-height: 78px;
  }

  .container {
    padding: 0 12px;
  }

  .section {
    padding: 40px 0;
  }

  .section .container {
    padding: 28px 14px;
    border-radius: 6px;
  }

  .logo {
    height: 65px;
  }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }

  .hero h1 { font-size: 1.4rem; }
  .hero h2 { font-size: 1rem; }

  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .product-icon,
  .card-icon {
    font-size: 2.5rem;
  }

  .diferencial-number {
    font-size: 2rem;
  }

  .depoimento-texto {
    font-size: 0.85rem;
  }

  .btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .desktop-nav ul li a {
    padding: 8px 12px;
  }

  .whatsapp-button {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    bottom: 14px;
    right: 14px;
  }

  .typing-text {
    animation: typing 1.8s steps(20, end) forwards;
  }

  .particle {
    width: 3px;
    height: 3px;
    opacity: 0.2;
  }

  .flip-card {
    height: 180px;
  }
}

/* MOBILE ULTRAPEQUENO (max 380px) */
@media (max-width: 380px) {
  :root {
    --header-height: 72px;
  }

  .container {
    padding: 0 10px;
  }

  .section {
    padding: 32px 0;
  }

  .section .container {
    padding: 24px 12px;
    border-radius: 6px;
  }

  .logo {
    height: 60px;
  }

  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.1rem; }
  h3 { font-size: 1rem; }

  .hero h1 { font-size: 1.2rem; }
  .hero h2 { font-size: 0.95rem; }

  .hero-description {
    font-size: 0.85rem;
  }

  .section-header h2 {
    font-size: 1.3rem;
  }

  .section-header p {
    font-size: 0.85rem;
  }

  .product-icon,
  .card-icon {
    font-size: 2rem;
  }

  .diferencial-number {
    font-size: 1.5rem;
  }

  .btn {
    padding: 10px 14px;
    font-size: 0.8rem;
    gap: 6px;
  }

  .btn i {
    font-size: 0.9rem;
  }

  .info-item {
    flex-direction: column;
    gap: 12px;
  }

  .info-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    margin: 0 auto;
  }

  .depoimento-card {
    padding: 16px;
  }

  .depoimento-texto {
    font-size: 0.8rem;
  }

  .typing-text {
    animation: typing 1.5s steps(15, end) forwards;
  }

  .particle {
    width: 2px;
    height: 2px;
    opacity: 0.15;
  }

  .flip-card {
    height: 160px;
    font-size: 0.85rem;
  }

  .whatsapp-button {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
    bottom: 12px;
    right: 12px;
  }
}

/* Responsividade Carrossel Mobile */
@media (max-width: 600px) {
  .carrossel-wrapper {
    aspect-ratio: 16 / 9;
  }

  .carrossel-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .carrossel-controles {
    margin-top: 20px;
    gap: 12px;
  }
}

/* MOBILE 320px */
@media (max-width: 320px) {
  :root {
    --header-height: 68px;
  }

  .section {
    padding: 28px 0;
  }

  .logo {
    height: 55px;
  }

  h1 { font-size: 1.2rem; }
  h2 { font-size: 1rem; }

  .hero-description {
    font-size: 0.8rem;
  }

  .section-header h2 {
    font-size: 1.2rem;
  }

  .btn {
    padding: 9px 12px;
    font-size: 0.75rem;
    gap: 4px;
  }

  .carrossel-btn {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .whatsapp-button {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
}

/* ===== LOGO NA HERO ===== */
.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(169, 255, 58, 0.12) 0%, transparent 75%);
  border-radius: 50%;
  padding: 18px;
  animation: float 4s ease-in-out infinite;
}

.hero-logo {
  height: 110px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 12px rgba(169, 255, 58, 0.3));
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

.hero-logo {
  display: block;
  margin: 0 auto 24px;
  height: 110px;
  width: auto;
  filter: drop-shadow(0 0 18px rgba(169, 255, 58, 0.35));
  animation: float 4s ease-in-out infinite;
}

@media (max-width: 768px) {
  .hero-logo { height: 85px; }
  .hero-logo-wrap { padding: 14px; }
}

@media (max-width: 480px) {
  .hero-logo { height: 70px; }
  .hero-logo-wrap { padding: 10px; margin-bottom: 18px; }
}

/* ========================================
   VITRINE — BOTÃO NAV + HERO + BLOCO PROMO
   ======================================== */

/* --- Botão Vitrine no Nav --- */
.nav-vitrine-btn {
  background: var(--verde) !important;
  color: var(--preto) !important;
  padding: 6px 16px !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  transition: all var(--transicao) !important;
}

.nav-vitrine-btn:hover {
  background: var(--preto) !important;
  color: var(--verde) !important;
  box-shadow: 0 0 12px rgba(169, 255, 58, 0.4) !important;
}

/* Nav mobile: vitrine link destaque */
.mobile-nav .nav-vitrine-btn {
  display: block;
  background: var(--verde);
  color: var(--preto) !important;
  border-radius: var(--radius);
  font-weight: 700;
  text-align: center;
}

/* --- Botão Vitrine no Hero --- */
.btn-vitrine {
  background: transparent;
  color: var(--verde);
  border: 2px solid var(--verde);
  position: relative;
  overflow: hidden;
}

.btn-vitrine::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--verde);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 0;
}

.btn-vitrine:hover::before {
  transform: scaleX(1);
}

.btn-vitrine i,
.btn-vitrine span,
.btn-vitrine {
  position: relative;
  z-index: 1;
}

.btn-vitrine:hover {
  color: var(--preto);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(169, 255, 58, 0.45), 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* --- Bloco Promo Vitrine na Seção Produtos --- */
.vitrine-promo-block {
  margin-top: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--preto) 0%, #111111 100%);
  border: 2px solid var(--verde);
  box-shadow: 0 0 40px rgba(169, 255, 58, 0.15), 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.vitrine-promo-block::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(169, 255, 58, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.vitrine-promo-block::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(169, 255, 58, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.vitrine-promo-inner {
  padding: 52px 48px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.vitrine-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--verde);
  color: var(--preto);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.vitrine-promo-inner h3 {
  color: var(--verde);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.vitrine-promo-inner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.vitrine-promo-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

.vitrine-promo-features span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
}

.vitrine-promo-features i {
  color: var(--verde);
  font-size: 1rem;
}

.btn-vitrine-large {
  font-size: 1.1rem;
  padding: 16px 44px;
  border-radius: 999px;
  background: var(--verde);
  color: var(--preto);
  border-color: var(--verde);
  font-weight: 800;
  animation: glow 3s ease-in-out infinite;
  transition: all var(--transicao);
}

.btn-vitrine-large:hover {
  background: var(--branco);
  color: var(--preto);
  border-color: var(--branco);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 0 30px rgba(169, 255, 58, 0.5), 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Responsividade do bloco promo */
@media (max-width: 768px) {
  .vitrine-promo-inner {
    padding: 36px 24px;
  }

  .vitrine-promo-inner h3 {
    font-size: 1.5rem;
  }

  .vitrine-promo-features {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn-vitrine-large {
    font-size: 1rem;
    padding: 14px 32px;
  }
}

@media (max-width: 480px) {
  .vitrine-promo-inner {
    padding: 28px 16px;
  }

  .vitrine-promo-inner h3 {
    font-size: 1.3rem;
  }

  .vitrine-promo-inner p {
    font-size: 0.9rem;
  }

  .btn-vitrine-large {
    font-size: 0.9rem;
    padding: 12px 24px;
    width: 100%;
    justify-content: center;
  }
}

/* Hero buttons — wrapping em mobile */
@media (max-width: 600px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    justify-content: center;
    width: 100%;
  }
}
