/* Merge of the two approved directions. Source versions stay untouched. */
/* The concept caption sits in the clear left side; the rule follows its baseline. */
.hero-cinema .hero-baseline{align-items:flex-end;gap:30px}
.hero-cinema .hero-baseline-rule{margin-bottom:13px}
.hero-motion-caption{flex:none;width:auto;text-align:left;pointer-events:none;text-shadow:0 2px 8px #03091680}
.hero-motion-caption-label{font-family:var(--font-mono);font-size:9px;line-height:1.6;letter-spacing:.09em;text-transform:uppercase;color:#c1cee2}
.hero-motion-caption-message{margin-top:9px;font-family:"Contasy Chat",Figtree,sans-serif;font-size:18px;font-weight:430;line-height:1.45;letter-spacing:-.015em;color:#f1f5fc;white-space:nowrap}
@media(max-width:1200px){
 .hero-cinema .hero-baseline{display:grid;grid-template-columns:1fr auto;row-gap:27px;order:2;padding-top:20px}
 .hero-motion-caption{grid-column:1/-1;grid-row:1;width:100%;text-align:center;text-shadow:none;padding-bottom:6px}
 .hero-cinema .hero-media-toggle{grid-column:2;grid-row:2;justify-self:end}
 .hero-cinema .hero-baseline-rule{display:block;grid-column:1;grid-row:2;margin:0;align-self:center;width:100%}
 .hero-motion-caption-message{white-space:normal}
}
/* The approved Codex typography, with the original reference CTA system. */
.hero-cinema .hero-copy{max-width:700px;width:53%}
.hero-cinema h1{font-family:Figtree,sans-serif;font-weight:500;font-size:clamp(58px,5vw,78px);letter-spacing:-.058em;line-height:1.09;margin-top:34px}
.hero-cinema h1>span{display:block;white-space:nowrap}
.hero-cinema h1 .hero-highlight{color:inherit}
.hero-cinema .hero-description{font-family:Figtree,sans-serif;font-weight:400;font-size:16px;line-height:1.8;color:#afbed3;max-width:475px;margin-top:32px}
.hero-cinema .hero-service{font-family:Figtree,sans-serif;font-size:12px;font-weight:400;letter-spacing:.025em;text-transform:none;color:#c1cee0;gap:11px}
.hero-cinema .hero-service::before{width:6px;height:6px;border:0;background:#a3e635;box-shadow:0 0 0 3px #a3e63516;animation:hero-service-pulse 2.6s ease-out infinite}
@keyframes hero-service-pulse{0%,100%{box-shadow:0 0 0 0 #a3e63500}15%{box-shadow:0 0 0 2px #a3e63542}75%{box-shadow:0 0 0 8px #a3e63500}}
.hero-cinema .actions{gap:16px;margin-top:38px}
.hero-cinema .actions>.button.hero-cta{position:relative;display:inline-flex;justify-content:center;flex:0 0 auto;margin:0;transform:none;box-shadow:none}
.hero-cinema .actions>.hero-cta-secondary{background:#ffffff05;border-color:#ffffff30;color:#f6f8fc}
.hero-cinema .actions>.hero-cta-secondary:hover{background:#ffffff0f;border-color:#ffffff5c;color:#fff;transform:none;box-shadow:none}
.hero-cinema .actions>.hero-cta-primary{background:#fff;border-color:#fff;color:#0a0a0a}
.hero-cinema .actions>.hero-cta-primary:hover{background:#e5e5e5;border-color:#e5e5e5;transform:none;box-shadow:none}
.hero-free-tag{position:absolute;right:0;top:0;transform:translate(34%,-52%);background:#d9f99d;color:#4d7c0f;font-family:"Contasy Chat",Figtree,sans-serif;font-size:13px;font-weight:443;padding:6px 11px;border:0;border-radius:10px;line-height:1;box-shadow:0 2px 8px #0d0e121f;pointer-events:none}
.hero-cinema .social-proof{margin-top:32px;color:#a4b5cc;font-size:11px;gap:12px}
.hero-cinema .social-proof strong{color:#e0e7f0;font-weight:600}
.hero-cinema .avatar-stack img{border-color:#111b2e;width:29px;height:29px;object-fit:cover}
/* A still of the same scene extends the hero without another video decoder. */
.hero-cinema .benefit-strip{position:relative;isolation:isolate;contain:paint;overflow:hidden;margin-top:0;background:#050c1b;border-color:#b6c9e51a;color:#c5d0df}
.hero-cinema .benefit-strip::before{content:"";position:absolute;z-index:-2;inset:-40px;background:url("../images/hero/clareza-protegida.webp") center bottom / cover no-repeat;filter:blur(28px);opacity:.75;pointer-events:none}
.hero-cinema .benefit-strip::after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,#030b1de0,#061124c9);pointer-events:none}
.hero-cinema .benefit-list{padding-block:25px}
.hero-cinema .benefit-list li{color:#c5d0df;font-size:12px;line-height:1.55;border-color:#b6c9e526}
.hero-cinema .benefit-list .icon{color:#a3e635}
/* Reference tokens are local to the restored components. */
.merge-partners,.merge-technology{--font-disp:"Contasy Chat",Figtree,sans-serif;--fw-med:443;--ls-tight:-.03em;--n-400:#a3a3a3;--n-500:#737373;--mut:#667185;--sp-2:8px;--wrap-pad:var(--gutter);--wrap-max:var(--max);--grad-dark:var(--hero-backdrop);--rose-soft:#fe5982}
.merge-partners{padding:0;background:#fff;overflow:visible}
.merge-partners .parceiros__title{max-width:520px;font-size:clamp(32px,3.4vw,48px)}
.merge-partners .parceiros__sub{max-width:430px}
.merge-partners .prch__name{display:flex;align-items:center;gap:5px}
.merge-partners .prch__name .prch__badge{display:inline-block;flex:none;width:15px;height:15px;margin:0}
.merge-partners .prch__stage{height:100svh;padding-top:70px;box-sizing:border-box}
.merge-partners .prch__copy{padding-top:70px}
.merge-partners .prch.is-static .prch__stage{height:auto}
.merge-partners .prch.is-static .prch__copy{padding-top:0}
@media(max-width:720px){.merge-partners .prch__copy{padding-top:0}}
@media(prefers-reduced-motion:reduce){.merge-partners .prch__stage{height:auto}.merge-partners .prch__copy{padding-top:0}}
.merge-partners .prch__photo{filter:none}
.merge-technology .wrap{width:calc(100% - var(--gutter)*2);max-width:var(--max);margin-inline:auto}
.merge-technology .eyebrow{display:flex;align-items:center;gap:12px;font-family:var(--font-mono);font-size:10px;letter-spacing:.04em}
.merge-technology .eyebrow b{font-weight:400}
/* Compact platform, explicit benefit names. */
#plataforma .workspace-nav [role="tab"]{line-height:1.4;min-height:65px;align-items:center}
#plataforma .workspace-tab-label{min-width:0;text-wrap:balance}
#plataforma .workspace-tour-next{max-width:45%;text-align:right;line-height:1.5}
/* Original stacking interaction with the detailed, already approved app motions. */
#burocracia{overflow:visible}
#burocracia .process-deck{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:clamp(35px,6vw,86px);align-items:start}
#burocracia .process-deck>.section-heading{position:sticky;top:116px;display:flex;flex-direction:column;gap:23px;margin:0;align-items:flex-start}
#burocracia .process-deck .display{font-size:clamp(36px,3.8vw,56px)}
#burocracia .process-deck .intro{max-width:430px}
#burocracia .process-deck .actions{margin-top:24px;gap:10px}
#burocracia .process-deck .actions .button{font-size:11px;padding:12px 16px}
#burocracia .process-deck .chapters{display:block;margin-top:0;padding-bottom:3px}
#burocracia .process-deck .chapter{position:sticky;top:calc(100px + var(--card-index)*22px);z-index:calc(var(--card-index) + 1);display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto auto;gap:18px 15px;padding:25px 25px 20px;margin-bottom:32px;background:#fff;border:1px solid #e1e6ee;border-radius:18px;align-items:start;transform-origin:50% 15%;box-shadow:0 7px 30px -20px #0c183850}
#burocracia .process-deck .chapter:last-child{margin-bottom:0}
#burocracia .process-deck .chapter-number{grid-column:1;grid-row:1;align-self:start;margin-top:2px;color:#c9315c;background:#fff4f7;border-color:#ffe0e8}
#burocracia .process-deck .chapter-copy{display:block;grid-column:2;grid-row:1}
#burocracia .process-deck .chapter-copy>h3{font-size:23px;max-width:none;line-height:1.22}
#burocracia .process-deck .chapter-copy>p{margin-top:8px;font-size:12px;line-height:1.65}
#burocracia .process-deck .chapter-copy>.chapter-note{margin-top:10px;padding-top:10px;font-size:11px}
#burocracia .process-deck .process-demo{grid-column:1/-1;grid-row:2;height:420px;width:100%;border-radius:11px}
/* A comparison you can read without horizontal dragging, on every screen. */
#burocracia .comparison-scroll{overflow:visible;border-radius:14px}
#burocracia .comparison-table{min-width:0;width:100%;table-layout:fixed}
#burocracia .comparison-table .cell-value-negative>.icon{color:#ef4444;background:#fef2f2}
#burocracia .comparison-table td:nth-child(2){color:#657186}
#burocracia .comparison-table th:first-child{width:30%}
#burocracia .comparison-table th:last-child,#burocracia .comparison-table td:last-child{background:#f7faee}
#burocracia .comparison-table thead th:last-child{background:#eff6df;color:#365314}
#burocracia .comparison-table .cell-value:not(.cell-value-negative)>.icon{color:#65a30d;background:#ecfccb}
#burocracia .comparison-heading{max-width:840px;display:block;margin-inline:auto;text-align:center;margin-bottom:35px}
#burocracia .comparison-heading h3{max-width:none;font-size:clamp(29px,3.2vw,44px)}
#burocracia .comparison-heading p{max-width:590px;margin:18px auto 0}
/* Dark conversation stage; its authentic chat bubbles remain unchanged. */
#duvidas.conversations{background:var(--hero-backdrop);color:#f4f6fa}
#duvidas .display{color:#f4f6fa}
#duvidas .display em{color:#a8b7cc}
#duvidas .kicker{color:#a8b7cc}
#duvidas .section-heading .intro{color:#adbcd1}
.pricing .plan-name{justify-content:space-between;flex-wrap:nowrap;gap:12px}
.pricing .plan-name .popular{margin-left:auto;flex:none}
/* Provisional typography, explicitly reserved for the user's post-merge review. */
#planos .display em{color:#8793a4}
@media(min-width:1201px){
 .hero-cinema{--hero-stage-height:clamp(860px,63vw,1020px)}
 .hero-cinema .hero-stage{min-height:860px;height:var(--hero-stage-height)}
 .hero-cinema .hero-cinema-media{top:80px;mask-image:linear-gradient(180deg,transparent,#000 12%);-webkit-mask-image:linear-gradient(180deg,transparent,#000 12%)}
 .hero-cinema .hero-grid{padding-block:140px;align-items:center}
 .hero-cinema .hero-baseline{bottom:32px}
}
/* On wide monitors, keep the full 16:9 scene at its intended scale.
   Static ambient color extends its edges; only the original video plays. */
@media(min-width:1700px){
 .hero-cinema .hero-stage{background:
  radial-gradient(ellipse 430px 150px at calc(50% + 830px) 88%,#31465c 0%,#11283d80 48%,#01041100 100%),
  radial-gradient(ellipse 1050px 350px at 56% 100%,#0a1e3480 0%,#01041100 100%),
  #010411}
 .hero-cinema .hero-cinema-wash{background:none}
 .hero-cinema .hero-cinema-media{
  inset:80px auto auto 50%;
  height:calc(var(--hero-stage-height) - 80px);
  width:calc((var(--hero-stage-height) - 80px) * 16 / 9);
  transform:translateX(-50%);
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 12%),linear-gradient(90deg,transparent,#0000003d 4%,#000000b8 9%,#000 15%,#000 95%,#000000b3 97%,#0000003d 99%,transparent);
  mask-image:linear-gradient(180deg,transparent,#000 12%),linear-gradient(90deg,transparent,#0000003d 4%,#000000b8 9%,#000 15%,#000 95%,#000000b3 97%,#0000003d 99%,transparent);
  -webkit-mask-composite:source-in;
  mask-composite:intersect;
 }
 .hero-cinema .hero-cinema-media img,.hero-cinema .hero-cinema-media video{object-fit:contain;object-position:center}
}
/* Only wide viewports request the panorama. No preload or hidden img fetch.
   The new right-extended panorama is registered to the folder edge and floor. */
@media(min-width:1920px) and (min-aspect-ratio:2/1){
 .hero-cinema .hero-stage{background:#00010a}
 .hero-cinema .hero-stage::before{
  content:"";position:absolute;inset:80px 0 0;pointer-events:none;
  background-image:url("../images/hero/clareza-ultrawide.webp");
  background-image:image-set(url("../images/hero/clareza-ultrawide.webp") 1x,url("../images/hero/clareza-ultrawide-2x.webp") 2x);
  background-repeat:no-repeat;
  /* Scale registered to the folder embossing; vertical offset refined against both floor-edge samples. */
  background-position:calc(50% + (var(--hero-stage-height) - 80px) * 1.01056) calc((var(--hero-stage-height) - 80px) * .0503);
  background-size:auto 92.24%;
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 12%,#000 94%,transparent 97%);
  mask-image:linear-gradient(180deg,transparent,#000 12%,#000 94%,transparent 97%);
 }
}
@media(max-width:1200px){
 .hero-cinema .hero-copy{width:100%;max-width:840px;margin-inline:auto;text-align:center}
 .hero-cinema h1{font-size:clamp(56px,7.2vw,76px)}
 .hero-cinema h1>span{display:block;white-space:nowrap}
 .hero-cinema .hero-service,.hero-cinema .social-proof{justify-content:center}
 .hero-cinema .hero-description{margin-inline:auto;max-width:435px}
 .hero-cinema .actions{justify-content:center}
 .hero-cinema .hero-cinema-media{aspect-ratio:1.55;margin-top:-10px}
}
@media(max-width:860px){
 #burocracia .process-deck{display:block}
 #burocracia .process-deck>.section-heading{position:static;margin-bottom:35px;gap:20px}
 #burocracia .process-deck .display{max-width:620px;font-size:clamp(35px,6.5vw,48px)}
 #burocracia .process-deck .intro{max-width:600px}
 #burocracia .process-deck .chapter{top:calc(86px + var(--card-index)*15px);padding:24px;max-width:650px;margin-inline:auto}
 #burocracia .comparison-table th,#burocracia .comparison-table td{padding:15px 13px;font-size:13px;line-height:1.5}
 #burocracia .comparison-table .cell-value{gap:7px}
}
@media(max-width:600px){
 .hero-cinema .hero-grid{padding-top:110px;padding-bottom:27px}
 .hero-cinema h1{font-size:clamp(30px,8.6vw,50px);letter-spacing:-.055em;margin-top:27px;line-height:1.05}
 .hero-cinema .hero-service{font-size:11px;letter-spacing:0;gap:9px}
 .hero-cinema .hero-description{font-size:14px;max-width:400px;margin-top:22px;line-height:1.7}
 .hero-cinema .actions{gap:13px 10px;max-width:400px;margin:27px auto 0}
 .hero-cinema .actions>.button.hero-cta{flex:1 1 100%;width:100%}
 .hero-cinema .actions>.button.hero-cta-primary{order:-1;margin-bottom:3px}
 .hero-cinema .hero-free-tag{right:10px;transform:translate(0,-52%)}
 .hero-cinema .social-proof{font-size:11px;margin-top:25px}
 .hero-cinema .hero-cinema-media{aspect-ratio:1.08;margin-top:-15px}
 .hero-cinema .benefit-list li{font-size:11px;line-height:1.5}
 .merge-partners .parceiros__title{font-size:32px}
 .merge-partners .prch__name .prch__badge{width:14px;height:14px}
 #plataforma .workspace-nav [role="tab"]{white-space:normal;min-height:68px;font-size:11px;line-height:1.35}
 #plataforma .workspace-nav [role="tab"]:first-of-type{max-width:180px}
 #plataforma .workspace-tour-next{max-width:55%;font-size:10px}
 #burocracia .process-deck .chapter{padding:18px 15px 15px;border-radius:14px;gap:16px 10px;grid-template-columns:29px minmax(0,1fr)}
 #burocracia .process-deck .chapter-copy>h3{font-size:21px}
 #burocracia .process-deck .process-demo{height:400px}
 #burocracia .comparison-table th,#burocracia .comparison-table td{padding:13px 9px;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
 #burocracia .comparison-table th:first-child{width:30%}
 #burocracia .comparison-table thead th{font-size:11px}
 #burocracia .comparison-table .cell-value{display:flex;flex-direction:column;gap:7px}
 #burocracia .comparison-table .cell-value>.icon{width:18px;height:18px}
 .pricing .plan-name{gap:8px;justify-content:space-between}
 .pricing .plan-name h3{font-size:23px}
}
@media(prefers-reduced-motion:reduce){
 .hero-cinema .hero-service::before{animation:none}
 #burocracia .process-deck>.section-heading,#burocracia .process-deck .chapter{position:static;transform:none!important;filter:none!important}
}
@media(max-height:720px) and (min-width:861px){
 #burocracia .process-deck .process-demo{height:340px}
 #burocracia .process-deck .chapter{top:calc(86px + var(--card-index)*14px);padding:18px}
}
/* Keep both rows and the introduction below the fixed header while pinned. */
@media(max-width:720px){
 .merge-partners .prch{--card-h:clamp(112px,18vh,158px)}
 .merge-partners .parceiros__title{font-size:27px;line-height:1.08}
 .merge-partners .parceiros__sub{font-size:14px;line-height:1.55}
 .merge-partners .prch__copy .parceiros__sub{margin-top:14px}
 .merge-partners .prch__copy .parceiros__cta{margin-top:18px}
}
@media(max-width:720px) and (max-height:740px){
 .merge-partners .prch{--card-h:112px}
 .merge-partners .parceiros__title{font-size:24px}
 .merge-partners .parceiros__sub{font-size:12px}
 .merge-partners .parceiros__cta{padding:12px 16px;font-size:11px}
}
@media(max-width:720px){
 .merge-partners .prch{--card-w:max(120px,calc(var(--card-h)*.82))}
 .merge-partners .prch__cap{padding:8px}
 .merge-partners .prch__name{font-size:11px;gap:3px}
 .merge-partners .prch__name .prch__badge{width:12px;height:12px}
 .merge-partners .prch__handle{font-size:9px}
 .merge-partners .prch__foll{font-size:9px}
}

/* Shared CTA dimensions override section-specific legacy sizes. The actual
   product UI buttons and playback controls deliberately use other classes. */
body.cinematic-home .button{
 font-family:"Contasy Chat",Figtree,sans-serif!important;
 font-size:15px!important;
 font-weight:443!important;
 line-height:1!important;
 letter-spacing:normal!important;
 min-height:43px!important;
 padding:12px 22px!important;
 border-radius:10px!important;
 border-width:1px;
 box-shadow:none;
}
body.cinematic-home .button:active{filter:brightness(.94)}
body.cinematic-home .button:focus-visible{outline:2px solid var(--rose);outline-offset:4px}
.button.secondary{border-color:#f5f5f5;box-shadow:none}
.button.secondary:hover{border-color:#d4d4d4;background:#fafafa;box-shadow:none}
@media(max-width:600px){
 .hero-cinema .benefit-list li:nth-child(odd){border-color:#b6c9e526}
 .hero-motion-caption::before{display:none}
}

/* Reuse the original segment illustrations in the existing editorial rows. */
#segmentos .audience-item{grid-template-columns:34px minmax(0,1fr);gap:18px}
#segmentos .audience-item::before{content:none}
#segmentos .audience-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid #edf0f3;border-radius:5px;background:#fff;color:#475569;margin-top:1px}
#segmentos .audience-icon svg{display:block;width:22px;height:22px;overflow:visible}
#segmentos .audience-item:last-child .audience-icon{color:var(--rose-dark);border-color:#f9dce4;background:#fff8fa}
@media(max-width:600px){
 #segmentos .audience-item{grid-template-columns:32px minmax(0,1fr);gap:15px}
 #segmentos .audience-icon{width:32px;height:32px}
 .hero-cinema h1{line-height:1.1;margin-top:30px}
 .hero-cinema .hero-description{margin-top:28px}
 .hero-cinema .actions{margin-top:34px}
 .hero-cinema .social-proof{margin-top:30px}
}
