/* Shared marketing type scale. Product screenshots keep their own UI type. */
:root{
 --type-section:clamp(36px,3.85vw,56px);
 --weight-section:400;
 --section-title-ink:#0f172a;
 --section-title-muted:#777;
 --type-subtitle:clamp(22px,1.8vw,26px);
 --type-body:16px;
 --type-small:14px;
 --type-label:11px;
}
body.cinematic-home #conteudo :is(h2.display,h2.parceiros__title,h2.tg__title,.comparison-heading h3){
 font-family:Figtree,sans-serif;font-size:var(--type-section);font-weight:var(--weight-section);
 line-height:1.12;letter-spacing:-.045em;color:var(--section-title-ink);
}
/* One two-tone heading treatment, including headings that remain on one line. */
#tecnologia-gente,#duvidas,#notasy{--section-title-ink:#fff;--section-title-muted:#a3a3a3}
#comecar{--section-title-ink:#fff;--section-title-muted:#e5e7eb}
body.cinematic-home #conteudo :is(h2.display,h2.parceiros__title,h2.tg__title,.comparison-heading h3) :is(em,.mut){font:inherit;color:var(--section-title-muted)}
body.cinematic-home #conteudo :is(.audience-item h3,.chapter-copy h3,.plan-name h3,.integration-copy h3,.brand-path h3,.tg__col-title){
 font-family:Figtree,sans-serif;font-size:var(--type-subtitle);font-weight:500;line-height:1.25;letter-spacing:-.035em;
}
body.cinematic-home #conteudo :is(.intro,.section-heading .intro,.parceiros__sub,.tg__sub,.audience-item p,.chapter-copy>p,.brand-path p,.integration-copy>p,.comparison-heading p){
 font-family:Figtree,sans-serif;font-size:var(--type-body);font-weight:400;line-height:1.75;letter-spacing:0;
}
body.cinematic-home #conteudo :is(.kicker:not(.hero-service),.eyebrow){font-family:var(--font-mono);font-size:var(--type-label);font-weight:400;line-height:1.5;letter-spacing:.05em}
body.cinematic-home #conteudo :is(.plan-description,.plan-features li,.integration-features li,.faq-answer){font-size:var(--type-body);line-height:1.7}
body.cinematic-home #conteudo .faq-item summary{font-size:18px;line-height:1.5;font-weight:500}
body.cinematic-home #conteudo .chapter-copy>.chapter-note{font-size:var(--type-small);line-height:1.6}
body.cinematic-home .button .cta-arrow{display:block;flex:none;width:17px;height:17px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
body.cinematic-home .button{gap:13px}

/* The two headline lines and two body lines each have their own span. */
.merge-partners .prch{--copy-w:min(1050px,calc(100% - var(--gutter)*2))}
.merge-partners .parceiros__title,.merge-partners .parceiros__sub{max-width:none}
.merge-partners .parceiros__title>span,.merge-partners .parceiros__sub>span{display:block}
@media(min-width:1000px){
 .merge-partners .parceiros__title>span,.merge-partners .parceiros__sub>span{white-space:nowrap}
}
#segmentos .audience-item::before{content:counter(audience,decimal-leading-zero);font-family:var(--font-mono);font-size:12px;line-height:1.6;padding-top:5px;color:#718096}

/* A wider charcoal navigation; the selected option has a rose orbit and progress. */
#plataforma .workspace-main{grid-template-columns:310px minmax(0,1fr)}
#plataforma .workspace-nav{padding:28px 16px 22px;gap:10px}
#plataforma .workspace-nav [role="tab"]{
 min-height:64px;max-width:none;padding:12px 29px 12px 13px;gap:12px;
 background:linear-gradient(180deg,#222b39,#111927);border:1px solid #303a49;
 border-radius:10px;color:#c8d0dd;font-size:14px;font-weight:450;line-height:1.4;
}
#plataforma .workspace-nav [role="tab"]:hover{background:linear-gradient(180deg,#354152,#263144);border-color:#667085;color:#fff}
#plataforma .workspace-nav [role="tab"][aria-selected="true"]{background:linear-gradient(180deg,#455166,#303b4f);border-color:#8590a1;color:#fff;box-shadow:inset 0 1px #ffffff20,0 3px 9px #0f172a10}
#plataforma .workspace-tab-label{white-space:nowrap;text-wrap:nowrap}
#plataforma .workspace-tab-icon{position:relative;display:grid;place-items:center;flex:none;width:28px;height:28px}
#plataforma .workspace-nav [role="tab"] .icon{width:17px;height:17px;color:#aebccc}
#plataforma .workspace-nav [role="tab"][aria-selected="true"] .icon{color:#ffd0dc}
#plataforma .workspace-tab-icon::after{content:"";position:absolute;inset:-2px;border:1px solid #ffffff12;border-radius:50%;opacity:0}
#plataforma [aria-selected="true"] .workspace-tab-icon::after{opacity:1;border-top-color:#ff5a88;border-right-color:#ff5a8855;animation:tab-orbit 2.8s linear infinite}
#plataforma .workspace[data-tour-paused="true"] .workspace-tab-icon::after{animation-play-state:paused}
#plataforma .workspace-nav [role="tab"]::after{color:#8291a6;font-size:20px}
#plataforma .workspace-nav [role="tab"][aria-selected="true"]::after{color:#ff7d9f}
#plataforma .workspace-nav-note{font-size:12px!important;line-height:1.7!important}
@keyframes tab-orbit{to{transform:rotate(360deg)}}

/* Same NumberFlow engine/timing as the Guto presentation. No per-frame JS. */
.rolling-number{display:inline-grid;vertical-align:baseline;font-weight:500;white-space:nowrap;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.045em}
.rolling-number>.counter-anchor,.rolling-number>number-flow{grid-area:1/1;align-self:center;justify-self:start}
.rolling-number>.counter-anchor{visibility:hidden;pointer-events:none}
.rolling-number>number-flow{font:inherit;--number-flow-mask-height:.12em;--number-flow-mask-width:.06em}
.opening-price .amount{display:flex;font-size:clamp(72px,7.9vw,112px);gap:14px;align-items:baseline;letter-spacing:-.055em}
.opening-price .amount>.currency{font-size:.29em;margin:0;align-self:baseline}
.opening-price .amount>.rolling-number{font:inherit;min-width:0}
.metric-rail .metric>strong{display:inline-grid;font-size:clamp(38px,3.5vw,50px);font-weight:500;line-height:1.2}
.metric-rail .metric>p{font-size:var(--type-small);line-height:1.6;margin-top:12px}

/* White numbered headers, then a separate light gradient stage around each app demo. */
#burocracia .process-deck .chapter{display:block;padding:0;overflow:hidden;isolation:isolate}
#burocracia .chapter-header{display:grid;grid-template-columns:44px minmax(0,1fr);gap:18px;padding:28px;background:#fff;align-items:start}
#burocracia .process-deck .chapter-number{display:block;width:auto;height:auto;border:0;border-radius:0;background:none;color:#0f172a;font-family:Figtree,sans-serif;font-size:48px;font-weight:400;line-height:1;letter-spacing:-.055em;margin:0;padding:0}
#burocracia .process-deck .chapter-copy{grid-column:2;grid-row:1}
#burocracia .chapter-stage{position:relative;isolation:isolate;display:grid;place-items:center;padding:32px 26px;background:var(--brand-wash)}
#burocracia .chapter-stage::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.35;background-image:radial-gradient(#afbbcc 1px,transparent 1px);background-size:20px 20px;mask-image:radial-gradient(ellipse at center,#000,transparent 73%)}
#burocracia .process-deck .process-demo{grid-area:auto;height:410px;max-width:600px;min-width:0;border:1px solid #dfe5ed;box-shadow:0 6px 10px -4px #1c2b4308,0 26px 52px -28px #25354f40;border-radius:10px}

/* Legible comparison: neutral cells, green reserved for checks. */
#burocracia .comparison-heading{max-width:1020px;margin-bottom:40px}
#burocracia .comparison-heading p{max-width:720px}
#burocracia .comparison-table th,#burocracia .comparison-table td{padding:25px 26px;font-size:18px;line-height:1.55;background:#fff;color:#526071;border-color:#e9ecf0}
#burocracia .comparison-table thead th,#burocracia .comparison-table thead th:last-child{font-size:21px;font-weight:600;color:#161c29;background:#fff;padding-block:30px}
#burocracia .comparison-table tbody th{font-weight:600;color:#263041}
#burocracia .comparison-table th:last-child,#burocracia .comparison-table td:last-child{background:#fff;color:#526071}
#burocracia .comparison-table td:nth-child(2){color:#526071}
#burocracia .comparison-table tr>*+*{border-left:1px solid #e9ecf0}
#burocracia .comparison-table .cell-value{gap:14px;flex-direction:row}
#burocracia .comparison-table .cell-value>.icon{width:22px;height:22px;margin-top:3px;padding:0;background:none;border-radius:0;color:#65a30d}
#burocracia .comparison-table .cell-value-negative>.icon{color:#ef4444;background:none}
#burocracia .comparison-table .cell-value:not(.cell-value-negative)>.icon{background:none;color:#65a30d}

#duvidas .section-heading{display:flex;flex-direction:column;align-items:center;text-align:center;gap:24px}
#duvidas .section-heading .display{max-width:900px}
#duvidas .section-heading .intro{max-width:670px;align-self:center;justify-self:center}
#planos .section-heading{grid-template-columns:minmax(0,1fr)}
#planos .section-heading .display{max-width:none}
#planos .display>span,#planos .display>em{display:block}
#planos .section-heading .intro{max-width:760px}
#notasy .integration-title{margin-bottom:26px}
#notasy .integration-title img{width:150px;height:45px;filter:none;object-position:left center}
#notasy .section-heading{grid-template-columns:1fr}
#notasy .section-heading .display{max-width:900px}
.ecosystem .brand-path:first-of-type{border-top:0}
.ecosystem .brand-path:last-child{border-bottom:0}
.ecosystem .brand-path{grid-template-columns:165px minmax(0,1fr) auto;gap:38px}

@media(max-width:1100px){
 #plataforma .workspace-main{grid-template-columns:290px minmax(0,1fr)}
 #plataforma .workspace-nav{padding-inline:10px}
 #plataforma .workspace-content{padding:26px}
 #burocracia .chapter-header{padding:24px;gap:12px}
 #burocracia .chapter-stage{padding:23px 16px}
 #burocracia .comparison-table th,#burocracia .comparison-table td{font-size:16px;padding:23px 18px}
 #burocracia .comparison-table thead th{font-size:19px}
 .ecosystem .brand-path{grid-template-columns:140px minmax(0,1fr);gap:24px}
 .ecosystem .brand-path>.button{grid-column:2;justify-self:start}
}
@media(max-width:860px){
 #plataforma .workspace-main{grid-template-columns:minmax(0,1fr)}
 #plataforma .workspace-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:16px}
 #plataforma .workspace-nav [role="tab"]{justify-content:flex-start}
 #plataforma .workspace-brand,#plataforma .workspace-nav .workspace-nav-note{display:none}
}
@media(max-width:600px){
 :root{--type-section:34px;--type-subtitle:22px;--type-body:16px}
 .merge-partners .prch__copy{width:100%;left:0;padding-inline:var(--gutter)}
 .merge-partners .parceiros__title>span,.merge-partners .parceiros__sub>span{white-space:normal}
 body.cinematic-home #conteudo .parceiros__title{font-size:var(--type-section)}
 .merge-partners .parceiros__sub>span+span{margin-top:8px}
 .opening-price .amount{font-size:clamp(72px,18vw,100px)}
 #plataforma .workspace-nav{padding:10px;gap:8px}
 #plataforma .workspace-nav [role="tab"],#plataforma .workspace-nav [role="tab"]:first-of-type{max-width:none;min-height:88px;flex-direction:column;justify-content:center;gap:8px;padding:12px 5px;font-size:11px;line-height:1.4}
 #plataforma .workspace-nav [role="tab"]::after{display:none}
 #plataforma .workspace-content{padding:20px 16px}
 #burocracia .chapter-header{padding:24px 19px;grid-template-columns:32px minmax(0,1fr);gap:13px}
 #burocracia .process-deck .chapter-number{font-size:42px}
 #burocracia .chapter-stage{padding:24px 12px}
 #burocracia .process-deck .process-demo{height:400px}
 #burocracia .comparison-table,#burocracia .comparison-table thead,#burocracia .comparison-table tbody{display:block}
 #burocracia .comparison-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 #burocracia .comparison-table th,#burocracia .comparison-table td{font-size:15px;padding:18px 16px;overflow-wrap:normal}
 #burocracia .comparison-table thead th,#burocracia .comparison-table thead th:last-child{font-size:16px;line-height:1.45;padding:22px 16px}
 #burocracia .comparison-table thead th:first-child{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}
 #burocracia .comparison-table tbody th:first-child{grid-column:1/-1;width:auto;padding:15px 16px;background:#f8fafc;font-size:16px;border-top:1px solid #e9ecf0;border-bottom:1px solid #e9ecf0}
 #burocracia .comparison-table tbody tr>td:nth-child(2){border-left:0}
 #burocracia .comparison-table .cell-value{flex-direction:column;gap:8px}
 #burocracia .comparison-table .cell-value>.icon{width:19px;height:19px}
 .ecosystem .brand-path{grid-template-columns:1fr;gap:22px}
 .ecosystem .brand-path>.button{grid-column:1}
}
.merge-partners .prch.is-static .prch__card{opacity:1!important}
.merge-partners .prch.is-static .prch__copy{width:100%}
@media(prefers-reduced-motion:reduce){
 #plataforma .workspace-tab-icon::after{animation:none!important}
}

/* Stack offsets are measured from the tallest card, including on small screens. */
#burocracia .process-deck .chapter{top:calc(var(--stack-top,86px) + var(--card-index)*14px)}
