@font-face {
  font-family: "Instrument Sans";
  src: url("/tavuma-site/assets/fontes/InstrumentSans-variable.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/tavuma-site/assets/fontes/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: var(--tv-color-bg, white);
  --ink: var(--tv-color-text, black);
  --gutter: clamp(18px, 3.3vw, 66px);
  --line: #d4d4d4;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 75px; }
html:has(body.home) { scroll-snap-type: y proximity; }
.opening, .statement, .work, body.home .site-footer { scroll-snap-align: start; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.55 var(--font-body), sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--font-heading), sans-serif; font-weight: 300; line-height: var(--heading-leading); letter-spacing: var(--heading-tracking); text-transform: uppercase; text-wrap: balance; }
a, button, input, select, textarea { color: inherit; font: inherit; }
button, a { touch-action: manipulation; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { cursor: default; }
a { text-decoration-thickness: 1px; text-underline-offset: .22em; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #000; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { max-width: 1650px; padding-inline: var(--gutter); margin-inline: auto; }
.eyebrow { font-size: .79rem; letter-spacing: .015em; margin-bottom: 1.25rem; text-transform: lowercase; }
.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip { position: fixed; z-index: 100; top: .7rem; left: 1rem; background: #fff; padding: .7rem 1rem; transform: translateY(-180%); }
.skip:focus { transform: none; }
.has-modal { overflow: hidden; }
.inline-link, .text-link { display: inline-flex; align-items: center; min-height: 44px; gap: .7em; text-decoration: underline; }
.inline-link:hover, .text-link:hover { text-decoration-thickness: 2px; }

.opening { position: relative; overflow: clip; isolation: isolate; background: #b6b6b6; height: clamp(500px, calc(100svh - 64px), 970px); }
.opening-film, .opening-veil { position: absolute; inset: 0; width: 100%; height: 100%; }
.opening-film { object-fit: cover; }
.opening-veil { background: linear-gradient(0deg, rgba(255,255,255,.95), rgba(255,255,255,.78) 9%, rgba(255,255,255,.2) 29%, transparent 45%); pointer-events: none; }
.opening-mark-track { position: absolute; inset: 0 0 var(--opening-controls-space, 108px); pointer-events: none; }
.opening-mark { position: sticky; top: 9px; width: calc(100% - 2 * var(--gutter)); height: auto; margin: 0 auto; padding-top: 7px; mix-blend-mode: difference; pointer-events: none; }
.opening-line { position: absolute; bottom: clamp(16px, 3.4vw, 50px); left: var(--gutter); right: var(--gutter); display: grid; grid-template-columns: 1fr auto auto; gap: 2.6rem; align-items: end; }
.opening h1 { font-size: clamp(48px,6.2vw,100px); line-height: var(--hero-leading); font-weight: 300; opacity: var(--opening-copy-opacity, 1); }
.opening-play { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; padding: 0 1.2rem; border: 1px solid #000; border-radius: 40px; text-decoration: none; font-size: .95rem; background: rgba(255,255,255,.7); }
.opening-play span { font-size: .64em; }
.opening-play:hover { background: #fff; }
.motion-toggle { min-height: 44px; padding: 0 .25rem; font-size: .77rem; text-decoration: underline; text-underline-offset: .25em; }
.site-header { position: sticky; top: 0; z-index: 15; min-height: 64px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid var(--line); }
.brand { padding: 15px 0; }
.brand img { width: 92px; height: auto; }
.site-nav, .values-nav, .filters { display: flex; align-items: center; gap: clamp(14px, 2.7vw, 45px); }
.site-nav a, .values-nav a, .filters a, .menu-button { display: inline-flex; align-items: center; min-height: 44px; font-size: .89rem; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current], .values-nav a:hover, .filters a:hover, .filters a[aria-current] { text-decoration: underline; text-underline-offset: .32em; }
.menu-button { display: none; }
.statement { display: grid; grid-template-columns: 1.5fr 1fr; gap: 8%; align-items: end; padding-block: clamp(64px,8vw,138px) clamp(44px,5vw,90px); }
.statement h2 { font-size: clamp(36px,4.7vw,76px); }
.studio-intro { font-size: clamp(16px,1.45vw,22px); line-height: 1.5; max-width: 38ch; letter-spacing: 0; }
.work { padding-bottom: clamp(45px,7vw,108px); }
.work-tools { display: flex; justify-content: space-between; align-items: center; padding-bottom: .7rem; gap: 1rem; }
.filters { flex-wrap: wrap; gap: clamp(14px, 2vw, 32px); }
.filters a { font-size: .85rem; }
.work-grid { margin-inline: auto; max-width: 1700px; padding-inline: clamp(8px,1.2vw,22px); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(6px,.66vw,12px); }
.work-tile { position: relative; display: block; isolation: isolate; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: clamp(6px,1vw,16px); background: #efefef; }
.work-tile img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); transition: transform .55s cubic-bezier(.2,.75,.25,1); }
.work-tile img.uncropped { object-fit: contain; }
.work-tile[data-project="serum"] { --focal: 50% 49%; }
.work-tile[data-project="theralab"] { --focal: 50% 72%; }
.work-tile::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: white; opacity: 0; transition: opacity .33s ease; }
.work-tile:hover img, .work-tile:focus-visible img { transform: scale(1.022); }
.work-tile:focus-visible { outline-offset: 0; box-shadow: inset 0 0 0 3px black; }
.tile-info { position: absolute; z-index: 1; left: .65rem; right: .65rem; bottom: .6rem; display: flex; justify-content: space-between; align-items: center; gap: .25rem; pointer-events: none; opacity: 0; transition: opacity .2s; }
.tile-info b, .tile-info span { color: black; background: #fff; padding: .16em .42em; font-weight: 400; font-size: clamp(11px,.95vw,15px); }
.work-tile:focus-visible .tile-info, .work-tile:hover .tile-info { opacity: 1; }
.work-tile.is-film .tile-info { display: none; }
@media (hover:hover) and (pointer:fine) {
  .work-grid:has(.active) .work-tile:not(.active)::after { opacity: .40; }
  .work-grid:hover .work-tile:not(.active)::after { opacity: .55; }
}
.empty { padding-block: 2rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { padding-block: clamp(40px,6vw,90px); display: grid; grid-template-columns: 1.45fr 1fr; gap: 7%; align-items: end; }
.site-footer h2 { font-size: clamp(38px,5.2vw,85px); }
.contact-list { display: grid; justify-items: start; }
.contact-list a { min-height: 44px; padding-block: 9px; }
.contact-list p { margin-top: .3rem; }
.case-dialog, .summary-dialog { margin: auto; border: 0; color: #000; background: #fff; max-height: 92svh; overflow-y: auto; overscroll-behavior: contain; padding: clamp(16px,2vw,30px); }
.case-dialog { width: min(900px, 94vw); max-width: 100%; }
dialog::backdrop { background: rgb(255 255 255 / 91%); }
.case-top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 12px; }
.case-top h2 { font-size: clamp(32px,3.7vw,64px); }
.case-top .eyebrow { margin-bottom: 4px; }
.close-case, .dialog-close { font-size: 27px; height: 44px; width: 44px; flex: none; border: 1px solid var(--line); border-radius: 50%; line-height: 1; }
.case-media { display: grid; place-items: center; background: #f6f6f6; }
.case-media video, .case-media img { width: 100%; height: min(52svh,530px); object-fit: contain; }
.case-media img { height: auto; width: auto; max-height: min(52svh,530px); }
.case-media video { background: #080808; }
.case-options { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: .25rem; }
.case-options button { min-height: 44px; font-size: .85rem; }
.case-options button[aria-pressed=true] { text-decoration: underline; text-underline-offset: .28em; }
.case-info { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 1rem; margin-top: 1rem; }
.case-info p { max-width: 64ch; }
.case-info .credit { margin-top: .5rem; font-size: .82rem; }
.case-info a { font-size: .9rem; }
.values-header { padding-block: clamp(55px,8vw,115px) 3rem; }
.values h1 { font-size: clamp(56px,9vw,142px); }
.lead { max-width: 48ch; font-size: clamp(16px,1.4vw,22px); letter-spacing: 0; line-height: 1.5; margin-block: 1.4rem; }
.values-nav { flex-wrap: wrap; gap: 0 1.75rem; }
.values-nav a { text-decoration: underline; }
.price-section, .custom-section { padding-block: clamp(40px,5vw,76px); border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.2rem; }
.price-section h2, .custom-section h2 { font-size: clamp(40px,5.3vw,87px); }
.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(20px,3vw,52px); }
.project-grid.image-projects, .project-grid.pack-projects { grid-template-columns: repeat(2,minmax(0,1fr)); }
.project-card { border-top: 1px solid #000; padding-block: 1.2rem; }
.project-card h3, .request-result h3 { font-size: clamp(26px,2.45vw,42px); }
.project-card .eyebrow { margin-bottom: .6rem; }
.description { margin-block: .85rem; }
.price,.summary-price { margin-block: 1.2rem .7rem; font-size: clamp(28px,3.4vw,54px); line-height: 1.08; letter-spacing: -.065em; }
.price small,.summary-price small { display: block; margin-top: .3rem; font-size: .82rem; letter-spacing: normal; }
.count, .terms, .form-note { font-size: .91rem; }
.project-facts { margin-top: 1rem; }
.project-facts > div { margin-block: .45rem; }
.project-facts dt { font-weight: 600; font-size: .88rem; }
.project-card ul, .summary-dialog ul { padding-left: 1.2rem; }
.project-actions { display: grid; justify-items: start; gap: .25rem; margin-top: 1.3rem; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #000; background: #fff; border-radius: 30px; min-height: 46px; padding: .55rem 1.1rem; text-decoration: none; }
.button:hover { box-shadow: inset 0 0 0 1px #000; }
.terms { max-width: 85ch; margin-top: 2rem; }
.terms p + p { margin-top: .45rem; }
.request-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 7%; align-items: start; }
.request-form,.request-result,.summary-dialog label { display: grid; gap: 1.1rem; }
.request-form label { display: grid; gap: .35rem; }
.request-form input,.request-form select,.request-form textarea,.summary-dialog select { width: 100%; min-height: 48px; border: 1px solid #aaa; padding: .6rem .8rem; background: #fff; border-radius: 2px; }
.request-form textarea { height: 105px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.request-form .button,.request-result .button { justify-self: start; }
.request-result { padding: 1rem; border: 1px solid var(--line); }
.request-result pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; margin: 0; }
.summary-dialog { width: min(94vw,670px); border: 1px solid var(--line); }
.summary-dialog h2 { margin-block: 1.5rem .5rem; font-size: clamp(36px,4.3vw,65px); }
.dialog-close { display: block; margin: 0 0 .7rem auto; }
.summary-actions { display: flex; flex-wrap: wrap; align-items:center; gap: 1rem; margin-block: 1.4rem; }

@media(max-width:900px) {
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .opening-line { gap: 1rem; }
  .statement { grid-template-columns: 1.3fr 1fr; gap: 5%; }
}
@media(max-width:700px) {
  html { scroll-padding-top: 65px; }
  .site-header { min-height: 56px; }
  .site-nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: #fff; padding: .5rem var(--gutter) 1.1rem; border-bottom: 1px solid var(--line); }
  .site-nav.open { display: grid; gap: 0; }
  .menu-button { display: inline-flex; }
  .opening { height: clamp(460px,calc(87svh - 32px),740px); }
  .opening-mark { top: 6px; width: calc(100% - 22px); }
  .opening-line { grid-template-columns: 1fr auto; gap: 1rem; bottom: 1.15rem; align-items: center; }
  .opening h1 { grid-column: 1/-1; font-size: clamp(43px,10.5vw,70px); }
  .opening-play { justify-self: start; }
  .opening-veil { background: linear-gradient(0deg,rgba(255,255,255,.95),rgba(255,255,255,.78) 15%,transparent 47%); }
  .statement,.footer-inner,.request-grid,.case-info { grid-template-columns: 1fr; gap: 1.5rem; }
  .studio-intro { max-width: 38ch; }
  .work-tools { align-items: start; gap: .35rem; }
  .work-tools .motion-toggle { font-size: .7rem; }
  .filters { gap: 0 .7rem; }
  .filters a { font-size: .78rem; }
  .work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; padding-inline: 6px; }
  .work-tile { aspect-ratio: 1.23; }
  .tile-info { display: none; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 1rem; }
  .project-grid,.project-grid.image-projects,.project-grid.pack-projects { grid-template-columns: 1fr; }
  .case-dialog { width: calc(100% - 12px); max-height: 95svh; }
  .case-info { gap: .4rem; }
  .case-media video { height: min(47svh,460px); }
  .case-media img { max-height: min(48svh,460px); }
  .form-row { grid-template-columns: 1fr; }
}
@media(max-width:370px) {
  .work-tools { flex-wrap: wrap; }
  .work-tools .motion-toggle { margin-left: auto; }
}
@media(prefers-reduced-motion:reduce) {
  html:has(body.home) { scroll-snap-type: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.motion-off *, .motion-off *::after { transition: none !important; }
html.motion-off:has(body.home) { scroll-snap-type: none; }

/* Revisão V25. */
.brand-entering { overflow: hidden; }
.brand-intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--paper); }
.brand-intro img { width: clamp(180px,32vw,460px); height: auto; }
.whatsapp-float { position: fixed; right: max(22px,env(safe-area-inset-right)); bottom: max(22px,env(safe-area-inset-bottom)); z-index: 20; width: 56px; height: 56px; display: grid; place-items: center; background: white; color: black; border: 1px solid #000; border-radius: 50%; box-shadow: 0 3px 18px #00000012; }
.whatsapp-float:hover { transform: translateY(-2px); }
.has-modal .whatsapp-float { visibility: hidden; }
.studio-intro { max-width: 42ch; line-height: 1.5; letter-spacing: 0; }
.opening h1 { font-size: clamp(46px,6vw,94px); }
.values-header { text-align: center; padding-block: clamp(46px,5vw,80px) 38px; }
.values h1 { font-size: clamp(46px,5vw,78px); }
.values-header .lead { margin-inline: auto; font-size: clamp(16px,1.2vw,19px); }
.values-header .inline-link { font-size: .92rem; }
.offers-section { padding-bottom: clamp(36px,5vw,70px); }
.offers-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: 16px; row-gap: 0; max-width: 1280px; margin: auto; }
.offer-card { position: relative; display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; align-items: stretch; border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px,2.2vw,34px); }
.offer-card h2 { font-size: clamp(25px,2.3vw,34px); font-weight: 400; letter-spacing: var(--heading-tracking); line-height: 1.2; text-transform: none; }
.offer-purpose { margin-top: .9rem; font-size: .9rem; line-height: 1.55; }
.offer-price { font-size: clamp(32px,3.3vw,48px); line-height: 1.2; letter-spacing: -.045em; margin: 1.1rem 0 1.6rem; font-variant-numeric: tabular-nums; }
.offer-price small { display: block; margin-top: .3rem; font-size: .8rem; letter-spacing: normal; }
.offer-price-prefix { display: block; font-size: .83rem; letter-spacing: normal; }
.offer-primary { min-height: 48px; padding-inline: .6rem; font-size: .91rem; text-align: center; }
.offer-detail { min-height: 44px; margin-top: .4rem; font-size: .86rem; text-decoration: underline; text-underline-offset: .25em; }
.offer-includes { align-self: start; list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .85rem; }
.offer-includes li { position: relative; padding-left: 1.25rem; font-size: .92rem; }
.offer-includes li::before { content: '✓'; position: absolute; left: 0; }
.offer-notes { max-width: 94ch; margin: 1.5rem auto 0; font-size: .86rem; }
.offer-notes p + p { margin-top: .5rem; }
.anchor { display: block; scroll-margin-top: 85px; }
.comparison-section { padding-block: 25px 80px; }
.comparison-section h2 { font-size: clamp(30px,3vw,48px); text-transform: none; }
.comparison-intro { margin-block: .8rem 1.8rem; }
.comparison-scroll { overflow-x: auto; }
.comparison-section table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .92rem; }
.comparison-section th, .comparison-section td { text-align: left; vertical-align: top; padding: 1.15rem 1rem; border-bottom: 1px solid var(--line); width: 25%; min-width: 160px; }
.comparison-section th { font-weight: 500; }
.comparison-section thead th { padding-top: .5rem; padding-bottom: 1.5rem; }
.request-form .consent { grid-template-columns: 20px 1fr; gap: .7rem; align-items: start; font-size: .9rem; cursor: pointer; }
.request-form .consent input { width: 19px; min-height: 19px; margin: 3px 0 0; accent-color: black; }
.request-form small { font-size: .78rem; }
.privacy-note { max-width: 53ch; }
.privacy-note summary { min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: .25em; }
.privacy-note p { font-size: .9rem; margin-top: .9rem; }
.request-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.form-status { font-size: .9rem; overflow-wrap: anywhere; }
.followup { display: grid; justify-items: start; gap: .7rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.custom-section h2 { font-size: clamp(36px,4.6vw,74px); }
.custom-section { padding-bottom: 90px; }
.summary-price { letter-spacing: -.035em; }
.summary-dialog h2 { line-height: var(--heading-leading); }
@media(max-width:1000px) {
  .offers-grid { gap: 10px; }
  .offer-card { padding: 20px; }
}
@media(max-width:760px) {
  .offers-grid { grid-template-columns: 1fr; max-width: 510px; gap: 18px; }
  .offer-card { padding: 25px; }
  .offer-card h2 { font-size: 29px; }
  .offer-price { font-size: 42px; }
  .comparison-section th, .comparison-section td { min-width: 175px; }
  .comparison-section tbody th { position: sticky; left: 0; background: var(--paper); min-width: 145px; }
  .comparison-section table { min-width: 710px; }
}
@media(max-width:700px) {
  .opening h1 { font-size: clamp(40px,10.5vw,70px); }
  .statement h2 { font-size: clamp(32px,8.8vw,60px); }
  .whatsapp-float { bottom: max(16px,env(safe-area-inset-bottom)); right: max(16px,env(safe-area-inset-right)); width: 52px; height: 52px; }
  .contact-list { padding-right: 52px; }
  .contact-list a { overflow-wrap: anywhere; }
}

.offer-notes summary { min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: .25em; }
.offer-notes[open] p { margin-top: .7rem; }

.offer-card { scroll-margin-top: 85px; }
.offer-card > .anchor { position: absolute; top: 0; }
.compare-mobile-hint { display: none; }
@media(max-width:760px) {
  .compare-mobile-hint { display: block; font-size: .85rem; margin-bottom: .8rem; }
  .comparison-scroll { max-height: 70svh; overflow: auto; }
  .comparison-section thead th { position: sticky; top: 0; z-index: 3; background: var(--paper); }
  .comparison-section thead th:first-child { left: 0; z-index: 4; }
  .comparison-section th, .comparison-section td { min-width: 155px; padding-inline: .65rem; }
  .comparison-section tbody th, .comparison-section thead th:first-child { width: 135px; min-width: 135px; max-width: 135px; }
  .comparison-section table { table-layout: fixed; min-width: 600px; }
}

.work-tools .motion-toggle { margin-right: 70px; }
@media(max-width:700px) {
  .work-tools { display: grid; grid-template-columns: 1fr; justify-items: start; gap: 0; }
  .work-tools .motion-toggle { margin: 0; }
}

.offer-price, .summary-price, .price { font-family: var(--font-heading), sans-serif; }
