/* CIA. AMORAS — sete frentes de atuação
   Fotografias autorais selecionadas de pastas do acervo não usadas no site antes
   desta versão. Fotos em plano de fundo; texto acima de véu de legibilidade.
   Abertura em movimento lateral e interação discreta em profundidade. */
.ih-services.ih-services-showcase{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:17px;
  padding:12px 11px 22px;
  margin:-12px -11px -22px;
  overflow:clip;
  perspective:1100px;
}
.ih-services-showcase .ih-service-story{
  --entry-x:55px;
  position:relative;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-width:0;
  min-height:355px;
  padding:23px 26px 22px;
  border-radius:21px;
  border:1px solid #dcc4af;
  overflow:hidden;
  background:#f6ede1;
  box-shadow:0 12px 30px rgba(61,33,26,.075),inset 0 1px rgba(255,255,255,.9);
  transform:translate3d(0,0,0);
  transform-style:preserve-3d;
  transition:transform .7s cubic-bezier(.17,.8,.2,1),
    opacity .7s ease,box-shadow .4s ease,border-color .4s ease;
  transition-delay:var(--service-delay,0ms);
  contain:paint;
}
.ih-services-showcase .ih-service-story:nth-child(odd){--entry-x:-55px}
.ih-services-showcase .ih-service-photo{
  display:block;position:absolute;inset:0;
  z-index:0;width:100%;height:100%;object-fit:cover;
  object-position:center 44%;filter:saturate(.88) contrast(.96);
  transition:transform .7s cubic-bezier(.18,.76,.22,1),filter .45s ease;
  user-select:none;pointer-events:none;
}
.ih-services-showcase .ih-service-story:nth-child(1) .ih-service-photo{object-position:center 62%}
.ih-services-showcase .ih-service-story:nth-child(2) .ih-service-photo{object-position:center 44%}
.ih-services-showcase .ih-service-story:nth-child(3) .ih-service-photo{object-position:center 40%}
.ih-services-showcase .ih-service-story:nth-child(4) .ih-service-photo{object-position:center 40%}
.ih-services-showcase .ih-service-story:nth-child(5) .ih-service-photo{object-position:center 55%}
.ih-services-showcase .ih-service-story:nth-child(6) .ih-service-photo{object-position:center 50%}
.ih-services-showcase .ih-service-story:nth-child(7) .ih-service-photo{object-position:center 38%}
.ih-services-showcase .ih-service-story::before{
  content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(180deg,
    rgba(255,250,242,.55) 0%,
    rgba(255,250,242,.82) 29%,
    rgba(255,249,241,.96) 62%,
    rgba(255,249,241,.985) 100%);
  transition:background .4s ease,opacity .4s ease;
  pointer-events:none;
}
.ih-services-showcase .ih-service-story::after{
  content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(140deg,rgba(60,36,31,.97),rgba(84,43,39,.87) 66%,rgba(78,40,36,.62));
  opacity:0;transition:opacity .4s ease;pointer-events:none;
}
.ih-services-showcase .ih-service-top,
.ih-services-showcase .ih-service-copy{position:relative;z-index:2}
.ih-services-showcase .ih-service-top{
  display:flex;align-items:center;gap:14px;
  min-height:44px;padding:0;
}
.ih-services-showcase .ih-service-number{
  flex:none;color:#ae6837;
  font:italic 28px/1.1 Georgia,serif;letter-spacing:-.02em;
}
.ih-services-showcase .ih-service-kind{
  align-self:center;display:block;min-width:0;
  color:#8a5746;font:700 9px/1.4 "Poppins Amoras",sans-serif;
  text-transform:uppercase;letter-spacing:.125em;
}
.ih-services-showcase .ih-service-symbol{
  margin-left:auto;display:block;flex:none;width:27px;height:27px;
  background:#9b654b;opacity:.8;
  -webkit-mask:var(--service-mark) center/contain no-repeat;
  mask:var(--service-mark) center/contain no-repeat;
  transition:background-color .35s ease,transform .42s ease,opacity .35s ease;
}
.ih-services-showcase .ih-service-copy{
  padding-top:57px;display:flex;flex-direction:column;
  align-items:flex-start;min-width:0;
}
.ih-services-showcase .ih-service-copy h3{
  margin:0 0 10px;max-width:100%;
  color:#482c2b;
  font:600 clamp(21px,2vw,27px)/1.2 "Poppins Amoras",sans-serif;
  letter-spacing:-.038em;
  text-wrap:balance;
  transition:color .35s ease;
}
.ih-services-showcase .ih-service-copy p{
  margin:0;max-width:61ch;
  font:400 12.5px/1.72 "Poppins Amoras",sans-serif;
  color:#685448;
  transition:color .35s ease;
}
.ih-services-showcase .ih-service-link{
  display:inline-flex;align-items:center;justify-content:space-between;
  align-self:flex-start;gap:14px;
  margin-top:17px;padding:9px 0 0;
  min-height:39px;max-width:100%;
  border:0;border-top:1px solid rgba(137,91,67,.26);
  font:600 11px/1.45 "Poppins Amoras",sans-serif;
  color:#6d243c;text-decoration:none;
  transition:color .35s ease,border-color .35s ease;
}
.ih-services-showcase .ih-service-link span:first-child{
  max-width:100%;text-wrap:balance;
}
.ih-services-showcase .ih-service-link-icon{
  display:grid;place-items:center;flex:none;
  width:28px;height:28px;border-radius:50%;
  border:1px solid #cfae94;background:#f8eadc;
  font-size:16px;line-height:1;color:#6d243c;
  transition:background-color .3s,color .3s,transform .3s;
}
.ih-services-showcase .ih-service-link:focus-visible{
  outline:3px solid #ad6434;outline-offset:4px;border-radius:5px;
}
.ih-services-showcase .ih-service-story:last-child{
  grid-column:span 2;min-height:265px;
}
.ih-services-showcase .ih-service-story:last-child::before{
  background:linear-gradient(90deg,
    rgba(255,250,242,.985) 0%,
    rgba(255,250,242,.96) 48%,
    rgba(255,250,242,.64) 73%,
    rgba(255,250,242,.3) 100%);
}
.ih-services-showcase .ih-service-story:last-child .ih-service-copy{
  max-width:62%;padding-top:28px;
}
.ih-services-showcase .ih-service-story:last-child .ih-service-photo{
  object-position:center 35%;
}
/* Entrada pela esquerda e pela direita, com intervalo curto entre os cards.
   Só ativada após JavaScript iniciar, evitando conteúdo invisível sem JS. */
