/* =====================================================================
   BASE / GLOBAL — variáveis, reset, estrutura (app-shell, phone, screen),
   topbar, content-card e componentes COMPARTILHADOS por várias telas.
   Edite aqui apenas o que afeta TODAS as telas.
   ===================================================================== */

:root {
  --navy: #002e5f;
  --navy-deep: #002954;
  --ink: #071d3c;
  --yellow: #f7c817;
  --paper: #f8f8f7;
  --muted: #6c7481;
  --line: #e4e5e7;
  --phone-width: 390px;
  --phone-height: 844px;
  --app-background: url("../img/backgroundVP1.png");
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
  background: var(--navy);
}

button {
  font: inherit;
}

a {
  color: inherit;
}

/* ---- Estrutura raiz do app ---- */
.app-shell {
  display: block;
  width: 100vw;
  min-height: 100svh;
  overflow: hidden;
  padding: 0;
}

.desktop-panel {
  display: none;
  gap: 30px;
  align-content: center;
}

.desktop-panel h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0;
}

.desktop-panel p {
  margin: 0;
  max-width: 330px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.desktop-panel em {
  display: block;
  color: var(--yellow);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 1.55rem;
  font-weight: 400;
  text-transform: none;
}

.desktop-nav {
  display: grid;
  gap: 10px;
  max-width: 280px;
}

.desktop-link {
  border: 1px solid rgba(0, 46, 95, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  cursor: pointer;
  font-weight: 800;
  padding: 13px 16px;
  text-align: left;
}

.desktop-link.active,
.desktop-link:hover {
  border-color: var(--yellow);
  background: var(--navy);
  color: #fff;
}

.phone {
  position: relative;
  width: 100vw;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #f8fbfb var(--app-background) center / cover no-repeat;
  box-shadow: none;
}

/* ---- Sistema de telas (mostrar/ocultar) ---- */
.screen {
  position: absolute;
  inset: 0;
  display: none;
  overflow: hidden;
  background-color: #f8fbfb;
  background-image: var(--app-background) !important;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.screen.active {
  display: block;
}

/* ---- Layout base das telas internas (com topbar) ---- */
.app-screen {
  padding-bottom: 88px;
  background-color: #f8fbfb;
}

.topbar {
  position: relative;
  display: grid;
  height: 112px;
  grid-template-columns: 54px 1fr 54px;
  align-items: center;
  padding: 0 17px 24px;
  color: #fff;
  background: linear-gradient(180deg, #00366e 0%, #002d5d 100%);
}

.topbar h2 {
  z-index: 1;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
}

.back-button {
  z-index: 1;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.back-button svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.content-card {
  position: absolute;
  top: 82px;
  right: 0;
  bottom: 88px;
  left: 0;
  overflow: auto;
  border-radius: 24px 24px 0 0;
  background: rgba(248, 248, 247, 0.88);
  backdrop-filter: blur(2px);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.05);
}

/* ---- Bloco de conteúdo genérico (texto/palestrantes) ---- */
.info-content {
  padding: 28px 28px 20px;
}

.info-content h3 {
  margin: 0 0 20px;
  font-size: 1.34rem;
  line-height: 1;
}

.text-lines {
  display: grid;
  gap: 11px;
  margin-bottom: 52px;
}

.text-lines span {
  display: block;
  height: 4px;
  border-radius: 99px;
  background: #d4d6d8;
}

.text-lines span:last-child {
  width: 74%;
}

/* ---- Timeline compartilhada (Programação + Cronograma de Lazer) ---- */
.timeline {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0 0 0 30px;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 8px;
  width: 2px;
  content: "";
  background: var(--navy);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: start;
  gap: 12px;
  min-height: 34px;
}

.timeline li::before {
  position: absolute;
  top: 12px;
  left: -28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  content: "";
  background: var(--navy);
}

.timeline time {
  display: grid;
  min-height: 34px;
  place-items: center;
  border: 1px solid rgba(247, 200, 23, 0.8);
  border-radius: 8px;
  background: #fff9dd;
  padding: 5px 7px;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.timeline span {
  padding-top: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
}

.timeline span strong {
  display: block;
  font-weight: 700;
  color: var(--ink);
}

.timeline span .act-desc {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.timeline span .act-people {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-top: 5px;
}

.timeline span .act-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
}

.timeline span .act-tag.guest {
  background: rgba(0, 46, 95, 0.08);
  color: var(--navy);
}

.timeline span .act-tag.resp {
  background: rgba(247, 200, 23, 0.22);
  color: #7a5c00;
}

.timeline span .act-tag.dur {
  background: rgba(108, 116, 129, 0.14);
  color: var(--muted);
}

/* ---- Lista genérica (linhas clicáveis) usada em várias telas ---- */
.list-content {
  padding: 32px 20px;
}

.list-row {
  display: grid;
  width: 100%;
  min-height: 68px;
  grid-template-columns: 54px 1fr 26px;
  align-items: center;
  gap: 10px;
  border: 1px solid #e6e8eb;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  padding: 8px 12px 8px 8px;
  text-align: left;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.025);
}

.list-row strong,
.list-row small {
  display: block;
}

.list-row strong {
  font-size: 0.87rem;
  font-weight: 900;
}

.list-row small {
  margin-top: 3px;
  color: #2d3747;
  font-size: 0.76rem;
}

.list-row b {
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.18s ease;
}

.row-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 6px;
  background: var(--navy);
}

/* =====================================================================
   MEDIA QUERIES BASE (afetam estrutura/telas internas em geral)
   ===================================================================== */
@media (min-width: 781px) {
  .topbar {
    height: 128px;
    grid-template-columns: 76px 1fr 76px;
    padding: 0 clamp(28px, 5vw, 72px) 28px;
  }

  .topbar h2 {
    font-size: clamp(1.05rem, 1.5vw, 1.38rem);
  }

  .content-card {
    top: 94px;
    bottom: 96px;
    border-radius: 30px 30px 0 0;
  }

  .info-content,
  .schedule-content,
  .list-content,
  .photos-content {
    padding-right: max(32px, calc((100vw - 980px) / 2));
    padding-left: max(32px, calc((100vw - 980px) / 2));
  }

  .info-content {
    padding-top: 42px;
  }

  .timeline {
    width: 100%;
    gap: 14px;
  }
}

@media (max-width: 360px) {
  .timeline {
    padding-left: 32px;
  }
}




























































/* =========================================================
   LOJA DO ALUNO
   ========================================================= */

.material-row-store {
  width: 100%;
  min-height: 104px;
  padding: 12px 14px;
  grid-template-columns: 76px minmax(0, 1fr) 34px;
  column-gap: 29px;
  text-align: left;
  cursor: pointer;
}

.material-store-image {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  object-fit: contain;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(0, 46, 95, 0.1);
  box-shadow: 0 7px 20px rgba(0, 46, 95, 0.1);
}

.material-store-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.material-store-info strong {
  color: #002e5f;
  font-size: 16px;
  line-height: 1.2;
}

.material-store-info small {
  color: #60758a;
  font-size: 12px;
  line-height: 1.4;
}

.material-arrow {
  color: #005ca9;
  font-size: 29px;
  font-weight: 400;
  line-height: 1;
}


/* =========================================================
   TELA PRINCIPAL DA LOJA
   ========================================================= */

.loja-aluno-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.loja-aluno-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 18px 22px;
  text-align: center;
  border: 1px solid rgba(0, 74, 140, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 50% 10%,
      rgba(126, 198, 239, 0.28),
      transparent 55%
    ),
    linear-gradient(145deg, #ffffff 0%, #f2f8fd 100%);
}

.loja-aluno-hero::before,
.loja-aluno-hero::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  background: rgba(77, 171, 226, 0.1);
  pointer-events: none;
}

.loja-aluno-hero::before {
  top: -45px;
  right: -45px;
  width: 130px;
  height: 130px;
}

.loja-aluno-hero::after {
  bottom: -55px;
  left: -45px;
  width: 150px;
  height: 150px;
}

.loja-aluno-hero img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(230px, 78%);
  height: auto;
  margin: 0 auto 10px;
  object-fit: contain;
}

.loja-aluno-hero div {
  position: relative;
  z-index: 1;
}

.loja-aluno-hero h3 {
  margin: 0 0 6px;
  color: #002e5f;
  font-size: 22px;
}

.loja-aluno-hero p {
  max-width: 320px;
  margin: 0;
  color: #5d7288;
  font-size: 13px;
  line-height: 1.55;
}

.loja-aluno-options {
  display: grid;
  gap: 12px;
}

.loja-aluno-option {
  width: 100%;
  min-height: 84px;
  padding: 13px 14px;
  gap: 13px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.loja-aluno-option > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.loja-aluno-option strong {
  color: #002e5f;
  font-size: 15px;
  line-height: 1.25;
}

.loja-aluno-option small {
  color: #60758a;
  font-size: 12px;
  line-height: 1.4;
}

.loja-aluno-option > b {
  color: #005ca9;
  font-size: 28px;
  line-height: 1;
}

.loja-option-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #e6f3fc, #ffffff);
  border: 1px solid rgba(0, 74, 140, 0.12);
}

.loja-option-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: #005ca9;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* =========================================================
   CUIDADOS COM O UNIFORME
   ========================================================= */

.uniform-care-content {
  padding-bottom: 28px;
}

.uniform-care-card {
  overflow: hidden;
  border: 1px solid rgba(0, 74, 140, 0.12);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 46, 95, 0.08);
}

