/* =====================================================================
   JurisTCC — seções da landing page
   ===================================================================== */

/* ------------------------------------------------------------- Hero */
.hero {
  position: relative;
  padding-top: 2.2rem;
  overflow: hidden;
}

.hero__grade { display: grid; gap: 2.2rem; }

.hero__kicker {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.3rem;
}

.hero__titulo {
  margin-bottom: .55em;
  animation: subir .7s cubic-bezier(.2, .8, .3, 1) both;
}

.hero__titulo-cor {
  color: var(--azul);
  position: relative;
  display: inline-block;
}

/* Sublinhado desenhado à mão livre geométrica */
.hero__titulo-cor::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .06em;
  height: .1em;
  background: var(--amarelo);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  animation: risco .6s .55s cubic-bezier(.2, .8, .3, 1) forwards;
}

.hero__sub {
  font-size: 1.14rem;
  line-height: 1.55;
  max-width: 46ch;
  margin-bottom: 1.7rem;
  animation: subir .7s .1s cubic-bezier(.2, .8, .3, 1) both;
}

.hero__acoes {
  display: grid;
  gap: .8rem;
  margin-bottom: 1.8rem;
  animation: subir .7s .2s cubic-bezier(.2, .8, .3, 1) both;
}

.hero__provas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .55rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .92rem;
  line-height: 1.3;
  animation: subir .7s .3s cubic-bezier(.2, .8, .3, 1) both;
}

/* Bloco, não flex: texto com <b> no meio precisa fluir como uma frase só. */
.hero__provas li {
  padding-top: .55rem;
  border-top: 2px solid var(--preto);
}

.hero__provas b { font-family: var(--display); font-size: .95rem; margin-right: .18em; }

/* Mosaico Bauhaus */
.hero__mosaico {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  border: var(--traco) solid var(--preto);
  background: var(--branco);
  box-shadow: var(--sombra-grande);
  animation: subir .8s .15s cubic-bezier(.2, .8, .3, 1) both;
}

.hero__mosaico .m {
  aspect-ratio: 1;
  display: block;
  position: relative;
}

.hero__mosaico .m--preto { background: var(--preto); }
.hero__mosaico .m--azul { background: var(--azul); }
.hero__mosaico .m--amarelo { background: var(--amarelo); }
.hero__mosaico .m--vermelho { background: var(--vermelho); }

.hero__mosaico .q-tl { border-radius: 100% 0 0 0; }
.hero__mosaico .q-tr { border-radius: 0 100% 0 0; }
.hero__mosaico .q-bl { border-radius: 0 0 0 100%; }
.hero__mosaico .q-br { border-radius: 0 0 100% 0; }
.hero__mosaico .disco { border-radius: 50%; }

.hero__mosaico .m--listras {
  background: repeating-linear-gradient(
    to bottom, var(--preto) 0 6px, transparent 6px 12px);
}

/* Fita rolante */
.fita {
  margin-top: 2.6rem;
  border-block: var(--traco) solid var(--preto);
  background: var(--amarelo);
  overflow: hidden;
  padding-block: .6rem;
}

.fita__trilho {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: max-content;
  animation: correr 34s linear infinite;
  font-family: var(--display);
  font-size: .82rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.fita__trilho i {
  width: 9px; height: 9px;
  background: var(--preto);
  border-radius: 50%;
  flex: none;
}

.fita:hover .fita__trilho { animation-play-state: paused; }

@keyframes correr { to { transform: translateX(-50%); } }
@keyframes subir { from { opacity: 0; transform: translateY(26px); } }
@keyframes risco { to { transform: scaleX(1); } }

/* ------------------------------------------------------------- Dores */
.cartoes-dor {
  display: grid;
  gap: 1.1rem;
  margin-top: 2rem;
}

.cartao-dor { padding-top: 1.9rem; }
.cartao-dor h3 { margin-bottom: .4rem; }
.cartao-dor p { margin: 0; font-size: .97rem; color: var(--tinta-suave); }

.cartao-dor__forma {
  position: absolute;
  top: calc(var(--traco) * -1);
  right: calc(var(--traco) * -1);
  width: 42px;
  height: 42px;
  border: var(--traco) solid var(--preto);
}

.para-quem {
  margin-top: 2.2rem;
  border: var(--traco) solid var(--preto);
  background: var(--preto);
  color: var(--papel);
  padding: 1.6rem;
}

.para-quem__titulo {
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amarelo);
  margin-bottom: 1rem;
}

