

/*__TESTEMUNHOS_3_IMAGENS_OVERRIDES_START__*/
/* Mantém layout; só força imagem diferente por card */
#relatos .ich-testimonials__grid > *:nth-child(1) img,
#relatos .ich-testimonials__grid > *:nth-child(1) .ich-testimonial__image,
#relatos .ich-testimonials__grid > *:nth-child(1) .testimonial-image {
  content: url("assets/testimonials/testemunho-01.jpg");
}
#relatos .ich-testimonials__grid > *:nth-child(2) img,
#relatos .ich-testimonials__grid > *:nth-child(2) .ich-testimonial__image,
#relatos .ich-testimonials__grid > *:nth-child(2) .testimonial-image {
  content: url("assets/testimonials/testemunho-02.jpg");
}
#relatos .ich-testimonials__grid > *:nth-child(3) img,
#relatos .ich-testimonials__grid > *:nth-child(3) .ich-testimonial__image,
#relatos .ich-testimonials__grid > *:nth-child(3) .testimonial-image {
  content: url("assets/testimonials/testemunho-03.jpg");
}
/* Se a imagem for background-image (div), força via background */
#relatos .ich-testimonials__grid > *:nth-child(1) [style*="background"],
#relatos .ich-testimonials__grid > *:nth-child(1) .ich-testimonial__media,
#relatos .ich-testimonials__grid > *:nth-child(1) .testimonial-media {
  background-image: url("assets/testimonials/testemunho-01.jpg") !important;
}
#relatos .ich-testimonials__grid > *:nth-child(2) [style*="background"],
#relatos .ich-testimonials__grid > *:nth-child(2) .ich-testimonial__media,
#relatos .ich-testimonials__grid > *:nth-child(2) .testimonial-media {
  background-image: url("assets/testimonials/testemunho-02.jpg") !important;
}
#relatos .ich-testimonials__grid > *:nth-child(3) [style*="background"],
#relatos .ich-testimonials__grid > *:nth-child(3) .ich-testimonial__media,
#relatos .ich-testimonials__grid > *:nth-child(3) .testimonial-media {
  background-image: url("assets/testimonials/testemunho-03.jpg") !important;
}
/*__TESTEMUNHOS_3_IMAGENS_OVERRIDES_END__*/

body{
  user-select:none;
  -webkit-user-select:none;
  -moz-user-select:none;
}

img{
  pointer-events:none;
}

/* =========================
   PADRÃO INSTITUCIONAL
   TOPO + RODAPÉ
========================= */

.brand-fixed{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  min-width:0;
}

.brand-fixed img{
  object-fit:contain;
  display:block;
}

.brand-text{
  display:flex;
  flex-direction:column;
  justify-content:center;
  line-height:1;
  min-width:0;
}

.brand-title{
  margin:0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight:700;
  letter-spacing:.2px;
  color:#d4af37;
}

.brand-subtitle{
  margin-top:-1px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight:400;
  color:#d8d0c6;
}

/* TOPO REAL DESTE SITE = .nav */
.nav .brand-fixed .brand-title{
  font-size:13px;
}

.nav .brand-fixed .brand-subtitle{
  font-size:12px;
}

.nav .brand-fixed img{
  width:42px;
  height:42px;
  flex:0 0 42px;
}

/* RODAPÉ */
footer .brand-fixed .brand-title{
  font-size:16px;
}

footer .brand-fixed .brand-subtitle{
  font-size:12px;
}

footer .brand-fixed img{
  width:38px;
  height:38px;
  flex:0 0 38px;
}

@media (max-width: 720px){

  /* linha dos botões legais do rodapé */
  .footer .container > div > div:nth-child(2){
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 18px 0 14px 0 !important;
    padding: 0 14px !important;
  }

  .footer .container > div > div:nth-child(2) .btn.btn-ghost{
    width: auto !important;
    max-width: 100% !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    text-align: center !important;
  }

  /* texto final de direitos autorais */
  .footer .container > div > div:nth-child(3){
    width: 100% !important;
    display: block !important;
    margin-top: 16px !important;
    padding: 0 14px !important;
    text-align: initial !important;
    white-space: normal !important;
    min-width: 0 !important;
  }

  .footer .container > div > div:nth-child(3) small{
    display: block !important;
    white-space: normal !important;
    text-align: justify !important;
    text-align-last: left !important;
    text-justify: inter-word !important;
    line-height: 1.55 !important;
    font-size: 12px !important;
  }
}

