@charset "UTF-8";
/* ==========================================================================
   P07 · CARTÃO DE VISITA DIGITAL — Mateus Faust + Aço Brasil
   Cacoal/RO · Agência Criativo Prime
   --------------------------------------------------------------------------
   SISTEMA RE-TEMATIZÁVEL POR 1 VARIÁVEL:  --h  (matiz 0-360)
   Trocar --h no :root muda a identidade inteira (fundo, marca, sombras, glow).
   --------------------------------------------------------------------------
   Camadas: tokens > reset > base > layout > componentes > utilitarios > media
   ========================================================================== */

@layer tokens, reset, base, layout, componentes, utilitarios, media;

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
@layer tokens {
  :root {
    /* ---- A VARIÁVEL MESTRE ---- */
    --h: 212;              /* azul-aço, vindo do "logo açobrasil azul" */
    --sat: 1;              /* multiplicador global de saturação (0.6 = mais sóbrio) */

    /* ---- superfícies (nunca preto puro) ---- */
    --bg:        hsl(var(--h) 28% 6.5%);
    --bg-2:      hsl(var(--h) 26% 9%);
    --bg-3:      hsl(var(--h) 24% 12%);
    --glass:     hsl(var(--h) 26% 16% / .46);
    --glass-2:   hsl(var(--h) 26% 20% / .30);

    /* ---- marca ---- */
    --brand:     hsl(var(--h) calc(76% * var(--sat)) 46%);
    --brand-2:   hsl(calc(var(--h) + 14) calc(82% * var(--sat)) 54%);
    --accent:    hsl(var(--h) calc(88% * var(--sat)) 66%);
    --accent-dim:hsl(var(--h) calc(60% * var(--sat)) 40%);

    /* ---- tinta ---- */
    --ink:       hsl(var(--h) 32% 97%);
    --ink-2:     hsl(var(--h) 16% 76%);
    --ink-3:     hsl(var(--h) 13% 58%);
    --ink-4:     hsl(var(--h) 12% 44%);

    /* ---- linhas translúcidas 1px ---- */
    --line:      hsl(var(--h) 45% 82% / .12);
    --line-2:    hsl(var(--h) 45% 85% / .20);
    --line-3:    hsl(var(--h) 60% 70% / .34);

    /* ---- semânticas ---- */
    --wa:        hsl(146 62% 38%);
    --wa-2:      hsl(146 66% 45%);
    --warn:      hsl(38 92% 62%);
    --ok:        hsl(150 70% 52%);
    --off:       hsl(var(--h) 10% 45%);

    /* ---- sombras SEMPRE multicamada (curta densa + longa difusa) ---- */
    --sh-1: 0 1px 1px hsl(var(--h) 60% 2% / .55),
            0 4px 10px -4px hsl(var(--h) 60% 2% / .65);
    --sh-2: 0 2px 4px hsl(var(--h) 60% 2% / .5),
            0 18px 40px -14px hsl(var(--h) 60% 2% / .8);
    --sh-3: 0 3px 8px hsl(var(--h) 60% 2% / .55),
            0 40px 80px -24px hsl(var(--h) 60% 2% / .9);
    --glow: 0 0 0 1px hsl(var(--h) 80% 62% / .20),
            0 10px 44px -14px hsl(var(--h) 88% 56% / .5);
    --glow-wa: 0 1px 2px hsl(146 60% 8% / .6),
               0 16px 40px -14px hsl(146 70% 40% / .55);

    /* ---- raios ---- */
    --r-xs: 10px; --r-sm: 14px; --r: 20px; --r-lg: 26px; --r-xl: 34px; --r-pill: 999px;

    /* ---- espaço ---- */
    --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 22px;
    --s6: 30px; --s7: 40px; --s8: 56px; --s9: 76px;

    /* ---- tipografia ---- */
    --font-display: "Bricolage Grotesque", "Archivo", "Segoe UI Variable Display", system-ui, sans-serif;
    --font-body: "Inter", -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
    --t-xs: .75rem; --t-sm: .8125rem; --t-base: .9375rem; --t-md: 1.0625rem;
    --t-lg: clamp(1.25rem, 1.05rem + 1vw, 1.6rem);
    --t-xl: clamp(1.7rem, 1.3rem + 2.2vw, 2.35rem);
    --t-2xl: clamp(2.25rem, 1.55rem + 3.6vw, 3.4rem);

    /* ---- movimento ---- */
    --ease: cubic-bezier(.16, 1, .3, 1);
    --ease-in: cubic-bezier(.7, 0, .84, 0);
    --dur: .55s;
    --dur-fast: .28s;

    /* ---- layout ---- */
    --col-w: 480px;       /* coluna 9:16 */
    --dock-h: 74px;
  }

  /* respeita quem prefere claro: mantemos dark premium mas subimos contraste */
  @media (prefers-contrast: more) {
    :root { --ink-2: hsl(var(--h) 20% 88%); --ink-3: hsl(var(--h) 16% 74%); --line: hsl(var(--h) 45% 85% / .26); }
  }
}