.para-quem__lista {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .7rem;
}

.para-quem__lista li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: 1.02rem;
}

.para-quem__lista li::before {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  margin-top: .42em;
  background: var(--amarelo);
}
.para-quem__lista li:nth-child(2)::before { background: var(--azul); border-radius: 50%; }
.para-quem__lista li:nth-child(3)::before { background: var(--vermelho); border-radius: 100% 0 0 0; }
.para-quem__lista li:nth-child(4)::before { background: var(--verde); }
.para-quem__lista li:nth-child(5)::before { background: var(--branco); border-radius: 50%; }

/* ------------------------------------------------------------- Entregáveis */
.entregaveis {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  border-top: 2px solid #333;
}

.entregavel {
  padding: 1.5rem 0;
  border-bottom: 2px solid #333;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .3rem 1.1rem;
}

.entregavel__num {
  grid-row: span 2;
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--amarelo);
  line-height: 1;
}

.entregavel h3 { margin: 0 0 .35rem; color: var(--branco); }
.entregavel p { margin: 0; color: #b7b2a6; font-size: .97rem; grid-column: 2; }

/* ------------------------------------------------------------- Linha do tempo */
.linha-tempo {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  position: relative;
}

.linha-tempo::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 12px;
  bottom: 40px;
  width: 3px;
  background: var(--preto);
}

.etapa {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 1rem;
  padding-bottom: 1.7rem;
  position: relative;
}

.etapa__marca {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: var(--traco) solid var(--preto);
  background: var(--branco);
  font-family: var(--display);
  font-size: 1.05rem;
  z-index: 1;
}

.etapa:nth-child(even) .etapa__marca { border-radius: 50%; }

.etapa__corpo h3 { margin: .35rem 0 .3rem; }
.etapa__corpo p { margin: 0; color: var(--tinta-suave); font-size: .97rem; }

/* ------------------------------------------------------------- Pesquisa */
.pesquisa__grade { display: grid; gap: 2rem; margin-top: 1.5rem; }

.pesquisa__lista {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 2px solid rgba(255, 255, 255, .35);
}

.pesquisa__lista li {
  padding: 1.05rem 0;
  border-bottom: 2px solid rgba(255, 255, 255, .35);
  font-size: .98rem;
  color: #d9e3f6;
}

.pesquisa__lista b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--amarelo);
  margin-bottom: .18rem;
}

/* ------------------------------------------------------------- Áreas */
.areas {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: .6rem;
}

.area {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .85rem 1rem;
  background: var(--branco);
  border: var(--traco-fino) solid var(--preto);
  font-weight: 500;
  font-size: 1rem;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}

.area:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--sombra-pequena);
  background: var(--amarelo);
}

.area__marca {
  flex: none;
  width: 16px; height: 16px;
  background: var(--azul);
}
.area:nth-child(4n+2) .area__marca { background: var(--vermelho); border-radius: 50%; }
.area:nth-child(4n+3) .area__marca { background: var(--amarelo); border-radius: 100% 0 0 0; }
.area:nth-child(4n+4) .area__marca { background: var(--verde); border-radius: 0 0 100% 0; }

/* ------------------------------------------------------------- Plano */
.plano {
  position: relative;
  margin-top: 2rem;
  background: var(--branco);
  border: var(--traco) solid var(--preto);
  box-shadow: var(--sombra-grande);
  overflow: hidden;
}

.plano__cabeca {
  padding: 1.8rem 1.4rem 1.5rem;
  background: var(--preto);
  color: var(--papel);
  position: relative;
  z-index: 1;
}

.plano__nome {
  font-size: clamp(1.5rem, 6vw, 2rem);
  color: var(--branco);
  margin: .7rem 0 .5rem;
}

.plano__valor {
  display: flex;
  align-items: flex-start;
  gap: .35rem;
  color: var(--amarelo);
  line-height: .9;
}

.plano__moeda {
  font-family: var(--display);
  font-size: 1.35rem;
  padding-top: .45rem;
}

