/* ============================================================
   PROMETISNOUS — home.css
   Home MVP: header, hero, nav mínima, grid de serviços, footer.
   ============================================================ */

.pmn-home {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.pmn-home main {
  flex: 1;
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding: calc(var(--topbar-h) + 3rem) clamp(1.1rem, 5vw, 3rem) 3rem;
  display: flex;
  flex-direction: column;
  gap: clamp(3.5rem, 9vh, 6rem);
}

/* ---- nav mínima ---- */
.pmn-nav {
  display: flex;
  gap: 1.6rem;
  justify-content: center;
  flex-wrap: wrap;
  font: 600 0.68rem/1 var(--font-mono);
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.pmn-nav a {
  color: var(--dim);
  text-decoration: none;
  padding: 0.4rem 0.2rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.pmn-nav a:hover,
.pmn-nav a:focus-visible { color: var(--acc); border-bottom-color: var(--acc); }

/* ---- hero ---- */
.pmn-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}
.pmn-hero h1 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 24ch;
  text-wrap: balance;
}
.pmn-hero h1 em {
  font-style: normal;
  color: var(--acc);
  text-shadow: 0 0 26px rgba(var(--acc-rgb), 0.35);
}
.pmn-hero p {
  color: var(--dim);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  max-width: 58ch;
  text-wrap: pretty;
}
.pmn-hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center; }

.pmn-btn {
  display: inline-block;
  font: 700 0.78rem/1 var(--font-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.95rem 1.9rem;
  border-radius: 4px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pmn-btn-primary {
  color: var(--bg);
  background: linear-gradient(135deg, var(--acc), var(--acc2));
  box-shadow: 0 0 22px rgba(var(--acc-rgb), 0.3);
}
.pmn-btn-primary:hover,
.pmn-btn-primary:focus-visible { transform: translateY(-2px); box-shadow: 0 0 34px rgba(var(--acc-rgb), 0.5); }
.pmn-btn-ghost {
  color: var(--acc);
  border: 1px solid var(--line);
}
.pmn-btn-ghost:hover,
.pmn-btn-ghost:focus-visible { border-color: var(--acc); }

/* ---- seções ---- */
.pmn-section { display: flex; flex-direction: column; gap: 1.6rem; }
.pmn-section-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  align-items: center;
}
.pmn-section-head .pmn-kicker { align-self: center; }
.pmn-section-head h2 {
  font-weight: 800;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  letter-spacing: -0.01em;
}
.pmn-section-head p {
  color: var(--dim);
  max-width: 60ch;
  text-wrap: pretty;
}

/* ---- grid de serviços (placeholder) ---- */
.pmn-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.pmn-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  padding: 1.5rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.pmn-card:hover,
.pmn-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--acc);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 24px rgba(var(--acc-rgb), 0.12);
}
.pmn-card-index {
  font: 600 0.62rem/1 var(--font-mono);
  letter-spacing: 0.3em;
  color: var(--acc);
}
.pmn-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
}
.pmn-card p {
  font-size: 0.86rem;
  color: var(--dim);
  text-wrap: pretty;
}
.pmn-card-tag {
  margin-top: auto;
  font: 600 0.6rem/1 var(--font-mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}
.pmn-card-tag::before { content: "▸ "; color: var(--acc); }

/* ---- manifesto curto ---- */
.pmn-manifesto {
  border-left: 2px solid var(--acc);
  padding: 0.4rem 0 0.4rem 1.4rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--ink);
  max-width: 62ch;
  align-self: center;
  text-wrap: pretty;
}
.pmn-manifesto footer {
  margin-top: 0.8rem;
  font: 600 0.66rem/1 var(--font-mono);
  letter-spacing: 0.3em;
  color: var(--dim);
}

/* ---- footer ---- */
.pmn-footer {
  border-top: 1px solid var(--faint);
  padding: 2rem clamp(1.1rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font: 500 0.74rem/1.5 var(--font-mono);
  color: var(--dim);
}
.pmn-footer a { color: var(--dim); text-decoration: none; }
.pmn-footer a:hover,
.pmn-footer a:focus-visible { color: var(--acc); }
.pmn-footer-brand {
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ink);
}

/* ---- desktop 1200+ ---- */
@media (min-width: 1200px) {
  .pmn-grid { gap: 1.2rem; }
}

/* ---- tablet 768–1199 ---- */
@media (max-width: 1199px) {
  .pmn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- mobile <768 ---- */
@media (max-width: 767px) {
  .pmn-home main { padding-top: calc(var(--topbar-h) + 2rem); gap: 3rem; }
  .pmn-nav { gap: 1rem; }
  .pmn-grid { grid-template-columns: 1fr; }
  .pmn-manifesto { padding-left: 1rem; }
  .pmn-footer { flex-direction: column; text-align: center; }
}

/* ---- movimento reduzido ---- */
@media (prefers-reduced-motion: reduce) {
  .pmn-card,
  .pmn-btn { transition-duration: 0.001s; }
  .pmn-card:hover { transform: none; }
}
