
/* =========================
   LUX FEATURE 
========================= */

.lux-feature{ position: relative; }

/* título */
.lux-title{
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: .35rem;
}
.lux-sub{
  color: rgba(15,15,18,.68);
  max-width: 64ch;
  margin: 0 auto;
}

/* container do componente */
.lux-tabs{
  --lux-bg: rgba(255,255,255,.35);
  --lux-line: rgba(15,15,18,.14);
  --lux-ink: rgba(58,43,34,.92);
  --lux-card: rgba(255,255,255,.72);
  max-width: 1040px;
  margin: 0 auto;
}

/* radios escondidos */
.lux-radio{ position:absolute; opacity:0; pointer-events:none; }

/* BAR (glass pill) */
.lux-bar.lux-bar--7{
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  padding: 18px;
  border-radius: 999px;
  background: var(--lux-bg);
  border: 1px solid var(--lux-line);
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 55px rgba(0,0,0,.10);
  overflow: hidden;

  --tab-pad-y: 0.85rem;
  --tab-pad-x: 1rem;
}

/* tabs */
.lux-tab{
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: var(--tab-pad-y) var(--tab-pad-x);
  border-radius: 999px;
  font-weight: 700;
  color: rgba(15,15,18,.78);
  cursor: pointer;
  user-select: none;
  transition: transform .18s ease, color .25s ease, background .25s ease;
}

.lux-tab:hover{
  background: rgba(255,255,255,.30);
  color: rgba(15,15,18,.92);
}

.lux-ink{
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  background: var(--fade-brown);
  box-shadow:
    inset 3px 0 0 0 rgba(58,43,34,.55),
    inset -3px 0 0 0 rgba(58,43,34,.55),
    0 10px 22px rgba(0,0,0,.08);

  transition:
    transform .55s cubic-bezier(.22,.61,.36,1),
    width .55s cubic-bezier(.22,.61,.36,1),
    height .55s cubic-bezier(.22,.61,.36,1);

  will-change: transform, width, height;
}

/* tab ativa */
#lux1:checked  ~ .lux-bar label[for="lux1"],
#lux2:checked  ~ .lux-bar label[for="lux2"],
#lux3:checked  ~ .lux-bar label[for="lux3"],
#lux4:checked  ~ .lux-bar label[for="lux4"],
#lux5:checked  ~ .lux-bar label[for="lux5"],
#lux6:checked  ~ .lux-bar label[for="lux6"],
#lux7:checked  ~ .lux-bar label[for="lux7"],
#lux8:checked  ~ .lux-bar label[for="lux8"],
#lux9:checked  ~ .lux-bar label[for="lux9"],
#lux10:checked ~ .lux-bar label[for="lux10"],
#lux11:checked ~ .lux-bar label[for="lux11"],
#lux12:checked ~ .lux-bar label[for="lux12"]{
  color: rgba(15,15,18,.96);
}

/* responsivo: 3 colunas no tablet, 2 no mobile */
@media (max-width: 991.98px){
  .lux-bar.lux-bar--12{ grid-template-columns: repeat(3, 1fr); border-radius: 22px; }
}
@media (max-width: 575.98px){
  .lux-bar.lux-bar--12{ grid-template-columns: repeat(2, 1fr); }
}

/* acessibilidade */
@media (prefers-reduced-motion: reduce){
  .lux-tab{ transition: none !important; }
}

