/* =========================================================
   TABLET (menu lateral vira barra inferior)
========================================================= */

@media (max-width: 960px) {

  .cc-app-layout {
    flex-direction: column;
  }

  .cc-sidebar {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 150;

    flex-direction: row;
    align-items: center;
    justify-content: space-around;

    width: 100%;
    height: auto;
    padding: 8px 6px;

    border-top: 1px solid var(--cc-border);
    border-right: none;
  }

  .cc-sidebar-logo,
  .cc-sidebar-footer {
    display: none;
  }

  .cc-sidebar-nav {
    flex-direction: row;
    justify-content: space-around;

    width: 100%;
  }

  .cc-sidebar-nav a {
    flex-direction: column;
    gap: 3px;

    padding: 6px 8px;

    font-size: 11px;
    font-weight: 600;
  }

  .cc-app-main {
    padding: 28px 0 100px;
  }

  .cc-mini-player {
    bottom: 78px;
  }

  .cc-hero {
    grid-template-columns: 1fr;

    min-height: 0;
  }

  .cc-hero-content {
    padding: 40px 32px;
  }

  .cc-hero-art {
    min-height: 260px;
  }
}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 640px) {

  .cc-app-shell {
    width: calc(100% - 40px);
  }

  .cc-hero-content {
    padding: 32px 20px;
  }

  .cc-hero h1 {
    font-size: clamp(30px, 8vw, 44px);
  }

  .cc-hero-description {
    font-size: 15px;
  }

  .cc-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cc-hero-actions .cc-btn {
    width: 100%;
  }

  .cc-section-header h2 {
    font-size: 22px;
  }

  .cc-carousel-track {
    grid-auto-columns: 72vw;
    padding-right: 20px;
  }

  .cc-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 18px 14px;
  }

  .cc-mini-player {
    grid-template-columns: 46px minmax(0, 1fr) auto;

    width: calc(100% - 24px);
    min-height: 66px;
    padding: 8px 12px;
  }

  .cc-mini-player-cover {
    width: 46px;
    height: 46px;
  }

  .cc-plans-grid {
    grid-template-columns: 1fr;
  }

  .cc-page-header h1 {
    font-size: 26px;
  }

  .conteudos-cadastro-box {
    margin: 0;
    padding: 28px 22px;
  }
}
