/* ── SERVIÇOS PAGE ── (.sv- prefix; shared pieces live in ../portfolio.css) */

/* The page has no page head: its first section opens it, so that one clears
   the fixed nav itself. */
main > .section:first-of-type {
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(48px, 7vw, 88px));
}

/* ── Service cards ──
   Casamentos (two across) and Outros eventos (three across) share one card:
   the icon ring and the title on a single row, one short line beneath. */
.sv-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) { .sv-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 980px) {
  .sv-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .sv-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin: 0 auto; }
}

.sv-card {
  position: relative;
  padding: 24px 26px 26px;
  background: rgba(250,247,242,0.03);
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .45s ease, background .45s ease;
}
.sv-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,0.4), transparent);
}
.sv-card:hover { border-color: rgba(201,169,110,0.32); background: rgba(250,247,242,0.045); }
.sv-card-head {
  display: flex; align-items: center; gap: 16px;
}
/* The icon ring from the clientes pitch cards (.lock-feature-icon). */
.sv-card-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,169,110,0.25); border-radius: 50%;
  background: rgba(201,169,110,0.07);
  color: var(--gold);
}
.sv-card-icon .icon { width: 20px; height: 20px; }
.sv-card-title {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 300;
  line-height: 1.15;
  color: var(--ivory);
}
.sv-card-text {
  margin-top: 14px;
  font-size: 14px; font-weight: 300;
  line-height: 1.7; letter-spacing: 0.3px;
  color: rgba(250,247,242,0.62);
}

/* ── Como funciona: four numbered steps on one thread ──
   On a phone the thread runs down the left, through the numbers; on a wide
   screen it runs across, and the steps sit side by side under it. The rings
   are filled with the page colour so the thread passes behind them. */
.sv-steps {
  position: relative;
  list-style: none;
  display: grid;
  gap: 26px;
  max-width: 1000px; margin: 0 auto;
}
.sv-steps::before {
  content: '';
  position: absolute; left: 26px; top: 26px; bottom: 26px; width: 1px;
  background: linear-gradient(180deg, rgba(201,169,110,0.4), rgba(201,169,110,0.12));
}
.sv-step {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  align-items: start;
  /* Steps in one row share a height; without this a shorter step would
     spread its extra height between its rows and sit lower than the rest. */
  align-content: start;
}
.sv-step-num {
  position: relative;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,169,110,0.4); border-radius: 50%;
  background: #17120F;
  font-family: 'Cinzel', serif;
  font-size: 14px; font-weight: 300; letter-spacing: 1px;
  color: var(--gold);
}
.sv-step-title {
  padding-top: 4px;
  font-family: var(--font-display);
  font-size: 21px; font-weight: 300;
  line-height: 1.2;
  color: var(--ivory);
}
.sv-step-text {
  margin-top: 6px;
  font-size: 14px; font-weight: 300;
  line-height: 1.7; letter-spacing: 0.3px;
  color: rgba(250,247,242,0.62);
}
@media (min-width: 900px) {
  .sv-steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .sv-steps::before {
    left: 12.5%; right: 12.5%; top: 26px; bottom: auto;
    width: auto; height: 1px;
    background: linear-gradient(90deg, rgba(201,169,110,0.15), rgba(201,169,110,0.4) 50%, rgba(201,169,110,0.15));
  }
  .sv-step {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
  }
  .sv-step-title { padding-top: 0; }
}
