/* ═══════════════════════════════════════════════════════════
   SERVIÇOS — página dedicada (editorial v2)
   Depende de tokens e utilities de site.css / pages.css
═══════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────────────
   HERO — numerador + mini-índice das 3 frentes
──────────────────────────────────────────────────── */
.services-hero {
  padding: 180px 0 120px;
}
.services-hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(139, 194, 221, .75);
  margin-bottom: 64px;
}
.services-hero-meta-rule {
  width: 32px;
  height: 1px;
  background: rgba(139, 194, 221, .4);
}

.services-hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--white);
  margin: 0 0 80px;
  max-width: 16ch;
}
.services-hero-title em {
  font-style: italic;
  color: rgba(139, 194, 221, .95);
}

.services-hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  padding-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
@media (max-width: 960px) {
  .services-hero-bottom { grid-template-columns: 1fr; gap: 48px; }
}
.services-hero-sub {
  color: rgba(255, 255, 255, .7);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
  max-width: 420px;
}

.services-hero-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-left: 1px solid rgba(255, 255, 255, .12);
}
@media (max-width: 960px) {
  .services-hero-index { border-left: 0; }
}
@media (max-width: 700px) {
  .services-hero-index { grid-template-columns: 1fr; border-top: 1px solid rgba(255,255,255,.12); }
}
.services-hero-front {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 28px;
  border-right: 1px solid rgba(255, 255, 255, .12);
  text-decoration: none;
  color: var(--white);
  position: relative;
  transition: background .3s var(--ease);
}
.services-hero-front:last-child { border-right: 0; }
.services-hero-front:hover {
  background: rgba(139, 194, 221, .06);
}
.services-hero-front::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 0;
  height: 2px;
  background: rgba(139, 194, 221, .8);
  transition: width .5s var(--ease);
}
.services-hero-front:hover::before { width: 100%; }
.services-hero-front-n {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.6rem;
  color: rgba(139, 194, 221, .9);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.services-hero-front-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.services-hero-front-label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--white);
  letter-spacing: -0.005em;
}
.services-hero-front-tag {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.4;
}
.services-hero-front-arrow {
  font-size: 0.9rem;
  color: rgba(139, 194, 221, .6);
  transition: transform .3s var(--ease);
  padding-top: 4px;
}
.services-hero-front:hover .services-hero-front-arrow {
  transform: translateY(4px);
  color: rgba(139, 194, 221, 1);
}

/* ────────────────────────────────────────────────────
   COMBINE — como as três se conectam
──────────────────────────────────────────────────── */
.services-combine {
  padding: 140px 0;
}
.services-combine-head {
  max-width: 1080px;
  margin: 0 0 96px;
}
.services-combine-flow {
  display: flex;
  flex-direction: column;
}
.services-combine-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid rgba(1, 59, 99, .14);
}
.services-combine-row:last-child {
  border-bottom: 1px solid rgba(1, 59, 99, .14);
}
@media (max-width: 800px) {
  .services-combine-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.services-combine-idx {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.services-combine-pair {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
}
.services-combine-from,
.services-combine-to {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.services-combine-arrow {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--blue);
  opacity: 0.7;
}
.services-combine-desc {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--mid);
  margin: 0;
  max-width: 52ch;
}

/* ────────────────────────────────────────────────────
   DETAIL WRAPPER + STICKY SIDEBAR
──────────────────────────────────────────────────── */
.services-detail-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--cream);
  border-top: 1px solid rgba(1, 59, 99, .1);
}
@media (max-width: 960px) {
  .services-detail-wrap { grid-template-columns: 1fr; }
}

