/* Typography */
:root {
  --bg: #000000;          /* Preto principal */
  --text: #ffffff;         /* Texto branco */
  --muted: #cbd5e1;        /* Cinza claro para textos secundários */
  --brand: #000000;        /* Preto para marca */
  --primary: #f5c518;      /* Amarelo destaque */
  --accent: #eab308;       /* Amarelo mais escuro p/ hover */
  --surface: #0b0b0b;      /* Superfície escura */
  --surface-alt: #111111;  /* Superfície escura alternada */
}

* { 
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html { 
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Smartwatch - telas muito pequenas (até 320px) */
@media (max-width: 320px) {
  .container {
    padding: 0 12px;
  }
  
  body {
    font-size: 12px;
  }
  
  .brand-logo {
    height: 35px !important;
  }
  
  .brand-main {
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
  }
  
  .brand-sub {
    font-size: 8px !important;
  }
  
  .header-inner {
    height: 50px !important;
  }
  
  .section {
    padding: 24px 0 !important;
  }
  
  .section h2 {
    font-size: 18px !important;
  }
  
  .card {
    padding: 12px !important;
  }
  
  .card h3 {
    font-size: 14px !important;
  }
  
  .btn {
    padding: 8px 12px !important;
    font-size: 12px !important;
  }
  
  .hero-image-container {
    height: clamp(200px, 50vw, 300px) !important;
  }
  
  .gallery-carousel-container {
    height: clamp(180px, 40vw, 250px) !important;
  }
  
  .gallery-carousel-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 16px !important;
  }
  
  .contact-logo-img {
    max-width: 150px !important;
  }
  
  .contact-card-img {
    max-width: 120px !important;
  }
  
  .footer-inner {
    font-size: 11px;
    padding: 12px 0 !important;
  }
}

/* Mobile pequeno (321px - 480px) */
@media (min-width: 321px) and (max-width: 480px) {
  .container {
    padding: 0 14px;
  }
  
  .brand-logo {
    height: 40px;
  }
  
  .brand-main {
    font-size: 12px;
    letter-spacing: 0.8px;
  }
  
  .brand-sub {
    font-size: 9px;
  }
  
  .section h2 {
    font-size: 20px;
  }
  
  .hero-image-container {
    height: clamp(300px, 60vw, 400px);
  }
  
  .gallery-carousel-container {
    height: clamp(220px, 45vw, 300px);
  }
  
  .contact-logo-img {
    max-width: 200px;
  }
  
  .contact-card-img {
    max-width: 150px;
  }
}

/* Mobile padrão (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0,0,0,0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid #1f2937;
}
.header-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  height: 64px; 
  position: relative;
}
.site-header .container { padding-left: 20px; padding-right: 20px; }
.brand { text-decoration: none; color: inherit; display: flex; align-items: center; gap: 8px; line-height: 1; }
.brand-logo { 
  height: 60px; 
  width: auto; 
  object-fit: contain;
  transition: transform 0.3s ease;
}
.brand:hover .brand-logo {
  transform: scale(1.05) rotate(2deg);
}
.brand-text { display: flex; flex-direction: column; }
.brand-main { font-family: Montserrat, Inter, sans-serif; font-weight: 700; letter-spacing: 2px; }
.brand-sub { font-size: 12px; color: var(--muted); }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 101;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: all 0.3s ease;
}

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

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

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

.nav { 
  display: flex; 
  gap: 18px; 
  align-items: center;
}
.nav a { 
  color: var(--text); 
  text-decoration: none; 
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}
.nav a:hover { 
  color: var(--primary);
}
.nav a:hover::after {
  width: 100%;
}
.nav a.active {
  color: var(--primary);
}
.nav a.active::after {
  width: 100%;
}

/* Buttons */
.btn { 
  display: inline-block; 
  padding: 12px 18px; 
  border-radius: 10px; 
  text-decoration: none; 
  font-weight: 700; 
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  min-height: 44px; /* Tamanho mínimo para toque confortável */
  min-width: 44px;
  touch-action: manipulation; /* Melhora a responsividade do toque */
}
.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn:hover::before {
  width: 300px;
  height: 300px;
}
.btn--primary { background: var(--primary); color: #111; }
.btn--secondary { background: #000; color: #fff; border: 1px solid #222; }
.btn--ghost { border: 2px solid var(--text); color: var(--text); background: transparent; }
.btn--whatsapp { background: #25D366; color: #fff; }
.btn--primary:hover { 
  background: var(--accent); 
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 197, 24, 0.4);
}
.btn--secondary:hover { 
  filter: brightness(1.1); 
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
.btn--ghost:hover { 
  border-color: var(--primary); 
  color: var(--primary);
  transform: translateY(-2px);
}
.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Ripple effect */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Hero */
.hero { 
  position: relative; 
  width: 100%;
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: clamp(500px, 70vw, 750px);
  overflow: hidden;
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.hero-content { 
  position: relative; 
  margin-top: -120px; 
  background: #ffffff; 
  border-radius: 16px; 
  padding: 28px; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  z-index: 2;
}
.hero h1 { font-family: Montserrat, Inter, sans-serif; font-size: clamp(26px, 4.2vw, 44px); margin: 0 0 8px; }
.hero p { margin: 0 0 18px; color: var(--muted); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Mobile Responsive (até 768px) */
@media (max-width: 768px) {
  /* Header Mobile */
  .site-header .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .brand-logo {
    height: 45px;
  }
  
  .brand-main {
    font-size: 14px;
    letter-spacing: 1px;
  }
  
  .brand-sub {
    font-size: 10px;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 100;
    border-top: 1px solid #1f2937;
  }
  
  .nav.active {
    transform: translateX(0);
  }
  
  .nav a {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
  }
  
  .nav .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  
  /* Sections Mobile */
  .section {
    padding: 40px 0;
  }
  
  #produtos {
    margin-top: 60px;
  }
  
  .section h2 {
    font-size: 24px;
  }
  
  /* Cards Mobile */
  .cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .card {
    padding: 16px;
  }
  
  /* Buttons Mobile */
  .btn {
    padding: 10px 16px;
    font-size: 14px;
  }
  
  .cta-row {
    flex-direction: column;
  }
  
  .cta-row .btn {
    width: 100%;
  }
  
  /* Contact Mobile */
  .contact {
    grid-template-columns: 1fr;
  }
  
  .contact-logo-img {
    max-width: 250px;
    margin: 20px auto;
  }
  
  .contact-card-img {
    max-width: 200px;
    margin: 20px auto;
  }
  
  /* Gallery Carousel Mobile */
  .gallery-carousel-container {
    height: clamp(250px, 50vw, 350px);
  }
  
  .gallery-carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  
  .gallery-carousel-btn--prev {
    left: 8px;
  }
  
  .gallery-carousel-btn--next {
    right: 8px;
  }
  
  /* Footer Mobile */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 24px;
    max-width: 960px;
  }
  
  .header-inner {
    height: 70px;
  }
  
  .brand-logo {
    height: 55px;
  }
  
  .brand-main {
    font-size: 16px;
  }
  
  .brand-sub {
    font-size: 11px;
  }
  
  .nav {
    gap: 16px;
  }
  
  .nav a {
    font-size: 15px;
  }
  
  .hero-image-container {
    height: clamp(450px, 65vw, 650px);
  }
  
  .section {
    padding: 48px 0;
  }
  
  .section h2 {
    font-size: clamp(24px, 3vw, 30px);
  }
  
  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .card {
    padding: 20px;
  }
  
  .gallery-carousel-container {
    height: clamp(450px, 55vw, 550px);
    max-width: 800px;
  }
  
  .gallery-carousel-btn {
    width: 44px;
    height: 44px;
    font-size: 26px;
  }
  
  .contact {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .contact-logo {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }
  
  .contact-logo-img {
    max-width: 280px;
  }
  
  .contact-card-img {
    max-width: 240px;
  }
  
  .btn {
    padding: 11px 20px;
    font-size: 15px;
  }
  
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Tablet Landscape (769px - 1024px em modo paisagem) */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
  .hero-image-container {
    height: clamp(400px, 50vh, 500px);
  }
  
  .gallery-carousel-container {
    height: clamp(400px, 50vh, 500px);
  }
  
  .section {
    padding: 40px 0;
  }
}

/* Melhorias gerais para toque em dispositivos móveis */
@media (hover: none) and (pointer: coarse) {
  /* Dispositivos touch */
  .btn:hover {
    transform: translateY(0);
  }
  
  .card:hover {
    transform: translateY(0);
  }
  
  .nav a:hover::after {
    width: 0;
  }
  
  /* Aumentar área de toque para links */
  .nav a {
    padding: 8px 4px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .gallery-carousel-btn,
  .carousel-btn {
    min-width: 44px;
    min-height: 44px;
  }
  
  .gallery-indicator,
  .indicator {
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Sections */
.section { 
  padding: 56px 0; 
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

#produtos {
  margin-top: clamp(60px, 10vw, 120px);
}
.section--alt { background: var(--surface-alt); }
.section h2 { 
  font-family: Montserrat, Inter, sans-serif; 
  font-size: clamp(22px, 3.2vw, 32px); 
  margin: 0 0 18px;
  position: relative;
  display: inline-block;
}
.section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  transition: width 0.5s ease;
}
.section.visible h2::after {
  width: 100%;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { 
  background: #0f0f0f; 
  border: 1px solid #1f2937; 
  border-radius: 12px; 
  padding: 18px; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  transform: translateY(0);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }
.card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(245, 197, 24, 0.2);
}
.card h3 { 
  margin: 0 0 8px; 
  font-size: 18px;
  transition: color 0.3s ease;
}
.card:hover h3 {
  color: var(--primary);
}
.card p { margin: 0; color: var(--muted); }

/* Gallery Carousel */
.gallery-carousel-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: clamp(400px, 50vw, 600px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  background: #0f0f0f;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.gallery-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
}

.gallery-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.gallery-carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.gallery-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #0f0f0f;
}

.gallery-carousel-slide video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #0f0f0f;
  touch-action: manipulation;
}

.gallery-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 28px;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  pointer-events: auto;
  user-select: none;
}

.gallery-carousel-btn:hover {
  background: var(--primary);
  color: #000;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(245, 197, 24, 0.4);
}

.gallery-carousel-btn--prev {
  left: 20px;
}

.gallery-carousel-btn--next {
  right: 20px;
}

.gallery-carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 12px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.gallery-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  pointer-events: auto;
  user-select: none;
}

.gallery-indicator.active {
  background: var(--primary);
  width: 24px;
  border-radius: 5px;
}

.gallery-indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}


/* Contact */
.contact { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.contact .list { padding: 0; margin: 12px 0; list-style: none; }
.contact .list li { margin: 8px 0; }
.contact .list a { color: var(--text); text-decoration: none; }
.contact .list a:hover { color: var(--primary); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.contact-logo { 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  gap: 20px;
  flex-wrap: wrap;
}
.contact-logo-img { 
  max-width: 300px; 
  width: 100%; 
  height: auto; 
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(245, 197, 24, 0.3));
}
.contact-logo:hover .contact-logo-img {
  transform: scale(1.1) rotate(-2deg);
  filter: drop-shadow(0 8px 16px rgba(245, 197, 24, 0.5));
}
.contact-card-img {
  max-width: 280px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
@media (min-width: 900px) {
  .contact { grid-template-columns: 1.2fr 1fr; }
}

/* Footer */
.site-footer { border-top: 1px solid #1f2937; background: #000; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; gap: 16px; }
.muted { color: var(--muted); }