@media (max-width: 720px){
  .nav-inner > a.btn.btn-primary{
    display: none !important;
  }
}

@media (max-width: 720px){

  /* linha de botões do rodapé */
  .footer-links{
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding: 0 14px !important;
    margin-top: 18px !important;
    white-space: normal !important;
    justify-content: stretch !important;
    align-items: stretch !important;
  }

  .footer-links .btn.btn-ghost{
    width: 100% !important;
    min-width: 0 !important;
    padding: 10px 8px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    border-radius: 12px !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  /* texto final */
  footer > div:last-child{
    width: 100% !important;
    display: block !important;
    margin-top: 18px !important;
    padding: 0 14px !important;
    text-align: initial !important;
    white-space: normal !important;
    min-width: 0 !important;
  }

  footer > div:last-child small{
    display: block !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    text-align: justify !important;
    text-align-last: left !important;
    text-justify: inter-word !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

.nav .brand-fixed .brand-title{
  font-size: 14px !important;
  line-height: 1.05 !important;
}

.nav .brand-fixed .brand-subtitle{
  font-size: 11px !important;
  line-height: 1.05 !important;
}

}

body::after{
  content: "ICH • USO RESTRITO";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: max-content;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1;
  color: rgba(212,175,55,0.18);
  text-shadow: 0 0 2px rgba(0,0,0,0.25);
  white-space: nowrap;
  pointer-events: none;
  z-index: 2147483647;
}

html, body {
  margin: 0;
  padding: 0;
  background: #12030a !important; /* use o tom mais escuro real do site */
  min-height: 100%;
}

body {
  overflow-x: hidden;
}

#app, main, .site-wrap, .page, .page-wrap {
  background: transparent;
}

html {
  overscroll-behavior-y: none;
  overscroll-behavior-x: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, #1a060c 0%, #12030a 100%);
  z-index: -1;
  pointer-events: none;
}

/* ===============================
   BLOCO LIVROS DA FORMAÇÃO — PASSO 1
   =============================== */

.p6-booksWrap{
  padding: 34px 0 56px;
}

.p6-booksCard{
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px 26px;
  border-radius: 26px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(235,184,100,0.30);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.30) inset,
    0 18px 55px rgba(0,0,0,0.40);
}

.p6-booksHead{
  max-width: 980px;
  margin: 0 auto 24px;
}

.p6-booksKicker{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.35);
  background: rgba(0,0,0,0.16);
  color: #d6b96a;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0 auto 14px;
}

.p6-booksHead .h2{
  max-width: 980px;
  margin: 0 auto 12px !important;
  font-size: clamp(24px, 2.4vw, 40px) !important;
  line-height: 1.16 !important;
  text-align: justify !important;
  text-justify: inter-word !important;
}

.p6-booksLead{
  max-width: 980px;
  margin: 0 auto;
  color: rgba(243,239,232,0.84);
  font-size: 15px;
  line-height: 1.62;
  text-align: justify !important;
  text-justify: inter-word !important;
  font-weight: 400 !important;
}

.p6-booksLead strong,
.p6-booksLead b{
  font-weight: 600 !important;
}

.p6-booksGrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 22px;
}

.p6-book{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding: 22px 18px 20px;
  border-radius: 22px;
  background: rgba(0,0,0,0.14);
  border: 1px solid rgba(235,184,100,0.22);
  box-shadow: 0 10px 30px rgba(0,0,0,0.26);
}

.p6-bookBody{
  order: 1;
}

