/* ==========================================================================
   Allevo — sistema visual v5
   Mundo em preto e branco. O azul Allevo é a única voz colorida da interface.
   As quatro cores de produto existem em um único bloco — e por isso saltam.
   ========================================================================== */

:root {
  --white:      #FFFFFF;
  --paper:      #F7F6F3;
  --paper-2:    #EDEBE6;
  --ink:        #16181A;
  --ink-2:      #3E4247;
  --muted:      #6C7076;
  --line:       #E2DFD9;
  --line-2:     #C9C5BD;

  /* A única cor da interface — azul da marca.
     Escolha competitiva: verde é a cor de toda a categoria de nutrição animal.
     O azul é o espaço cromático vago, e diz ciência em vez de agro. */
  --allevo:     #2B5B8C;  /* 7.05:1 sobre branco */
  --allevo-dk:  #1E4368;  /* hover */
  --allevo-sf:  #EAF0F7;

  /* Cores de produto — exclusivas do bloco de benefícios e das fichas.
     Calibradas para ≥4.5:1 como texto sobre branco E com branco por cima
     (elas viram fundo de botão). O âmbar original reprovava a 3.73:1.
     O Imun acompanha o azul da marca: é o produto-âncora. */
  --imun:       #2B5B8C;  /* 7.05:1 */
  --mos:        #1B7A62;  /* 5.24:1 */
  --fos:        #9C4C24;  /* 6.05:1 */
  --umami:      #8A6408;  /* 5.37:1 */

  --display: 'Sora', system-ui, sans-serif;
  --sans: 'Public Sans', system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spine: 1280px;
  --pad:   clamp(24px, 6vw, 88px);
  --band:  clamp(96px, 11vw, 184px);
}

/* O site é claro por decisão, não por padrão do sistema.
   A referência da categoria — Royal Canin, Biorigin, Ohly — é toda light-only,
   e aqui o branco é o fundo da marca: o preto só existe dentro das fotos.
   Por isso NÃO seguimos prefers-color-scheme. O tema escuro continua definido
   abaixo e só entra se alguém marcar data-theme="dark" explicitamente. */
:root[data-theme="light"] {
  --white: #FFFFFF; --paper: #F7F6F3; --paper-2: #EDEBE6;
  --ink: #16181A; --ink-2: #3E4247; --muted: #6C7076;
  --line: #E2DFD9; --line-2: #C9C5BD;
  --allevo: #2B5B8C; --allevo-dk: #1E4368; --allevo-sf: #EAF0F7;
  --imun: #2B5B8C; --mos: #1B7A62; --fos: #9C4C24; --umami: #8A6408;
}
:root[data-theme="dark"] {
  --white: #131517; --paper: #191C1F; --paper-2: #212528;
  --ink: #F2F1EE; --ink-2: #C6C9CD; --muted: #969AA0;
  --line: #2E3235; --line-2: #414649;
  --allevo: #7CB0E6; --allevo-dk: #9CC6F2; --allevo-sf: #16232F;
  --imun: #7CB0E6; --mos: #4FC3A1; --fos: #E8975C; --umami: #E5C255;
}

* { box-sizing: border-box; }

/* A nav e sticky (~86px). Sem isto o scroll suave entrega o leitor com o
   destino parcialmente encoberto pelo proprio cabecalho. */
