/* A galeria termina em um túnel que revela os depoimentos. */
.testimonials-vortex { display: none; }
.peel-stage.has-vortex { background: #080808; overflow: clip; }
.peel-stage.has-vortex::after { content: ""; display: block; height: var(--vortex-travel); }
.has-vortex .universe { transform-origin: 50% var(--vortex-origin); backface-visibility: hidden; }
.has-vortex.is-collapsing .universe { will-change: transform, opacity; box-shadow: 1px 1px 0 #c8cec5, 3px 3px 0 #7d867d, 6px 6px 0 #3c463e, 9px 9px 0 #181f1b, 0 30px 90px #000b; }
.has-vortex .testimonials-vortex { display: grid; place-items: center; position: absolute; bottom: 0; left: 0; width: 100%; height: var(--vortex-viewport); color: #d5d9d2; pointer-events: none; opacity: var(--vortex-opacity, 0); overflow: clip; background: radial-gradient(ellipse at 50% 45%, #29333070, #080808 70%); }
.vortex-tunnel { position: absolute; width: min(94vw, 1100px); height: 74%; top: 8%; perspective: 650px; transition: opacity 400ms; }
.vortex-tunnel i { --depth: 0; position: absolute; inset: 0; border: 2px solid #d7e7df65; border-radius: 15%; box-shadow: 0 0 18px #d1f1e112, inset 0 0 20px #d1f1e112; transform: translateZ(calc(var(--depth) * -170px + var(--vortex-dive, 0px))) rotate(calc(var(--depth) * 13deg + var(--vortex-spin, 0deg))); }
.vortex-tunnel i:nth-child(2) { --depth: 1; }
.vortex-tunnel i:nth-child(3) { --depth: 2; }
.vortex-tunnel i:nth-child(4) { --depth: 3; }
.vortex-tunnel i:nth-child(5) { --depth: 4; }
.vortex-tunnel i:nth-child(6) { --depth: 5; }
.vortex-tunnel i:nth-child(7) { --depth: 6; }
.vortex-tunnel i:nth-child(8) { --depth: 7; }
.vortex-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 400ms; }
.has-tunnel-3d .vortex-canvas { opacity: 1; }
.has-tunnel-3d .vortex-tunnel { opacity: 0; }
.vortex-bloom { position: absolute; inset: 0; background: radial-gradient(ellipse 30% 40% at 50% 45%, #d8ede622, transparent 75%); opacity: var(--vortex-energy, 0); }
.vortex-shockwave { position: absolute; top: 45%; left: 50%; width: min(38vw, 380px); aspect-ratio: 1; border: 1px solid #d0ebe57a; border-radius: 50%; box-shadow: 0 0 28px #d0ebe524, inset 0 0 28px #d0ebe524; transform: translate(-50%, -50%) scale(var(--vortex-wave-scale, .1)); opacity: var(--vortex-wave-opacity, 0); }
.vortex-caption { position: absolute; top: 73%; left: 20px; right: 20px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; opacity: var(--vortex-caption-opacity, 0); transform: translateY(var(--vortex-caption-y, 20px)); text-shadow: 0 0 20px #080808, 0 0 40px #080808; }
.vortex-caption > span { font: 9px Arial, sans-serif; text-transform: uppercase; letter-spacing: .24em; color: #aab6ae; }
.vortex-caption em { position: relative; isolation: isolate; font: italic clamp(28px, 3.6vw, 54px)/1.1 Georgia, serif; letter-spacing: -.045em; }
.vortex-caption em::before { content: ""; position: absolute; inset: -8px -20px; z-index: -1; pointer-events: none; background: #080808e0; filter: blur(14px); }
.vortex-caption > i { width: 36px; height: 1px; background: #c8d4ca70; }

.testimonials { position: relative; z-index: 4; color-scheme: dark; color: #e8e8e2; background: #080808; isolation: isolate; }
.testimonials.has-vortex-entry { margin-top: calc(-1 * var(--vortex-viewport)); background: #080808; transform-origin: 50% calc(var(--vortex-viewport) / 2); }
.testimonials.is-in-tunnel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: var(--vortex-viewport); border: 1px solid #d5e6dc66; border-radius: var(--arrival-radius, 0px); opacity: var(--arrival-edge, 0); pointer-events: none; }
.testimonials-inner { padding: 28px var(--section-gutter) clamp(64px, 7vw, 110px); }
.testimonials.is-emerging { will-change: transform, opacity, clip-path; }
.testimonials-meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-inline: calc(var(--section-edge) - var(--section-gutter)); padding-bottom: 20px; border-bottom: 1px solid #ffffff28; font-size: 11px; text-transform: uppercase; letter-spacing: .045em; }
.testimonials-meta p { display: flex; align-items: center; gap: 10px; margin: 0; }
.testimonials-meta > span { color: #94948d; }
.testimonials-meta .shape { width: 8px; height: 8px; }
.testimonials-heading { display: grid; grid-template-columns: 1.8fr 1fr; align-items: end; gap: 7%; padding: clamp(80px, 9vw, 140px) 0 clamp(70px, 8vw, 125px); }
.testimonials-eyebrow { margin: 0 0 30px; font-size: 11px; color: #a3a39c; }
.testimonials-heading h2 { position: relative; width: fit-content; margin: 0; font-size: clamp(64px, 8.2vw, 132px); line-height: .97; letter-spacing: -.065em; font-weight: 400; }
.testimonials-heading h2 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.075em; color: #c3c3b8; }
.testimonials-star { position: absolute; top: -.12em; right: -.8em; font-size: .4em; color: #818179; }
.testimonials-intro { max-width: 300px; justify-self: end; padding-bottom: 5px; }
.testimonials-quote { display: block; height: 60px; font: 100px/.95 Georgia, serif; color: #6c6c63; }
.testimonials-intro p { font-size: clamp(15px, 1.2vw, 18px); line-height: 1.65; letter-spacing: -.025em; margin: 15px 0 26px; }
.testimonials-intro p > span { color: #94948d; }
.testimonials-intro a { display: inline-flex; align-items: center; gap: 28px; border-bottom: 1px solid #ffffff42; padding-bottom: 10px; font-size: 11px; }
.testimonials-intro a > span { font-size: 18px; transition: transform 220ms; }
.testimonials-intro a:hover > span { transform: translate(-3px, 3px); }
.testimonials-archive { scroll-margin-top: 32px; }
.testimonials-archive-label { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #ffffff28; padding-top: 20px; margin-bottom: 32px; font-size: 10px; color: #aaa9a2; }
.testimonials-count { display: flex; align-items: center; gap: 8px; }
.testimonials-count i { width: 5px; height: 5px; border-radius: 50%; background: #a8a89a; box-shadow: 0 0 9px #cecebb35; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 36px); align-items: start; padding-bottom: 32px; }
.testimonial-card { position: relative; min-width: 0; border: 1px solid #ffffff20; background: radial-gradient(ellipse at 50% 15%, #ffffff06, transparent 65%), #0e0e0d; transition: border-color 300ms, background-color 300ms; }
.testimonial-card:nth-child(2) { margin-top: 38px; }
.testimonial-card:nth-child(3) { margin-top: 76px; }
.testimonial-card:hover, .testimonial-card:focus-within { border-color: #ffffff46; background-color: #121210; }
.testimonial-open { display: block; color: inherit; text-decoration: none; cursor: zoom-in; }
.testimonial-open:focus-visible { outline: 2px solid #c3c3b8; outline-offset: 5px; }
.testimonial-card-top, .testimonial-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-inline: 22px; padding-block: 19px; font-size: 9px; letter-spacing: .055em; color: #919189; }
.testimonial-card-top { border-bottom: 1px solid #ffffff12; text-transform: uppercase; }
.testimonial-card-top > span:last-child { font-size: 15px; }
.testimonial-card-bottom { border-top: 1px solid #ffffff12; }
.testimonial-card-bottom > span:last-child { font-size: 19px; font-weight: 300; }
.testimonial-image { display: block; width: calc(100% - 32px); height: auto; margin: 16px; }
.testimonials-bottom { display: flex; align-items: center; gap: 22px; border-bottom: 1px solid #ffffff28; padding: 30px 0 55px; }
.testimonials-bottom > span:first-child { font-size: 35px; color: #8c8c7f; }
.testimonials-bottom p { margin: 0; font-size: clamp(24px, 2.5vw, 38px); line-height: 1.15; letter-spacing: -.045em; }
.testimonials-bottom em { font-family: Georgia, serif; font-weight: 400; color: #aaa99d; }
.testimonials-bottom > span:last-child { margin-left: auto; font-size: 10px; line-height: 1.7; color: #94948d; }

@media (max-width: 1000px) {
  .testimonials-heading { grid-template-columns: 1.4fr 1fr; gap: 35px; }
  .testimonials-heading h2 { font-size: clamp(64px, 8.5vw, 90px); }
  .testimonial-card-top, .testimonial-card-bottom { margin-inline: 16px; }
}
@media (max-width: 680px) {
  .testimonials-inner { padding-top: 22px; }
  .testimonials-meta { font-size: 9px; gap: 12px; }
  .testimonials-meta > span { max-width: 115px; text-align: right; line-height: 1.5; }
  .testimonials-heading { grid-template-columns: 1fr; gap: 45px; padding-top: 75px; padding-bottom: 56px; }
  .testimonials-heading h2 { font-size: clamp(54px, 12.5vw, 85px); }
  .testimonials-eyebrow { margin-bottom: 24px; }
  .testimonials-star { right: -.75em; }
  .testimonials-intro { justify-self: start; display: grid; grid-template-columns: 34px 1fr; column-gap: 18px; max-width: none; }
  .testimonials-quote { font-size: 66px; padding-top: 12px; }
  .testimonials-intro p { margin: 0 0 22px; font-size: 15px; }
  .testimonials-intro a { grid-column: 2; width: fit-content; }
  .testimonials-archive-label { font-size: 9px; align-items: start; gap: 12px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; padding-bottom: 20px; }
  .testimonial-card:nth-child(n) { margin-top: 0; }
  .testimonials-bottom { flex-wrap: wrap; gap: 16px; padding-bottom: 35px; }
  .testimonials-bottom > span:last-child { width: 100%; margin-left: 45px; }
}
@media (prefers-reduced-motion: reduce) {
  .peel-stage.has-vortex { background: #080808; }
  .peel-stage.has-vortex::after { display: none; }
  .has-vortex .projects-surface { position: relative; top: auto; }
  .has-vortex .universe { transform: none !important; filter: none !important; opacity: 1 !important; visibility: visible !important; }
  .has-vortex .testimonials-vortex { display: none; }
  .testimonials.has-vortex-entry { margin-top: 0; background: #080808; transform: none !important; opacity: 1 !important; clip-path: none !important; }
  .testimonials.has-vortex-entry::before { display: none; }
  .testimonial-card, .testimonials-intro a > span { transition: none; }
}
