/* =========================================================
   ART Sistemas — Páginas internas (Sobre, Serviços, Portfólio, Contato)
   Estende css/art-home.css. Carregar sempre depois dele.
   ========================================================= */

/* ============================================================
   01. BANNER DE PÁGINA (PAGE HERO)
   ============================================================ */

.page-hero {
  padding: 56px 0 46px;
  background: radial-gradient(circle at 65% 0%, #2a2a2a 0, #161616 40%, #050505 85%);
  position: relative;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

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

.breadcrumb span {
  opacity: .6;
}

.page-hero h1 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 14px 0 14px;
}

.page-hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.page-hero p.lead {
  font-size: 16px;
  max-width: 680px;
  color: #e7edef;
}

/* ============================================================
   02. SEÇÕES DE CONTEÚDO
   ============================================================ */

.content-section {
  padding: 44px 0;
}

.content-section.alt {
  background: radial-gradient(circle at 58% 0%, #2a2a2a 0, #161616 35%, #050505 82%);
  color: #fff;
}

.content-section.alt .eyebrow.light-pill {
  color: #fff;
}

.content-section .section-head {
  margin-bottom: 26px;
}

.content-section h2 {
  font-size: 30px;
  letter-spacing: -.03em;
  margin: 0 0 10px;
  max-width: 700px;
}

/* mesmo espaço entre selo e título do topo da página (.page-hero h1) */
.content-section .section-head.top-align h2 {
  margin-top: 14px;
}

.content-section p.intro {
  font-size: 15px;
  max-width: 760px;
  color: #dbe4e6;
}

.dark-section .content-section p.intro {
  color: #dbe4e6;
}

/* ============================================================
   03. CARDS DE MISSÃO, VISÃO E VALORES
   ============================================================ */

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

.value-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: 8px;
  padding: 24px 22px;
}

.value-card .value-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 140, 0, .15);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--accent);
}

.value-card .value-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card h3 {
  font-size: 17px;
  margin: 0 0 8px;
}

.value-card p {
  font-size: 13px;
  color: #d6e0e2;
  margin: 0;
}

/* ============================================================
   04. CHECKLIST
   ============================================================ */

.checklist {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}

.checklist li {
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #eef2f3;
}

.checklist li:before {
  content: "✓";
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 900;
  margin-top: 1px;
}

/* ============================================================
   05. GALERIA DE FOTOS
   ============================================================ */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.photo-grid figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #05090b;
}

.photo-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.photo-grid figcaption {
  font-size: 12px;
  color: var(--muted);
  padding: 9px 2px 0;
}

/* ============================================================
   06. BLOCOS DE SERVIÇO (ALTERNADOS)
   ============================================================ */

.service-row {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 46px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.service-row:last-child {
  border-bottom: 0;
}

.service-row.reverse .service-media {
  order: 2;
}

.service-row.reverse .service-copy {
  order: 1;
}

.service-media img {
  width: 100%;
  height: 300px;
  /* contain + fundo branco: a foto do produto aparece inteira,
     sem cortar as bordas do equipamento */
  object-fit: contain;
  background: #fff;
  padding: 14px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .15);
}

.service-copy .eyebrow {
  margin-bottom: 12px;
}

.service-copy h3 {
  font-size: 24px;
  margin: 0 0 12px;
  letter-spacing: -.02em;
  scroll-margin-top: 96px;
}

.service-copy p {
  font-size: 14px;
  color: #dbe4e6;
  margin: 0 0 10px;
}

.service-copy ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.service-copy ul li {
  font-size: 13px;
  color: #dbe4e6;
  padding-left: 20px;
  position: relative;
  margin: 6px 0;
}

.service-copy ul li:before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Botão "Alocar agora": alinhado à esquerda, na mesma margem do texto */
.service-cta {
  display: inline-flex;
  margin-top: 18px;
}

/* ============================================================
   07. GRADE DE PROJETOS (CLIENTES)
   ============================================================ */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.portfolio-grid .project-card {
  width: auto;
  max-width: none;
  min-width: 0;
}

.portfolio-grid .project-card>a {
  display: block;
}

.portfolio-grid .project-card img {
  display: block;
  width: 100%;
  height: 200px;
  /* logos centralizados em fundo branco, sem cortar */
  object-fit: contain;
  object-position: center;
  background: #fff;
  padding: 16px;
  box-sizing: border-box;
}

.portfolio-grid .project-body p {
  font-size: 13px;
  color: #dbe4e6;
  margin: 0 0 10px;
  line-height: 1.5;
}

/* ============================================================
   08. CTA DE DOWNLOAD
   ============================================================ */

.download-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(90deg, #2a2a2a, #1a1a1a);
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: 10px;
  padding: 26px 30px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.download-cta h3 {
  margin: 0 0 4px;
  font-size: 19px;
}

.download-cta p {
  margin: 0;
  font-size: 13px;
  color: #c9d5d8;
}

/* ============================================================
   09. FORMULÁRIO DE CONTATO
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 46px;
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1/-1;
}

.form-field label {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.form-field input,
.form-field textarea {
  border: 1px solid #d0d7db;
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  grid-column: 1/-1;
  font-size: 12px;
  color: var(--muted);
  margin: 2px 0 0;
}

.form-status {
  grid-column: 1/-1;
  font-size: 13px;
  padding: 11px 14px;
  border-radius: 6px;
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: #e6f7ec;
  color: #146c3a;
  border: 1px solid #b6e3c6;
}

.form-status.error {
  background: #fdeceb;
  color: #a4291d;
  border: 1px solid #f3c3bd;
}

.contact-form button[type="submit"] {
  grid-column: 1/-1;
  justify-self: start;
}

.contact-form button[disabled] {
  opacity: .6;
  cursor: progress;
}

.contact-info-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: 10px;
  padding: 26px;
}

.contact-info-card h3 {
  font-size: 16px;
  margin: 0 0 16px;
  color: #fff;
}

.contact-info-card p {
  font-size: 13px;
  color: #d6e0e2;
  margin: 0 0 12px;
  line-height: 1.55;
}

.contact-info-card b {
  color: #fff;
}

/* ============================================================
   10. RESPONSIVO — TABLET (até 900px)
   ============================================================ */

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

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

  .service-row,
.service-row.reverse {
    grid-template-columns: 1fr;
  }

  .service-row.reverse .service-media,
.service-row.reverse .service-copy {
    order: initial;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

/* ============================================================
   11. RESPONSIVO — MOBILE (até 600px)
   ============================================================ */

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

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

  .download-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