@media(prefers-reduced-motion:no-preference){
  .ih-services-showcase.services-reveal-on .ih-service-story:not(.is-inview){
    opacity:0;transform:translate3d(var(--entry-x),12px,0);
  }
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .ih-services-showcase .ih-service-story.is-inview:hover{
    transform:perspective(1100px) translate3d(0,-7px,0) rotateX(var(--service-pitch,1.8deg)) rotateY(var(--service-tilt,-1.2deg));
    border-color:#a97a5b;box-shadow:0 24px 48px rgba(58,27,24,.24);
    transition-delay:0ms;
  }
  .ih-services-showcase .ih-service-story:hover .ih-service-photo{
    transform:scale(1.055);filter:saturate(1.03) contrast(1.02);
  }
  .ih-services-showcase .ih-service-story:hover::after{opacity:1}
  .ih-services-showcase .ih-service-story:hover .ih-service-number,
  .ih-services-showcase .ih-service-story:hover .ih-service-kind{color:#f2c58f}
  .ih-services-showcase .ih-service-story:hover .ih-service-symbol{
    background:#f6d2a0;opacity:1;transform:rotate(12deg) scale(1.1);
  }
  .ih-services-showcase .ih-service-story:hover h3{color:#fff6e9}
  .ih-services-showcase .ih-service-story:hover p{color:#f2e4d7}
  .ih-services-showcase .ih-service-story:hover .ih-service-link{
    color:#ffe1ae;border-top-color:rgba(255,234,202,.45);
  }
  .ih-services-showcase .ih-service-story:hover .ih-service-link-icon{
    color:#59372f;background:#f7d2a6;border-color:#f7d2a6;
    transform:translate(2px,-2px);
  }
}
/* Responsividade sem recorte do conteúdo. */
@media(max-width:900px){
  .ih-services.ih-services-showcase{gap:13px}
  .ih-services-showcase .ih-service-story{padding:19px 19px 20px;min-height:360px}
  .ih-services-showcase .ih-service-copy{padding-top:48px}
  .ih-services-showcase .ih-service-copy h3{font-size:21px}
  .ih-services-showcase .ih-service-copy p{font-size:12px}
}
@media(max-width:680px){
  .ih-services.ih-services-showcase{
    display:grid;grid-template-columns:minmax(0,1fr);
    gap:14px;margin:-6px -5px -12px;padding:6px 5px 12px;
  }
  .ih-services-showcase .ih-service-story,
  .ih-services-showcase .ih-service-story:last-child{
    grid-column:auto;min-height:305px;
    padding:18px 20px 19px;border-radius:19px;
  }
  .ih-services-showcase .ih-service-photo{
    object-position:center 45%;
  }
  .ih-services-showcase .ih-service-story::before,
  .ih-services-showcase .ih-service-story:last-child::before{
    background:linear-gradient(180deg,
      rgba(255,250,242,.51) 0%,
      rgba(255,250,242,.88) 30%,
      rgba(255,250,242,.965) 58%,
      rgba(255,250,242,.99) 100%);
  }
  .ih-services-showcase .ih-service-story:last-child .ih-service-copy{
    max-width:100%;padding-top:49px;
  }
  .ih-services-showcase .ih-service-top{min-height:39px;gap:11px}
  .ih-services-showcase .ih-service-number{font-size:26px}
  .ih-services-showcase .ih-service-kind{font-size:8.7px}
  .ih-services-showcase .ih-service-symbol{width:24px;height:24px}
  .ih-services-showcase .ih-service-copy{padding-top:50px}
  .ih-services-showcase .ih-service-copy h3{
    font-size:clamp(20px,5.8vw,25px);line-height:1.22;
  }
  .ih-services-showcase .ih-service-copy p{
    font-size:12.4px;line-height:1.69;
  }
  .ih-services-showcase .ih-service-link{font-size:10.8px;margin-top:13px}
  .ih-services-showcase .ih-service-link-icon{width:29px;height:29px}
  .ih-services-showcase .ih-service-story:nth-child(odd){--entry-x:-26px}
  .ih-services-showcase .ih-service-story:nth-child(even){--entry-x:26px}
}
@media(max-width:350px){
  .ih-services-showcase .ih-service-story{padding:17px!important;min-height:330px}
  .ih-services-showcase .ih-service-copy h3{font-size:20px}
  .ih-services-showcase .ih-service-copy p{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
 .ih-services-showcase .ih-service-story,
 .ih-services-showcase .ih-service-photo,
 .ih-services-showcase .ih-service-symbol,
 .ih-services-showcase .ih-service-link{
   animation:none!important;transition:none!important;
   transform:none!important;opacity:1!important;
 }
}
@media print{
 .ih-services-showcase .ih-service-story{break-inside:avoid;box-shadow:none}
 .ih-services-showcase .ih-service-story::after{display:none}
}
/* Refinamento editorial: o sétimo card respira como painel panorâmico,
   com fotografia à direita e informação orientada numa única coluna. */
@media(min-width:901px){
 .ih-services-showcase .ih-service-story:last-child{
   min-height:343px;
   padding:34px 38px 32px;
   justify-content:center;
   background:#f6e6d7;
 }
 .ih-services-showcase .ih-service-story:last-child .ih-service-photo{
   inset:0 0 0 auto;
   width:53%;height:100%;
   object-position:52% 35%;
   border-radius:0 19px 19px 0;
   -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 24%,#000 100%);
   mask-image:linear-gradient(90deg,transparent 0%,#000 24%,#000 100%);
 }
 .ih-services-showcase .ih-service-story:last-child::before{
   background:linear-gradient(90deg,
     #fff8ee 0%,rgba(255,248,238,.97) 47%,
     rgba(255,248,238,.26) 74%,
     rgba(255,248,238,.05) 100%);
 }
 .ih-services-showcase .ih-service-story:last-child .ih-service-top{
   max-width:57%;margin-bottom:16px;
 }
 .ih-services-showcase .ih-service-story:last-child .ih-service-copy{
   max-width:54%;padding-top:0;
 }
 .ih-services-showcase .ih-service-story:last-child .ih-service-copy h3{
   font-size:clamp(25px,2.5vw,33px);
   margin-bottom:14px;
 }
 .ih-services-showcase .ih-service-story:last-child .ih-service-copy p{
   font-size:13.3px;line-height:1.75;
 }
 .ih-services-showcase .ih-service-story:last-child .ih-service-link{
   margin-top:21px;
 }
}
@media(min-width:681px) and (max-width:900px){
 .ih-services-showcase .ih-service-story:last-child{
   min-height:316px;padding:28px 30px;
 }
 .ih-services-showcase .ih-service-story:last-child .ih-service-copy{
   max-width:60%;
 }
 .ih-services-showcase .ih-service-story:last-child .ih-service-photo{
   inset:0 0 0 auto;
   width:55%;
   object-position:50% 35%;
   -webkit-mask-image:linear-gradient(90deg,transparent,#000 28%);
   mask-image:linear-gradient(90deg,transparent,#000 28%);
 }
}
/* Entrada em camadas: primeiro a fotografia, depois a microcategoria,
   letras do título e, por último, texto e convite ao projeto.
   A classe de estado só é ativada quando o observador é montado. */
@media(prefers-reduced-motion:no-preference){
 .ih-services-showcase.services-reveal-on .ih-service-story .ih-service-photo{
   transition:transform 1.1s cubic-bezier(.18,.73,.2,1),
     filter .95s ease;
 }
 .ih-services-showcase.services-reveal-on .ih-service-story:not(.is-inview) .ih-service-photo{
   transform:scale(1.13);
   filter:blur(5px) saturate(.7);
 }
 .ih-services-showcase.services-reveal-on .ih-service-story .ih-service-top{
   transition:opacity .55s ease,transform .7s cubic-bezier(.18,.79,.2,1);
   transition-delay:.17s;
 }
 .ih-services-showcase.services-reveal-on .ih-service-story:not(.is-inview) .ih-service-top{
   opacity:0;transform:translate3d(0,15px,0);
 }
 .ih-services-showcase.services-reveal-on .ih-service-story .ih-service-copy p{
   transition:opacity .65s ease,transform .72s cubic-bezier(.18,.78,.2,1);
   transition-delay:.54s;
 }
 .ih-services-showcase.services-reveal-on .ih-service-story:not(.is-inview) .ih-service-copy p{
   opacity:0;transform:translate3d(0,19px,0);
 }
 .ih-services-showcase.services-reveal-on .ih-service-story .ih-service-link{
   transition:opacity .65s ease,transform .7s cubic-bezier(.18,.78,.2,1),
     border-color .3s ease,color .3s ease;
   transition-delay:.70s;
 }
 .ih-services-showcase.services-reveal-on .ih-service-story:not(.is-inview) .ih-service-link{
   opacity:0;transform:translate3d(0,15px,0);
 }
 .ih-services-showcase .ih-word{
   display:inline-block;white-space:nowrap;overflow:hidden;
   vertical-align:bottom;line-height:1.27;
 }
 .ih-services-showcase .ih-title-letter{
   display:inline-block;
   opacity:1;
   transform:translate3d(0,0,0);
   filter:blur(0);
 }
 .ih-services-showcase.services-reveal-on .ih-service-story:not(.is-inview) .ih-title-letter{
   opacity:0;
   transform:translate3d(0,100%,0);
   filter:blur(3px);
 }
 .ih-services-showcase.services-reveal-on .ih-title-letter{
   transition:
     transform .67s cubic-bezier(.17,.78,.18,1),
     opacity .57s ease,
     filter .57s ease;
   transition-delay:var(--letter-delay,240ms);
 }
 /* Linha de acento percorre brevemente a borda, sem ficar piscando. */
 .ih-services-showcase .ih-service-edge{
   position:absolute;z-index:3;left:0;top:0;width:100%;height:3px;
   background:linear-gradient(90deg,transparent,#bd7f55 42%,#f4c58e 63%,transparent);
   opacity:0;transform:translateX(-75%);
   pointer-events:none;
 }
 .ih-services-showcase.services-reveal-on .ih-service-story.is-inview .ih-service-edge{
   animation:ih-card-trace .85s cubic-bezier(.18,.73,.21,1) .11s both;
 }
 @keyframes ih-card-trace{
   0%{opacity:0;transform:translateX(-75%)}
   22%{opacity:.78}
   100%{opacity:0;transform:translateX(72%)}
 }
}
@media(max-width:680px){
 .ih-services-showcase .ih-service-story:last-child{
   min-height:335px;
   padding:20px 21px 21px;
 }
 .ih-services-showcase .ih-service-story:last-child .ih-service-top{
   max-width:none;margin-bottom:0;
 }
 .ih-services-showcase .ih-service-story:last-child .ih-service-copy{
   max-width:none;padding-top:46px;
 }
 .ih-services-showcase .ih-service-story:last-child .ih-service-copy h3{
   font-size:24px;margin-bottom:11px;
 }
 .ih-services-showcase .ih-service-story:last-child .ih-service-photo{
   inset:0;width:100%;height:100%;
   object-position:center 30%;
   -webkit-mask-image:none;mask-image:none;
 }
 .ih-services-showcase .ih-service-story:last-child::before{
   background:linear-gradient(180deg,
     rgba(255,250,244,.53) 0%,
     rgba(255,250,244,.82) 29%,
     rgba(255,250,244,.96) 61%,
     rgba(255,250,244,.99) 100%);
 }
 .ih-services-showcase .ih-word{white-space:nowrap}
}
@media(prefers-reduced-motion:reduce){
 .ih-services-showcase .ih-title-letter,
 .ih-services-showcase .ih-service-edge{
   animation:none!important;transform:none!important;
   opacity:1!important;filter:none!important;transition:none!important;
 }
 .ih-services-showcase .ih-service-edge{display:none!important}
}