/* =====================================================
   FELDER SYSTEMS — sections.css
   Estilos por seção: hero, problema, jornada, processo,
   cases, sobre, CTA final.
   ===================================================== */

/* ---------- 1. HERO ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 140px 0 90px;
}

.hero-inner { text-align: center; }

.hero .kicker { justify-content: center; margin-bottom: 26px; }
.hero .kicker::after {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--cobalt));
  border-radius: 2px;
}

.hero h1 { margin-bottom: 26px; }

.hero .sub {
  color: var(--muted);
  font-size: clamp(16.5px, 1.8vw, 19.5px);
  max-width: 600px;
  margin: 0 auto 38px;
}

.hero .buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.metrics {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 6vw, 72px);
  flex-wrap: wrap;
  padding-top: 34px;
  border-top: 1px solid rgba(255,255,255,.08);
  width: min(760px, 100%);
  margin-inline: auto;
}
.metric { text-align: center; }
.metric b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--text), #c7d6ea);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metric span {
  font-size: 13.5px;
  color: var(--muted);
}

.hero-hints {
  position: absolute;
  left: 0; right: 0; bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .04em;
  transition: opacity .5s ease;
}
.hero-hints.hide { opacity: 0; pointer-events: none; }
.hint-scroll {
  animation: bob 2.4s ease-in-out infinite;
  color: var(--muted);
}
.hint-scroll:hover { color: var(--text); }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ---------- 2. PROBLEMA ---------- */
.pains { margin-top: 52px; }
.pains .card p { color: var(--muted); font-size: 15px; margin-top: 10px; }

/* ---------- 3. JORNADA ---------- */
.journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 64px;
}
.journey-line {
  position: absolute;
  top: -26px;
  left: 6%;
  right: 6%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cobalt), var(--cyan) 55%, var(--amber));
  opacity: .65;
}
.journey-line::before,
.journey-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translateY(-50%);
}
.journey-line::before { left: 0; background: var(--cobalt); box-shadow: 0 0 14px var(--cobalt); }
.journey-line::after  { right: 0; background: var(--amber);  box-shadow: 0 0 14px var(--amber); }

.phase { padding-top: 34px; }
.phase-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  border: 1px solid;
}
.phase[data-phase="1"] .phase-tag { color: var(--cobalt); border-color: rgba(59,107,255,.5); background: rgba(59,107,255,.1); }
.phase[data-phase="2"] .phase-tag { color: var(--cyan);   border-color: rgba(56,225,255,.45); background: rgba(56,225,255,.08); }
.phase[data-phase="3"] .phase-tag { color: var(--amber);  border-color: rgba(242,166,62,.5);  background: rgba(242,166,62,.1); }

.phase-hook {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 10px 0 12px;
}
.phase[data-phase="1"] .phase-hook { color: #cfe0ff; }
.phase[data-phase="2"] .phase-hook { color: #c9f4ff; }
.phase[data-phase="3"] .phase-hook { color: #ffe6c2; }

.phase-sub { color: var(--muted); font-weight: 400; margin: 0 0 18px; font-size: 14.5px; line-height: 1.55; }

.phase ul li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 10px;
}
.phase ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}
.phase[data-phase="3"] ul li::before { border-color: var(--amber); }

.journey-note {
  margin-top: 44px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text);
}

