/* «Soluções e serviços»: carrossel de cartões (11/11/2026). Fundo claro, texto escuro, azul nos detalhes. */
.sc { --sc-gap: clamp(16px, 2vw, 24px); --sc-per: 3.3; }
.sc__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3.5vw, 40px); }
.sc__head { max-width: 760px; }
.sc__eyebrow { color: var(--blue); }
.sc__title { font-size: clamp(1.9rem, 1.35rem + 1.9vw, 2.9rem); line-height: 1.1; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; margin: 0 0 14px; }
.sc__intro { color: var(--slate-600); max-width: 58ch; }

/* Arrows */
.sc__nav { display: flex; gap: 10px; flex: none; }
.sc__nav[hidden] { display: none; }
.sc__btn { appearance: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.sc__btn svg { width: 20px; height: 20px; }
.sc__btn:hover:not(:disabled) { background: var(--blue); border-color: var(--blue); color: #fff; }
.sc__btn:focus-visible { outline: 3px solid rgba(0,105,254,.4); outline-offset: 2px; }
.sc__btn:disabled { opacity: .35; cursor: default; }

/* Track: native horizontal scroll with snap (swipe on touch); the page never scrolls sideways. */
.sc__track { list-style: none; margin: 0; padding: 4px 2px 18px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--sc-gap) * (var(--sc-per) - 1)) / var(--sc-per)); gap: var(--sc-gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sc__track::-webkit-scrollbar { display: none; }
.sc__track:focus-visible { outline: 3px solid rgba(0,105,254,.35); outline-offset: 4px; border-radius: 12px; }

/* Cards: same height, image on top, text below on a light background (never over the photo). */
.sc__card { position: relative; display: flex; flex-direction: column; scroll-snap-align: start; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.sc__card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(0,105,254,.25); }
.sc__media { margin: 0; aspect-ratio: 3 / 2; background: var(--paper-2); overflow: hidden; }
.sc__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.sc__card:hover .sc__media img { transform: scale(1.03); }
.sc__body { display: flex; flex-direction: column; flex: 1; padding: clamp(18px, 2vw, 24px); }
.sc__name { margin: 0 0 8px; font-family: var(--display); font-size: clamp(1.1rem, 1rem + .35vw, 1.28rem); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); }
.sc__text { margin: 0 0 18px; color: var(--slate-700); line-height: 1.6; font-size: .98rem; }
.sc__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-weight: 600; color: var(--blue); text-decoration: none; }
.sc__more .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.sc__more::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.sc__card:hover .sc__more .icon { transform: translateX(3px); }
.sc__more:focus-visible { outline: none; }
.sc__card:has(.sc__more:focus-visible) { outline: 3px solid rgba(0,105,254,.45); outline-offset: 2px; }

/* Progress */
.sc__progress { height: 4px; margin-top: 6px; border-radius: 99px; background: var(--slate-100); overflow: hidden; }
.sc__progress[hidden] { display: none; }
.sc__progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--blue); transition: width .25s var(--ease), transform .25s var(--ease); }

/* CTA below the carousel */
.sc__cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; margin-top: clamp(28px, 4vw, 44px); padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px); border-radius: var(--radius-l); background: var(--paper-2); }
.sc__cta-title { margin: 0 0 4px; font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); color: var(--ink); letter-spacing: -.02em; }
.sc__cta-text { margin: 0; color: var(--slate-600); }

@media (max-width: 1080px) { .sc { --sc-per: 2.2; } }
@media (max-width: 600px) {
  .sc { --sc-per: 1.22; }
  .sc__top { display: block; }
  .sc__nav { margin-top: 18px; }
  .sc__cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .sc__card, .sc__media img, .sc__progress span, .sc__more .icon { transition: none; }
  .sc__card:hover, .sc__card:hover .sc__media img { transform: none; }
}
