/* Kyrio Labs · produtos.css — bloco 03 da home (uma seção por produto) e o menu "Produtos" do topo.
   Cada seção veste a MARCA DO PRODUTO, não a da Labs: os tokens do site.css são redefinidos no
   escopo da seção (os componentes do site.css leem os mesmos nomes), nos dois temas da Labs.
   O que é da Labs aqui é só o portal: a janelinha redonda com o anel ciano e o "Entrar →". */

@font-face {
  font-family: "Archivo Kyrio";
  src: url("/assets/fonts/archivo-expanded.v25.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo Kyrio Fallback";
  src: local("Arial");
  ascent-override: 66.53%;
  descent-override: 15.91%;
  line-gap-override: 0%;
  size-adjust: 131.98%;
}
@font-face {
  font-family: "Inter Tight Kyrio";
  src: url("/assets/fonts/inter-tight.v9.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight Kyrio Fallback";
  src: local("Arial");
  ascent-override: 100.51%;
  descent-override: 25.03%;
  line-gap-override: 0%;
  size-adjust: 96.39%;
}

/* ---------- menu "Produtos" (computador) ---------- */
.produtos-menu { position: relative; }
.produtos-menu__botao {
  display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
  border: 0; background: none; cursor: pointer;
  font-size: .9rem; color: var(--ink-2);
  transition: color .3s var(--ease);
}
.produtos-menu__botao[aria-expanded="true"] { color: var(--ink); }
.produtos-menu__seta { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.produtos-menu__botao[aria-expanded="true"] .produtos-menu__seta { transform: rotate(180deg); }
.nav__links .produtos-menu__lista {
  position: absolute; top: calc(100% + 8px); left: 50%; z-index: 2;
  display: grid; gap: 2px; min-width: 228px; padding: 8px;
  border: 1px solid var(--line-2); border-radius: 14px;
  background: var(--bg);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .55);
  visibility: hidden; opacity: 0; transform: translate(-50%, -6px);
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.produtos-menu__lista::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.produtos-menu__botao[aria-expanded="true"] + .produtos-menu__lista { visibility: visible; opacity: 1; transform: translate(-50%, 0); transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) {
  .produtos-menu__botao:hover { color: var(--ink); }
  .produtos-menu:hover .produtos-menu__lista { visibility: visible; opacity: 1; transform: translate(-50%, 0); transition-delay: 0s; }
}
.nav__links .produtos-menu__lista a {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px 0 10px;
  border-radius: 10px; color: var(--ink); font-size: .95rem; white-space: nowrap;
}
.nav__links .produtos-menu__lista a::after { display: none; }
@media (hover: hover) and (pointer: fine) { .nav__links .produtos-menu__lista a:hover { background: var(--btn2-bg-h); } }

/* janelinha pequena do menu (e da gaveta): o portal de cada produto em miniatura */
.mini-janela {
  position: relative; flex: none; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 229, 255, .45), 0 0 12px rgba(0, 229, 255, .18);
}
.mini-janela svg { width: 62%; height: 62%; color: #4a9dff; fill: currentColor; }
.mini-janela--eco { background: radial-gradient(circle at 50% 40%, #12305c, #05070d 72%); }
.mini-janela--barber {
  background: #0A0807 image-set(url("/assets/img/barber-cadeira-1200.avif") type("image/avif"), url("/assets/img/barber-cadeira-1200.webp") type("image/webp")) 66% 58% / auto 170% no-repeat;
}

/* gaveta (celular): os produtos levam direto à página de cada um, também pelo portal */
.gaveta__produtos { padding: 14px 0 6px; border-bottom: 1px solid var(--line); }
.gaveta__rotulo { font: 500 .72rem/1.4 var(--f-texto); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); }
.gaveta__produtos ul { display: grid; margin-top: 4px; }
.gaveta .gaveta__produtos li a { justify-content: flex-start; gap: 14px; border-bottom: 0; min-height: 52px; }
.gaveta .gaveta__produtos li a::after { display: none; }

/* ---------- 03 · PRODUTOS ---------- */
.produtos { padding-top: clamp(72px, 8vw, 112px); padding-bottom: 0; }
.produtos > .wrap { margin-bottom: clamp(28px, 4vw, 48px); }
.produto { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(56px, 8vw, 112px) clamp(72px, 10vw, 136px); }
.produto__barra {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-bottom: clamp(28px, 4vw, 44px); margin-bottom: clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

/* o portal: janelinha redonda + "Entrar →" */
.portal {
  display: inline-flex; align-items: center; gap: clamp(14px, 2vw, 22px);
  min-height: 44px; text-decoration: none; color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.portal__janela {
  position: relative; flex: none; display: grid; place-items: center;
  width: clamp(96px, 10.5vw, 148px); aspect-ratio: 1; border-radius: 50%;
  transition: transform .5s var(--ease);
}
.portal__janela > picture, .portal__janela > .portal__fundo { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.portal__janela img { width: 100%; height: 100%; object-fit: cover; }
.portal__janela::after {
  /* o anel ciano da Labs: aceso de leve; acende de vez no hover e no clique (o anel do portal é do portal.js) */
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 1.5px rgba(0, 229, 255, .55), 0 0 22px rgba(0, 229, 255, .22), inset 0 0 26px rgba(0, 0, 0, .55);
  transition: box-shadow .5s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .portal:hover .portal__janela { transform: scale(1.05); }
  .portal:hover .portal__janela::after { box-shadow: 0 0 0 2px #00E5FF, 0 0 30px rgba(0, 229, 255, .55), inset 0 0 26px rgba(0, 0, 0, .45); }
}
.portal:focus-visible { outline: none; }
.portal:focus-visible .portal__janela { outline: 2px solid #00E5FF; outline-offset: 6px; }
.portal--ativo .portal__janela { transform: scale(1.05); }
.portal__rotulo { display: inline-flex; align-items: center; gap: .45em; white-space: nowrap; }
.portal__rotulo .seta { transition: transform .4s var(--ease); }
@media (hover: hover) and (pointer: fine) { .portal:hover .portal__rotulo .seta { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) {
  .portal__janela, .portal__janela::after, .portal__rotulo .seta, .produtos-menu__lista, .produtos-menu__seta { transition: none; }
}

/* ---------- Kyrio ECO: a marca da eco.kyrio (azul como luz, Inter, o "kyrio" com o planeta) ---------- */
.produto--eco {
  --bg: #05070d;
  --ink: #eef2f8;
  --ink-2: #aab4c5;
  --ink-3: #8b95a8;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --acc: #7db8ff;
  --acc-luz: #4a9dff;
  --focus: #2f8bff;
  --f-titulo: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --malha: rgba(255, 255, 255, .05);
  --card-bg: linear-gradient(180deg, rgba(16, 22, 36, .85), rgba(11, 16, 27, .6));
  --palco-chao: radial-gradient(60% 40% at 50% 100%, rgba(47, 139, 255, .3), transparent 70%);
  --cel-bezel: linear-gradient(150deg, #4a505c 0%, #1a1d24 16%, #0b0d12 55%, #20242d 88%, #3b414d 100%);
  --cel-sh: 0 0 0 1px rgba(125, 184, 255, .1), 0 50px 90px -34px rgba(0, 90, 220, .45);
  --luz-cursor: rgba(47, 139, 255, .14);
  --luz-cursor-2: rgba(255, 255, 255, .05);
  --btn2-bg-h: rgba(255, 255, 255, .06);
  --eco-bg:
    radial-gradient(42% 36% at 82% 18%, rgba(0, 102, 204, .32), transparent 70%),
    radial-gradient(40% 40% at 4% 0%, rgba(47, 139, 255, .14), transparent 70%),
    linear-gradient(180deg, #070a14, #05070d 70%);
  color: var(--ink);
  border-block: 1px solid rgba(125, 184, 255, .14);
}
.produto--eco .produto__logo { width: clamp(84px, 9vw, 116px); height: auto; aspect-ratio: 482 / 220; color: #fff; overflow: visible; }
/* o planeta do logo: casa com o símbolo original (fora da seção), por isso sem o escopo .produto--eco */
.logo-planeta { fill: #4a9dff; transform-origin: 306px 25px; }
.produto--eco .h2 { font-weight: 690; letter-spacing: -.048em; line-height: 1; }
.produto--eco .hl {
  font-weight: 690;
  background: linear-gradient(100deg, #9ccaff 0%, #3d93ff 32%, #7db8ff 62%, #d6e8ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.produto--eco .mini { font-weight: 650; letter-spacing: .14em; color: var(--acc); }
.produto--eco .ponte { font-weight: 450; letter-spacing: -.02em; }
.produto--eco .loja__nome { font-weight: 620; letter-spacing: -.02em; }
.produto--eco .modulo { border-radius: 0 14px 14px 0; }
.produto--eco .modulo strong { font-weight: 560; }
.produto--eco .palco { border-radius: 28px 28px 0 0; }
.produto--eco .portal__fundo { background: radial-gradient(circle at 50% 38%, #1d4f94 0%, #0a2550 38%, #05070d 74%); }
.produto--eco .portal__janela svg { position: relative; width: 58%; height: 58%; color: #4a9dff; fill: currentColor; filter: drop-shadow(0 0 14px rgba(74, 157, 255, .55)); }
.produto--eco .portal__rotulo { font-size: 1.02rem; font-weight: 620; letter-spacing: -.01em; }
.produto--eco .portal__rotulo .seta { color: var(--acc); }
@media (prefers-reduced-motion: no-preference) {
  .produto--eco .portal__janela svg { animation: ecoGira 14s linear infinite; }
}
@keyframes ecoGira { to { transform: rotate(360deg); } }

/* ---------- Kyrio Barber: cinema silencioso (quase preto, dourado, Archivo 125 e Inter Tight) ---------- */
.produto--barber {
  --bg: #0A0807;
  --ink: #EFE7DC;
  --ink-2: rgba(239, 231, 220, .8);
  --ink-3: #9C9287;
  --line: rgba(239, 231, 220, .14);
  --line-2: rgba(239, 231, 220, .2);
  --acc: #C9A46A;
  --acc-luz: #C9A46A;
  --focus: #C9A46A;
  --f-bb-titulo: "Archivo Kyrio", "Archivo Kyrio Fallback", Arial, system-ui, sans-serif;
  --f-bb-texto: "Inter Tight Kyrio", "Inter Tight Kyrio Fallback", "Helvetica Neue", Arial, system-ui, sans-serif;
  background: #0A0807;
  color: var(--ink);
  font-family: var(--f-bb-texto);
  border-bottom: 1px solid var(--line);
}
.produto--barber::before {
  /* a luz de cinema: um foco quente vindo de cima, à direita */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(46% 60% at 78% 0%, rgba(201, 164, 106, .12), transparent 70%);
}
.bb-marca-escrita {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--f-bb-titulo); font-size: clamp(13px, 1.2vw, 15px); font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); white-space: nowrap;
}
.bb-marca-escrita span { font-weight: 300; color: var(--acc); }
.produto--barber .portal__janela img { object-position: 66% 56%; transform: scale(1.18); transform-origin: 66% 56%; }
.produto--barber .portal__rotulo {
  font-size: 12.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--line-2); text-underline-offset: 8px;
  transition: text-decoration-color .3s;
}
@media (hover: hover) and (pointer: fine) { .produto--barber .portal:hover .portal__rotulo { text-decoration-color: var(--acc); } }
.bb-grade { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: end; }
.bb-kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; line-height: 1.4; color: var(--acc);
}
.bb-kicker::before { content: ""; width: 38px; height: 1px; background: currentColor; flex: none; }
.bb-h2 {
  margin-top: 22px;
  font-family: var(--f-bb-titulo); font-size: clamp(1.9rem, .8rem + 4vw, 3.7rem); font-weight: 800;
  line-height: 1.04; letter-spacing: .01em; text-transform: uppercase; color: var(--ink);
}
.bb-h2 .hl { font-weight: 300; color: var(--acc); white-space: nowrap; }
.bb-sub {
  margin-top: 24px; max-width: 50ch;
  font-size: clamp(1.02rem, .95rem + .3vw, 1.12rem); font-weight: 300; line-height: 1.7; color: var(--ink-2); text-wrap: pretty;
}
.bb-lista { border-top: 1px solid var(--line); }
.bb-lista li {
  display: flex; align-items: center; gap: 16px; min-height: 58px;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-bb-titulo); font-size: .92rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.bb-lista li::before { content: ""; width: 18px; height: 1px; background: var(--acc); flex: none; }
@media (max-width: 899px) {
  .bb-grade { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 479px) {
  .produto__barra { gap: 12px; }
  .portal { gap: 12px; }
}
