/* =========================================================
   motion.css — ExperConsult site novo
   Base de motion reutilizavel pelo resto do site (Task 3).
   Inclui tambem o layout minimo do hero desta PoC (camada do
   blueprint + cards de dupla jornada), pois nenhum outro
   arquivo CSS foi criado nesta task para isso.
   ========================================================= */

/* ---------- reduced-motion global (obrigatorio, EXATO do brief) ---------- */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation: none !important; transition: none !important; }
}

/* ---------- hero: fade-in leve do headline (sutil, respeita reduced-motion acima) ---------- */
.hero h1,
.hero .eyebrow,
.hero .sub,
.hero .jorn{
  animation: hero-fade-up .7s ease-out both;
}

.hero .eyebrow{ animation-delay: 0s; }
.hero h1{ animation-delay: .08s; }
.hero .sub{ animation-delay: .16s; }
.hero .jorn{ animation-delay: .24s; }

@keyframes hero-fade-up{
  from{ opacity: 0; transform: translateY(10px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* ---------- hero: destaque "planta certificada" ---------- */
.hero h1 em{
  font-style: normal;
  color: var(--verde);
}

/* ---------- hero: estrutura + camada decorativa do blueprint ---------- */
.hero{
  position: relative;
  overflow: hidden;
}

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

.hero .sub{
  margin-top: var(--s2);
  max-width: 60ch;
  color: var(--muted-inv);
}

.hero-blueprint{
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

.hero-blueprint svg{
  width: 100%;
  height: auto;
  max-width: none;
  color: var(--teal);
  opacity: .5;
}

@media (min-width: 768px){
  .hero-blueprint svg{
    opacity: .7;
  }
}

/* ---------- hero: dupla jornada (2 cards-link) ---------- */
.jorn{
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  margin-top: var(--s4);
}

.jcard{
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  min-height: 44px;
  padding: var(--s3);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .03);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, transform .2s ease;
}

.jcard:hover,
.jcard:focus-visible{
  border-color: var(--teal);
}

.jcard .k{
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-inv);
}

.jcard .t{
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--txt-inv);
}

@media (min-width: 768px){
  .jorn{
    flex-direction: row;
  }
  .jcard{
    flex: 1;
  }
}
