/* Eletro Terrível: page CSS shared by every page of the site.
   Kit (system.css, motion, layout) does tokens, grid, nav, buttons and hover; this file adds the
   site's own parts: the brand hero, the page heads, the sliding-pill switchers, product rows,
   the contact panel and the dark footer. Brand: logo blue #38428a on a cool off-white (guia Zunzun,
   seção 7: logotipo, cores e tipografia já adotados). */

:root {
  --p-bg: #f4f5f8; --p-surface: #e7e9f1; --p-ink: #151830; --p-muted: #5a5e72;
  --p-accent: #38428a; --p-accent-ink: #ffffff; --p-action: #38428a; --p-action-ink: #ffffff;
  --p-inv-bg: #151830; --p-inv-surface: #21253c; --p-inv-ink: #f4f5f8; --p-inv-muted: #a3a6b5;
  --p-inv-accent: #f4f5f8; --p-inv-accent-ink: #151830; --p-inv-action: #f4f5f8; --p-inv-action-ink: #151830;
  --font-display: "Rethink Sans", system-ui, sans-serif;
  --font-text: "Rethink Sans", system-ui, sans-serif;
  --display-weight: 500;
  --display-tracking: -0.03em;
  --brand: #38428a;
  --brand-deep: #2b336e;
  --press-ease: cubic-bezier(.3, 0, .5, 1);
  --settle-ease: cubic-bezier(.22, 1, .36, 1);
  --tile: #ffffff;
  --hair: color-mix(in oklab, var(--p-ink) 12%, transparent);
}
:root[data-buttons="pill"] { --r-btn: 999px; }
/* keyboard focus never lands under the fixed header or the phone action bar */
html { scroll-padding-top: calc(var(--nav) + 16px); scroll-padding-bottom: calc(var(--bar, 0px) + 16px); }

/* sections that hold catalogue text grow with it (inner pages); the home keeps the kit's screens */
main > section.auto, footer.closing.auto { height: auto !important; min-height: 0 !important; }
main > section.auto > .wrap, footer.closing.auto > .wrap { height: auto; }

/* ---------- nav: the logo mark beside the name, one button */
.nav__logo { gap: 10px; font-weight: 600; letter-spacing: -0.02em; }
.nav__logo img { width: 34px; height: 34px; flex: none; }
.nav__menu .menu-card .panel { background: var(--tile); }
.nav__menu .menu-card .panel img { object-fit: contain; padding: 12%; }

/* ---------- push back: every button and switcher sinks on press and settles on release */
.seg__opt, .contact__tab, .tile-link {
  transition: transform 240ms var(--settle-ease), background-color 200ms var(--settle-ease), color 200ms var(--settle-ease), box-shadow 200ms var(--settle-ease);
}
.seg__opt:active, .contact__tab:active { transform: scale(.96); transition: transform 90ms var(--press-ease); }
/* .btn presses with the lit-button system at the end of this file */

/* ---------- home hero: the logo on its own blue, the words centred under it */
.hero--place { --photo: min(400px, 44svh); }
.hero--place > .hero__brand { display: grid; place-items: center; background: var(--brand); }
.hero__brand > img { height: calc(var(--photo) * .74); width: auto; max-width: 80%; object-fit: contain; }
:root[data-type="place"] .hero--place .hero__text {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-4);
  max-width: 760px; margin-inline: auto;
}
:root[data-type="place"] .hero--place .hero__text > * { margin: 0; }
:root[data-type="place"] .hero--place .hero__text h1 { text-wrap: balance; }
:root[data-type="place"] .hero--place .hero__text > .hero__lead { max-width: 52ch; text-wrap: balance; }
:root[data-type="place"] .hero--place .hero__text > .btn-row { justify-content: center; margin-top: var(--s-3); }

