/* ==========================================================================
   Section: exemplos — illustrative lead cards (NO testimonials).
   Full-bleed autoplay + draggable seamless carousel with faded edges and a
   diagonal blue→orange light streak behind the glass cards.
   Native horizontal scroll (scroll-snap) without JS / with reduced motion.
   ========================================================================== */
.section--exemplos {
  --ex-card-w: 365px;
  --ex-gap: 24px;
  --ex-pad: max(var(--gutter), calc((100% - var(--container)) / 2));
  --ex-edge: 8%;
}
@media (max-width: 1199px) {
  .section--exemplos { --ex-card-w: 345px; --ex-gap: 20px; --ex-edge: 6%; }
}
@media (max-width: 809px) {
  .section--exemplos { --ex-card-w: min(330px, calc(100vw - 58px)); --ex-gap: 14px; --ex-edge: 16px; }   /* step autoplay rests each card fully framed (x = --ex-pad), so the fade only softens the peeking neighbour */
}

/* ---- Head ------------------------------------------------------------------ */
.section--exemplos .ex-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 48px;
  margin-bottom: 48px;
}
.section--exemplos .ex-head__main { min-width: 0; }
.section--exemplos .ex-title { max-width: 12.6em; }
.section--exemplos .ex-head__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  flex: none;
  padding-bottom: 4px;
}
.section--exemplos .ex-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 5px 13px 5px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .03);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}
.section--exemplos .ex-note svg { width: 16px; height: 16px; color: var(--orange-bright); flex: none; }
.section--exemplos .ex-nav { display: flex; gap: 10px; }
.section--exemplos .ex-nav__btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-12);
  border: 1px solid var(--border-btn);
  color: #fff;
  transition: background-color .3s var(--ease-out), border-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.section--exemplos .ex-nav__btn svg { width: 20px; height: 20px; }
.section--exemplos .ex-nav__btn:hover { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .36); }
.section--exemplos .ex-nav__btn:active { transform: scale(.95); }

/* ---- Carousel ---------------------------------------------------------------- */
.section--exemplos .ex-carousel { position: relative; }
.section--exemplos .ex-viewport {
  position: relative;
  z-index: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--ex-pad);
  scrollbar-width: none;
  padding-block: 28px 44px;
  outline-offset: -4px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--ex-edge), #000 calc(100% - var(--ex-edge)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--ex-edge), #000 calc(100% - var(--ex-edge)), transparent 100%);
}
.section--exemplos .ex-viewport::-webkit-scrollbar { display: none; }
.section--exemplos .ex-track {
  display: flex;
  align-items: stretch;
  gap: var(--ex-gap);
  width: max-content;
  padding-inline: var(--ex-pad);
}
/* JS loop mode */
.section--exemplos.is-looping .ex-viewport {
  overflow: hidden;
  scroll-snap-type: none;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.section--exemplos.is-dragging .ex-viewport { cursor: grabbing; }
.section--exemplos.is-looping .ex-track { padding-inline: 0; }
.section--exemplos.is-looping .ex-card { will-change: transform; }
/* The masked viewport is the cards' backdrop root, so backdrop-filter blurred nothing visible
   while forcing a re-render of 8 moving cards every tick: plain translucent fill instead. */
.section--exemplos .ex-card.glass { -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---- Diagonal light streak (blue → orange) behind the glass ------------------- */
.section--exemplos .ex-streak {
  position: absolute;
  z-index: 0;
  left: -12%;
  right: -12%;
  top: 50%;
  height: 0;
  pointer-events: none;
}
.section--exemplos .ex-streak__inner {
  position: absolute;
  left: 0;
  right: 0;
  top: -140px;
  height: 280px;
  rotate: -9deg;
}
.section--exemplos .ex-streak__inner::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 130px;
  margin-top: -65px;
  border-radius: 50%;
  background: linear-gradient(90deg,
    rgba(0, 152, 243, 0) 0%,
    rgba(0, 152, 243, .9) 26%,
    rgba(31, 119, 246, .55) 44%,
    rgba(218, 78, 36, .6) 58%,
    rgba(255, 137, 24, .9) 76%,
    rgba(218, 78, 36, 0) 100%);
  filter: blur(52px);
  opacity: .62;
}
.section--exemplos .ex-streak__inner::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #7AD0FF 22%, #fff 50%, #FFB066 78%, transparent);
  box-shadow: 0 0 16px 2px rgba(255, 176, 102, .35), 0 0 28px 6px rgba(0, 152, 243, .18);
  /* the cards' backdrop-filter can't blur it (the masked viewport is their backdrop root),
     so keep the core soft: it should read as light behind glass, not a scratch on it */
  filter: blur(2.5px);
  opacity: .55;
}

