/* ── CARROSSEL ── */
.carousel { position: relative; width: 100%; max-width: 100vw; overflow: hidden; background: #000; line-height: 0; }
.carousel-track { display: flex; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform; }
.carousel-slide { min-width: 100%; position: relative; line-height: 0; }
.carousel-slide img { width: 100%; height: auto; display: block; object-fit: cover; }

.carousel-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); border: none; cursor: pointer; padding: 0; transition: all 0.3s ease; }
.carousel-dot.active { background: var(--accent); transform: scale(1.2); box-shadow: 0 0 10px rgba(232, 160, 32, 0.5); }

.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(11,37,69,0.3); border: none; color: #fff; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 24px; display: flex; align-items: center; justify-content: center; transition: all 0.25s ease; backdrop-filter: blur(4px); }
.carousel-btn:hover { background: rgba(11,37,69,0.7); transform: translateY(-50%) scale(1.1); }
.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

/* ── SOBRE ── */
.sobre { background: var(--off-white); }
.sobre-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1200px; margin: 0 auto; }
.sobre-text .section-title { margin-bottom: 24px; }
.sobre-text > p { font-size: 17px; font-weight: 300; line-height: 1.8; color: #3a4555; margin-bottom: 28px; }

/* Certificações */
.certs-label { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray); margin-bottom: 10px; }
.certs-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.cert-badge { display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid #d6dce8; border-radius: 6px; padding: 10px 14px; flex: 1 1 auto; min-width: 120px; }
.cert-icon { width: 30px; height: 30px; background: var(--blue); border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cert-icon svg { width: 16px; height: 16px; }
.cert-info strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; color: var(--blue); letter-spacing: 0.03em; line-height: 1.1; }
.cert-info span { font-size: 11px; color: var(--gray); }

.sobre-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: var(--white); border-left: 3px solid var(--accent); padding: 18px 20px; border-radius: 0 6px 6px 0; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 36px; color: var(--blue); line-height: 1; }
.stat-desc { font-size: 13px; color: var(--gray); margin-top: 4px; line-height: 1.4; }

.sobre-img { position: relative; }
.sobre-img img { width: 100%; border-radius: 8px; display: block; aspect-ratio: 3/4; object-fit: cover; }
.sobre-img-badge { position: absolute; bottom: -20px; left: -20px; background: var(--accent); color: var(--blue); font-family: 'Bebas Neue', sans-serif; font-size: 14px; letter-spacing: 0.08em; padding: 14px 20px; border-radius: 4px; line-height: 1.35; box-shadow: 0 8px 24px rgba(232, 160, 32, 0.3); }

/* ── SERVIÇOS ── */
.servicos { background: var(--blue); position: relative; z-index: 1; }
.servicos::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 38px);
  pointer-events: none;
}
.servicos-head { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.servicos-head .section-title { color: var(--white); }
.servicos-head p { color: rgba(255,255,255,0.6); font-size: 16px; margin-top: 12px; line-height: 1.7; }
.servicos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; max-width: 1200px; margin: 0 auto; }
.servico-card { background: rgba(26, 61, 110, 0.95); padding: 44px 36px; transition: background 0.25s; position: relative; overflow: hidden; }
.servico-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.servico-card:hover { background: #1f4880; }
.servico-card:hover::before { transform: scaleX(1); }
.servico-num { font-family: 'Bebas Neue', sans-serif; font-size: 48px; color: rgba(255,255,255,0.08); line-height: 1; margin-bottom: 20px; }
.servico-icon { width: 56px; height: 56px; margin-bottom: 24px; transition: transform 0.3s; }
.servico-card:hover .servico-icon { transform: scale(1.1); }
.servico-icon img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.85; }
.servico-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 600; color: var(--white); margin-bottom: 14px; letter-spacing: 0.02em; }
.servico-card p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 28px; }
.servico-link { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.servico-link:hover { gap: 10px; }

/* ── PRODUTOS ── */
.produtos { background: var(--white); }
.produtos-head { max-width: 1200px; margin: 0 auto 56px; text-align: center; }
.produtos-head .section-label { justify-content: center; }
.produtos-head p { font-size: 16px; color: var(--gray); max-width: 560px; line-height: 1.7; margin: 0 auto; }
.produtos-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; max-width: 1200px; width: 100%; margin: 0 auto; }
.produto-card { background: var(--off-white); border-radius: 8px; padding: 28px 16px 20px; text-align: center; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; cursor: default; border: 1px solid transparent; overflow: hidden; }
.produto-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(11,37,69,0.10); background: var(--white); border-color: #e0e4ea; }
.produto-card img { max-height: 220px; width: 100%; object-fit: contain; margin-bottom: 14px; display: block; margin-left: auto; margin-right: auto; transition: transform 0.3s; }
.produto-card:hover img { transform: scale(1.1); }
.produto-card span { font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: var(--blue); text-transform: uppercase; display: block; word-break: break-word; }