/* ---------- inner page head: a blue band under the nav, centred */
.page-head {
  background: var(--brand); color: #fff;
  padding: calc(var(--nav) + 72px) 0 64px;
  --ink: #fff; --muted: rgba(255,255,255,.82);
}
.page-head .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-4); }
.page-head .t-label { color: rgba(255,255,255,.82); margin: 0; }
.page-head h1 { margin: 0; color: #fff; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 500; text-wrap: balance; }
.page-head p.lead { margin: 0; max-width: 56ch; font-size: var(--t-lead); line-height: 1.5; color: rgba(255,255,255,.88); text-wrap: balance; }
.page-head .seg { margin-top: var(--s-5); }
.page-head--dark { background: #0f1020; }
.page-head__logo { width: min(300px, 60vw); height: auto; }

/* ---------- sliding-pill switcher (links between categories, or tabs) */
.seg {
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  padding: 4px; border-radius: 999px; background: color-mix(in oklab, var(--p-ink) 7%, transparent);
  max-width: 100%;
}
.seg__pill {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--n, 4));
  border-radius: 999px; background: var(--brand); pointer-events: none;
  transform: translateX(calc(var(--i, 0) * 100%));
  transition: transform 260ms var(--settle-ease);
}
.seg__opt {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: none;
  color: var(--p-ink); font: 500 15px/1 var(--font-text); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.seg__opt[aria-selected="true"], .seg__opt[aria-current="page"] { color: #fff; }
.seg__opt:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.seg.is-keys .seg__pill { transition: none; }
/* on the blue band: a white track and a white pill, the chosen word in blue */
.seg--on-brand { background: rgba(255,255,255,.14); }
.seg--on-brand .seg__pill { background: #fff; }
.seg--on-brand .seg__opt { color: #fff; }
.seg--on-brand .seg__opt[aria-current="page"] { color: var(--brand); }
@media (hover: hover) {
  .seg__opt:not([aria-selected="true"]):not([aria-current="page"]):hover { background: color-mix(in oklab, currentColor 10%, transparent); }
}
@media (max-width: 639px) {
  .seg { display: grid; width: 100%; }
  .seg__opt { padding: 0 6px; font-size: 14px; }
  .seg--wide { grid-auto-flow: row; grid-template-columns: 1fr 1fr; grid-auto-columns: auto; border-radius: 24px; }
  .seg--wide .seg__pill { display: none; }
  .seg--wide .seg__opt[aria-current="page"] { background: #fff; }
}

/* home sections: the content sits in the middle of its screen */
main > #produtos > .wrap, main > #atendimento > .wrap { justify-content: center; }

/* ---------- section heads */
.head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-3); margin-bottom: var(--s-7); }
.head h2 { margin: 0; text-wrap: balance; }
.head p { margin: 0; max-width: 56ch; color: var(--muted); font-size: var(--t-lead); line-height: 1.5; text-wrap: balance; }

/* ---------- product tiles (home switcher panels) */
.panels { display: grid; }
.panel-set {
  grid-area: 1 / 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5);
  transition: opacity 220ms var(--settle-ease), transform 220ms var(--settle-ease), filter 220ms var(--settle-ease), visibility 0s linear 0s;
}
.panel-set[inert] { opacity: 0; transform: translateY(6px); filter: blur(4px); visibility: hidden; transition: opacity 120ms ease-out, visibility 0s linear 120ms; }
.tile-link {
  display: flex; flex-direction: column; gap: var(--s-3); color: var(--ink); text-decoration: none;
}
.tile-link .frame { display: block; aspect-ratio: 1; background: var(--tile); border-radius: 20px; overflow: hidden; border: 1px solid var(--hair); }
.tile-link .frame img { width: 100%; height: 100%; object-fit: contain; padding: 10%; transition: transform 420ms var(--settle-ease); }
.tile-link .name { font-size: 17px; font-weight: 500; line-height: 1.35; }
.tile-link .name::after { content: " →"; display: inline-block; transition: transform 240ms var(--settle-ease); }
@media (hover: hover) {
  .tile-link:hover { transform: translateY(-2px); }
  .tile-link:hover .frame img { transform: scale(1.03); }
  .tile-link:hover .name::after { transform: translateX(3px); }
}
.tile-link:active { transform: scale(.98); transition: transform 90ms var(--press-ease); }
.tile-link--all .frame { display: grid; place-items: center; background: var(--brand); border-color: transparent; color: #fff; padding: 24px; text-align: center; }
.tile-link--all .frame strong { font-size: clamp(20px, 1.6vw, 26px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
@media (max-width: 1023px) { .panel-set { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .panel-set { gap: var(--s-4) var(--s-3); } .tile-link .name { font-size: 16px; } }

/* ---------- home: história split */
.story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.story__text { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: var(--s-4); }
.story__text h2 { margin: 0 0 var(--s-2); text-wrap: balance; }
.story__text p { margin: 0; font-size: 18px; line-height: 1.65; max-width: 58ch; }
.story__text .sign { font-size: var(--t-lead); font-weight: 500; color: var(--brand); margin-top: var(--s-2); }
.story__photo { grid-column: 7 / span 6; margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 5 / 4; width: 100%; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; }
@media (max-width: 1023px) {
  .story { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .story__text, .story__photo { grid-column: 1 / -1; }
}

/* ---------- the one dark band: Eletro Cine & TV */
.cine { background: #0f1020; color: #f4f5f8; --ink: #f4f5f8; --muted: #b4b7c6; --bg: #0f1020; --action: #fff; --action-ink: #0f1020; }
.cine .wrap { justify-content: center; }
.cine__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.cine__text { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: var(--s-4); align-items: flex-start; }
.cine__text img { width: 200px; height: auto; margin-bottom: var(--s-2); }
.cine__text h2 { margin: 0; color: #fff; text-wrap: balance; }
.cine__text p { margin: 0; font-size: 17px; line-height: 1.65; max-width: 54ch; color: #dfe1ea; }
.cine__media { grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.cine__media figure { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 9 / 16; background: #000; max-height: calc(100svh - var(--padt) - var(--padb)); }
.cine__media img { filter: brightness(.86); transition: filter 320ms var(--settle-ease); }
.cine:has(.cine__link:hover, .cine__link:focus-visible) .cine__media img { filter: brightness(1); }
.cine__link { color: #fff; font-size: 18px; font-weight: 500; display: inline-flex; min-height: 44px; align-items: center; }
.cine__link::after { content: " →"; white-space: pre; transition: transform 240ms var(--settle-ease); display: inline-block; }
@media (hover: hover) { .cine__link:hover::after { transform: translateX(3px); } }
@media (max-width: 1023px) { .cine__media figure { aspect-ratio: 4 / 5; } }
.cine__media img, .cine__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cine .btn--primary { background: #fff; color: #0f1020; border-color: #fff; }
@media (max-width: 1023px) {
  .cine__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
  .cine__text, .cine__media { grid-column: 1 / -1; }
}

/* ---------- contact switcher (home and contato) */
.contact { width: 100%; max-width: 640px; margin-inline: auto; }
.contact .seg { display: grid; width: 100%; }
.contact__panels { display: grid; margin-top: var(--s-6); }
.contact__panel {
  grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-4);
  font-size: 18px; line-height: 1.6;
  transition: opacity 220ms var(--settle-ease), transform 220ms var(--settle-ease), filter 220ms var(--settle-ease), visibility 0s linear 0s;
}
.contact__panel[inert] { opacity: 0; transform: translateY(6px); filter: blur(4px); visibility: hidden; transition: opacity 120ms ease-out, visibility 0s linear 120ms; }
.contact__panel p { margin: 0; text-wrap: balance; }
.contact__panel .big { font-size: var(--t-h2); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.contact__panel .link { overflow-wrap: anywhere; }
.contact.is-keys .seg__pill, .contact.is-keys .contact__panel { transition: none; }
.hours-line { margin-top: var(--s-7); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2) var(--s-6); color: var(--muted); font-size: 16px; }
.hours-line b { color: var(--ink); font-weight: 500; }
.atend .head p { color: var(--ink); }
.extras { margin-top: var(--s-6); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3) var(--s-6); }
.extras a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.extras img { width: 24px; height: 24px; }

/* ---------- catalogue rows (lâmpadas, luminárias, reatores, soquetes) */
.catalog { padding-block: 96px; }
.family {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter);
  padding-block: 56px; border-top: 1px solid var(--hair); scroll-margin-top: calc(var(--nav) + 16px);
}
.family:first-child { border-top: 0; padding-top: 0; }
.family:last-child { padding-bottom: 0; }
.family__photo { grid-column: 1 / span 4; margin: 0; aspect-ratio: 1; background: var(--tile); border-radius: 24px; overflow: hidden; border: 1px solid var(--hair); align-self: start; }
.family__photo img { width: 100%; height: 100%; object-fit: contain; padding: 10%; }
.family__body { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: var(--s-4); }
.family__body h2 { margin: 0; font-size: clamp(26px, 2.2vw, 34px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 500; }
.family__body p { margin: 0; font-size: 17px; line-height: 1.7; max-width: 62ch; }
.family__body p.first { font-size: 19px; line-height: 1.55; }
.family__body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; max-width: 62ch; }
.family__body li { padding: 14px 0; border-bottom: 1px solid var(--hair); font-size: 17px; line-height: 1.6; }
.family__body li:first-child { border-top: 1px solid var(--hair); }
.family__body li b { font-weight: 500; }
.family__body .note { color: var(--brand); font-weight: 500; }
@media (max-width: 1023px) {
  .family__photo { grid-column: 1 / span 5; }
  .family__body { grid-column: 6 / span 7; }
}
@media (max-width: 639px) {
  .catalog { padding-block: 56px; }
  .family { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); padding-block: 40px; }
  .family__photo, .family__body { grid-column: 1 / -1; }
  .family__photo { max-width: 320px; width: 100%; }
}

/* ---------- consultant call-out at the foot of every product page */
.callout { padding-block: 0 112px; }
.callout__box {
  background: var(--p-surface); border-radius: 32px; padding: 64px 48px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-4);
}
.callout__box h2 { margin: 0; text-wrap: balance; }
.callout__box p { margin: 0; max-width: 56ch; font-size: 18px; line-height: 1.6; text-wrap: balance; }
.callout__box .btn-row { justify-content: center; margin-top: var(--s-3); }
@media (max-width: 639px) { .callout { padding-bottom: 64px; } .callout__box { padding: 40px 20px; border-radius: 24px; } }

/* ---------- text pages (garantia, licitações) */
.doc { padding-block: 96px 112px; }
.doc__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); padding-block: 48px; border-top: 1px solid var(--hair); }
.doc__row:first-child { border-top: 0; padding-top: 0; }
.doc__row h2 { grid-column: 1 / span 4; margin: 0; font-size: clamp(24px, 2vw, 30px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; }
.doc__row .doc__body { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: var(--s-4); }
.doc__body p { margin: 0; font-size: 17px; line-height: 1.7; max-width: 62ch; }
.doc__body .warn { padding: 20px 24px; border-radius: 16px; background: var(--p-surface); }
@media (max-width: 1023px) { .doc__row h2 { grid-column: 1 / -1; } .doc__row .doc__body { grid-column: 1 / -1; } }
@media (max-width: 639px) { .doc { padding-block: 56px 72px; } .doc__row { padding-block: 32px; row-gap: var(--s-4); } }

/* ---------- link cards (contato channels, Eletro Cine & TV channels) */
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); }
.lcard {
  display: flex; flex-direction: column; gap: var(--s-3); padding: 28px; border-radius: 24px;
  background: var(--tile); border: 1px solid var(--hair); color: var(--ink); text-decoration: none;
  transition: transform 240ms var(--settle-ease), border-color 200ms var(--settle-ease);
}
.lcard img, .lcard svg { width: 32px; height: 32px; color: var(--brand); }
.lcard strong { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.lcard span { color: var(--muted); font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.lcard .go { margin-top: auto; padding-top: var(--s-3); color: var(--brand); font-weight: 500; }
.lcard .go::after { content: " →"; display: inline-block; transition: transform 240ms var(--settle-ease); }
@media (hover: hover) {
  a.lcard:hover { transform: translateY(-2px); border-color: color-mix(in oklab, var(--brand) 40%, transparent); }
  a.lcard:hover .go::after { transform: translateX(3px); }
}
a.lcard:active { transform: scale(.98); transition: transform 90ms var(--press-ease); }
@media (max-width: 1023px) { .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .cards4 { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); } .lcard { padding: 22px; } }

/* ---------- Eletro Cine & TV page: the fair stills */
.stills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.stills figure { margin: 0; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: #0f1020; }
.stills img, .stills video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1023px) { .stills { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.block { padding-block: 96px; }
.block + .block { padding-top: 0; }
@media (max-width: 639px) { .block { padding-block: 56px; } }

/* ---------- contato: channels + form */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.split > .channels { grid-column: 1 / span 5; display: grid; gap: 0; }
.split > .form-card { grid-column: 7 / span 6; }
.channel { display: grid; grid-template-columns: 40px 1fr; gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--hair); }
.channel:first-child { padding-top: 0; }
.channel img, .channel svg { width: 28px; height: 28px; color: var(--brand); grid-row: span 2; margin-top: 2px; }
.channel .t-label { color: var(--muted); }
.channel p, .channel a { margin: 0; font-size: 18px; line-height: 1.5; }
.form-card { background: var(--tile); border: 1px solid var(--hair); border-radius: 28px; padding: 40px; }
.form-card h2 { margin: 0 0 var(--s-2); font-size: clamp(24px, 2vw, 30px); letter-spacing: -0.02em; font-weight: 500; }
.form-card > p { margin: 0 0 var(--s-6); color: var(--muted); font-size: 16px; line-height: 1.5; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field textarea {
  font: 16px/1.4 var(--font-text); color: var(--p-ink); background: var(--p-bg);
  border: 1px solid color-mix(in oklab, var(--p-ink) 18%, transparent); border-radius: 14px; padding: 12px 14px; min-height: 48px;
  transition: border-color 160ms ease-out, box-shadow 160ms ease-out;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand) 22%, transparent); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__error { color: #b3261e; font-size: 14px; min-height: 20px; transition: opacity 180ms var(--settle-ease), transform 180ms var(--settle-ease); }
.field__error:empty { opacity: 0; transform: translateY(-4px); }
.form-actions { margin-top: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); align-items: flex-start; }
.form-actions .t-small { color: var(--muted); }
@media (max-width: 1023px) { .split > .channels, .split > .form-card { grid-column: 1 / -1; } .split { row-gap: var(--s-8); } }
@media (max-width: 639px) { .fields { grid-template-columns: minmax(0, 1fr); } .form-card { padding: 24px 20px; border-radius: 24px; } .form-actions .btn { width: 100%; } }

/* ---------- footer: dark, the brand sentence large */
.site-foot { background: #0f1020; color: #dfe1ea; padding: 96px 0 calc(32px + var(--bar)); --ink: #f4f5f8; --muted: #a3a6b5; --line: rgba(255,255,255,.14); }
.site-foot a { color: #f4f5f8; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.foot__brand { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: var(--s-5); align-items: flex-start; }
.foot__brand img { width: 120px; height: auto; }
.foot__brand p { margin: 0; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.3; letter-spacing: -0.02em; color: #fff; max-width: 22ch; }
.foot__col { grid-column: auto / span 2; display: flex; flex-direction: column; gap: 4px; }
.foot__col--wide { grid-column: auto / span 3; }
.foot__col h3 { margin: 0 0 var(--s-3); font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .01em; }
.foot__col a, .foot__col p { margin: 0; font-size: 16px; line-height: 1.5; padding: 6px 0; overflow-wrap: anywhere; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3) var(--s-6); padding-top: 28px; font-size: 14px; color: var(--muted); }
.foot__legal .foot__social { display: flex; gap: var(--s-4); }
.foot__legal .foot__social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.foot__legal .foot__social img { width: 20px; height: 20px; }
@media (max-width: 1023px) {
  .foot__brand { grid-column: 1 / -1; margin-bottom: var(--s-5); }
  .foot__col, .foot__col--wide { grid-column: auto / span 4; }
}
@media (max-width: 639px) {
  .site-foot { padding-top: 64px; }
  .foot__col, .foot__col--wide { grid-column: 1 / -1; }
  .foot__col a { display: flex; align-items: center; min-height: 44px; padding: 0; }
}

.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  .btn, .seg__opt, .seg__pill, .contact__tab, .contact__panel, .contact__panel[inert], .panel-set, .panel-set[inert], .tile-link, .tile-link .frame img, .family__photo img, .lcard, .tile-link .name::after, .lcard .go::after, .cine__link::after, .cine__media img, .field__error { transition: none !important; }
  .tile-link:active { transform: none; }
  .panel-set[inert], .contact__panel[inert] { filter: none; }
  .btn:active, .seg__opt:active, a.lcard:active { transform: none; }
  .contact__panel[inert], .panel-set[inert] { transform: none; }
}

/* the Instagram mark is black (ic-ink): white on the dark footer */
.site-foot img[src$="instagram.svg"] { filter: invert(1); }

/* ================= premium pass (2026-11-16): home without empty screens ================= */

/* home sections take their content's height, parted by one even rhythm */
main > section.band { padding: 128px 0; }
main > section.band + section.band:not(.cine):not(.publicos) { padding-top: 0; }
main > #produtos > .wrap, main > #atendimento > .wrap { justify-content: flex-start; }
@media (max-width: 639px) { main > section.band { padding: 80px 0; } }

/* hero: the whole first screen in the brand blue, the logo lit from behind */
.hero-brand {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(60% 55% at 50% 30%, rgba(255,255,255,.16), rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #3b4594 0%, var(--brand) 55%, #2f387a 100%);
  min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--nav) + 48px) 0 72px;
}
.hero-brand .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-5); }
.hero-brand__logo { width: auto; height: clamp(150px, 26svh, 250px); filter: drop-shadow(0 0 48px rgba(255,255,255,.18)); }
.hero-brand h1 { margin: var(--s-3) 0 0; color: #fff; max-width: 17ch; font-size: clamp(38px, 5vw, 72px); line-height: 1.03; letter-spacing: -0.04em; font-weight: 500; text-wrap: balance; }
.hero-brand__lead { margin: 0; max-width: 54ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: rgba(255,255,255,.88); text-wrap: balance; }
.hero-brand .btn-row { justify-content: center; margin-top: var(--s-3); }
.btn.btn--light { background: #fff; color: var(--brand); border-color: #fff; }
.btn.btn--light:hover { background: #eef0fa; color: var(--brand-deep); border-color: #eef0fa; }
.btn.btn--ghost-light { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn.btn--ghost-light:hover { background: rgba(255,255,255,.18); color: #fff; border-color: #fff; }
@media (max-width: 639px) {
  .hero-brand { min-height: auto; padding: calc(var(--nav) + 40px) 0 56px; }
  .hero-brand .btn-row { width: 100%; flex-direction: column; }
  .hero-brand .btn-row .btn { width: 100%; }
}

/* credentials strip: four facts from the old site, set large, under the hero */
.facts { padding: 0; background: var(--p-bg); }
.facts .wrap { position: relative; }
.facts__row {
  margin: -56px 0 0; position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--tile); border-radius: 28px; box-shadow: 0 24px 60px -24px rgba(21,24,48,.28), 0 0 0 1px var(--hair);
}
.facts__row > div { padding: 32px 28px; display: flex; flex-direction: column; gap: 8px; }
.facts__row > div + div { border-left: 1px solid var(--hair); }
.facts__row dt { font-size: clamp(28px, 2.6vw, 40px); font-weight: 500; letter-spacing: -0.035em; line-height: 1; color: var(--brand); }
.facts__row dd { margin: 0; font-size: 16px; line-height: 1.45; color: var(--p-muted); }
@media (max-width: 1023px) {
  .facts__row { grid-template-columns: 1fr 1fr; }
  .facts__row > div:nth-child(3) { border-left: 0; }
  .facts__row > div:nth-child(n+3) { border-top: 1px solid var(--hair); }
}
@media (max-width: 639px) {
  .facts__row { margin-top: -32px; border-radius: 22px; }
  .facts__row > div { padding: 22px 18px; }
}

/* audiences: five cards from the brand guide */
.publicos { background: var(--p-surface); }
.aud { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-4); }
.aud article { background: var(--tile); border-radius: 24px; padding: 28px 24px; display: flex; flex-direction: column; gap: var(--s-3); box-shadow: 0 0 0 1px var(--hair); }
.aud__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in oklab, var(--brand) 10%, #fff); color: var(--brand); }
.aud__ic svg { width: 24px; height: 24px; }
.aud h3 { margin: var(--s-2) 0 0; font-size: 19px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 500; }
.aud p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--p-muted); }
@media (max-width: 1279px) { .aud { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .aud { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .aud { grid-template-columns: 1fr; } }

/* história: the photo as tall as the text, a softer frame */
#historia .story { align-items: stretch; }
#historia .story__text { justify-content: center; padding-block: var(--s-4); }
#historia .story__photo { aspect-ratio: auto; min-height: 420px; height: 100%; box-shadow: 0 30px 70px -30px rgba(21,24,48,.35); }
@media (max-width: 1023px) { #historia .story__photo { min-height: 0; aspect-ratio: 16 / 10; } }

/* cine band: room around it so the dark block reads as a feature */
.cine .cine__text { align-self: center; }
.cine__media figure { max-height: 560px; }

/* atendimento: the switcher inside a card, so the block has an edge */
.atend .contact { background: var(--tile); border-radius: 32px; padding: 40px 40px 44px; box-shadow: 0 24px 60px -30px rgba(21,24,48,.25), 0 0 0 1px var(--hair); max-width: 720px; }
@media (max-width: 639px) { .atend .contact { padding: 24px 16px 28px; border-radius: 24px; } }

/* product tiles a touch richer */
.tile-link .frame { border-radius: 24px; box-shadow: 0 0 0 1px var(--hair); border: 0; transition: box-shadow 240ms var(--settle-ease); }
@media (hover: hover) { .tile-link:hover .frame { box-shadow: 0 18px 40px -20px rgba(21,24,48,.3), 0 0 0 1px var(--hair); } }
.tile-link--all .frame { background: linear-gradient(160deg, #414ca0, var(--brand-deep)); }

/* inner page heads: same lit blue as the home hero */
.page-head { background: radial-gradient(70% 90% at 50% 0%, rgba(255,255,255,.14), rgba(255,255,255,0) 70%), linear-gradient(180deg, #3b4594, var(--brand) 60%, #2f387a); }
.page-head--dark { background: radial-gradient(70% 90% at 50% 0%, rgba(255,255,255,.10), rgba(255,255,255,0) 70%), #0f1020; }

/* ================= fixes + bigger products (2026-11-16) ================= */
/* hero ghost button: beat the kit's pill-secondary colours */
html .hero-brand .btn.btn--secondary.btn--ghost-light { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.5); }
html .hero-brand .btn.btn--secondary.btn--ghost-light:hover { background: rgba(255,255,255,.2); border-color: #fff; color: #fff; }

/* rhythm: only two plain sections in a row share their padding; a tinted or dark band always has air on both sides */
main > section.band + section.band:not(.cine):not(.publicos) { padding-top: 128px; }
main > section.band:not(.cine):not(.publicos) + section.band:not(.cine):not(.publicos) { padding-top: 0; }
@media (max-width: 639px) {
  main > section.band + section.band:not(.cine):not(.publicos) { padding-top: 80px; }
  main > section.band:not(.cine):not(.publicos) + section.band:not(.cine):not(.publicos) { padding-top: 0; }
}

/* audiences: no broken words */
.aud h3, .aud p { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; }
.aud { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* home: product tiles a little bigger (three photos and a narrower "see all") */
.panel-set { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .72fr); gap: var(--s-5); }
.tile-link .frame img { padding: 7%; }
.tile-link .name { font-size: 18px; }
.tile-link--all .frame { aspect-ratio: auto; flex: 1 1 auto; }
#produtos .wrap { max-width: none; }
@media (max-width: 1023px) {
  .panel-set { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-link--all .frame { aspect-ratio: 1; }
}

/* category pages: the product photo leads, half the row */
.family { align-items: center; padding-block: 72px; }
.family__photo { grid-column: 1 / span 6; border-radius: 32px; box-shadow: 0 30px 70px -40px rgba(21,24,48,.35), 0 0 0 1px var(--hair); border: 0; }
.family__photo img { padding: 6%; }
.family__body { grid-column: 7 / span 6; }
.family__body h2 { font-size: clamp(28px, 2.6vw, 40px); }
@media (max-width: 1023px) {
  .family__photo { grid-column: 1 / span 6; }
  .family__body { grid-column: 7 / span 6; }
}
@media (max-width: 767px) {
  .family { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); padding-block: 48px; }
  .family__photo, .family__body { grid-column: 1 / -1; }
  .family__photo { max-width: none; width: 100%; border-radius: 24px; }
}

/* hero back to the logo band + centred words (client's choice); the facts strip then sits under it, no overlap */
.facts { padding-top: 24px; }
.facts__row { margin-top: 0; }
/* the hero ends with its buttons: no empty band before the facts strip */
main > section.hero.hero--place { height: auto !important; min-height: 0 !important; padding-bottom: 56px !important; }
main > section.hero.hero--place > .wrap { height: auto; }
main > section.facts { padding: 8px 0 0; }
/* products straight after the hero */
main > section.hero + section.band { padding-top: 96px; }
@media (max-width: 639px) { main > section.hero + section.band { padding-top: 64px; } }

/* ================= hero: animated gradient (slow flow; each tap turns it to the next angle and hue) ================= */
@property --g-a  { syntax: '<angle>'; inherits: false; initial-value: 135deg; }
@property --g-1  { syntax: '<color>'; inherits: false; initial-value: #38428a; }
@property --g-2  { syntax: '<color>'; inherits: false; initial-value: #4f5fc8; }
@property --g-3  { syntax: '<color>'; inherits: false; initial-value: #232b66; }
.hero--place > .hero__brand.flow {
  background: linear-gradient(var(--g-a), var(--g-1) 0%, var(--g-2) 35%, var(--g-3) 65%, var(--g-1) 100%);
  background-size: 300% 300%;
  animation: hero-flow 16s ease-in-out infinite alternate;
  transition: --g-a 1100ms cubic-bezier(.22,1,.36,1), --g-1 1100ms cubic-bezier(.22,1,.36,1), --g-2 1100ms cubic-bezier(.22,1,.36,1), --g-3 1100ms cubic-bezier(.22,1,.36,1);
  cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none;
}
.hero--place > .hero__brand.flow > img { pointer-events: none; transition: transform 240ms cubic-bezier(.22,1,.36,1); }
.hero--place > .hero__brand.flow:active > img { transform: scale(.97); transition-duration: 90ms; }
@keyframes hero-flow {
  0%   { background-position: 0% 30%; }
  50%  { background-position: 60% 70%; }
  100% { background-position: 100% 40%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero--place > .hero__brand.flow { animation: none; transition: none; background-position: 50% 50%; }
  .hero--place > .hero__brand.flow:active > img { transform: none; }
}
/* the words' box lies over the band: let taps through to the gradient, keep the words and buttons live */
.hero--place:has(> .hero__brand.flow) > .wrap, .hero--place:has(> .hero__brand.flow) > .wrap > .hero-text { pointer-events: none; }
.hero--place:has(> .hero__brand.flow) .hero__text > * { pointer-events: auto; }

/* ===================================================================================
   UI refinement pass (2026-11-16): OKLCH tokens, alpha borders, concentric radii,
   vivid gradients, icon weight, icon swap blur, dark-band depth, dvh, product blending
   =================================================================================== */

/* 3 · OKLCH colour system: the same tones as before, written perceptually */
:root {
  --p-bg: oklch(0.970 0.004 271.4); --p-surface: oklch(0.935 0.011 274.9);
  --p-ink: oklch(0.220 0.047 276.4); --p-muted: oklch(0.486 0.032 276.2);
  --p-accent: oklch(0.411 0.119 274); --p-action: oklch(0.411 0.119 274);
  --p-inv-bg: oklch(0.181 0.033 279.9); --p-inv-surface: oklch(0.272 0.043 275.6); --p-inv-muted: oklch(0.728 0.022 276.8);
  --brand: oklch(0.411 0.119 274); --brand-deep: oklch(0.348 0.102 274.1);
  --dark: oklch(0.181 0.033 279.9);
  /* surfaces for product photos: a hair off white, so multiply-blended white backgrounds melt into it */
  --tile: oklch(0.985 0.003 274);
  --photo-ground: oklch(0.978 0.005 274);
  /* 2 · alpha borders: every hairline is ink or white at low alpha, so it blends with what is behind */
  --hair: oklch(0.220 0.047 276.4 / 0.11);
  --hair-strong: oklch(0.220 0.047 276.4 / 0.18);
  --hair-light: oklch(1 0 0 / 0.12);
  /* 1 · concentric radii: outer radius and the padding decide the inner one */
  --r-card: 24px; --r-card-lg: 32px; --r-inner-min: 8px;
}

/* 1 · nested radii = outer − padding (never below 8px) */
.form-card { --pad: 40px; border-radius: 28px; padding: var(--pad); }
.form-card .field input, .form-card .field textarea { border-radius: max(var(--r-inner-min), calc(28px - var(--pad))); }
@media (max-width: 639px) { .form-card { --pad: 20px; border-radius: 24px; } .form-card .field input, .form-card .field textarea { border-radius: max(var(--r-inner-min), calc(24px - var(--pad))); } }
.aud article { --pad: 24px; padding: 28px var(--pad); border-radius: var(--r-card); }
.aud__ic { border-radius: max(var(--r-inner-min), calc(var(--r-card) - var(--pad))); }
.doc__body .warn { border-radius: 16px; }
.atend .contact { --pad: 40px; border-radius: 32px; }
.atend .contact .seg { border-radius: 999px; } /* a pill in a card: its own full round */

/* 2 · alpha borders everywhere we draw a line */
.field input, .field textarea { border-color: var(--hair-strong); }
.field [aria-invalid="true"] { border-color: oklch(0.501 0.178 28.7 / 0.75); }
.field__error { color: oklch(0.501 0.178 28.7); }
.lcard, .tile-link .frame, .family__photo, .aud article, .form-card, .atend .contact { border-color: var(--hair); }
.site-foot { --line: var(--hair-light); }
.family, .doc__row, .channel, .family__body li { border-color: var(--hair); }

/* 4 · vivid gradients: interpolate in OKLCH so the middle never greys out */
@supports (background: linear-gradient(in oklch, red, blue)) {
  .hero--place > .hero__brand.flow {
    background-image: linear-gradient(var(--g-a) in oklch, var(--g-1) 0%, var(--g-2) 35%, var(--g-3) 65%, var(--g-1) 100%);
  }
  .tile-link--all .frame { background: linear-gradient(160deg in oklch, oklch(0.47 0.14 274), var(--brand-deep)); }
  .page-head { background: radial-gradient(70% 90% at 50% 0% in oklch, oklch(1 0 0 / .14), oklch(1 0 0 / 0) 70%), linear-gradient(180deg in oklch, oklch(0.426 0.129 274.2), var(--brand) 60%, oklch(0.371 0.112 273.8)); }
  .page-head--dark { background: radial-gradient(70% 90% at 50% 0% in oklch, oklch(1 0 0 / .10), oklch(1 0 0 / 0) 70%), var(--dark); }
}

/* 5 · icon stroke matched to the text weight (Rethink Sans 400–500 ≈ 1.5–1.8px stems) */
.aud__ic svg, .aud__ic svg * { stroke-width: 1.75; }
.ic-line { width: 28px; height: 28px; color: var(--brand); flex: none; }
.ic-line, .ic-line * { stroke-width: 1.6; }
.lcard .ic-line { width: 32px; height: 32px; }
.lcard .ic-line, .lcard .ic-line * { stroke-width: 1.5; }
.channel .ic-line { grid-row: span 2; margin-top: 2px; }

/* 7 · the menu button swaps lines → cross with a soft blur, never a hard cut */
.nav__toggle { position: relative; }
.nav__toggle .ic-menu, .nav__toggle .ic-close {
  grid-area: 1 / 1;
  transition: opacity 180ms cubic-bezier(.22,1,.36,1), transform 180ms cubic-bezier(.22,1,.36,1), filter 180ms cubic-bezier(.22,1,.36,1);
}
.nav__toggle .ic-close { opacity: 0; transform: scale(.8) rotate(-45deg); filter: blur(3px); }
.nav.is-open .nav__toggle .ic-menu { opacity: 0; transform: scale(.8); filter: blur(3px); }
.nav.is-open .nav__toggle .ic-close { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { .nav__toggle .ic-menu, .nav__toggle .ic-close { transition: none; filter: none; } }

/* 8 · depth on the dark bands: a lighter surface and a white hairline, not a shadow lost in the dark */
.cine__media figure { background: oklch(0.24 0.04 278); box-shadow: 0 0 0 1px var(--hair-light); }
.site-foot { background: var(--dark); }
.foot__legal { border-top: 1px solid var(--hair-light); }
.foot__top { border-bottom-color: var(--hair-light); }
.cine { background: var(--dark); }

/* 9 · mobile viewport: dynamic units where the old ones were small/large viewport */
@supports (height: 100dvh) {
  .hero--place { --photo: min(400px, 44dvh); }
  .cine__media figure { max-height: min(560px, calc(100dvh - var(--padt) - var(--padb))); }
}

/* 10 · product photos on white: multiply melts the white into the tinted frame */
.tile-link .frame, .family__photo, .nav__menu .menu-card .panel { background: var(--photo-ground); }
.tile-link .frame img, .family__photo img, .nav__menu .menu-card .panel img { mix-blend-mode: multiply; }
/* the "see all" tile keeps its blue (it has no photo to blend) */
.tile-link.tile-link--all .frame { background: linear-gradient(160deg, #414ca0, #2b336e); }
@supports (background: linear-gradient(in oklch, red, blue)) {
  .tile-link.tile-link--all .frame { background: linear-gradient(160deg in oklch, oklch(0.47 0.14 274), oklch(0.348 0.102 274.1)); }
}

/* ================= partner brands: a slow, masked strip at the top of the footer ================= */
.brands { display: grid; gap: 20px; padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid var(--hair-light); }
.brands__label { margin: 0; text-align: center; font-size: 13px; font-weight: 500; letter-spacing: .01em; color: var(--muted); }
.brands__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.brands__track { display: flex; width: max-content; animation: brands-run 48s linear infinite; }
.brands__track ul { display: flex; align-items: center; gap: 72px; margin: 0; padding: 0 36px; list-style: none; }
.brands__track li { flex: none; display: flex; align-items: center; height: 48px; }
.brands__track img { height: 28px; width: auto; opacity: .62; transition: opacity 240ms cubic-bezier(.22,1,.36,1); }
.brands__track img[src*="cinealta"], .brands__track img[src*="anton-bauer"] { height: 34px; }
@media (hover: hover) {
  .brands__viewport:hover .brands__track { animation-play-state: paused; }
  .brands__track img:hover { opacity: 1; }
}
@keyframes brands-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 639px) {
  .brands { padding-bottom: 48px; margin-bottom: 48px; }
  .brands__track ul { gap: 48px; padding: 0 24px; }
  .brands__track img { height: 22px; }
  .brands__track img[src*="cinealta"], .brands__track img[src*="anton-bauer"] { height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .brands__track { animation: none; width: auto; justify-content: center; }
  .brands__track ul { flex-wrap: wrap; justify-content: center; row-gap: 24px; }
  .brands__track ul[aria-hidden] { display: none; }
  .brands__viewport { -webkit-mask-image: none; mask-image: none; }
}
/* optical sizing: each mark gets the same visual area (compact marks taller, wide ones shorter) */
.brands__track img, .brands__track img[src*="cinealta"], .brands__track img[src*="anton-bauer"] { height: var(--lh, 28px); }
@media (max-width: 639px) { .brands__track img, .brands__track img[src*="cinealta"], .brands__track img[src*="anton-bauer"] { height: calc(var(--lh, 28px) * .8); } }

/* ================= skeleton loading: a soft shimmer in each photo frame until its picture arrives ================= */
:root {
  --sk-base: oklch(0.935 0.011 274.9);
  --sk-shine: oklch(0.975 0.006 274);
  --sk-dark-base: oklch(0.24 0.04 278);
  --sk-dark-shine: oklch(0.30 0.045 278);
}
.sk-js .sk { position: relative; }
.sk-js .sk::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(100deg, var(--sk-base) 30%, var(--sk-shine) 50%, var(--sk-base) 70%);
  background-size: 220% 100%;
  animation: sk-shimmer 1.4s ease-in-out infinite;
  transition: opacity 260ms cubic-bezier(.22,1,.36,1);
}
.sk-js .sk--dark::after { background-image: linear-gradient(100deg, var(--sk-dark-base) 30%, var(--sk-dark-shine) 50%, var(--sk-dark-base) 70%); }
.sk-js .sk > img { opacity: 0; transition: opacity 320ms cubic-bezier(.22,1,.36,1); }
.sk-js .sk.is-loaded::after { opacity: 0; animation: none; }
.sk-js .sk.is-loaded > img { opacity: 1; }
/* already in the cache when the page runs: no flash, no fade */
.sk-js .sk.is-instant::after, .sk-js .sk.is-instant > img { transition: none; }
@keyframes sk-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
/* brand logos in the footer: a pill-shaped placeholder of the logo's own width */
.sk-js .brands__track li.sk { border-radius: 8px; }
.sk-js .brands__track li.sk::after { inset: 10px 0; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) {
  .sk-js .sk::after { animation: none; background: var(--sk-base); }
  .sk-js .sk--dark::after { background: var(--sk-dark-base); }
  .sk-js .sk::after, .sk-js .sk > img { transition: none; }
}

/* ================= lit buttons (2026-11-16): one lighting system for every .btn =================
   Light comes from above. Each button is drawn from four layers, all set from tokens:
     1 top inset highlight (--b-hi)   light on the top edge
     2 bottom inset shade  (--b-lo)   the edge facing away from the light
     3 contact shadow      (--b-cast) a tight dark line under it, parting it from the page
     4 ambient glow        (--b-glow) a soft wash of the button's own colour
   plus a sheen (::before) that lightens the top and deepens the bottom inside the button's own colour.
   A variant changes only the tokens; the composition below never changes. Pressed: the outer
   layers fold in, the highlight goes, a shade sits inside the top edge, and the button sinks 1.5px. */
.btn {
  --b-hi: rgba(255,255,255,.22);
  --b-lo: rgba(10,12,40,.32);
  --b-cast: rgba(21,24,48,.30);
  --b-glow: color-mix(in oklab, var(--brand) 42%, transparent);
  --b-sheen-top: rgba(255,255,255,.14);
  --b-sheen-bot: rgba(10,12,40,.14);
  --b-press: rgba(10,12,40,.38);
  position: relative; isolation: isolate;
  box-shadow:
    inset 0 1px 0 0 var(--b-hi),
    inset 0 -1px 0 0 var(--b-lo),
    0 1px 2px 0 var(--b-cast),
    0 6px 16px -6px var(--b-glow);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, var(--b-sheen-top) 0%, transparent 52%, var(--b-sheen-bot) 100%);
  transition: opacity 200ms var(--settle-ease);
}
html .btn.btn {
  transition: transform 240ms var(--settle-ease), background-color 200ms var(--settle-ease), color 200ms var(--settle-ease),
              border-color 200ms var(--settle-ease), box-shadow 220ms var(--settle-ease);
}
@media (hover: hover) and (pointer: fine) {
  html .btn.btn:hover {
    box-shadow:
      inset 0 1px 0 0 var(--b-hi),
      inset 0 -1px 0 0 var(--b-lo),
      0 1px 2px 0 var(--b-cast),
      0 10px 22px -8px var(--b-glow);
  }
}
html .btn.btn:active {
  transform: translateY(1.5px);
  transition: transform 80ms var(--press-ease), box-shadow 80ms var(--press-ease), background-color 80ms var(--press-ease);
  box-shadow:
    inset 0 1px 3px 0 var(--b-press),
    inset 0 -1px 0 0 transparent,
    0 0 0 0 var(--b-cast),
    0 2px 6px -4px var(--b-glow);
}
html .btn.btn:active::before { opacity: .35; transition-duration: 80ms; }

/* secondary: the tinted pill on a light ground; a near-white top edge, a faint grey glow */
.btn.btn--secondary {
  --b-hi: rgba(255,255,255,.85);
  --b-lo: rgba(21,24,48,.10);
  --b-cast: rgba(21,24,48,.12);
  --b-glow: rgba(21,24,48,.08);
  --b-sheen-top: rgba(255,255,255,.45);
  --b-sheen-bot: rgba(21,24,48,.04);
  --b-press: rgba(21,24,48,.16);
}
/* white on a dark or blue ground (the Cine band, the Cine page head, .btn--light) */
.cine .btn.btn--primary, .btn.btn--white, .btn.btn--light {
  --b-hi: #ffffff;
  --b-lo: rgba(21,24,48,.16);
  --b-cast: rgba(0,0,0,.40);
  --b-glow: rgba(255,255,255,.16);
  --b-sheen-top: rgba(255,255,255,0);
  --b-sheen-bot: rgba(21,24,48,.07);
  --b-press: rgba(21,24,48,.22);
}
.btn.btn--white { background: #fff; color: #0f1020; border-color: #fff; }
@media (hover: hover) and (pointer: fine) { .btn.btn--white:hover { background: #eef0f6; border-color: #eef0f6; } }
/* glass on blue (.btn--ghost-light): a lit top edge, no colour glow */
.btn.btn--ghost-light {
  --b-hi: rgba(255,255,255,.30);
  --b-lo: rgba(0,0,0,.14);
  --b-cast: rgba(10,12,40,.20);
  --b-glow: rgba(10,12,40,0);
  --b-sheen-top: rgba(255,255,255,.08);
  --b-sheen-bot: rgba(0,0,0,.06);
  --b-press: rgba(0,0,0,.24);
}
/* the arrow/block text-link secondary has no box, so it takes no light */
html:is([data-buttons="arrow"], [data-buttons="block"]) .btn--secondary { box-shadow: none !important; }
html:is([data-buttons="arrow"], [data-buttons="block"]) .btn--secondary::before { content: none; }
/* on a phone a .btn-row secondary turns into a text link (system.css): no light there either */
@media (max-width: 639px) {
  .btn-row > .btn.btn--secondary { box-shadow: none !important; }
  .btn-row > .btn.btn--secondary::before { content: none; }
}
/* a dark page (system.js sets data-tone) or a dark OS: deeper casts, the same highlight */
html[data-tone="dark"] .btn { --b-cast: rgba(0,0,0,.55); }
@media (prefers-color-scheme: dark) { html:not([data-tone="light"]) .btn.btn--primary { --b-cast: rgba(0,0,0,.42); } }
@media (prefers-reduced-motion: reduce) { html .btn.btn:active { transform: none; } }
@media (forced-colors: active) { .btn { box-shadow: none; } .btn::before { content: none; } }

/* ================= bigger home hero (2026-11-16): the hero is the whole first screen =================
   The blue band takes everything the words leave (never less than --photo), so the screen ends on the
   buttons with no empty ground under them; the logo and the headline step up with it. */
main > section.hero.hero--place {
  display: flex !important; flex-direction: column;
  height: auto !important; min-height: 100svh !important;
  padding: var(--nav) 0 clamp(40px, 7svh, 80px) !important;
}
@supports (height: 100dvh) { main > section.hero.hero--place { min-height: 100dvh !important; } }
main > section.hero.hero--place > .hero__brand {
  position: relative !important; top: auto !important; height: auto !important;
  flex: 1 0 var(--photo); min-height: var(--photo);
}
main > section.hero.hero--place > .wrap { flex: none; height: auto; padding-top: clamp(32px, 5svh, 56px); }
.hero--place > .hero__brand > img { height: clamp(200px, 38svh, 420px); max-height: 82%; }
:root[data-type="place"] .hero--place .hero__text { max-width: 920px; }
:root[data-type="place"] .hero--place .hero__text h1 { font-size: clamp(34px, 4.2vw, 62px); line-height: 1.05; letter-spacing: -0.035em; max-width: none; }
:root[data-type="place"] .hero--place .hero__text > .hero__lead { font-size: clamp(17px, 1.3vw, 20px); max-width: 62ch; }
:root[data-type="place"] .hero--place .btn { height: 52px; padding-inline: 28px; }
@media (max-width: 639px) {
  main > section.hero.hero--place > .wrap { padding-top: 28px; }
  :root[data-type="place"] .hero--place .btn { height: 48px; }
}

/* ================= film grain on gradients (2026-11-16) =================
   One SVG feTurbulence noise (grey, tileable, ~1 KB, no JS) laid over the large gradients only:
   the home hero band, the inner page heads (blue and dark) and the "all products" tile. It breaks
   the banding of the big blends and gives them a printed, film-like surface. Each ground tunes
   --grain-opacity, --grain-size and --grain-blend; the overlay sits under the content, never takes
   a pointer, and never moves. Buttons, photos and flat grounds get none. */
:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  1.6 0 0 0 -.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-dev: 0; /* set to 1 to inspect the grain at full strength; 0 is the shipped level */
}
.hero--place > .hero__brand, .page-head, .tile-link--all .frame { position: relative; isolation: isolate; }
:is(.hero--place > .hero__brand, .page-head, .tile-link--all .frame)::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background: var(--grain) 0 0 / var(--grain-size, 240px) repeat;
  mix-blend-mode: var(--grain-blend, overlay);
  opacity: max(var(--grain-opacity, .5), var(--grain-dev));
}
/* the content stays above the grain */
.hero--place > .hero__brand > img, .page-head > .wrap, .tile-link--all .frame > * { position: relative; z-index: 1; }
/* per ground */
.hero--place > .hero__brand { --grain-opacity: .5; --grain-size: 240px; }
.page-head { --grain-opacity: .45; --grain-size: 240px; }
/* dark grounds: overlay barely moves a near-black, so the grain is lifted with soft-light at a higher level */
.page-head--dark { --grain-blend: soft-light; --grain-opacity: .7; --grain-size: 200px; }
/* a card: a finer, quieter grain at its smaller scale */
.tile-link--all .frame { --grain-opacity: .35; --grain-size: 160px; }
@media (forced-colors: active) { :is(.hero--place > .hero__brand, .page-head, .tile-link--all .frame)::after { content: none; } }

/* ================= palette trial: Klein Blue / Chalk White / Papaya Punch (2026-11-16) =================
   The default since 2026-11-16 (<html data-palette="klein"> in build.py). ?paleta=atual shows the old
   indigo palette in that browser, ?paleta=klein brings it back; the choice is kept in localStorage. 60-30-10:
     Chalk White 60  every ground and the reading text's page   #F5F2EA
     Klein Blue  30  hero band, page heads, footer, headings' accents, icons   #002FA7
     Papaya      10  the action buttons only   #FF6B3D, with navy ink on it (6.3:1; white would be 2.8:1)
   Papaya is never text or a focus ring on chalk (2.6:1): those stay Klein. */
html[data-palette="klein"] {
  --p-bg: #F5F2EA; --p-surface: #ECE6D9; --p-ink: #0E1633; --p-muted: #5A5B66;
  --p-accent: #002FA7; --p-accent-ink: #ffffff; --p-action: #FF6B3D; --p-action-ink: #0E1633;
  --p-inv-bg: #0E1633; --p-inv-surface: #18224A; --p-inv-ink: #F5F2EA; --p-inv-muted: #A9AEC2;
  --p-inv-accent: #F5F2EA; --p-inv-accent-ink: #0E1633; --p-inv-action: #FF6B3D; --p-inv-action-ink: #0E1633;
  --brand: #002FA7; --brand-deep: #001F73;
  --tile: #FBF8F1; --photo-ground: #FAF6EE;
  --hair-strong: color-mix(in oklab, #0E1633 18%, transparent);
  --sk-base: #ECE6D9; --sk-shine: #F7F3EB;
  --hair: color-mix(in oklab, #0E1633 12%, transparent);
}
html[data-palette="klein"] :focus-visible { outline-color: var(--brand); }
html[data-palette="klein"] :is(.menu-col a, .footer ul a, .footer__nav a):hover { color: var(--brand); }
html[data-palette="klein"] .site-foot :is(a):hover { color: #FF8A63; }
/* blue grounds: Klein blends (the hero band's resting colours, the page heads, the "all" tile) */
html[data-palette="klein"] .hero--place > .hero__brand.flow { --g-1: #002FA7; --g-2: #2152E0; --g-3: #001C6E; }
html[data-palette="klein"] .page-head { background: radial-gradient(70% 90% at 50% 0%, rgba(255,255,255,.14), rgba(255,255,255,0) 70%), linear-gradient(180deg, #1240C0, #002FA7 60%, #00237E); }
html[data-palette="klein"] .tile-link.tile-link--all .frame { background: linear-gradient(160deg, #2152E0, #001F73); }
@supports (background: linear-gradient(in oklch, red, blue)) {
  html[data-palette="klein"] .page-head { background: radial-gradient(70% 90% at 50% 0% in oklch, oklch(1 0 0 / .14), oklch(1 0 0 / 0) 70%), linear-gradient(180deg in oklch, #1240C0, #002FA7 60%, #00237E); }
  html[data-palette="klein"] .tile-link.tile-link--all .frame { background: linear-gradient(160deg in oklch, #2152E0, #001F73); }
}
/* the footer joins the 30%: a deep Klein instead of near-black; the Cine band stays black (cinema) */
html[data-palette="klein"] .site-foot { background: #001A5C; }
/* papaya buttons: the lighting tokens in their own colour (glow papaya, the lower edge a burnt orange) */
html[data-palette="klein"] .btn.btn--primary {
  --b-hi: rgba(255,255,255,.38);
  --b-lo: rgba(150,40,0,.32);
  --b-cast: rgba(14,22,51,.24);
  --b-glow: rgba(255,107,61,.45);
  --b-sheen-top: rgba(255,255,255,.16);
  --b-sheen-bot: rgba(150,40,0,.10);
  --b-press: rgba(120,30,0,.36);
}
html[data-palette="klein"] .btn--primary:hover { background: #FF7F57; }
html[data-palette="klein"] .cine .btn.btn--primary { --b-glow: rgba(255,255,255,.16); }

/* the WhatsApp glyph before the label (build.py adds it to every button that opens WhatsApp): the
   button's own ink, so it reads on papaya, blue, white or dark alike; recognition by the mark, not a 4th colour */
.btn .wa-ic { flex: none; width: 18px; height: 18px; margin-left: -4px; fill: currentColor; }
.btn--xl .wa-ic { width: .8em; height: .8em; }

/* the Cine page head stays dark on the Klein palette too (its blue rule above would otherwise win) */
html[data-palette="klein"] .page-head.page-head--dark { background: radial-gradient(70% 90% at 50% 0%, rgba(255,255,255,.10), rgba(255,255,255,0) 70%), #0f1020; }


/* ================= home products a little larger (2026-11-16) =================
   The grid runs ~10% wider than the page column, the photos fill more of their frames, the names
   step up a size and the arrow gets its own space. Phones keep their two-up grid. */
@media (min-width: 1024px) {
  #produtos .wrap { width: min(100% - 2 * clamp(48px, 5vw, 120px), 1320px); }
  #produtos .panel-set { gap: var(--s-5) 28px; }
}
.tile-link .frame img { padding: 3%; transform: scale(1.14); }
@media (hover: hover) { .tile-link:hover .frame img { transform: scale(1.18); } }
.tile-link .name { font-size: clamp(17px, 1.25vw, 19px); letter-spacing: -0.01em; margin-top: 4px; }
.tile-link--all .frame strong { font-size: clamp(22px, 1.8vw, 28px); }

/* ================= mobile review fixes (2026-11-16) =================
   1 · the arrow after a tile name or a card link never wraps alone and never sticks to the word:
       an inline glyph after a no-break space (an inline-block can drop to its own line and eats
       its leading space); the hover nudge moves it with position, which an inline box allows. */
.tile-link .name::after, .lcard .go::after {
  content: "\00a0\2192"; display: inline; position: relative; left: 0; margin: 0;
  transition: left 240ms var(--settle-ease);
}
@media (hover: hover) {
  .tile-link:hover .name::after, a.lcard:hover .go::after { transform: none; left: 3px; }
}
/* 2 · on a phone the second button of a row is one clean text link: no grey pill under the underline */
@media (max-width: 639px) {
  html .btn-row > .btn.btn--secondary { background: none; border-color: transparent; box-shadow: none; }
  html .btn-row > .btn.btn--secondary::before { content: none; }
}
@media (prefers-reduced-motion: reduce) { .tile-link .name::after, .lcard .go::after { transition: none; } }

/* ================= Papaya as detail only (2026-11-16) =================
   A whole papaya button took the scene. The action buttons are now Klein Blue (white text, 10.7:1);
   papaya lives in the details: a fine stroke on the buttons' lower edge and a warm blurred glow under
   them, a blurred warm light in a corner of the blue grounds with a thin papaya rule at their foot,
   the nav underline and the footer's top rule. Never papaya text on chalk (2.6:1). */
html[data-palette="klein"] { --p-action: #002FA7; --p-action-ink: #ffffff; --papaya: #FF6B3D; }
html[data-palette="klein"] .btn.btn--primary {
  --b-hi: rgba(255,255,255,.24);
  --b-lo: rgba(255,107,61,.95);          /* the papaya stroke along the lower edge */
  --b-cast: rgba(14,22,51,.26);
  --b-glow: rgba(255,107,61,.34);         /* the warm blurred light under the button */
  --b-sheen-top: rgba(255,255,255,.12);
  --b-sheen-bot: rgba(0,15,70,.16);
  --b-press: rgba(0,12,60,.42);
}
html[data-palette="klein"] .btn--primary:hover, html[data-palette="klein"] .btn.btn--primary:hover { background: #0A3CC4; }
html[data-palette="klein"] .btn.btn--primary { box-shadow: inset 0 1px 0 0 var(--b-hi), inset 0 -2px 0 0 var(--b-lo), 0 1px 2px 0 var(--b-cast), 0 8px 20px -8px var(--b-glow); }
@media (hover: hover) and (pointer: fine) {
  html[data-palette="klein"] .btn.btn--primary:hover { box-shadow: inset 0 1px 0 0 var(--b-hi), inset 0 -2px 0 0 var(--b-lo), 0 1px 2px 0 var(--b-cast), 0 12px 28px -8px rgba(255,107,61,.46); }
}
html[data-palette="klein"] .btn.btn--primary:active { box-shadow: inset 0 1px 3px 0 var(--b-press), inset 0 -1px 0 0 rgba(255,107,61,.6), 0 0 0 0 var(--b-cast), 0 2px 6px -4px var(--b-glow); }
/* on the Cine black band the primary stays white (its own look), with the papaya stroke */
html[data-palette="klein"] .cine .btn.btn--primary { --b-lo: rgba(255,107,61,.9); --b-glow: rgba(255,107,61,.22); }

/* the blue grounds: a papaya rule at the foot, fading at both ends */
html[data-palette="klein"] :is(.hero--place > .hero__brand, .page-head:not(.page-head--dark)) {
  box-shadow: inset 0 -3px 0 0 transparent;
  background-clip: padding-box;
}
html[data-palette="klein"] :is(.hero--place > .hero__brand, .page-head:not(.page-head--dark)) { border-bottom: 2px solid; border-image: linear-gradient(90deg, rgba(255,107,61,0), rgba(255,107,61,.95) 50%, rgba(255,107,61,0)) 1; }
html[data-palette="klein"] .page-head > .wrap, html[data-palette="klein"] .tile-link--all .frame > * { position: relative; z-index: 1; }
/* the nav: the hover and current-page underline in papaya */
html[data-palette="klein"] .nav__link::before, html[data-palette="klein"] .nav__link[aria-current="page"]::after { background: var(--papaya); }
/* the footer: a papaya rule fading out at both ends along its top */
html[data-palette="klein"] .site-foot { border-top: 2px solid; border-image: linear-gradient(90deg, rgba(255,107,61,0), rgba(255,107,61,.9) 50%, rgba(255,107,61,0)) 1; }


/* ================= the papaya line glows softly; a papaya light follows the pointer (2026-11-16) =================
   One layer (::before) on the blue band and the footer holds both: a faint blurred glow hugging the
   papaya line, and a soft papaya light at the pointer (--mx/--my from site.js, eased by @property),
   faded in by --spot on hover. Page heads get the line glow only. Pointer devices only for the light. */
@property --mx { syntax: '<length-percentage>'; inherits: true; initial-value: 50%; }
@property --my { syntax: '<length-percentage>'; inherits: true; initial-value: 50%; }
@property --spot { syntax: '<number>'; inherits: true; initial-value: 0; }
html[data-palette="klein"] :is(.hero--place > .hero__brand, .page-head:not(.page-head--dark), .site-foot) { position: relative; isolation: isolate; overflow: hidden; }
html[data-palette="klein"] :is(.hero--place > .hero__brand, .site-foot) {
  transition: --mx 520ms cubic-bezier(.22,1,.36,1), --my 520ms cubic-bezier(.22,1,.36,1), --spot 600ms ease;
}
html[data-palette="klein"] :is(.hero--place > .hero__brand, .site-foot).is-lit { --spot: 1; }
html[data-palette="klein"] :is(.hero--place > .hero__brand, .page-head:not(.page-head--dark), .site-foot)::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: 0;
}
/* band and page heads: the line is at the foot */
html[data-palette="klein"] .hero--place > .hero__brand::before {
  background:
    radial-gradient(circle 260px at var(--mx) var(--my), rgba(255,120,70, calc(.26 * var(--spot))), rgba(255,107,61, calc(.08 * var(--spot))) 45%, rgba(255,107,61,0) 100%),
    radial-gradient(42% 34px at 50% 100%, rgba(255,120,70,.30), rgba(255,107,61,.10) 55%, rgba(255,107,61,0) 100%);
}
html[data-palette="klein"] .page-head:not(.page-head--dark)::before {
  background: radial-gradient(42% 34px at 50% 100%, rgba(255,120,70,.30), rgba(255,107,61,.10) 55%, rgba(255,107,61,0) 100%);
}
/* footer: the line is at the top */
html[data-palette="klein"] .site-foot::before {
  background:
    radial-gradient(circle 300px at var(--mx) var(--my), rgba(255,120,70, calc(.18 * var(--spot))), rgba(255,107,61, calc(.05 * var(--spot))) 45%, rgba(255,107,61,0) 100%),
    radial-gradient(42% 34px at 50% 0%, rgba(255,120,70,.26), rgba(255,107,61,.08) 55%, rgba(255,107,61,0) 100%);
}
html[data-palette="klein"] .site-foot > *, html[data-palette="klein"] .page-head > .wrap { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { html[data-palette="klein"] :is(.hero--place > .hero__brand, .site-foot) { transition: --spot 200ms ease; } }
@media (forced-colors: active) { html[data-palette="klein"] :is(.hero--place > .hero__brand, .page-head, .site-foot)::before { content: none; } }

/* ================= primary buttons: no papaya stroke; a liquid papaya fill on hover (2026-11-16) =================
   At rest the button is plain Klein (lit, no papaya line). On hover two papaya blobs rise from the
   lower edge, swell and merge like a liquid filling the pill (@property --lq eases 0 to 1); the label
   and the glyph turn navy as it fills (white on papaya is 2.8:1, navy 6.3:1). Leaving drains it. */
@property --lq { syntax: '<number>'; inherits: true; initial-value: 0; }
html[data-palette="klein"] .btn.btn--primary.btn--primary {
  --lq: 0;
  --b-lo: rgba(0,15,70,.34);
  --b-glow: rgba(0,47,167,.30);
  box-shadow: inset 0 1px 0 0 var(--b-hi), inset 0 -1px 0 0 var(--b-lo), 0 1px 2px 0 var(--b-cast), 0 8px 20px -8px var(--b-glow);
  background-color: #002FA7;
  background-image:
    radial-gradient(ellipse calc(var(--lq) * 95%) calc(var(--lq) * 230%) at 28% 118%, #FF6B3D 0 97%, rgba(255,107,61,0) 100%),
    radial-gradient(ellipse calc(var(--lq) * 110%) calc(var(--lq) * 260%) at 78% 125%, #FF6B3D 0 97%, rgba(255,107,61,0) 100%),
    radial-gradient(ellipse calc(var(--lq) * 140%) calc(var(--lq) * 140%) at 50% 140%, #FF6B3D 0 97%, rgba(255,107,61,0) 100%);
  background-repeat: no-repeat;
  transition: --lq 620ms cubic-bezier(.65, 0, .35, 1), color 260ms ease 120ms, box-shadow 300ms ease, transform 240ms var(--settle-ease);
}
@media (hover: hover) and (pointer: fine) {
  html[data-palette="klein"] .btn.btn--primary.btn--primary:hover {
    --lq: 1;
    color: #0E1633;
    background-color: #002FA7;
    --b-hi: rgba(255,255,255,.38);
    --b-lo: rgba(150,40,0,.30);
    box-shadow: inset 0 1px 0 0 var(--b-hi), inset 0 -1px 0 0 var(--b-lo), 0 1px 2px 0 var(--b-cast), 0 12px 26px -8px rgba(255,107,61,.42);
  }
}
html[data-palette="klein"] .btn.btn--primary.btn--primary:active { box-shadow: inset 0 1px 3px 0 var(--b-press), 0 0 0 0 var(--b-cast), 0 2px 6px -4px var(--b-glow); }
/* the sheen stays above the liquid so it keeps its lit top */
html[data-palette="klein"] .btn.btn--primary.btn--primary::before { z-index: 0; }
html[data-palette="klein"] .btn.btn--primary.btn--primary > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  html[data-palette="klein"] .btn.btn--primary.btn--primary { transition: --lq 1ms linear, color 150ms ease; }
}
/* the Cine black band keeps its white primary: no liquid there */
html[data-palette="klein"] .cine .btn.btn--primary.btn--primary { background-color: #fff; background-image: none; color: #0f1020; }
/* liquid finish: the rim turns papaya with the fill, the label turns navy once the fill passes its middle */
html[data-palette="klein"] .btn.btn--primary.btn--primary { border-color: #002FA7; transition: --lq 620ms cubic-bezier(.65, 0, .35, 1), color 200ms ease 260ms, border-color 200ms ease 300ms, box-shadow 300ms ease, transform 240ms var(--settle-ease); }
@media (hover: hover) and (pointer: fine) {
  html[data-palette="klein"] .btn.btn--primary.btn--primary:hover { border-color: #FF6B3D; }
}

/* ================= the line's glow falls outward, onto the chalk (2026-11-16) =================
   Not inside the blue: under the papaya line of the band and the page heads a soft warm light spills
   down onto the chalk; over the footer's line it spills up. Centred, fading at both ends like the line. */
html[data-palette="klein"] .hero--place > .hero__brand::before {
  background: radial-gradient(circle 260px at var(--mx) var(--my), rgba(255,120,70, calc(.26 * var(--spot))), rgba(255,107,61, calc(.08 * var(--spot))) 45%, rgba(255,107,61,0) 100%);
}
html[data-palette="klein"] .page-head:not(.page-head--dark)::before { content: none; }
html[data-palette="klein"] .site-foot::before {
  background: radial-gradient(circle 300px at var(--mx) var(--my), rgba(255,120,70, calc(.18 * var(--spot))), rgba(255,107,61, calc(.05 * var(--spot))) 45%, rgba(255,107,61,0) 100%);
}
/* under the hero band: the glow sits at the top of the words' block */
html[data-palette="klein"] main > section.hero.hero--place > .wrap { position: relative; }
html[data-palette="klein"] main > section.hero.hero--place > .wrap::before,
html[data-palette="klein"] .page-head:not(.page-head--dark) + *::before,
html[data-palette="klein"] .site-foot::after {
  content: ""; position: absolute; left: 50%; width: min(980px, 76vw); height: 90px; transform: translateX(-50%);
  pointer-events: none; z-index: 0; filter: blur(14px); mix-blend-mode: multiply;
}
html[data-palette="klein"] main > section.hero.hero--place > .wrap::before,
html[data-palette="klein"] .page-head:not(.page-head--dark) + *::before {
  top: -30px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(255,107,61,.30), rgba(255,107,61,.10) 50%, rgba(255,107,61,0) 100%);
}
html[data-palette="klein"] .page-head:not(.page-head--dark) + * { position: relative; }
html[data-palette="klein"] main > section.hero.hero--place > .wrap > * { position: relative; z-index: 1; }
/* over the footer: the light spills up onto the chalk above it */
html[data-palette="klein"] .site-foot { overflow: visible; }
html[data-palette="klein"] .site-foot::after {
  top: -60px; background: radial-gradient(50% 100% at 50% 100%, rgba(255,107,61,.26), rgba(255,107,61,.08) 50%, rgba(255,107,61,0) 100%);
}
/* the outward glow starts exactly at the line (clipped there, so its blur never climbs into the blue) */
html[data-palette="klein"] main > section.hero.hero--place > .wrap::before,
html[data-palette="klein"] .page-head:not(.page-head--dark) + *::before { top: 0; mix-blend-mode: normal; clip-path: inset(0 -40px -60px -40px); }
html[data-palette="klein"] .site-foot::after { top: -90px; mix-blend-mode: normal; clip-path: inset(-60px -40px 0 -40px); }
html[data-palette="klein"] .site-foot.site-foot.site-foot { overflow: visible; }

/* ================= no pointer light (2026-11-16): the user removed it; the line glow stays ================= */
html[data-palette="klein"] :is(.hero--place > .hero__brand, .site-foot)::before { content: none; }

/* ================= mobile fixes (2026-11-16, iPhone) =================
   1 · the WhatsApp glyph never grows past its box (the svg also carries width/height attributes now)
   2 · touch screens have no hover: no liquid layers at all there (iOS drew them at rest); the button
       is plain Klein and only presses down */
.btn svg.wa-ic { width: 18px !important; height: 18px !important; max-width: 18px; max-height: 18px; flex: 0 0 18px; }
@media not all and (hover: hover) and (pointer: fine) {
  html[data-palette="klein"] .btn.btn--primary.btn--primary { background-image: none !important; background-color: #002FA7; color: #fff; border-color: #002FA7; }
}
@media (hover: none), (pointer: coarse) {
  html[data-palette="klein"] .btn.btn--primary.btn--primary { background-image: none !important; background-color: #002FA7; color: #fff; border-color: #002FA7; }
}

/* ================= logo strike: the hero logo forms on load, then stays still (2026-11-18) =================
   Layers cut from logo-branco.png on one 478x560 canvas (build.py logo_anim). The bolt drops in fast
   with a papaya glow; at the hit a white flash and a papaya spark; the ring spreads both ways from the
   top; the five stars light up one by one; the name rises line by line. ~2 s, once. site.js adds
   .is-go when the layers have loaded; without JS, with reduced motion or after the safety timer
   (html.mo-safe) the logo is simply shown. */
@property --la-s { syntax: '<angle>'; inherits: false; initial-value: 180deg; }
.hero--place > .hero__brand > .logo-anim {
  position: relative; z-index: 1; display: block;
  height: clamp(200px, 38svh, 420px); max-height: 82%; aspect-ratio: 478 / 560; max-width: 80%;
  pointer-events: none;
}
.logo-anim > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.logo-anim > .la-ring {
  -webkit-mask-image: conic-gradient(from 0deg at 50.1% 32%, #000 var(--la-s), transparent var(--la-s) calc(360deg - var(--la-s)), #000 calc(360deg - var(--la-s)));
          mask-image: conic-gradient(from 0deg at 50.1% 32%, #000 var(--la-s), transparent var(--la-s) calc(360deg - var(--la-s)), #000 calc(360deg - var(--la-s)));
}
.la-flash, .la-spark { position: absolute; pointer-events: none; opacity: 0; }
/* the hit: the bolt's tip sits at 62.6% / 55.4% of the canvas */
.la-flash { left: 62.6%; top: 55.4%; width: 260%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.55), rgba(255,200,170,.18) 40%, rgba(255,107,61,0) 75%); }
.la-spark { left: 62.6%; top: 55.4%; width: 14%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  border: 2px solid #FF6B3D; box-shadow: 0 0 18px 4px rgba(255,107,61,.6), inset 0 0 10px rgba(255,107,61,.5); }

html.sk-js:not(.mo-safe) .logo-anim:not(.is-go) > img { opacity: 0; }
.logo-anim.is-go > .la-bolt  { animation: la-bolt 1100ms cubic-bezier(.2,.8,.2,1) 120ms both; }
.logo-anim.is-go > .la-flash { animation: la-flash 900ms ease-out 300ms both; }
.logo-anim.is-go > .la-spark { animation: la-spark 800ms cubic-bezier(.2,.8,.2,1) 300ms both; }
.logo-anim.is-go > .la-ring  { animation: la-ring 760ms cubic-bezier(.65,0,.35,1) 380ms both; }
.logo-anim.is-go > .la-star  { animation: la-star 520ms cubic-bezier(.34,1.56,.64,1) calc(820ms + var(--d)) both; }
.logo-anim.is-go > .la-line--1 { animation: la-line 640ms cubic-bezier(.22,1,.36,1) 1150ms both; }
.logo-anim.is-go > .la-line--2 { animation: la-line 640ms cubic-bezier(.22,1,.36,1) 1290ms both; }
@keyframes la-bolt {
  0%   { opacity: 1; clip-path: inset(0 0 100% 0); filter: drop-shadow(0 0 0 rgba(255,107,61,0)); }
  16%  { clip-path: inset(0 0 0 0); filter: drop-shadow(0 0 14px rgba(255,140,90,1)) drop-shadow(0 0 4px #fff) brightness(1.4); }
  22%  { filter: drop-shadow(0 0 4px rgba(255,140,90,.6)) brightness(1); }
  28%  { filter: drop-shadow(0 0 16px rgba(255,120,70,.95)) drop-shadow(0 0 3px #fff) brightness(1.3); }
  100% { opacity: 1; clip-path: inset(0 0 0 0); filter: drop-shadow(0 0 0 rgba(255,107,61,0)); }
}
@keyframes la-flash { 0% { opacity: 0; scale: .4; } 12% { opacity: 1; } 100% { opacity: 0; scale: 1; } }
@keyframes la-spark { 0% { opacity: 0; scale: .2; } 15% { opacity: 1; } 100% { opacity: 0; scale: 3.2; } }
@keyframes la-ring  { 0% { opacity: 1; --la-s: 0deg; } 100% { opacity: 1; --la-s: 180deg; } }
@keyframes la-star  { 0% { opacity: 0; scale: .2; rotate: -40deg; } 100% { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes la-line  { 0% { opacity: 0; translate: 0 14px; filter: blur(6px); } 100% { opacity: 1; translate: 0 0; filter: blur(0); } }
@media (prefers-reduced-motion: reduce) {
  .logo-anim.is-go > * { animation: none !important; }
  html.sk-js .logo-anim > img { opacity: 1 !important; }
}
/* the click on the band still cycles the colours; the logo just presses */
.hero--place > .hero__brand.flow:active > .logo-anim { transform: scale(.97); transition: transform 90ms; }
.hero--place > .hero__brand.flow > .logo-anim { transition: transform 240ms cubic-bezier(.22,1,.36,1); }

/* ================= papaya without hover (2026-11-18) =================
   Phones have no hover, so the liquid buttons never showed the third colour there. Papaya now also
   lives in things every screen sees, still as detail (never text on chalk, 2.6:1):
   1 · the chalk grounds carry a light-blue wash with a soft papaya light over it (below)
   2 · on touch, a tap fills the primary button papaya (navy label) for a moment before it opens
   3 · a papaya rule fading at both ends along the top of the phone's WhatsApp bar */
@media (hover: none), (pointer: coarse) {
  html[data-palette="klein"] .btn.btn--primary.btn--primary.is-tap {
    background-color: #FF6B3D !important; border-color: #FF6B3D !important; color: #0E1633 !important;
    box-shadow: inset 0 1px 0 0 rgba(255,255,255,.38), 0 8px 22px -8px rgba(255,107,61,.6) !important;
    transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease, transform 90ms var(--press-ease, ease);
  }
}
html[data-palette="klein"] .actionbar { border-top: 2px solid; border-image: linear-gradient(90deg, rgba(255,107,61,0), rgba(255,107,61,.9) 50%, rgba(255,107,61,0)) 1; }

/* ================= the chalk grounds: a light-blue wash with a papaya light over it (2026-11-18) =================
   The plain chalk sections read as "just white". Each one now carries two soft lights: a pale Klein
   wash from one side and a warm papaya glow over it from the other, alternating sides section by
   section so the page breathes. Low enough that navy text keeps its contrast; no motion. */
html[data-palette="klein"] main > section:is(.band, .catalog, .doc, .block, .callout):not(.cine) {
  --wash-blue: rgba(46, 110, 255, .24); --wash-pap: rgba(255, 107, 61, .2);
  background-color: var(--sec-bg, var(--p-bg));
  /* each light fades out before the section's edges, so neighbouring sections meet on plain chalk (no seams) */
  background-image:
    radial-gradient(48% 30% at 88% 68%, var(--wash-pap), rgba(255,107,61,0) 100%),
    radial-gradient(62% 38% at 12% 40%, var(--wash-blue), rgba(46,110,255,0) 100%);
}
html[data-palette="klein"] main > section:is(.band, .catalog, .doc, .block, .callout):not(.cine):nth-of-type(odd) {
  background-image:
    radial-gradient(48% 30% at 12% 68%, var(--wash-pap), rgba(255,107,61,0) 100%),
    radial-gradient(62% 38% at 88% 40%, var(--wash-blue), rgba(46,110,255,0) 100%);
}
html[data-palette="klein"] main > section.publicos { --sec-bg: var(--p-surface); }
@media (max-width: 639px) {
  html[data-palette="klein"] main > section:is(.band, .catalog, .doc, .block, .callout):not(.cine) { --wash-blue: rgba(46,110,255,.18); --wash-pap: rgba(255,107,61,.15); }
}
@media (forced-colors: active) { html[data-palette="klein"] main > section { background-image: none !important; } }