/* ---------- 4. PROCESSO ---------- */
.steps { margin-top: 56px; }
.step {
  padding: 26px 24px 4px;
  border-left: 1px solid rgba(255,255,255,.12);
  transition: border-color .3s ease;
}
.step:hover { border-left-color: var(--cyan); }
.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .1em;
  background: linear-gradient(90deg, var(--cobalt), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- 5. CASES ---------- */
.cases-grid { margin-top: 52px; }
.case {
  padding: 14px 14px 24px;
  display: block;
  position: relative;
}

.case-kind {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #061024;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cobalt), var(--cyan));
}

/* Imagem / print do projeto (troque a div .case-shot por <img class="case-shot">) */
.case-shot {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.09);
  margin-bottom: 20px;
  background: #0a0f1a;
}
/* placeholder enquanto não há print */
.case-shot span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.ph-site   { background: radial-gradient(120% 130% at 25% 15%, rgba(59,107,255,.35), transparent 55%), radial-gradient(110% 120% at 85% 90%, rgba(56,225,255,.22), transparent 55%), #0a0f1a; }
.ph-system { background: radial-gradient(120% 130% at 80% 20%, rgba(56,225,255,.32), transparent 55%), radial-gradient(120% 120% at 15% 90%, rgba(59,107,255,.28), transparent 55%), #0a0f1a; }
.ph-auto   { background: radial-gradient(130% 130% at 50% 15%, rgba(242,166,62,.28), transparent 55%), radial-gradient(120% 120% at 20% 95%, rgba(139,92,246,.28), transparent 55%), #0a0f1a; }

.case-info { padding: 0 10px; }
.case-info p { color: var(--muted); font-size: 15px; margin: 8px 0 16px; }

.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tags span {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
}
.case:hover .tags span { border-color: rgba(56,225,255,.35); color: var(--text); }

.case-cta {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--cyan);
  transition: transform .2s ease;
}
.case:hover .case-cta { transform: translateX(4px); }

/* Estado "em breve" (projeto ainda não existe) */
.case.soon { cursor: default; }
.case.soon .case-kind { background: linear-gradient(135deg, #8b5cf6, var(--amber)); }
.case.soon .case-cta { color: var(--muted); }
.case.soon:hover { transform: none; border-color: var(--stroke); box-shadow: none; }
.case.soon:hover .case-cta { transform: none; }

.cases-note {
  margin-top: 36px;
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
}
.cases-note a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(56,225,255,.35);
  transition: border-color .2s ease;
}
.cases-note a:hover { border-color: var(--cyan); }

/* ---------- 6. SOBRE ---------- */
.sobre-wrap {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  max-width: 1000px;
}
.sobre-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: #0a0f1a;
  box-shadow: 0 24px 60px rgba(4,8,20,.5);
}
.ph-photo {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(59,107,255,.28), transparent 60%),
    radial-gradient(120% 90% at 50% 100%, rgba(56,225,255,.16), transparent 60%),
    #0a0f1a;
  position: relative;
}
.ph-photo span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.sobre-text .lead { margin-bottom: 18px; max-width: none; }
.sobre-text .lead strong { color: var(--text); font-weight: 600; }

.sobre-facts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.sobre-facts li {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--stroke);
}

/* ---------- 7. CTA FINAL ---------- */
.cta-final { padding-bottom: clamp(110px, 13vw, 170px); }

.cta-box {
  text-align: center;
  padding: clamp(52px, 8vw, 92px) clamp(24px, 6vw, 80px);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(59,107,255,.14), rgba(255,255,255,.02) 55%);
  border: 1px solid rgba(59,107,255,.3);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 80%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(56,225,255,.16), transparent 70%);
  pointer-events: none;
}
.cta-box h2 { margin-top: 0; }
.cta-box .lead { margin: 0 auto 34px; }
.cta-box .btn { position: relative; }

.contact-list {
  display: flex;
  justify-content: center;
  gap: 12px 32px;
  flex-wrap: wrap;
  margin-top: 40px;
  font-size: 15px;
  color: var(--muted);
}
.contact-list a { transition: color .2s ease; }
.contact-list a:hover { color: var(--cyan); }

/* ---------- Responsivo (seções) ---------- */
@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; gap: 18px; }
  .journey-line {
    top: 4px;
    bottom: 4px;
    left: -12px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--cobalt), var(--cyan) 55%, var(--amber));
  }
  .journey-line::before { left: 50%; top: 0; transform: translate(-50%, 0); }
  .journey-line::after  { left: 50%; top: auto; bottom: 0; right: auto; transform: translate(-50%, 0); }
  .journey { padding-left: 14px; }
  .steps { gap: 14px; }
  .sobre-wrap { grid-template-columns: 1fr; gap: 28px; }
  .sobre-photo { max-width: 320px; }
}

@media (max-width: 560px) {
  .hero { padding-top: 120px; }
  .hero .buttons { flex-direction: column; align-items: stretch; }
  .hero .buttons .btn { width: 100%; }
  .metrics { gap: 22px; justify-content: space-between; text-align: left; }
  .metric { text-align: left; }
  .hint-mouse { display: none; }
  .hero-hints { justify-content: center; }
  .step { border-left: none; border-top: 1px solid rgba(255,255,255,.12); padding: 20px 4px 0; }
}
