/* =====================================================================
   Cirillo Personal Kit — tema do site (app.css)
   Base: Design System "Cirillo" + tema aprovado no canvas
   (vermelho/vinho em blocos, fundos em cinzas neutros, sem losangos).
   Ordem: tokens → base → componentes → seções → páginas → painel de acessibilidade
          → consentimento → responsivo → movimento → variação B → alto contraste.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --surface-000: #fafafa; --surface-100: #ffffff; --surface-200: #f1f1f0;
  --line: #e7e7e7; --line-strong: #858585;
  --ink: #111111; --ink-muted: #5c5c5c;
  --red: #e22f28; --red-deep: #c8221c; --red-deeper: #971402; --on-red: #ffffff; --red-mist: #fdecea;
  --night: #131313; --on-night: #f5f5f5; --on-night-muted: #a3a3a3; --gray: #7d7d7d;
  --success: #167325; --danger: #9a3b00; --focus: #111111;
  --on-red-muted: #fde3e1; --on-wine-muted: #f3cfca;
  --night-line: rgba(255, 255, 255, 0.12); --red-line: rgba(255, 255, 255, 0.24);
  /* fundos monocromáticos (leve variação de cinza) */
  --g1: #f3f3f2; --g2: #efefee; --g3: #ebebea; --g4: #e8e8e7;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist", "Helvetica Neue", Arial, sans-serif; /* mono substituída pela Geist a pedido */

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 72px; --space-9: 120px;
  --radius-0: 0px; --radius-sm: 4px; --radius-md: 8px;
  --shadow-overlay: 0 24px 48px -24px rgba(0, 0, 0, 0.28);
  --container-max: 1240px; --measure: 62ch; --drawer-width: 440px; --header-height: 76px;
  --z-header: 40; --z-drawer: 60; --z-toast: 80;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --fs-scale: 1;
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-size: calc(100% * var(--fs-scale)); }
body { margin: 0; background: var(--surface-000); }
:where(.ck) a { color: inherit; }
:where(.ck) img { max-width: 100%; height: auto; }
:where(.ck) :is(h1, h2, h3, h4, p, ul, ol, dl, dd, figure) { margin: 0; }
:where(.ck) :is(ul, ol) { padding: 0; list-style: none; }
.ck-skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--night); color: #fff; padding: 12px 16px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 500; }
.ck-skip:focus { top: 12px; }
.ck .ck-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main:focus { outline: none; }
.ck [hidden], .adm [hidden] { display: none !important; }

