@charset "UTF-8";

:root {
  --paper: #f6f4ee;
  --sand: #e4e1d8;
  --line: #dcd9d0;
  --ink: #121211;
  --muted: #5f5d57;
  --warm-gray: #8c8a82;
  --focus: #ffb21e;
  --dark-line: #2e2e2b;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;
  --brand: 'Quicksand', var(--sans);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
a:hover { color: var(--muted); }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
img, video { max-width: 100%; }
img { display: block; }
h1, h2, h3, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
.container { max-width: 1248px; margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 104px; }
.border-top { border-top: 1px solid var(--line); }
.sand { background: var(--sand); }
.dark { background: var(--ink); color: var(--paper); }
.muted { color: var(--muted); }
.dark .muted { color: #c9c6bd; }
.eyebrow { margin-bottom: 16px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dark .eyebrow { color: #a6a39a; }
.display { font-family: var(--display); font-size: clamp(32px, 4vw, 52px); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; }
.display-small { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; }
.text-flow > * + * { margin-top: 16px; }
.copy { color: #3a3935; max-width: 680px; margin-top: 24px; }
.accent { color: var(--focus); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 15px 26px; border: 1.5px solid transparent; border-radius: 999px; font-weight: 600; text-decoration: none; transition: background .18s, color .18s, transform .18s; line-height: 1.55; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: #34332d; color: var(--paper); }
.button-outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--sand); color: var(--ink); }
.button-yellow { background: var(--focus); color: var(--ink); }
.button-yellow:hover { background: #ffc34a; color: var(--ink); }
.button-light-outline { border-color: var(--paper); background: transparent; color: var(--paper); }
.button-light-outline:hover { background: var(--paper); color: var(--ink); }
.skip-link { position: absolute; top: -80px; left: 20px; z-index: 50; padding: 12px 20px; background: var(--focus); color: var(--ink); border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* Navegação */
.site-header { border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 18px; flex-wrap: wrap; }
.logo { text-decoration: none; display: flex; align-items: center; flex-shrink: 0; }
.logo img { width: auto; height: 40px; }
.nav-links { display: flex; align-items: center; gap: 8px 28px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.nav-links > a { padding: 10px 0; text-decoration: none; white-space: nowrap; }
.nav-links > .button { padding: 11px 20px; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); }
.nav-toggle svg { display: block; width: 22px; height: 22px; }

/* Abertura */
.hero { display: flex; align-items: center; gap: 56px; flex-wrap: wrap; padding-block: 96px 104px; }
.hero-copy { flex: 999 1 560px; min-width: 0; }
.hero .eyebrow { margin-bottom: 20px; }
.hero h1 { font: 800 clamp(44px, 6vw, 84px)/.98 var(--display); letter-spacing: -.035em; }
.hero-lead { margin-top: 28px; max-width: 620px; font-size: 20px; line-height: 1.5; color: #3a3935; }
.hero-art { flex: 1 1 320px; display: flex; justify-content: center; }
.signal { width: 100%; max-width: 380px; background: var(--ink); border-radius: 28px; padding: 40px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.signal span { aspect-ratio: 1; border-radius: 50%; background: var(--warm-gray); }
.signal .lit { background: var(--focus); box-shadow: 0 0 0 6px rgb(255 178 30 / 30%); }

/* A Huma e clientes */
.split { display: flex; flex-wrap: wrap; gap: 48px 72px; }
.split > * { flex: 1 1 420px; min-width: 0; }
.about-intro { padding-block: 104px 56px; }
.fit-wrap { padding-bottom: 40px; }
.fit { padding: 40px; border-radius: 20px; display: flex; gap: 32px 56px; flex-wrap: wrap; }
.fit > * { flex: 1 1 340px; min-width: 0; }
.fit h3 { font: 800 32px/1.25 var(--display); letter-spacing: -.02em; }
.fit .fit-sentence { font: 700 22px/1.3 var(--display); margin-top: 4px; }
.fit .fit-logic { margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 10px; }
.chips li { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 500; }
.dark .chips li { border-color: #3a3a37; }
.clients { padding-block: 40px 80px; }
.clients .eyebrow { margin-bottom: 6px; }
.clients-description { font-size: 15px; color: var(--muted); margin-bottom: 24px; }
.clients-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.client-name { height: 112px; display: flex; justify-content: center; align-items: center; border: 1px solid var(--dark-line); border-radius: 20px; background: var(--ink); }
.client-logo { display: block; width: min(100% - 32px, 260px); height: 68px; object-fit: contain; }
.belief { padding-block: 96px; }
.belief .split > :first-child { flex-basis: 380px; }
.belief .text-flow > * + * { margin-top: 20px; }
.services .display { max-width: 820px; }
.services .chips { margin-top: 40px; }

/* Marca, unidade e metodologia */
.organization .display { margin-bottom: 48px; }
.brand-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.brand-card { border: 1px solid var(--line); background: #fff; border-radius: 20px; padding: 32px; }
.brand-card img { height: 36px; width: auto; margin-top: -4px; }
.brand-card > p:first-of-type:not(.brand-word) { margin-top: 20px; }
.brand-card > p + p { margin-top: 8px; }
.brand-word { font: 700 32px/1 var(--brand); letter-spacing: -.025em; }
.cell-c { display: inline-block; position: relative; }
.cell-c::after { content: ''; position: absolute; left: 66%; top: 53%; width: .15em; height: .15em; border-radius: 50%; background: var(--focus); transform: translate(-50%, -50%); }
.brand-card .brand-word + p { margin-top: 20px; }
.alma .display { max-width: 760px; margin-bottom: 56px; }
.alma-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--dark-line); border-radius: 20px; overflow: hidden; background: var(--dark-line); }
.alma-card { padding: 32px 28px 36px; background: var(--ink); }
.alma-letter { font: 700 56px/1 var(--brand); }
.alma-card h3 { margin-top: 20px; font: 700 24px/1.3 var(--display); letter-spacing: -.01em; }
.alma-card p:last-child { margin-top: 12px; font-size: 16px; color: #c9c6bd; }
.cell { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.cell-copy { flex: 999 1 520px; min-width: 0; }
.cell-copy > .brand-word { font-size: 44px; }
.cell-copy .display { margin-top: 24px; }
.cell-copy .copy { max-width: 620px; }
.cell-copy .copy + .copy { margin-top: 16px; }
.agent-wrap { flex: 1 1 340px; display: flex; justify-content: center; }
.agent-card { max-width: 400px; width: 100%; padding: 28px; border-radius: 20px; display: flex; flex-direction: column; gap: 20px; }
.agent-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.agent-head .brand-word { font-size: 22px; }
.agent-state { font-size: 13px; color: #c9c6bd; display: flex; gap: 8px; align-items: center; }
.agent-state::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--focus); }
.agent-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #a6a39a; }
.agent-card h3 { margin-top: 8px; font: 700 26px/1.3 var(--display); letter-spacing: -.01em; }
.agent-description { margin-top: 8px; font-size: 15px; color: #c9c6bd; }
.agent-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 16px; border-top: 1px solid var(--dark-line); font-size: 14px; }
.agent-facts dt { color: #a6a39a; }
.agent-facts dd { margin: 2px 0 0; font-weight: 600; }
.agent-facts { margin: 0; }
.agent-caption { font-size: 12px; color: #a6a39a; }

/* Interseção */
.difference .display { max-width: 900px; }
.difference .copy { margin-bottom: 48px; }
.difference-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.difference-card { border-top: 2px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.icon-circle { width: 52px; height: 52px; border-radius: 50%; background: var(--paper); display: flex; justify-content: center; align-items: center; }
.icon-circle svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.difference-card h3 { font: 700 22px/1.3 var(--display); }
.difference-card p { color: #3a3935; }

/* Manifesto e conteúdo */
.manifesto { padding-block: 120px; }
.manifesto .eyebrow { margin-bottom: 24px; }
.manifesto video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; background: var(--ink); margin-bottom: 48px; }
.manifesto details { max-width: 860px; }
.manifesto summary { padding: 12px 0; font-weight: 600; cursor: pointer; }
.manifesto-copy { font: 600 clamp(22px, 2.4vw, 30px)/1.35 var(--display); letter-spacing: -.01em; padding-top: 16px; }
.manifesto-copy p + p { margin-top: 24px; }
.manifesto-copy p:last-child { margin-top: 32px; font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; }
.content .display { max-width: 820px; margin-bottom: 48px; }
.territories { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.territory { display: flex; flex-direction: column; gap: 12px; min-height: 228px; padding: 24px; text-align: left; color: var(--ink); border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: border-color .18s, transform .18s; }
.territory:hover { border-color: var(--ink); transform: translateY(-3px); }
.territory-number { font-size: 13px; font-weight: 600; color: var(--muted); }
.territory-name { font: 700 22px/1.15 var(--display); }
.territory-themes { margin-top: auto; font-size: 14px; color: #3a3935; }

/* Contato e páginas complementares */
.contact { padding-block: 112px 64px; }
.contact .display { max-width: 900px; font-size: clamp(36px, 5vw, 68px); line-height: 1; letter-spacing: -.035em; }
.contact-lead { margin-top: 28px; max-width: 620px; font-size: 19px; color: #c9c6bd; }
.site-footer { margin-top: 96px; padding-top: 32px; border-top: 1px solid var(--dark-line); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; font-size: 14px; color: #a6a39a; }
.site-footer img { width: auto; height: 36px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding-block: 40px; }
.page-intro { padding-block: 88px 60px; }
.page-intro .display { max-width: 880px; }
.page-intro .muted { max-width: 680px; margin-top: 24px; }
.back-link { display: inline-block; margin-bottom: 32px; text-decoration: none; font-size: 15px; }
.portfolio-note { padding: 32px; border: 1px solid var(--line); border-radius: 20px; margin-top: 40px; }
.portfolio-note h2 { font: 700 28px/1.2 var(--display); margin-bottom: 12px; }

/* Diálogos nativos acessíveis */
dialog { width: min(620px, calc(100% - 40px)); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 24px; padding: 40px; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: rgb(18 18 17 / 65%); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; right: 16px; top: 16px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: transparent; display: grid; place-items: center; }
.dialog-close svg { width: 18px; height: 18px; }
dialog h2 { font: 800 34px/1.08 var(--display); letter-spacing: -.02em; margin-block: 12px 24px; }
dialog .eyebrow { padding-right: 32px; }
dialog p + p { margin-top: 16px; }
dialog .chips { margin-top: 28px; }

@media (max-width: 1100px) {
  .nav-links { gap: 8px 18px; }
  .territories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { gap: 40px; }
  .hero-copy { flex-basis: 500px; }
  .hero-art { flex-basis: 280px; }
  .signal { padding: 32px; gap: 14px; }
}
@media (max-width: 999px) {
  html { scroll-padding-top: 88px; }
  .site-header { position: sticky; top: 0; z-index: 30; background: var(--paper); }
  .nav { gap: 12px; padding-block: 12px; min-height: 68px; position: relative; }
  .logo img { height: 32px; }
  .js .nav-toggle { display: block; }
  .nav-links { width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; width: 100%; max-height: calc(100dvh - 80px); overflow-y: auto; padding: 12px 24px 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgb(18 18 17 / 8%); }
  .js .nav-links.is-open { display: flex; }
  .nav-links > a:not(.button) { padding: 16px 0; min-height: 52px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-links > .button { padding: 14px 20px; margin-top: 20px; min-height: 52px; }
  .nav-toggle[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
  .nav-toggle[aria-expanded="true"] { position: relative; }
  .nav-toggle[aria-expanded="true"] svg { opacity: 0; }
  .nav-toggle[aria-expanded="true"]::after { content: '×'; position: absolute; inset: 0; display: grid; place-items: center; color: var(--paper); font-size: 27px; line-height: 1; }
  .alma-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-card { padding: 24px; }
  .clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .difference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  body { font-size: 16px; line-height: 1.6; -webkit-text-size-adjust: 100%; }
  .container { padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
  .section { padding-block: 56px; }
  .eyebrow { font-size: 11px; line-height: 1.4; letter-spacing: .08em; margin-bottom: 14px; }
  .display { font-size: clamp(28px, 7.6vw, 36px); line-height: 1.12; letter-spacing: -.025em; text-wrap: pretty; }
  .display-small { font-size: clamp(27px, 7.3vw, 34px); }
  .copy { margin-top: 20px; }
  .actions { gap: 10px; margin-top: 24px; }
  .button { min-height: 52px; padding: 13px 20px; font-size: 15px; line-height: 1.4; }
  .hero { display: block; position: relative; padding-block: 34px 48px; }
  .hero-copy { min-width: 0; }
  .hero .eyebrow { max-width: calc(100% - 78px); min-height: 32px; margin-bottom: 22px; display: flex; align-items: center; }
  .hero h1 { max-width: 620px; font-size: clamp(36px, 10.6vw, 52px); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
  .hero-lead { font-size: 17px; line-height: 1.55; margin-top: 22px; }
  .hero .actions { margin-top: 26px; }
  .hero .actions > * { width: 100%; }
  .hero-art { position: absolute; top: 28px; right: 20px; width: 56px; pointer-events: none; }
  .signal { width: 56px; padding: 8px; gap: 3px; border-radius: 10px; }
  .signal .lit { box-shadow: 0 0 0 2px rgb(255 178 30 / 30%); }
  .about-intro { padding-block: 48px 28px; }
  .split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .split > * { min-width: 0; }
  .about-intro .display br { display: none; }
  .fit { display: grid; grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 24px; border-radius: 16px; }
  .fit h3 { font-size: 26px; }
  .fit .fit-sentence { font-size: 20px; }
  .fit .fit-logic { margin-top: 20px; }
  .fit .chips { display: block; }
  .fit .chips li { position: relative; padding: 9px 0 9px 18px; border: 0; border-top: 1px solid #34342f; border-radius: 0; font-size: 14px; line-height: 1.5; }
  .fit .chips li::before { content: ''; position: absolute; left: 0; top: 18px; width: 5px; height: 5px; border-radius: 50%; background: var(--focus); }
  .fit-wrap { padding-bottom: 24px; }
  .chips { gap: 8px; }
  .chips li { max-width: 100%; padding: 7px 12px; font-size: 13px; line-height: 1.5; }
  .clients { padding-block: 28px 48px; }
  .clients-description { margin-bottom: 18px; }
  .clients-grid { gap: 10px; }
  .client-name { height: 100px; border-radius: 14px; min-width: 0; }
  .client-logo { width: calc(100% - 20px); height: 72px; }
  .belief { padding-block: 52px; }
  .belief .text-flow > * + * { margin-top: 16px; }
  .services .chips { margin-top: 24px; }
  .organization .display { margin-bottom: 28px; }
  .brand-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .brand-card { display: grid; grid-template-columns: 100px minmax(0, 1fr); column-gap: 18px; row-gap: 7px; padding: 22px 20px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
  .brand-card img, .brand-card .brand-word { grid-column: 1; grid-row: 1 / 3; align-self: center; }
  .brand-card img { height: auto; width: 100px; margin: 0; }
  .brand-card .brand-word { font-size: 25px; line-height: 1.15; }
  .brand-card > p:not(.brand-word) { grid-column: 2; }
  .brand-card > p:first-of-type:not(.brand-word), .brand-card > p + p, .brand-card .brand-word + p { margin: 0; }
  .alma .display { margin-bottom: 28px; }
  .alma-grid { grid-template-columns: minmax(0, 1fr); border-radius: 16px; }
  .alma-card { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 8px 16px; padding: 24px 20px; }
  .alma-letter { grid-column: 1; grid-row: 1 / 3; font-size: 38px; }
  .alma-card h3 { grid-column: 2; margin: 0; font-size: 22px; }
  .alma-card p:last-child { grid-column: 2; margin: 0; font-size: 15px; line-height: 1.55; }
  .cell { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cell-copy > .brand-word { font-size: 32px; }
  .cell-copy .display { margin-top: 16px; }
  .cell-copy .copy { margin-top: 20px; }
  .agent-wrap { min-width: 0; }
  .agent-card { max-width: none; padding: 24px; border-radius: 16px; gap: 18px; }
  .agent-head .brand-word { font-size: 22px; }
  .agent-card h3 { font-size: 24px; }
  .difference .copy { margin-bottom: 28px; }
  .difference-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .difference-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 6px 16px; padding-block: 22px; border-top: 1px solid #c4c0b6; }
  .icon-circle { grid-row: 1 / 3; width: 42px; height: 42px; }
  .icon-circle svg { width: 22px; height: 22px; }
  .difference-card h3 { grid-column: 2; font-size: 21px; }
  .difference-card p { grid-column: 2; font-size: 15px; line-height: 1.5; }
  .difference-card:last-child { padding-bottom: 0; }
  .manifesto { padding-block: 52px; }
  .manifesto .eyebrow { margin-bottom: 18px; }
  .manifesto video { margin-bottom: 18px; border-radius: 12px; object-fit: contain; }
  .manifesto summary { min-height: 48px; font-size: 15px; }
  .manifesto-copy { font-size: 20px; line-height: 1.4; }
  .manifesto-copy p + p { margin-top: 20px; }
  .content .display { margin-bottom: 28px; }
  .territories { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
  .territory { display: grid; grid-template-columns: 26px minmax(0, 1fr) 18px; gap: 8px 12px; min-height: 112px; padding: 22px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
  .territory-number { grid-column: 1; grid-row: 1 / 3; padding-top: 3px; font-size: 11px; }
  .territory-name { grid-column: 2; font-size: 20px; line-height: 1.2; }
  .territory-themes { grid-column: 2; margin: 0; font-size: 13px; line-height: 1.5; }
  .territory::after { content: '↗'; grid-column: 3; grid-row: 1; color: var(--muted); font-size: 22px; line-height: 1; }
  .contact { padding-block: 52px 28px; }
  .contact .display { font-size: clamp(30px, 8.2vw, 38px); line-height: 1.1; letter-spacing: -.025em; }
  .contact-lead { font-size: 16px; line-height: 1.6; margin-top: 22px; }
  .contact .actions > * { width: 100%; }
  .site-footer { margin-top: 40px; padding-top: 24px; gap: 16px; font-size: 12px; }
  .site-footer img { height: 30px; }
  .site-footer #social-links:empty { display: none; }
  .site-footer p { width: 100%; }
  .page-intro { padding-block: 60px 40px; }
  dialog { width: calc(100% - 24px); max-height: calc(100dvh - 32px); padding: 28px 24px; border-radius: 18px; overscroll-behavior: contain; }
  .dialog-close { width: 44px; height: 44px; top: 12px; right: 12px; }
  dialog h2 { font-size: 28px; line-height: 1.12; }
  dialog .eyebrow { padding-right: 48px; min-height: 26px; }
  dialog .actions > * { width: 100%; }
}
@media (max-width: 359px) {
  .container { padding-inline: 16px; }
  .hero-art { right: 16px; }
  .hero h1 { font-size: 35px; }
  .hero-lead { font-size: 16px; }
  .display { font-size: 27px; }
  .clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .client-name { height: 88px; }
  .client-logo { width: calc(100% - 14px); height: 58px; }
  .brand-card { grid-template-columns: 80px minmax(0, 1fr); gap: 7px 14px; padding: 20px 16px; }
  .brand-card img { width: 80px; }
  .brand-card .brand-word { font-size: 22px; }
  .fit, .agent-card { padding: 20px; }
  .agent-head { gap: 10px; }
  .agent-head .brand-word { font-size: 21px; }
  .agent-state { font-size: 12px; }
}
body.dialog-open { overflow: hidden; }
@media (hover: none) { .button:hover, .territory:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Marcas atendidas: faixa horizontal com navegação por toque, teclado e botões. */
.brands { margin-top: 56px; }
.brands-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.brands-header .eyebrow { margin: 0; }
.brands-controls { display: none; align-items: center; gap: 8px; }
.js .brands-controls { display: flex; }
.brands-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; transition: background .18s, opacity .18s; }
.brands-arrow svg { width: 20px; height: 20px; }
.brands-arrow:hover:not(:disabled) { background: var(--sand); }
.brands-arrow:disabled { opacity: .3; cursor: default; }
.brands-carousel { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--warm-gray) transparent; padding-bottom: 12px; }
.brands-track { display: flex; gap: 12px; width: max-content; }
.brand-slide { flex: 0 0 clamp(220px, 30vw, 320px); width: clamp(220px, 30vw, 320px); min-height: 96px; display: flex; align-items: center; justify-content: center; padding: 16px 24px; scroll-snap-align: start; border-radius: 16px; background: var(--ink); border: 1px solid var(--dark-line); }
.brand-logo { display: block; width: min(100% - 16px, 260px); height: 64px; object-fit: contain; }
@media (max-width: 767px) {
  .brands { margin-top: 32px; }
  .brands-header { gap: 12px; margin-bottom: 16px; }
  .brands-header .eyebrow { font-size: 11px; margin: 0; }
  .brands-carousel { scrollbar-width: none; padding-bottom: 0; }
  .brands-carousel::-webkit-scrollbar { display: none; }
  .brands-track { gap: 10px; }
  .brand-slide { flex-basis: min(72vw, 260px); width: min(72vw, 260px); min-height: 100px; padding: 16px 20px; border-radius: 14px; }
  .brand-logo { width: 100%; height: 68px; }
}
@media (prefers-reduced-motion: reduce) { .brands-carousel { scroll-behavior: auto; } }