section[id], article[id] { scroll-margin-top: 96px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fade-in ao carregar. Cache/back-nav pulam a transicao (o navegador ja tem
   o bitmap, nao ha o que revelar); carregamento fresco recebe 400ms. O
   reveal.js adiciona .is-loaded via JS; sem JS o media query abaixo garante
   que a foto nunca fica presa em opacity:0. */
img { display: block; max-width: 100%; opacity: 0; transition: opacity 400ms var(--ease); }
img.no-fade { transition: none; }
img.is-loaded { opacity: 1; }
@media (scripting: none) { img { opacity: 1; transition: none; } }

/* Toda fotografia do site vive em preto e branco. */
.bw { filter: grayscale(100%) contrast(1.05); }

/* ------------------------------------------------------------- Primitivos */

.spine { max-width: var(--spine); margin-inline: auto; padding-inline: var(--pad); }
.band { padding-block: var(--band); }
.band--paper { background: var(--paper); }
.band--tight { padding-block: clamp(68px, 7.5vw, 120px); }

h1, h2, h3, h4 { margin: 0; font-family: var(--display); text-wrap: balance; }

h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
}
h2 {
  font-size: clamp(27px, 3.3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.02em; font-weight: 600; }

.blue { color: var(--allevo); }

p { margin: 0; max-width: 64ch; }
.lede { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.55; color: var(--ink-2); }
.small { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* Havia quatro tracking diferentes para o mesmo papel de rotulo. Uma escala. */
.eyebrow, .act-kicker, .post-meta, .sci-k, .foot h4 {
  font-family: var(--display);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.eyebrow { color: var(--ink-2); margin: 0; }

.stack { display: flex; flex-direction: column; }
.g8{gap:8px} .g12{gap:12px} .g16{gap:16px} .g20{gap:20px}
.g24{gap:clamp(22px,2.4vw,36px)} .g32{gap:clamp(28px,3.2vw,48px)}
.g40{gap:clamp(36px,4.2vw,64px)} .g56{gap:clamp(52px,6.4vw,96px)}

/* Respiro entre título e corpo. O eyebrow fica colado no título (pertence a
   ele); o corpo se afasta. */
.stack > h1 + p, .stack > h2 + p,
.stack > h1 + .lede, .stack > h2 + .lede { margin-top: 10px; }

/* ---------------------------------------------------------------- Botões */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border: 1.5px solid transparent; border-radius: 2px;
  font-family: var(--display); font-size: 14.5px; font-weight: 600;
  letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: transform 150ms var(--ease), background-color 170ms ease,
              color 170ms ease, border-color 170ms ease, filter 170ms ease;
}
.btn:active { transform: scale(0.975); }
.btn:focus-visible { outline: 2px solid var(--allevo); outline-offset: 3px; }
.btn::after { content: "→"; font-weight: 400; }

.btn--primary { background: var(--allevo); color: #FFF; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-2); }

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--allevo-dk); }
  .btn--outline:hover { border-color: var(--allevo); color: var(--allevo); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------------- Nav */

.topbar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted);
}
.topbar-in {
  max-width: var(--spine); margin-inline: auto;
  padding: 0 var(--pad);
  display: flex; justify-content: flex-end; gap: 8px;
}
.topbar a, .topbar span { display: inline-block; padding: 12px 8px; }
.topbar a { color: inherit; text-decoration: none; }
@media (hover:hover){ .topbar a:hover { color: var(--ink); } }

.nav { position: sticky; top: 0; z-index: 50; background: var(--white);
       border-bottom: 1px solid var(--line); }

