/* =========================================================
   Schemes Design Company · site
   Motion e estrutura baseados na análise em ANALISE-MOTION-this-design.md
   ========================================================= */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-latin-wght-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-latin-ext-wght-italic.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Paleta SDCO 2027: #0a0a0a · #1a1e1b · #f6231c · #d4ea34 · #f4ece9
     Fundo: preto com um leve tom do #1a1e1b (não é preto chapado, não é cinza) */
  --bg: #070707;
  --bg-deep: #000000;
  --surface: #1a1e1b;        /* botões e pílulas */
  --surface-hover: #262b27;
  --tag: #1a1e1b;
  --fg: #f4ece9;             /* off-white da marca no lugar do branco puro */
  --fg-muted: rgba(244, 236, 233, .42);
  --red: #f6231c;            /* só em detalhes: logo, selo, hover do CTA */
  --lime: #d4ea34;           /* reservado, uso pontual */
  --gap: 30px;
  --ease-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --case-bg: var(--bg);
  --case-fg: var(--fg);
  --case-tag-bg: var(--tag);
  --case-tag-fg: var(--fg);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--fg);
  font-family: "Inter", Arial, sans-serif; font-size: 16px; line-height: 1.4; letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; cursor: pointer; }
::selection { background: var(--red); color: var(--fg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- cabeçalho fixo ---------- */
#chrome { position: relative; z-index: 60; }
.logo {
  position: fixed; z-index: 60; top: 15px; left: 30px; height: 55px; display: flex; align-items: center;
  color: var(--red);
}
.logo svg { height: 40px; width: auto; display: block; }
.back { position: fixed; z-index: 60; top: 16px; left: 16px; width: 55px; height: 55px; }
.back svg rect { fill: var(--surface); transition: fill .3s; }
.back svg path { fill: var(--fg); }
.back:hover svg rect { fill: var(--surface-hover); }
.hdr-right { position: fixed; z-index: 60; top: 15px; right: 30px; display: flex; gap: 16px; }

.mode {
  display: none; width: 55px; height: 55px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--surface); transition: background .3s;
  padding: 0;
}
/* 9 pontinhos numa grade 3x3 de 20x9px */
.mode .dots { display: grid; width: 20px; height: 9px; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); }
.mode i { display: block; transition: background .3s; }
.mode:hover { background: var(--surface-hover); }
.mode[data-mode="grid"] i:nth-child(-n+3), .mode[data-mode="grid"] i:nth-child(n+7) { background: var(--fg); }
.mode[data-mode="list"] { background: var(--fg); }
.mode[data-mode="list"]:hover { background: #d6d7d1; }
.mode[data-mode="list"] i:nth-child(even) { background: var(--bg); }

.cta-pill {
  height: 46px; padding: 0 20px; border-radius: 999px; display: inline-flex; align-items: center; gap: 9px;
  background: var(--fg); color: var(--bg); font-size: 14px; font-weight: 600; line-height: 1; letter-spacing: -.01em;
  transition: background .3s, color .3s;
}
.cta-pill:hover { background: var(--red); color: var(--fg); }
.cta-pill .ico-wa { width: 18px; height: 18px; flex: none; }
.cta-pill .lg { display: none; }

@media (min-width: 768px) {
  .logo { top: 30px; left: 60px; }
  .logo svg { height: 52px; }
  .back { top: 32px; left: 32px; }
  .hdr-right { top: 30px; right: 60px; }
  .mode { display: flex; }
  .cta-pill { height: 55px; padding: 0 28px; }
  .cta-pill .lg { display: inline; }
  .cta-pill .sm { display: none; }
}

/* ---------- etiquetas ---------- */
.tags, .row-tags, .case-tags { display: flex; flex-wrap: wrap; }
.tags { overflow: hidden; height: 33px; }
.tag {
  position: relative; height: 33px; margin-right: 10px; padding: 0 14px; border-radius: 6px; overflow: hidden;
  display: inline-flex; align-items: center; flex: none; font-size: 12px; font-weight: 600; line-height: 1;
  transition: border-radius .5s;
}
.tag-bg { position: absolute; inset: 0; background: var(--tag); transition: opacity .5s; }
.tag-t { position: relative; }
.tag:hover { border-radius: 16px; }
.tag:hover .tag-bg { opacity: .5; }
.tag-flag .tag-t { color: var(--fg); }
.flag-star, .tag-flag .tag-t::first-letter { color: var(--red); }

/* ---------- home: frase de abertura ---------- */
.intro { height: 75vh; padding: 140px 30px 0; display: none; }
.headline {
  font-weight: 400; font-size: clamp(34px, 5.1vw, 112px); line-height: .98; letter-spacing: -.045em; max-width: 15.5em;
}
.headline strong { font-weight: 600; }
.headline sup { font-size: .4em; font-weight: 400; vertical-align: .95em; margin-right: .08em; }
.headline em { font-style: italic; font-weight: 700; letter-spacing: -.05em; }
.headline .br { font-weight: 300; }
.headline i { font-style: italic; font-weight: 300; letter-spacing: -.03em; }

/* ---------- home: mural ---------- */
.feed { display: none; }
.feed-pool, .feed-cols {
  display: grid; gap: var(--gap); padding: var(--gap); max-width: 154rem; margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.feed-cols { opacity: 0; transform: translateY(40px); }
.feed-col { will-change: transform; }
.feed-col-in { display: flex; flex-direction: column; gap: var(--gap); }
.feed-col-sp { padding: 0; }
.feed-col-sp.p5 { padding: 5%; }
.feed-col-sp.p10 { padding: 10%; }
@media (min-width: 1024px) { .feed-pool, .feed-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .feed-pool, .feed-cols { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1536px) { .feed-pool, .feed-cols { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1920px) { .feed-pool, .feed-cols { grid-template-columns: repeat(7, minmax(0, 1fr)); } }

/* ---------- card ---------- */
.card-wrap { position: relative; aspect-ratio: 3 / 5; }
.card { position: absolute; inset: 0; border-radius: 10px; overflow: hidden; background: var(--bg-deep); }
.card.is-opaque { background: rgba(0, 0, 0, .5); }
.card-clip {
  position: absolute; inset: 0; z-index: 10; pointer-events: none;
  clip-path: inset(0px 0px 0.001px 0.001px round 10px);
}
.card-clip img, .card-clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-flag { position: absolute; z-index: 11; top: 8px; left: 8px; }
.flag {
  display: inline-flex; align-items: center; gap: 5px; height: 33px; padding: 0 14px; border-radius: 6px;
  background: rgba(18, 18, 17, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 600;
}
.card-cap {
  position: absolute; left: 0; bottom: 0; width: 100%; padding: 16px 12px 12px;
  font-size: 24px; line-height: 1; opacity: 0; transform: translateY(50%);
}
.card-title { margin-top: 10px; pointer-events: none; }
.t { font-weight: 500; }
.ar { color: var(--fg-muted); font-weight: 300; }
.tl { color: var(--fg-muted); font-size: .9em; }
@media (min-width: 768px) { .card-cap { font-size: 2.5vw; } }
@media (min-width: 1024px) { .card-cap { font-size: 2vw; } }
@media (min-width: 1280px) { .card-cap { font-size: 1.5vw; } }
/* celular: legenda sempre visível */
@media (max-width: 767px) {
  .card-cap { opacity: 1; transform: none; }
}

/* ---------- modo lista ---------- */
.feed-list { padding: 128px 64px; display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; padding: 12px; border-radius: 8px; background: var(--bg); }
.row-img { width: 214px; height: 120px; border-radius: 8px; object-fit: cover; flex: none; }
.row-txt { max-width: 470px; padding: 0 16px; font-size: 30px; line-height: 1; }
.row-tags { margin-bottom: 10px; }

/* ---------- home no celular ---------- */
.feed-mobile { padding-top: 80px; }
.feed-mobile .swiper { padding: 0 0 0 0; }
.fm-slide { width: 90vw !important; height: calc(100dvh - 110px) !important; position: relative; flex-shrink: 0; }
.fm-slide > .card-wrap { position: absolute; top: 0; left: 12px; right: 0; height: 100%; aspect-ratio: auto; }
.fm-slide .card-cap { position: absolute; }
.fm-list-in { position: absolute; top: 0; left: 12px; right: 12px; height: 100%; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.fm-list .row { padding: 8px; }
.fm-list .row-img { width: 120px; height: 80px; }
.fm-list .row-txt { font-size: 20px; padding: 0 8px; }

@media (min-width: 768px) {
  .intro { display: block; padding: 176px 56px 0; }
  .feed { display: block; }
  .feed-mobile { display: none; }
}

/* ---------- página do case ---------- */
.case-hero { position: relative; width: 100%; height: 100dvh; overflow: hidden; background: var(--bg-deep); }
.case-hero > video, .case-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-logo { position: absolute; left: 50%; top: 50%; width: min(60vw, 720px); transform: translate(-50%, -50%); }
.case-intro { position: relative; z-index: 2; min-height: 100dvh; padding: 12px; display: flex; }
.case-card {
  width: 100%; max-width: 1440px; margin: 0 auto; border-radius: 24px; padding: 20px;
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
  background: var(--case-bg); color: var(--case-fg);
}
.case-card .tag-bg { background: var(--case-tag-bg); }
.case-card .tag-t { color: var(--case-tag-fg); }
.case-tags { gap: 0; row-gap: 8px; }
.case-cols { display: flex; flex-direction: column; gap: 24px; }
.case-lead { flex: 1; }
.case-lead.has-side { flex: 2; }
.case-lead > p { font-size: clamp(26px, 3vw, 46px); line-height: 1.1; letter-spacing: -.035em; }
.case-lead strong { font-weight: 600; }
.case-sub { margin-top: 28px; max-width: 640px; }
.case-sub p { font-size: 15px; line-height: 1.45; letter-spacing: 0; opacity: .78; }
.case-side { flex: 1; font-size: 14px; line-height: 1.45; font-style: italic; letter-spacing: 0; }
.case-side strong { font-style: normal; font-weight: 600; }
.case-rest { position: relative; }
.case-fade { position: relative; z-index: 10; height: 100dvh; background: linear-gradient(to bottom, transparent, var(--case-bg)); }
.case-body {
  position: relative; z-index: 10; background: var(--case-bg); color: var(--case-fg);
  padding: 10px 10px 20px; display: flex; flex-direction: column; gap: 10px;
}
.case-body > * { max-width: 2200px; width: 100%; margin: 0 auto; }
@media (min-width: 768px) {
  .case-intro { padding: 48px; }
  .case-card { padding: 80px 40px; }
  .case-cols { flex-direction: row; gap: 56px; }
}
@media (min-width: 1024px) { .case-card { padding: 80px 160px; } }

/* ---------- blocos ---------- */
.b-media { display: grid; gap: 10px; }
.m { position: relative; border-radius: 10px; overflow: hidden; background: rgba(0, 0, 0, .25); }
.m > img, .m > video { width: 100%; height: 100%; object-fit: cover; }
.m.r-169 { aspect-ratio: 16 / 9; } .m.r-45 { aspect-ratio: 4 / 5; } .m.r-54 { aspect-ratio: 5 / 4; }
.m.r-11 { aspect-ratio: 1; } .m.r-35 { aspect-ratio: 3 / 5; }
.l-cheia .m:not([class*="r-"]) { aspect-ratio: 16 / 9; }
.l-duas .m:not([class*="r-"]), .l-tres .m:not([class*="r-"]) { aspect-ratio: 4 / 5; }
.m-big { aspect-ratio: 4 / 5; }
@media (min-width: 768px) {
  .l-duas { grid-template-columns: 1fr 1fr; }
  .l-tres { grid-template-columns: repeat(3, 1fr); }
  .l-quatro { grid-template-columns: repeat(2, 1fr); }
  .l-grande-esquerda, .l-grande-direita { grid-template-columns: 1fr 1fr; }
  .l-grande-esquerda .m-big { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; }
  .l-grande-direita .m-big { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: auto; }
  .l-grande-direita .m:not(.m-big) { grid-column: 1; }
}
@media (min-width: 1024px) { .l-quatro { grid-template-columns: repeat(4, 1fr); } }

.b-text { max-width: 1440px !important; }
.b-text-in { border-radius: 10px; padding: 80px 20px; min-height: 500px; display: flex; flex-direction: column; gap: 20px; }
.b-text-in.one { justify-content: center; }
.b-text.is-abertura .b-text-in, .b-text.is-fechamento .b-text-in { min-height: 0; }
.b-text.is-abertura .b-text-in { padding-top: 140px; }
@media (min-width: 768px) {
  .b-text-in { padding: 70px 40px 48px; }
  .b-text-in.two { flex-direction: row; gap: 48px; }
  .b-text-in.one { padding: 128px 48px; }
  .b-text-in.two > * { flex: 1; }
  .l-larga-esquerda > .c1, .l-larga-direita > .c2 { flex: 2; }
  .b-text.is-abertura .b-text-in { padding-top: 176px; }
}
@media (min-width: 1024px) { .b-text-in.one { padding: 128px 64px; } }

.rte h1 { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.08; letter-spacing: -.04em; font-weight: 400; }
.rte h2 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -.03em; font-weight: 400; margin-bottom: 20px; }
.rte h1 strong, .rte h2 strong { font-weight: 600; }
.rte p { margin-bottom: 16px; }
.rte p:last-child, .rte h2:last-child { margin-bottom: 0; }
.rte .rotulo { font-size: 14px; margin-bottom: 14px; }
.rte .assinatura { font-size: 14px; line-height: 1.35; }
.rte .lista { list-style: none; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.35; letter-spacing: -.02em; }
.rte a { position: relative; font-weight: 600; display: inline-block; }
.rte a::after {
  content: ""; position: absolute; left: 0; bottom: -.08em; width: 100%; border-bottom: .06em solid;
  transform: scaleX(0); transform-origin: 100% 0; transition: transform .5s;
}
.rte a:hover::after { transform: scaleX(1); transform-origin: 0 0; }
.rotulo { font-size: 14px; }

.b-slider { max-width: 1440px !important; overflow: hidden; }
.b-slider .swiper-slide { width: 40%; margin: 0 5px; }
@media (max-width: 767px) { .b-slider .swiper-slide { width: 80%; } }

.b-video { max-width: 1440px !important; }
.unmute { position: absolute; z-index: 2; left: 20px; bottom: 20px; width: 26px; height: 19px; color: var(--fg); }
.unmute svg { width: 100%; height: 100%; overflow: visible; }
.unmute .x, .unmute .w { transition: opacity .3s, transform .3s; }
.unmute .w { opacity: 0; transform: translateX(-50%); }
.unmute.on .x { opacity: 0; transform: translateX(50%); }
.unmute.on .w { opacity: 1; transform: none; }

.b-related { max-width: 1440px !important; }
.rel-head { display: flex; justify-content: space-between; align-items: center; padding: 40px 20px 20px; }
.rel-head h2 { font-size: 24px; font-weight: 400; letter-spacing: -.02em; }
.pill {
  display: none; padding: 18px 26px 17px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1;
  background: var(--case-tag-bg); color: var(--case-tag-fg); transition: opacity .3s;
}
.pill:hover { opacity: .8; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 10px 0; color: var(--fg); }
@media (min-width: 768px) { .rel-head { padding: 70px 20px 20px; } .pill { display: inline-flex; } }
@media (max-width: 767px) { .rel-grid { grid-template-columns: 1fr 1fr; } .rel-grid .card-wrap:nth-child(3) { display: none; } }

.sobre-body { padding: 10px 10px 0; display: flex; flex-direction: column; gap: 10px; }
.sobre-body > * { max-width: 1440px; width: 100%; margin: 0 auto; }
.sobre-body .b-media { max-width: 2200px; }

/* revelação dos blocos: 1s easeOutQuart, mídia assenta de 105% para 100% */
.reveal { opacity: 0; transition: opacity 1s var(--ease-quart); }
.reveal .m > img, .reveal .m > video { transform: scale(1.05); transition: transform 1s var(--ease-quart); }
.reveal.in { opacity: 1; }
.reveal.in .m > img, .reveal.in .m > video { transform: none; }

/* ---------- rodapé ---------- */
.ftr { position: relative; z-index: 10; background: var(--bg); padding: 0 30px 24px; }
.ftr-cta {
  display: inline-flex; align-items: center; gap: .18em; padding: 112px 0 96px;
  font-size: clamp(48px, 9vw, 168px); line-height: 1; letter-spacing: -.055em; font-weight: 400;
  transform-origin: left center; transition: transform .3s;
}
.ftr-cta em { font-style: italic; font-weight: 300; }
.ftr-cta .ico-arrow { width: .62em; height: .62em; color: var(--fg); transition: color .3s, transform .3s; }
.ftr-cta:hover { transform: scale(1.05); }
.ftr-cta:hover .ico-arrow { color: var(--red); transform: translate(.04em, -.04em); }
.ftr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 56px; }
.ftr-grid .rotulo { color: var(--fg-muted); margin-bottom: 6px; }
.ftr-grid a { transition: opacity .3s; }
.ftr-grid a:hover { opacity: .6; }
.ftr-copy { font-size: 14px; color: var(--fg-muted); }
.ftr-copy strong { color: var(--fg); font-weight: 600; }
@media (min-width: 768px) { .ftr { padding: 0 60px 30px; } .ftr-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- troca de página: cortina que sobe (1s, power3.inOut) ---------- */
::view-transition-group(root) { animation-duration: 1s; }
::view-transition-old(root) {
  z-index: 2; mix-blend-mode: normal;
  animation: cortina 1s cubic-bezier(0.645, 0.045, 0.355, 1) both;
}
::view-transition-new(root) { z-index: 1; mix-blend-mode: normal; animation: none; }
@keyframes cortina { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); } }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root) { animation: none; }
  .reveal, .reveal .m > img, .reveal .m > video { transition: none; }
}

/* ---------- ficha do case ---------- */
.case-ficha { flex: 1; display: flex; flex-direction: column; gap: 14px; font-size: 14px; line-height: 1.4; letter-spacing: 0; }
.case-ficha dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .6; margin-bottom: 2px; }
.case-ficha dd { font-weight: 500; }
.case-ficha ul { list-style: none; }
.case-ficha li { padding: 5px 0; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); font-weight: 400; }
.case-ficha li:last-child { border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
@media (min-width: 768px) { .case-ficha { max-width: 320px; } }

/* ---------- foto + texto (Sobre) ---------- */
.b-foto-texto { display: grid; gap: 10px; max-width: 1440px !important; align-items: stretch; }
.b-foto-texto .m { max-height: 92dvh; }
.b-foto-texto .m > img { object-position: 50% 30%; }
.ft-txt { border-radius: 10px; padding: 48px 20px; display: flex; flex-direction: column; justify-content: flex-end; }
.ft-txt p:not(.rotulo) { max-width: 520px; color: var(--fg-muted); font-size: 16px; line-height: 1.5; }
.dupla { display: flex; gap: 40px; margin-top: 36px; }
.dupla dt { font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.dupla dd { color: var(--fg-muted); font-size: 14px; }
@media (min-width: 768px) {
  .b-foto-texto { grid-template-columns: 5fr 7fr; }
  .b-foto-texto .m { aspect-ratio: 4 / 5 !important; max-height: none; }
  .ft-txt { padding: 48px 40px; }
}

/* ---------- logo do rodapé ---------- */
.ftr-bottom { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.ftr-logo { display: block; color: var(--red); transition: opacity .3s; }
.ftr-logo svg { height: 56px; width: auto; display: block; }
.ftr-logo:hover { opacity: .75; }
@media (min-width: 768px) { .ftr-bottom { flex-direction: row; align-items: flex-end; justify-content: space-between; } .ftr-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- home: linha de busca, serviços e perguntas ---------- */
.kicker { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--fg-muted); margin-bottom: 22px; max-width: 34em; }
@media (max-width: 767px) {
  .intro { display: block; height: auto; padding: 78px 20px 0; }
  .intro .headline { display: none; }
  .kicker { margin-bottom: 12px; font-size: 13px; }
  .feed-mobile { padding-top: 0; }
  .fm-slide { height: calc(100dvh - 140px) !important; }
}
.home-servicos, .home-faq { position: relative; z-index: 5; background: var(--bg); padding: 96px 20px 0; }
.hs-in { max-width: 1440px; margin: 0 auto; }
.home-servicos h2, .home-faq h2 { font-size: clamp(30px, 4vw, 64px); font-weight: 400; letter-spacing: -.04em; line-height: 1.02; margin: 14px 0 48px; max-width: 14em; }
.home-servicos .rotulo { color: var(--fg-muted); }
.hs-lista { border-top: 1px solid rgba(244, 236, 233, .14); }
.hs-linha { display: grid; gap: 18px; padding: 28px 0 32px; border-bottom: 1px solid rgba(244, 236, 233, .14); }
.hs-tit { display: flex; align-items: baseline; gap: 14px; }
.hs-num { font-size: 13px; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.hs-tit h3 { font-size: clamp(34px, 5vw, 84px); font-weight: 400; letter-spacing: -.045em; line-height: .98; transition: color .4s, transform .6s cubic-bezier(.2,.7,.2,1); }
.hs-caixa { background: var(--surface); border-radius: 10px; padding: 22px 22px 24px; }
.hs-caixa p { color: var(--fg-muted); font-size: 15px; line-height: 1.5; }
.hs-caixa .hs-sub { color: var(--fg); font-weight: 500; margin-bottom: 8px; }
.hs-caixa ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.hs-caixa li { font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(244, 236, 233, .18); color: var(--fg); }
/* mini-apresentação que segue o mouse */
.hs-preview { position: fixed; left: 0; top: 0; z-index: 60; width: 320px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; pointer-events: none; opacity: 0; transform: scale(.6); background: var(--surface); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.hs-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 14px 22px; border-radius: 999px; background: var(--fg); color: var(--bg); font-weight: 500; transition: background .3s, color .3s; }
.hs-cta .ico-wa { width: 18px; height: 18px; }
.hs-cta:hover { background: var(--red); color: var(--fg); }
.home-faq { padding-bottom: 120px; }
.faq-list { border-top: 1px solid rgba(244, 236, 233, .14); }
.faq-q { border-bottom: 1px solid rgba(244, 236, 233, .14); }
.faq-q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; }
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q h3 { font-size: clamp(18px, 1.6vw, 24px); font-weight: 400; letter-spacing: -.02em; }
.faq-mais { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-mais::before, .faq-mais::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--fg); transition: transform .3s; }
.faq-mais::after { transform: rotate(90deg); }
.faq-q[open] .faq-mais::after { transform: rotate(0); }
.faq-q p { color: var(--fg-muted); max-width: 720px; font-size: 16px; line-height: 1.5; padding-bottom: 26px; }
@media (min-width: 768px) {
  .home-servicos, .home-faq { padding-left: 56px; padding-right: 56px; padding-top: 140px; }
  .hs-linha { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: start; padding: 44px 0 48px; cursor: default; }
  .hs-caixa { padding: 28px 28px 30px; max-width: 560px; justify-self: end; width: 100%; }
  .hs-linha:hover .hs-tit h3 { color: var(--red); transform: translateX(14px); }
}
@media (max-width: 1023px) and (min-width: 768px) {
  .hs-linha { grid-template-columns: 1fr; }
  .hs-caixa { justify-self: start; }
}

/* ---------- título do case ---------- */
.case-h1 { font-size: 13px; font-weight: 500; letter-spacing: 0; line-height: 1.4; opacity: .7; max-width: 46em; }

/* ---------- palavra que troca no título ---------- */
.headline .rot { display: inline-block; position: relative; white-space: nowrap; vertical-align: baseline; }
.headline .rot-w { display: inline-block; line-height: 1; padding-right: .06em; }
.headline .rot-sai { position: absolute; left: 0; bottom: 0; }
@media (min-width: 768px) {
  .headline { max-width: none; }
  .headline .hl { display: block; white-space: nowrap; }
}
/* linhas do título travadas: a palavra que troca não mexe na altura da linha */
@media (min-width: 768px) {
  .headline .hl { height: .98em; }
  .headline .rot, .headline .rot-w { line-height: 0; }
}

/* mãozinha da marca que acompanha o cursor no título */
.mao-cursor { position: fixed; left: 0; top: 0; z-index: 70; width: 120px; pointer-events: none; opacity: 0; transform-origin: 30% 80%; will-change: transform; }
.mao-cursor img { display: block; width: 100%; height: auto; }
@media (min-width: 768px) { .intro .headline { width: fit-content; } }

/* ---------- aviso de cookies ---------- */
.cookies { position: fixed; z-index: 80; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 14px; padding: 18px 18px 16px; border-radius: 12px; background: var(--surface); color: var(--fg); box-shadow: 0 20px 60px rgba(0,0,0,.5); font-size: 14px; line-height: 1.45; opacity: 0; transform: translateY(16px); transition: opacity .35s, transform .35s; }
.cookies.is-on { opacity: 1; transform: none; }
.cookies[hidden] { display: none; }
.cookies p { color: var(--fg-muted); }
.cookies a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.cookies-bts { display: flex; gap: 8px; }
.cookies-bts button { font: inherit; font-weight: 600; padding: 10px 18px; border-radius: 999px; cursor: pointer; border: 1px solid rgba(244, 236, 233, .3); background: transparent; color: var(--fg); transition: background .3s, color .3s; }
.cookies-bts .ck-sim { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.cookies-bts .ck-sim:hover { background: var(--red); color: var(--fg); border-color: var(--red); }
.cookies-bts .ck-nao:hover { border-color: var(--fg); }
@media (min-width: 768px) {
  .cookies { left: auto; right: 24px; bottom: 24px; max-width: 420px; }
}

/* ---------- botão de voltar ao topo ---------- */
.topo { position: fixed; z-index: 55; right: 20px; bottom: 20px; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--surface); color: var(--fg); opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: opacity .35s, transform .35s, background .3s; }
.topo svg { width: 20px; height: 20px; }
.topo.is-on { opacity: 1; transform: none; pointer-events: auto; }
.topo:hover { background: var(--red); }
@media (min-width: 768px) { .topo { right: 30px; bottom: 30px; width: 56px; height: 56px; } }

/* ---------- rodapé: privacidade ---------- */
.ftr-legal { font-size: 13px; color: var(--fg-muted); }
.ftr-legal a, .ftr-cookies { color: var(--fg-muted); text-decoration: underline; text-underline-offset: 3px; }
.ftr-cookies { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.ftr-legal a:hover, .ftr-cookies:hover { color: var(--fg); }

/* ---------- página de privacidade ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: 140px 20px 60px; }
.legal h1 { font-size: clamp(36px, 5vw, 72px); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.lg-data { color: var(--fg-muted); font-size: 14px; margin: 18px 0 48px; }
.lg-sec { padding: 28px 0; border-top: 1px solid rgba(244, 236, 233, .14); }
.lg-sec h2 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 12px; }
.lg-sec p, .lg-sec li { color: var(--fg-muted); font-size: 16px; line-height: 1.6; }
.lg-sec p + p { margin-top: 12px; }
.lg-sec ul { padding-left: 18px; display: grid; gap: 8px; }
.lg-pref { padding-top: 24px; }
.lg-pref .hs-cta { border: 0; cursor: pointer; font: inherit; font-weight: 500; }

/* ---------- home: linha do serviço que abre a página ---------- */
a.hs-linha { color: inherit; text-decoration: none; cursor: pointer; }
.hs-ver { display: inline-flex; gap: 6px; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--fg); }
.hs-linha.is-link:hover .hs-ver { color: var(--red); }
@media (min-width: 768px) { .hs-linha.is-link { cursor: pointer; } }

/* ---------- página de serviço ---------- */
.sv { padding-top: 96px; }
.sv-slider { overflow: hidden; }
.sv-slider .swiper-wrapper { transition-timing-function: linear !important; }
.sv-slide { width: 56vw; max-width: 340px; }
.sv-topo { padding: 64px 20px 0; max-width: 1440px; margin: 0 auto; }
.sv-topo .rotulo { color: var(--fg-muted); }
.sv-topo h1 { font-size: clamp(54px, 11vw, 190px); font-weight: 400; letter-spacing: -.06em; line-height: .9; margin: 10px 0 36px; }
.sv-topo-grid { display: grid; gap: 28px; }
.sv-linha { font-size: clamp(24px, 2.6vw, 40px); letter-spacing: -.03em; line-height: 1.1; max-width: 16em; }
.sv-intro { color: var(--fg-muted); font-size: 17px; line-height: 1.55; max-width: 620px; }
.sv-sec { padding: 110px 20px 0; max-width: 1440px; margin: 0 auto; }
.sv-sec > h2, .sv-faq h2 { font-size: clamp(34px, 5vw, 80px); font-weight: 400; letter-spacing: -.045em; line-height: 1; margin-bottom: 44px; }

.sv-cen { display: grid; gap: 10px; }
.sv-cen-i { background: var(--surface); border-radius: 10px; padding: 26px 24px 30px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.sv-n { font-size: 13px; color: var(--red); font-variant-numeric: tabular-nums; margin-bottom: auto; }
.sv-cen-i h3 { font-size: 24px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; margin-top: 28px; }
.sv-cen-i p { color: var(--fg-muted); font-size: 16px; line-height: 1.45; }

.sv-bento { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.sv-b { position: relative; margin: 0; border-radius: 10px; overflow: hidden; background: var(--surface); min-height: 220px; display: flex; align-items: flex-end; }
.sv-b img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-quart); }
.sv-b:hover img { transform: scale(1.04); }
.sv-b.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,0) 62%); }
.sv-b figcaption { position: relative; z-index: 1; padding: 18px 18px 20px; }
.sv-b h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.sv-b p { font-size: 14px; line-height: 1.45; color: rgba(244, 236, 233, .78); max-width: 30em; }
.sv-b.is-destaque { background: var(--red); }
.sv-b.is-destaque p { color: var(--fg); }
.sv-b-grande, .sv-b-largo { grid-column: span 2; min-height: 320px; }