.p6-bookTitle{
  margin: 0 0 10px 0 !important;
  font-size: clamp(18px, 1.4vw, 24px) !important;
  line-height: 1.18 !important;
  color: #f3d27a !important;
  text-align: left !important;
  text-justify: auto !important;
  font-weight: 700 !important;
}

.p6-bookText{
  margin: 0 0 12px 0;
  color: rgba(243,239,232,0.84) !important;
  font-size: 15px;
  line-height: 1.62;
  text-align: justify !important;
  text-justify: inter-word !important;
  font-weight: 400 !important;
}

.p6-bookList{
  margin: 0;
  padding-left: 18px;
}

.p6-bookList li{
  margin: 8px 0;
  color: rgba(243,239,232,0.84) !important;
  font-size: 15px;
  line-height: 1.62;
  text-align: justify !important;
  text-justify: inter-word !important;
  font-weight: 400 !important;
}

.p6-bookMedia{
  order: 2;
  display: block;
  width: 100%;
  margin: 16px 0 14px;
  text-decoration: none;
}

.p6-bookMedia img{
  display: block;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(235,184,100,0.28);
  background: rgba(0,0,0,0.20);
  box-shadow: 0 18px 40px rgba(0,0,0,0.34);
}

.p6-bookActions{
  order: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.p6-bookActions .btn{
  width: auto;
  min-width: 210px;
  text-align: center !important;
}

.p6-bookActions .btn:not(.btn-primary){
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: rgba(243,239,232,0.86) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: auto !important;
}

.p6-booksNote{
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(0,0,0,0.16);
  border: 1px solid rgba(235,184,100,0.18);
  color: rgba(243,239,232,0.84);
  font-size: 15px;
  line-height: 1.62;
  text-align: justify !important;
  text-justify: inter-word !important;
  font-weight: 400 !important;
}

.p6-booksNote strong,
.p6-booksNote b{
  font-weight: 600 !important;
}

.p6-booksMini{
  margin: 14px 0 0;
  color: rgba(243,239,232,0.72);
  font-size: 13px;
  line-height: 1.55;
  text-align: justify !important;
  text-justify: inter-word !important;
  font-weight: 400 !important;
}

@media (max-width: 980px){
  .p6-booksGrid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px){
  .p6-booksWrap{
    padding: 28px 0 42px;
  }

  .p6-booksCard{
    padding: 22px 16px 20px;
    border-radius: 22px;
  }

  .p6-booksKicker{
    font-size: 9px;
    letter-spacing: .14em;
    padding: 8px 12px;
    margin-bottom: 12px;
  }

  .p6-booksHead .h2{
    font-size: 18px !important;
    line-height: 1.26 !important;
  }

  .p6-booksLead,
  .p6-bookText,
  .p6-bookList li,
  .p6-booksNote{
    font-size: 14px !important;
    line-height: 1.56 !important;
  }

  .p6-bookTitle{
    font-size: 16px !important;
    line-height: 1.24 !important;
  }

  .p6-book{
    padding: 18px 14px 18px;
  }

  .p6-bookMedia img{
    max-width: 100%;
  }

  .p6-bookActions .btn{
    width: 100%;
    min-width: 0;
  }
}

/* FIX LOCAL — clarear SOMENTE os textos do bloco da livraria */
#livros-da-formacao .p6-booksCard{
  color: #efe6d6 !important;
}

#livros-da-formacao .p6-booksHead .h2,
#livros-da-formacao .p6-booksLead,
#livros-da-formacao .p6-bookTitle,
#livros-da-formacao .p6-bookText,
#livros-da-formacao .p6-bookList li,
#livros-da-formacao .p6-booksNote,
#livros-da-formacao .p6-booksMini{
  color: #efe6d6 !important;
}

#livros-da-formacao .p6-booksKicker{
  color: #d6b96a !important;
}

#livros-da-formacao .p6-booksLead strong,
#livros-da-formacao .p6-booksNote strong,
#livros-da-formacao .p6-booksNote b{
  color: #f3eadb !important;
}

#livros-da-formacao .p6-bookActions .btn:not(.btn-primary){
  color: #efe6d6 !important;
}