/* ==========================================================================
   2. RESET
   ========================================================================== */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html { max-width: 100%; overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  body { min-height: 100%; max-width: 100%; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
  img, svg, video, canvas { display: block; max-width: 100%; }
  button, input, select, textarea { font: inherit; color: inherit; }
  button { background: none; border: 0; cursor: pointer; }
  a { color: inherit; text-decoration: none; }
  ul, ol { list-style: none; padding: 0; }
  table { border-collapse: collapse; width: 100%; }
  h1, h2, h3, h4 { font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }
  :where(p, li) { text-wrap: pretty; }
  :where(h1, h2, h3) { text-wrap: balance; }
  summary { cursor: pointer; }
  ::selection { background: var(--accent); color: hsl(var(--h) 40% 8%); }
}

/* ==========================================================================
   3. BASE
   ========================================================================== */
@layer base {
  body {
    font-family: var(--font-body);
    font-size: var(--t-base);
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
  }

  /* --- ambiente: glows + malha técnica + grão. Nada de gradiente roxo-azul. --- */
  .ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
  .ambient__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
  .ambient__glow--a {
    width: 62vmax; height: 62vmax; top: -26vmax; right: -22vmax;
    background: radial-gradient(circle at 50% 50%,
      hsl(var(--h) 82% 44% / .55), hsl(var(--h) 82% 40% / 0) 68%);
  }
  .ambient__glow--b {
    width: 54vmax; height: 54vmax; bottom: -24vmax; left: -20vmax;
    background: radial-gradient(circle at 50% 50%,
      hsl(calc(var(--h) + 26) 70% 38% / .42), hsl(var(--h) 70% 30% / 0) 70%);
  }
  .ambient__grid {
    position: absolute; inset: 0; opacity: .5;
    background-image:
      linear-gradient(hsl(var(--h) 50% 70% / .045) 1px, transparent 1px),
      linear-gradient(90deg, hsl(var(--h) 50% 70% / .045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 12%, #000 20%, transparent 78%);
            mask-image: radial-gradient(ellipse 90% 60% at 50% 12%, #000 20%, transparent 78%);
  }
  body::after {
    content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .28;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
  }

  .sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
  .sprite symbol { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  #i-wa { stroke: none; }

  .ico { width: 1.25em; height: 1.25em; flex: none; }
  .ico use { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .ico > use[href="#i-wa"] { fill: currentColor; stroke: none; }

  .skip-link {
    position: fixed; top: -100px; left: var(--s4); z-index: 999;
    padding: 12px 18px; border-radius: var(--r-sm);
    background: var(--accent); color: hsl(var(--h) 45% 8%); font-weight: 600;
    transition: top var(--dur-fast) var(--ease);
  }
  .skip-link:focus-visible { top: var(--s4); }

  :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: var(--r-xs);
  }
}

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */
@layer layout {
  .stage {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .col {
    width: 100%;
    max-width: var(--col-w);
    padding-inline: var(--s4);
    padding-bottom: var(--s7);
  }

  .sec {
    padding-block: var(--s8) 0;
    scroll-margin-top: 24px;
  }
  .sec__title {
    display: flex; align-items: baseline; gap: var(--s3);
    font-family: var(--font-display);
    font-size: var(--t-xl); font-weight: 800; line-height: .98;
    margin-bottom: var(--s3);
  }
  .sec__num {
    font-family: var(--font-body);
    font-size: var(--t-xs); font-weight: 700; letter-spacing: .18em;
    color: var(--accent); opacity: .85;
    padding-top: .35em;
  }
  .sec__lead { color: var(--ink-2); font-size: var(--t-base); margin-bottom: var(--s5); max-width: 42ch; }
  .sec__foot { margin-top: var(--s5); color: var(--ink-3); font-size: var(--t-sm); }

  /* trilho lateral só existe em telas largas */
  .rail { display: none; }

  .dock-spacer { height: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px) + 8px); }
}

/* ==========================================================================
   5. COMPONENTES
   ========================================================================== */
@layer componentes {

  /* ---------- vidro ---------- */
  .glass {
    background: linear-gradient(155deg, var(--glass), var(--glass-2));
    border: 1px solid var(--line-2);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-2), inset 0 1px 0 hsl(var(--h) 60% 90% / .07);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
            backdrop-filter: blur(18px) saturate(150%);
  }

  /* ---------- marcador de pendência ---------- */
  .pendente {
    display: inline-block;
    padding: .1em .5em;
    border-radius: 6px;
    background: hsl(38 92% 60% / .13);
    border: 1px dashed hsl(38 92% 62% / .5);
    color: var(--warn);
    font-size: .92em; font-weight: 600; letter-spacing: .01em;
    white-space: nowrap;
  }
  .is-pending { position: relative; }
  .is-pending::after {
    content: ""; position: absolute; inset-block-start: 8px; inset-inline-end: 8px;
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--warn); box-shadow: 0 0 0 3px hsl(38 92% 60% / .18);
  }

  /* ---------- CAPA ---------- */
  .capa {
    position: relative;
    padding-top: calc(var(--s5) + env(safe-area-inset-top, 0px));
    padding-bottom: var(--s6);
    min-height: 92svh;
    display: flex; flex-direction: column;
  }
  .capa__bg {
    position: absolute; inset: -10% -6% 22% -6%;
    border-radius: var(--r-xl);
    background:
      radial-gradient(120% 80% at 78% 8%, hsl(var(--h) 70% 30% / .55), transparent 62%),
      repeating-linear-gradient(103deg,
        hsl(var(--h) 30% 16% / .9) 0 22px,
        hsl(var(--h) 32% 12% / .9) 22px 44px),
      linear-gradient(180deg, hsl(var(--h) 30% 14%), hsl(var(--h) 28% 8%));
    -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 96%);
            mask-image: linear-gradient(180deg, #000 30%, transparent 96%);
    opacity: .75;
  }
  .capa > * { position: relative; }

  .capa__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }

  .badge {
    display: inline-flex; align-items: center; gap: .55em;
    padding: 8px 14px; border-radius: var(--r-pill);
    background: hsl(var(--h) 30% 10% / .6);
    border: 1px solid var(--line-2);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    font-size: var(--t-xs); font-weight: 600; letter-spacing: .01em;
    color: var(--ink-2);
    box-shadow: var(--sh-1);
  }
  .badge .dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--off);
    box-shadow: 0 0 0 3px hsl(var(--h) 20% 60% / .16);
  }
  .badge[data-state="aberto"] { color: var(--ink); border-color: hsl(150 60% 55% / .38); }
  .badge[data-state="aberto"] .dot { background: var(--ok); box-shadow: 0 0 0 3px hsl(150 70% 52% / .22); animation: pulse 2.4s var(--ease) infinite; }
  .badge[data-state="fechado"] .dot { background: hsl(6 70% 56%); box-shadow: 0 0 0 3px hsl(6 70% 56% / .2); }
  .badge[data-state="pendente"] { border-style: dashed; border-color: hsl(38 92% 62% / .45); color: var(--warn); }
  .badge[data-state="pendente"] .dot { background: var(--warn); }
  @keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px hsl(150 70% 52% / .22); } 50% { box-shadow: 0 0 0 7px hsl(150 70% 52% / 0); } }

  .iconbtn {
    display: grid; place-items: center;
    width: 44px; height: 44px; border-radius: var(--r-pill);
    background: hsl(var(--h) 30% 12% / .55);
    border: 1px solid var(--line-2);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    color: var(--ink-2); box-shadow: var(--sh-1);
    transition: transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  }
  .iconbtn:hover { transform: scale(1.06); color: var(--ink); border-color: var(--line-3); }
  .iconbtn:active { transform: scale(.96); }
  .iconbtn .ico { width: 20px; height: 20px; }

  .capa__card { margin-top: auto; padding: var(--s6) var(--s5) var(--s5); }
  .capa__logo {
    width: 62px; height: 62px; border-radius: 18px;
    display: grid; place-items: center; color: var(--accent);
    background: linear-gradient(150deg, hsl(var(--h) 60% 22% / .9), hsl(var(--h) 50% 14% / .7));
    border: 1px solid var(--line-3);
    box-shadow: var(--sh-1), inset 0 1px 0 hsl(var(--h) 70% 80% / .12);
    margin-bottom: var(--s4);
  }
  .capa__logo svg { width: 34px; height: 34px; }
  .capa__kicker {
    font-size: var(--t-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--accent); margin-bottom: var(--s2);
  }
  .capa__h1 {
    font-family: var(--font-display); font-size: var(--t-2xl); font-weight: 800;
    line-height: .92; letter-spacing: -.035em;
  }
  .capa__h1 em {
    display: block; font-style: normal; font-weight: 500;
    color: var(--ink-2); letter-spacing: -.02em;
    font-size: .58em; margin-top: .18em;
  }
  .capa__role {
    margin-top: var(--s3);
    display: inline-block; padding: 5px 12px; border-radius: var(--r-pill);
    background: hsl(var(--h) 60% 55% / .12); border: 1px solid var(--line-3);
    font-size: var(--t-xs); font-weight: 600; color: var(--accent);
  }
  .capa__tag { margin-top: var(--s4); color: var(--ink-2); font-size: var(--t-sm); }
  .capa__chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
  .chip {
    display: inline-flex; align-items: center; gap: .45em;
    padding: 7px 12px; border-radius: var(--r-pill);
    background: hsl(var(--h) 26% 16% / .5); border: 1px solid var(--line);
    font-size: var(--t-xs); color: var(--ink-2);
  }
  .chip .ico { width: 15px; height: 15px; color: var(--accent); }

  .capa__scroll {
    margin-top: var(--s5); text-align: center;
    font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-4);
  }
  .capa__scroll span {
    display: block; width: 1px; height: 28px; margin: 0 auto 8px;
    background: linear-gradient(180deg, transparent, var(--line-3), transparent);
    animation: slide 2.6s var(--ease) infinite;
  }
  @keyframes slide { 0%,100% { transform: translateY(-4px); opacity: .4; } 50% { transform: translateY(4px); opacity: 1; } }

  /* ---------- BOTÕES ---------- */
  .btn {
    position: relative;
    display: flex; align-items: center; gap: var(--s3);
    min-height: 52px; padding: 12px 18px;
    border-radius: var(--r);
    border: 1px solid var(--line-2);
    background: linear-gradient(155deg, var(--glass), var(--glass-2));
    -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
    color: var(--ink); font-weight: 600; font-size: var(--t-base);
    box-shadow: var(--sh-1);
    transition: transform var(--dur-fast) var(--ease),
                box-shadow var(--dur-fast) var(--ease),
                border-color var(--dur-fast) var(--ease),
                background-color var(--dur-fast) var(--ease);
    overflow: hidden;
  }
  .btn::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(120% 100% at 20% 0%, hsl(var(--h) 80% 70% / .16), transparent 60%);
    opacity: 0; transition: opacity var(--dur-fast) var(--ease);
  }
  .btn:hover { transform: scale(1.02); border-color: var(--line-3); box-shadow: var(--sh-2); }
  .btn:hover::before { opacity: 1; }
  .btn:active { transform: scale(.985); }
  .btn__label { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
  .btn__label small { font-weight: 500; font-size: var(--t-xs); color: var(--ink-3); }
  .btn .ico { width: 22px; height: 22px; color: var(--accent); }
  .btn .ico--go { margin-left: auto; width: 18px; height: 18px; color: var(--ink-4); transition: transform var(--dur-fast) var(--ease); }
  .btn:hover .ico--go { transform: translate(2px, -2px); color: var(--ink-2); }

  .btn--wa {
    background: linear-gradient(150deg, var(--wa-2), var(--wa));
    border-color: hsl(146 60% 60% / .35);
    color: #fff; box-shadow: var(--glow-wa);
  }
  .btn--wa .ico, .btn--wa .btn__label small { color: hsl(146 70% 92%); }
  .btn--wa:hover { box-shadow: 0 2px 6px hsl(146 60% 8% / .6), 0 22px 52px -14px hsl(146 70% 42% / .7); }

  .btn--xl { min-height: 66px; padding: 14px 20px; border-radius: var(--r-lg); font-size: var(--t-md); }
  .btn--xl .ico { width: 27px; height: 27px; }
  .btn--sm { min-height: 44px; padding: 9px 14px; font-size: var(--t-sm); border-radius: var(--r-sm); gap: var(--s2); }
  .btn--sm .ico { width: 17px; height: 17px; }
  .btn--ghost { background: hsl(var(--h) 26% 15% / .42); }
  .btn--quiet { background: hsl(var(--h) 24% 14% / .35); color: var(--ink-2); }
  .btn--quiet .ico { color: var(--ink-3); }

  .linkbtn {
    color: var(--accent); font-weight: 600; text-decoration: underline;
    text-underline-offset: 3px; text-decoration-thickness: 1px;
    transition: color var(--dur-fast) var(--ease);
  }
  .linkbtn:hover { color: var(--ink); }

  /* ---------- AÇÕES ---------- */
  .sec--acoes { padding-top: var(--s7); }
  .acoes { display: grid; gap: var(--s3); }
  .acoes__pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .acoes__pair .btn { min-width: 0; }
  .acoes__pair .btn__label { min-width: 0; }
  .acoes__pair .btn__label small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .acoes__note {
    display: flex; gap: var(--s2); align-items: flex-start;
    margin-top: var(--s4); padding: 12px 14px;
    border-radius: var(--r-sm); border: 1px solid var(--line);
    background: hsl(var(--h) 60% 50% / .07);
    font-size: var(--t-sm); color: var(--ink-2);
  }
  .acoes__note .ico { width: 17px; height: 17px; color: var(--ok); margin-top: 2px; }

  /* ---------- SOBRE (grid assimétrico) ---------- */
  .sobre { display: grid; grid-template-columns: 116px 1fr; gap: var(--s4); align-items: start; }
  .sobre__foto {
    aspect-ratio: 3 / 4; border-radius: var(--r); position: relative; overflow: hidden;
    border: 1px solid var(--line-2); box-shadow: var(--sh-2);
  }
  .sobre__foto figcaption {
    position: absolute; inset-inline: 6px; bottom: 6px;
    padding: 5px; border-radius: 10px; text-align: center;
    background: hsl(var(--h) 30% 8% / .72);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font-size: 10px; color: var(--ink-3);
  }
  .sobre__lead { font-size: var(--t-md); line-height: 1.45; margin-bottom: var(--s3); }
  .sobre__lead strong { color: var(--accent); font-weight: 700; }
  .sobre__txt p + p { color: var(--ink-2); font-size: var(--t-sm); }

  .stats {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    margin-top: var(--s5); padding: 1px;
    background: var(--line); border-radius: var(--r); overflow: hidden;
    border: 1px solid var(--line);
  }
  .stats > div { background: hsl(var(--h) 26% 11% / .8); padding: 14px 12px; min-width: 0; }
  .stats dt { font-size: 10.5px; text-transform: uppercase; letter-spacing: .13em; color: var(--ink-4); }
  .stats dd { margin-top: 5px; font-weight: 700; font-size: var(--t-sm); color: var(--ink); }
  .stats dd.pendente { font-size: 11px; }

  /* ---------- TEXTURAS (placeholders de imagem) ---------- */
  [class*="tex-"] { position: relative; background-color: var(--bg-3); }
  [class*="tex-"]::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, hsl(var(--h) 40% 5% / .72));
  }
  .tex-retrato {
    background-image:
      radial-gradient(70% 50% at 50% 32%, hsl(var(--h) 45% 34%), transparent 70%),
      linear-gradient(170deg, hsl(var(--h) 35% 22%), hsl(var(--h) 32% 12%));
  }
  .tex-corte {
    background-image:
      repeating-linear-gradient(58deg, hsl(var(--h) 40% 34% / .85) 0 3px, transparent 3px 15px),
      repeating-linear-gradient(-58deg, hsl(var(--h) 30% 26% / .6) 0 2px, transparent 2px 19px),
      linear-gradient(160deg, hsl(var(--h) 34% 24%), hsl(var(--h) 30% 12%));
  }
  .tex-tela {
    background-image:
      linear-gradient(hsl(var(--h) 42% 40% / .8) 2px, transparent 2px),
      linear-gradient(90deg, hsl(var(--h) 42% 40% / .8) 2px, transparent 2px),
      linear-gradient(150deg, hsl(var(--h) 32% 22%), hsl(var(--h) 30% 11%));
    background-size: 18px 18px, 18px 18px, 100% 100%;
  }
  .tex-iso {
    background-image:
      repeating-linear-gradient(180deg,
        hsl(var(--h) 30% 40% / .55) 0 6px,
        hsl(var(--h) 20% 20% / .55) 6px 10px,
        hsl(var(--h) 30% 40% / .55) 10px 16px),
      linear-gradient(155deg, hsl(var(--h) 30% 24%), hsl(var(--h) 28% 12%));
  }
  .tex-galva {
    background-image:
      repeating-linear-gradient(96deg,
        hsl(var(--h) 22% 58% / .55) 0 2px,
        hsl(var(--h) 24% 30% / .5) 2px 9px,
        hsl(var(--h) 18% 46% / .4) 9px 14px),
      linear-gradient(150deg, hsl(var(--h) 26% 28%), hsl(var(--h) 26% 13%));
  }
  .tex-perfil {
    background-image:
      linear-gradient(90deg, transparent 18%, hsl(var(--h) 35% 42% / .75) 18% 26%, transparent 26% 74%, hsl(var(--h) 35% 42% / .75) 74% 82%, transparent 82%),
      linear-gradient(0deg, transparent 74%, hsl(var(--h) 35% 42% / .75) 74% 82%, transparent 82%),
      linear-gradient(150deg, hsl(var(--h) 30% 22%), hsl(var(--h) 28% 11%));
  }
  .tex-verg {
    background-image:
      repeating-linear-gradient(74deg,
        hsl(var(--h) 30% 48% / .7) 0 4px,
        transparent 4px 8px,
        hsl(var(--h) 25% 34% / .6) 8px 11px,
        transparent 11px 20px),
      linear-gradient(150deg, hsl(var(--h) 30% 23%), hsl(var(--h) 28% 12%));
  }
  .tex-coluna {
    background-image:
      repeating-linear-gradient(90deg,
        hsl(var(--h) 34% 40% / .7) 0 10px,
        transparent 10px 34px),
      repeating-linear-gradient(0deg,
        hsl(var(--h) 24% 30% / .55) 0 1px,
        transparent 1px 26px),
      linear-gradient(160deg, hsl(var(--h) 32% 24%), hsl(var(--h) 28% 12%));
  }
  .tex-video {
    background-image:
      conic-gradient(from 210deg at 50% 50%, hsl(var(--h) 60% 34%), hsl(var(--h) 40% 16%), hsl(var(--h) 70% 30%), hsl(var(--h) 40% 16%)),
      linear-gradient(150deg, hsl(var(--h) 30% 22%), hsl(var(--h) 28% 11%));
  }

  /* ---------- PRODUTOS ---------- */
  .prods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s3);
  }
  .prod {
    position: relative; display: flex; flex-direction: column;
    min-width: 0;
    border-radius: var(--r); overflow: hidden;
    border: 1px solid var(--line-2);
    background: linear-gradient(160deg, var(--glass), var(--glass-2));
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: var(--sh-1);
    transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  }
  .prod:hover { transform: scale(1.02); box-shadow: var(--sh-2); border-color: var(--line-3); }
  .prod--wide { grid-column: span 2; }
  .prod--tall { grid-row: span 2; }
  .prod__img { aspect-ratio: 16 / 10; }
  .prod--wide .prod__img { aspect-ratio: 21 / 8; }
  .prod--tall .prod__img { aspect-ratio: 4 / 5; }
  .prod__body { padding: var(--s3) var(--s3) var(--s2); flex: 1; min-width: 0; }
  .prod__name { font-family: var(--font-display); font-size: var(--t-md); font-weight: 700; letter-spacing: -.02em; }
  .prod--wide .prod__name, .prod--tall .prod__name { font-size: var(--t-lg); }
  .prod__desc { margin-top: 6px; font-size: var(--t-xs); color: var(--ink-3); }
  .prod__price { margin-top: 8px; font-size: var(--t-xs); color: var(--ink-3); }
  .prod__cta {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 44px; margin: 0 var(--s3) var(--s3);
    border-radius: var(--r-sm);
    background: hsl(146 55% 34% / .22);
    border: 1px solid hsl(146 55% 55% / .3);
    color: hsl(146 60% 80%); font-size: var(--t-sm); font-weight: 600;
    transition: background-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  }
  .prod__cta .ico { width: 17px; height: 17px; }
  .prod__cta:hover { background: var(--wa); color: #fff; transform: scale(1.02); }
  .prod.is-alvo { border-color: var(--accent); box-shadow: var(--glow); }

  /* ---------- GALERIA ---------- */
  .gal {
    display: grid; grid-auto-flow: column;
    grid-auto-columns: 62%; grid-template-rows: repeat(2, 116px);
    gap: var(--s3);
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--s3);
    margin-inline: calc(var(--s4) * -1);
    padding-inline: var(--s4);
    scrollbar-width: thin; scrollbar-color: var(--line-3) transparent;
  }
  .gal::-webkit-scrollbar { height: 6px; }
  .gal::-webkit-scrollbar-thumb { background: var(--line-3); border-radius: 99px; }
  .gal__item {
    position: relative; scroll-snap-align: start;
    border-radius: var(--r-sm); overflow: hidden;
    border: 1px solid var(--line-2); box-shadow: var(--sh-1);
    transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  }
  .gal__item:hover { transform: scale(1.02); box-shadow: var(--sh-2); }
  .gal__item--tall { grid-row: span 2; }
  .gal__item--wide { grid-column: span 2; }
  .gal__tag {
    position: absolute; z-index: 2; left: 8px; bottom: 8px;
    padding: 4px 9px; border-radius: var(--r-pill);
    background: hsl(var(--h) 30% 8% / .66);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    font-size: 10.5px; font-weight: 600; color: var(--ink-2);
  }
  .gal__hint { margin-top: 2px; font-size: var(--t-xs); color: var(--ink-4); letter-spacing: .08em; }

  /* ---------- HORÁRIO ---------- */
  .hours {
    border: 1px solid var(--line-2); border-radius: var(--r);
    overflow: hidden;
    background: hsl(var(--h) 26% 11% / .5);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: var(--sh-1);
  }
  .hours th, .hours td { padding: 12px 16px; text-align: left; font-size: var(--t-sm); }
  .hours thead th {
    font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ink-4); font-weight: 600;
    border-bottom: 1px solid var(--line);
  }
  .hours tbody tr + tr { border-top: 1px solid var(--line); }
  .hours tbody th { font-weight: 600; color: var(--ink-2); }
  .hours td { color: var(--ink-3); text-align: right; }
  .hours tr.is-hoje { background: hsl(var(--h) 70% 50% / .1); }
  .hours tr.is-hoje th { color: var(--accent); }
  .hours tr.is-hoje td { color: var(--ink); font-weight: 600; }
  .hours tr.is-hoje th::before {
    content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%;
    background: var(--accent); margin-right: 8px; vertical-align: middle;
  }
  .hours__note { display: flex; gap: 7px; align-items: center; margin-top: var(--s3); font-size: var(--t-xs); color: var(--ink-4); }
  .hours__note .ico { width: 14px; height: 14px; }

  /* ---------- MAPA ---------- */
  .mapa { overflow: hidden; }
  .mapa__canvas {
    position: relative; aspect-ratio: 16 / 11;
    background:
      linear-gradient(hsl(var(--h) 35% 40% / .22) 1px, transparent 1px) 0 0 / 34px 34px,
      linear-gradient(90deg, hsl(var(--h) 35% 40% / .22) 1px, transparent 1px) 0 0 / 34px 34px,
      linear-gradient(118deg, transparent 44%, hsl(var(--h) 45% 46% / .4) 44% 47%, transparent 47%),
      linear-gradient(-24deg, transparent 61%, hsl(var(--h) 45% 46% / .3) 61% 63%, transparent 63%),
      radial-gradient(80% 70% at 50% 45%, hsl(var(--h) 40% 20%), hsl(var(--h) 34% 11%));
  }
  .mapa__pin {
    position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%);
    display: grid; place-items: center; width: 44px; height: 44px;
    border-radius: 50%; color: var(--accent);
    background: hsl(var(--h) 40% 10% / .7); border: 1px solid var(--line-3);
    box-shadow: var(--glow);
  }
  .mapa__pin .ico { width: 22px; height: 22px; }
  .mapa__info { padding: var(--s4); display: grid; gap: var(--s3); }
  .mapa__addr { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.5; }
  .mapa__acts { display: flex; gap: var(--s2); flex-wrap: wrap; }

  /* ---------- PAGAMENTO ---------- */
  .pays { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
  .pays .pay:first-child { grid-column: span 2; }
  .pay {
    display: flex; align-items: center; gap: var(--s3);
    padding: 14px 16px; border-radius: var(--r-sm);
    border: 1px solid var(--line); background: hsl(var(--h) 26% 13% / .45);
    font-size: var(--t-sm); font-weight: 600; color: var(--ink-2);
  }
  .pay .ico { width: 20px; height: 20px; color: var(--accent); }
  .pay.is-pending { border-style: dashed; opacity: .82; }

  /* ---------- FAQ ---------- */
  .faq { border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; background: hsl(var(--h) 26% 11% / .45); }
  .faq__item + .faq__item { border-top: 1px solid var(--line); }
  .faq h3 { font-size: inherit; font-weight: inherit; letter-spacing: 0; }
  .faq__q {
    display: flex; align-items: center; gap: var(--s3);
    width: 100%; min-height: 56px; padding: 14px 16px;
    text-align: left; font-size: var(--t-sm); font-weight: 600; color: var(--ink);
    transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  }
  .faq__q .ico { margin-left: auto; width: 18px; height: 18px; color: var(--ink-4); transition: transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
  .faq__q:hover { background: hsl(var(--h) 60% 50% / .07); }
  .faq__q[aria-expanded="true"] { color: var(--accent); }
  .faq__q[aria-expanded="true"] .ico { transform: rotate(180deg); color: var(--accent); }
  .faq__a { padding: 0 16px 16px; font-size: var(--t-sm); color: var(--ink-2); }
  .faq__a[hidden] { display: none; }
  .faq__a p { animation: fadein var(--dur) var(--ease); }
  @keyframes fadein { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

  /* ---------- QR ---------- */
  .qrbox { display: grid; grid-template-columns: 132px 1fr; gap: var(--s4); padding: var(--s4); align-items: center; }
  .qrbox canvas {
    width: 100%; height: auto; border-radius: var(--r-sm);
    background: #fff; padding: 8px;
    box-shadow: var(--sh-1);
  }
  .qrbox__lead { font-size: var(--t-sm); color: var(--ink-2); }
  .qrbox__url {
    margin-top: 6px; font-size: 11px; color: var(--ink-4);
    word-break: break-all; font-family: ui-monospace, "SF Mono", Consolas, monospace;
  }
  .qrbox__acts { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }
  .qrbox__side { min-width: 0; }

  .pwa {
    display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap;
    margin-top: var(--s3); padding: var(--s4);
    border-radius: var(--r); border: 1px dashed var(--line-3);
    background: hsl(var(--h) 70% 50% / .07);
    font-size: var(--t-sm); color: var(--ink-2);
  }
  .pwa p { flex: 1; min-width: 180px; }
  .pwa strong { color: var(--ink); }

  /* ---------- RODAPÉ ---------- */
  .rodape { margin-top: var(--s8); padding-top: var(--s6); border-top: 1px solid var(--line); }
  .rodape__marca { display: flex; align-items: center; gap: var(--s3); }
  .rodape__marca svg { width: 34px; height: 34px; color: var(--accent); flex: none; }
  .rodape__marca p { font-size: var(--t-sm); color: var(--ink-3); line-height: 1.4; }
  .rodape__marca strong { color: var(--ink); font-weight: 700; }
  .rodape__nav { display: flex; gap: var(--s2); margin-top: var(--s4); }
  .rodape__nav a {
    position: relative;
    display: grid; place-items: center; width: 46px; height: 46px;
    border-radius: var(--r-sm); border: 1px solid var(--line);
    background: hsl(var(--h) 26% 14% / .45); color: var(--ink-2);
    transition: transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  }
  .rodape__nav a:hover { transform: scale(1.06); color: var(--accent); border-color: var(--line-3); }
  .rodape__nav .ico { width: 20px; height: 20px; }
  .rodape__legal { margin-top: var(--s5); font-size: var(--t-xs); color: var(--ink-4); line-height: 1.7; }

  /* ---------- PAINEL TÉCNICO ---------- */
  .painel {
    margin-top: var(--s6); border-radius: var(--r); border: 1px dashed var(--line-2);
    background: hsl(var(--h) 26% 10% / .5); overflow: hidden;
  }
  .painel > summary {
    padding: 14px 16px; font-size: var(--t-xs); font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
    list-style: none;
  }
  .painel > summary::-webkit-details-marker { display: none; }
  .painel > summary::after { content: " ▾"; color: var(--ink-4); }
  .painel[open] > summary::after { content: " ▴"; }
  .painel__bloco { padding: 0 16px 16px; border-top: 1px solid var(--line); padding-top: 14px; }
  .painel__t { font-size: var(--t-xs); font-weight: 700; color: var(--ink-2); margin-bottom: 10px; }
  .painel__t code { font-size: 11px; color: var(--accent); background: hsl(var(--h) 60% 50% / .12); padding: 1px 5px; border-radius: 5px; }
  .hues { display: flex; gap: 8px; flex-wrap: wrap; }
  .hue {
    width: 34px; height: 34px; border-radius: 11px;
    background: linear-gradient(150deg, hsl(var(--p) 82% 56%), hsl(var(--p) 60% 30%));
    border: 1px solid hsl(var(--p) 60% 70% / .4);
    box-shadow: var(--sh-1);
    transition: transform var(--dur-fast) var(--ease);
  }
  .hue:hover { transform: scale(1.1); }
  .painel__range { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: var(--t-xs); color: var(--ink-3); }
  .painel__range input { flex: 1; min-width: 0; accent-color: var(--accent); }
  .painel__range output { font-family: ui-monospace, Consolas, monospace; color: var(--accent); min-width: 3ch; }
  .painel__check { display: flex; align-items: center; gap: 8px; font-size: var(--t-xs); color: var(--ink-3); }
  .painel__check input { accent-color: var(--accent); width: 16px; height: 16px; }
  .painel__out {
    font-family: ui-monospace, Consolas, monospace; font-size: 11px; line-height: 1.8;
    color: var(--ink-2); max-height: 190px; overflow: auto;
    background: hsl(var(--h) 30% 7% / .6); border-radius: var(--r-xs); padding: 10px 12px;
    border: 1px solid var(--line);
  }
  .painel__out b { color: var(--accent); font-weight: 700; }
  .painel__acts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

  /* ---------- DOCK ---------- */
  .dock {
    position: fixed; z-index: 60;
    left: 50%; transform: translateX(-50%);
    bottom: 0;
    width: min(100%, calc(var(--col-w) + 0px));
    display: flex; gap: var(--s2); align-items: center;
    padding: 10px var(--s4) calc(10px + env(safe-area-inset-bottom, 0px));
    background: hsl(var(--h) 30% 7% / .72);
    border-top: 1px solid var(--line-2);
    -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
    box-shadow: 0 -1px 0 hsl(var(--h) 60% 80% / .06), 0 -18px 44px -18px hsl(var(--h) 60% 2% / .9);
  }
  .dock__wa {
    flex: 1; min-width: 0;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; border-radius: var(--r-sm);
    background: linear-gradient(150deg, var(--wa-2), var(--wa));
    color: #fff; font-weight: 700; font-size: var(--t-base);
    box-shadow: var(--glow-wa);
    transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  }
  .dock__wa span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dock__wa:hover { transform: scale(1.02); }
  .dock__wa:active { transform: scale(.98); }
  .dock__i {
    display: grid; place-items: center; width: 52px; height: 52px; flex: none;
    border-radius: var(--r-sm); border: 1px solid var(--line-2);
    background: hsl(var(--h) 26% 16% / .5); color: var(--ink-2);
    transition: transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  }
  .dock__i:hover { transform: scale(1.06); color: var(--accent); border-color: var(--line-3); }
  .dock .ico { width: 22px; height: 22px; }

  /* ---------- LIGHTBOX ---------- */
  .lb { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: var(--s4); }
  .lb[hidden] { display: none; }
  .lb__backdrop { position: absolute; inset: 0; background: hsl(var(--h) 40% 4% / .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .lb__fig {
    position: relative; width: min(100%, 460px);
    border-radius: var(--r-lg); overflow: hidden;
    border: 1px solid var(--line-2); box-shadow: var(--sh-3);
    background: var(--bg-2);
    animation: pop var(--dur) var(--ease);
  }
  @keyframes pop { from { opacity: 0; transform: scale(.94) translateY(12px); } to { opacity: 1; transform: none; } }
  .lb__img { aspect-ratio: 4 / 5; }
  .lb__fig figcaption { padding: 14px 16px; font-size: var(--t-sm); color: var(--ink-2); }
  .lb__close {
    position: absolute; top: 10px; right: 10px;
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    background: hsl(var(--h) 30% 8% / .7); border: 1px solid var(--line-2); color: var(--ink);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .lb__nav {
    position: absolute; top: 42%; width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center;
    background: hsl(var(--h) 30% 8% / .66); border: 1px solid var(--line-2); color: var(--ink);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .lb__nav--prev { left: 10px; transform: rotate(90deg); }
  .lb__nav--next { right: 10px; transform: rotate(-90deg); }
  .lb__close .ico, .lb__nav .ico { width: 20px; height: 20px; }

  /* ---------- TOAST ---------- */
  .toast {
    position: fixed; z-index: 120;
    left: 50%; bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px) + 16px);
    transform: translate(-50%, 20px);
    max-width: min(92vw, 420px);
    padding: 13px 18px; border-radius: var(--r-sm);
    background: hsl(var(--h) 30% 13% / .92);
    border: 1px solid var(--line-3);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    box-shadow: var(--sh-3);
    font-size: var(--t-sm); font-weight: 500; color: var(--ink);
    opacity: 0; pointer-events: none;
    transition: opacity var(--dur-fast) var(--ease), transform var(--dur) var(--ease);
  }
  .toast.is-on { opacity: 1; transform: translate(-50%, 0); }
}

/* ==========================================================================
   6. UTILITÁRIOS
   ========================================================================== */
@layer utilitarios {
  .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;
  }

  /* reveal on scroll */
  .reveal { opacity: 0; transform: translateY(18px); }
  .reveal.is-in {
    opacity: 1; transform: none;
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--d, 0ms);
  }
  html.no-js .reveal, html.no-io .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   7. MEDIA QUERIES
   ========================================================================== */
@layer media {

  /* --- telas muito estreitas (360px e abaixo) --- */
  @media (max-width: 374px) {
    :root { --s4: 14px; --s8: 46px; }
    .acoes__pair { grid-template-columns: 1fr; }
    .sobre { grid-template-columns: 92px 1fr; }
    .qrbox { grid-template-columns: 1fr; }
    .qrbox canvas { max-width: 190px; margin: 0 auto; }
  }

  /* --- tablet --- */
  @media (min-width: 640px) {
    :root { --col-w: 540px; }
    .gal { grid-auto-columns: 44%; grid-template-rows: repeat(2, 150px); }
    .pays { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .pays .pay:first-child { grid-column: span 1; }
  }

  /* --- desktop: trilho de marca + coluna 9:16 (grid assimétrico real) --- */
  @media (min-width: 1024px) {
    .stage {
      grid-template-columns: minmax(320px, 1fr) auto;
      gap: var(--s9);
      max-width: 1180px; margin-inline: auto;
      padding-inline: var(--s6);
      align-items: start;
      justify-items: start;
    }
    .rail {
      display: block;
      position: sticky; top: 0;
      height: 100svh;
      padding-block: var(--s8);
    }
    .rail__inner { display: flex; flex-direction: column; height: 100%; max-width: 330px; }
    .rail__mark {
      width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
      color: var(--accent);
      background: linear-gradient(150deg, hsl(var(--h) 60% 22% / .9), hsl(var(--h) 50% 14% / .7));
      border: 1px solid var(--line-3); box-shadow: var(--sh-1);
    }
    .rail__mark svg { width: 30px; height: 30px; }
    .rail__kicker {
      margin-top: var(--s5); font-size: var(--t-xs); font-weight: 700;
      letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
    }
    .rail__name {
      font-family: var(--font-display); font-size: clamp(2rem, 2.4vw, 2.8rem);
      font-weight: 800; letter-spacing: -.035em; line-height: .92; margin-top: var(--s2);
    }
    .rail__name span { display: block; font-weight: 500; color: var(--ink-2); font-size: .58em; margin-top: .2em; }
    .rail__meta { margin-top: var(--s3); color: var(--ink-3); font-size: var(--t-sm); }
    .rail__qr {
      margin-top: var(--s6); display: flex; align-items: center; gap: var(--s4);
    }
    .rail__qr canvas { width: 106px; height: 106px; background: #fff; padding: 7px; border-radius: 12px; box-shadow: var(--sh-1); }
    .rail__qr p { font-size: var(--t-xs); color: var(--ink-4); line-height: 1.5; }
    .rail__cta { margin-top: auto; }
    .rail__foot { margin-top: var(--s4); font-size: var(--t-xs); color: var(--ink-4); }
    .rail__foot strong { color: var(--ink-3); }

    .col {
      border-inline: 1px solid var(--line);
      background: hsl(var(--h) 28% 7% / .32);
      -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
      padding-bottom: var(--s8);
    }
    .dock { display: none; }
    .dock-spacer { display: none; }
    .toast { bottom: 24px; }
  }

  @media (min-width: 1440px) {
    .stage { max-width: 1320px; gap: 120px; }
  }

  /* --- hover só onde existe hover de verdade --- */
  @media (hover: none) {
    .btn:hover, .prod:hover, .gal__item:hover, .iconbtn:hover, .dock__i:hover { transform: none; }
  }

  /* --- movimento reduzido --- */
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .01ms !important;
      scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
  }

  /* --- impressão: vira cartão físico com QR --- */
  @media print {
    .ambient, .dock, .painel, .capa__scroll, .gal__hint, .skip-link, body::after { display: none !important; }
    body { background: #fff; color: #111; }
    .col { max-width: none; }
    .glass, .btn, .prod { box-shadow: none; border-color: #ccc; background: #fff; }
    .qrbox canvas { border: 1px solid #ddd; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10px; color: #666; }
  }
}

/* ========================================================================== 
   8. CONSOLIDAÇÃO CODEX V2 — assets reais e P07 canônico
   ========================================================================== */
.rail__logo-real{
  width:100%;
  max-width:300px;
  border-radius:18px;
  border:1px solid var(--line-2);
  box-shadow:var(--sh-2);
}
.capa__media{
  position:absolute;
  inset:0 -6% 18% -6%;
  overflow:hidden;
  border-radius:0 0 var(--r-xl) var(--r-xl);
  opacity:.58;
  -webkit-mask-image:linear-gradient(180deg,#000 34%,transparent 98%);
  mask-image:linear-gradient(180deg,#000 34%,transparent 98%);
}
.capa__media::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,hsl(var(--h) 40% 5% / .18),hsl(var(--h) 42% 5% / .82));
}
.capa__media img{ width:100%; height:100%; object-fit:cover; object-position:center 42%; }
.capa__logo-real{
  width:100%;
  max-width:310px;
  border-radius:14px;
  margin-bottom:var(--s4);
  border:1px solid var(--line-2);
  box-shadow:var(--sh-1);
}
.iconbtn--text,.dock__i--text{ font-family:var(--font-display); font-weight:700; font-size:.72rem; letter-spacing:.04em; }
.sobre--real{ grid-template-columns:128px 1fr; }
.sobre__foto--logo{ aspect-ratio:1/1; background:#1b0c55; display:grid; place-items:center; }
.sobre__foto--logo img{ width:100%; height:100%; object-fit:contain; }
.prod__img--real{ width:100%; object-fit:cover; }
.prod--wide .prod__img--real{ aspect-ratio:21/10; object-position:center 50%; }
.media-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--s3); }
.media-card{ overflow:hidden; border:1px solid var(--line-2); border-radius:var(--r); background:linear-gradient(160deg,var(--glass),var(--glass-2)); box-shadow:var(--sh-1); }
.media-card--wide{ grid-column:span 2; }
.media-card video{ width:100%; aspect-ratio:9/16; object-fit:cover; background:#06080d; }
.media-card--wide video{ aspect-ratio:9/13; }
.media-card p{ padding:10px 12px; font-size:var(--t-xs); color:var(--ink-2); }
.mapa--contact .mapa__info{ padding:var(--s5); }
.mapa__addr strong{ color:var(--ink); font-family:var(--font-display); font-size:var(--t-lg); }
.qrbox--actions{ grid-template-columns:130px 1fr; }
.qrbox--actions > img{ width:100%; border-radius:var(--r-sm); border:1px solid var(--line-2); }
.rodape__logo{ width:92px; border-radius:10px; border:1px solid var(--line); }
.rodape__nav a{ font-family:var(--font-display); font-size:.66rem; font-weight:700; }

@media (max-width:639px){
  .capa__media{ inset-inline:0; }
}

@media (max-width:374px){
  .sobre--real{ grid-template-columns:96px 1fr; }
  .qrbox--actions{ grid-template-columns:1fr; }
  .qrbox--actions > img{ max-width:220px; }
}
/* Progressive enhancement safety: all content remains readable even when
   IntersectionObserver is unavailable or a full-page capture skips scroll. */
.reveal,
.reveal.is-in {
  opacity: 1;
  transform: none;
}