.sv-etapas { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid rgba(244, 236, 233, .14); }
.sv-et { display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; padding: 26px 0 30px; border-bottom: 1px solid rgba(244, 236, 233, .14); }
.sv-et-n { grid-row: span 2; font-size: 14px; color: var(--red); font-variant-numeric: tabular-nums; padding-top: 6px; }
.sv-et h3 { font-size: 26px; font-weight: 400; letter-spacing: -.03em; }
.sv-et p { color: var(--fg-muted); font-size: 16px; line-height: 1.5; max-width: 560px; }
.sv-faq { padding-bottom: 0; }

.sv-final { padding: 120px 20px 40px; }
.sv-final-in { max-width: 1440px; margin: 0 auto; border-radius: 14px; background: var(--surface); padding: 56px 24px 52px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.sv-final h2 { font-size: clamp(34px, 5.5vw, 88px); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.sv-final p { color: var(--fg-muted); font-size: 17px; line-height: 1.5; max-width: 560px; }
.sv-final .hs-cta { margin-top: 10px; }

@media (min-width: 768px) {
  .sv { padding-top: 110px; }
  .sv-slide { width: 300px; }
  .sv-topo { padding: 90px 56px 0; }
  .sv-topo-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .sv-sec { padding: 160px 56px 0; }
  .sv-cen { grid-template-columns: repeat(3, 1fr); }
  .sv-bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; }
  .sv-b { min-height: 0; }
  .sv-b-grande { grid-column: span 2; grid-row: span 2; }
  .sv-b-largo { grid-column: span 2; }
  .sv-b h3 { font-size: 26px; }
  .sv-etapas { grid-template-columns: repeat(3, 1fr); column-gap: 40px; border-top: 0; }
  .sv-et { grid-template-columns: 1fr; border-bottom: 0; border-top: 1px solid rgba(244, 236, 233, .14); padding: 22px 0 46px; }
  .sv-et-n { grid-row: auto; font-size: 64px; letter-spacing: -.05em; line-height: 1; padding: 0 0 26px; }
  .sv-final { padding: 160px 56px 40px; }
  .sv-final-in { padding: 100px 40px 96px; }
}

/* bento: nos blocos pequenos a legenda fica embaixo da imagem, sem texto em cima de arte */
.sv-b.has-img:not(.sv-b-grande):not(.sv-b-largo) { flex-direction: column; align-items: stretch; }
.sv-b.has-img:not(.sv-b-grande):not(.sv-b-largo) img { position: relative; inset: auto; flex: 1 1 auto; min-height: 150px; height: auto; }
.sv-b.has-img:not(.sv-b-grande):not(.sv-b-largo)::after { display: none; }
.sv-b.has-img:not(.sv-b-grande):not(.sv-b-largo) figcaption { padding: 14px 16px 16px; }
.sv-b.has-img:not(.sv-b-grande):not(.sv-b-largo) h3 { font-size: 19px; }
@media (min-width: 768px) { .sv-bento { grid-auto-rows: 330px; } }

/* "É pra você se…": o quadro acende vermelho no hover, com texto escuro */
.sv-cen-i { transition: background-color .35s var(--ease-quart); }
.sv-cen-i h3, .sv-cen-i p, .sv-n { transition: color .35s var(--ease-quart); }
@media (hover: hover) {
  .sv-cen-i:hover { background: var(--red); }
  .sv-cen-i:hover h3, .sv-cen-i:hover p, .sv-cen-i:hover .sv-n { color: #0b0b0b; }
}

/* ---------- menu (modo lista): serviços, estúdio e contato antes dos projetos ---------- */
.mn { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; padding: 8px 12px 56px; margin-bottom: 24px; border-bottom: 1px solid rgba(244, 236, 233, .14); }
.mn .rotulo { color: var(--fg-muted); margin-bottom: 18px; }
.mn-serv ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 40px; }
.mn-serv a { display: flex; align-items: baseline; gap: 14px; padding: 8px 0; font-size: 30px; line-height: 1.1; letter-spacing: -.03em; color: var(--fg); text-decoration: none; transition: color .25s; }
.mn-n { font-size: 13px; color: var(--red); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.mn-serv a:hover, .mn-link:hover { color: var(--red); }
.mn-lado { display: flex; flex-direction: column; align-items: flex-start; }
.mn-link { padding: 8px 0; font-size: 30px; line-height: 1.1; letter-spacing: -.03em; color: var(--fg); text-decoration: none; transition: color .25s; }
.mn-wa { margin-top: 28px; }
.mn-proj { color: var(--fg-muted); padding: 0 12px; }
@media (max-width: 1100px) { .mn { grid-template-columns: 1fr; } .mn-serv a, .mn-link { font-size: 24px; } }
.sv-b video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sv-b.has-img:not(.sv-b-grande):not(.sv-b-largo) video { position: relative; inset: auto; flex: 1 1 auto; min-height: 150px; height: auto; }

/* ---------- matriz da engenharia de cardápio ---------- */
.sv-mat-top { display: grid; gap: 20px; margin-bottom: 44px; }
.sv-mat-top h2 { font-size: clamp(34px, 5vw, 80px); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.sv-mat-top p { color: var(--fg-muted); font-size: 17px; line-height: 1.55; max-width: 620px; }
.sv-mat-grid { display: grid; grid-template-columns: 28px 1fr 1fr; grid-template-rows: auto 1fr 1fr; gap: 10px; }
.sv-ax { font-size: 13px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: .06em; }
.sv-ax-x { padding: 0 4px 4px; }
.sv-ax-y { writing-mode: vertical-rl; transform: rotate(180deg); align-self: center; justify-self: center; }
.sv-q { background: var(--surface); border-radius: 10px; padding: 22px 20px 26px; display: flex; flex-direction: column; gap: 10px; min-height: 230px; transition: background-color .35s var(--ease-quart); }
.sv-q h3 { font-size: clamp(24px, 2.6vw, 40px); font-weight: 400; letter-spacing: -.04em; line-height: 1; margin-bottom: auto; padding-bottom: 28px; }
.sv-q-r { font-size: 17px; font-weight: 500; line-height: 1.3; }
.sv-q-a { color: var(--fg-muted); font-size: 15px; line-height: 1.45; }
.sv-q h3, .sv-q p { transition: color .35s var(--ease-quart); }
@media (hover: hover) {
  .sv-q:hover { background: var(--red); }
  .sv-q:hover h3, .sv-q:hover p { color: #0b0b0b; }
}
@media (min-width: 768px) {
  .sv-mat-top { grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; }
  .sv-mat-grid { grid-template-columns: 40px 1fr 1fr; }
  .sv-q { min-height: 280px; padding: 28px 28px 32px; }
}
/* quadro grande sem imagem e em destaque (ex.: relatório) */
.sv-b.sv-b-grande.is-destaque h3 { font-size: clamp(30px, 3.4vw, 54px); font-weight: 400; letter-spacing: -.04em; line-height: 1; margin-bottom: 14px; }
.sv-b.sv-b-grande.is-destaque p { font-size: 17px; max-width: 26em; }
.sv-b.sv-b-grande.is-destaque figcaption { padding: 28px; }