.nav-in {
  max-width: var(--spine); margin-inline: auto;
  padding: 22px var(--pad) 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.nav-side { display: flex; align-items: center; gap: 14px; font-size: 13.5px; color: var(--muted); }
.nav-side--r { justify-content: flex-end; }

.wordmark {
  font-family: var(--display); font-weight: 700;
  font-size: 27px; letter-spacing: -0.05em;
  text-decoration: none; color: var(--ink); line-height: 1;
  justify-self: center;
}
.wordmark span { color: var(--allevo); }

.nav-links {
  max-width: var(--spine); margin-inline: auto;
  padding: 18px var(--pad) 19px;
  display: none; justify-content: center; gap: 34px;
  font-family: var(--display); font-size: 13.5px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.nav-links a {
  color: var(--ink); text-decoration: none;
  border-bottom: 2px solid transparent; padding-bottom: 3px;
  transition: color 160ms ease, border-color 160ms ease;
}
.nav-links a[aria-current="page"] { color: var(--allevo); border-color: var(--allevo); }
@media (hover:hover){ .nav-links a:hover { color: var(--allevo); } }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* Soluções: único item com submenu. Hover/focus-within — sem JS, porque o
   resto do site já vive sem framework e um toggle de menu não merece um. */
.nav-drop { position: relative; display: inline-flex; }
.nav-drop-menu {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 4px);
  margin-top: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 8px; min-width: 190px;
  box-shadow: 0 16px 40px rgba(20, 24, 20, 0.10);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 160ms var(--ease), transform 160ms var(--ease), visibility 160ms;
  z-index: 30;
}
.nav-drop-menu a {
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  letter-spacing: normal; text-transform: none;
  color: var(--ink); text-decoration: none;
  padding: 9px 12px; border-radius: 7px; border-bottom: none;
}
@media (hover:hover) { .nav-drop-menu a:hover { background: var(--allevo-sf); color: var(--allevo); } }
.nav-drop-menu a:focus-visible { outline: 2px solid var(--allevo); outline-offset: -2px; border-radius: 7px; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
@media (prefers-reduced-motion: reduce) { .nav-drop-menu { transition: none; } }

/* Faixa rolável no mobile */
/* A faixa cortava 3 dos 6 links sem nenhum sinal de que rolava. A mascara
   dissolve a ultima palavra na borda: e o sinal padrao de "ha mais aqui". */
.nav-mob {
  display: block; border-top: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none; position: relative;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 44px), transparent 100%);
          mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 44px), transparent 100%);
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
}
.nav-mob a { scroll-snap-align: start; }
.nav-mob::-webkit-scrollbar { display: none; }
.nav-mob-in {
  display: flex; gap: 8px; padding: 4px var(--pad) 5px;
  width: max-content; min-width: 100%;
  font-family: var(--display); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.nav-mob a { color: var(--ink); text-decoration: none; white-space: nowrap;
              display: block; padding: 12px 10px; margin-inline: -10px; }
.nav-mob a[aria-current="page"] { color: var(--allevo); }

/* Foco autoral tambem na navegacao, topbar e rodape — sem isto o anel muda
   de aparencia entre Chrome, Safari e Firefox no meio da pagina. */
.nav-links a:focus-visible, .nav-mob a:focus-visible,
.topbar a:focus-visible, footer a:focus-visible {
  outline: 2px solid var(--allevo); outline-offset: 3px; border-radius: 2px;
}
@media (min-width: 900px) { .nav-mob { display: none; } }

/* ---------------------------------------------------- Hero mosaico (RC) */

/* Fundo claro também nos vãos do mosaico: as fotos flutuam em vez de
   ficarem presas numa grade escura. */
.hero { position: relative; background: var(--white); }

.mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(150px, 21vw, 250px);
  gap: 3px;
}
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
/* No mobile a grade de 3 colunas nao fechava com as 7 imagens: sobravam
   4 celulas brancas e a 7a foto era escondida. Posicionamento explicito
   fecha as 12 celulas em 4 linhas. */
@media (max-width: 780px) {
  .mosaic {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: clamp(96px, 27vw, 124px);
    gap: 3px;
  }
  .mosaic img { background: var(--paper-2); }
  .mosaic img:nth-child(1) { grid-column: 1 / 3 !important; grid-row: 1 / 3 !important; }
  .mosaic img:nth-child(2) { grid-column: 3 !important;     grid-row: 1 !important; }
  .mosaic img:nth-child(3) { grid-column: 3 !important;     grid-row: 2 !important; }
  .mosaic img:nth-child(4) { grid-column: 1 / 3 !important; grid-row: 3 !important; }
  .mosaic img:nth-child(5) { grid-column: 3 !important;     grid-row: 3 !important; }
  .mosaic img:nth-child(6) { grid-column: 1 !important;     grid-row: 4 !important; }
  .mosaic img:nth-child(7) { grid-column: 2 / 4 !important; grid-row: 4 !important; }
}

