/* imoveis.css: page-only styles for /fotografia-para-imoveis-e-imobiliarias-no-paraguai/
   Concept: the page as a broker's listing sheet. High-key hero with a three-layer parallax skyline and a
   viewfinder, a band of three "property listing" cards whose photos drift inside their frames, a clock
   panel for the 72-hour delivery, audiences and contact-sheet steps.
   Loaded after main.css and servico.css (glass, faq, related, end). */
:root { --im-ease: cubic-bezier(.22, 1, .36, 1); --im-ink: #17191c; }

/* ── Hero (high-key) ────────────────────────────────────────────────────── */
.im-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--im-ink); text-align: center;
  background: linear-gradient(to bottom, #ffffff 0%, #f7f6f4 55%, var(--paper) 100%);
  min-height: min(92svh, 800px); display: flex; align-items: center;
  padding-block: clamp(7.5rem, 15vh, 9rem) clamp(11rem, 26vh, 16rem); }
.im-scene { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.im-layer { position: absolute; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.im-layer--sun { left: 50%; top: 4%; width: min(120vw, 980px); aspect-ratio: 1; margin-left: calc(min(120vw, 980px) / -2); }
.im-sun { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(255, 46, 34, .13), rgba(255, 46, 34, 0) 62%); }
.im-layer--far, .im-layer--mid, .im-layer--near { left: 0; right: 0; bottom: -60px; }
.im-layer--far { height: 66%; } .im-layer--mid { height: 52%; } .im-layer--near { height: 34%; }
.im-layer > svg { display: block; width: 100%; height: 100%; }
.im-hero::after { content: ""; position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; height: clamp(70px, 12vh, 120px); pointer-events: none; background: linear-gradient(to bottom, rgba(243, 242, 240, 0), var(--paper)); }
.im-hero__wrap { position: relative; z-index: 1; width: 100%; }
.im-hero__txt { position: relative; max-width: 780px; margin-inline: auto; padding: clamp(1.4rem, 3.4vw, 2.6rem) clamp(.5rem, 4vw, 3rem); }
.im-hero__txt::before { content: ""; position: absolute; inset: -2rem -3rem; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255, 255, 255, .92), rgba(255, 255, 255, .6) 55%, rgba(255, 255, 255, 0) 100%); }
.im-eyebrow { display: inline-flex; align-items: center; gap: .6rem; padding: .42rem .95rem .42rem .8rem; border-radius: 999px; background: var(--im-ink); color: #fff;
  font: 700 .72rem/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; }
.im-eyebrow i { width: 9px; height: 9px; border-radius: 50%; background: var(--red-lit); }
.im-hero h1 { margin-top: 1.1rem; font-size: clamp(2.1rem, 4.8vw, 3.7rem); line-height: 1.05; text-wrap: balance; color: var(--im-ink); }
.im-hero h1 em { font-style: normal; color: var(--red); }
.im-lead { margin: 1.2rem auto 0; max-width: 56ch; font-size: clamp(1rem, 1.4vw, 1.12rem); color: #3b4047; text-wrap: balance; }
.im-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1.8rem; }

/* viewfinder corners around the headline block */
.im-vf { position: absolute; inset: 0; max-width: 840px; margin-inline: auto; pointer-events: none; }
.im-vf i { position: absolute; width: clamp(22px, 3vw, 34px); aspect-ratio: 1; border: 0 solid var(--im-ink); opacity: .85; }
.im-vf i:nth-child(1) { left: 0; top: 0; border-width: 2px 0 0 2px; }
.im-vf i:nth-child(2) { right: 0; top: 0; border-width: 2px 2px 0 0; }
.im-vf i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 2px 2px; }
.im-vf i:nth-child(4) { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.im-focus { position: absolute; z-index: 1; right: max(6%, calc(50% - 560px)); top: 30%; width: 58px; aspect-ratio: 1; pointer-events: none;
  border: 2px solid var(--red); border-radius: 6px; opacity: .9; animation: im-lock 1.6s var(--im-ease) .5s both, im-blink 2.4s ease-in-out 2.2s infinite; }
.im-focus::before, .im-focus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--red); }
.im-focus::before { width: 10px; height: 2px; margin: -1px 0 0 -5px; } .im-focus::after { width: 2px; height: 10px; margin: -5px 0 0 -1px; }
@keyframes im-lock { from { opacity: 0; transform: scale(2.1); } to { opacity: .9; transform: scale(1); } }
@keyframes im-blink { 0%, 100% { opacity: .9; } 50% { opacity: .35; } }

