/* GTA Alimentos — design system
   Paleta oficial: Zest #E3751D · Cod Gray #141414 · Givry #F9E0CB · Boulder #7C7C7C
   Tipografia: Montserrat (títulos, botões, navegação) + Open Sans (texto — fonte do site atual).
   Hierarquia: laranja = cor principal (botões com texto branco, ícones, traços); preto e cinza = secundárias (faixas, rodapé, fundos neutros);
   Givry = terciária, só em detalhes (fundo de ícones, etiquetas, realces). Links
   em texto usam Cod Gray com sublinhado/seta laranja. O Boulder fica em bordas e ícones; textos auxiliares usam --muted (5,9:1). */

:root {
  --zest: #E3751D;
  --zest-600: #C9620F;
  --zest-100: #FCEBDC;
  --ink: #141414;
  --givry: #F9E0CB;
  --givry-50: #F5F5F5; /* fundo neutro suave (cinza) — o nome foi mantido por compatibilidade */
  --gray-100: #EFEFEF;
  --boulder: #7C7C7C;
  --muted: #5C5C5C;
  --line: #E6E6E6;
  --line-strong: #D0D0D0;
  --paper: #FFFFFF;
  --ok: #2E7D4F;
  --err: #B3261E;

  --f-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --f-body: "Open Sans", "Segoe UI", Arial, sans-serif;

  --t-xs: .8125rem;
  --t-sm: .9375rem;
  --t-base: 1.0625rem;
  --t-lg: clamp(1.125rem, 1rem + .4vw, 1.25rem);
  --t-h4: clamp(1.125rem, 1.05rem + .3vw, 1.25rem);
  --t-h3: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --t-h2: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  --t-h1: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem);

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 24px;
  /* assinatura da marca: três cantos arredondados e um reto, como no símbolo GTA */
  --r-brand: 28px 6px 28px 28px;
  --r-brand-sm: 16px 4px 16px 16px;

  --shadow-sm: 0 1px 2px rgba(20, 20, 20, .06), 0 2px 8px rgba(20, 20, 20, .04);
  --shadow: 0 10px 30px -12px rgba(20, 20, 20, .22), 0 2px 6px rgba(20, 20, 20, .05);
  --shadow-lg: 0 28px 60px -24px rgba(20, 20, 20, .32);

  --wrap: 1440px;
  --gutter: clamp(20px, 2.6vw, 40px);
  --sec: clamp(64px, 8vw, 112px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-base)/1.65 var(--f-body); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ink); text-decoration-color: var(--zest); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--zest-600); }
:focus-visible { outline: 3px solid var(--zest); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: var(--t-h1); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: var(--t-h2); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: var(--t-h3); font-weight: 600; }
h4 { font-size: var(--t-h4); font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 700; }
small, .small { font-size: var(--t-sm); }
.xs { font-size: var(--t-xs); }
.muted { color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-family: var(--f-head); font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
.hl { color: var(--zest); }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(820px + var(--gutter) * 2); }

/* ---------- Ícones ---------- */
svg[aria-hidden] { width: 1.25em; height: 1.25em; flex: none; }
.ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-brand-sm); background: var(--givry); color: var(--zest); }
.ico svg { width: 26px; height: 26px; }
.ico--zest { background: var(--zest); color: #fff; }
.ico--ink { background: var(--ink); color: var(--zest); }
.ico--sm { width: 40px; height: 40px; border-radius: 12px 3px 12px 12px; }
.ico--sm svg { width: 20px; height: 20px; }

/* ---------- Botões ---------- */
/* Dois tons que se alternam: laranja vira preto no hover e preto vira laranja, com transição suave. */
.btn { --b-bg: var(--zest); --b-fg: #fff; --b-bd: var(--zest); --b-hover: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.4em;
  font: 600 var(--t-sm)/1.2 var(--f-head); letter-spacing: .005em; text-decoration: none; cursor: pointer;
  background: var(--b-bg); color: var(--b-fg); border: 2px solid var(--b-bd); border-radius: 12px 3px 12px 12px;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease), box-shadow .35s var(--ease); }
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { --b-bg: var(--b-hover); --b-bd: var(--b-hover-bd, var(--b-hover)); color: #fff; box-shadow: 0 10px 22px -12px rgba(20, 20, 20, .45); }
.btn:active { transform: translateY(1px); }
.btn--dark { --b-bg: var(--ink); --b-bd: var(--ink); --b-hover: var(--zest); }
/* sobre fundo escuro: o preto ganha contorno claro (parado ou no hover), para o botão não sumir no fundo */
.btn--light { --b-bg: var(--ink); --b-bd: rgba(255, 255, 255, .5); --b-hover: var(--zest); }
:is(.section--ink, .box--ink, .cta, .page-hero--photo, .site-footer, .service-card--feature) .btn:not(.btn--light, .btn--dark) { --b-hover-bd: rgba(255, 255, 255, .5); }
.btn--sm { min-height: 40px; padding: .5em 1em; font-size: var(--t-xs); }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link { display: inline-flex; align-items: center; gap: .4em; font: 600 var(--t-sm) var(--f-head); color: var(--ink); text-decoration: none; text-decoration-color: var(--zest); }
.link svg { color: var(--zest); width: 1.1em; height: 1.1em; }
.link:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--zest); }

