:root{
  --color-text:#222;
  --color-text-soft:#555;
  --color-text-muted:#666;
  --color-white:#fff;
  --color-black:#111;
  --color-border:#e8e8e8;
  --color-border-soft:#eee;
  --color-bg-light:#f5f5f5;
  --color-bg-soft:#f7f9fc;
  --color-bg-seo:#f8fbff;
  --color-primary:#0959a9;
  --color-primary-light:#06a7e2;
  --color-primary-soft:#e9f2ff;
  --radius-sm:6px;
  --radius-md:10px;
  --radius-lg:14px;
  --radius-xl:16px;
  --radius-xxl:18px;
  --shadow-soft:0 8px 24px rgba(0,0,0,0.05);
  --shadow-hover:0 10px 24px rgba(0,0,0,0.08);
  --container-width:1200px;
}

/* RESET / BASE */
*{
  box-sizing:border-box;
}
.applications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.application-card {
  text-align: center;
  padding: 18px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
  font-weight: 600;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .applications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .applications-grid {
    grid-template-columns: 1fr;
  }
}

body{
  margin:0;
  font-family:Arial, sans-serif;
  color:var(--color-text);
  background:var(--color-white);
}

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

a{
  text-decoration:none;
}
.title-up {
  margin-top: -25px;
}
.title-top-align {
  margin-top: -50px;
}
.container{
  width:var(--container-width);
  max-width:95%;
  margin:auto;
}

.section{
  padding:80px 0;
}
.section-head-melhor-maquina h2 {
  margin-top: -25px;
}
.section-head-simple.section-head-melhor-maquina h2 {
  margin-top: -50px;
}
.section-products{
padding:20px 0 80px 0;
}
.section-small{
padding:40px 0;
}
.section-detalhes-alinhamento {
  margin-top: -40px;
}
.section-aplicacoes-ajuste {
  padding-top: 30px;
}

.section-aplicacoes-ajuste .section-head-simple {
  margin-bottom: 20px;
}
.section-relacionados-up {
  padding-top: 30px;
}
.product-details-up {
  margin-top: -50px;
}
.light{
  background:var(--color-bg-light);
}
/*GALERIA */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-main-image {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.product-main-image img {
  width: auto;
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  display: block;
}

.product-thumbs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-thumbs .thumb {
  width: 84px;
  height: 84px;
  object-fit: contain;
  background: #fff;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  padding: 6px;
  cursor: pointer;
  transition: 0.2s ease;
}

.product-thumbs .thumb:hover {
  border-color: #111;
}

.product-thumbs .thumb.active {
  border-color: #0d6efd;
}
/* HEADER */
.header{
  background:var(--color-primary-light);
  border-bottom:none;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px 0;
  gap:20px;
}

.menu a{
  margin:0 15px;
  color:var(--color-white);
  font-weight:600;
}

/* BOTÕES */
.btn,
.btn-primary,
.btn-outline,
.btn-outline-dark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 20px;
  border-radius:var(--radius-sm);
  font-weight:700;
  transition:0.25s ease;
}

.btn,
.btn-primary{
  background:var(--color-primary);
  color:var(--color-white);
}

.btn{
  padding:10px 18px;
  font-weight:600;
}

.btn-outline{
  border:1px solid var(--color-white);
  color:var(--color-white);
}

.btn-outline-dark{
  border:1px solid var(--color-primary);
  color:var(--color-primary);
}

.btn-outline-dark:hover{
  background:var(--color-primary);
  color:var(--color-white);
}

/* HOME HERO */
.hero{
  height:500px;
  padding:80px 0;
  background-image:url('img/banner-jack-sewing.jpg');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
}

.hero-image{
  width:100%;
  margin-top:10px;
  border-radius:var(--radius-md);
}

.hero h1{
  font-size:42px;
}

.tag{
  font-size:12px;
  letter-spacing:2px;
  color:#aaa;
}

.hero-buttons{
  margin-top:20px;
}

.hero-card{
  padding:20px;
  border-radius:var(--radius-md);
  background:#222;
}

.placeholder{
  height:150px;
  margin-top:10px;
  background:#333;
}

/* GRIDS GERAIS */
.grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:20px;
  margin-top:30px;
}

.two-cols{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
}

/* CARDS DE CATEGORIA HOME */
.card{
  position:relative;
  display:flex;
  align-items:flex-end;
  min-height:220px;
  overflow:hidden;
  border-radius:var(--radius-md);
  color:var(--color-white);
}

.card-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.card-overlay{
  position:relative;
  z-index:2;
  width:100%;
  padding:20px;
  background:linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
}

.card-overlay span{
  display:block;
  margin-bottom:5px;
  font-size:12px;
  color:#ddd;
}

.card-overlay h3{
  margin:0;
  font-size:22px;
  color:var(--color-white);
}

/* FEATURES / INSTITUCIONAL */
.features{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.feature{
  padding:20px;
  border:1px solid var(--color-border-soft);
  border-radius:var(--radius-md);
  background:var(--color-white);
}

/* BREADCRUMB */
.breadcrumb{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  font-size:14px;
  color:var(--color-text-muted);
}

.breadcrumb a{
  color:var(--color-primary);
}

/* PRODUCT HERO */
.product-hero,
.category-hero{
  padding:20px 0 70px;
  background:var(--color-bg-soft);
}

.category-hero-copy h1{
margin-top:10px;
}

.product-hero-inner{
  display:flex;
  flex-direction:column;
  gap:30px;
}

.product-hero-grid,
.category-hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:start;
}

.category-hero-grid{
  grid-template-columns:1.1fr 0.9fr;
  margin-top:24px;
}

.product-main-image,
.category-hero-image{
  padding:24px;
  border:1px solid #eaeaea;
  border-radius:var(--radius-xxl);
  background:var(--color-white);
  box-shadow:var(--shadow-soft);
}