.hero-panel {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  pointer-events: none;
}
.hero-panel-in {
  max-width: var(--spine); margin-inline: auto; width: 100%;
  padding-inline: var(--pad);
}
.hero-card {
  background: color-mix(in srgb, var(--white) 94%, transparent);
  backdrop-filter: blur(3px);
  padding: clamp(32px, 4.4vw, 60px) clamp(30px, 4.4vw, 68px);
  max-width: 800px;
  pointer-events: auto;
  display: flex; flex-direction: column; gap: 18px;
}
.hero-card h1 { font-size: clamp(30px, 4.6vw, 54px); }
.hero-sub {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(16px, 1.9vw, 21px); color: var(--ink-2);
  letter-spacing: -0.01em; max-width: 46ch;
}
/* O cartao caia para baixo da foto e jogava a headline e o CTA para fora
   da dobra. Margem negativa devolve a sobreposicao do desktop e sobe o
   conteudo inteiro para dentro da primeira tela. */
@media (max-width: 780px) {
  .hero { overflow: hidden; }
  .hero-panel { position: static; }
  .hero-panel-in { padding-inline: 14px; }
  .hero-card {
    max-width: none;
    position: relative; z-index: 2;
    margin-top: clamp(-76px, -14vw, -44px);
    background: color-mix(in srgb, var(--white) 96%, transparent);
    backdrop-filter: blur(6px);
    padding: clamp(24px, 6vw, 32px) clamp(20px, 5.5vw, 28px);
    gap: 16px;
  }

  /* A ABERTURA — tres tempos que se sobrepoem, uma vez na carga.
     1) as 7 fotos varrem em cascata, alternando direcao, e o mosaico se monta
     2) o cartao entra desfocado sobre as fotos e RESOLVE O FOCO
     3) headline, subtitulo e botao sobem em sequencia
     So clip-path nas fotos: um scale vazaria pelo gap de 3px, e um filter
     sobrescreveria o .bw que deixa tudo em preto e branco. */
  .mosaic img { will-change: clip-path; }
  .mosaic img:nth-child(1) { animation: tile-y 760ms cubic-bezier(.16,1,.3,1)   0ms both; }
  .mosaic img:nth-child(2) { animation: tile-x 760ms cubic-bezier(.16,1,.3,1)  70ms both; }
  .mosaic img:nth-child(3) { animation: tile-x 760ms cubic-bezier(.16,1,.3,1) 140ms both; }
  .mosaic img:nth-child(4) { animation: tile-y 760ms cubic-bezier(.16,1,.3,1) 200ms both; }
  .mosaic img:nth-child(5) { animation: tile-x 760ms cubic-bezier(.16,1,.3,1) 260ms both; }
  .mosaic img:nth-child(6) { animation: tile-y 760ms cubic-bezier(.16,1,.3,1) 320ms both; }
  .mosaic img:nth-child(7) { animation: tile-x 760ms cubic-bezier(.16,1,.3,1) 370ms both; }

  .hero-card { animation: card-focus 700ms var(--ease) 430ms both; }
  .hero-card > :nth-child(1) { animation: line-up 520ms var(--ease) 640ms both; }
  .hero-card > :nth-child(2) { animation: line-up 520ms var(--ease) 710ms both; }
  .hero-card > :nth-child(3) { animation: line-up 520ms var(--ease) 780ms both; }
}