.im-hero__txt > * { animation: im-rise .9s var(--im-ease) both; }
.im-hero__txt > :nth-child(2) { animation-delay: .08s; } .im-hero__txt > :nth-child(3) { animation-delay: .16s; } .im-hero__txt > :nth-child(4) { animation-delay: .24s; }
@keyframes im-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.im-layer--c1 { left: 0; top: 18%; z-index: 3; } .im-layer--c2 { right: 0; top: 40%; z-index: 3; } .im-layer--c3 { left: 4%; bottom: 4%; z-index: 3; }
.im-chip { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem 1rem .55rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .96); color: var(--im-ink);
  font: 700 .8rem/1 var(--f-body); box-shadow: 0 16px 30px -14px rgba(23, 25, 28, .5), 0 0 0 1px rgba(23, 25, 28, .07);
  animation: im-float 5.5s ease-in-out var(--lag, 0s) infinite alternate; }
.im-chip .im-i { color: var(--red); }
@keyframes im-float { from { translate: 0 -5px; } to { translate: 0 6px; } }
.im-i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ── Listing cards ──────────────────────────────────────────────────────── */
.im-fichas { position: relative; z-index: 1; background: var(--paper); color: var(--im-ink); padding-block: clamp(1rem, 3vw, 2rem) var(--rhythm); }
.im-fichas__hd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.2rem, 4vw, 4rem); align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.im-fichas__hd .label { grid-column: 1 / -1; color: #636a72; margin-bottom: -.6rem; }
.im-fichas__hd h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); text-wrap: balance; }
.im-fichas__hd p:last-child { color: #4a4f56; max-width: 58ch; }
.im-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 1.8vw, 1.5rem); align-items: stretch; }
.im-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid var(--paper-line);
  box-shadow: 0 24px 40px -30px rgba(23, 25, 28, .45); transform: translate3d(0, var(--py, 0px), 0); will-change: transform;
  transition: box-shadow .4s ease, translate .6s var(--im-ease); }