/* ---- Card ---------------------------------------------------------------------- */
.section--exemplos .ex-card {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: var(--ex-card-w);
  min-height: 420px;
  padding: 22px;
  scroll-snap-align: start;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045) 0%, rgba(255, 255, 255, .015) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .07),
    0 30px 60px -32px rgba(0, 0, 0, .95);
}
.section--exemplos .ex-card__head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.section--exemplos .ex-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-12);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .03em;
  color: #fff;
  background:
    radial-gradient(90% 70% at 30% 10%, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 60%),
    radial-gradient(130% 130% at 20% 0%, var(--a1), var(--a2) 78%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .14),
    inset 0 -6px 12px -6px rgba(0, 0, 0, .6),
    0 10px 22px -10px var(--a1);
}
.section--exemplos .ex-card__id { min-width: 0; }
.section--exemplos .ex-card__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.section--exemplos .ex-card__seg { font-size: 13px; line-height: 18px; color: var(--text-3); }

.section--exemplos .ex-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  line-height: 18px;
  color: var(--text-2);
}
.section--exemplos .ex-meta { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; min-width: 0; }
.section--exemplos .ex-meta svg { width: 14px; height: 14px; flex: none; }
.section--exemplos .ex-meta--loc svg { color: var(--text-3); }
.section--exemplos .ex-meta--rating svg { color: #FFB547; }
.section--exemplos .ex-meta--rating b { color: #fff; font-weight: 600; }
.section--exemplos .ex-meta--rating span { color: var(--text-3); }

/* Score */
.section--exemplos .ex-score {
  padding: 14px 16px 16px;
  border-radius: var(--r-12);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  border: 1px solid rgba(255, 255, 255, .075);
}
.section--exemplos .ex-score__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.section--exemplos .ex-score__label {
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-3);
}
.section--exemplos .ex-flag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.section--exemplos .ex-flag--strong {
  color: #fff;
  background: var(--orange);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 0 20px -4px rgba(218, 78, 36, .85);
}
.section--exemplos .ex-flag--weak {
  color: var(--text-2);
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.section--exemplos .ex-score__value { display: flex; align-items: baseline; gap: 4px; margin-top: 6px; }
.section--exemplos .ex-score__num {
  display: inline-block;
  min-width: 1.15em;
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.section--exemplos .ex-score__max { font-size: 15px; font-weight: 500; color: var(--text-3); }
.section--exemplos .is-weak .ex-score__num { color: var(--text-2); }
.section--exemplos .ex-bar {
  position: relative;
  height: 6px;
  margin-top: 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .07);
  overflow: hidden;
}
.section--exemplos .ex-bar__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #A22904 0%, #DA4E24 55%, #FF8918 100%);
  transform-origin: 0 50%;
  transform: scaleX(var(--s, 1));
}
.section--exemplos .is-weak .ex-bar__fill { background: linear-gradient(90deg, #3a3a3d, #77777c); }

/* Chips */
.section--exemplos .ex-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.section--exemplos .ex-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 9px 0 8px;
  border-radius: var(--r-8);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.section--exemplos .ex-chip svg,
.section--exemplos .ex-chip .icon { --size: 13px; width: 13px; height: 13px; flex: none; color: var(--success); }
.section--exemplos .ex-chip--off { color: var(--text-4); }
.section--exemplos .ex-chip--off svg { color: var(--text-4); }

/* Suggested opener */
.section--exemplos .ex-pitch { display: flex; flex-direction: column; gap: 8px; }
.section--exemplos .ex-pitch__label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-3);
}
.section--exemplos .ex-pitch__label .sparkle-mask { --size: 12px; color: var(--orange-bright); }
.section--exemplos .ex-pitch__text {
  margin: 0;
  font-size: 14px;
  line-height: 21px;
  color: rgba(255, 255, 255, .9);
}

.section--exemplos .ex-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: 12px;
  line-height: 16px;
  color: var(--text-3);
}
.section--exemplos .ex-card__src { display: flex; gap: 9px; color: var(--text-4); }
.section--exemplos .ex-card__src .icon { --size: 14px; }

.section--exemplos .ex-disclaimer {
  max-width: 640px;
  margin: 8px auto 0;
  text-align: center;
  font-size: 13px;
  line-height: 20px;
  color: var(--text-3);
}

/* ---- Responsive -------------------------------------------------------------- */
@media (max-width: 1199px) {
  .section--exemplos .ex-head { margin-bottom: 40px; }
}
@media (max-width: 809px) {
  .section--exemplos .ex-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 20px;
  }
  .section--exemplos .ex-head__aside { align-items: flex-start; padding-bottom: 0; }
  .section--exemplos .ex-note { font-size: 12px; }
  .section--exemplos .ex-nav { display: none; }
  .section--exemplos .ex-viewport { padding-block: 22px 32px; }
  .section--exemplos .ex-card { min-height: 0; padding: 18px; gap: 14px; }
  .section--exemplos .ex-card__name { font-size: 17px; }
  .section--exemplos .ex-score__num { font-size: 42px; }
  .section--exemplos .ex-streak__inner { rotate: -14deg; }
  .section--exemplos .ex-streak__inner::before { height: 90px; margin-top: -45px; filter: blur(38px); }
  .section--exemplos .ex-disclaimer { text-align: left; font-size: 12px; line-height: 18px; }
}
