/* ============================================================
   produto.css — Páginas individuais de plataformas elevatórias
   Complementa PTA.css com os novos blocos de seção
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --green:   #1abc9c;
  --dark:    #101010;
  --gray:    #f5f5f5;
  --border:  #e0e0e0;
  --white:   #ffffff;
  --text:    #333333;
  --muted:   #666666;
}

/* ── REVEAL ────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.reveal.active { opacity: 1; transform: none; }

/* ── HERO ──────────────────────────────────────────────────── */
.p-hero {
  position: relative;
  min-height: 70vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 60px;
}
.p-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.75) 40%, rgba(0,0,0,.25) 100%);
}
.p-hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  color: var(--white);
}
.p-badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.p-hero-content h1 {
  font-size: clamp(24px, 3.5vw, 46px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.p-hero-content p {
  font-size: clamp(15px, 1.6vw, 19px);
  opacity: .88;
  margin-bottom: 32px;
  line-height: 1.6;
}
.p-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── PRODUTO ────────────────────────────────────────────────── */
.produto { background: var(--green); }
.produto .container {
  display: flex;
  gap: 50px;
  padding: 60px;
  max-width: 1200px;
  margin: auto;
  align-items: flex-start;
}

/* GALERIA */
.galeria { width: 48%; flex-shrink: 0; }
.principal {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
  transition: .3s;
}
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: .3s;
  opacity: .75;
}
.thumbs img:hover, .thumbs img.ativa { border-color: var(--white); opacity: 1; transform: scale(1.06); }

/* INFO */
.info { flex: 1; color: var(--white); }
.p-breadcrumb { font-size: 13px; opacity: .7; margin-bottom: 10px; }
.p-breadcrumb a { color: var(--white); text-decoration: underline; }
.info h2 {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 14px;
  line-height: 1.2;
}
.descricao { font-size: 15px; line-height: 1.7; opacity: .9; margin-bottom: 22px; }

.p-benefits { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.p-benefits li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; }
.p-benefits li img { width: 18px; flex-shrink: 0; margin-top: 2px; }

.acoes { display: flex; gap: 12px; flex-wrap: wrap; }
.acoes .btn { display: flex; align-items: center; gap: 8px; }
.acoes .btn img { width: 18px; }

/* ── SPECS ──────────────────────────────────────────────────── */
.p-specs { background: var(--gray); padding: 80px 20px; }
.p-specs-container { max-width: 900px; margin: auto; }

.p-section-title { text-align: center; margin-bottom: 44px; }
.p-section-title h2 { font-size: clamp(22px, 2.8vw, 36px); font-weight: 900; color: var(--dark); margin-bottom: 10px; }
.p-section-title p { font-size: 15px; color: var(--muted); max-width: 540px; margin: auto; }

/* TABS */
.tabs { display: flex; gap: 0; border-radius: 10px; overflow: hidden; margin-bottom: 28px; border: 2px solid var(--green); width: fit-content; margin-left: auto; margin-right: auto; }
.tab-btn {
  padding: 12px 28px;
  background: transparent;
  border: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--green);
  cursor: pointer;
  transition: .25s;
}
.tab-btn.active { background: var(--green); color: var(--white); }
.tab-btn:hover:not(.active) { background: rgba(26,188,156,.1); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.specs-table { width: 100%; border-collapse: collapse; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.07); }
.specs-table td { padding: 14px 20px; font-size: 14px; border-bottom: 1px solid var(--border); background: var(--white); }
.specs-table td:first-child { color: var(--muted); width: 55%; }
.specs-table td:last-child strong { color: var(--dark); }
.specs-table tr:last-child td { border-bottom: none; }
.specs-table tr:hover td { background: #f0fdf9; }

.p-obs {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(26,188,156,.1);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 28px;
}
.p-obs img { width: 24px; flex-shrink: 0; }
.p-obs p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── APLICAÇÕES ─────────────────────────────────────────────── */
.p-aplicacoes { background: var(--dark); padding: 80px 20px; }
.p-aplicacoes-container { max-width: 1100px; margin: auto; }
.p-aplicacoes .p-section-title h2 { color: var(--white); }
.p-aplicacoes .p-section-title p { color: #aaa; }

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 10px;
}
.app-card {
  background: #1c1c1c;
  border-radius: 14px;
  padding: 28px 16px;
  text-align: center;
  border-bottom: 3px solid var(--green);
  transition: .3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.app-card:hover { transform: translateY(-5px); box-shadow: 0 8px 28px rgba(0,0,0,.4); }
.app-card img { width: 40px; opacity: .85; }
.app-card span { font-size: 13px; font-weight: 700; color: var(--white); }

/* ── USO IDEAL ──────────────────────────────────────────────── */
.p-uso { background: var(--white); padding: 80px 20px; }
.p-uso-container { max-width: 1100px; margin: auto; display: flex; gap: 60px; align-items: center; flex-wrap: wrap; }
.p-uso-text { flex: 1; min-width: 280px; }
.p-uso-text h2 { font-size: clamp(22px, 2.5vw, 34px); font-weight: 900; color: var(--dark); margin-bottom: 16px; }
.p-uso-text > p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 28px; }
.p-uso-text .btn { display: inline-flex; align-items: center; gap: 8px; }
.p-uso-text .btn img { width: 18px; }

.p-uso-diferenciais { flex: 1; min-width: 280px; display: flex; flex-direction: column; gap: 20px; }
.p-dif {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--gray);
  border-radius: 12px;
  padding: 18px 20px;
}
.p-dif > img { width: 36px; flex-shrink: 0; }
.p-dif h4 { font-size: 14px; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.p-dif p { font-size: 13px; color: var(--muted); }

/* ── FAQ ────────────────────────────────────────────────────── */
.p-faq { background: var(--gray); padding: 80px 20px; }
.p-faq-container { max-width: 780px; margin: auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: .2s;
}
.faq-question:hover { color: var(--green); }
.faq-icon { font-size: 20px; font-weight: 400; flex-shrink: 0; transition: .3s; color: var(--green); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 22px 18px; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── CTA ────────────────────────────────────────────────────── */
.cta { background: linear-gradient(135deg, var(--green) 0%, #16a085 100%); padding: 90px 20px; }
.cta-content {
  max-width: 700px;
  margin: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cta-content h2 { font-size: clamp(22px, 3vw, 38px); font-weight: 900; color: var(--white); }
.cta-content p { font-size: 16px; color: rgba(255,255,255,.88); line-height: 1.7; }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

.cta .btn.primary { background: var(--white); color: var(--green); }
.cta .btn.primary:hover { background: #f0fdf9; }
.cta .btn.secondary { background: transparent; border: 2px solid var(--white); color: var(--white); }
.cta .btn.secondary:hover { background: rgba(255,255,255,.1); }

/* ── OUTROS MODELOS ─────────────────────────────────────────── */
.p-outros { background: var(--white); padding: 80px 20px; }
.p-outros-container { max-width: 1100px; margin: auto; }
.outros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}
.outro-card {
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--border);
  transition: .3s;
}
.outro-card:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.outro-card img { width: 100%; height: 130px; object-fit: cover; }
.outro-card span {
  padding: 12px;
  font-size: 12px;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  background: var(--white);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.outro-card:hover span { color: var(--green); }

/* ── BOTÃO TOPO ─────────────────────────────────────────────── */
#btnTopo {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 99;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 5px 18px rgba(0,0,0,.3);
  transition: .3s;
}
#btnTopo:hover { background: #16a085; transform: translateY(-3px); }

/* ── BOTÕES GLOBAIS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: .3s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.btn.primary { background: var(--white); color: var(--green); }
.btn.secondary { background: transparent; border: 2px solid var(--white); color: var(--white); }

/* ── RESPONSIVO ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .p-hero { padding: 40px 30px; }
  .produto .container { gap: 30px; padding: 40px 20px; }
  .p-uso-container { flex-direction: column; }
}

@media (max-width: 768px) {
  .p-hero { min-height: 60vh; padding: 30px 20px; }
  .p-hero-btns { flex-direction: column; }
  .produto .container { flex-direction: column; }
  .galeria, .info { width: 100%; }
  .principal { height: 260px; }
  .thumbs { justify-content: center; }
  .acoes { flex-direction: column; }
  .acoes .btn { width: 100%; justify-content: center; }
  .tabs { width: 100%; }
  .tab-btn { flex: 1; text-align: center; padding: 12px 10px; font-size: 13px; }
  .app-grid { grid-template-columns: repeat(3, 1fr); }
  .outros-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .outros-grid { grid-template-columns: repeat(2, 1fr); }
  .principal { height: 210px; }
}
