/* Trivaz editorial identity — public pages only. Home retains its approved layer. */
@font-face{font-family:"Trivaz Playfair";font-style:normal;font-weight:600;font-display:swap;src:url("/fonts/home-editorial/playfair-display-1.ttf") format("truetype")}
@font-face{font-family:"Trivaz Playfair";font-style:italic;font-weight:600;font-display:swap;src:url("/fonts/home-editorial/playfair-display-0.ttf") format("truetype")}
body.tv-editorial[data-editorial-theme]{--tv-ink:#141412;--tv-paper:#f6f1e8;--tv-sand:#eee6d8;--tv-gold:#d1b17f;--tv-gold-ink:#896336;--tv-display:"Trivaz Playfair",Georgia,serif;--tv-title-accent:var(--tv-gold);background:var(--tv-ink)}
body.tv-editorial[data-editorial-theme] main :is(h1,h2,h3):not(:where(.bio-demo *,.ig-stage *,.sp-phone *,.content-demo *,.sp-devices *,.institutional-device *,.institutional-mobile *,.wa-demo *,.google-demo *,.sys-demo *)){font-family:var(--tv-display);font-weight:600;letter-spacing:-.03em}
body.tv-editorial[data-editorial-theme] main h2:not(:where(.bio-demo *,.ig-stage *,.sp-phone *,.content-demo *,.sp-devices *,.institutional-device *,.institutional-mobile *,.wa-demo *,.google-demo *,.sys-demo *)){font-size:clamp(34px,3.35vw,48px);line-height:1.15;text-wrap:balance}
body.tv-editorial[data-editorial-theme] main h3:not(:where(.bio-demo *,.ig-stage *,.sp-phone *,.content-demo *,.sp-devices *,.institutional-device *,.institutional-mobile *,.wa-demo *,.google-demo *,.sys-demo *)){line-height:1.3}
body.tv-editorial[data-editorial-theme] main :is(h1,h2,h3) em{font-family:inherit;font-weight:inherit;font-style:italic;color:var(--tv-title-accent);text-shadow:none}
body.tv-editorial[data-editorial-theme] main [data-tv-hero] h1[data-editorial-length]{font-family:var(--tv-display);font-weight:600;font-size:clamp(44px,4.2vw,62px);line-height:1.1;letter-spacing:-.04em;text-wrap:balance;max-width:650px;margin-bottom:24px}
body.tv-editorial[data-editorial-theme] main [data-tv-hero] h1[data-editorial-length="long"]{font-size:clamp(39px,3.45vw,50px);line-height:1.12}
body.tv-editorial[data-editorial-theme] main :is(.bio-section,.sp-section,.ab-section,.svc-list,.svc-before,.pf-main,.contato-main,.tv-service-showcase){padding-block:clamp(64px,6.5vw,96px)}
body.tv-editorial[data-editorial-theme] main :is(.bio-light,.sp-light,.ab-light,.page-section.light,.svc-before,.pf-main,.tv-service-showcase){--tv-title-accent:var(--tv-gold-ink);background:var(--tv-paper);color:var(--tv-ink)}
body.tv-editorial[data-editorial-theme] main :is(.svc-list,.cv-format-index,.ab-team,.bio-light:has([data-commercial-group]),.sp-light:has([data-service-stack])){--tv-title-accent:var(--tv-gold-ink);background:var(--tv-sand);color:var(--tv-ink)}
body.tv-editorial[data-editorial-theme] main :is(.bio-dark,.sp-dark,.ab-dark,.bio-delivery){--tv-title-accent:var(--tv-gold);background:var(--tv-ink);color:var(--tv-paper)}
body.tv-editorial[data-editorial-theme] main .bio-delivery :is(h2,h3){color:var(--tv-paper)}
body.tv-editorial[data-editorial-theme] main .bio-delivery :is(p,li){color:#c8c2b8}
body.tv-editorial[data-editorial-theme] main .bio-delivery :is(.bio-eyebrow,.bio-steps>li>span){color:var(--tv-gold)}
body.tv-editorial[data-editorial-theme] main :is(.bio-eyebrow,.sp-kicker,.svc-eyebrow,.ab-eyebrow,.pf-eyebrow){letter-spacing:.17em;font-size:10px;font-weight:600}
body.tv-editorial[data-editorial-theme] main :is(.bio-light,.sp-light,.ab-light,.svc-list,.svc-before,.pf-main) :is(.bio-eyebrow,.sp-kicker,.svc-eyebrow,.ab-eyebrow,.pf-eyebrow){color:var(--tv-gold-ink)}
body.tv-editorial[data-editorial-theme] main :is(.bio-heading,.sp-section-head,.svc-section-heading,.ab-heading){margin-bottom:36px}
body.tv-editorial[data-editorial-theme] main :is(.bio-heading,.sp-section-head,.svc-section-heading,.ab-heading) h2{margin-block:16px 22px}
body.tv-editorial[data-editorial-theme] main .btn{border-radius:3px;min-height:50px;padding:15px 22px;font-size:13px;line-height:1.6;font-weight:600;letter-spacing:0;white-space:normal;box-shadow:none;gap:14px}
body.tv-editorial[data-editorial-theme] main a.btn[data-editorial-arrow]::after{content:attr(data-editorial-arrow);font-size:19px;font-weight:400;line-height:1;flex:none}
body.tv-editorial[data-editorial-theme] main .btn.accent{background:var(--tv-gold);border-color:var(--tv-gold);color:var(--tv-ink)}
body.tv-editorial[data-editorial-theme] main :is(.bio-light,.sp-light,.ab-light,.svc-list,.svc-before,.pf-main,.page-section.light,.tv-service-showcase) .btn:is(.primary,.accent){background:var(--tv-ink);border-color:var(--tv-ink);color:var(--tv-paper)}
body.tv-editorial[data-editorial-theme] main :is(.svc-index-card,.sc-format-card,.sp-format,.ig-offer,.bio-plan,.team-card,.pf-card){border-color:#d8c9b3;border-radius:18px;box-shadow:0 8px 30px #3c2e160b}
body.tv-editorial[data-editorial-theme] main :is(.svc-index-card,.ig-offer,.bio-plan,.team-card){background:#faf7f1;color:var(--tv-ink);--tv-title-accent:var(--tv-gold-ink)}
body.tv-editorial[data-editorial-theme] main .bio-plan.bio-premium{background:#eee5d4;border-color:#b79865}
body.tv-editorial[data-editorial-theme] main :is(.svc-index-card,.ig-offer,.bio-plan,.team-card) h3{font-size:clamp(25px,2.1vw,30px);line-height:1.2;letter-spacing:-.035em}
body.tv-editorial[data-editorial-theme] main .bio-plan :is([data-commercial-deliveries],.commercial-notes) h3{font-size:18px;line-height:1.4}
body.tv-editorial[data-editorial-theme] main :is(.pf-card-title,.sc-format-title){font-family:var(--tv-display);font-size:27px;font-weight:600;letter-spacing:-.035em;line-height:1.2}
body.tv-editorial[data-editorial-theme] main :is(.bio-price,.bio-price strong,.commercial-finance,.content-total,.content-total strong,.content-publishing-price,[data-commercial-addon] strong){font-family:"Plus Jakarta Sans",sans-serif}
body.tv-editorial[data-editorial-theme] main :is(.bio-final,.sp-final-cta,.ab-cta,.pf-cta,.svc-cta){--tv-title-accent:var(--tv-gold-ink);background:#e7d9c3;color:var(--tv-ink);padding-block:clamp(72px,7vw,104px);text-align:center}
body.tv-editorial[data-editorial-theme] main :is(.bio-final,.sp-final-cta,.ab-cta,.pf-cta,.svc-cta) :is(h2,p){color:var(--tv-ink)}
body.tv-editorial[data-editorial-theme] main :is(.bio-final,.sp-final-cta,.ab-cta,.pf-cta,.svc-cta) h2{max-width:820px;margin:16px auto 24px;font-size:clamp(36px,3.5vw,52px)}
body.tv-editorial[data-editorial-theme] main :is(.bio-final,.sp-final-cta,.ab-cta,.pf-cta,.svc-cta) p:not(.bio-eyebrow,.sp-kicker,.ab-eyebrow,.svc-eyebrow){max-width:650px;margin-inline:auto;color:#595247;line-height:1.85}
body.tv-editorial[data-editorial-theme] main :is(.bio-final,.sp-final-cta,.ab-cta,.pf-cta,.svc-cta) :is(.bio-eyebrow,.sp-kicker,.ab-eyebrow,.svc-eyebrow){color:var(--tv-gold-ink)}
body.tv-editorial[data-editorial-theme] main :is(.ab-cta-grid,.pf-cta-grid,.svc-cta-grid){display:flex;flex-direction:column;align-items:center;gap:28px;border-top:0;padding-top:0}
body.tv-editorial[data-editorial-theme] main :is(.ab-cta-grid,.pf-cta-grid,.svc-cta-grid)>div{max-width:820px}
body.tv-editorial[data-editorial-theme] main :is(.bio-final,.sp-final-cta,.ab-cta,.pf-cta,.svc-cta) .btn{background:var(--tv-ink);border:1px solid var(--tv-ink);color:var(--tv-paper);border-radius:2px;min-height:58px;padding:18px 26px;min-width:280px;margin-top:26px;justify-content:space-between;gap:28px}
body.tv-editorial[data-editorial-theme] main :is(.ab-cta-grid,.pf-cta-grid,.svc-cta-grid)>.btn{margin-top:0;justify-self:center}
body.tv-editorial[data-editorial-theme] main :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid #a38353;outline-offset:4px}
@media(max-width:1000px){
 body.tv-editorial[data-editorial-theme] main [data-tv-hero] h1[data-editorial-length]{font-size:clamp(40px,5.3vw,54px)}
 body.tv-editorial[data-editorial-theme] main [data-tv-hero] h1[data-editorial-length="long"]{font-size:clamp(37px,4.6vw,46px)}
}
@media(max-width:800px){
 body.tv-editorial[data-editorial-theme] main :is(.bio-section,.sp-section,.ab-section,.svc-list,.svc-before,.pf-main,.contato-main,.tv-service-showcase){padding-block:64px}
 body.tv-editorial[data-editorial-theme] main :is(.bio-final,.sp-final-cta,.ab-cta,.pf-cta,.svc-cta){padding-block:68px}
}
@media(max-width:600px){
 body.tv-editorial[data-editorial-theme] main [data-tv-hero] h1[data-editorial-length]{font-size:clamp(36px,9.8vw,43px);line-height:1.12;letter-spacing:-.04em;margin-bottom:22px}
 body.tv-editorial[data-editorial-theme] main [data-tv-hero] h1[data-editorial-length="long"]{font-size:clamp(33px,8.8vw,38px);line-height:1.15}
 body.tv-editorial[data-editorial-theme] main h2:not(:where(.bio-demo *,.ig-stage *,.sp-phone *,.content-demo *,.sp-devices *,.institutional-device *,.institutional-mobile *,.wa-demo *,.google-demo *,.sys-demo *)){font-size:clamp(32px,8.6vw,38px);line-height:1.16;letter-spacing:-.035em}
 body.tv-editorial[data-editorial-theme] main :is(.bio-section,.sp-section,.ab-section,.svc-list,.svc-before,.pf-main,.contato-main,.tv-service-showcase){padding-block:56px}
 body.tv-editorial[data-editorial-theme] main :is(.bio-heading,.sp-section-head,.svc-section-heading,.ab-heading){margin-bottom:28px}
 body.tv-editorial[data-editorial-theme] main :is(.svc-index-card,.ig-offer,.bio-plan,.team-card) h3{font-size:27px}
 body.tv-editorial[data-editorial-theme] main :is(.pf-card-title,.sc-format-title){font-size:26px}
 body.tv-editorial[data-editorial-theme] main .btn{min-height:50px;padding:14px 19px;font-size:12px}
 body.tv-editorial[data-editorial-theme] main :is(.bio-final,.sp-final-cta,.ab-cta,.pf-cta,.svc-cta) h2{font-size:clamp(34px,9vw,40px);line-height:1.15}
 body.tv-editorial[data-editorial-theme] main :is(.bio-final,.sp-final-cta,.ab-cta,.pf-cta,.svc-cta) .btn{min-width:0;max-width:100%;width:100%;padding:18px 22px;font-size:12px;text-align:left;justify-content:space-between}
}

/* Navigation cards only; device previews and controls retain their own structure. */
body.tv-editorial[data-editorial-theme] main :is(.sc-formats-grid>.sc-format-card,.sp-formats-grid>.sp-format-card){background:#faf7f1;color:var(--tv-ink);border-color:#d8c9b3;border-radius:18px;box-shadow:0 8px 30px #3c2e160b;--tv-title-accent:var(--tv-gold-ink)}
body.tv-editorial[data-editorial-theme] main :is(.sc-formats-grid>.sc-format-card,.sp-formats-grid>.sp-format-card) h3{font-size:clamp(25px,2.1vw,30px);line-height:1.2;letter-spacing:-.035em}
body.tv-editorial[data-editorial-theme] main #filtersTitle{font-family:"Plus Jakarta Sans",sans-serif;font-size:20px;line-height:1.4;letter-spacing:-.02em}
@media(max-width:600px){body.tv-editorial[data-editorial-theme] main :is(.sc-formats-grid>.sc-format-card,.sp-formats-grid>.sp-format-card) h3{font-size:27px}}

/* Shared project information surface, including CMS-created cards. */
body.tv-editorial[data-editorial-theme] main .pf-card{background:#0d0d0d;color:#f7f3ea;--tv-title-accent:#d4af7c}
body.tv-editorial[data-editorial-theme] main .pf-card :is(.pf-card-body,.pf-card-foot){background:#0d0d0d;color:#f7f3ea;padding:18px 20px}
body.tv-editorial[data-editorial-theme] main .pf-card :is(.pf-card-title,.pf-card-title-btn,h3,.pf-card-foot-text strong){color:#f7f3ea}
body.tv-editorial[data-editorial-theme] main .pf-card :is(.pf-card-kicker,.pf-card-link,.pf-card-service,.pf-card-work,.pf-card-meta .tag,.pf-card-foot-text>span){color:#d4af7c}
body.tv-editorial[data-editorial-theme] main .pf-card :is(.pf-card-description,.pf-card-desc){color:#c8c2b8}
#portfolioGridHead,#opcoes-contato{scroll-margin-top:100px}
