/* NÓGUE ART — galeria de fotografias empilhadas em Cursos e palestras */
body.nogue-site-navigation .about-page .about-learning-visual.about-photo-gallery {
  width:100%;
  max-width:620px;
  min-width:0;
  margin:0;
}
body.nogue-site-navigation .about-page .about-photo-stack {
  position:relative;
  isolation:isolate;
  width:100%;
  aspect-ratio:1.18 / 1;
  max-width:600px;
  --stack-time:500ms;
  --stack-ease:cubic-bezier(.2,.8,.2,1);
}
body.nogue-site-navigation .about-page .about-photo-card {
  position:absolute;
  top:6%;
  left:3%;
  display:block;
  width:87%;
  height:80%;
  padding:0;
  border:0;
  background:none;
  text-align:left;
  cursor:pointer;
  transform-origin:center center;
  transform:translate3d(var(--photo-x),var(--photo-y),0) rotate(var(--photo-r));
  transition:transform var(--stack-time) var(--stack-ease),filter var(--stack-time) var(--stack-ease);
  z-index:var(--photo-base);
  filter:drop-shadow(0 9px 7px rgba(20,16,14,.12));
  -webkit-tap-highlight-color:transparent;
}
body.nogue-site-navigation .about-page .about-photo-card:nth-child(1) {
  --photo-x:0%;--photo-y:4%;--photo-r:-4deg;--photo-base:4;
}
body.nogue-site-navigation .about-page .about-photo-card:nth-child(2) {
  --photo-x:7%;--photo-y:-2%;--photo-r:5deg;--photo-base:3;
}
body.nogue-site-navigation .about-page .about-photo-card:nth-child(3) {
  --photo-x:10%;--photo-y:10%;--photo-r:-1deg;--photo-base:2;
}
body.nogue-site-navigation .about-page .about-photo-card:nth-child(4) {
  --photo-x:3%;--photo-y:13%;--photo-r:7deg;--photo-base:1;
}
body.nogue-site-navigation .about-page .about-photo-card > img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  background:transparent;
  clip-path:none!important;
  box-shadow:none!important;
}
body.nogue-site-navigation .about-page .about-photo-card--pending {
  background:#E5D8C7;
  clip-path:polygon(2% 4%,15% 2%,40% 5%,65% 1%,95% 3%,99% 18%,97% 78%,99% 95%,76% 98%,47% 95%,22% 99%,2% 93%,1% 70%,3% 37%);
  border:1px solid rgba(65,48,39,.12);
}
body.nogue-site-navigation .about-page .about-photo-card--pending:nth-child(3){background:#D8C8B4}
body.nogue-site-navigation .about-page .about-photo-card--pending:nth-child(4){background:#F0E5D7}
body.nogue-site-navigation .about-page .about-photo-card--pending .about-photo-placeholder {
  width:100%;height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;justify-content:center;
  gap:13px;
  color:#54463D;
  font:700 clamp(10px,1.1vw,13px)/1.4 Arial,Helvetica,sans-serif;
  letter-spacing:.11em;
  text-transform:uppercase;
}
body.nogue-site-navigation .about-page .about-photo-card--pending .about-photo-placeholder::before {
  content:"+";
  display:block;
  font:normal 38px/1 Georgia,serif;
  opacity:.52;
}
body.nogue-site-navigation .about-page .about-photo-card:is(:hover,:focus-visible,.is-front) {
  z-index:10;
  transform:translate3d(3%,0,0) rotate(0deg) scale(1.045);
  filter:drop-shadow(0 16px 10px rgba(20,16,14,.19));
}
body.nogue-site-navigation .about-page .about-photo-card:focus-visible {
  outline:2px solid #B50000;
  outline-offset:6px;
}
body.nogue-site-navigation .about-page .about-photo-card.is-back {
  filter:drop-shadow(0 4px 5px rgba(20,16,14,.09));
}
body.nogue-site-navigation .about-page .about-photo-caption {
  min-height:3.2em;
  margin-top:8px;
  max-width:58ch;
  font:500 12px/1.65 Arial,Helvetica,sans-serif;
  color:#71665c;
}
@media(max-width:760px) {
  body.nogue-site-navigation .about-page .about-photo-stack{--stack-time:250ms}
  body.nogue-site-navigation .about-page .about-photo-card--pending .about-photo-placeholder{font-size:10px}
}
@media(prefers-reduced-motion:reduce) {
  body.nogue-site-navigation .about-page .about-photo-card {
    transition:none!important;
  }
}


/* Fotografias mais afastadas e monocromia vermelha na pilha — 2026-11-12 */
body.nogue-site-navigation .about-page .about-photo-stack {
  aspect-ratio:1.1 / 1;
}
body.nogue-site-navigation .about-page .about-photo-card {
  top:4%;
  left:2%;
  width:82%;
  height:76%;
  transition:transform var(--stack-time) var(--stack-ease),filter var(--stack-time) var(--stack-ease);
}
body.nogue-site-navigation .about-page .about-photo-card:nth-child(1){--photo-x:0%;--photo-y:2%;--photo-r:-6deg;}
body.nogue-site-navigation .about-page .about-photo-card:nth-child(2){--photo-x:12%;--photo-y:-4%;--photo-r:6deg;}
body.nogue-site-navigation .about-page .about-photo-card:nth-child(3){--photo-x:18%;--photo-y:12%;--photo-r:-3deg;}
body.nogue-site-navigation .about-page .about-photo-card:nth-child(4){--photo-x:7%;--photo-y:21%;--photo-r:8deg;}
body.nogue-site-navigation .about-page .about-photo-card > img {
  transition:filter var(--stack-time) var(--stack-ease),opacity var(--stack-time) var(--stack-ease);
}
/* Nos cartões de trás, transformar a fotografia em duotone vermelho. */
body.nogue-site-navigation .about-page .about-photo-card:not(.is-front) > img {
  filter:grayscale(1) sepia(1) saturate(4) hue-rotate(315deg) brightness(.81) contrast(1.04);
  opacity:.88;
}
body.nogue-site-navigation .about-page .about-photo-card:is(.is-front,:hover,:focus-visible) {
  z-index:10;
  transform:translate3d(4%,-1%,0) rotate(0deg) scale(1.05);
}
body.nogue-site-navigation .about-page .about-photo-card:is(.is-front,:hover,:focus-visible) > img {
  filter:none;
  opacity:1;
}
body.nogue-site-navigation .about-page .about-photo-card.is-back {
  filter:drop-shadow(0 5px 5px rgba(20,16,14,.12));
}
@media(max-width:760px) {
  body.nogue-site-navigation .about-page .about-photo-stack {--stack-time:250ms;}
  body.nogue-site-navigation .about-page .about-photo-card {width:84%;height:78%;}
}
@media(prefers-reduced-motion:reduce) {
  body.nogue-site-navigation .about-page .about-photo-card > img {transition:none!important;}
}


/* Leque de quatro fotografias — 2026-11-12 */
/* Cartões abertos em arco, com pontos de rotação próximos à base. */
body.nogue-site-navigation .about-page .about-photo-stack {
  aspect-ratio:1.15 / 1;
  overflow:visible;
}
body.nogue-site-navigation .about-page .about-photo-card {
  top:10%;
  left:12%;
  width:71%;
  height:73%;
  transform-origin:50% 92%;
}
/* A primeira foto permanece como seleção inicial central.
   As demais aparecem nas laterais formando um leque assimétrico. */
body.nogue-site-navigation .about-page .about-photo-card:nth-child(1) {
  --photo-x:4%; --photo-y:1%; --photo-r:-2deg;
}
body.nogue-site-navigation .about-page .about-photo-card:nth-child(2) {
  --photo-x:-18%; --photo-y:9%; --photo-r:-14deg;
}
body.nogue-site-navigation .about-page .about-photo-card:nth-child(3) {
  --photo-x:16%; --photo-y:6%; --photo-r:8deg;
}
body.nogue-site-navigation .about-page .about-photo-card:nth-child(4) {
  --photo-x:34%; --photo-y:13%; --photo-r:16deg;
}
/* Cartão selecionado recupera a posição de leitura sem apagar o leque. */
body.nogue-site-navigation .about-page .about-photo-card:is(.is-front,:hover,:focus-visible) {
  transform:translate3d(4%,-4%,0) rotate(0deg) scale(1.055);
}
@media(max-width:760px){
  body.nogue-site-navigation .about-page .about-photo-stack{aspect-ratio:1 / 1;}
  body.nogue-site-navigation .about-page .about-photo-card{top:13%;left:13%;width:71%;height:69%;}
  body.nogue-site-navigation .about-page .about-photo-card:nth-child(2){--photo-x:-13%;--photo-y:8%;--photo-r:-11deg;}
  body.nogue-site-navigation .about-page .about-photo-card:nth-child(3){--photo-x:12%;--photo-y:6%;--photo-r:7deg;}
  body.nogue-site-navigation .about-page .about-photo-card:nth-child(4){--photo-x:25%;--photo-y:10%;--photo-r:13deg;}
}


/* Ajuste do quarto cartão para não invadir a coluna de texto — 2026-11-12 */
body.nogue-site-navigation .about-page .about-photo-stack{max-width:100%;}
body.nogue-site-navigation .about-page .about-photo-card:nth-child(4){
 --photo-x:18%;
 --photo-y:24%;
 --photo-r:12deg;
}
/* A área do leque permanece dentro da coluna visual. */
body.nogue-site-navigation .about-page .about-learning-visual.about-photo-gallery{min-width:0;}
@media(max-width:760px){
 body.nogue-site-navigation .about-page .about-photo-card:nth-child(4){
  --photo-x:13%;
  --photo-y:18%;
  --photo-r:10deg;
 }
}


/* Etiqueta de papel rasgado na legenda do leque — 2026-11 */
/* A legenda segue o cartão selecionado e repousa no canto inferior direito da galeria. */
body.nogue-site-navigation .about-page .about-learning-visual.about-photo-gallery{
 position:relative!important;isolation:isolate;
 padding-bottom:clamp(17px,2.5vw,31px)!important;
}
body.nogue-site-navigation .about-page .about-learning-visual.about-photo-gallery>.about-photo-caption{
 position:absolute!important;
 right:clamp(1px,1.2vw,13px)!important;
 bottom:clamp(0px,.65vw,8px)!important;
 left:auto!important;top:auto!important;
 display:block!important;
 z-index:15!important;
 box-sizing:border-box!important;
 width:max-content!important;
 max-width:min(77%,385px)!important;
 min-height:0!important;
 margin:0!important;
 padding:clamp(14px,1.6vw,20px) clamp(17px,2vw,27px)!important;
 color:#281e1b!important;
 background:#f5f0e6!important;
 font:400 clamp(13px,1.1vw,16px)/1.42 Georgia,"Times New Roman",serif!important;
 letter-spacing:-.012em!important;
 text-align:left!important;
 box-shadow:1px 8px 18px rgba(32,22,17,.13)!important;
 transform:rotate(-2deg);
 transform-origin:65% 45%;
 clip-path:polygon(0% 5%,5% 3%,9% 6%,15% 2%,22% 4%,28% 1%,35% 4%,42% 2%,48% 5%,56% 1%,64% 4%,70% 1%,78% 4%,85% 2%,94% 5%,100% 3%,98% 24%,100% 44%,98% 64%,100% 80%,98% 100%,89% 97%,81% 100%,72% 97%,63% 100%,56% 97%,48% 100%,40% 97%,30% 100%,21% 97%,13% 100%,4% 97%,1% 98%,2% 78%,0% 61%,2% 42%,0% 24%);
 transition:transform .5s cubic-bezier(.2,.8,.2,1)!important;
}
@media(hover:hover) and (pointer:fine){
 body.nogue-site-navigation .about-page .about-learning-visual.about-photo-gallery:hover>.about-photo-caption{transform:rotate(0deg) translateY(-4px)!important}
}
@media(max-width:760px){
 body.nogue-site-navigation .about-page .about-learning-visual.about-photo-gallery{padding-bottom:38px!important}
 body.nogue-site-navigation .about-page .about-learning-visual.about-photo-gallery>.about-photo-caption{
  right:2px!important;bottom:4px!important;max-width:85%!important;
  padding:12px 16px!important;font-size:13px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 body.nogue-site-navigation .about-page .about-learning-visual.about-photo-gallery>.about-photo-caption{transition:none!important}
}
