
/* ==========================================================
   EVELLO AI - CASOS DE USO
   Estilos exclusivos da biblioteca e paginas de videos.

   O cabecalho utiliza os componentes e estilos originais
   do arquivo /styles.css.
   ========================================================== */

/* Variaveis */
:root {
  --cu-violet: #7353e9;
  --cu-ink: #172033;
  --cu-muted: #657084;
  --cu-bg: #f6f8fd;
  --cu-radius: 18px;
}

/* ==========================================================
   BASE
   ========================================================== */

/* Compensa o cabecalho fixo da One Page */
body {
  padding-top: 4rem;
}

/* Container exclusivo da area Casos de Uso */
.cu-shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================
   HERO - BIBLIOTECA
   ========================================================== */

.cu-hero {
  padding: 78px 0 40px;
  background: linear-gradient(
    115deg,
    #f7f9ff,
    #f3f0ff 70%,
    #fff
  );
}

.cu-eyebrow {
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cu-violet);
  font-size: 12px;
  font-weight: 750;
}

.cu-hero h1,
.cu-main h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 14px 0 18px;
  color: var(--cu-ink);
}

.cu-main h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  color: var(--cu-ink);
}

.cu-lead {
  font-size: 17px;
  line-height: 1.7;
  max-width: 760px;
  color: var(--cu-muted);
}

/* ==========================================================
   CONTEUDO PRINCIPAL
   ========================================================== */

.cu-main {
  padding: 48px 0 80px;
  min-height: 50vh;
}

/* ==========================================================
   BIBLIOTECA - GRADE DE VIDEOS
   ========================================================== */

.cu-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(min(300px, 100%), 1fr)
  );
  gap: 24px;
  margin-top: 24px;
}

/* Cartao */
.cu-card {
  border: 1px solid #e9edf6;
  overflow: hidden;
  border-radius: var(--cu-radius);
  box-shadow: 0 8px 26px rgba(21, 35, 70, 0.06);
  background: #fff;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.cu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(21, 35, 70, 0.12);
}

.cu-card a {
  color: inherit;
  text-decoration: none;
}

/* Miniatura */
.cu-card-image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(125deg, #d9deed, #f1eaff);
  position: relative;
  overflow: hidden;
}

.cu-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Duracao */
.cu-duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  border-radius: 6px;
  padding: 4px 7px;
  font-size: 12px;
}

/* Conteudo do cartao */
.cu-card-body {
  padding: 23px;
}

.cu-card-body h2 {
  font-size: 21px;
  margin: 0 0 12px;
}

.cu-card-body p {
  color: var(--cu-muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================
   STATUS DE CARREGAMENTO
   ========================================================== */

.cu-status {
  padding: 26px;
  border-radius: 14px;
  background: var(--cu-bg);
  color: var(--cu-muted);
}

/* ==========================================================
   PAGINA INDIVIDUAL DO VIDEO
   ========================================================== */

/* Navegacao contextual */
.cu-breadcrumb {
  font-size: 13px;
  margin-bottom: 26px;
  color: var(--cu-muted);
}

.cu-breadcrumb a {
  color: var(--cu-violet);
  text-decoration: none;
}

.cu-breadcrumb a:hover {
  text-decoration: underline;
}

/* Player incorporado do MediaCMS */
.cu-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #0d1020;
  box-shadow: 0 20px 50px rgba(19, 28, 61, 0.14);
}

.cu-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Descricao */
.cu-detail-copy {
  max-width: 800px;
  line-height: 1.8;
  color: var(--cu-muted);
  white-space: pre-line;
}

/* ==========================================================
   COMPARTILHAMENTO E ACOES
   ========================================================== */

.cu-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin: 28px 0 44px;
}

.cu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  background: var(--cu-violet);
  color: white;
  padding: 14px 20px;
  text-decoration: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: 650;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.cu-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.cu-button.secondary {
  background: #eef0ff;
  color: #4635a5;
}

/* ==========================================================
   CHAMADA PARA ACAO
   ========================================================== */

.cu-cta {
  background: linear-gradient(
    110deg,
    #f7f5ff,
    #edf3ff
  );
  padding: 36px;
  border-radius: 20px;
  margin-top: 40px;
}

.cu-cta p {
  color: var(--cu-muted);
  line-height: 1.7;
}

/* ==========================================================
   RODAPE DAS PAGINAS DE CASOS DE USO
   ========================================================== */

.cu-footer {
  border-top: 1px solid #e9edf6;
  padding: 28px 0;
  color: var(--cu-muted);
  font-size: 13px;
}

.cu-footer a {
  color: inherit;
}

/* ==========================================================
   RESPONSIVIDADE
   Regras exclusivas do conteudo de Casos de Uso.
   O menu responsivo permanece definido em /styles.css.
   ========================================================== */

@media (max-width: 760px) {
  .cu-hero {
    padding: 48px 0 30px;
  }

  .cu-main {
    padding: 30px 0 60px;
  }

  .cu-cta {
    padding: 24px;
  }

  .cu-shell {
    padding: 0 18px;
  }
}