/* ── FILIAIS ── */
.filiais { background: var(--off-white); }
.filiais-head { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.filiais-head .section-title { margin-bottom: 12px; }
.filiais-head p { font-size: 16px; color: var(--gray); line-height: 1.7; }
.filiais-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1200px; margin: 0 auto; }
.filial-card { background: var(--white); border-radius: 10px; overflow: hidden; border: 1px solid #e4e8ef; transition: box-shadow 0.25s, transform 0.25s; }
.filial-card:hover { box-shadow: 0 16px 48px rgba(11,37,69,0.12); transform: translateY(-4px); }
.filial-img { height: 240px; overflow: hidden; position: relative; }
.filial-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.filial-card:hover .filial-img img { transform: scale(1.04); }
.filial-tag { position: absolute; top: 16px; left: 16px; background: var(--blue); color: var(--white); font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 12px; border-radius: 3px; }
.filial-tag.matriz { background: var(--accent); color: var(--blue); }
.filial-info { padding: 28px; }
.filial-info h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.filial-info address { font-size: 14px; font-style: normal; color: var(--gray); line-height: 1.65; }

/* ── CTA STRIP ── */
.cta-strip { background: var(--accent); padding: 64px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-strip-text h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(28px, 4vw, 44px); color: var(--blue); letter-spacing: 0.02em; line-height: 1.1; }
.cta-strip-text p { font-size: 16px; color: rgba(11,37,69,0.7); margin-top: 6px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .produtos-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  /* Carousel */
  .carousel { overflow: hidden; }
  .carousel-slide img { width: 100%; height: auto; object-fit: cover; }
  .carousel-btn { width: 32px; height: 32px; font-size: 14px; }
  .carousel-btn.prev { left: 8px; }
  .carousel-btn.next { right: 8px; }
  .carousel-dots { bottom: 10px; }
  .carousel-dot { width: 7px; height: 7px; }

  /* Sobre */
  .sobre { overflow: hidden; }
  .sobre-inner { grid-template-columns: 1fr; gap: 36px; max-width: 100%; }
  .sobre-text > p { font-size: 15px; line-height: 1.7; }
  .sobre-img { max-width: 100%; overflow: visible; }
  .sobre-img img { aspect-ratio: 16/10; border-radius: 8px; }
  .sobre-img-badge { bottom: -12px; left: 12px; font-size: 12px; padding: 10px 16px; }
  .sobre-stats { grid-template-columns: 1fr 1fr; }

  /* Serviços */
  .servicos { overflow: hidden; }
  .servicos-grid { grid-template-columns: 1fr; gap: 2px; }
  .servico-card { padding: 32px 20px; }
  .servico-num { font-size: 36px; margin-bottom: 12px; }
  .servico-icon { width: 44px; height: 44px; margin-bottom: 18px; }
  .servico-card h3 { font-size: 20px; }
  .servico-card p { font-size: 14px; margin-bottom: 20px; }

  /* Produtos */
  .produtos { overflow: hidden; position: relative; }
  .produtos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 100%; }
  .produto-card { padding: 12px 6px 10px; border-radius: 8px; min-width: 0; overflow: hidden; }
  .produto-card img { max-height: 130px; width: auto; max-width: 95%; margin-bottom: 10px; }
  .produto-card span { font-size: 12px; font-weight: 700; letter-spacing: 0.01em; }

  /* Filiais */
  .filiais-grid { grid-template-columns: 1fr; gap: 20px; }
  .filial-img { height: 200px; }
  .filial-info { padding: 20px; }
  .filial-info h3 { font-size: 18px; margin-bottom: 8px; }
  .filial-info address { font-size: 13px; }

  /* CTA Strip */
  .cta-strip { flex-direction: column; text-align: center; padding: 48px 16px; gap: 24px; max-width: 100vw; overflow: hidden; }
  .cta-strip-text h2 { font-size: clamp(26px, 6vw, 36px); }
  .cta-strip-text p { font-size: 15px; }
}
@media (max-width: 480px) {
  .produtos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .produto-card img { max-height: 110px; max-width: 100%; }
  .sobre-stats { grid-template-columns: 1fr; }
  .certs-row { flex-direction: column; }
  .stat-num { font-size: 28px; }
}

