/* Modelos de bloco CMS (DEV-1345).
   Marcação inserida pelo botão "Inserir modelo" dos editores de bloco e de página do admin
   (Soulmkt_SoulCore_Helper_CmsTemplates). Cores pelas variáveis do :root da loja (--title-color,
   --site-text-color, --button-bg-color, --button-text-color); modificadores no elemento .sct:
   fundo (sct--dark, sct--brand; claro sem classe) e cantos (sct--square, sct--round; suaves sem classe).
   Cores escolhidas na inserção vão no style do bloco ou de um item (coluna, quadro, slide): a variável do tema
   (--sct-title, --sct-text, --sct-btn-bg, --sct-btn-text, --sct-surface) e, menos o fundo, a da escolha
   (--sct-c-title, --sct-c-text, --sct-c-btn, --sct-c-btn-text). O que define cores próprias (texto sobre a imagem,
   chamadas coloridas) cai primeiro na --sct-c-*, então a cor escolhida para o bloco chega lá também. Fundo escolhido
   pinta só o elemento que o tem (sct--filled). */

.sct {
  --sct-text: var(--site-text-color, #2b2b2b);
  --sct-title: var(--title-color, #111111);
  --sct-btn-bg: var(--button-bg-color, #111111);
  --sct-btn-text: var(--button-text-color, #ffffff);
  --sct-surface: transparent;
  --sct-panel: color-mix(in srgb, var(--sct-text) 6%, transparent);
  --sct-line: color-mix(in srgb, var(--sct-text) 16%, transparent);
  --sct-radius: 0.75rem;
  --sct-btn-radius: 0.5rem;
  --sct-gap: clamp(0.75rem, 1.6vw, 1.25rem);
  --sct-box: clamp(1.5rem, 4.5vw, 3.75rem);
  background: var(--sct-surface);
  color: var(--sct-text);
  font-family: inherit;
  margin-block: clamp(1rem, 3vw, 2.5rem);
}

.sct:first-child {
  margin-block-start: 0;
}

.sct:last-child {
  margin-block-end: 0;
}

.sct *,
.sct *::before,
.sct *::after {
  box-sizing: border-box;
}

/* Painéis com fundo próprio no tom claro */
.sct-cta,
.sct-newsletter,
.sct-benefits,
.sct-marquee {
  --sct-surface: var(--sct-panel);
}

.sct.sct--dark {
  --sct-text: oklch(92% 0.004 260);
  --sct-title: oklch(100% 0 0);
  --sct-btn-bg: oklch(100% 0 0);
  --sct-btn-text: oklch(19% 0.01 260);
  --sct-surface: oklch(19% 0.01 260);
}

.sct.sct--brand {
  --sct-text: var(--button-text-color, #ffffff);
  --sct-title: var(--button-text-color, #ffffff);
  --sct-btn-bg: var(--button-text-color, #ffffff);
  --sct-btn-text: var(--button-bg-color, #111111);
  --sct-surface: var(--button-bg-color, #111111);
}

.sct.sct--square {
  --sct-radius: 0;
  --sct-btn-radius: 0;
}

.sct.sct--round {
  --sct-radius: 1.5rem;
  --sct-btn-radius: 99rem;
}

/* sct--filled: fundo escolhido na inserção (variável --sct-surface no style do bloco) */
.sct.sct--dark,
.sct.sct--brand,
.sct.sct--filled,
.sct-cta,
.sct-newsletter,
.sct-benefits {
  border-radius: var(--sct-radius);
  padding: var(--sct-box);
}

/* ---------- textos e botões ---------- */
.sct .sct-eyebrow {
  align-items: center;
  color: inherit;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  gap: 0.5rem;
  letter-spacing: 0.16em;
  line-height: 1.3;
  margin: 0 0 0.75rem;
  opacity: 0.85;
  text-transform: uppercase;
}

.sct .sct-eyebrow::before {
  background: var(--sct-btn-bg);
  border-radius: 50%;
  content: '';
  flex: none;
  height: 0.5rem;
  width: 0.5rem;
}

.sct .sct-title {
  color: var(--sct-title);
  font-family: inherit;
  font-size: clamp(1.6rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.75rem;
  text-transform: none;
  text-wrap: balance;
}

.sct .sct-text {
  color: inherit;
  font-size: clamp(0.95rem, 1.1vw, 1.075rem);
  line-height: 1.55;
  margin: 0 0 1.25rem;
  max-width: 40rem;
  opacity: 0.85;
}

.sct .sct-actions {
  margin: 0;
}

.sct .sct-btn,
.sct .sct-btn:visited,
.sct .sct-btn:hover,
.sct .sct-btn:focus {
  align-items: center;
  background: var(--sct-btn-bg);
  border: 0;
  border-radius: var(--sct-btn-radius);
  color: var(--sct-btn-text);
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  gap: 0.6rem;
  justify-content: center;
  line-height: 1.2;
  opacity: 1;
  padding: 0.85rem 1.5rem;
  text-decoration: none;
  text-transform: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.sct .sct-btn::after {
  content: '\2192';
  transition: transform 0.25s ease;
}

.sct .sct-btn:hover,
.sct a:hover .sct-btn {
  box-shadow: 0 12px 24px -12px rgb(0 0 0 / 45%);
  transform: translateY(-1px);
}

.sct .sct-btn:hover::after,
.sct a:hover .sct-btn::after {
  transform: translateX(3px);
}

.sct .sct-btn:focus-visible,
.sct a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.sct .sct-link,
.sct .sct-link:visited,
.sct .sct-link:hover,
.sct .sct-link:focus {
  color: var(--sct-title);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

.sct .sct-link:hover {
  text-decoration-thickness: 2px;
}

/* Coluna, quadro ou slide com fundo escolhido na inserção (--sct-surface no style do item). Fica antes dos
   componentes: quem tem fundo próprio (texto sobre a imagem, chamadas) o declara depois. */
.sct .sct--filled {
  background: var(--sct-surface);
  border-radius: var(--sct-radius);
}

.sct .sct-media {
  display: block;
  height: 100%;
  max-width: none;
  object-fit: cover;
  width: 100%;
}

/* ---------- imagem com texto por cima (colunas e mosaicos) ---------- */
.sct-tiles {
  display: grid;
  gap: var(--sct-gap);
  grid-template-columns: repeat(var(--sct-cols, 3), minmax(0, 1fr));
}

.sct-tiles--2 {
  --sct-cols: 2;
  --sct-ratio: 16 / 10;
}

.sct-tiles--3 {
  --sct-cols: 3;
  --sct-ratio: 4 / 5;
}

.sct-tiles--4 {
  --sct-cols: 4;
  --sct-ratio: 1 / 1;
}

.sct .sct-tile,
.sct .sct-tile:visited,
.sct .sct-tile:hover,
.sct .sct-tile:focus {
  --sct-title: var(--sct-c-title, #ffffff);
  aspect-ratio: var(--sct-ratio, 4 / 5);
  background: color-mix(in srgb, var(--sct-text) 20%, transparent);
  border-radius: var(--sct-radius);
  color: var(--sct-c-text, #ffffff);
  display: flex;
  flex-direction: column;
  isolation: isolate;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(1rem, 2.4vw, 2rem);
  position: relative;
  text-decoration: none;
}

.sct .sct-tile > .sct-media {
  inset: 0;
  position: absolute;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: -2;
}

.sct .sct-tile::after {
  background: linear-gradient(to top, rgb(0 0 0 / 62%) 0%, rgb(0 0 0 / 18%) 45%, transparent 72%);
  content: '';
  inset: 0;
  position: absolute;
  z-index: -1;
}

.sct .sct-tile:hover > .sct-media {
  transform: scale(1.05);
}

.sct .sct-tile__body {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 30rem;
}

.sct .sct-tile .sct-eyebrow {
  margin: 0;
}

.sct .sct-tile__title {
  color: var(--sct-title);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.sct .sct-tile__text {
  font-size: 0.95rem;
  line-height: 1.45;
  opacity: 0.92;
}

.sct .sct-tile .sct-btn {
  margin-top: 0.75rem;
}

.sct .sct-tile--category .sct-tile__title {
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
}

.sct-mosaic {
  display: grid;
  gap: var(--sct-gap);
}

.sct-mosaic--3 {
  grid-template-columns: 3fr 2fr;
  grid-template-rows: repeat(2, clamp(11rem, 21vw, 19rem));
}

.sct-mosaic--5 {
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, clamp(10rem, 18vw, 17rem));
}

.sct-mosaic > :first-child {
  grid-row: span 2;
}

.sct.sct-mosaic .sct-tile {
  aspect-ratio: auto;
  height: 100%;
}

/* ---------- bento: quadros de tamanhos variados ---------- */
.sct-bento {
  display: grid;
  gap: var(--sct-gap);
  grid-auto-rows: clamp(9.5rem, 15vw, 14rem);
}

.sct-bento--4 {
  grid-template-areas:
    'a a b c'
    'a a d d';
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sct-bento--5 {
  grid-template-areas:
    'a b b c'
    'a d e c';
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sct-bento--6 {
  grid-template-areas:
    'a b c'
    'a d d'
    'e e f';
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sct-bento > :nth-child(1) {
  grid-area: a;
}

.sct-bento > :nth-child(2) {
  grid-area: b;
}

.sct-bento > :nth-child(3) {
  grid-area: c;
}

.sct-bento > :nth-child(4) {
  grid-area: d;
}

.sct-bento > :nth-child(5) {
  grid-area: e;
}

.sct-bento > :nth-child(6) {
  grid-area: f;
}

.sct.sct-bento .sct-tile {
  aspect-ratio: auto;
  height: 100%;
}

/* Chamada colorida do bento (sem imagem): cores do botão da loja, ou neutra com sct-panel--alt. */
.sct .sct-panel,
.sct .sct-panel:visited,
.sct .sct-panel:hover,
.sct .sct-panel:focus {
  --sct-surface: var(--button-bg-color, #111111);
  --sct-text: var(--sct-c-text, var(--button-text-color, #ffffff));
  --sct-title: var(--sct-c-title, var(--button-text-color, #ffffff));
  --sct-btn-bg: var(--sct-c-btn, var(--button-text-color, #ffffff));
  --sct-btn-text: var(--sct-c-btn-text, var(--button-bg-color, #111111));
  align-items: flex-start;
  background: var(--sct-surface);
  border-radius: var(--sct-radius);
  color: var(--sct-text);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  overflow: hidden;
  padding: clamp(1rem, 2.4vw, 1.75rem);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.sct .sct-panel--alt,
.sct .sct-panel--alt:visited,
.sct .sct-panel--alt:hover,
.sct .sct-panel--alt:focus {
  --sct-surface: color-mix(in srgb, var(--site-text-color, #2b2b2b) 8%, var(--site-bg-color, #ffffff));
  --sct-text: var(--sct-c-text, var(--site-text-color, #2b2b2b));
  --sct-title: var(--sct-c-title, var(--title-color, #111111));
  --sct-btn-bg: var(--sct-c-btn, var(--button-bg-color, #111111));
  --sct-btn-text: var(--sct-c-btn-text, var(--button-text-color, #ffffff));
}

.sct .sct-panel .sct-eyebrow {
  margin: 0;
}

.sct .sct-panel__title {
  color: var(--sct-title);
  font-size: clamp(1.25rem, 2.1vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-top: auto;
  max-width: 16ch;
}

.sct .sct-panel:hover {
  transform: translateY(-3px);
}

/* ---------- cartões com imagem e texto embaixo ---------- */
.sct-cards {
  display: grid;
  gap: calc(var(--sct-gap) * 1.5) var(--sct-gap);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sct .sct-card__media {
  aspect-ratio: 4 / 5;
  background: var(--sct-panel);
  border-radius: var(--sct-radius);
  display: block;
  overflow: hidden;
}

.sct .sct-card__media .sct-media {
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.sct .sct-card:hover .sct-media {
  transform: scale(1.04);
}

.sct .sct-card__body {
  padding-top: 1rem;
}

.sct .sct-card .sct-eyebrow {
  margin-bottom: 0.5rem;
}

.sct .sct-card__title {
  color: var(--sct-title);
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.4rem;
}

.sct .sct-card .sct-text {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.sct .sct-card.sct--filled {
  padding: clamp(0.75rem, 1.6vw, 1.1rem);
}

/* ---------- faixa de benefícios ---------- */
.sct-benefits {
  display: grid;
  gap: 1.25rem 2rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2.5rem);
}

.sct .sct-benefit {
  align-items: flex-start;
  display: flex;
  gap: 0.9rem;
}

.sct .sct-benefit.sct--filled {
  padding: clamp(0.75rem, 1.6vw, 1.1rem);
}

.sct .sct-icon {
  background: var(--sct-btn-bg);
  border-radius: calc(var(--sct-radius) * 0.8);
  color: transparent;
  display: inline-block;
  flex: none;
  font-size: 0;
  height: 2.75rem;
  line-height: 0;
  position: relative;
  width: 2.75rem;
}

.sct .sct-icon::before {
  -webkit-mask: var(--sct-icon) center / contain no-repeat;
  background: var(--sct-btn-text);
  content: '';
  inset: 0.65rem;
  mask: var(--sct-icon) center / contain no-repeat;
  position: absolute;
}

.sct .sct-icon--truck {
  --sct-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.62L18.3 9.38a1 1 0 0 0-.78-.38H14'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3C/svg%3E");
}

.sct .sct-icon--card {
  --sct-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='14' x='2' y='5' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E");
}

.sct .sct-icon--shield {
  --sct-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

.sct .sct-icon--return {
  --sct-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3C/svg%3E");
}

.sct .sct-icon--chat {
  --sct-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E");
}

.sct .sct-icon--gift {
  --sct-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13'/%3E%3Cpath d='M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7'/%3E%3Cpath d='M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E");
}

.sct .sct-benefit__title {
  color: var(--sct-title);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.15rem;
}

.sct .sct-benefit__text {
  font-size: 0.875rem;
  line-height: 1.45;
  margin: 0;
  opacity: 0.8;
}

/* ---------- faixa corrida ---------- */
.sct-marquee {
  border-radius: var(--sct-radius);
  overflow: hidden;
  padding: 0.95rem 0;
}

.sct.sct-marquee.sct--dark,
.sct.sct-marquee.sct--brand,
.sct.sct-marquee.sct--filled {
  padding: 0.95rem 0;
}

.sct .sct-marquee__track {
  animation: sct-marquee 36s linear infinite;
  display: flex;
  width: max-content;
}

.sct .sct-marquee__list {
  display: flex;
  flex-shrink: 0;
  gap: 2.5rem;
  padding-right: 2.5rem;
}

.sct .sct-marquee__list span {
  align-items: center;
  color: var(--sct-title);
  display: inline-flex;
  font-size: 0.8125rem;
  font-weight: 700;
  gap: 2.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sct .sct-marquee__list span::after {
  color: var(--sct-btn-bg);
  content: '\2726';
  letter-spacing: 0;
}

.sct-marquee:hover .sct-marquee__track {
  animation-play-state: paused;
}

@keyframes sct-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- chamada com botão ---------- */
.sct-cta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  justify-content: space-between;
}

.sct .sct-cta__body {
  flex: 1 1 28rem;
  max-width: 46rem;
}

.sct.sct-cta .sct-text {
  margin-bottom: 0;
}

.sct .sct-cta__actions {
  flex: none;
}

/* ---------- imagem e texto lado a lado ---------- */
.sct-split {
  align-items: center;
  display: grid;
  gap: clamp(1.5rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.sct .sct-split__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--sct-radius);
  max-height: 40rem;
  overflow: hidden;
}

.sct .sct-split__body {
  max-width: 34rem;
}

/* ---------- newsletter ---------- */
.sct-newsletter {
  align-items: center;
  display: grid;
  gap: 1.5rem 3rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.sct.sct-newsletter .sct-text {
  margin-bottom: 0;
}

.sct.sct-newsletter--media {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  overflow: hidden;
  padding: 0;
}

.sct .sct-newsletter__media {
  align-self: stretch;
  min-height: 18rem;
}

.sct-newsletter--media .sct-newsletter__body {
  padding: var(--sct-box) var(--sct-box) var(--sct-box) 0;
}

.sct .sct-newsletter__body .sct-newsletter__form {
  margin-top: 1.5rem;
}

.sct .sct-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
}

.sct .sct-newsletter-form > :not(input, button, label) {
  color: inherit;
  flex-basis: 100%;
}

.sct .sct-newsletter-form__label {
  clip: rect(0 0 0 0);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.sct .sct-newsletter-form__input,
.sct .sct-newsletter-form__input:focus {
  background: var(--site-bg-color, #ffffff);
  border: 1px solid var(--sct-line);
  border-radius: var(--sct-btn-radius);
  box-shadow: none;
  color: var(--site-text-color, #2b2b2b);
  flex: 1 1 14rem;
  font-family: inherit;
  font-size: 1rem;
  height: 3.25rem;
  margin: 0;
  min-width: 0;
  padding: 0 1.1rem;
}

.sct .sct-newsletter-form__input:focus {
  outline: 2px solid var(--sct-btn-bg);
  outline-offset: 1px;
}

.sct .sct-newsletter-form__input--name,
.sct .sct-newsletter-form__input--name:focus {
  flex: 1 1 9rem;
}

.sct .sct-newsletter-form .sct-btn {
  height: 3.25rem;
}

/* ---------- encaixe: largura e margem (newsletter, que também vai no bloco de newsletter do rodapé) ----------
   --sct-edge é a distância da borda do bloco até a borda do conteúdo da loja (o mesmo --site-max-width e
   --site-gutter do cabeçalho e do rodapé), medida a partir do pai: dentro de uma página dá 0; no bloco de
   newsletter, que fica fora do contêiner, dá a margem do conteúdo. sct--boxed: a caixa fica nessas bordas.
   sct--bleed: o fundo vai de ponta a ponta e o conteúdo fica nessas bordas. */
.sct.sct--boxed,
.sct.sct--bleed {
  --sct-edge: calc(max(0px, (100vw - var(--site-max-width, calc(1320px + 2rem))) / 2) + var(--site-gutter, 1rem) - (100vw - 100%) / 2);
}

.sct.sct--boxed {
  margin-inline: max(0px, var(--sct-edge));
}

.sct.sct--bleed {
  border-radius: 0;
  padding-inline: max(var(--sct-box), var(--sct-edge));
}

.sct.sct--bleed.sct-newsletter--media {
  padding-inline: max(0px, var(--sct-edge));
}

/* Construtor da home em grade (main-grid.phtml; .l-grid-row em styles.css: linha de 100vw com 12 colunas de até
   120px no meio e no mínimo 1rem de cada lado). A referência é a grade dele: numa coluna sem quebra, ou com quebra
   de um lado só, o bloco segue a coluna; com break-start e break-end, alinha às colunas das outras linhas. No
   celular as colunas voltam ao meio e vale o m-break-*. */
.l-grid-item .sct.sct--boxed,
.l-grid-item .sct.sct--bleed {
  --sct-edge: 0px;
}

.l-grid-item.break-start.break-end .sct.sct--boxed,
.l-grid-item.break-start.break-end .sct.sct--bleed {
  --sct-edge: calc((100vw - min(1440px, 100vw - 2rem)) / 2);
}

@media (width <= 770px) {
  .l-grid-item.break-start.break-end .sct.sct--boxed,
  .l-grid-item.break-start.break-end .sct.sct--bleed {
    --sct-edge: 0px;
  }

  .l-grid-item.m-break-start.m-break-end .sct.sct--boxed,
  .l-grid-item.m-break-start.m-break-end .sct.sct--bleed {
    --sct-edge: calc((100vw - min(1440px, 100vw - 2rem)) / 2);
  }
}

/* margem em cima e embaixo, mesmo sendo o primeiro ou o último elemento (o bloco de newsletter tem só ele) */
.sct.sct--spaced,
.sct.sct--spaced:first-child,
.sct.sct--spaced:last-child {
  margin-block: clamp(1rem, 3vw, 2.5rem);
}

.sct.sct--flush,
.sct.sct--flush:first-child,
.sct.sct--flush:last-child {
  margin-block: 0;
}

/* ---------- banner largo com texto ---------- */
.sct-hero {
  --sct-title: var(--sct-c-title, #ffffff);
  align-items: center;
  border-radius: var(--sct-radius);
  color: var(--sct-c-text, #ffffff);
  display: flex;
  isolation: isolate;
  min-height: clamp(20rem, 42vw, 34rem);
  overflow: hidden;
  padding: clamp(1.75rem, 6vw, 5rem);
  position: relative;
}

.sct.sct-hero.sct--dark,
.sct.sct-hero.sct--brand {
  --sct-title: var(--sct-c-title, #ffffff);
  color: var(--sct-c-text, #ffffff);
  padding: clamp(1.75rem, 6vw, 5rem);
}

.sct.sct-hero > .sct-media {
  inset: 0;
  position: absolute;
  z-index: -2;
}

.sct-hero::after {
  background: linear-gradient(90deg, rgb(0 0 0 / 58%) 0%, rgb(0 0 0 / 12%) 72%);
  content: '';
  inset: 0;
  position: absolute;
  z-index: -1;
}

.sct .sct-hero__body {
  max-width: 38rem;
}

.sct.sct-hero .sct-title {
  font-size: clamp(2rem, 5vw, 4rem);
}

/* ---------- texto grande centralizado ---------- */
.sct-intro {
  padding-block: clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}

.sct.sct-intro .sct-eyebrow {
  justify-content: center;
}

.sct.sct-intro .sct-title {
  font-size: clamp(2rem, 5.2vw, 4.25rem);
  margin-inline: auto;
  max-width: 22ch;
}

.sct.sct-intro .sct-text {
  margin: 0 auto;
  max-width: 42rem;
}

/* ---------- título de seção com link ---------- */
.sct-heading {
  align-items: flex-end;
  border-bottom: 1px solid var(--sct-line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  padding-bottom: 1rem;
}

.sct.sct-heading .sct-eyebrow {
  margin-bottom: 0.5rem;
}

.sct.sct-heading .sct-title {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  margin: 0;
}

.sct.sct-heading .sct-link::after {
  content: ' \2192';
}

/* ---------- duas chamadas coloridas ---------- */
.sct-duo {
  display: grid;
  gap: var(--sct-gap);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sct .sct-duo__item,
.sct .sct-duo__item:visited,
.sct .sct-duo__item:hover,
.sct .sct-duo__item:focus {
  --sct-surface: var(--button-bg-color, #111111);
  --sct-text: var(--sct-c-text, var(--button-text-color, #ffffff));
  --sct-title: var(--sct-c-title, var(--button-text-color, #ffffff));
  --sct-btn-bg: var(--sct-c-btn, var(--button-text-color, #ffffff));
  --sct-btn-text: var(--sct-c-btn-text, var(--button-bg-color, #111111));
  align-items: flex-start;
  background: var(--sct-surface);
  border-radius: var(--sct-radius);
  color: var(--sct-text);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  min-height: clamp(12rem, 22vw, 18rem);
  padding: clamp(1.5rem, 3.5vw, 3rem);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.sct .sct-duo__item--alt,
.sct .sct-duo__item--alt:visited,
.sct .sct-duo__item--alt:hover,
.sct .sct-duo__item--alt:focus {
  --sct-surface: color-mix(in srgb, var(--site-text-color, #2b2b2b) 8%, var(--site-bg-color, #ffffff));
  --sct-text: var(--sct-c-text, var(--site-text-color, #2b2b2b));
  --sct-title: var(--sct-c-title, var(--title-color, #111111));
  --sct-btn-bg: var(--sct-c-btn, var(--button-bg-color, #111111));
  --sct-btn-text: var(--sct-c-btn-text, var(--button-text-color, #ffffff));
}

.sct .sct-duo__item .sct-eyebrow {
  margin: 0;
}

.sct .sct-duo__title {
  color: var(--sct-title);
  font-size: clamp(1.6rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-top: auto;
  max-width: 14ch;
}

.sct .sct-duo__item:hover {
  transform: translateY(-3px);
}

/* ---------- carrosséis (Swiper, js/soulmkt/cms-carousel.js) ----------
   O slide tem a largura de (100% + espaço) / slides por vez e leva o espaço como padding à direita: o Swiper roda
   com slidesPerView 'auto' e spaceBetween 0, e antes de ele montar (e no editor e na prévia do admin, sem script)
   a mesma fileira rola com o dedo. A faixa de baixo (padding da .swiper) é das setas e dos marcadores, que o script
   cria: a altura não muda quando o carrossel monta. */
.sct-carousel {
  --sct-per: 1.15;
  --sct-slide-gap: 1rem;
  --swiper-pagination-color: var(--sct-btn-bg);
  --swiper-pagination-bullet-inactive-color: var(--sct-text);
  --swiper-pagination-bullet-inactive-opacity: 0.25;
  position: relative;
}

.sct.sct-carousel .swiper {
  margin: 0;
  overflow: hidden;
  padding: 0 0 3.5rem;
  position: relative;
}

.sct.sct-carousel .swiper:not(.swiper-initialized) {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.sct.sct-carousel .swiper:not(.swiper-initialized)::-webkit-scrollbar {
  display: none;
}

.sct.sct-carousel .swiper-wrapper {
  box-sizing: content-box;
  display: flex;
}

.sct.sct-carousel .swiper-slide {
  box-sizing: border-box;
  flex: 0 0 auto;
  height: auto;
  padding-right: var(--sct-slide-gap);
  scroll-snap-align: start;
  width: calc((100% + var(--sct-slide-gap)) / var(--sct-per));
}

.sct.sct-carousel .swiper-slide > * {
  height: 100%;
}

.sct-carousel--categories {
  --sct-per: 2.3;
  --sct-ratio: 1 / 1;
}

.sct-carousel--banners {
  --sct-per: 1;
  --sct-ratio: 4 / 5;
}

.sct-carousel--quotes {
  --sct-per: 1.1;
}

@media (width >= 600px) {
  .sct-carousel--cards,
  .sct-carousel--quotes {
    --sct-per: 2;
  }

  .sct-carousel--categories {
    --sct-per: 3;
  }

  .sct-carousel--banners {
    --sct-ratio: 16 / 9;
  }
}

@media (width >= 992px) {
  .sct-carousel--cards,
  .sct-carousel--quotes {
    --sct-per: 3;
  }

  .sct-carousel--categories {
    --sct-per: 4;
  }

  .sct-carousel--banners {
    --sct-ratio: 16 / 7;
  }
}

@media (width >= 1200px) {
  .sct-carousel--categories {
    --sct-per: 5;
  }
}

.sct.sct-carousel .sct-tile {
  height: 100%;
}

.sct.sct-carousel--banners .sct-tile__body {
  max-width: 36rem;
}

.sct.sct-carousel--banners .sct-tile__title {
  font-size: clamp(1.6rem, 3.6vw, 3rem);
}

/* setas e marcadores, criados pelo script dentro da .swiper, na faixa de baixo */
.sct .sct-carousel__nav {
  bottom: 0;
  display: flex;
  gap: 0.5rem;
  position: absolute;
  right: 0;
  z-index: 2;
}

.sct .sct-carousel__arrow,
.sct .sct-carousel__arrow:hover,
.sct .sct-carousel__arrow:focus {
  align-items: center;
  background: var(--sct-btn-bg);
  border: 0;
  border-radius: var(--sct-btn-radius);
  box-shadow: none;
  color: var(--sct-btn-text);
  cursor: pointer;
  display: inline-flex;
  height: 2.5rem;
  justify-content: center;
  margin: 0;
  min-width: 0;
  padding: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  width: 2.5rem;
}

.sct .sct-carousel__arrow:hover {
  transform: translateY(-1px);
}

.sct .sct-carousel__arrow svg {
  display: block;
  height: 1.1rem;
  width: 1.1rem;
}

.sct .sct-carousel__arrow.swiper-button-disabled {
  cursor: default;
  opacity: 0.35;
  transform: none;
}

.sct .sct-carousel__arrow.swiper-button-lock,
.sct .sct-carousel__dots.swiper-pagination-lock {
  display: none;
}

.sct .sct-carousel__dots {
  align-items: center;
  bottom: 0;
  display: flex;
  height: 2.5rem;
  left: 0;
  position: absolute;
  width: auto;
  z-index: 2;
}

.sct .sct-carousel__dots .swiper-pagination-bullet {
  margin: 0 0.25rem;
}

.sct .sct-carousel__dots .swiper-pagination-bullet:first-child {
  margin-left: 0;
}

/* controles escolhidos na inserção: sem setas, as bolinhas vão para o meio; sem nenhum, a faixa de baixo some */
.sct.sct-carousel--no-arrows .sct-carousel__dots {
  left: 50%;
  transform: translateX(-50%);
}

.sct.sct-carousel--no-arrows.sct-carousel--no-dots .swiper {
  padding-bottom: 0;
}

/* depoimento */
.sct .sct-quote {
  --sct-surface: var(--sct-panel);
  background: var(--sct-surface);
  border-radius: var(--sct-radius);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.25rem, 2.4vw, 2rem);
}

.sct .sct-stars {
  font-size: 0;
  line-height: 0;
}

.sct .sct-stars::before {
  color: var(--sct-btn-bg);
  content: '\2605\2605\2605\2605\2605';
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  line-height: 1;
}

.sct .sct-quote__text {
  color: var(--sct-title);
  flex: 1;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}

.sct .sct-quote__author {
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0;
  opacity: 0.8;
}

/* ---------- telas menores ---------- */
@media (width <= 991px) {
  .sct-tiles--4 {
    --sct-cols: 2;
  }

  .sct-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sct-mosaic--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .sct-mosaic--5 > :first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .sct.sct-mosaic--5 .sct-tile {
    aspect-ratio: 1 / 1;
  }

  .sct.sct-mosaic--5 > .sct-tile:first-child {
    aspect-ratio: 16 / 10;
  }
}

@media (width <= 767px) {
  .sct-bento {
    grid-auto-rows: clamp(9rem, 38vw, 13rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sct-bento--4 {
    grid-template-areas:
      'a a'
      'a a'
      'b c'
      'd d';
  }

  .sct-bento--5 {
    grid-template-areas:
      'a b'
      'a c'
      'd e';
  }

  .sct-bento--6 {
    grid-template-areas:
      'a b'
      'a c'
      'd d'
      'e f';
  }

  .sct-tiles--2,
  .sct-split,
  .sct-newsletter,
  .sct.sct-newsletter--media,
  .sct-duo {
    grid-template-columns: minmax(0, 1fr);
  }

  /* três colunas viram uma fileira que desliza */
  .sct-tiles--3,
  .sct-cards {
    grid-auto-columns: 78%;
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .sct-tiles--3 > *,
  .sct-cards > * {
    scroll-snap-align: start;
  }

  .sct-mosaic--3 {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  .sct-mosaic--3 > :first-child {
    grid-row: auto;
  }

  .sct.sct-mosaic--3 .sct-tile {
    aspect-ratio: 16 / 10;
  }

  .sct.sct-mosaic--3 > .sct-tile:first-child {
    aspect-ratio: 4 / 5;
  }

  .sct .sct-split__media {
    aspect-ratio: 4 / 3;
  }

  .sct .sct-newsletter__media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .sct-newsletter--media .sct-newsletter__body {
    padding: 0 var(--sct-box) var(--sct-box);
  }

  .sct-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .sct .sct-cta__body {
    flex-basis: auto;
  }
}

@media (width <= 480px) {
  .sct-benefits {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sct *,
  .sct *::before,
  .sct *::after {
    transition: none !important;
  }

  .sct .sct-tile:hover > .sct-media,
  .sct .sct-card:hover .sct-media,
  .sct .sct-duo__item:hover,
  .sct .sct-panel:hover,
  .sct .sct-carousel__arrow:hover,
  .sct .sct-btn:hover,
  .sct a:hover .sct-btn {
    transform: none;
  }

  .sct .sct-marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }

  .sct .sct-marquee__list[aria-hidden='true'] {
    display: none;
  }

  .sct .sct-marquee__list {
    flex-wrap: wrap;
    justify-content: center;
    padding-inline: 1.25rem;
  }
}
