/* =========== Reset & Tokens =========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root{
  --container: 1200px;
  --gutter: 2rem;
  --header-h: 76px;
  --header-h-mobile: 68px;
  --radius-lg: 20px;
  --radius-md: 15px;

  --background: 0 0% 98%;
  --foreground: 0 0% 5%;
  --primary: 0 0% 8%;
  --primary-foreground: 0 0% 98%;
  --accent: 45 90% 60%;
  --accent-foreground: 0 0% 8%;
}

html, body {
  scroll-behavior: smooth;
  min-height: 100%;
  background: hsl(var(--background));
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

img { display:block; max-width:100%; height:auto; }
section { scroll-margin-top: var(--header-h); }

.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.5rem); margin-bottom: .75rem; color: #333; }
.section-title p { font-size: clamp(1rem, .6vw + .7rem, 1.2rem); color: #666; max-width: 640px; margin: 0 auto; }

/* =========== Header =========== */
header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h);
  background: rgba(0,0,0,.95); backdrop-filter: blur(10px);
  z-index: 1000; display:flex; align-items:center; transition: all .3s ease;
}
nav {
  max-width: var(--container); margin: 0 auto;
  display:flex; justify-content:space-between; align-items:center;
  gap: 1rem; padding: 0 var(--gutter);
}
.logo { text-decoration: none; display:inline-flex; align-items:center; }
.logo-img { height: 56px; transition: transform .3s ease; }
.logo:hover .logo-img { transform: scale(1.05); }

