/* Cobalt: rodapé padrão (COB-101). Autocontido: funciona dentro de qualquer página de produto,
   com o CSS do produto em volta. Tokens e fontes do design system v0.2 (COB-94). */
@font-face { font-family: "Unbounded"; src: url("/assets/fonts/unbounded.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap; }

.cf {
  --cf-bg: #000000; --cf-surface: #0A0F1C; --cf-line: #1C2438; --cf-line-strong: #34405C;
  --cf-ink: #F2F5FA; --cf-ink-2: #A9B3C7; --cf-ink-3: #7C87A0;
  --cf-a: #3B7BF0; --cf-a-on: #07132E;
  --cf-display: "Unbounded", "Arial Black", sans-serif;
  --cf-text: "Instrument Sans", system-ui, sans-serif;
  --cf-gutter: clamp(1rem, 3vw, 2.5rem);
  display: block; margin: 0; background: var(--cf-bg); color: var(--cf-ink); border-top: 1px solid var(--cf-line);
  font: 400 1rem/1.6 var(--cf-text); text-align: left; -webkit-font-smoothing: antialiased; color-scheme: dark;
}
[data-theme="light"] .cf {
  --cf-bg: #FFFFFF; --cf-surface: #F2F5FA; --cf-line: #DCE2EC; --cf-line-strong: #B3BED2;
  --cf-ink: #0B1B3F; --cf-ink-2: #44506B; --cf-ink-3: #5D6982;
  --cf-a: #0047AB; --cf-a-on: #F2F5FA; color-scheme: light;
}
.cf *, .cf *::before, .cf *::after { box-sizing: border-box; }
.cf p, .cf ul, .cf li { margin: 0; padding: 0; }
.cf ul { list-style: none; display: grid; gap: .55rem; }
.cf li::before, .cf li::marker { content: none; display: none; }
.cf svg { display: block; max-width: 100%; }
.cf-inner { max-width: 90rem; margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--cf-gutter) 2rem; display: grid; gap: clamp(2.5rem, 6vw, 5rem); }

/* Links: sublinhado que sobe e vira fundo (design system) */
.cf a {
  color: inherit; text-decoration: none; border: 0; box-shadow: none;
  background-image: linear-gradient(var(--cf-a), var(--cf-a)); background-repeat: no-repeat; background-position: 0 100%;
  background-size: 100% var(--cf-ul, .14em); padding: 0 .06em; margin: 0 -.06em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  transition: background-size .34s cubic-bezier(.16, 1, .3, 1), color .18s cubic-bezier(.16, 1, .3, 1);
}
.cf a:not(.cf-product) { font: inherit; }
.cf a:hover { background-size: 100% 100%; color: var(--cf-a-on); }
.cf a:focus-visible { outline: 2px solid var(--cf-a); outline-offset: 3px; }
.cf-cols a { --cf-ul: 0; color: var(--cf-ink-2); }
.cf-cols a:hover { color: var(--cf-a-on); }

/* Topo: marca e colunas */
.cf-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 3rem clamp(2rem, 6vw, 6rem); align-items: start; }
.cf-brand { display: grid; gap: 1.25rem; justify-items: start; }
/* Espaço do produto: a página do produto coloca aqui a própria logo, na versão para fundo escuro */
.cf a.cf-product, .cf a.cf-product:hover { display: inline-flex; background: none; padding: 0; margin: 0; color: var(--cf-product-color, var(--cf-ink)); }
.cf-product img, .cf-product svg { height: clamp(2.25rem, 4vw, 3rem); width: auto; }
.cf-note { font-size: .8125rem; color: var(--cf-ink-3); max-width: 40ch; }
.cf-product ~ .cf-by { margin-top: .75rem; padding-top: 1.25rem; border-top: 1px solid var(--cf-line); }
.cf-by { display: grid; gap: .5rem; }
.cf-by-label { display: none; font-size: .8125rem; color: var(--cf-ink-3); }
.cf-product ~ .cf-by .cf-by-label { display: block; }
.cf-logo { display: block; background: none !important; padding: 0 !important; margin: 0 !important; color: var(--cf-ink) !important; }
.cf-logo svg { height: 1.875rem; width: auto; }
.cf-product ~ .cf-by .cf-logo svg { height: 1.375rem; }
.cf-tag { color: var(--cf-ink-2); max-width: 34ch; font-size: .9375rem; }
.cf-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.cf-h { font: 600 .875rem/1.2 var(--cf-display); letter-spacing: -.01em; color: var(--cf-ink); margin-bottom: 1rem !important; }
.cf-cols li { font-size: .9375rem; }

/* Assinatura: o logotipo em meia-tinta que afina até sumir */
.cf-mark { width: 100%; height: auto; }
.cf-mark path { transition: none; }

/* Base: dados da empresa e as sete equipes */
.cf-bottom { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: end; padding-top: 1.5rem; border-top: 1px solid var(--cf-line); }
.cf-legal { display: grid; gap: .25rem; font-size: .8125rem; color: var(--cf-ink-3); max-width: 70ch; }
.cf-legal a { color: var(--cf-ink-2); }
.cf-crew { display: flex; gap: .75rem; align-items: end; }
.cf-crew svg { height: .875rem; width: auto; shape-rendering: crispEdges; transition: transform .3s steps(3, end); }
.cf-crew svg:hover { transform: translateY(-4px); }
@keyframes cf-hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.cf:hover .cf-crew svg { animation: cf-hop .6s steps(2, jump-none) 1; }
.cf:hover .cf-crew svg:nth-child(2) { animation-delay: 0.08s; }
.cf:hover .cf-crew svg:nth-child(3) { animation-delay: 0.16s; }
.cf:hover .cf-crew svg:nth-child(4) { animation-delay: 0.24s; }
.cf:hover .cf-crew svg:nth-child(5) { animation-delay: 0.32s; }
.cf:hover .cf-crew svg:nth-child(6) { animation-delay: 0.40s; }
.cf:hover .cf-crew svg:nth-child(7) { animation-delay: 0.48s; }

@media (max-width: 820px) {
  .cf-top { grid-template-columns: minmax(0, 1fr); }
  .cf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .cf-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .cf a, .cf-crew svg { transition: none; }
  .cf:hover .cf-crew svg { animation: none; }
}