.plano__numero {
  font-family: var(--display);
  font-size: clamp(3.2rem, 16vw, 5.2rem);
  letter-spacing: -0.04em;
}

.plano__nota { margin: .7rem 0 0; font-size: .93rem; color: #b7b2a6; }

.plano__itens {
  list-style: none;
  padding: 1.4rem;
  margin: 0;
  display: grid;
  gap: .68rem;
  position: relative;
  z-index: 1;
}

/* Marcador posicionado, não flex: o item contém <i> e precisa fluir como texto. */
.plano__itens li {
  position: relative;
  padding-left: 1.85rem;
  font-size: 1rem;
  line-height: 1.4;
}

.plano__itens li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .16em;
  width: 20px; height: 20px;
  background: var(--verde);
  clip-path: polygon(14% 46%, 0 62%, 38% 96%, 100% 22%, 84% 8%, 36% 66%);
}

.plano__acao {
  padding: 0 1.4rem 1.6rem;
  position: relative;
  z-index: 1;
}
.plano__acao .btn { width: 100%; }

.plano__seguranca {
  margin: .9rem 0 0;
  font-size: .8rem;
  text-align: center;
  color: var(--tinta-suave);
  letter-spacing: .02em;
}

.plano__forma {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: .1;
}
.plano__forma--1 {
  width: 180px; height: 180px;
  background: var(--azul);
  border-radius: 0 0 0 100%;
  top: 40%; right: -50px;
}
.plano__forma--2 {
  width: 120px; height: 120px;
  background: var(--vermelho);
  border-radius: 50%;
  bottom: -40px; left: -30px;
}

/* ------------------------------------------------------------- Garantias */
.garantias { display: grid; gap: 1rem; margin-top: 2rem; }

.garantia { background: var(--branco); }
.garantia h3 {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: 1.12rem;
  margin-bottom: .45rem;
}
.garantia__selo {
  flex: none;
  width: 22px; height: 22px;
  border: var(--traco-fino) solid var(--preto);
  border-radius: 50%;
}
.garantia p { margin: 0; font-size: .96rem; color: var(--tinta-suave); }

/* ------------------------------------------------------------- Depoimentos */
.nota-sigilo {
  margin: 1.5rem 0 2rem;
  font-size: .97rem;
  line-height: 1.55;
}
.nota-sigilo strong { display: block; font-family: var(--display); margin-bottom: .3rem; }

.depoimentos { display: grid; gap: 1.1rem; }

.depoimento {
  margin: 0;
  padding-top: 2.4rem;
  background: var(--branco);
}

.depoimento__aspas {
  position: absolute;
  top: -.15em;
  left: .55rem;
  font-family: var(--display);
  font-size: 4.2rem;
  line-height: 1;
  color: var(--amarelo);
}

.depoimento blockquote {
  margin: 0 0 1.1rem;
  font-size: 1.02rem;
  line-height: 1.55;
}

.depoimento figcaption {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding-top: .9rem;
  border-top: 2px solid var(--preto);
  font-size: .9rem;
  flex-wrap: wrap;
}

.depoimento figcaption b { font-family: var(--display); font-weight: 400; }
.depoimento figcaption small { color: var(--tinta-suave); width: 100%; margin-left: 3.1rem; margin-top: -.3rem; }

.depoimento__sigla {
  flex: none;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: var(--traco-fino) solid var(--preto);
  color: var(--branco);
  font-family: var(--display);
  font-size: .82rem;
  letter-spacing: .02em;
}

/* ------------------------------------------------------------- FAQ */
.faq { margin-top: 2rem; border-top: var(--traco) solid var(--preto); }

.faq__item { border-bottom: var(--traco) solid var(--preto); background: transparent; }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem .2rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: 1.02rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  transition: color .15s ease;
}

.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--azul); }

.faq__item summary i {
  flex: none;
  position: relative;
  width: 30px; height: 30px;
  border: var(--traco-fino) solid var(--preto);
  background: var(--branco);
  transition: background .2s ease, transform .25s ease;
}
.faq__item summary i::before,
.faq__item summary i::after {
  content: "";
  position: absolute;
  inset: 50% 6px auto 6px;
  height: 3px;
  background: var(--preto);
  transform: translateY(-50%);
}
.faq__item summary i::after { transform: translateY(-50%) rotate(90deg); transition: transform .25s ease; }