.nav-links { display:flex; list-style:none; gap: clamp(.75rem, 2vw, 2rem); }
.nav-links a{
  color:#fff; text-decoration:none; font-weight:500; position:relative; transition:.3s;
}
.nav-links a:hover{ color:#FFD700; transform: translateY(-2px); }
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:-5px; height:2px; width:0;
  background: linear-gradient(90deg, #FFD700, #FFA500); transition: width .3s;
}
.nav-links a:hover::after{ width:100%; }

.cta-button{
  background: linear-gradient(135deg, #00C851, #00A043);
  color:#fff; padding:.7rem 1.1rem; border:none; border-radius:25px;
  font-weight:600; text-decoration:none; transition:.3s;
  box-shadow:0 4px 15px rgba(0,200,81,.3); white-space:nowrap;
}
.cta-button:hover{ transform: translateY(-3px); box-shadow:0 8px 25px rgba(0,200,81,.4); }

@media (max-width: 880px){
  header{ height: var(--header-h-mobile); }
  .nav-links{ display:none; }
}

/* =========== Hero =========== */
.hero{
  min-height: 88svh;
  align-items: flex-start;
  padding-top: calc(var(--header-h) + .5rem);
  background:
    linear-gradient(135deg, rgba(0,0,0,.7), rgba(0,0,0,.5)),
    url(./assets/background.jpeg) center/cover no-repeat;
  display:flex; justify-content:center; text-align:center; color:#fff; position:relative;
}
.hero-content{
  max-width: 820px; padding: 0 var(--gutter); animation: fadeInUp 1s ease-out;
  margin: clamp(1rem, 4svh, 3rem) auto 0;
}
.hero-logo-img-container{
  width: clamp(120px, 14vw, 220px);
  aspect-ratio: 1/1;
  margin: clamp(.5rem, 3svh, 2rem) auto 1rem;
  border-radius: 30px; background: rgba(255,255,255,.06);
}
.hero-logo-img{ width:100%; height:100%; object-fit: contain; border-radius: 30px; padding: 10px; }
.hero h1{
  font-size: clamp(1.6rem, 2.6vw + 1rem, 3rem);
  margin-bottom: .4rem; font-weight:700; text-shadow: 2px 2px 4px rgba(0,0,0,.5);
}
.hero p{ font-size: clamp(.95rem, .6vw + .7rem, 1.15rem); margin-bottom:.5rem; opacity:.95; }
.hero-description{ font-size: clamp(.95rem, .6vw + .6rem, 1.1rem); margin: 0 auto 1.1rem; max-width: 640px; opacity:.85; }
.hero-buttons{ display:flex; gap:.6rem; justify-content:center; flex-wrap:wrap; }
.btn-primary, .btn-secondary{
  padding:.8rem 1.2rem; border-radius:26px; font-size: clamp(.95rem, .45vw + .8rem, 1.05rem);
  font-weight:600; text-decoration:none; transition:.3s;
}
.btn-primary{ background: linear-gradient(135deg, #FFD700, #FFA500); color:#000; box-shadow: 0 5px 20px rgba(255,215,0,.3); }
.btn-primary:hover{ transform: translateY(-3px); box-shadow:0 10px 30px rgba(255,215,0,.5); }
.btn-secondary{ background: transparent; color:#fff; border:2px solid #fff; }
.btn-secondary:hover{ background:#fff; color:#333; transform: translateY(-3px); }

@media (max-width: 880px){
  .hero{ min-height: 86svh; padding-top: calc(var(--header-h-mobile) + .4rem); }
  .hero-content{ margin: 1rem auto 0; }
  .hero-logo-img-container{ width: clamp(100px, 28vw, 160px); margin: .8rem auto .8rem; }
  .hero h1{ font-size: clamp(1.5rem, 4.5vw + .8rem, 2.3rem); margin-bottom: .35rem; }
  .hero-description{ margin-bottom: .9rem; }
  .btn-primary, .btn-secondary{ padding: .75rem 1.05rem; }
}

/* =========== Products =========== */
.products{ padding: clamp(3rem, 7svh, 5rem) 0; background: linear-gradient(135deg, #f8f9fa, #e9ecef); }
.products-grid{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; margin-bottom: 2.5rem;
}
.product-card{
  background:#fff; border-radius: var(--radius-lg); overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.1); transition:.3s; position:relative;
}
.product-card:hover{ transform: translateY(-8px); box-shadow:0 20px 40px rgba(0,0,0,.15); }
.product-image-container{
  height: clamp(180px, 22vw, 250px);
  position:relative; overflow:hidden;
  border-top-left-radius: var(--radius-lg); border-top-right-radius: var(--radius-lg);
}
.product-image{ width:100%; height:100%; object-fit: cover; }
.featured-badge{
  position:absolute; top:.8rem; left:.8rem; background: linear-gradient(135deg, #FFD700, #FFA500);
  color:#000; padding:.45rem .8rem; border-radius:20px; font-size:.8rem; font-weight:600;
}
.product-content{ padding: 1.4rem; }
.product-content h3{ font-size: clamp(1.1rem, .6vw + .9rem, 1.5rem); margin-bottom:.6rem; color:#333; }
.product-content p{ color:#666; margin-bottom: 1rem; }
.product-button{
  background: linear-gradient(135deg, #1e40af, #3b82f6); color:#fff; padding:.75rem 1.2rem;
  border:none; border-radius:25px; font-weight:600; text-decoration:none; display:inline-block; transition:.3s;
}
.product-button:hover{ transform: translateY(-2px); box-shadow:0 5px 15px rgba(30,64,175,.3); }

/* =========== Accessories =========== */
.accessories{ padding: clamp(3rem, 7svh, 5rem) 0; background:#fff; }
.accessories-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.accessory-item{
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 1.5rem; border-radius: var(--radius-md); text-align:center; transition:.3s; border:2px solid transparent;
  display: flex; flex-direction: column;
}
.accessory-item p{ margin-bottom: 1.5rem; color:#666; flex-grow:1; }
.accessory-item:hover{ border-color:#FFD700; transform: translateY(-5px); }
.accessory-button{
  background: transparent; color:#333; padding:.6rem 1.1rem; border:2px solid #333; border-radius:20px; font-weight:600; text-decoration:none; transition:.3s;
  margin-top: auto;
}
.accessory-button:hover{ background:#333; color:#fff; }

/* =========== About & Carousel =========== */
.about{
  padding: clamp(3rem, 7svh, 5rem) 0;
  background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
  color:#f1f1f1;
}
.about-content{ display:grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
@media (max-width: 980px){ .about-content{ grid-template-columns: 1fr; } }

.about-text h2{
  font-size: clamp(1.7rem, 2vw + 1rem, 2.5rem); margin-bottom: 1.2rem; color:#FFD700;
  text-shadow: 1px 1px 3px rgba(0,0,0,.6);
}
.about-text p{ margin-bottom: 1rem; color:#e0e0e0; line-height: 1.7; }
.highlight{ color:#FFD700; font-weight:600; }
.features-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.2rem; }
@media (max-width: 580px){ .features-grid{ grid-template-columns: 1fr; } }

.feature-item{ background: rgba(255,215,0,.1); padding: 1.1rem; border-radius:10px; border-left:4px solid #FFD700; }
.feature-item h4{ color:#FFD700; margin-bottom:.35rem; }

/* STATS - ESTILO AJUSTADO */
.stats {
    background: rgba(0,0,0,.4);
    padding: 1.4rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 2rem; /* Espaçamento adicionado */
}
.stats-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 640px){ .stats-grid{ grid-template-columns: 1fr; } }
.stat-item h3{ font-size: clamp(1.6rem, 2vw + 1rem, 2.5rem); color:#FFD700; margin-bottom:.3rem; }
.stat-item p{ font-size:.9rem; opacity:.85; }


/* NOVO CARROSSEL */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.carousel-slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}
.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 1.5rem;
    z-index: 10;
    transition: background-color 0.3s ease;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
.carousel-button.prev { left: 15px; }
.carousel-button.next { right: 15px; }


/* =========== Contact =========== */
.contact{ padding: clamp(3rem, 7svh, 5rem) 0; background: linear-gradient(135deg, #f8f9fa, #e9ecef); }
.contact-info{ display:flex; flex-wrap:wrap; justify-content:center; gap: 1.2rem; margin-bottom: 1.6rem; }
.info-card{ background:#fff; padding: 1.6rem; border-radius:15px; text-align:center; box-shadow:0 5px 15px rgba(0,0,0,.1); flex:1 1 240px; max-width:320px; }
.info-icon{ width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto .8rem; font-size:1.4rem; background: linear-gradient(135deg, #FFD700, #FFA500); color:#000; }
.contact-content{ display:grid; } /* Alterado para grid para centralizar o mapa */
.contact-map{ max-width: 100%; height: 420px; border-radius: var(--radius-md); overflow: hidden; }
.contact-map iframe { width: 100%; height: 100%; }

/* =========== Footer =========== */
.footer{
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 1.2rem 0;
}
.footer-container{ max-width: var(--container); margin:0 auto; padding: 0 var(--gutter); }
.footer-grid{ display:grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px){ .footer-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .footer-grid{ grid-template-columns: 1fr 1fr 1fr; } }
.footer-main{ grid-column: span 1; }
.footer-logo{ height: 2.4rem; margin-bottom: .5rem; }
.whatsapp-button{
  background-color: hsl(var(--accent)); color: hsl(var(--accent-foreground));
  border:none; padding:.5rem .9rem; border-radius:.4rem; font-weight:500; cursor:pointer;
  display:inline-flex; align-items:center; gap:.4rem; transition:.3s; margin-bottom:.4rem; font-size:.9rem;
}
.whatsapp-button:hover{ transform: translateY(-2px); box-shadow:0 3px 8px hsl(var(--accent) / .3); }
.footer-title{ font-size:1rem; font-weight:600; color:hsl(var(--accent)); margin-bottom:.6rem; }
.links-list{ list-style:none; padding:0; margin:0; }
.links-list li{ margin-bottom:.4rem; }
.nav-link{ background:none; border:none; color: hsl(var(--primary-foreground) / .8); cursor:pointer; transition: color .3s; font-size:.95rem; padding:0; }
.nav-link:hover{ color: hsl(var(--accent)); }
.contact-info2 { display: flex; flex-direction: column; gap: .5rem; }
.contact-item { display: flex; align-items: flex-start; gap: .6rem; }
.contact-icon { flex-shrink: 0; margin-top: 4px; }
.contact-text { font-size: 0.9rem; color: hsl(var(--primary-foreground) / .8); }
.footer-bottom{
  border-top: 1px solid hsl(var(--primary-foreground) / .2);
  margin-top:.8rem; padding-top:.6rem;
  display:flex; flex-direction:column; align-items:center; gap:.4rem;
}
@media (min-width: 768px){ .footer-bottom{ flex-direction:row; justify-content:space-between; } }
.social-media{ display:flex; gap:.5rem; }
.social-link{ background-color: hsl(var(--primary-foreground) / .1); padding:.5rem; border-radius:50%; color: hsl(var(--primary-foreground)); text-decoration:none; transition:.3s; display:flex; align-items:center; justify-content:center; }
.social-link:hover{ background-color: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.icon{ width:1rem; height:1rem; }
.copyright{ text-align:center; font-size:.8rem; color: hsl(var(--primary-foreground) / .6); }
.copyright p{ margin:0 0 .2rem 0; }
.copyright p:last-child{ margin-bottom:0; }

/* =========== Scrollbar =========== */
::-webkit-scrollbar{ width:8px; }
::-webkit-scrollbar-track{ background:#f1f1f1; }
::-webkit-scrollbar-thumb{ background: linear-gradient(135deg, #FFD700, #FFA500); border-radius:4px; }
::-webkit-scrollbar-thumb:hover{ background: linear-gradient(135deg, #FFA500, #FF8C00); }

/* =========== Animations =========== */
@keyframes fadeInUp{
  from{ opacity:0; transform: translateY(30px); }
  to{ opacity:1; transform: translateY(0); }
}
@keyframes float{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}