/* ============================================================================
   Duo Prime · components.css
   Componentes reutilizáveis entre páginas: seções, blocos editoriais, cards,
   página "em construção" (placeholder). Use estas classes ao criar páginas
   internas para herdar o padrão visual sem reescrever CSS.
   ========================================================================== */

/* ----- shell de seção ----- */
.section {
  position: relative;
  z-index: 5;
  padding: 0 var(--gutter);
}
.section--bordered { border-top: 1px solid var(--rule); }
.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

/* ----- cabeçalho de seção (eyebrow + título + lead) ----- */
.section-head { margin-bottom: 64px; }
.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.section-head h2 {
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 600;
  text-wrap: balance;
  max-width: 18ch;
}
.section-head__lead {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 52ch;
  margin-top: 20px;
}

/* ----- grids utilitárias ----- */
.grid { display: grid; gap: 32px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ----- card editorial (sem sombra/borda arredondada — vocabulário de planta) ----- */
.card {
  position: relative;
  padding: 40px 32px;
  border-top: 1px solid var(--rule-accent);
  background: transparent;
}
.card__num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}
.card__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 30px);
  margin-bottom: 14px;
}
.card__text {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

/* ----- bloco "em construção" / placeholder ----- */
.placeholder {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 8vh) var(--gutter) 12vh;
  position: relative;
  z-index: 5;
}
.placeholder__symbol {
  height: 96px;
  width: auto;
  margin-bottom: 40px;
  opacity: 0;
  animation: phFade 1s .1s var(--ease) forwards;
}
.placeholder .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  opacity: 0;
  animation: phFade 1s .25s var(--ease) forwards;
}
.placeholder h1 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 600;
  text-wrap: balance;
  max-width: 16ch;
  margin: 0 auto 24px;
  opacity: 0;
  animation: phFade 1s .4s var(--ease) forwards;
}
.placeholder h1 em { font-style: normal; color: var(--accent); }
.placeholder__lead {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto 44px;
  opacity: 0;
  animation: phFade 1s .55s var(--ease) forwards;
}
.placeholder__actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: phFade 1s .7s var(--ease) forwards;
}
.placeholder__status {
  margin-top: 56px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: phFade 1s .85s var(--ease) forwards;
}
.placeholder__status .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: statusPulse 2.4s ease-in-out infinite;
}
@keyframes phFade {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes statusPulse {
  0%, 100% { opacity: .35; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.35); }
}

/* ----- responsividade dos componentes ----- */
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 44px; }
}