.uniform-care-header {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 20px 18px;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(104, 190, 236, 0.22),
      transparent 52%
    ),
    linear-gradient(145deg, #f8fcff, #eef7fd);
}

.uniform-care-header-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 7px 18px rgba(0, 46, 95, 0.1);
}

.uniform-care-header-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: #005ca9;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.uniform-care-header h3 {
  margin: 1px 0 5px;
  color: #002e5f;
  font-size: 19px;
}

.uniform-care-header p {
  margin: 0;
  color: #587087;
  font-size: 13px;
  line-height: 1.55;
}

.uniform-care-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 18px 18px 14px 46px;
}

.uniform-care-list li {
  padding-left: 3px;
  color: #354b60;
  font-size: 13px;
  line-height: 1.65;
}

.uniform-care-list li::marker {
  color: #0873bd;
}

.uniform-care-highlight {
  margin: 0 18px 13px;
  padding: 14px 15px;
  border-left: 4px solid #0873bd;
  border-radius: 4px 15px 15px 4px;
  background: #f2f8fd;
}

.uniform-care-highlight strong {
  display: block;
  margin-bottom: 5px;
  color: #002e5f;
  font-size: 14px;
}

.uniform-care-highlight p {
  margin: 0;
  color: #496176;
  font-size: 13px;
  line-height: 1.6;
}