@keyframes tile-y { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes tile-x { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes card-focus {
  from { opacity: 0; transform: translateY(20px); backdrop-filter: blur(16px); }
  to   { opacity: 1; transform: translateY(0);    backdrop-filter: blur(6px); }
}
@keyframes line-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* !important porque as regras da abertura vivem dentro de media query e
   ganham em especificidade. */
@media (prefers-reduced-motion: reduce) {
  .mosaic img, .hero-card, .hero-card > * {
    animation: none !important; clip-path: none !important;
    opacity: 1 !important; transform: none !important;
  }
}

/* --------------------------------------------------- Faixa de necessidades */

.needs {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
@media (min-width: 760px) { .needs { grid-template-columns: repeat(4, 1fr); } }

.need {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px;
  /* :active herda o mesmo fundo do hover — feedback de toque tambem sem mouse */
  padding: clamp(32px, 3.2vw, 44px) clamp(16px, 2vw, 24px) clamp(34px, 3.4vw, 48px);
  text-align: center; text-decoration: none;
  color: var(--ink);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background-color 180ms ease;
}
.need:last-child { border-right: none; }
/* Na grade de 2 colunas do mobile a 2a celula ficava com borda colada na
   borda da viewport. */
@media (max-width: 759px) { .need:nth-child(2n) { border-right: none; } }
.need svg { width: 34px; height: 34px; stroke: var(--ink); fill: none;
            stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
            transition: stroke 180ms ease; }
.need-t { font-family: var(--display); font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
          transition: color 180ms ease; }
.need-d { font-size: 13.5px; color: var(--muted); line-height: 1.5; max-width: 26ch; }
@media (hover:hover){
  .need:hover { background: var(--allevo-sf); }
  .need:hover svg { stroke: var(--allevo); }
  .need:hover .need-t { color: var(--allevo); }
}
.need:focus-visible { outline: 2px solid var(--allevo); outline-offset: -2px; }
.need:active { background: var(--allevo-sf); }

/* ------------------------------------------------------------ Atos (bandas) */

/* Os atos usam o mesmo dispositivo do hero: cartão claro sobre a foto.
   A foto segue full-bleed; o texto nunca depende de gradiente escuro. */
.act { position: relative; background: var(--white); }
.act-photo { width: 100%; height: clamp(360px, 44vw, 560px); object-fit: cover; }
.act-overlay {
  position: absolute; inset: 0; display: flex; align-items: center;
}
.act-in { max-width: var(--spine); margin-inline: auto; width: 100%; padding-inline: var(--pad); }
.act-copy {
  max-width: 33rem; color: var(--ink);
  display: flex; flex-direction: column; gap: 14px;
  background: color-mix(in srgb, var(--white) 94%, transparent);
  backdrop-filter: blur(3px);
  padding: clamp(24px, 3.2vw, 40px) clamp(22px, 3.2vw, 44px);
}
.act-copy h2 { color: var(--ink); text-transform: uppercase; font-size: clamp(28px, 3.6vw, 44px); }
.act-copy p { color: var(--ink-2); font-size: 16px; }
.act-kicker {
  font-family: var(--display); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--allevo);
}
.act-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.act-tag {
  font-size: 12.5px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink-2);
}
/* O cartao virava uma laje de largura total cobrindo a metade inferior da
   foto — justamente onde esta o sujeito. Sobe o enquadramento e devolve a
   sobreposicao, igual ao hero. */
@media (max-width: 720px) {
  .act-photo { height: clamp(300px, 62vw, 400px); object-position: 50% 32%; }
  .act-overlay { align-items: flex-end; }
  .act-in { padding-inline: 14px; padding-bottom: 0; }
  .act-copy {
    max-width: none;
    margin-bottom: clamp(-40px, -9vw, -24px);
    position: relative; z-index: 2;
    background: color-mix(in srgb, var(--white) 96%, transparent);
    padding: clamp(22px, 5.5vw, 30px) clamp(20px, 5vw, 26px);
  }
}

/* Ato em split — foto + texto, o padrão do anexo Eukanuba */
.act-split { display: grid; grid-template-columns: 1fr; background: var(--white); }
@media (min-width: 860px) { .act-split { grid-template-columns: 1fr 1fr; } }
.act-split img { width: 100%; height: 100%; min-height: 340px; max-height: 560px; object-fit: cover; }
.act-split-copy {
  display: flex; flex-direction: column; gap: 15px; justify-content: center;
  padding: clamp(34px, 5vw, 72px) clamp(24px, 4vw, 62px);
  color: var(--ink);
}
.act-split-copy h2 { color: var(--ink); text-transform: uppercase; }
.act-split-copy p { color: var(--ink-2); font-size: 16px; }

/* ------------------------------------------- Benefícios × produtos (Biorigin) */

.benefits { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 820px) { .benefits { grid-template-columns: repeat(5, 1fr); } }

/* O card tinha o icone flutuando no meio de um vazio e as barras coladas na
   base. A foto ocupa o topo, o rotulo e as barras fecham embaixo: o card
   passa a ter peso e a fotografia — o ativo da marca — entra no bloco. */
.benefit {
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden;
}
.benefit-photo {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  object-position: 50% 42%;
  border-bottom: 1px solid var(--line);
}
/* Esta e 21:9: o corte central cai no fundo desfocado. Puxa para o sujeito. */
.benefit-photo[src$="filhote-jardim.png"] { object-position: 72% 50%; }
.benefit-photo[src$="golden-tutor.png"]   { object-position: 60% 50%; }
.benefit-body {
  padding: 20px 20px 22px; display: flex; flex-direction: column;
  gap: 10px; flex: 1;
}
.benefit-t { font-family: var(--display); font-size: 15px; font-weight: 600;
             letter-spacing: -0.015em; }
.benefit svg { width: 26px; height: 26px; stroke: var(--ink-2); fill: none;
               stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.benefit-head { display: flex; align-items: center; gap: 9px; }
.bars { margin-top: auto; display: flex; flex-direction: column; gap: 5px; width: 100%;
        padding-top: 12px; }
.bars i { display: block; height: 6px; border-radius: 3px; }

/* Variante de texto — paginas de especie e "como trabalhamos". Substitui os
   9 style= inline repetidos. */
.benefit--wide { padding: clamp(24px, 2.6vw, 32px); gap: 12px; }
.benefit--wide .benefit-t { margin-bottom: 2px; }
.benefits--auto { grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); }
.b-imun  { background: var(--imun); }
.b-mos   { background: var(--mos); }
.b-fos   { background: var(--fos); }
.b-umami { background: var(--umami); }

.brands { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 820px) { .brands { grid-template-columns: repeat(4, 1fr); } }
.brand { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.brand-name {
  font-family: var(--display); font-size: 19px; font-weight: 700;
  letter-spacing: -0.03em; color: var(--bc); text-align: center;
}
.brand-rule { width: 100%; height: 4px; border-radius: 2px; background: var(--bc); }
.brand-note { font-size: 13px; color: var(--muted); text-align: center; min-height: 3.4em; }
.brand .btn { background: var(--bc); color: #FFF; padding: 11px 22px; font-size: 13.5px; }
@media (hover:hover){ .brand .btn:hover { filter: brightness(0.86); } }
.brand--imun  { --bc: var(--imun); }
.brand--mos   { --bc: var(--mos); }
.brand--fos   { --bc: var(--fos); }
.brand--umami { --bc: var(--umami); }

/* ------------------------------------------------------------------ Blog */

.posts { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 12px; }
.post { transition: opacity 140ms var(--ease); }
.post:active { opacity: 0.72; }
.post-img { aspect-ratio: 3/2; width: 100%; object-fit: cover; }
.post-meta {
  font-family: var(--display); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--allevo);
}
.post h3 { transition: color 160ms ease; }
.post p { font-size: 14.5px; color: var(--muted); }
@media (hover:hover){ .post:hover h3 { color: var(--allevo); } }
.post:focus-visible { outline: 2px solid var(--allevo); outline-offset: 4px; }

/* Material rico */
.gated {
  background: var(--allevo-sf);
  border: 1px solid color-mix(in srgb, var(--allevo) 24%, transparent);
  padding: clamp(26px, 4vw, 44px);
  display: grid; gap: clamp(24px, 3vw, 44px); grid-template-columns: 1fr;
}
@media (min-width: 880px) { .gated { grid-template-columns: 1.05fr .95fr; align-items: center; } }
.gated ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 9px; }
.gated li { font-size: 15px; }
/* As razões que ficam atrás do formulário precisam parecer bloqueadas,
   não apenas cinzas — senão a mecânica do material rico não se lê. */
.gated li.locked {
  color: var(--muted); list-style: none; margin-left: -20px;
  display: flex; align-items: flex-start; gap: 9px;
}
.gated li.locked svg {
  flex: none; width: 15px; height: 15px; margin-top: 4px;
  stroke: var(--allevo); fill: none; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.form { display: flex; flex-direction: column; gap: 11px; background: var(--white); padding: 22px; }
.form label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.form input, .form select {
  font: inherit; font-size: 15px; padding: 11px 13px;
  border: 1px solid var(--line-2); border-radius: 2px;
  background: var(--white); color: var(--ink); width: 100%;
}
.form input:focus-visible, .form select:focus-visible { outline: 2px solid var(--allevo); outline-offset: 1px; }

/* ------------------------------------------------------------- Ciência */

.sci-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; }
@media (max-width: 879px) { .sci-photo { aspect-ratio: 16 / 10; } }

.sci { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 880px) { .sci { grid-template-columns: .95fr 1.05fr; } }
.sci-list { display: flex; flex-direction: column; }
.sci-item { padding: 18px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 5px; }
.sci-item:last-child { border-bottom: 1px solid var(--line); }
.sci-k { font-family: var(--display); font-size: 11.5px; font-weight: 600;
         letter-spacing: 0.14em; text-transform: uppercase; color: var(--allevo); }
.sci-v { font-size: 15.5px; color: var(--ink-2); }

/* ------------------------------------------------------- Fichas de produto */

.sheet { display: grid; gap: clamp(28px, 4vw, 52px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .sheet { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.sheet-head { border-top: 4px solid var(--bc); padding-top: 20px; }
.specs { border: 1px solid var(--line); background: var(--paper); }
.spec-row { display: grid; grid-template-columns: 1fr auto; gap: 16px;
            padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec-row:last-child { border-bottom: none; }
.spec-k { color: var(--muted); }
.spec-v { font-weight: 600; text-align: right; }

/* -------------------------------------------------------------- Rodapé */

footer { background: var(--paper); color: var(--ink); border-top: 1px solid var(--line);
         padding-block: clamp(64px, 7vw, 96px) clamp(40px, 4vw, 56px); }
footer a { color: var(--ink-2); text-decoration: none; }
@media (hover:hover){ footer a:hover { color: var(--allevo); } }
.foot { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot { grid-template-columns: 1.5fr 1fr 1fr; } }
.foot h4 { font-family: var(--display); font-size: 11.5px; letter-spacing: 0.14em;
           text-transform: uppercase; color: var(--muted);
           margin: 0 0 12px; font-weight: 600; }
.foot-col { display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; }
.foot-col a { display: inline-block; padding: 6px 0; margin: -6px 0; }
.foot .wordmark { color: var(--ink); justify-self: start; }
.foot-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line);
               font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------------- Reveal */

/* Conteudo institucional nunca deve depender de JS para existir. */
@media (scripting: none) { .reveal { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in { opacity: 1; transform: none;
  transition: opacity 620ms var(--ease), transform 620ms var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .need, .post, .post h3, .toc a { transition: none; }
  img { transition-duration: 120ms; }
}

/* --------------------------------------------------------------- Artigos */

.article { max-width: 690px; margin-inline: auto; }
.article h2 { font-size: clamp(24px, 2.8vw, 33px); margin-top: 8px; }
.article h3 { font-size: 19px; margin-top: 14px; }
.article p { font-size: 17px; line-height: 1.68; max-width: none; }
.article > * + * { margin-top: 26px; }
.article ol, .article ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.article li { font-size: 17px; line-height: 1.6; }
.article-head { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.article-note {
  border-left: 3px solid var(--allevo);
  padding: 4px 0 4px 18px;
  font-size: 15px; color: var(--muted); font-style: italic;
}
.article-sign {
  font-family: var(--display); font-weight: 700;
  font-size: 19px; letter-spacing: -0.02em; color: var(--allevo);
  padding-top: 6px;
}
.toc { display: flex; flex-direction: column; }
.toc a {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  transition: padding-inline 200ms var(--ease), background-color 200ms ease;
}
.toc a:active { background: var(--paper); }
.toc a:first-child { border-top: 1px solid var(--line); }
.toc-n { font-family: var(--display); font-size: 13px; color: var(--allevo); font-weight: 600; }
.toc-t { font-family: var(--display); font-weight: 600; font-size: 17.5px; letter-spacing: -0.02em; }
.toc-m { font-size: 13px; color: var(--muted); white-space: nowrap; }
@media (hover:hover){ .toc a:hover { background: var(--paper); padding-inline: 12px; } }
.toc a:focus-visible { outline: 2px solid var(--allevo); outline-offset: -2px; }