/* ---------- Rótulos ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 700 var(--t-xs)/1.2 var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--zest); }
.on-dark .eyebrow { color: var(--givry); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--givry-50); border: 1px solid var(--line); font: 600 var(--t-xs)/1.2 var(--f-head); color: var(--ink); text-decoration: none; }
a.chip:hover { border-color: var(--zest); color: var(--ink); background: var(--zest-100); }
.chip svg { width: 15px; height: 15px; color: var(--zest); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tag { display: inline-block; padding: 3px 9px; border-radius: 6px; background: var(--zest-100); color: var(--ink); font: 700 11px/1.4 var(--f-head); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Cabeçalho ---------- */
.topbar { background: var(--ink); color: #d9d9d9; font-size: var(--t-xs); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #f2f2f2; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--zest); }
.topbar svg { width: 15px; height: 15px; color: var(--zest); }
.topbar-contacts, .topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar-client { font-family: var(--f-head); font-weight: 600; padding: 4px 12px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; }
.topbar-client:hover { border-color: var(--zest); }
@media (max-width: 860px) { .topbar-contacts .hide-sm { display: none; } }
@media (max-width: 560px) { .topbar { display: none; } }

.site-header { position: sticky; top: 0; z-index: 90; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20, 20, 20, .45); }
.bar { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: 74px; aspect-ratio: 1118 / 682; object-fit: cover; border-radius: 16.5% 0 16.5% 16.5% / 27% 0 27% 27%; }
.brand-text { font: 700 10.5px/1.25 Arial, "Helvetica Neue", sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.site-footer .brand-text { color: #fff; }
.nav-main { display: flex; align-items: center; gap: 2px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-main > li { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 9px; border: 0; background: none; cursor: pointer; border-radius: 8px;
  font: 600 13.5px/1.2 var(--f-head); color: var(--ink); text-decoration: none; white-space: nowrap; position: relative; }
.nav-link svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.nav-link::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--zest); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--ink); background: var(--givry-50); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.bar-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px 3px 12px 12px; background: #fff; color: var(--ink); cursor: pointer; transition: border-color .2s, background-color .2s; }
.icon-btn:hover { border-color: var(--zest); background: var(--givry-50); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-toggle { display: none; }

.dropdown { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; min-width: 260px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.dropdown.is-open { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.dropdown a:hover { background: var(--givry-50); color: var(--ink); }
.dropdown a strong { display: block; font: 600 14px/1.3 var(--f-head); }
.dropdown a span { display: block; font-size: var(--t-xs); color: var(--muted); line-height: 1.4; }
.dropdown a .ico { width: 36px; height: 36px; border-radius: 10px 3px 10px 10px; }
.dropdown a .ico svg { width: 18px; height: 18px; }
.bar { position: relative; }
.nav-main > li.has-mega { position: static; }
.dropdown--mega { width: min(940px, calc(100vw - 48px)); display: grid; grid-template-columns: 1.15fr 1fr; gap: 8px; padding: 16px; top: calc(100% - 6px); left: auto; right: var(--gutter); translate: none; }
.mega-col h3 { margin: 6px 12px 8px; font: 700 11px/1.2 var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4px; }
.mega-grid a { padding: 7px 12px; font: 500 14px/1.3 var(--f-head); align-items: center; }
.mega-grid a svg { width: 18px; height: 18px; color: var(--zest); }
.mega-feature { margin-top: 8px; padding: 14px; border-radius: var(--r-brand-sm); background: var(--ink); color: #fff; }
.mega-feature p { font-size: var(--t-xs); color: #cfcfcf; margin: 4px 0 10px; }
.mega-feature strong { font: 600 15px var(--f-head); }

.btn--quote { white-space: nowrap; }
@media (max-width: 1520px) and (min-width: 1301px) { .site-header .brand-text { display: none; } }
@media (max-width: 1300px) {
  .nav-main, .bar-actions .btn--quote { display: none; }
  .menu-toggle { display: inline-grid; }
  .bar-actions { margin-left: auto; }
}

/* Gaveta (mobile) */
.drawer { position: fixed; inset: 0; z-index: 120; display: flex; justify-content: flex-end; background: rgba(20, 20, 20, .45); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s; }
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer-panel { width: min(420px, 100%); height: 100%; overflow-y: auto; background: #fff; padding: 18px 20px 28px; transform: translateX(24px); transition: transform .3s var(--ease); display: flex; flex-direction: column; gap: 6px; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.drawer a.drawer-link, .drawer summary { display: flex; align-items: center; justify-content: space-between; padding: 13px 4px; border-bottom: 1px solid var(--line); font: 600 16px var(--f-head); color: var(--ink); text-decoration: none; cursor: pointer; list-style: none; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary svg { transition: transform .2s; }
.drawer details[open] summary svg { transform: rotate(180deg); }
.drawer details ul { list-style: none; margin: 0; padding: 6px 0 10px 8px; }
.drawer details li a { display: block; padding: 9px 4px; color: var(--ink); text-decoration: none; font-size: var(--t-sm); }
.drawer details li a:hover { color: var(--zest-600); }
.drawer-cta { display: grid; gap: 10px; margin-top: 18px; }
.drawer-contacts { margin-top: 18px; padding: 16px; border-radius: var(--r); background: var(--givry-50); font-size: var(--t-sm); display: grid; gap: 8px; }
.drawer-contacts a { color: var(--ink); text-decoration: none; display: flex; gap: 8px; align-items: center; }
.drawer-contacts svg { color: var(--zest); }

/* ---------- Seções ---------- */
.section { padding-block: var(--sec); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--givry { background: var(--gray-100); }
.section--soft { background: var(--givry-50); }
.section--ink { background: var(--ink); color: #e9e9e9; }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink a:not(.btn) { color: var(--givry); }
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head p { font-size: var(--t-lg); color: var(--muted); margin: 0; }
.section--ink .sec-head p { color: #c9c9c9; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head--split > div { max-width: 680px; }
.lead { font-size: var(--t-lg); color: #2d2d2d; }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--wide { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 900px) { .split, .split--wide { grid-template-columns: 1fr; } }
.mt-0 { margin-top: 0; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mb-0 { margin-bottom: 0; }

/* ---------- Hero da home ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 84px) 0 0; background:
  radial-gradient(900px 480px at 92% -10%, rgba(227, 117, 29, .10) 0%, rgba(227, 117, 29, 0) 70%), linear-gradient(180deg, #fff, var(--givry-50)); }
.hero-pattern { position: absolute; inset: 0; color: var(--zest); opacity: .09; pointer-events: none; }
/* duas colunas (texto · imagens) centralizadas entre si; a faixa "Mais procurados" vem logo abaixo, de ponta a ponta */
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero-copy { max-width: 760px; }
.hero .eyebrow { margin-bottom: 18px; text-wrap: balance; }
.hero h1 { margin-bottom: clamp(16px, 1.6vw, 22px); text-wrap: pretty; }
.hero-text { font-size: var(--t-lg); color: #333; max-width: 680px; margin-bottom: clamp(26px, 2.6vw, 34px); }
.hero-media { position: relative; aspect-ratio: 5 / 5.2; width: 100%; max-width: 640px; justify-self: end; }
.hero-photo { position: absolute; inset: 0 0 12% 10%; border-radius: 40px 8px 40px 40px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
/* moldura fina: separa a foto sobreposta sem pesar a composição */
.hero-photo-2 { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3; border-radius: 22px 6px 22px 22px; overflow: hidden; border: 3px solid #fff; box-shadow: 0 14px 30px -14px rgba(20, 20, 20, .38); }
.hero-photo-2 img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; right: -6px; bottom: 4%; max-width: 260px; display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: #fff; border-radius: 18px 4px 18px 18px; box-shadow: var(--shadow); font: 600 13px/1.35 var(--f-head); }
.hero-badge small { display: block; font: 400 12px/1.4 var(--f-body); color: var(--muted); }

/* "Mais procurados": faixa no pé do banner (mesmo fundo dele), com carrossel contínuo de ponta a ponta (main.js duplica os itens para o laço não ter emenda).
   Só para com o cursor em cima. Sem JS ou com movimento reduzido, vira uma faixa rolável. */
.hero-quick { --edge: max(var(--gutter), calc((100% - var(--wrap)) / 2)); position: relative; margin-top: clamp(36px, 4.5vw, 64px); }
.marquee-view { overflow-x: auto; scrollbar-width: none; padding: clamp(18px, 2vw, 24px) 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 64px, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(90deg, transparent, #000 64px, #000 calc(100% - 64px), transparent); }
.marquee-view::-webkit-scrollbar { display: none; }
.marquee-track { flex-wrap: nowrap; gap: 0; width: max-content; padding-inline: var(--edge); }
.marquee-track > li { flex: none; display: flex; align-items: center; }
/* separador em ponto antes de cada item: com as cópias do laço, o ritmo fica igual em toda a faixa */
.marquee-track > li::before { content: ""; width: 5px; height: 5px; margin-inline: clamp(18px, 2vw, 28px); border-radius: 50%; background: var(--zest); }
.marquee-link { display: inline-flex; align-items: center; gap: 8px; font: 600 var(--t-sm)/1.2 var(--f-head); white-space: nowrap; color: var(--ink); text-decoration: none; }
.marquee-link svg { width: 18px; height: 18px; color: var(--zest); }
.marquee-link:hover { color: var(--zest-600); text-decoration: underline; text-decoration-color: var(--zest); text-underline-offset: .35em; }
.is-marquee .marquee-view { overflow: hidden; }
.is-marquee .marquee-track { padding-inline: 0; animation: marquee var(--marquee-dur, 40s) linear infinite; }
.is-marquee:hover .marquee-track, .is-marquee.is-offscreen .marquee-track { animation-play-state: paused; }
/* teclado: o carrossel para e vira rolável, para o link focado aparecer inteiro */
.is-marquee .marquee-view:focus-within { overflow-x: auto; }
.is-marquee .marquee-view:focus-within .marquee-track { animation: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* notebooks pequenos e tablets na horizontal: mais espaço para o texto, para o título não ficar mais alto que as imagens */
@media (max-width: 1200px) and (min-width: 961px) { .hero .wrap { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); } .hero h1 { font-size: clamp(2.125rem, 1.1rem + 2.6vw, 3.5rem); } }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero-copy { max-width: 640px; } .hero-media { max-width: 560px; width: 100%; margin-inline: auto; } }
@media (max-width: 480px) { .hero-badge { position: relative; right: auto; bottom: auto; margin-top: 12px; max-width: none; } .hero-media { aspect-ratio: auto; display: grid; } .hero-photo { position: relative; inset: auto; aspect-ratio: 4/3.4; } .hero-photo-2 { display: none; } }

/* Faixa de credenciais */
.trust { background: var(--ink); color: #fff; }
.trust ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust li { display: flex; gap: 14px; align-items: center; }
.trust li + li { border-left: 1px solid rgba(255, 255, 255, .12); padding-left: 20px; }
.trust strong { display: block; font: 700 15px/1.25 var(--f-head); }
.trust span { font-size: var(--t-xs); color: #bdbdbd; }
.trust svg { width: 28px; height: 28px; color: var(--zest); }
@media (max-width: 900px) { .trust ul { grid-template-columns: 1fr 1fr; } .trust li + li { border: 0; padding: 0; } }
@media (max-width: 480px) { .trust ul { grid-template-columns: 1fr; } }

/* ---------- Mídia ---------- */
.media { position: relative; border-radius: var(--r-brand); overflow: hidden; background: var(--gray-100); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--frame { box-shadow: var(--shadow-lg); }
.media-stack { position: relative; padding: 0 0 48px 48px; }
.media-stack::before { content: ""; position: absolute; left: 0; bottom: 0; width: 62%; height: 70%; border-radius: var(--r-brand); background: var(--zest); opacity: .9; }
.media-stack .media { aspect-ratio: 4 / 3.1; }
/* composição com movimento (home, "Quem somos"): a foto flutua de leve e o bloco laranja tem parallax discreto
   (main.js atualiza --plx-photo e --plx-block com a rolagem). "translate" e "transform" se somam sem conflito. */
.media-stack[data-motion] .media { translate: 0 var(--plx-photo, 0px); animation: stack-float 8s ease-in-out infinite; will-change: transform, translate; }
.media-stack[data-motion]::before { translate: 0 var(--plx-block, 0px); animation: stack-float 11s ease-in-out -5s infinite reverse; will-change: transform, translate; }
@keyframes stack-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .media-stack[data-motion] .media, .media-stack[data-motion]::before { animation: none; translate: none; } }
.media-note { position: absolute; right: 18px; bottom: 18px; padding: 8px 12px; border-radius: 10px; background: rgba(20, 20, 20, .78); color: #fff; font: 600 12px var(--f-head); }

/* ---------- Cards ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.4vw, 30px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-brand); color: var(--ink); text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.card h3 { font-size: var(--t-h4); margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: var(--t-sm); }
a.card:hover, .card.is-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); color: var(--ink); }
.card .link { margin-top: auto; padding-top: 6px; }
a.card:hover .link { text-decoration: underline; }
.card a.stretched::after { content: ""; position: absolute; inset: 0; }
.card--soft { background: var(--givry-50); border-color: transparent; }
.card--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.card--ink p { color: #c9c9c9; }
.card--ink h3 { color: #fff; }
.service-card { min-height: 100%; }
.service-card .ico { margin-bottom: 4px; }
.service-card--feature { background: var(--ink); color: #fff; border-color: var(--ink); }
.service-card--feature h3 { color: #fff; }
.service-card--feature p { color: #cfcfcf; }
.service-card--feature .link { color: var(--givry); }

/* Mosaico de categorias */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.cat-tile { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; border-radius: 16px 4px 16px 16px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font: 600 14px/1.3 var(--f-head);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease); }
.cat-tile .ico { width: 42px; height: 42px; border-radius: 12px 3px 12px 12px; transition: background-color .2s, color .2s; }
.cat-tile .ico svg { width: 22px; height: 22px; }
.cat-tile:hover { border-color: var(--zest); background: var(--givry-50); color: var(--ink); transform: translateY(-2px); }
.cat-tile:hover .ico { background: var(--zest); color: #fff; }

/* Diferenciais */
.diff { counter-reset: d; }
.diff .card { padding-top: 26px; }
.diff .card::before { counter-increment: d; content: "0" counter(d); font: 800 13px var(--f-head); color: var(--zest); letter-spacing: .08em; }
.section--ink .card { background: #1d1d1d; border-color: #2a2a2a; color: #fff; }
.section--ink .card p { color: #bdbdbd; }
.section--ink .card h3 { color: #fff; }

/* Lista de credenciais */
.cred-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.cred-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px 4px 16px 16px; }
.cred-list strong { display: block; font: 600 15px/1.35 var(--f-head); }
.cred-list span { font-size: var(--t-sm); color: var(--muted); }
.cred-list .ico { width: 40px; height: 40px; }
.cred-list .ico svg { width: 20px; height: 20px; }

/* Passos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 22px 20px 20px; border-radius: 16px 4px 16px 16px; background: #fff; border: 1px solid var(--line); counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 10px 3px 10px 10px; background: var(--zest); color: #fff; font: 800 15px var(--f-head); }
.steps strong { display: block; font: 600 16px/1.3 var(--f-head); margin-bottom: 4px; }
.steps p { margin: 0; font-size: var(--t-sm); color: var(--muted); }
.steps--on-ink li { background: #1d1d1d; border-color: #2a2a2a; color: #fff; }
.steps--on-ink p { color: #bdbdbd; }

/* Faixa de coleta (home) */
.coleta-band { position: relative; overflow: hidden; border-radius: 36px 8px 36px 36px; background: var(--gray-100); box-shadow: inset 6px 0 0 var(--zest); padding: clamp(28px, 5vw, 60px); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.coleta-band h2 { margin-bottom: 12px; }
.coleta-band .flask-art { position: absolute; right: -40px; top: -30px; width: 260px; color: var(--zest); opacity: .13; }
.coleta-band .steps li { background: rgba(255, 255, 255, .8); border-color: transparent; }
@media (max-width: 900px) { .coleta-band { grid-template-columns: 1fr; } }

/* CTA final */
.cta { position: relative; overflow: hidden; border-radius: 36px 8px 36px 36px; background: var(--ink); color: #fff; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; }
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { color: #cfcfcf; margin: 0; font-size: var(--t-lg); max-width: 640px; }
.cta-art { position: absolute; right: -60px; bottom: -80px; width: 340px; color: var(--zest); opacity: .16; pointer-events: none; }
.cta .btn-row { position: relative; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Posts ---------- */
.post-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-brand); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.post-card .img { aspect-ratio: 16 / 9.3; overflow: hidden; background: var(--gray-100); }
.post-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .img img { transform: scale(1.04); }
.post-card .body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.post-card h2, .post-card h3 { font-size: var(--t-h4); margin: 0; }
.post-card p { margin: 0; font-size: var(--t-sm); color: var(--muted); }
.post-card .link { margin-top: auto; padding-top: 6px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: var(--t-xs); color: var(--muted); }
.post-meta time { display: inline-flex; align-items: center; gap: 5px; }
.post-meta svg { width: 14px; height: 14px; }
.post-feature { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 32px 8px 32px 32px; overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow .25s; }
.post-feature:hover { box-shadow: var(--shadow); color: var(--ink); }
.post-feature .img { min-height: 300px; background: var(--gray-100); }
.post-feature .img img { width: 100%; height: 100%; object-fit: cover; }
.post-feature .body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.post-feature h2 { font-size: var(--t-h3); margin: 0; }
.post-feature p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .post-feature { grid-template-columns: 1fr; } .post-feature .img { min-height: 0; aspect-ratio: 16/9; } }

/* ---------- Páginas internas ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 44px) 0 clamp(44px, 6vw, 76px); background: linear-gradient(180deg, #fff, var(--gray-100)); }
.page-hero .wrap { position: relative; }
.page-hero h1 { max-width: 860px; margin-bottom: 16px; }
.page-hero .lead { max-width: 720px; margin-bottom: 0; color: #3a3a3a; }
.page-hero .btn-row { margin-top: 26px; }
.page-hero-art { position: absolute; right: max(var(--gutter), calc(50vw - var(--wrap) / 2)); top: 50%; translate: 0 -50%; width: clamp(160px, 22vw, 300px); color: var(--zest); opacity: .16; pointer-events: none; }
.page-hero--photo { background: var(--ink); color: #fff; padding-bottom: clamp(56px, 8vw, 110px); }
.page-hero--photo h1 { color: #fff; }
.page-hero--photo .lead { color: #e2e2e2; }
.page-hero--photo .crumbs, .page-hero--photo .crumbs a { color: #d6d6d6; }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 20, 20, .92) 20%, rgba(20, 20, 20, .35)); }
.page-hero .ico { margin-bottom: 16px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 26px; padding: 0; font-size: var(--t-xs); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--zest-600); text-decoration: underline; }

.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 4px; overflow-x: auto; list-style: none; margin: 0; padding: 10px 0; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 8px 14px; border-radius: 999px; font: 600 13px var(--f-head); color: var(--ink); text-decoration: none; }
.subnav a:hover { background: var(--givry-50); }
.subnav a.is-active { background: var(--ink); color: #fff; }

.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
@media (max-width: 1000px) { .layout-aside { grid-template-columns: 1fr; } .aside { position: static; } }
.box { padding: 22px; border-radius: 20px 5px 20px 20px; border: 1px solid var(--line); background: #fff; }
.box h2, .box h3 { font-size: 17px; margin-bottom: 10px; }
.box p { font-size: var(--t-sm); color: var(--muted); }
.box--givry { background: var(--givry-50); border-color: transparent; box-shadow: inset 0 4px 0 var(--zest); }
.box--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.box--ink h2, .box--ink h3 { color: #fff; }
.box--ink p { color: #cfcfcf; }
.box ul.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.box ul.plain a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: var(--t-sm); }
.box ul.plain a:hover { color: var(--zest-600); }
.box ul.plain a[aria-current] { font-weight: 700; color: var(--ink); }
.box ul.plain a[aria-current] svg { color: var(--zest); }
.box ul.plain svg { width: 16px; height: 16px; color: var(--boulder); }
.contact-lines { display: grid; gap: 10px; font-size: var(--t-sm); }
.contact-lines a { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 600; }
.contact-lines a:hover { color: var(--zest); }
.contact-lines svg { width: 18px; height: 18px; color: var(--zest); }

.block + .block { margin-top: clamp(40px, 5vw, 64px); }
.block > h2 { font-size: var(--t-h3); }

/* Ensaios */
.assay-group { border: 1px solid var(--line); border-radius: 20px 5px 20px 20px; overflow: hidden; background: #fff; }
.assay-group + .assay-group { margin-top: 14px; }
.assay-group summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; cursor: pointer; list-style: none; font: 600 16px var(--f-head); background: var(--givry-50); }
.assay-group summary::-webkit-details-marker { display: none; }
.assay-group summary .count { margin-left: auto; font: 600 12px var(--f-head); color: var(--ink); background: var(--zest-100); padding: 3px 10px; border-radius: 999px; }
.assay-group summary svg { transition: transform .2s; }
.assay-group[open] summary svg { transform: rotate(180deg); }
.assay-list { columns: 2 280px; column-gap: 32px; list-style: none; margin: 0; padding: 14px 20px 18px; }
.assay-list li { break-inside: avoid; display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: var(--t-sm); }
.assay-list li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .6em; border-radius: 2px 0 2px 2px; background: var(--zest); }
.note { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px 4px 14px 14px; background: var(--givry-50); border: 1px solid var(--line); font-size: var(--t-sm); color: #333; }
.note svg { color: var(--zest); margin-top: 2px; }
.note p { margin: 0; }

/* Catálogo de ensaios (tabela filtrável) */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 14px; border-radius: 20px 5px 20px 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.search-field { position: relative; flex: 1 1 260px; }
.search-field svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--boulder); pointer-events: none; }
.search-field input { width: 100%; min-height: 48px; padding: 10px 14px 10px 44px; border: 1px solid var(--line-strong); border-radius: 12px; font: inherit; font-size: var(--t-sm); background: #fff; }
.search-field input:focus { outline: none; border-color: var(--zest); box-shadow: 0 0 0 3px rgba(227, 117, 29, .2); }
.toolbar select, .select { min-height: 48px; padding: 10px 40px 10px 14px; border: 1px solid var(--line-strong); border-radius: 12px; font: inherit; font-size: var(--t-sm); color: var(--ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3751D' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; appearance: none; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 38px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font: 600 13px var(--f-head); color: var(--ink); cursor: pointer; transition: all .15s; }
.pill:hover { border-color: var(--zest); }
.pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill .n { opacity: .65; font-weight: 500; margin-left: 3px; }
.result-count { font-size: var(--t-sm); color: var(--muted); margin: 0 0 14px; }
.result-count strong { color: var(--ink); }
.empty { padding: 32px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--r); color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px 5px 20px 20px; background: #fff; }
.data-table th, .data-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: var(--t-sm); vertical-align: top; }
.data-table th { font: 700 12px var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--givry-50); position: sticky; top: 0; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td a { color: var(--ink); font-weight: 600; }
.data-table td a:hover { color: var(--zest-600); }
.type { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.type::before { content: ""; width: 9px; height: 9px; border-radius: 3px 0 3px 3px; background: var(--zest); }
.type--micro::before { background: transparent; box-shadow: inset 0 0 0 2px var(--zest); }
.type--campo::before { background: var(--boulder); }
.type--classificacao::before { background: var(--ink); }
.more-wrap { display: flex; justify-content: center; margin-top: 24px; }

/* Consultoria */
.svc { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-brand); background: #fff; scroll-margin-top: calc(var(--header-h) + 80px); }
.svc + .svc { margin-top: 14px; }
.svc h3 { font-size: var(--t-h4); margin-bottom: 8px; }
.svc p { margin-bottom: 10px; color: #333; font-size: var(--t-sm); }
.svc dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 12px 0 14px; font-size: var(--t-sm); }
.svc dt { font: 600 13px var(--f-head); color: var(--ink); }
.svc dd { margin: 0; color: #333; }
.svc:target { border-color: var(--zest); box-shadow: 0 0 0 3px rgba(227, 117, 29, .18); }
@media (max-width: 560px) { .svc { grid-template-columns: 1fr; } .svc dl { grid-template-columns: 1fr; } }

/* Coleta */
.hours { display: grid; gap: 8px; margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(20, 20, 20, .1); font-size: var(--t-sm); }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; font-family: var(--f-head); font-weight: 700; }
.sample { border: 1px solid var(--line); border-radius: var(--r-brand); background: #fff; overflow: hidden; scroll-margin-top: calc(var(--header-h) + 80px); }
.sample + .sample { margin-top: 18px; }
.sample-head { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: var(--givry-50); border-bottom: 1px solid var(--line); }
.sample-head h3 { margin: 0; font-size: var(--t-h4); }
.sample-head p { margin: 2px 0 0; font-size: var(--t-sm); color: var(--muted); }
.spec { display: grid; grid-template-columns: 220px 1fr; margin: 0; }
.spec dt, .spec dd { padding: 14px 24px; border-bottom: 1px solid var(--line); font-size: var(--t-sm); margin: 0; }
.spec dt { display: flex; gap: 10px; align-items: flex-start; font: 600 14px/1.4 var(--f-head); color: var(--ink); background: #fffdfb; }
.spec dt svg { width: 18px; height: 18px; color: var(--zest); margin-top: 1px; }
.spec dd ul { margin: 0; padding-left: 1.1em; }
.spec dd li + li { margin-top: 4px; }
.spec > :nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 680px) { .spec { grid-template-columns: 1fr; } .spec dt { border-bottom: 0; padding-bottom: 4px; background: none; } .spec dd { padding-top: 0; } }
.sample-foot { padding: 14px 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; }

/* Materiais */
.doc-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-brand); overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.doc-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.doc-thumb { aspect-ratio: 16 / 9; background: var(--gray-100); display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.doc-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doc-thumb svg { width: 56px; height: 56px; color: var(--zest); }
.doc-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.doc-body h2, .doc-body h3 { font-size: 17px; margin: 0; }
.doc-body p { font-size: var(--t-sm); color: var(--muted); margin: 0; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--t-xs); color: var(--muted); }
.doc-meta span { display: inline-flex; gap: 5px; align-items: center; }
.doc-meta svg { width: 14px; height: 14px; }
.doc-actions { margin-top: auto; padding-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.doc-row { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px 4px 16px 16px; background: #fff; text-decoration: none; color: var(--ink); transition: border-color .2s; }
.doc-row + .doc-row { margin-top: 10px; }
.doc-row:hover { border-color: var(--zest); color: var(--ink); }
.doc-row strong { display: block; font: 600 15px/1.35 var(--f-head); }
.doc-row span { font-size: var(--t-xs); color: var(--muted); }
.doc-row .dl { margin-left: auto; color: var(--zest); }

/* Linha do tempo */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--zest) 0 10px, transparent 10px 18px); opacity: .6; }
.timeline li { position: relative; padding-top: 72px; }
.timeline li::before { content: ""; position: absolute; top: 18px; left: 0; width: 20px; height: 20px; border-radius: 7px 2px 7px 7px; background: var(--zest); box-shadow: 0 0 0 6px var(--gray-100); }
.timeline .yr { display: block; font: 800 28px/1 var(--f-head); color: var(--ink); margin-bottom: 8px; }
.timeline strong { display: block; font: 600 16px/1.3 var(--f-head); margin-bottom: 6px; }
.timeline p { margin: 0; font-size: var(--t-sm); color: #3c3c3c; }
@media (max-width: 960px) { .timeline { grid-template-columns: 1fr; gap: 0; padding-left: 34px; } .timeline::before { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--zest) 0 10px, transparent 10px 18px); } .timeline li { padding: 0 0 28px; } .timeline li::before { left: -34px; top: 2px; } }

/* Prosa (artigos e textos longos) */
.prose { font-size: 1.0938rem; line-height: 1.8; color: #222; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); margin-top: 2em; margin-bottom: .2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--zest); }
.prose a { color: var(--ink); text-decoration-color: var(--zest); text-decoration-thickness: 2px; }
.prose .lead { font-size: 1.25rem; line-height: 1.65; color: #2a2a2a; }
.prose table { font-size: var(--t-sm); }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--givry-50); font-family: var(--f-head); }
.callout { padding: 18px 20px; border-left: 4px solid var(--zest); border-radius: 0 14px 14px 0; background: var(--givry-50); font-size: 1rem; line-height: 1.65; }
.article-head .post-meta { margin-bottom: 18px; font-size: var(--t-sm); }
.article-cover { margin: 0; border-radius: 32px 8px 32px 32px; overflow: hidden; background: var(--gray-100); aspect-ratio: 16 / 7.5; box-shadow: var(--shadow); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-wrap { display: grid; grid-template-columns: minmax(0, 720px) 300px; gap: clamp(32px, 5vw, 72px); justify-content: center; }
@media (max-width: 1060px) { .article-wrap { grid-template-columns: minmax(0, 1fr); } }
.refs { margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--line); font-size: var(--t-sm); }
.refs h2 { font-size: 17px; margin: 0 0 10px; }
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 2.2em; padding: 14px 16px; border-radius: 16px 4px 16px 16px; background: var(--givry-50); }
.share-bar > span { font: 600 13px var(--f-head); margin-right: 4px; }
.share-net { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px 3px 10px 10px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer; }
.share-net:hover { border-color: var(--zest); color: var(--zest-600); }
.share-net svg { width: 18px; height: 18px; }
.share-ok { font-size: var(--t-xs); color: var(--ok); font-weight: 600; }

/* ---------- Formulários ---------- */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font: 600 14px var(--f-head); color: var(--ink); }
.field .req { color: var(--err); margin-left: 2px; }
.field .opt { font: 400 12px var(--f-body); color: var(--muted); margin-left: 4px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field select { padding-right: 40px; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3751D' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--zest); box-shadow: 0 0 0 3px rgba(227, 117, 29, .2); }
.field [aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 3px rgba(179, 38, 30, .12); }
.field .hint { font-size: var(--t-xs); color: var(--muted); }
.err { display: none; align-items: center; gap: 6px; font-size: var(--t-xs); font-weight: 600; color: var(--err); }
.err.is-visible { display: flex; }
.err svg { width: 15px; height: 15px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 12px; font: 500 14px var(--f-body); cursor: pointer; }
.radio-row input { width: 18px; height: 18px; min-height: 0; accent-color: var(--zest); }
.radio-row label:has(input:checked) { border-color: var(--zest); background: var(--zest-100); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--t-sm); }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--zest); flex: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; gap: 12px; padding: 16px 18px; border-radius: 14px 4px 14px 14px; font-size: var(--t-sm); }
.form-status.is-visible { display: flex; }
.form-status svg { width: 22px; height: 22px; flex: none; }
.form-status p { margin: 0; }
.form-status--ok { background: #EAF5EE; color: #1C5434; border: 1px solid #B9DEC7; }
.form-status--err { background: #FCEDEC; color: #7A1A14; border: 1px solid #F1C3BF; }
.form-status--info { background: var(--givry-50); color: #333; border: 1px solid var(--line-strong); }
.form-card { padding: clamp(22px, 3.5vw, 40px); border-radius: 32px 8px 32px 32px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.privacy-note { font-size: var(--t-xs); color: var(--muted); }

/* Contato */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 20px 5px 20px 20px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
a.contact-card:hover { border-color: var(--zest); color: var(--ink); }
.contact-card small { font: 700 11px var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.contact-card strong { font: 700 18px/1.3 var(--f-head); }
.contact-card span { font-size: var(--t-sm); color: var(--muted); }
.contact-card .ico { margin-bottom: 8px; }
.map { position: relative; border-radius: var(--r-brand); overflow: hidden; background: var(--gray-100) center/cover; min-height: 360px; display: grid; place-items: center; border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: relative; display: grid; gap: 12px; justify-items: center; text-align: center; padding: 24px; max-width: 380px; }
.map-placeholder p { font-size: var(--t-sm); color: #333; margin: 0; }
.map-grid { position: absolute; inset: 0; color: var(--zest); opacity: .12; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: #c9c9c9; font-size: var(--t-sm); margin-top: var(--sec); }
.site-footer a { color: #e9e9e9; text-decoration: none; }
.site-footer a:hover { color: var(--zest); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr) 1.2fr; gap: 32px; padding: clamp(48px, 6vw, 72px) 0 40px; }
.footer-top h2 { font: 700 12px var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: var(--givry); margin-bottom: 14px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-about p { margin: 16px 0; max-width: 300px; }
.social { display: flex; gap: 8px; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px 3px 10px 10px; border: 1px solid #333; color: #fff; }
.social a:hover { border-color: var(--zest); color: var(--zest); }
.social svg { width: 18px; height: 18px; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--zest); margin-top: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 22px 0 28px; border-top: 1px solid #2b2b2b; font-size: var(--t-xs); color: #a9a9a9; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-bottom button { background: none; border: 0; padding: 0; color: #e9e9e9; cursor: pointer; font-size: inherit; }
.footer-bottom button:hover { color: var(--zest); text-decoration: underline; }
@media (max-width: 1100px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } .footer-about, .footer-contact-col { grid-column: span 3; } }
@media (max-width: 640px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-about, .footer-contact-col { grid-column: 1 / -1; } }

/* ---------- Flutuantes ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 28px 6px 28px 28px; background: #1F8F4E; color: #fff; text-decoration: none; font: 600 14px var(--f-head); box-shadow: 0 12px 28px -10px rgba(20, 70, 40, .6); transition: transform .2s var(--ease), background-color .2s; }
.wa-float:hover { background: #18733E; color: #fff; transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; }
@media (max-width: 640px) { .wa-float { padding: 0; width: 56px; justify-content: center; } .wa-float span { display: none; } }

.search-overlay { position: fixed; inset: 0; z-index: 150; display: grid; align-items: start; justify-items: center; padding: 10vh 16px 16px; background: rgba(20, 20, 20, .55); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-panel { width: min(680px, 100%); max-height: 78vh; display: flex; flex-direction: column; background: #fff; border-radius: 24px 6px 24px 24px; box-shadow: var(--shadow-lg); overflow: hidden; }
.search-panel form { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.search-panel form svg { color: var(--zest); }
.search-panel input { flex: 1; min-height: 46px; border: 0; font: inherit; font-size: 1.0625rem; background: none; }
.search-panel input:focus { outline: none; }
.search-results { overflow-y: auto; padding: 8px; }
.search-results a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.search-results a:hover, .search-results a.is-active { background: var(--givry-50); }
.search-results strong { display: block; font: 600 15px/1.3 var(--f-head); }
.search-results span.d { display: block; font-size: var(--t-xs); color: var(--muted); }
.search-hint { padding: 14px 18px; margin: 0; font-size: var(--t-xs); color: var(--muted); border-top: 1px solid var(--line); }
kbd { font: 600 11px var(--f-head); padding: 2px 6px; border-radius: 5px; border: 1px solid var(--line-strong); background: var(--givry-50); }

.cookie { position: fixed; left: 18px; bottom: 18px; z-index: 140; width: min(440px, calc(100% - 36px)); padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 20px 5px 20px 20px; box-shadow: var(--shadow-lg); font-size: var(--t-sm); display: none; }
.cookie.is-visible { display: block; }
.cookie strong { font-family: var(--f-head); }
.cookie p { margin: 6px 0 14px; color: #333; }

/* ---------- Revelação suave ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; } .js .reveal-d2 { transition-delay: .16s; } .js .reveal-d3 { transition-delay: .24s; }

/* ---------- Mapa de migração (interno) ---------- */
.mig td code { font-size: 12px; background: var(--givry-50); padding: 2px 6px; border-radius: 4px; word-break: break-all; }

@media print {
  .topbar, .site-header, .site-footer, .wa-float, .cookie, .search-overlay, .drawer, .subnav, .share-bar, .cta { display: none !important; }
  body { font-size: 12pt; }
}
