/* ============================================================
   CARROSSEL "ÁREA DE CLIENTES" (Home e página Área de Clientes)
   Arquivo independente: não depende de home.css.
   ============================================================ */
.pc{
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
}
.pc > *{ min-width: 0; }

.pc-tabs{
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 26px 0 30px;
}
.pc-tab{
  appearance: none;
  display: block;
  width: 100%;
  margin: 0;
  padding: 12px 14px 12px 16px;
  background: transparent;
  border: 0;
  border-left: 3px solid var(--paper-deep);
  border-radius: 0 8px 8px 0;
  text-align: left;
  font-family: var(--font-body);
  color: var(--ink);
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease;
}
.pc-tab:hover{ background: var(--paper); }
.pc-tab:focus-visible{ outline: 2px solid var(--navy); outline-offset: 2px; }
.pc-tab strong{ display: block; font-size: .98rem; font-weight: 600; }
.pc-tab span{
  display: block;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--ink-soft);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .3s ease, opacity .3s ease, margin .3s ease;
}
.pc-tab[aria-selected="true"]{ background: var(--paper); border-left-color: var(--navy); }
.pc-tab[aria-selected="true"] strong{ color: var(--navy); }
.pc-tab[aria-selected="true"] span{ max-height: 90px; opacity: 1; margin-top: 3px; }

/* Moldura de navegador */
.pc-frame{
  background: var(--white);
  border: 1px solid rgba(9,31,91,.1);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.pc-topbar{
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #E7E4DD;
}
.pc-dot-w{ width: 8px; height: 8px; border-radius: 50%; background: #C9C2B6; }
.pc-url{
  margin-left: 10px;
  flex: 1;
  max-width: 340px;
  font-family: var(--font-body);
  font-size: .72rem;
  color: #7A7468;
  background: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pc-stage{
  position: relative;
  height: clamp(300px, 34vw, 460px);
  background: var(--paper);
  touch-action: pan-y;
}
.pc-slide{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility .45s;
}
.pc-slide.is-active{ opacity: 1; visibility: visible; }
.pc-slide picture{ display: contents; }
.pc-slide img{
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 10px 30px -14px rgba(9,31,91,.35);
}
.pc-slide img.pc-fade{
  -webkit-mask-image: linear-gradient(#000 88%, transparent);
          mask-image: linear-gradient(#000 88%, transparent);
}

/* Slide do login (clicável) */
.pc-slide--login{ padding: 0; }
.pc-login{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--navy);
  text-decoration: none;
  cursor: pointer;
}
.pc-login-card{
  width: 100%;
  max-width: 270px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  padding: 22px 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform .3s ease;
}
.pc-login:hover .pc-login-card,
.pc-login:focus-visible .pc-login-card{ transform: translateY(-4px); }
.pc-login:focus-visible{ outline: 3px solid var(--taupe-light); outline-offset: -6px; }
.pc-login-card img.pc-login-logo{ width: 40px; height: 40px; border-radius: 50%; box-shadow: none; padding: 0; }
.pc-login-title{ font-family: var(--font-display); font-size: .96rem; color: var(--navy); }
.pc-login-sub{ font-family: var(--font-body); font-weight: 600; font-size: .58rem; letter-spacing: .18em; color: var(--taupe); margin-bottom: 6px; }
.pc-login-group{ display: block; width: 100%; text-align: left; }
.pc-login-label{ display: block; font-size: .72rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 5px; }
.pc-login-field{ display: block; width: 100%; height: 30px; background: var(--white); border: 1px solid rgba(9,31,91,.14); border-radius: 4px; }
.pc-login-btn{ width: 100%; text-align: center; font-family: var(--font-body); font-weight: 600; font-size: .82rem; color: var(--white); background: var(--navy); border-radius: 30px; padding: 11px 14px; margin-top: 6px; }
.pc-login-forgot{ font-size: .74rem; color: var(--ink-soft); text-decoration: underline; }
.pc-login-hint{
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.35);
  padding: 6px 14px;
  border-radius: 999px;
}

/* Setas e pontos */
.pc-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--navy);
  box-shadow: 0 2px 10px rgba(9,31,91,.28);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease;
}
.pc-arrow:hover{ background: var(--white); box-shadow: 0 4px 14px rgba(9,31,91,.4); }
.pc-arrow:focus-visible{ outline: 3px solid var(--navy); outline-offset: 2px; }
.pc-prev{ left: 10px; }
.pc-next{ right: 10px; }
.pc-dots{ display: flex; gap: 8px; justify-content: center; padding: 14px 0 16px; background: var(--white); }
.pc-dot{
  appearance: none;
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #D7D2CA;
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.pc-dot.is-active{ width: 24px; background: var(--navy); }
.pc-caption{ display: none; padding: 0 18px 18px; background: var(--white); text-align: center; }
.pc-caption strong{ display: block; color: var(--navy); font-size: .98rem; }
.pc-caption span{ font-size: .88rem; color: var(--ink-soft); line-height: 1.5; }
.pc-cta-m{ display: none; }

@media (max-width: 900px){
  .pc{ grid-template-columns: 1fr; gap: 26px; }
  .pc-tabs{
    flex-direction: row;
    gap: 8px;
    margin: 22px 0 0;
    padding-bottom: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .pc-tabs::-webkit-scrollbar{ display: none; }
  .pc-tab{
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
    padding: 9px 15px;
    border: 1px solid var(--paper-deep);
    border-radius: 999px;
  }
  .pc-tab span{ display: none; }
  .pc-tab[aria-selected="true"]{ background: var(--navy); border-color: var(--navy); }
  .pc-tab[aria-selected="true"] strong{ color: var(--white); }
  .pc-cta-d{ display: none; }
  .pc-cta-m{ display: inline-flex; margin-top: 20px; }
  .pc-caption{ display: block; }
  .pc-stage{ height: min(108vw, 430px); }
  .pc-slide{ padding: 14px; }
  .pc-arrow{ display: none; }
  .pc-login-hint{ font-size: .74rem; }
  .pc-login{ gap: 10px; }
  .pc-login-card{ padding: 18px 22px 16px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce){
  .pc-slide, .pc-tab, .pc-tab span, .pc-dot, .pc-login-card{ transition: none; }
}

/* ---- FAQ em accordion (página Área de Clientes; mesmo visual da página Contato) ---- */
.faq-list{ margin-top: 40px; display: flex; flex-direction: column; }
.faq-item{ border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; }
.faq-list .faq-item:last-child{ border-bottom: 1px solid rgba(255,255,255,.12); }
.faq-item summary{ list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary:focus-visible{ outline: 2px solid var(--taupe-light); outline-offset: 4px; }
.faq-item h3{ color: var(--white); margin: 0; font-size: 1.1rem; }
.faq-item summary:hover h3{ color: var(--taupe-light); }
.faq-seta{ flex: none; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.1rem; transition: transform .25s ease, background .2s ease; }
.faq-item[open] .faq-seta{ transform: rotate(45deg); background: rgba(255,255,255,.1); }
.faq-item p{ margin: 14px 0 0; max-width: 640px; }
@media (max-width: 600px){ .faq-item h3{ font-size: 1rem; } .faq-item{ padding: 16px 0; } }

/* ---- Guia do cliente (PDF): só aparece quando o arquivo existe no servidor ---- */
.portal-guia{ margin-top: 40px; padding: 24px 28px; background: var(--white); border: 1px solid rgba(9,31,91,.12); border-left: 3px solid var(--taupe); border-radius: 12px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.portal-guia[hidden]{ display: none !important; }
.portal-guia p{ margin: 0; max-width: 520px; }