.uniform-care-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 18px;
  padding: 20px 18px 24px;
  text-align: center;
  border-top: 1px solid rgba(0, 74, 140, 0.1);
  background: linear-gradient(180deg, #ffffff, #f2f8fd);
}

.uniform-care-footer img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin-bottom: 6px;
}

.uniform-care-footer p {
  max-width: 310px;
  margin: 0 0 7px;
  color: #435c72;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.uniform-care-footer strong {
  color: #002e5f;
  font-size: 15px;
}


/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

@media (max-width: 420px) {
  .material-row-store {
    grid-template-columns: 68px minmax(0, 1fr) 34px;
  }

  .material-store-info {
    padding-left: 14px;
  }

  .material-store-image {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }

  .loja-aluno-hero {
    padding: 20px 14px;
  }

  .loja-aluno-hero img {
    width: min(210px, 78%);
  }

  .uniform-care-header {
    padding: 17px 15px;
  }

  .uniform-care-list {
    padding-right: 15px;
    padding-left: 39px;
  }

  .uniform-care-highlight {
    margin-right: 15px;
    margin-left: 15px;
  }
}



/* =========================================================
   AJUSTES EXCLUSIVOS PARA NOTEBOOK E DESKTOP
   Não altera a versão mobile
   ========================================================= */