.product-main-image {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.category-hero-image img{
  width:100%;
  height:auto;
}

.product-tag,
.category-product-tag{
  display:inline-block;
  margin-bottom:12px;
  padding:7px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  color:var(--color-primary);
  background:var(--color-primary-soft);
}

.product-tag{
  padding:8px 14px;
  margin-bottom:14px;
  font-size:13px;
}

.product-summary h1{
  margin:0 0 12px;
  font-size:46px;
  line-height:1.1;
}

.product-subtitle{
  margin-bottom:20px;
  font-size:18px;
  line-height:1.7;
  color:var(--color-text-soft);
}

.product-highlights{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:24px;
}

.highlight-item{
  padding:10px 14px;
  border:1px solid #dfe7f3;
  border-radius:999px;
  background:var(--color-white);
  font-size:14px;
  font-weight:600;
}

.product-cta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:24px;
}

.product-info-box,
.spec-box,
.benefit-card,
.application-card,
.related-card,
.category-product-card{
  background:var(--color-white);
  border:1px solid var(--color-border);
}

.product-info-box{
  padding:18px;
  border-radius:var(--radius-lg);
}

.product-info-box p{
  margin:0 0 10px;
  line-height:1.6;
}

.product-info-box p:last-child{
  margin-bottom:0;
}

/* HEADERS DE SEÇÃO */
.section-head-simple{
  max-width:760px;
  margin-bottom:30px;
  margin-top: 0px;
}

.section-head-simple h2,
.seo-section h2{
  margin:0 0 14px;
  font-size:36px;
  margin-top: 0;
}

.section-head-simple p,
.seo-section p{
  margin:0;
  line-height:1.7;
  color:var(--color-text-muted);
}

/* BENEFÍCIOS / ESPECIFICAÇÕES / APLICAÇÕES */
.benefits-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.benefit-card{
  padding:24px;
  border-radius:var(--radius-lg);
}

.benefit-card h3{
  margin:0 0 12px;
  font-size:22px;
}

.benefit-card p{
  margin:0;
  line-height:1.7;
  color:var(--color-text-muted);
}

.product-details-grid{
  align-items:start;
}

.spec-box{
  padding:24px;
  border-radius:var(--radius-xl);
}

.spec-box h3{
  margin-top:0;
  font-size:26px;
}

.spec-list{
  margin:0;
  padding:0;
  list-style:none;
}

.spec-list li{
  padding:12px 0;
  border-bottom:1px solid var(--color-border-soft);
  line-height:1.6;
}

.spec-list li:last-child{
  border-bottom:none;
}

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

.application-card{
  padding:22px;
  border-radius:12px;
  font-weight:600;
  text-align:center;
}

/* SEO */
.seo-section{
  background:var(--color-bg-seo);
   padding-top: 30px;
}

.seo-section p{
  max-width:1000px;
  line-height:1.8;
  color:var(--color-text-soft);
}

/* RELATED */
.related-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.related-card,
.category-product-card{
  display:block;
  overflow:hidden;
  border-radius:var(--radius-xl);
  color:var(--color-text);
}

.related-card img,
.category-product-card img{
  width:100%;
  object-fit:cover;
  background:var(--color-white);
}

.related-card img{
  height:220px;
}

.category-product-card img{
  height:240px;
}

.related-card h3{
  margin:16px 16px 8px;
  font-size:24px;
}

.related-card p{
  margin:0 16px 18px;
  line-height:1.6;
  color:var(--color-text-muted);
}

/* CATEGORY PAGE */
.category-products-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.category-product-card{
  transition:0.25s ease;
}

.category-product-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-hover);
}

.category-product-body{
  padding:18px;
}

.category-product-body h3{
  margin:0 0 10px;
  font-size:24px;
}

.category-product-body p{
  margin:0 0 14px;
  line-height:1.7;
  color:var(--color-text-muted);
}

.category-link{
  font-weight:700;
  color:var(--color-primary);
}

/* FOOTER */
.footer{
  padding:0px 0 0;
  color:#ddd;
  background:var(--color-black);
}
.footer-categorias {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 30px;
}

.footer a {
  color: #ddd;
  transition: 0.2s;
}

.footer a:hover {
  color: #fff;
}
.footer-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px;
}

.footer ul{
  margin:0;
  padding:0;
  list-style:none;
}

.footer li{
  margin:6px 0;
}

.copyright{
  margin-top:30px;
  padding:20px;
  text-align:center;
  border-top:1px solid #333;
}

/* RESPONSIVO */
@media (max-width: 1024px){
  .grid{
    grid-template-columns:repeat(3,1fr);
  }

  .product-hero-grid,
  .category-hero-grid,
  .benefits-grid,
  .related-grid,
  .applications-grid,
  .category-products-grid{
    grid-template-columns:1fr 1fr;
  }

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

@media (max-width: 768px){
  .header-inner,
  .product-hero-grid,
  .category-hero-grid,
  .hero-grid,
  .two-cols,
  .benefits-grid,
  .related-grid,
  .applications-grid,
  .category-products-grid,
  .features,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .header-inner{
    flex-wrap:wrap;
  }

  .menu{
    width:100%;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
  }

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

  .product-summary h1{
    font-size:34px;
  }

  .section-head-simple h2,
  .seo-section h2,
  .hero h1{
    font-size:28px;
  }

  .hero{
    height:auto;
    min-height:320px;
    padding:60px 0;
  }
}

@media (max-width: 560px){
  .grid{
    grid-template-columns:1fr;
  }

  .btn,
  .btn-primary,
  .btn-outline,
  .btn-outline-dark{
    width:100%;
  }

  .product-cta{
    flex-direction:column;
  }
}