/* Go Electric — páginas internas */

/* === Hero compacto pra páginas internas === */
.page-hero {
  padding: 56px 0;
  background: linear-gradient(135deg, var(--brand-darker), var(--brand-deep));
  color: #fff;
  text-align: center;
}
.page-hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 600;
  margin-bottom: 12px;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 14px;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb {
  background: var(--bg-alt);
  padding: 14px 0;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb__sep { margin: 0 8px; color: var(--text-dim); }

/* Reduz padding-top quando uma section vem logo após o breadcrumb (evita gap grande) */
.breadcrumb + .section,
.breadcrumb + section.section { padding-top: clamp(16px, 2.5vw, 28px); }

/* === Listagem em grid === */
.list-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) { .list-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .list-grid { grid-template-columns: 1fr; } }

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

.list-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 200ms var(--ease);
}
.list-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.list-card__img {
  aspect-ratio: 16 / 10;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  font-size: 48px;
  color: var(--brand);
  overflow: hidden;
}
.list-card__img img { width: 100%; height: 100%; object-fit: cover; }
/* Variante p/ fotos de produto (fundo branco/recorte) — alinhamento centralizado, sem corte */
.list-card__img--contain {
  aspect-ratio: 4 / 5;
  background: #fff;
}
.list-card__img--contain img {
  object-fit: contain;
  padding: 18px;
}
.list-card__body { padding: 20px 24px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.list-card__category {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.list-card__title {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 4px;
}
.list-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}
.list-card__meta {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 6px;
}
.list-card__cta {
  margin-top: 12px;
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
}

/* === Produtos (cards na /equipamentos/) === */
.list-card--product .list-card__title { font-size: 17px; line-height: 1.3; }
.list-card__specs {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}
.list-card__specs li { padding: 2px 0; }
.list-card__actions {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.list-card__actions .button { padding: 8px 14px; font-size: 13px; }

/* Agrupador por categoria na /equipamentos/ */
.equip-section { margin-bottom: 56px; }
.equip-section:last-child { margin-bottom: 0; }
.equip-section__head {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.equip-section__title {
  font-size: clamp(22px, 2.6vw, 28px);
  margin: 0 0 6px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.equip-section__desc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* === Detalhamento de produto === */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 800px) {
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
}
.product-detail__images {
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  font-size: 96px;
  color: var(--brand);
  overflow: hidden;
}
.product-detail__images img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__category {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}
.product-detail h1 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 12px; }
.product-detail__desc { color: var(--text-muted); font-size: 16px; line-height: 1.65; margin-bottom: 24px; }
.product-detail__specs { margin-bottom: 28px; }
.product-detail__specs h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 12px; }
.product-detail__specs ul { display: grid; gap: 8px; }
.product-detail__specs li {
  padding: 10px 14px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
}
.product-detail__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* === Categoria filtro (sub-páginas) === */
.cat-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  justify-content: center;
}
.cat-filter a {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--surface);
}
.cat-filter a:hover { border-color: var(--brand); color: var(--brand); }
.cat-filter a.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* === Form contato === */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-form .field { margin-bottom: 16px; }
.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c4c4c4;
  border-radius: var(--radius);
  background: #fff;
  font-size: 15px;
  color: var(--text);
  transition: border-color 150ms, box-shadow 150ms;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8a8a8a;
}
.contact-form input:hover,
.contact-form textarea:hover,
.contact-form select:hover {
  border-color: #9a9a9a;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--text);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 221, 0, 0.35);
}
.contact-form textarea { min-height: 140px; resize: vertical; font-family: inherit; }
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 600px) { .contact-form .row { grid-template-columns: 1fr; } }
.contact-form .field--honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
.contact-info {
  background: var(--bg-alt);
  padding: 32px;
  border-radius: var(--radius-lg);
}
.contact-info h3 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
  margin-top: 24px;
}
.contact-info h3:first-child { margin-top: 0; }
.contact-info p { margin-bottom: 6px; font-size: 15px; }
.contact-info__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
}
.contact-info__whatsapp-icon {
  flex: 0 0 auto;
  color: #25d366;
}
.contact-info__whatsapp:hover .contact-info__whatsapp-icon { color: #128c7e; }
.contact-info__whatsapp-arrow { transition: transform 150ms; }
.contact-info__whatsapp:hover .contact-info__whatsapp-arrow { transform: translateX(3px); }

/* === Mensagem de sucesso/erro === */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  border-left: 4px solid;
  background: var(--bg-alt);
}
.alert--success { border-color: var(--accent); background: rgba(22, 179, 100, 0.08); }
.alert--error { border-color: #c0392b; background: rgba(192, 57, 43, 0.08); }

/* === Empty state === */
.empty-state {
  text-align: center;
  padding: 72px 24px;
  color: var(--text-dim);
}
.empty-state__icon { font-size: 56px; margin-bottom: 16px; opacity: 0.5; }

/* === Linhas de soluções (página /projetos/) === */
.section--projects-solutions {
  padding-top: clamp(16px, 2.5vw, 28px);
}
.solutions-list {
  display: grid;
  gap: 64px;
}
.solution-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.solution-row--reverse .solution-row__media { order: 2; }
.solution-row__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
}
.solution-row__media img { width: 100%; height: 100%; object-fit: cover; }
.solution-row__eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
  padding-left: 10px;
  border-left: 3px solid var(--brand);
  margin-bottom: 10px;
}
.solution-row__title {
  font-size: clamp(24px, 2.8vw, 32px);
  margin-bottom: 14px;
}
.solution-row__desc {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 20px;
}
.solution-row__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}
.solution-row__list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}
.solution-row__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
@media (max-width: 800px) {
  .solution-row { grid-template-columns: 1fr; gap: 24px; }
  .solution-row--reverse .solution-row__media { order: 0; }
  .solutions-list { gap: 48px; }
}

/* === CTA final (página /projetos/) === */
.projects-cta {
  background: var(--ink);
  color: var(--on-ink);
  padding: clamp(40px, 5vw, 64px) 0;
  position: relative;
  overflow: hidden;
}
.projects-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255, 221, 0, 0.10), transparent 55%);
  pointer-events: none;
}
.projects-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.projects-cta__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ink-soft);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.projects-cta__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.projects-cta__eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 14px;
}
.projects-cta__body h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  color: var(--on-ink);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.projects-cta__lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 540px;
}
.projects-cta__steps {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  gap: 18px;
}
.projects-cta__steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
}
.projects-cta__step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
}
.projects-cta__steps li strong {
  display: block;
  color: var(--on-ink);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: -0.005em;
}
.projects-cta__steps li span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.5;
}
.projects-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.projects-cta__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--on-ink);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 180ms var(--ease);
  line-height: 1.2;
}
.projects-cta__ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--on-ink);
  transform: translateY(-1px);
}
@media (max-width: 900px) {
  .projects-cta__inner { grid-template-columns: 1fr; }
  .projects-cta__media { order: -1; aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  .projects-cta__actions .button,
  .projects-cta__ghost { flex: 1 1 100%; }
}

/* === Publicação (post completo) === */
.article {
  max-width: 760px;
  margin: 0 auto;
}
.article__cover {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  margin-bottom: 32px;
  overflow: hidden;
}
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__meta { color: var(--text-dim); font-size: 14px; margin-bottom: 12px; }
.article h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 20px; }
.article__body { font-size: 17px; line-height: 1.7; color: var(--text); }
.article__body p { margin-bottom: 18px; }
.article__body a { color: var(--brand); text-decoration: underline; }