@media screen and (min-width: 900px) {

  /* Permite rolagem normal nas novas telas */
  #loja-do-aluno,
  #cuidados-uniforme {
    overflow-y: auto;
    overflow-x: hidden;
  }

  /* Centraliza o conteúdo e impede que ocupe a tela inteira */
  #loja-do-aluno .loja-aluno-content,
  #cuidados-uniforme .uniform-care-content {
    width: calc(100% - 64px);
    max-width: 820px;
    margin: 32px auto 110px;
    padding: 0;
  }

  /* =======================================================
     TELA LOJA DO ALUNO
     ======================================================= */

  #loja-do-aluno .loja-aluno-hero {
    padding: 30px 36px;
    border-radius: 28px;
  }

  #loja-do-aluno .loja-aluno-hero img {
    width: 210px !important;
    height: 210px !important;
    max-width: 210px !important;
    object-fit: contain;
  }

  #loja-do-aluno .loja-aluno-hero h3 {
    font-size: 25px;
  }

  #loja-do-aluno .loja-aluno-hero p {
    max-width: 480px;
    font-size: 15px;
  }

  #loja-do-aluno .loja-aluno-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  #loja-do-aluno .loja-aluno-option {
    min-height: 105px;
    padding: 18px;
    border-radius: 20px;
  }

  #loja-do-aluno .loja-aluno-option strong {
    font-size: 16px;
  }

  #loja-do-aluno .loja-aluno-option small {
    font-size: 13px;
  }

  /* Impede que estilos globais ampliem os SVGs */
  #loja-do-aluno .loja-option-icon {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px;
    flex: 0 0 56px;
  }

  #loja-do-aluno .loja-option-icon svg {
    display: block !important;
    width: 29px !important;
    height: 29px !important;
    max-width: 29px !important;
    max-height: 29px !important;
    fill: none !important;
    stroke: #005ca9 !important;
    stroke-width: 1.8 !important;
  }


  /* =======================================================
     TELA CUIDADOS COM O UNIFORME
     ======================================================= */

  #cuidados-uniforme .uniform-care-card {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    border-radius: 28px;
    box-shadow: 0 16px 45px rgba(0, 46, 95, 0.12);
  }

  #cuidados-uniforme .uniform-care-header {
    align-items: center;
    gap: 18px;
    padding: 26px 30px;
  }

  #cuidados-uniforme .uniform-care-header h3 {
    margin: 0 0 7px;
    font-size: 23px;
  }

  #cuidados-uniforme .uniform-care-header p {
    max-width: 620px;
    font-size: 15px;
    line-height: 1.6;
  }

  /*
   * Correção principal:
   * impede que o SVG da camiseta ocupe toda a tela.
   */
  #cuidados-uniforme .uniform-care-header-icon {
    display: grid !important;
    place-items: center !important;
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    flex: 0 0 58px !important;
    overflow: hidden;
  }

  #cuidados-uniforme .uniform-care-header-icon svg {
    display: block !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    fill: none !important;
    stroke: #005ca9 !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  #cuidados-uniforme .uniform-care-list {
    gap: 14px;
    margin: 0;
    padding: 25px 38px 20px 58px;
  }

  #cuidados-uniforme .uniform-care-list li {
    padding-left: 5px;
    color: #354b60;
    font-size: 15px;
    line-height: 1.7;
  }

  #cuidados-uniforme .uniform-care-highlight {
    margin: 0 30px 16px;
    padding: 18px 20px;
    border-radius: 5px 18px 18px 5px;
  }

  #cuidados-uniforme .uniform-care-highlight strong {
    font-size: 16px;
  }

  #cuidados-uniforme .uniform-care-highlight p {
    font-size: 14px;
    line-height: 1.65;
  }

  #cuidados-uniforme .uniform-care-footer {
    margin-top: 22px;
    padding: 25px 30px 30px;
  }

  /* Impede que a imagem da loja fique enorme no desktop */
  #cuidados-uniforme .uniform-care-footer img {
    display: block !important;
    width: 115px !important;
    height: 115px !important;
    min-width: 115px !important;
    max-width: 115px !important;
    min-height: 115px !important;
    max-height: 115px !important;
    object-fit: contain !important;
  }

  #cuidados-uniforme .uniform-care-footer p {
    max-width: 480px;
    font-size: 16px;
  }

  #cuidados-uniforme .uniform-care-footer strong {
    font-size: 16px;
  }


  /* =======================================================
     CARD DA LOJA DENTRO DE MATERIAIS
     ======================================================= */

  #materiais .materials-content {
    width: calc(100% - 64px);
    max-width: 820px;
    margin-right: auto;
    margin-left: auto;
  }

  #materiais .material-row-store {
    min-height: 112px;
    padding: 16px 20px;
    grid-template-columns: 82px minmax(0, 1fr) 34px;
  }

  #materiais .material-store-image {
    width: 82px !important;
    height: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
    object-fit: contain !important;
  }

  #materiais .material-store-info strong {
    font-size: 18px;
  }

  #materiais .material-store-info small {
    font-size: 14px;
  }
}