.services-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
  padding: 120px 0 120px 40px;
  height: calc(100vh - 80px);
  border-right: 1px solid rgba(1, 59, 99, .12);
}
@media (max-width: 960px) {
  .services-sidebar {
    position: static;
    height: auto;
    padding: 40px 32px;
    border-right: 0;
    border-bottom: 1px solid rgba(1, 59, 99, .12);
  }
}
.services-sidebar-label {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.services-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
@media (max-width: 960px) {
  .services-sidebar-nav { flex-direction: row; gap: 0; }
}
.services-sidebar-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  text-decoration: none;
  position: relative;
  border-left: 1px solid transparent;
  padding-left: 16px;
  margin-left: -16px;
  transition: border-color .3s var(--ease), padding .3s var(--ease);
}
@media (max-width: 960px) {
  .services-sidebar-item {
    border-left: 0;
    border-bottom: 2px solid transparent;
    padding: 12px 20px 10px;
    margin: 0;
    flex: 1;
  }
}
.services-sidebar-item.is-active {
  border-left-color: var(--blue);
  padding-left: 20px;
}
@media (max-width: 960px) {
  .services-sidebar-item.is-active {
    border-left: 0;
    border-bottom-color: var(--blue);
    padding-left: 20px;
  }
}
.services-sidebar-n {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.services-sidebar-lbl {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color .3s var(--ease);
}
.services-sidebar-item.is-active .services-sidebar-lbl {
  color: var(--navy);
  font-weight: 500;
}

.services-detail-body {
  min-width: 0;
}

/* ────────────────────────────────────────────────────
   FRONT — shared (padrão unificado das 3 frentes)
──────────────────────────────────────────────────── */
.front {
  padding: 120px 0;
  border-bottom: 1px solid rgba(1, 59, 99, .1);
  scroll-margin-top: 80px;
}
.front:last-child { border-bottom: 0; }
.front--pillars {
  background: linear-gradient(180deg, var(--cream) 0%, #ECE4D5 100%);
}
.front .container {
  padding-left: 56px;
  padding-right: 56px;
  max-width: none;
}
@media (max-width: 960px) {
  .front .container { padding-left: 32px; padding-right: 32px; }
  .front { padding: 80px 0; }
}

.front-mark {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 56px;
}
.front-mark-n {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(4rem, 7vw, 6.5rem);
  line-height: 0.8;
  color: var(--navy);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.front-mark-rule {
  flex: 0 0 80px;
  height: 1px;
  background: var(--blue);
  position: relative;
  top: -12px;
}
.front-mark-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  position: relative;
  top: -12px;
}

/* Head: título + descrição em grid padrão */
.front-std-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid rgba(1, 59, 99, .14);
}
@media (max-width: 960px) {
  .front-std-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 56px;
    padding-bottom: 56px;
  }
}

.front-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0;
  max-width: 22ch;
}
.front-title em {
  font-style: italic;
  color: var(--blue);
}
.front-desc {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--mid);
  margin: 0;
  max-width: 58ch;
}
.front-desc--inline { margin-top: 4px; }

/* Grid: O que inclui + Como funciona */
.front-std-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
@media (max-width: 960px) {
  .front-std-grid { grid-template-columns: 1fr; gap: 56px; }
}
.front-std-block {
  display: flex;
  flex-direction: column;
}
.front-std-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(1, 59, 99, .2);
}

/* Lista "O que inclui" */
.front-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
}
.front-bullets li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid rgba(1, 59, 99, .08);
}
.front-bullets li:last-child { border-bottom: 0; }
.front-bullet-n {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.front-bullets li > span:last-child {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--navy);
}

/* Lista "Como funciona" — cada item com título + descrição */
.front-howlist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.front-howlist li {
  padding: 24px 0;
  border-bottom: 1px solid rgba(1, 59, 99, .08);
}
.front-howlist li:last-child { border-bottom: 0; }
.front-how-t {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.front-how-d {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--mid);
  margin: 0;
  max-width: 52ch;
}


/* ────────────────────────────────────────────────────
   FAQ
──────────────────────────────────────────────────── */
.services-faq {
  padding: 140px 0;
}
.services-faq-head {
  max-width: 780px;
  margin-bottom: 72px;
}
.services-faq-list {
  border-top: 1px solid rgba(1, 59, 99, .16);
}
.services-faq-item {
  border-bottom: 1px solid rgba(1, 59, 99, .16);
}
.services-faq-q {
  display: grid;
  grid-template-columns: 64px 1fr 40px;
  gap: 20px;
  align-items: baseline;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 32px 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: opacity .2s var(--ease);
}
.services-faq-q:hover { opacity: 0.7; }
.services-faq-n {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}
.services-faq-qtxt {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.services-faq-mark {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--blue);
  text-align: center;
  line-height: 1;
}
.services-faq-a-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease);
}
.services-faq-item.is-open .services-faq-a-wrap {
  max-height: 400px;
}
.services-faq-a {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--mid);
  margin: 0 0 40px;
  padding-left: 84px;
  max-width: 66ch;
}
@media (max-width: 700px) {
  .services-faq-a { padding-left: 0; }
  .services-faq-q { grid-template-columns: 44px 1fr 32px; }
}