.im-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--im-ease); }
.im-card:hover { translate: 0 -4px; box-shadow: 0 34px 50px -30px rgba(23, 25, 28, .55); }
.im-card:hover::after { transform: scaleX(1); }
.im-card__ph { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #e4e6e8; }
.im-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  transform: translate3d(0, var(--iy, 0px), 0) scale(1.14); will-change: transform; }
.im-card__tag { position: absolute; z-index: 2; left: .8rem; top: .8rem; padding: .38rem .7rem; border-radius: 999px; background: var(--im-ink); color: #fff; font: 700 .68rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; }
.im-card__b { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.3rem 1.4rem; }
.im-card h3 { font-size: 1.2rem; color: var(--im-ink); }
.im-card__b > p { margin-top: .55rem; font-size: .9rem; color: #4a4f56; }
.im-spec { margin: auto 0 0; padding-top: 1.1rem; }
.im-spec div { display: grid; grid-template-columns: 5.4rem minmax(0, 1fr); gap: .8rem; padding: .55rem 0; border-top: 1px dashed #c9c5c2; }
.im-spec dt { font: 700 .68rem/1.5 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: #636a72; }
.im-spec dd { margin: 0; font-size: .86rem; font-weight: 600; line-height: 1.4; color: var(--im-ink); }
.im-note { margin-top: 1.8rem; font-size: .92rem; color: #4a4f56; }
.im-note a { color: var(--im-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.im-note a:hover { color: var(--red); }

/* ── Included + 72 h clock ──────────────────────────────────────────────── */
.im-incl__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.im-clock { position: relative; width: min(100%, 380px); aspect-ratio: 1; margin-inline: auto; }
.im-clock__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.im-clock__ring { fill: rgba(255, 255, 255, .03); stroke: var(--edge); stroke-width: 1.5; }
.im-tk { stroke: var(--dim); stroke-width: 1; opacity: .7; } .im-tk--major { stroke: var(--mist); stroke-width: 1.6; opacity: 1; }
.im-clock__hand { transform-origin: 100px 100px; transform: rotate(var(--rot, 0deg)); will-change: transform; }
.im-clock__hand line { stroke: var(--red-lit); stroke-width: 2.4; stroke-linecap: round; }
.im-clock__hand circle { fill: var(--red-lit); }
.im-clock__n { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.im-clock__n b { font: 700 clamp(3.6rem, 9vw, 5.4rem)/1 var(--f-display); letter-spacing: -.04em; color: #fff; }
.im-clock__n small { font-size: .42em; font-weight: 600; letter-spacing: 0; margin-left: .08em; color: var(--red-lit); }
.im-clock__n span { margin-top: .5rem; font: 700 .7rem var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.im-incl h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-top: .8rem; text-wrap: balance; }
.im-incl__lead { margin-top: 1rem; color: var(--mist); max-width: 58ch; }
.im-list { list-style: none; margin: clamp(1.4rem, 3vw, 2rem) 0 0; padding: 0; border-top: 1px solid var(--edge); }
.im-list li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--edge); }
.im-tick { width: 2.4rem; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 46, 34, .14); color: var(--red-lit); }
.im-tick .im-i { width: 18px; height: 18px; stroke-width: 2.2; }
.im-list b { display: block; font: 600 1.1rem/1.3 var(--f-display); color: #fff; }
.im-list p { margin-top: .35rem; font-size: .92rem; color: var(--mist); max-width: 56ch; }

/* ── Audiences + contact-sheet steps ────────────────────────────────────── */
.im-flow .sec__hd { max-width: none; }
.im-flow .sec__hd h2 { text-wrap: balance; }
.im-flow__hd { margin-top: clamp(3rem, 6vw, 4.5rem); }
.im-aud { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.4rem); }
.im-aud li { padding-top: 1.2rem; border-top: 2px solid var(--im-ink); }
.im-aud__i { display: inline-grid; place-items: center; width: 2.6rem; aspect-ratio: 1; border-radius: 12px; background: #fff; border: 1px solid var(--paper-line); color: var(--red); }
.im-aud h3 { margin-top: .9rem; font-size: 1.2rem; color: var(--im-ink); }
.im-aud p { margin-top: .45rem; font-size: .92rem; color: #4a4f56; }
.im-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.2rem); }
.im-steps li { position: relative; padding: 2.1rem 1.25rem 1.4rem; border-radius: 16px; background: #fff; border: 1px solid var(--paper-line); }
.im-steps li::before { content: ""; position: absolute; left: 1.25rem; right: 1.25rem; top: .8rem; height: 6px;
  background: radial-gradient(circle, #d7d3d0 2.2px, transparent 2.6px) 0 0 / 16px 6px repeat-x; }
.im-step__n { display: block; font: 800 3.2rem/1 var(--f-display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--red); }
.im-steps h3 { margin-top: .8rem; font-size: 1.1rem; color: var(--im-ink); }
.im-steps p { margin-top: .5rem; font-size: .9rem; color: #4a4f56; }

/* scroll reveal (only when JS enables it; static otherwise) */
.im-anim .im-rev { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .8s var(--im-ease), transform .8s var(--im-ease); transition-delay: calc(var(--i, 0) * 90ms); }
.im-anim .im-rev.is-in { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .im-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .im-focus { display: none; }
}
@media (max-width: 820px) {
  .im-fichas__hd { grid-template-columns: 1fr; align-items: start; }
  .im-fichas__hd .label { margin-bottom: 0; }
  .im-band { grid-template-columns: 1fr; }
  .im-card { transform: none; will-change: auto; }
  .im-incl__grid { grid-template-columns: 1fr; }
  .im-clock { width: min(78%, 300px); }
}
@media (max-width: 700px) {
  .im-layer--c1, .im-layer--c2, .im-layer--c3 { display: none; }
  .im-hero { min-height: 0; padding-block: 7.2rem 10rem; }
  .im-aud { grid-template-columns: 1fr; }
  .im-vf { inset: .4rem 8px; }
  .im-hero__txt::before { inset: -1rem -1rem; }
}
@media (max-width: 560px) {
  .im-cta .btn { flex: 1 1 100%; text-align: center; }
  .im-steps { grid-template-columns: 1fr; }
  .im-spec div { grid-template-columns: 4.8rem minmax(0, 1fr); }
}

/* ── Reduced motion: static, but fully readable ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .im-hero__txt > *, .im-focus, .im-chip { animation: none; }
  .im-layer, .im-card, .im-card__img, .im-clock__hand { transform: none !important; will-change: auto; }
  .im-card__img { transform: scale(1.04) !important; }
  .im-card, .im-card::after { transition: none; }
  .im-card:hover { translate: none; }
  .im-anim .im-rev { opacity: 1; transform: none; transition: none; }
}