/* PAINÉIS (altura animada via JS) */
.lux-panels{
  position: relative;
  margin-top: 14px;
  border-radius: 28px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(15,15,18,.10);
  box-shadow: 0 30px 70px rgba(0,0,0,.12);
  overflow: hidden;
  transition: height .35s ease;
}
.lux-panels.card-bg-blur{
  background-image: url("../img/Justa_blur6.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 80%;
}

/* panel base */
.lux-panel{
  display: none;
  padding: 34px 34px 30px;
  opacity: 0;
  transform: translateY(10px);
  filter: blur(6px);
}

.lux-panel-inner{
  padding: 34px 34px 30px;
}

.lux-panel h1{
  margin: 0 0 .8rem;
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 1.04;
  font-size: clamp(2.0rem, 3.0vw, 3.1rem);
  color: rgba(15,15,18,.94);
}

.lux-panel h3{
  margin-top: 26px;
  margin-bottom: 10px;
  font-size: 1.12rem;
  font-weight: 950;
}

.lux-panel p{
  color: rgba(15,15,18,.68);
  max-width: 70ch;
}

/* base do UL do panel (vai ser sobrescrito no artigo) */
.lux-panel ul{
  margin-top: 10px;
  padding-left: 1.15rem;
  display: grid;
  gap: 10px;
}

.lux-panel li{
  display:flex;
  align-items:center;
  gap: 10px;
  color: rgba(15,15,18,.86);
}

.lux-panel i{
  color: rgba(58,43,34,.92);
  font-size: 1.15rem;
}

.lux-actions{
  margin-top: 18px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lux-panel.is-active{
  display: block;
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity .35s ease, transform .35s ease, filter .35s ease;
}

/* =========================
   “artigo” dentro de cada panel (layout informativo)
   ========================= */

/* o artigo usa toda a largura útil do panel, com margens elegantes */
.act-article{
  max-width: none;
  width: 100%;
  margin: 0 auto;

  /* margens laterais (responsivo) */
  padding-inline: clamp(16px, 3.5vw, 56px);
}

/* Cabeçalho */
.act-article-head{
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(15,15,18,.10);
  text-align: center;
}

.act-article-title{
  margin: 0 0 .65rem;
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 1.04;
  font-size: clamp(2.05rem, 3.1vw, 3.15rem);
  color: rgba(15,15,18,.94);
  text-align: center;
}

.act-article-lead{
  margin: 0 auto;
  max-width: 72ch;
  color: rgba(15,15,18,.70);
  line-height: 1.75;
  font-size: 1.02rem;
}

/* Corpo */
.act-article-body{
  width: 100%;
  max-width: none;
  color: rgba(15,15,18,.78);
  line-height: 1.90;
  font-size: 1.03rem;
}

/* IMPORTANTÍSSIMO:
   remove a limitação de 70ch do .lux-panel p dentro do artigo */
.act-article-body p{
  margin: 0 0 14px;
  max-width: none;               /* <— aqui resolve o “disforme” */
  color: rgba(15,15,18,.68);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Subtítulos */
.act-article-body h3{
  margin-top: 26px;
  margin-bottom: 10px;
  font-size: 1.10rem;
  font-weight: 950;
  letter-spacing: -0.01em;
  color: rgba(15,15,18,.92);
  text-align: left;
}

/* Lista simples como informativo */
.act-bullets{
  margin-top: 10px;
  padding-left: 1.15rem;

  list-style: disc;
  display: block;                /* tira o grid */
}

/* volta o <li> para o padrão (nada de flex/ícone) */
.act-bullets li{
  display: list-item;            /* sobrescreve .lux-panel li */
  margin: 6px 0;
  padding: 0;
  color: rgba(15,15,18,.86);
}

/* caso existam ícones dentro dos itens */
.act-bullets i{
  display: none;
}

/* Nota final — central e com mais destaque */

.act-note{
  max-width: 72ch;
  margin: 20px auto 0;
  text-align: center;

  border-left: none;
  border: 1px solid rgba(15,15,18,.12);
  background: rgba(255,255,255,.16);
  border-radius: 18px;
  padding: 14px 16px;
}

/* “Footer” do panel: divisor + logo (sem autor) */
.act-article-foot{
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(15,15,18,.10);
  display: flex;
  justify-content: center;
  align-items: center;
}

.act-article-logo{
  height: 42px;
  width: auto;
  opacity: .92;
}

/* Mobile: evita justify “feio” em telas pequenas */
@media (max-width: 575.98px){
  .act-article{
    padding-inline: 16px;
  }

  .act-article-title{
    font-size: clamp(1.9rem, 7vw, 2.35rem);
    line-height: 1.02;
  }

  .act-article-lead{
    font-size: 1rem;
    line-height: 1.7;
  }

  .act-article-body p{
    text-align: left;
    hyphens: none;
  }

  .act-note{
    border-radius: 16px;
    padding: 13px 14px;
  }
}

/* =========================
   responsivo / acessibilidade (o que você já tinha)
   ========================= */


/* acessibilidade */
@media (prefers-reduced-motion: reduce){
  .lux-ink,
  .lux-tab,
  .lux-panel,
  .lux-panels{
    transition: none !important;
  }
}

/* =========================
   MOBILE — pills horizontais
   ========================= */
@media (max-width: 991.98px){
  .lux-tabs{
    max-width: 100%;
  }

  .lux-bar.lux-bar--7{
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;

    padding: 12px;
    border-radius: 26px;

    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .lux-bar.lux-bar--7::-webkit-scrollbar{
    display: none;
  }

  .lux-ink{
    display: none !important;
  }

  .lux-tab{
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    padding: .8rem 1rem;
    border-radius: 999px;

    white-space: nowrap;
    text-align: center;
    scroll-snap-align: start;

    background: rgba(255,255,255,.46);
    border: 1px solid rgba(15,15,18,.08);
    color: rgba(15,15,18,.82);

    box-shadow: 0 8px 20px rgba(0,0,0,.05);
    transition:
      background .22s ease,
      color .22s ease,
      border-color .22s ease,
      box-shadow .22s ease,
      transform .18s ease;
  }

  .lux-tab:hover{
    background: rgba(255,255,255,.62);
    color: rgba(15,15,18,.94);
  }

  .lux-tab:active{
    transform: scale(.98);
  }

  #lux1:checked  ~ .lux-bar label[for="lux1"],
  #lux2:checked  ~ .lux-bar label[for="lux2"],
  #lux3:checked  ~ .lux-bar label[for="lux3"],
  #lux4:checked  ~ .lux-bar label[for="lux4"],
  #lux5:checked  ~ .lux-bar label[for="lux5"],
  #lux6:checked  ~ .lux-bar label[for="lux6"],
  #lux7:checked  ~ .lux-bar label[for="lux7"]{
    background: var(--fade-brown);
    color: #000000;
    box-shadow:  
      inset 3px 0 0 0 rgba(58,43,34,.55),
      inset -3px 0 0 0 rgba(58,43,34,.55),
      0 10px 22px rgba(0,0,0,.08);
  }

  .lux-panels{
    margin-top: 16px;
    border-radius: 26px;
  }

  .lux-panel{
    padding: 24px 16px 22px;
  }
}