/* Source of truth: Figma 704:5625 desktop / 704:5849 mobile.
   Case-scoped rules prevent generic case fallbacks from changing approved geometry. */
.tb-case{--tb-pad:72px;max-width:1440px;margin:auto;overflow:clip}
.tb-case .tb-story{width:100%;padding:0 0 96px;gap:96px}
.tb-case .tb-section{width:100%;padding:0 var(--tb-pad);position:relative}
.tb-case .tb-section>div:first-child{width:100%}
.tb-case .tb-opening{display:flex;flex-direction:column;gap:40px;width:100%}
.tb-hero{display:grid;grid-template-columns:minmax(0,680fr) minmax(0,552fr);gap:32px 64px;align-items:center;position:relative;padding:48px 0;margin-bottom:32px;isolation:isolate}
.tb-hero:before{content:'';position:absolute;inset:0 calc(-1 * var(--tb-pad));background:linear-gradient(#121010,#343031);z-index:-1}
.tb-hero:after{content:'';position:absolute;top:100%;left:calc(-1 * var(--tb-pad));right:calc(-1 * var(--tb-pad));height:32px;background:linear-gradient(#4b000fe0 50%,#d90034e0 50%)}
.tb-narrative,.tb-impact,.tb-metrics{width:100%;min-width:0}
.tb-narrative{gap:24px}.tb-narrative h1{font-size:64px;line-height:68px;letter-spacing:-.66px;font-weight:600}
.tb-mobile-break{display:none}.tb-narrative [data-name="Proposição"]{gap:36px}
.tb-meta{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;width:100%;padding:24px 0 0;border-top:1px solid #ffffff1c}
.tb-meta>div{width:100%}.tb-meta>[data-name="Rule"]{display:none}
.tb-signature{position:absolute;right:calc((100% - 64px) * .44805 + 64px);top:115px;width:96px;height:96px;pointer-events:none}
.tb-case .tb-rule{position:absolute;left:var(--tb-pad);right:var(--tb-pad);top:-48px;height:1px;width:auto;background:#ffffff1c}
.tb-case .tb-context{display:grid;grid-template-columns:minmax(0,352fr) minmax(0,896fr);gap:48px}
.tb-case .tb-architecture{display:grid;grid-template-columns:minmax(0,504fr) minmax(0,744fr);gap:48px}
.tb-case .tb-preferences{display:grid;grid-template-columns:minmax(0,512fr) minmax(0,720fr);gap:64px}
.tb-case .tb-content{display:grid;grid-template-columns:minmax(0,720fr) minmax(0,528fr);gap:48px}
.tb-case .tb-collaboration,.tb-case .tb-conclusion{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.tb-case :is(.tb-context,.tb-architecture,.tb-preferences,.tb-content,.tb-collaboration,.tb-conclusion)>*{width:100%;min-width:0;max-width:100%}
.tb-case .tb-evidence{display:block;position:relative;width:100%;max-width:100%;height:auto;overflow:hidden}
.tb-case .tb-evidence-image{display:block;position:static;width:100%;height:auto;max-width:100%;object-fit:contain}
.tb-evidence-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%;margin:0;padding:0;overflow:hidden}
.tb-evidence-pair>div{width:100%;min-width:0;max-width:100%}
.tb-case .tb-journey-icon{display:grid;place-items:center;width:24px;height:24px;flex:none}
.tb-journey-icon img{width:auto;height:auto;max-width:24px;max-height:24px}
.tb-case [data-name="Editorial/JourneySequence"]>[data-name="Conteúdo"]{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row}
.tb-case [data-name="Editorial/JourneySequence"]>[data-name="Conteúdo"]>div{min-height:0;padding:16px}
.tb-case .tb-demo{padding:48px 120px;height:auto;min-height:1055px;gap:48px;isolation:isolate}
.tb-demo>[data-name^="Atmosfera"]{z-index:-1;inset:-47px 0 -48px;background:linear-gradient(161.949deg,#121010 2.843%,#4b000f 73.861%)}
.tb-demo-intro{display:grid;grid-template-columns:minmax(0,416fr) minmax(0,624fr);gap:160px;width:100%}
.tb-demo-intro>div{width:100%;min-width:0}
.tb-demo-media{display:grid;grid-template-columns:minmax(0,360fr) minmax(0,776fr);gap:64px;width:100%}
.tb-demo-media>div{width:100%;min-width:0}
.tb-demo .inline-video{width:100%;margin:0;gap:16px}
.tb-demo .inline-video video{aspect-ratio:9/16;width:100%;max-height:none;border:0;border-radius:0;box-shadow:none}
.tb-demo .inline-video figcaption,.tb-coverage [data-name="Media/Figure"]>p{font-size:16px;line-height:24px;color:var(--muted)}
.tb-phones{display:flex;gap:16px;width:100%;margin:0;padding:0;overflow:hidden}
.tb-phones>div{flex:1 1 0;min-width:0;padding:12px;border:1px solid #ffffff40;border-radius:28px;background:#4b000f}
.tb-phones .scaled-media{width:100%!important}
.tb-case .tb-play{width:100%;max-width:360px;text-align:left;cursor:pointer;color:var(--lime)}
.tb-play [data-name="Content"]>p{color:var(--lime)}.tb-play [data-name="Accent rule"]{background:var(--lime)}
.tb-play:hover [data-name="Gesture"]{transform:translateX(4px)}
.tb-next-links{display:flex;gap:24px;width:100%}.tb-next-links>a{flex:none;width:318px;max-width:calc(50% - 12px)}
.tb-mobile-only{display:none}
@media(min-width:761px) and (max-width:1199px){
 .tb-case{--tb-pad:40px}.tb-hero{gap:32px}.tb-narrative h1{font-size:48px;line-height:52px}
 .tb-signature{width:64px;height:64px;top:48px;right:calc(45% + 32px)}
 .tb-case .tb-demo{padding:48px 40px;min-height:0}.tb-demo-intro{gap:48px}.tb-demo-media{gap:32px}
 .tb-case .tb-architecture,.tb-case .tb-content,.tb-case .tb-preferences{gap:32px}
 .tb-phones{overflow-x:auto}.tb-phones>div{flex:0 0 248px}
}
@media(max-width:760px){
 .tb-case{--tb-pad:24px}.tb-case .tb-story{gap:64px;padding-bottom:64px}
 .tb-case .tb-opening{display:flex;gap:32px}.tb-hero{display:contents}
 .tb-hero:before,.tb-hero:after{display:none}.tb-meta{display:none}
 .tb-narrative{order:0;padding:80px 0;gap:36px;position:relative;isolation:isolate;margin-bottom:16px}
 .tb-narrative:before{content:'';position:absolute;inset:0 -24px;z-index:-1;background:linear-gradient(#121010,#343031)}
 .tb-narrative:after{content:'';position:absolute;top:100%;left:-24px;right:-24px;height:16px;background:linear-gradient(#4b000fe0 50%,#d90034e0 50%)}
 .tb-narrative>a{width:180px}.tb-narrative h1{font-size:48px;line-height:52px}.tb-mobile-break{display:block}
 .tb-narrative h2{font-size:30px;line-height:40px;letter-spacing:1.5px}
 .tb-signature{top:80px;right:0;width:64px;height:64px}
 .tb-impact{order:1}.tb-cover-image{order:2}.tb-source{order:3}
 .tb-metrics{gap:24px}.tb-metrics>div{padding:32px;gap:24px}
 .tb-metrics [data-name="Valor + unidade"]>p:first-child{font-size:64px;line-height:68px;letter-spacing:-1.92px}
 .tb-metrics [data-name="Valor + unidade"]>p:last-child,.tb-metrics>[data-name="Data/MetricSpotlight"]>p:last-child{font-size:22px;line-height:28px}
 .tb-metrics [data-name^="Métrica"]>p:first-child{font-size:32px;line-height:38px}
 .tb-metrics [data-name^="Métrica"]>p:last-child{font-size:17px;line-height:28px}
 .tb-mobile-only{display:inline}.tb-context .tb-mobile-only{display:block}
 .tb-context-role{font-size:17px;line-height:28px}.tb-context-team{font-size:16px;line-height:22px}
 .tb-case .tb-rule{top:-32px}
 .tb-case :is(.tb-context,.tb-architecture,.tb-preferences,.tb-content,.tb-collaboration,.tb-conclusion){display:flex;flex-direction:column;gap:32px;width:100%}
 .tb-case .tb-preferences{gap:24px}.tb-case .tb-decisions{gap:48px}
 .tb-case h2:not(.tb-narrative h2),.tb-case .u5292cc37bb{font-size:32px;line-height:38px;letter-spacing:-.32px}
 .tb-case .u5292cc37bb>p{line-height:38px}
 .tb-case [data-name="Editorial/JourneySequence"]>[data-name="Conteúdo"]{grid-template-columns:1fr}
 .tb-case [data-name="Editorial/JourneySequence"]>[data-name="Conteúdo"]>div{min-height:0;border-right:0;border-bottom:1px solid #ffffff1c}
 .tb-case .tb-evidence-pair{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:24px;width:100%!important;max-width:100%!important;margin:0;padding:0 0 12px!important}
 .tb-case .tb-evidence-pair>div{flex:0 0 294px;width:294px!important;max-width:calc(100vw - 96px)!important;scroll-snap-align:start}
 .tb-case .tb-demo{padding:24px 48px;min-height:0;gap:32px}
 .tb-demo>[data-name^="Atmosfera"]{inset:-31px 0 -32px}
 .tb-demo-intro{display:flex;flex-direction:column;gap:24px}
 .tb-demo-media{display:flex;flex-direction:column;gap:40px}
 .tb-case .tb-phones{width:100%!important;max-width:100%!important;margin:0;gap:16px!important;padding:0 0 12px!important;overflow-x:auto;scroll-snap-type:x mandatory}
 .tb-case .tb-phones>div{flex:0 0 248px;width:248px!important;max-width:248px!important;scroll-snap-align:start}
 .tb-next-links{flex-direction:column}.tb-next-links>a{width:100%;max-width:100%}
}
@media(prefers-reduced-motion:reduce){.tb-play:hover [data-name="Gesture"]{transform:none}}
@media(min-width:761px){.tb-case .tb-evidence-pair{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px!important}.tb-case .tb-evidence-pair>div{width:100%!important;max-width:100%!important}}
@media(min-width:761px){.tb-case .tb-evidence-pair{padding:0!important}}
/* Native Figma scales: no percentage-based type shrinking. */
.tb-case{font-optical-sizing:none}
.tb-case .tb-phones{padding:0!important;gap:16px!important}
@media(max-width:760px){
 .tb-case [data-fs="44.0"]{font-size:32px;line-height:38px;letter-spacing:-.32px}
 .tb-case [data-fs="44.0"]>p{font-size:inherit;line-height:inherit}
 .tb-case .tb-metrics [data-name^="Métrica"]>p:first-child{font-size:32px;line-height:36px}
 .tb-case .tb-metrics [data-name^="Métrica"]>p:last-child{font-size:16px;line-height:22px}
}
@media(max-width:760px){
 .tb-case [data-fs="30.0"]{font-size:30px!important;line-height:40px!important;letter-spacing:1.5px!important}
 .tb-case [data-fs="30.0"]>p{font-size:inherit;line-height:inherit}
 .tb-case .tb-evidence-pair{padding-bottom:0!important;width:calc(100% + 24px)!important;max-width:calc(100% + 24px)!important}
}
.tb-case .tb-mobile-note{font-size:13px;line-height:18px;color:var(--muted)}
.tb-case .scale-inner{transition:none}
.tb-case .tb-phones>div{border:0;box-shadow:inset 0 0 0 1px #ffffff40;min-height:511px}
@media(max-width:760px){
 .tb-case .tb-architecture [data-name="Editorial/Reflection"]{padding:12px}
 .tb-case [data-name="Editorial/JourneySequence"]>[data-name="Conteúdo"]>div:last-child{border-bottom:0}
 .tb-case .tb-coverage [data-name="Media/Figure"]>p{line-height:22px}
 .tb-case .tb-carousel-hint{font:500 12px/18px 'IBM Plex Mono',monospace;letter-spacing:1.8px;color:var(--muted)}
}
@media(max-width:760px){.tb-case .tb-architecture [data-name="Editorial/Reflection"]{padding:12px 16px}.tb-case .tb-architecture [data-name="Editorial/Reflection"]>p{font-size:17px;line-height:28px}}

/* Match Figma grayscale text rendering without changing typography tokens. */
.tb-case{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
@media(max-width:760px){.tb-case [data-name="Editorial/JourneySequence"]>[data-name="Conteúdo"]>div{border-left:0}}

/* Same component geometry as i.agora: Media/PhoneEvidence 760:8115. */
.tb-case .tb-phones{gap:32px!important;overflow-x:auto!important}
.tb-case .tb-phones>.tb-phone{flex:0 0 280px!important;width:280px!important;max-width:280px!important;height:auto;min-height:0;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
.tb-phones .tb-device-inner{position:absolute;width:280px;height:572.25px;overflow:hidden;border-radius:0;filter:drop-shadow(0 16px 24px #1210103d) drop-shadow(0 8px 12px #1210107a)}
.tb-device-screen{position:absolute;left:10.5px;top:12.25px;width:259px;height:551.25px;overflow:hidden;border-radius:2px;background:transparent}
.tb-screen-crop{position:absolute;left:2.19277px;top:0;width:254.61446px;height:551.25px;overflow:hidden}
.tb-screen-crop img{position:absolute;top:0;width:300%;height:100%;max-width:none;object-fit:contain}
.tb-device-inner>.tb-device-frame{position:absolute;left:-30.3625px;top:-35px;width:340.375px!important;height:644.6125px;max-width:none!important;object-fit:cover;pointer-events:none}
@media(max-width:760px){.tb-case .tb-phones>.tb-phone{flex-basis:278px!important;width:278px!important;max-width:278px!important}.tb-phone>.scaled-media{width:278px!important}.tb-case .tb-demo{padding-left:24px;padding-right:24px}}