.faq__item[open] summary i { background: var(--amarelo); }
.faq__item[open] summary i::after { transform: translateY(-50%) rotate(0deg); }

.faq__resposta {
  padding: 0 .2rem 1.3rem;
  animation: abrir .3s ease both;
}
.faq__resposta p { margin: 0; color: var(--tinta-suave); font-size: 1rem; max-width: 68ch; }

@keyframes abrir { from { opacity: 0; transform: translateY(-6px); } }

/* ------------------------------------------------------------- CTA final */
.cta-final {
  position: relative;
  background: var(--preto);
  color: var(--papel);
  overflow: hidden;
  text-align: center;
}

.cta-final__interno { position: relative; z-index: 1; }

.cta-final__titulo {
  color: var(--branco);
  margin: 1rem 0 .6rem;
  font-size: clamp(2.1rem, 9vw, 4rem);
}

.cta-final__sub {
  color: #b7b2a6;
  font-size: 1.08rem;
  max-width: 40ch;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.cta-final__acao { display: grid; gap: .9rem; justify-items: center; }
.cta-final__acao .btn { width: 100%; }

.cta-final__preco { font-size: .95rem; color: #b7b2a6; }
.cta-final__preco b { color: var(--amarelo); font-family: var(--display); font-weight: 400; }

.cta-final__nota { margin-top: 2rem; font-size: .92rem; color: #8d887d; }

.cta-final__forma { position: absolute; opacity: .9; }
.cta-final__forma--1 {
  width: 170px; height: 170px;
  background: var(--azul);
  border-radius: 0 0 100% 0;
  top: -20px; left: -60px;
}
.cta-final__forma--2 {
  width: 130px; height: 130px;
  background: var(--vermelho);
  border-radius: 50%;
  bottom: -50px; right: -40px;
}
.cta-final__forma--3 {
  width: 110px; height: 55px;
  background: var(--amarelo);
  border-radius: 999px 999px 0 0;
  top: 28%; right: -30px;
  transform: rotate(180deg);
}

/* =====================================================================
   Tablet
   ===================================================================== */
@media (min-width: 700px) {
  .cartoes-dor { grid-template-columns: repeat(2, 1fr); }
  .garantias { grid-template-columns: repeat(2, 1fr); }
  .depoimentos { grid-template-columns: repeat(2, 1fr); }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .hero__acoes {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    justify-content: start;
  }
  .hero__provas { grid-template-columns: repeat(4, 1fr); }
  .entregaveis { grid-template-columns: repeat(2, 1fr); column-gap: 2.4rem; }
  .plano__cabeca, .plano__itens, .plano__acao { padding-inline: 2.2rem; }
  .plano__itens { grid-template-columns: repeat(2, 1fr); column-gap: 1.6rem; }
  .cta-final__acao { grid-auto-flow: column; align-items: center; }
  .cta-final__acao .btn { width: auto; }
}

/* =====================================================================
   Desktop
   ===================================================================== */
@media (min-width: 1000px) {
  .hero { padding-top: 3.5rem; }
  .hero__grade {
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 3.5rem;
  }
  .hero__titulo { font-size: clamp(3rem, 4.5vw, 4.35rem); }
  .hero__sub { font-size: 1.22rem; }

  .cartoes-dor { grid-template-columns: repeat(3, 1fr); }
  .garantias { grid-template-columns: repeat(3, 1fr); }
  .depoimentos { grid-template-columns: repeat(3, 1fr); }
  .areas { grid-template-columns: repeat(3, 1fr); }
  .entregaveis { grid-template-columns: repeat(3, 1fr); }

  .pesquisa__grade { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

  .linha-tempo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 3rem;
  }
  .linha-tempo::before { left: 21px; right: auto; }

  .plano { max-width: 940px; margin-inline: auto; }
  .plano__acao .btn { width: auto; min-width: 340px; display: flex; margin-inline: auto; }

  .faq { max-width: 900px; }
  .faq__item summary { font-size: 1.15rem; padding-block: 1.35rem; }
}