/* ---------- Tipografia ---------- */
.ck-display-xl { font: 700 clamp(44px, 6vw, 72px)/0.98 var(--font-display); letter-spacing: -0.04em; }
.ck-display-l { font: 700 clamp(34px, 4.2vw, 48px)/1.04 var(--font-display); letter-spacing: -0.035em; }
.ck-h1 { font: 700 clamp(28px, 3vw, 34px)/1.1 var(--font-display); letter-spacing: -0.025em; }
.ck-h2 { font: 600 24px/1.2 var(--font-display); letter-spacing: -0.015em; }
.ck-h3 { font: 700 22px/1.15 var(--font-display); letter-spacing: -0.02em; }
.ck-lead { font: 400 clamp(16px, 1.4vw, 18px)/1.65 var(--font-sans); color: var(--ink-muted); max-width: var(--measure); }
.ck-caption { font: 400 13px/18px var(--font-sans); color: var(--ink-muted); }
.ck-sku { font: 500 12px/16px var(--font-sans); letter-spacing: 0.02em; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.ck .ck-num, .ck .ck-count, .ck .ck-card__meta { font-variant-numeric: tabular-nums; }
.ck-link { color: var(--red-deep); font: 500 14px/20px var(--font-sans); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.ck-link:hover { color: var(--red-deeper); text-decoration: underline; text-underline-offset: 4px; }
.ck-prose { font: 400 16px/1.75 var(--font-sans); color: #2b2b2b; max-width: 72ch; }
.ck-prose > * + * { margin-top: 1em; }
.ck-prose h2 { font: 700 26px/1.2 var(--font-display); letter-spacing: -0.02em; margin-top: 1.6em; color: var(--ink); }
.ck-prose h3 { font: 600 20px/1.3 var(--font-display); margin-top: 1.4em; color: var(--ink); }
.ck-prose ul { list-style: disc; padding-left: 1.2em; }
.ck-prose ol { list-style: decimal; padding-left: 1.2em; }
.ck-prose a { color: var(--red-deep); }
.ck-prose img { border-radius: var(--radius-md); }
.ck-prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ck-prose th, .ck-prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }

/* ---------- Botões extras ---------- */
.ck-btn--outline-night { background: transparent; color: var(--on-night); border-color: rgba(255, 255, 255, 0.6); }
.ck-btn--outline-night:hover { border-color: #fff; }
.ck-btn--lg { --_h: 56px; padding: 0 var(--space-6); font-size: 15px; }
.ck-btn--white { background: #fff; color: var(--red-deeper); }
.ck-btn--white:hover { background: var(--night); color: #fff; }
.ck-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.ck-btn svg, .ck-link svg { transition: transform 0.25s ease; }
.ck-btn:hover svg, .ck-link:hover svg { transform: translateX(3px); }

/* ---------- Barra utilitária e cabeçalho ---------- */
.ck-util { background: var(--night); color: var(--on-night-muted); }
.ck-util__in { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
  font: 500 11px/14px var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; }
.ck-util__in a { color: var(--on-night); text-decoration: none; }
.ck-util__a11y { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--on-night); font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; padding: 6px 0; }
.ck-header { transition: box-shadow 0.3s ease, background-color 0.3s ease; }
.ck-header.is-scrolled { box-shadow: 0 10px 30px -24px rgba(0, 0, 0, 0.5); }
.ck .ck-logo img { mix-blend-mode: normal; height: 44px; width: auto; }
.ck-header__actions { display: flex; align-items: center; gap: var(--space-2); }
.ck-menubtn { display: none; width: 44px; height: 44px; place-items: center; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: var(--radius-sm); }
.ck-menubtn:hover { background: var(--surface-200); }
.ck-listbtn { text-decoration: none; }
.ck-count.is-bump { animation: ck-bump 0.32s ease; }

/* menu mobile (dialog) */
.ck-mnav { position: fixed; inset: 0; z-index: 70; background: var(--night); color: var(--on-night); display: flex; flex-direction: column; padding: 24px 16px 32px;
  transform: translateY(-100%); transition: transform 0.4s var(--ease); visibility: hidden; overflow-y: auto; }
.ck-mnav[data-open="true"] { transform: none; visibility: visible; }
.ck-mnav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.ck-mnav__plate { display: inline-flex; background: #fff; padding: 6px 10px; border-radius: var(--radius-sm); }
.ck-mnav__plate img { height: 32px; width: auto; }
.ck-mnav__close { width: 44px; height: 44px; display: grid; place-items: center; background: none; color: #fff; border: 1px solid var(--night-line); border-radius: var(--radius-sm); cursor: pointer; }
.ck-mnav nav a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--night-line);
  font: 700 28px/1.1 var(--font-display); letter-spacing: -0.03em; color: #fff; text-decoration: none; }
.ck-mnav nav a svg { color: var(--on-night-muted); }
.ck-mnav__foot { margin-top: auto; padding-top: 24px; display: grid; gap: 12px; }
.ck-mnav__foot .ck-caption { color: var(--on-night-muted); }

/* ---------- Hero ---------- */
.ck .ck-hero { background: var(--red-deep); color: #fff; overflow: hidden; }
.ck-hero__in { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: var(--space-8); align-items: center; padding: 96px 0 0; }
.ck-hero__copy { display: flex; flex-direction: column; gap: var(--space-6); }
.ck .ck-hero .ck-display-xl { color: #fff; }
.ck .ck-hero .ck-lead { color: var(--on-red-muted); }
.ck .ck-hero .ck-overline { color: var(--on-red-muted); }
.ck .ck-hero .ck-eyebrow::after { background: #fff; }
.ck-hero__art { position: relative; padding: 0 0 0 48px; }
.ck-hero__tile { position: relative; aspect-ratio: 1 / 1; background: var(--g1); border-radius: var(--radius-md); overflow: hidden; display: grid; place-items: center; }
.ck-hero__tile .ck-pic { width: 86%; height: 86%; }
.ck-hero__red { position: absolute; left: 0; bottom: 72px; width: 120px; height: 120px; background: var(--night); border-radius: var(--radius-md); }
.ck-hero__wine { position: absolute; right: -24px; top: -24px; width: 48px; height: 48px; background: var(--red-deeper); }
.ck-hero__tag { position: absolute; right: var(--space-5); bottom: var(--space-5); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4); display: grid; gap: 2px; color: var(--ink); text-decoration: none; }
.ck-hero__tag strong { font: 500 15px/22px var(--font-sans); }
.ck-dots { position: absolute; left: 8px; top: 24px; width: 24px; height: 216px; background-image: radial-gradient(circle, rgba(255, 255, 255, 0.3) 1.5px, transparent 1.6px); background-size: 24px 24px; }
.ck-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 96px; border-top: 1px solid var(--red-line); }
.ck-stat { padding: var(--space-6) var(--space-5) var(--space-7) 0; display: grid; gap: var(--space-2); }
.ck-stat + .ck-stat { padding-left: var(--space-5); border-left: 1px solid var(--red-line); }
.ck-stat strong { font: 700 44px/1 var(--font-display); letter-spacing: -0.04em; color: #fff; }
.ck-stat span { font: 500 11px/14px var(--font-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-red-muted); }

/* ---------- Segmentos com ícones ---------- */
.ck-segs { background: var(--g1); border-bottom: 1px solid var(--line); }
.ck-segs__in { display: grid; grid-template-columns: auto repeat(5, minmax(0, 1fr)); gap: 24px; align-items: center; min-height: 104px; padding-top: 20px; padding-bottom: 20px; }
.ck-segs__label { font: 500 11px/14px var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); }
.ck-seg { display: inline-flex; align-items: center; gap: 14px; font: 500 15px/20px var(--font-sans); color: var(--ink); }
.ck-seg__ico { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--red-mist); color: var(--red-deep); }
.ck-seg__ico svg { width: 26px; height: 26px; }
.ck-seg:hover .ck-seg__ico { animation: ckPop 0.5s ease; }

/* ---------- Seções ---------- */
.ck-sec-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ck-sechead { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-7); align-items: end; margin-bottom: var(--space-7); }
.ck-sechead__l { display: grid; gap: var(--space-4); }
.ck-sechead__r { display: grid; gap: var(--space-4); justify-items: start; }

/* capa de seção (foto + bloco vermelho) */
.ck-cover { position: relative; margin: 0; height: 460px; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-200); }
.ck-cover > img { width: 100%; height: 115%; object-fit: cover; display: block; will-change: transform; }
.ck-cover__cap { position: absolute; left: 32px; bottom: 32px; max-width: 560px; display: grid; gap: 14px; background: var(--red-deep); color: #fff; padding: 32px 36px; border-radius: var(--radius-md); }
.ck .ck-cover__cap .ck-display-l { color: #fff; }
.ck .ck-cover__cap .ck-overline { color: var(--on-red-muted); }
.ck .ck-cover__cap .ck-eyebrow::after { background: #fff; }
.ck-cover__lead { font: 400 17px/27px var(--font-sans); color: var(--on-red-muted); }
.ck-cover__row { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin: 28px 0 40px; }
.ck-cover--page { height: 420px; margin-bottom: 8px; }

/* ilustração ao lado do conteúdo */
.ck-illus { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: stretch; }
.ck-illus--rev { grid-template-columns: 1.15fr 0.85fr; }
.ck-illus__img { margin: 0; min-height: 560px; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-200); position: relative; }
.ck-illus__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.ck-illus__img:hover img { transform: scale(1.03); }
.ck-illus__body { display: grid; gap: 20px; align-content: center; }

/* mosaico de categorias */
.ck-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 288px; gap: var(--space-4); }
.ck-tile { position: relative; overflow: hidden; background: var(--g1); border-radius: var(--radius-md); text-decoration: none; display: block; isolation: isolate; }
.ck a.ck-tile, .ck a.ck-tile:hover { color: var(--ink); }
.ck-tile:nth-child(2) { background: var(--g2); } .ck-tile:nth-child(3) { background: var(--g1); }
.ck-tile:nth-child(4) { background: var(--g3); } .ck-tile:nth-child(5) { background: var(--g2); } .ck-tile:nth-child(6) { background: var(--g3); }
.ck-tile--big { grid-column: span 2; grid-row: span 2; }
.ck-tile--wide { grid-column: span 2; }
.ck-tile .ck-pic { position: absolute; inset: 10% 10% 30% 10%; width: auto; height: auto; transition: transform 0.7s var(--ease); }
.ck-tile--big .ck-pic { inset: 8% 8% 24% 8%; }
.ck-tile--wide .ck-pic { inset: 10% 4% 10% 46%; }
.ck-tile:hover .ck-pic { transform: scale(1.05) rotate(-1deg); }
.ck-tile__cap { position: absolute; left: var(--space-5); right: var(--space-5); bottom: var(--space-5); display: flex; align-items: end; justify-content: space-between; gap: var(--space-3); }
.ck-tile__name { font: 700 24px/1.1 var(--font-display); letter-spacing: -0.02em; display: block; }
.ck-tile--big .ck-tile__name { font-size: 36px; }
.ck-tile__go { width: 40px; height: 40px; display: grid; place-items: center; background: #fff; border-radius: var(--radius-sm); flex: none; transition: transform 0.3s var(--ease), background 0.3s; }
.ck-tile:hover .ck-tile__go { transform: rotate(45deg); }
.ck-tile--night, .ck a.ck-tile--night, .ck a.ck-tile--night:hover { background: var(--night); color: var(--on-night); }
.ck-tile--night .ck-overline { color: var(--on-night-muted); }
.ck-tile--night .ck-tile__cap { top: var(--space-6); left: var(--space-6); flex-direction: column; align-items: start; justify-content: space-between; }
.ck-tile__text { font: 400 15px/24px var(--font-sans); color: var(--on-night-muted); max-width: 40ch; }

/* ---------- Imagens com blur-up ---------- */
.ck-pic { display: block; position: relative; background-size: cover; background-position: center; border-radius: inherit; }
.ck-pic__img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; opacity: 0; filter: blur(14px) saturate(1.05); transform: scale(1.04);
  transition: opacity 0.6s var(--ease), filter 0.9s var(--ease), transform 0.9s var(--ease); }
.ck-pic.is-loaded { background-image: none !important; }
.ck-pic.is-loaded .ck-pic__img, .no-js .ck-pic__img { opacity: 1; filter: none; transform: none; }
.ck-pic--cover .ck-pic__img { object-fit: cover; mix-blend-mode: normal; }

/* ---------- Cards de produto ---------- */
.ck-card__media { background: var(--g1); transition: transform 0.35s var(--ease), box-shadow 0.35s ease, outline-color 0.2s ease; transform-style: preserve-3d; }
.ck-grid > .ck-card:nth-child(3n+2) .ck-card__media { background: var(--g2); }
.ck-grid > .ck-card:nth-child(3n+3) .ck-card__media { background: var(--g3); }
.ck-card__media .ck-pic { position: absolute; inset: 9%; }
.ck-card__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, 0.55), transparent 55%); opacity: 0; transition: opacity 0.35s ease; mix-blend-mode: soft-light; }
.ck-card:hover .ck-card__media { transform: translateY(-4px); box-shadow: 0 20px 32px -24px rgba(0, 0, 0, 0.35); }
.ck-card:hover .ck-card__media::after { opacity: 1; }
.ck .ck-card__meta { font: 500 13px/18px var(--font-sans); letter-spacing: 0; color: var(--ink-muted); flex-wrap: wrap; gap: 2px 12px; }
.ck .ck-card__meta span:first-child { white-space: nowrap; color: var(--ink); }
.ck .ck-card .ck-overline { color: var(--ink-muted); }
.ck-card__actions .ck-btn { flex: 1; }

/* selos com ícones */
.ck .ck-card__media .ck-badge, .ck .ck-gallery__main .ck-badge, .ck .ck-split__media .ck-badge {
  position: absolute; top: 0; left: 0; z-index: 2; height: 32px; padding: 0 14px 0 12px; gap: 8px;
  font: 500 12.5px/1 var(--font-sans); letter-spacing: 0.01em; text-transform: none; color: #fff; background: var(--night); border: 0; border-radius: 0 0 var(--radius-md) 0; }
.ck .ck-badge::before { transform: none; }
.ck .ck-card__media .ck-badge::before, .ck .ck-gallery__main .ck-badge::before, .ck .ck-split__media .ck-badge::before {
  width: 15px; height: 15px; border-radius: 0; background: var(--red);
  -webkit-mask: url(../img/selo-pincel.svg) center / contain no-repeat; mask: url(../img/selo-pincel.svg) center / contain no-repeat; }
.ck .ck-badge--premium { background: var(--red-deep) !important; }
.ck .ck-badge--premium::before { background: #fff !important; -webkit-mask-image: url(../img/selo-estrela.svg) !important; mask-image: url(../img/selo-estrela.svg) !important; }
.ck .ck-badge--kids::before { -webkit-mask-image: url(../img/selo-sorriso.svg) !important; mask-image: url(../img/selo-sorriso.svg) !important; }
.ck .ck-badge--eco::before { background: #5fbf7a !important; -webkit-mask-image: url(../img/selo-folha.svg) !important; mask-image: url(../img/selo-folha.svg) !important; }

/* ---------- Separadores animados ---------- */
.ck-marquee { background: var(--night); color: var(--on-night); overflow: hidden; }
.ck-marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; padding: 24px 0; animation: ckMarquee 40s linear infinite; }
.ck-marquee--rev .ck-marquee__track { animation-direction: reverse; }
.ck-marquee:hover .ck-marquee__track { animation-play-state: paused; }
.ck-marquee span { font: 700 28px/1 var(--font-display); letter-spacing: -0.02em; white-space: nowrap; }
.ck-marquee span:nth-of-type(even) { color: var(--on-night-muted); }
.ck-marquee i { width: 28px; height: 2px; flex: none; background: var(--red); }
.ck-rule { position: relative; height: 1px; background: var(--line); }
.ck-rule i { position: absolute; top: -1px; left: 0; width: 48px; height: 3px; background: var(--red); animation: ckRuleBar 9s ease-in-out infinite alternate; }

/* ---------- Passos ---------- */
.ck-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.ck-step { padding: 28px; border-radius: var(--radius-md); background: var(--g1); display: grid; gap: 14px; align-content: start; transition: transform 0.35s var(--ease); }
.ck-step:nth-child(2) { background: var(--g2); } .ck-step:nth-child(3) { background: var(--g3); }
.ck-step:hover { transform: translateY(-4px); }
.ck-step__n { font: 700 48px/1 var(--font-display); letter-spacing: -0.04em; color: var(--red-deep); }
.ck-step__t { font: 700 28px/1.1 var(--font-display); letter-spacing: -0.025em; }
.ck-step p { color: #3d3d3d; max-width: 40ch; }
.ck-illus .ck-steps { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
.ck-illus .ck-step { display: grid; grid-template-columns: 72px 1fr; column-gap: 20px; row-gap: 6px; padding: 24px 28px; }
.ck-illus .ck-step__n { grid-row: span 2; font-size: 40px; }

/* ---------- Personalização (vinho) ---------- */
.ck-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; }
.ck-split__media { position: relative; aspect-ratio: 5 / 4; background: var(--g1); border-radius: var(--radius-md); overflow: hidden; display: grid; place-items: center; }
.ck-split__media .ck-pic, .ck-split__media > img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; }
.ck-split__copy { display: grid; gap: var(--space-5); }
.ck-svc { border-top: 1px solid var(--line); }
.ck-svc li { display: grid; grid-template-columns: 56px 1fr; gap: var(--space-3); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ck-svc .ck-num { font-size: 12px; color: var(--ink-muted); }
.ck-svc strong { font: 500 17px/24px var(--font-sans); display: block; }
.ck-svc .ck-caption { display: block; margin-top: 2px; }
.ck .ck-sec-wine { background: var(--red-deeper); color: #fff; border-color: transparent; }
.ck .ck-sec-wine .ck-display-l { color: #fff; }
.ck .ck-sec-wine .ck-lead, .ck .ck-sec-wine .ck-caption, .ck .ck-sec-wine .ck-overline, .ck .ck-sec-wine .ck-num { color: var(--on-wine-muted); }
.ck .ck-sec-wine .ck-eyebrow::after { background: #fff; }
.ck .ck-sec-wine .ck-svc, .ck .ck-sec-wine .ck-svc li { border-color: var(--red-line); }
.ck .ck-sec-wine .ck-split__media .ck-badge { background: #fff; color: var(--red-deeper); }
.ck .ck-sec-wine .ck-split__media .ck-badge::before { background: var(--red-deeper); }

/* ---------- Empresa ---------- */
.ck-years { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.ck-year { display: grid; gap: var(--space-4); align-content: start; }
.ck-year strong { font: 700 72px/0.9 var(--font-display); letter-spacing: -0.05em; padding-bottom: var(--space-4); border-bottom: 2px solid var(--ink); color: var(--red-deep); }
.ck-year p { color: var(--ink-muted); max-width: 40ch; }
.ck-illus .ck-years { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.ck-illus .ck-year { grid-template-columns: 150px 1fr; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ck-illus .ck-year strong { font-size: 52px; padding: 0; border: 0; }

/* ---------- Chamada final ---------- */
.ck .ck-cta { background: var(--red-deep); color: #fff; }
.ck-cta__split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; padding: 88px 0; }
.ck-cta__copy { display: grid; gap: 20px; }
.ck .ck-cta .ck-display-l { color: #fff; max-width: 16ch; }
.ck .ck-cta .ck-lead, .ck .ck-cta .ck-overline { color: var(--on-red-muted); }
.ck .ck-cta .ck-eyebrow::after { background: #fff; }
.ck .ck-cta .ck-btn--primary { background: #fff; color: var(--red-deeper); }
.ck .ck-cta .ck-btn--primary:hover { background: var(--night); color: #fff; }
.ck-cta__img { margin: 0; height: 420px; border-radius: var(--radius-md); overflow: hidden; }
.ck-cta__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Rodapé ---------- */
.ck-foot { background: var(--night); color: var(--on-night); border-top: 1px solid var(--night-line); }
.ck-foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: var(--space-7); padding: var(--space-8) 0 var(--space-7); }
.ck-foot__brand { display: grid; gap: var(--space-4); align-content: start; }
.ck-foot__plate { display: inline-flex; background: #fff; padding: 8px 12px; border-radius: var(--radius-sm); justify-self: start; }
.ck-foot__plate img { height: 40px; width: auto; display: block; }
.ck-foot__brand p { color: var(--on-night-muted); font-size: 14px; line-height: 22px; max-width: 34ch; }
.ck-foot h2 { font: 500 11px/14px var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-night-muted); margin-bottom: var(--space-4); }
.ck-foot ul { display: grid; gap: 10px; }
.ck-foot li, .ck-foot li a { font: 400 14px/20px var(--font-sans); color: var(--on-night); text-decoration: none; }
.ck-foot li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ck-foot__muted { color: var(--on-night-muted) !important; }
.ck-foot__bar { border-top: 1px solid var(--night-line); }
.ck-foot__bar .ck-container { min-height: 64px; display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: center; justify-content: space-between; font: 400 13px/18px var(--font-sans); color: var(--on-night-muted); padding-top: 14px; padding-bottom: 14px; }
.ck-foot__bar nav { display: flex; gap: var(--space-5); flex-wrap: wrap; }
.ck-foot__bar a, .ck-foot__bar button { color: var(--on-night-muted); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.ck-foot__bar a:hover, .ck-foot__bar button:hover { color: #fff; }
.ck-social { display: flex; gap: var(--space-2); }
.ck-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--night-line); border-radius: var(--radius-sm); color: #fff; }
.ck-social a:hover { border-color: #fff; }

/* ---------- Páginas internas ---------- */
.ck-crumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; font: 400 13px/18px var(--font-sans); color: var(--ink-muted); }
.ck-crumbs a { color: var(--ink-muted); text-decoration: none; }
.ck-crumbs a:hover { color: var(--ink); }
.ck-crumbs [aria-current] { color: var(--ink); }
.ck-pagehead { padding: var(--space-7) 0 var(--space-6); display: grid; gap: var(--space-4); }
.ck-pagehead__row { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-7); align-items: end; }

/* catálogo */
.ck-catlayout { display: grid; gap: 0; }
.ck-toolbar { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; padding: var(--space-5) 0; }
.ck-search { position: relative; flex: 1 1 320px; max-width: 420px; }
.ck-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-muted); pointer-events: none; }
.ck-search .ck-input { padding-left: 44px; }
.ck-chip { height: 40px; padding: 0 var(--space-4); display: inline-flex; align-items: center; gap: var(--space-2); font: 500 13px/18px var(--font-sans); color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); cursor: pointer; text-decoration: none; }
.ck-chip:hover { border-color: var(--ink); }
.ck-chip[aria-pressed="true"], .ck-chip.is-on { background: var(--red-deep); color: #fff; border-color: var(--red-deep); }
.ck-toolbar__sep { width: 1px; height: 24px; background: var(--line); margin: 0 var(--space-2); }
.ck-toolbar__end { margin-left: auto; display: flex; align-items: center; gap: var(--space-3); }
.ck-toolbar__end .ck-select { min-height: 40px; height: 40px; padding: 0 var(--space-4); width: auto; }
.ck-results { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 0 0 var(--space-5); }
.ck .ck-tabs .ck-tab { text-decoration: none; }
.ck-promo { background: var(--red-deep); color: #fff; border-radius: var(--radius-md); padding: var(--space-6); display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-5); min-height: 360px; }
.ck .ck-promo .ck-overline, .ck-promo p { color: var(--on-red-muted); }
.ck-promo .ck-h1 { color: #fff; }
.ck-pager { display: flex; justify-content: center; align-items: center; gap: 8px; padding: var(--space-8) 0 var(--space-9); flex-wrap: wrap; }
.ck-pager a, .ck-pager span { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); text-decoration: none; font: 500 14px/1 var(--font-sans); color: var(--ink); background: #fff; }
.ck-pager a:hover { border-color: var(--ink); }
.ck-pager [aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.ck-empty-state { padding: 80px 24px; text-align: center; display: grid; gap: 12px; justify-items: center; }

/* produto */
.ck-pdp { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-8); align-items: start; padding-bottom: var(--space-9); }
.ck-gallery { display: grid; gap: var(--space-3); }
.ck-gallery__main { position: relative; aspect-ratio: 1 / 1; background: var(--g1); border-radius: var(--radius-md); overflow: hidden; cursor: zoom-in; }
.ck-gallery__main .ck-pic { position: absolute; inset: 6%; transition: transform 0.25s ease; }
.ck-gallery__main.is-zoom .ck-pic { transform: scale(1.9); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.ck-gallery__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-3); }
.ck-thumb { aspect-ratio: 1 / 1; background: var(--g1); border-radius: var(--radius-md); overflow: hidden; border: 0; padding: 0; cursor: pointer; outline: 2px solid transparent; outline-offset: -2px; position: relative; }
.ck-thumb[aria-current="true"] { outline-color: var(--ink); }
.ck-thumb .ck-pic { position: absolute; inset: 10%; }
.ck-buy { position: sticky; top: calc(var(--header-height) + var(--space-5)); display: grid; gap: var(--space-5); }
.ck-buy__head { display: grid; gap: var(--space-3); }
.ck-contents { border-top: 1px solid var(--line); }
.ck-contents li { display: grid; grid-template-columns: 20px 1fr; gap: var(--space-3); padding: 12px 0; border-bottom: 1px solid var(--line); font: 400 15px/22px var(--font-sans); }
.ck-contents svg { color: var(--red-deep); margin-top: 2px; }
.ck-buybox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-5); display: grid; gap: var(--space-4); }
.ck-buybox__row { display: flex; gap: var(--space-3); align-items: center; }
.ck-buybox__row .ck-btn { flex: 1; }
.ck-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.ck-perk { display: grid; gap: 6px; padding: var(--space-4); background: var(--g1); border-radius: var(--radius-sm); }
.ck-perk svg { color: var(--red-deep); }
.ck-perk strong { font: 500 13px/18px var(--font-sans); }
.ck-perk span { font: 400 12px/16px var(--font-sans); color: var(--ink-muted); }
.ck-spec { border-top: 1px solid var(--line); }
.ck-spec div { display: grid; grid-template-columns: 168px 1fr; gap: var(--space-4); padding: 14px 0; border-bottom: 1px solid var(--line); }
.ck-spec dt { font: 500 11px/20px var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.ck-spec dd { font: 400 15px/22px var(--font-sans); }
.ck-tabsline { display: flex; gap: var(--space-6); border-bottom: 1px solid var(--line); margin-bottom: var(--space-5); overflow-x: auto; }
.ck-panel[hidden] { display: none; }
.ck-mbar { display: none; }

/* orçamento */
.ck-progress { display: flex; gap: var(--space-4); align-items: center; flex-wrap: wrap; }
.ck-progress li { display: inline-flex; align-items: center; gap: var(--space-3); font: 500 14px/20px var(--font-sans); color: var(--ink-muted); }
.ck-progress b { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font: 500 12px/1 var(--font-sans); color: var(--ink-muted); }
.ck-progress .is-done b { background: var(--ink); border-color: var(--ink); color: #fff; }
.ck-progress .is-done, .ck-progress .is-now { color: var(--ink); }
.ck-progress .is-now b { border: 2px solid var(--red-deep); color: var(--red-deep); background: var(--red-mist); }
.ck-progress i { width: 40px; height: 1px; background: var(--line-strong); }
.ck-quote { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: var(--space-7); align-items: start; padding-bottom: var(--space-9); }
.ck-panelbox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); }
.ck-panelbox__title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: var(--space-5); flex-wrap: wrap; }
.ck-drop { border: 1px dashed var(--line-strong); border-radius: var(--radius-md); padding: var(--space-5); display: flex; gap: var(--space-4); align-items: center; background: var(--surface-000); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.ck-drop:hover, .ck-drop.is-over { border-color: var(--red-deep); background: var(--red-mist); }
.ck-drop svg { color: var(--ink-muted); flex: none; }
.ck-aside { position: sticky; top: calc(var(--header-height) + var(--space-5)); display: grid; gap: var(--space-4); }
.ck-aside .ck-drawer--inline { height: auto; }
.ck-aside .ck-drawer__list { overflow: visible; }
.ck-aside__img { margin: 0; height: 260px; border-radius: var(--radius-md); overflow: hidden; }
.ck-aside__img img { width: 100%; height: 100%; object-fit: cover; }
.ck-formerr { margin-bottom: 16px; }
.ck-done { max-width: 760px; margin: 0 auto; padding: var(--space-9) 0; display: grid; gap: var(--space-6); justify-items: start; }
.ck-done__mark { width: 64px; height: 64px; display: grid; place-items: center; background: var(--red-deep); color: #fff; border-radius: var(--radius-md); }
.ck-proto { display: inline-flex; gap: var(--space-3); align-items: center; padding: var(--space-3) var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.ck-next { width: 100%; border-top: 1px solid var(--line); }
.ck-next li { display: grid; grid-template-columns: 56px 1fr; gap: var(--space-4); padding: var(--space-5) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ck-wide-img { width: 100%; margin: 0; height: 340px; border-radius: var(--radius-md); overflow: hidden; }
.ck-wide-img img { width: 100%; height: 100%; object-fit: cover; }

/* contato */
.ck-contact { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--space-7); align-items: start; padding-bottom: var(--space-9); }
.ck-contact__info { display: grid; gap: 18px; }
.ck-contact__item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.ck-contact__item > span:first-child { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--red-mist); color: var(--red-deep); }
.ck-map { border: 0; width: 100%; height: 260px; border-radius: var(--radius-md); filter: grayscale(1) contrast(1.05); }

/* notícias */
.ck-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ck-post { display: grid; gap: 12px; text-decoration: none; color: var(--ink); padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform 0.3s var(--ease), border-color 0.3s; }
.ck-post:hover { transform: translateY(-3px); border-color: var(--ink); }
.ck-post h2 { font: 700 21px/1.2 var(--font-display); letter-spacing: -0.015em; }

/* ---------- Toast e gaveta (ajustes) ---------- */
.ck-toast { max-width: calc(100vw - 32px); }
.ck-veil { background: rgba(17, 17, 17, 0.48); }
.ck-drawer__empty-cta { padding: 0 var(--space-6) var(--space-6); text-align: center; }

/* ---------- Painel de acessibilidade ---------- */
.ck-a11y { position: fixed; right: 16px; bottom: 16px; z-index: 75; }
.ck-a11y__btn { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--night); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-overlay); }
.ck-a11y__panel { position: absolute; right: 0; bottom: 60px; width: 280px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-overlay); padding: 16px; display: grid; gap: 8px; }
.ck-a11y__panel[hidden] { display: none; }
.ck-a11y__panel h2 { font: 600 16px/1.3 var(--font-display); margin-bottom: 4px; }
.ck-a11y__opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; font: 500 14px/20px var(--font-sans); color: var(--ink); width: 100%; text-align: left; }
.ck-a11y__opt[aria-pressed="true"] { border-color: var(--red-deep); background: var(--red-mist); }
.ck-a11y__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* ---------- Consentimento (LGPD) ---------- */
.ck-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 720px; margin: 0 auto; background: var(--night); color: var(--on-night); border-radius: var(--radius-md); box-shadow: var(--shadow-overlay); padding: 20px 24px; display: grid; gap: 14px; }
.ck-consent[hidden] { display: none; }
.ck-consent p { font: 400 14px/22px var(--font-sans); color: var(--on-night-muted); }
.ck-consent p a { color: #fff; }
.ck-consent strong { font: 600 16px/1.3 var(--font-display); color: #fff; }
.ck-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ck-consent__prefs { display: grid; gap: 8px; border-top: 1px solid var(--night-line); padding-top: 12px; }
.ck-consent__prefs[hidden] { display: none; }
.ck-consent__prefs label { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font: 400 13px/20px var(--font-sans); color: var(--on-night-muted); }
.ck-consent__prefs label strong { font: 500 14px/20px var(--font-sans); color: #fff; display: block; }
.ck-consent__prefs input { width: 18px; height: 18px; accent-color: var(--red); margin: 2px 0 0; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .ck-hero__in, .ck-split, .ck-pdp, .ck-quote, .ck-sechead, .ck-pagehead__row, .ck-illus, .ck-illus--rev, .ck-cta__split, .ck-contact { grid-template-columns: 1fr; }
  .ck-illus--rev .ck-illus__img { order: -1; }
  .ck-hero__art { padding-left: 0; }
  .ck-hero__red { display: none; }
  .ck-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ck-stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .ck-stat:nth-child(n+3) { border-top: 1px solid var(--red-line); }
  .ck-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 240px; }
  .ck-steps, .ck-years { grid-template-columns: 1fr; }
  .ck-foot__grid { grid-template-columns: 1fr 1fr; }
  .ck-buy, .ck-aside { position: static; }
  .ck-segs__in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ck-segs__label { grid-column: 1 / -1; }
  .ck-posts { grid-template-columns: 1fr 1fr; }
  .ck-illus__img { min-height: 360px; }
  .ck-cover__cap { left: 16px; right: 16px; bottom: 16px; }
  .ck-grid[style] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 860px) {
  .ck-menubtn { display: grid; }
  .ck-util__in span:nth-child(2) { display: none; }
  .ck-grid[style] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 28px 12px !important; }
  .ck-card__body { padding-top: 12px; gap: 6px; }
  .ck-card__name { font-size: 15px; line-height: 21px; }
  .ck-card__actions .ck-btn { --_h: 40px; padding: 0 10px; font-size: 13px; }
  .ck .ck-card__media .ck-badge { height: 28px; padding: 0 10px; font-size: 11.5px; }
  .ck-segs__in { display: flex; overflow-x: auto; gap: 10px; min-height: 0; padding-top: 14px; padding-bottom: 14px; scrollbar-width: none; }
  .ck-segs__label { display: none; }
  .ck-seg { flex: none; gap: 8px; padding: 5px 14px 5px 5px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-size: 13px; }
  .ck-seg__ico { width: 30px; height: 30px; }
  .ck-seg__ico svg { width: 18px; height: 18px; }
  .ck-seg br { display: none; }
  .ck-marquee__track { gap: 24px; padding: 18px 0; animation-duration: 30s; }
  .ck-marquee span { font-size: 20px; }
}
@media (max-width: 640px) {
  .ck-hero__in { padding-top: 40px; gap: 32px; }
  .ck-hero .ck-actions .ck-btn { width: 100%; }
  .ck-stats { margin-top: 32px; }
  .ck-stat { padding: 20px 0 24px; }
  .ck-stat:nth-child(even) { padding-left: 16px; }
  .ck-stat strong { font-size: 32px; }
  .ck-bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 208px; gap: 12px; }
  .ck-tile--big { grid-column: 1 / -1; grid-row: auto; height: 300px; }
  .ck-tile--wide { grid-column: 1 / -1; }
  .ck-tile__name { font-size: 19px; }
  .ck-tile--big .ck-tile__name { font-size: 28px; }
  .ck-tile__cap { left: 14px; right: 14px; bottom: 14px; }
  .ck-tile__go { width: 32px; height: 32px; }
  .ck-tile--night { height: auto; min-height: 240px; }
  .ck-tile--night .ck-tile__cap { position: static; padding: 24px; gap: 20px; }
  .ck-cover { height: auto; background: none; overflow: visible; }
  .ck-cover > img { height: auto; aspect-ratio: 4 / 3; border-radius: var(--radius-md); }
  .ck-cover__cap { position: relative; left: auto; right: auto; bottom: auto; margin: -56px 12px 0; padding: 20px; }
  .ck-cover__row { flex-direction: column; align-items: flex-start; gap: 12px; margin: 20px 0 24px; }
  .ck-illus__img { min-height: 0; aspect-ratio: 4 / 3; }
  .ck-cta__split { padding: 64px 0; gap: 24px; }
  .ck-cta__split .ck-cta__img { order: -1; height: auto; aspect-ratio: 4 / 3; }
  .ck-cta .ck-actions .ck-btn { width: 100%; }
  .ck-foot__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .ck-foot__brand, .ck-foot__contact { grid-column: 1 / -1; }
  .ck-perks { grid-template-columns: 1fr; }
  .ck-toolbar__end { margin-left: 0; }
  .ck-toolbar__sep { display: none; }
  .ck-posts { grid-template-columns: 1fr; }
  .ck-spec div { grid-template-columns: 112px 1fr; }
  .ck-illus .ck-year { grid-template-columns: 96px 1fr; }
  .ck-illus .ck-year strong { font-size: 40px; }
  .ck-illus .ck-step { grid-template-columns: 52px 1fr; padding: 20px; }
  .ck-illus .ck-step__n { font-size: 32px; }
  .ck-gallery { margin: 0 -16px; }
  .ck-gallery__main { border-radius: 0; }
  .ck-gallery__thumbs { padding: 0 16px; display: flex; overflow-x: auto; }
  .ck-thumb { flex: 0 0 72px; }
  /* barra fixa inferior no produto e no orçamento */
  .ck-mbar { display: flex; position: sticky; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); padding: 12px 16px 16px; gap: 10px; align-items: center; }
  .ck-mbar .ck-btn { flex: 1; --_h: 52px; }
  .ck-quote .ck-form { grid-template-columns: 1fr; }
  .ck-panelbox { padding: 20px; }
  .ck-a11y { bottom: 84px; }
  .ck-done { padding: 48px 0; }
}

/* ---------- Movimento ---------- */
@keyframes ckMarquee { to { transform: translateX(-50%); } }
@keyframes ckRuleBar { to { left: calc(100% - 48px); } }
@keyframes ckReveal { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes ckFloat { 50% { transform: translateY(-10px); } }
@keyframes ckLine { from { width: 0; } }
@keyframes ckPop { 40% { transform: translateY(-4px) scale(1.06); } }
@keyframes ckIn { from { opacity: 0; transform: scale(0.96); } }
@keyframes ck-bump { 40% { transform: scale(1.18); } }

.ck-hero__copy > * { animation: ckReveal 0.8s var(--ease) both; }
.ck-hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.ck-hero__copy > :nth-child(3) { animation-delay: 0.16s; }
.ck-hero__copy > :nth-child(4) { animation-delay: 0.24s; }
.ck-hero__tile { animation: ckIn 1.1s 0.15s var(--ease) both; }
.ck-hero__red { animation: ckFloat 6s ease-in-out infinite; }
.ck-hero__wine { animation: ckFloat 7s ease-in-out -2s infinite; }
.ck-eyebrow::after { animation: ckLine 0.9s 0.2s var(--ease) both; }

/* revelação ao rolar (JS adiciona .is-in) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(0.96); }
.js [data-reveal="left"] { transform: translateX(-28px); }
.js [data-reveal="right"] { transform: translateX(28px); }
.js [data-reveal].is-in { transform: none; }

/* transição suave entre páginas (navegadores compatíveis) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }

html.ck-no-motion *, html.ck-no-motion *::before, html.ck-no-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) {
  .ck *, .ck *::before, .ck *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
html.ck-no-motion .js [data-reveal], html.ck-no-motion [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ---------- Variação B (vermelho e creme) — ativada no painel ---------- */
.ck-theme-b .ck-tile:not(.ck-tile--night) .ck-overline, .ck-theme-b .ck-card .ck-overline { color: var(--red-deep); }
.ck-theme-b .ck-tile__go { background: var(--red-deep); color: #fff; }
.ck-theme-b .ck-tile--night, .ck-theme-b a.ck-tile--night { background: var(--red-deep); }
.ck-theme-b .ck-tile--night .ck-overline, .ck-theme-b .ck-tile--night .ck-tile__text { color: var(--on-red-muted); }
.ck-theme-b .ck-step { color: #fff; }
.ck-theme-b .ck-step:nth-child(1) { background: var(--red-deep); }
.ck-theme-b .ck-step:nth-child(2) { background: var(--red-deeper); }
.ck-theme-b .ck-step:nth-child(3) { background: var(--night); }
.ck-theme-b .ck-step .ck-step__n, .ck-theme-b .ck-step .ck-step__t { color: #fff; }
.ck-theme-b .ck-step:nth-child(1) p { color: var(--on-red-muted); }
.ck-theme-b .ck-step:nth-child(2) p { color: var(--on-wine-muted); }
.ck-theme-b .ck-step:nth-child(3) p { color: var(--on-night-muted); }

/* ---------- Alto contraste (painel de acessibilidade) ---------- */
html.ck-contrast { --surface-000: #fff; --surface-100: #fff; --surface-200: #fff; --g1: #fff; --g2: #fff; --g3: #fff; --ink-muted: #1a1a1a; --line: #111; --line-strong: #000; --red-deep: #9b0f0a; }
html.ck-contrast .ck-pic__img { mix-blend-mode: normal; }
html.ck-contrast .ck-card__media, html.ck-contrast .ck-tile, html.ck-contrast .ck-step { outline: 2px solid #000; }
html.ck-underline .ck a { text-decoration: underline !important; text-underline-offset: 3px; }

/* ajuste de prioridade sobre components.css */
.ck .ck-card__media .ck-pic__img { object-fit: contain; }
.ck .ck-card:hover .ck-card__media .ck-pic.is-loaded .ck-pic__img { transform: scale(1.04); }

/* ---------- Complementos (build PHP) ---------- */
.ck-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ck-svcgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ck-svccard { display: grid; gap: 12px; align-content: start; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.ck-svccard:hover { transform: translateY(-4px); border-color: var(--red-deep); box-shadow: 0 18px 40px -24px rgba(120, 10, 20, .35); }
.ck-svccard .ck-seg__ico { color: var(--red-deep); }
.ck-results { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 8px 0 24px; }
.ck-quote .ck-drawer__list { max-height: none; }
.ck-quote .ck-caption svg { vertical-align: -3px; }
.ck-done .ck-next li strong { font: 500 17px/24px var(--font-sans); }
@media (max-width: 1080px) { .ck-svcgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ck-svcgrid { grid-template-columns: 1fr; } .ck-svccard { padding: 24px; } .ck-pdp .ck-grid, .ck-grid[style*="repeat(4"] { grid-template-columns: 1fr 1fr !important; } }
@media (min-width: 641px) and (max-width: 1080px) { .ck-grid[style*="repeat(4"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }

.ck-line__thumb { display: grid; place-items: center; }
.ck-line__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 4px; box-sizing: border-box; }
/* ajustes de celular (revisão do build) */
.ck-util__in a { white-space: nowrap; }
@media (max-width: 640px) {
  .ck-util__in > span:first-child { display: none; }
  .ck-util__in { justify-content: flex-end; }
  .ck-grid[style*="repeat(4"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; column-gap: 12px; row-gap: 32px !important; }
  .ck-card, .ck-card__body { min-width: 0; }
  .ck-card__meta { flex-wrap: wrap; gap: 2px 8px; }
  .ck-card__actions .ck-btn { padding: 0 8px; font-size: 13px; }
}
@media (min-width: 641px) and (max-width: 1080px) { .ck-grid[style*="repeat(4"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
html, body { overflow-x: clip; }
.ck-pdp > *, .ck-quote > *, .ck-contact > *, .ck-illus > *, .ck-split > * { min-width: 0; }
.ck-buy, .ck-buybox, .ck-gallery, .ck-aside, .ck-contact__info { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 640px) { .ck-buybox__row { flex-wrap: wrap; } .ck-buybox__row .ck-btn { flex: 1 1 100%; } }

/* lista (gaveta) acima do véu e dos botões flutuantes; acessibilidade e VLibras somem enquanto a lista está aberta */
.ck-veil { z-index: 85; }
.ck-drawer { z-index: 86; }
html.ck-drawer-open .ck-a11y, html.ck-drawer-open .ck-consent { visibility: hidden; }
html.ck-drawer-open [vw], html.ck-drawer-open [vw-access-button], html.ck-drawer-open #vlibras-access-wrapper { display: none !important; }

/* newsletter no rodapé */
.ck-news { display: grid; gap: 10px; margin-top: 24px; max-width: 420px; }
.ck-news__label { font: 500 13px/18px var(--font-sans); color: var(--on-night); }
.ck-news__row { display: flex; gap: 8px; }
.ck-news__row .ck-input { flex: 1; min-width: 0; background: rgba(255,255,255,.06); border-color: var(--night-line); color: #fff; }
.ck-news__row .ck-input::placeholder { color: var(--on-night-muted); }
.ck-news__ok { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font: 400 12px/17px var(--font-sans); color: var(--on-night-muted); }
.ck-news__ok input { accent-color: var(--red); margin: 1px 0 0; }
.ck-news__ok a { color: var(--on-night); }
.ck-news__msg { font: 500 13px/18px var(--font-sans); color: #fff; min-height: 18px; }

/* ---------- Imagens no texto, galeria e capa das notícias ---------- */
.ck-prose .ck-fig { margin: 28px auto; display: grid; gap: 8px; max-width: 100%; }
.ck-prose .ck-fig img { width: 100%; height: auto; display: block; }
.ck-prose .ck-fig figcaption, .ck-post-cover figcaption { font-size: 14px; line-height: 1.45; color: var(--ink-muted); }
.ck-prose .ck-fig--s { width: 33%; }
.ck-prose .ck-fig--m { width: 50%; }
.ck-prose .ck-fig--l { width: 75%; }
.ck-prose .ck-fig--full { width: 100%; }
.ck-prose .ck-fig--left { float: left; margin: 6px 28px 16px 0; }
.ck-prose .ck-fig--right { float: right; margin: 6px 0 16px 28px; }
.ck-prose .ck-fig--center { margin-left: auto; margin-right: auto; }
.ck-prose::after { content: ""; display: table; clear: both; }
@media (max-width: 640px) {
  .ck-prose .ck-fig--left, .ck-prose .ck-fig--right { float: none; margin: 24px auto; }
  .ck-prose .ck-fig--s, .ck-prose .ck-fig--m, .ck-prose .ck-fig--l { width: 100%; }
}
.ck-post-cover { height: auto; display: grid; gap: 10px; overflow: visible; }
.ck-post-cover picture { display: block; height: clamp(240px, 42vw, 520px); border-radius: var(--radius-md); overflow: hidden; }
.ck-post-cover img { width: 100%; height: 100%; object-fit: cover; }
.ck-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ck-tags a { font-size: 13px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-muted); text-decoration: none; }
.ck-tags a:hover { border-color: var(--ink); color: var(--ink); }
.ck-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 12px; padding-bottom: var(--space-7); max-width: var(--measure-wide, 1080px); }
.ck-gallery a { display: block; aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; background: var(--g1); }
.ck-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ck-gallery a:hover img { transform: scale(1.04); }
.ck-gallery a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.ck-post--img { padding: 0 0 24px; overflow: hidden; }
.ck-post--img > :not(.ck-post__img) { margin-inline: 24px; }
.ck-post__img { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--g1); }
.ck-post__img img { width: 100%; height: 100%; object-fit: cover; }
.ck-lb { position: fixed; inset: 0; z-index: 120; background: rgba(10, 8, 8, .94); display: grid; place-items: center; padding: 56px 16px; border: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; }
.ck-lb::backdrop { background: rgba(10, 8, 8, .94); }
.ck-lb img { max-width: min(1600px, 100%); max-height: calc(100vh - 120px); object-fit: contain; border-radius: 4px; }
.ck-lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.ck-lb button:hover, .ck-lb button:focus-visible { background: rgba(255,255,255,.24); outline: 2px solid #fff; }
.ck-lb [data-lb-close] { top: 12px; right: 12px; }
.ck-lb [data-lb-prev] { left: 12px; top: 50%; transform: translateY(-50%); }
.ck-lb [data-lb-next] { right: 12px; top: 50%; transform: translateY(-50%); }
.ck-lb p { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.75); font-size: 14px; }
