/* =============================================================================
   AGILIHOME ALAGOAS — DESIGN SYSTEM 2026
   -----------------------------------------------------------------------------
   Direção: industrial-editorial. Fundo quente quase-preto, tipografia de placa
   de galpão (Archivo em largura expandida), e a paleta tirada das cores reais
   das telhas Precon — Cerâmica, Marfim e Concreto. O laranja da marca entra
   como acento, nunca como fundo.

   Motion: animações ligadas à rolagem via `animation-timeline: view()`. Elas
   avançam e retrocedem sozinhas conforme o scroll, rodam fora da main thread e
   custam zero JS. Onde o navegador não suporta, um IntersectionObserver em
   js/motion.js adiciona `.is-in` e o mesmo estado final é aplicado.

   Sem emoji na interface. Sem glassmorphism decorativo. Sem gradiente roxo.
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */

:root {
  /* Fundos — branco e areia quente. Tema único: não há mais versão escura. */
  --ground:        #FFFFFF;
  --ground-raised: #FAF8F4;
  --ground-card:   #FFFFFF;
  --ground-high:   #F1ECE4;

  /* Cores do produto. São literalmente as cores em que a telha é vendida. */
  --ceramica:  #A03D22;  /* Cerâmica / Terracota */
  --marfim:    #8A7F6B;  /* Marfim, escurecido para contrastar no claro */
  --concreto:  #5F6062;  /* Concreto — cor do manual da marca */

  /* Laranja institucional AgiliHome, na versão que passa contraste no branco */
  --laranja:       #D97600;
  --laranja-quiet: #A85C00;
  --laranja-lift:  #FE8F00;

  /* Traços */
  --rule:        rgba(20, 17, 15, 0.10);
  --rule-strong: rgba(20, 17, 15, 0.20);
  --rule-accent: rgba(217, 118, 0, 0.42);

  /* Texto */
  --ink:       #14110F;
  --ink-body:  #4A433C;
  --ink-mute:  #7C736A;
  --ink-invert:#FFFFFF;

  /* Utilidades */
  --zap:       #25D366;
  --zap-deep:  #128C7E;
  --ok:        #16A34A;

  /* Superfícies especiais. --stage segue escuro: é o palco do vídeo do hero,
     onde o texto branco precisa se sustentar sobre a imagem. */
  --stage:       #111215;
  --panel:       #FFFFFF;
  --swatch-ring: rgba(20, 17, 15, 0.18);

  /* Sombra — projetada, não difusa */
  --lift-1: 0 1px 2px rgba(20,17,15,.05), 0 8px 24px -14px rgba(20,17,15,.16);
  --lift-2: 0 2px 4px rgba(20,17,15,.06), 0 24px 60px -28px rgba(20,17,15,.22);
  --burn:   0 0 0 1px var(--rule-accent), 0 18px 50px -20px rgba(217,118,0,.28);

  color-scheme: light;
}

:root {
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 56px);

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --font-display: "Archivo", "Archivo Black", Impact, system-ui, sans-serif;
  --font-text: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, monospace;

  /* Curvas. `--out` é a que faz o motion parecer físico e não linear. */
  --out:  cubic-bezier(0.16, 1, 0.30, 1);
  --in:   cubic-bezier(0.7, 0, 0.84, 0);
  --calm: cubic-bezier(0.33, 1, 0.68, 1);

  --hdr-h: 68px;
}

/* -----------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr-h) + 16px);
  overflow-x: clip;
}

/* Evita conflitos e pulos de rolagem no teclado virtual móvel ao focar inputs */
html:focus-within {
  scroll-behavior: auto;
}

body {
  background: var(--ground);
  color: var(--ink-body);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
  overflow-x: clip;
  max-width: 100vw;
}

main {
  overflow-x: clip;
}

img, video { display: block; max-width: 100%; height: auto; }

/* SVG aqui é sempre ícone, quase sempre dentro de uma linha de texto. Em
   display:block cada um vira uma linha própria — foi assim que as cinco
   estrelas da nota viraram uma coluna vertical. Em contexto flex ou grid o
   inline-block é promovido a block pelo próprio layout, então serve aos dois. */
svg {
  display: inline-block;
  vertical-align: middle;
  flex: none;
}

/* O <picture> só embrulha o <img> para oferecer o WebP. Sem caixa própria, ele
   não interfere no layout e todo seletor de imagem continua valendo. */
picture { display: contents; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

:where(h1, h2, h3, h4) {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
}

p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--laranja);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection { background: var(--laranja); color: #14110F; }

.sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 999;
  transform: translateY(-160%);
  background: var(--laranja); color: #14110F;
  padding: 12px 20px; border-radius: var(--r-sm); font-weight: 700;
  transition: transform .2s var(--out);
}
.skip:focus { transform: translateY(0); }

/* -----------------------------------------------------------------------------
   3. MOTION LIGADO À ROLAGEM
   -----------------------------------------------------------------------------
   Animações de entrada fluidas acionadas conforme o elemento entra no campo
   visual do usuário (IntersectionObserver com fallback e spring easing),
   mais efeitos de parallax e barra de progresso contínuos na rolagem.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* Barra de progresso da leitura, no topo. */
    .prog-bar {
      animation: progGrow both linear;
      animation-timeline: scroll(root block);
    }

    /* Parallax interno das fotos: a imagem anda menos que o container. */
    [data-drift] > img,
    [data-drift] > picture > img {
      animation: driftY both linear;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
  }

  /* Animações de entrada disparadas na rolagem (Universal: Desktop e Mobile) */
  [data-reveal],
  [data-stagger] > * {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
    filter: blur(10px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--i, 0) * 85ms);
    will-change: opacity, transform, filter;
  }
  [data-reveal="left"] {
    transform: translate3d(-44px, 0, 0);
    filter: blur(10px);
  }
  [data-reveal="right"] {
    transform: translate3d(44px, 0, 0);
    filter: blur(10px);
  }
  [data-reveal="scale"] {
    transform: scale(0.92);
    filter: blur(8px);
  }
  [data-reveal="blur"] {
    transform: translate3d(0, 28px, 0);
    filter: blur(14px);
  }
  [data-reveal="fade"] {
    transform: none;
    filter: blur(6px);
  }
  [data-reveal="up"] {
    transform: translate3d(0, 36px, 0);
    filter: blur(10px);
  }

  [data-reveal].is-in,
  [data-stagger].is-in > *,
  [data-stagger] > *.is-in {
    opacity: 1;
    transform: none;
    filter: none;
  }

  @media (max-width: 860px) {
    [data-reveal="left"],
    [data-reveal="right"] {
      transform: translate3d(0, 24px, 0);
    }
  }

  /* Conteúdo da cortina do dock sempre 100% visível sem efeito fantasma */
  .action-dock-sec [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  /* Remove o atraso de transição no hover para manter a interação imediata */
  .card:hover,
  .store:hover,
  .seal:hover,
  .bento-card:hover,
  .uv-pill-item:hover {
    transition-delay: 0s !important;
  }
}

@keyframes rvUp    { from { opacity: 0; transform: translate3d(0, 32px, 0); } to { opacity: 1; transform: none; } }
@keyframes rvFade  { from { opacity: 0; } to { opacity: 1; } }
@keyframes rvRight { from { opacity: 0; transform: translate3d(36px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes rvLeft  { from { opacity: 0; transform: translate3d(-36px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes rvScale { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes rvMask  { from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate3d(0, 14px, 0); }
                     to   { opacity: 1; clip-path: inset(0 0 -6% 0); transform: none; } }
@keyframes rvRule  { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Entrada desfocada: o elemento chega com blur e sobe suavemente */
@keyframes rvBlur  { from { opacity: 0; filter: blur(12px); transform: translate3d(0, 24px, 0); }
                     to   { opacity: 1; filter: blur(0);    transform: none; } }
@keyframes progGrow{ from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes driftY  { from { transform: translate3d(0, -6%, 0) scale(1.14); }
                     to   { transform: translate3d(0, 6%, 0) scale(1.14); } }

/* Movimento reduzido: nada se move, tudo já chega no estado final. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal], [data-stagger] > * { opacity: 1 !important; transform: none !important; }
}

/* -----------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */

.wrap {
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
}

.section { padding-block: clamp(72px, 11vw, 152px); position: relative; }
.section--tight { padding-block: clamp(52px, 7vw, 92px); }
.section--raised { background: var(--ground-raised); }

/* Fio horizontal que cresce com a rolagem. Divide sem pesar. */
.rule {
  height: 1px; background: var(--rule-strong);
  transform-origin: left; border: 0;
}

.sec-head,
.sec-hdr {
  max-width: 62ch;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.sec-head--wide,
.sec-hdr--wide {
  max-width: none;
}
.sec-hdr--center,
.sec-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: .6875rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--laranja);
  margin-bottom: 20px;
}
.eyebrow::before {
  display: none !important;
}

.sec-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-stretch: 108%;
  margin-bottom: 18px;
}

.sec-lede {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--ink-body);
  max-width: 58ch;
}

/* Números tabulares para tudo que é medida, preço ou nota. */
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* -----------------------------------------------------------------------------
   5. BOTÕES
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-ring: var(--rule-strong);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px;
  background: var(--btn-bg); color: var(--btn-fg);
  box-shadow: inset 0 0 0 1px var(--btn-ring);
  border-radius: var(--r-pill);
  font-weight: 600; font-size: .9375rem; line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform .22s var(--out), box-shadow .22s var(--out),
              background-color .22s var(--out), color .22s var(--out);
  overflow: hidden;
}
.btn svg { flex: none; }
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: .07s; }

.btn--solid { --btn-bg: var(--laranja); --btn-fg: #FFFFFF; --btn-ring: transparent; font-weight: 700; color: #FFFFFF !important; }
.btn--solid svg { fill: #FFFFFF !important; color: #FFFFFF !important; }
.btn--solid:hover { --btn-bg: var(--laranja-lift); --btn-fg: #FFFFFF; color: #FFFFFF !important; box-shadow: var(--burn); }

.btn--zap { --btn-bg: var(--zap); --btn-fg: #FFFFFF; --btn-ring: transparent; font-weight: 700; color: #FFFFFF !important; }
.btn--zap svg { fill: #FFFFFF !important; color: #FFFFFF !important; }
.btn--zap:hover { --btn-bg: #2FE374; --btn-fg: #FFFFFF; color: #FFFFFF !important; box-shadow: 0 0 0 1px rgba(37,211,102,.5), 0 16px 40px -16px rgba(37,211,102,.5); }

.btn--ghost:hover { --btn-ring: var(--rule-accent); background: rgba(254,143,0,.07); }

.btn--shop {
  --btn-ring: var(--rule);
  color: var(--ink-body); font-weight: 600; font-size: .875rem;
  padding: 11px 18px;
}
.btn--shop:hover { --btn-ring: var(--rule-strong); color: var(--ink); background: var(--ground-high); }

.btn--full { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: .875rem; }
.btn--lg { padding: 15px 30px; font-size: 1.0625rem; font-weight: 700; }

/* Seta que desliza no hover — detalhe pequeno, faz o botão parecer vivo. */
.btn .arrow { transition: transform .28s var(--out); }
.btn:hover .arrow { transform: translateX(4px); }

/* -----------------------------------------------------------------------------
   6. TOPBAR + HEADER
   -------------------------------------------------------------------------- */

.prog {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 90;
  background: transparent; pointer-events: none;
}
.prog-bar {
  height: 100%; background: var(--laranja);
  transform: scaleX(0); transform-origin: left;
}

.topbar {
  background: var(--ground-raised);
  border-bottom: 1px solid var(--rule);
  font-size: .78125rem;
  color: var(--ink-mute);
}
.topbar-in {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 38px; padding-block: 8px;
}
.topbar-facts { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar-facts span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-facts .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ok); flex: none; }
.topbar-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--ink-body); font-weight: 600;
  transition: color .2s var(--out);
}
.topbar-link:hover { color: var(--laranja); }
@media (max-width: 900px) { .topbar-facts span:nth-child(n+2) { display: none; } }
@media (max-width: 620px) { .topbar-link span { display: none; } }

.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  background: color-mix(in srgb, var(--ground) 92%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--rule);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .4s var(--out), opacity .35s var(--out), background-color .3s var(--out);
}
.hdr.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
body:not(:has([data-act])) {
  padding-top: var(--hdr-h);
}
body:not(:has([data-act])) .hdr {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.hdr.is-stuck {
  border-bottom-color: var(--rule-strong);
  background: color-mix(in srgb, var(--ground) 96%, transparent);
}

.hdr-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--hdr-h);
}

.brand { flex: none; }
.brand img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; list-style: none; padding: 0; }
.nav-a {
  position: relative;
  padding: 8px 12px; border-radius: var(--r-sm);
  font-size: .875rem; font-weight: 500; color: var(--ink-body);
  transition: color .2s var(--out);
}
.nav-a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px;
  height: 1px; background: var(--laranja);
  transform: scaleX(0); transform-origin: right;
  transition: transform .28s var(--out);
}
.nav-a:hover { color: var(--ink); }
.nav-a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-a[aria-current="true"] { color: var(--ink); }
.nav-a--out { color: var(--laranja); }

.hdr-acts {
  display: flex; align-items: center; gap: 10px; flex: none;
  margin-left: auto;
}

/* Hambúrguer que morfa em X num traço só, via stroke-dasharray.
   Portado do componente Header 1 (@efferd) do 21st.dev: o path desenha o
   hambúrguer com dasharray 12 63 e vira seta/X em 20 300 com offset negativo,
   enquanto o SVG inteiro gira −45°. Um caminho, nenhum keyframe. */
.burger {
  display: none; width: 40px; height: 40px; place-items: center;
  color: var(--ink); border-radius: var(--r-sm);
  box-shadow: inset 0 0 0 1px var(--rule);
  transition: box-shadow .2s var(--out);
}
.burger:hover { box-shadow: inset 0 0 0 1px var(--rule-strong); }
.burger svg {
  width: 21px; height: 21px;
  transition: transform .42s var(--out);
}
.burger svg path {
  transition: stroke-dasharray .42s var(--out), stroke-dashoffset .42s var(--out);
}
.burger .bar-morph { stroke-dasharray: 12 63; }
.burger .bar-mid   { opacity: 1; transition: opacity .2s var(--out); }
.burger[aria-expanded="true"] svg { transform: rotate(-45deg); }
.burger[aria-expanded="true"] .bar-morph {
  stroke-dasharray: 20 300; stroke-dashoffset: -32.42px;
}
.burger[aria-expanded="true"] .bar-mid { opacity: 0; }

@media (max-width: 1080px) {
  .hdr .wrap {
    width: min(calc(100% - 32px), var(--wrap));
  }
  .burger { display: grid; }
  .hdr-acts .btn--zap .btn-label { display: none; }
  .hdr-acts .btn--zap { padding: 12px; }

  /* Dropdown mobile ocupando a viewport abaixo do cabeçalho */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100vh - var(--hdr-h));
    height: calc(100dvh - var(--hdr-h));
    max-height: calc(100dvh - var(--hdr-h));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ground-raised);
    background: color-mix(in srgb, var(--ground) 96%, #000);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-top: 1px solid var(--rule-strong);
    padding: 16px var(--gutter) 48px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .26s var(--out), transform .28s var(--out), visibility .28s;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    z-index: 100;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Os itens entram em cascata depois do painel — 34ms de intervalo. */
  .nav li {
    opacity: 0; transform: translateY(10px);
    transition: opacity .3s var(--out), transform .34s var(--out);
  }
  .nav.is-open li {
    opacity: 1; transform: none;
    transition-delay: calc(60ms + var(--n, 0) * 34ms);
  }

  .nav-a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 6px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--rule);
    border-radius: 0;
  }
  .nav-a:hover {
    color: var(--laranja);
  }
  .nav-a::after { display: none; }
}

/* -----------------------------------------------------------------------------
   7. ATO 1 — ABERTURA IMERSIVA
   -----------------------------------------------------------------------------
   Palco preso na tela enquanto a página rola por trás. Os capítulos entram e
   saem por opacidade, controlados pelo motion.js a partir do progresso do
   scroll. O media-frame começa recortado e abre até sangrar na tela.
   -------------------------------------------------------------------------- */

.act {
  position: relative;
  background: var(--stage);
}
/* Quatro capítulos agora com efeito cortina de transição: o palco estende
   o curso de rolagem para que os capítulos terminem confortavelmente antes de a
   segunda seção subir sobre o hero parado. */
.act--open {
  height: calc(var(--caps, 4) * 125vh);
  height: calc(var(--caps, 4) * 125dvh);
}

.act-stage {
  position: sticky; top: 0;
  height: 100vh;
  height: 100dvh;
  min-height: 560px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.act-media {
  position: absolute; inset: 0;
  overflow: hidden;
}

.act-blend-bottom { display: none !important; }
.act-line-bottom {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
  z-index: 5;
  pointer-events: none;
}

.act-media img,
.act-media video,
.act-media canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(calc(1.16 - var(--p, 0) * 0.16));
  will-change: transform;
}

.act-media::after {
  content: "";
  position: absolute; inset: 0;
  background: none;
  pointer-events: none;
  z-index: 2;
}

/* Vídeos responsivos do Hero com os 3 Sócios */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-video--desktop {
  display: block;
  object-position: center center;
}

.hero-video--mobile {
  display: none;
  object-position: center center;
}

@media (max-width: 860px) {
  .hero-video--desktop {
    display: none !important;
  }
  .hero-video--mobile {
    display: block !important;
    object-position: center center;
  }
}

.act-media canvas {
  opacity: 0;
  transition: opacity .4s var(--out);
  z-index: 1;
}
.act-media canvas[data-frames-live="true"] { opacity: 1; }

/* Num quadro retrato, o cover recorta o meio de uma foto deitada — que aqui é
   a fachada, não o telhado. Puxar o enquadramento para cima e para a esquerda
   devolve o assunto: a cobertura. */
@media (max-width: 860px) {
  .act-stage {
    min-height: 0;
    height: 100vh;
    height: 100dvh;
  }
  .act-media img,
  .act-media video,
  .act-media canvas { object-position: center center; }
  .act-media::after {
    /* Fundo limpo e imagem evidente no mobile: sem overlay escuro no topo/meio,
       apenas um gradiente leve nos ~25% inferiores para sustentar a leitura dos textos */
    background: linear-gradient(180deg, transparent 0%, transparent 72%, rgba(10, 12, 16, 0.32) 84%, rgba(10, 12, 16, 0.68) 100%);
  }
}

/* Véu de legibilidade. A camada horizontal é a que faz o trabalho: o texto vive
   na metade esquerda, e é lá que o fundo precisa ficar escuro o bastante para
   sustentar branco sobre qualquer frame do vídeo. */
.act-veil { display: none; }
@media (max-width: 860px) {
  .act-veil {
    background:
      linear-gradient(180deg,
        rgba(8,7,6,.34) 0%, rgba(8,7,6,.22) 22%,
        rgba(8,7,6,.72) 52%, rgba(8,7,6,.94) 100%),
      radial-gradient(120% 55% at 70% 16%, rgba(254,143,0,.12) 0%, transparent 62%);
  }
}

/* Grão de filme. Tira o aspecto "render" e aproxima de material filmado. */
.grain {
  position: absolute; inset: -50%;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 1.1s steps(3) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(-2%, 1.5%); }
  66%  { transform: translate(1.5%, -1%); }
  100% { transform: translate(0, 0); }
}

.chapters {
  position: relative; z-index: 5;
  width: min(100% - var(--gutter) * 2, var(--wrap));
  height: 100%;
  display: grid;
  align-items: end;
  padding-bottom: clamp(76px, 12vh, 106px);
  pointer-events: none;
}
.chapter {
  grid-area: 1 / 1;
  align-self: end;
  max-width: 32rem;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  visibility: hidden;
  transition: opacity .35s var(--in), transform .35s var(--in), visibility .35s;
  pointer-events: none;
}
.chapter.is-live {
  opacity: 1; transform: none; visibility: visible; pointer-events: auto;
  transition: opacity .5s var(--out) .18s, transform .55s var(--out) .18s,
              visibility 0s;
}

.chapter-no {
  font-family: var(--font-mono);
  font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--laranja);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.chapter-no::before { content: ""; width: 34px; height: 1px; background: currentColor; }

/* Título revelado linha a linha por máscara. Cada .line é um bloco recortado. */
.chapter-title {
  font-size: clamp(1.85rem, 4.2vw, 3.25rem);
  font-stretch: 110%;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: #FFFFFF;
  margin-bottom: 12px;
  text-wrap: balance;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}
@media (max-width: 620px) { .chapter-title { text-wrap: balance; } }

.chapter-title .line {
  display: block; overflow: hidden;
  padding-block: 0.18em; margin-block: -0.13em;
}
.chapter-title .line > span {
  display: block;
  transform: translateY(102%);
  transition: transform .78s var(--out);
  transition-delay: calc(var(--l, 0) * 90ms);
}
.chapter.is-live .chapter-title .line > span { transform: none; }
.chapter-title em { font-style: normal; color: var(--laranja); }

.chapter-lede {
  font-size: clamp(0.9375rem, 1.35vw, 1.0625rem);
  color: rgba(255, 255, 255, 0.90);
  max-width: 42ch;
  line-height: 1.48;
  margin-bottom: 20px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.70);
}

.chapter-acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* Fatos do capítulo — compactos e elegantes, sem quadrado pesado */
.chapter-facts {
  display: flex; flex-wrap: wrap; gap: clamp(14px, 2.5vw, 24px);
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
}
.chapter-fact { min-width: 76px; }
.chapter-fact b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-stretch: 105%;
  font-weight: 800; color: var(--laranja); line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}
.chapter-fact span {
  font-size: .71875rem; color: rgba(255, 255, 255, 0.72);
  letter-spacing: .01em;
}

/* Dial de progresso dos capítulos, fixo no rodapé do palco no desktop. */
.dial {
  position: absolute; z-index: 5;
  left: 50%; bottom: clamp(20px, 4svh, 38px);
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px 8px 20px;
  background: rgba(18, 20, 24, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border-radius: var(--r-pill);
  opacity: calc(1 - var(--curtain-p, 0) * 3);
  transition: opacity .25s var(--out);
}
.dial-txt { display: flex; align-items: center; }
.dial-prompt {
  font-family: var(--font-sans);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: #FFFFFF;
}
.dial-cap, .dial-now { display: none; }
.dial-ring { width: 34px; height: 34px; flex: none; transform: rotate(-90deg); }
.dial-ring circle { fill: none; stroke-width: 2.2; }
.dial-ring .track { stroke: rgba(255, 255, 255, 0.18); }
.dial-ring .live  { stroke: var(--laranja); stroke-linecap: round;
                    stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); }

.scroll-hint { display: none !important; }

@media (max-width: 860px) {
  /* Dial no mobile: centralizado no rodapé da primeira tela */
  .dial {
    display: flex;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    bottom: max(18px, env(safe-area-inset-bottom, 18px));
    right: auto;
    gap: 10px;
    padding: 6px 10px 6px 16px;
    background: rgba(18, 20, 24, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    border-radius: var(--r-pill);
    z-index: 6;
    max-width: 90vw;
    pointer-events: none;
  }
  .dial-txt { overflow: visible; }
  .dial-prompt {
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.2;
    color: #FFFFFF;
    white-space: nowrap;
  }
  .dial-ring { width: 26px; height: 26px; }
  .dial-ring circle { stroke-width: 2.5; }
  .scroll-hint { display: none !important; }
}

/* --- Ato 1 no celular ---------------------------------------------------
   O capítulo passa a ocupar a metade de baixo da tela, deixando a foto
   respirar em cima. Os fatos viram duas colunas fixas: em flex-wrap eles
   empilhavam por causa do comprimento do rótulo e o bloco estourava a altura
   da tela nos aparelhos menores. */
@media (max-width: 860px) {
  .chapters { align-items: end; padding-bottom: clamp(64px, 12svh, 110px); }
  .chapter { align-self: end; }
  .chapter-no { margin-bottom: 14px; font-size: .625rem; }
  .chapter-lede { font-size: 1rem; line-height: 1.5; margin-bottom: 22px; }
  .chapter-facts {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px 18px; margin-top: 24px; padding-top: 20px;
  }
  .chapter-fact b { margin-bottom: 3px; }
  .chapter-fact span { font-size: .6875rem; line-height: 1.35; }
}

/* Telas estreitas: o conteúdo do capítulo precisa caber em uma tela sem
   cortar o último fato. Encolhe o texto de apoio, não o título. */
@media (max-width: 480px) {
  .chapter-title { font-size: clamp(1.85rem, 8.6vw, 2.4rem); }
  .chapter-lede { font-size: .9375rem; margin-bottom: 18px; }
  .chapter-facts { gap: 12px 14px; margin-top: 18px; padding-top: 16px; }
  .chapter-fact { min-width: 0; }
  .chapter-fact span { font-size: .625rem; }
  /* O dial some abaixo de 620 px, então não é preciso reservar espaço para ele
     no rodapé do palco. Esses pixels vão para os rótulos dos fatos. */
  .chapters { padding-bottom: clamp(24px, 4svh, 44px); }
}

/* -----------------------------------------------------------------------------
   8. MARQUEE DE MARCAS
   -------------------------------------------------------------------------- */

/* A seção das marcas é a primeira depois do giro do hero. Fundo branco puro,
   de propósito: fecha o corte do vídeo e devolve a página ao claro sem degrau.
   Os PNGs dos fabricantes já vêm com fundo branco — por isso nada de filtro
   cinza aqui, que era o que sujava a marca no tema antigo. */
.marquee, .marquee-section {
  padding-block: clamp(48px, 6vw, 76px);
  margin-top: clamp(36px, 5vw, 68px);
  border-block: 1px solid var(--rule);
  background: #FFFFFF;
  overflow: hidden;
}
.marquee-cap {
  text-align: center; margin-bottom: 26px;
  font-family: var(--font-mono);
  font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-mute);
}
.marquee-view {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-run {
  display: flex; align-items: center; gap: clamp(38px, 6vw, 84px);
  width: max-content;
  animation: marchLeft 46s linear infinite;
}
.marquee-view:hover .marquee-run { animation-play-state: paused; }
@keyframes marchLeft { to { transform: translateX(-50%); } }

/* Sem grayscale: as marcas aparecem na cor real delas. O único recuo é uma
   leve perda de opacidade, que o hover devolve. */
.brand-item {
  display: flex; align-items: center; justify-content: center;
  padding: 12px 24px;
  background: #FFFFFF;
  border: 1px solid rgba(20, 17, 15, 0.08);
  border-radius: var(--r-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all .3s var(--out);
  flex: none;
}
.brand-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.08);
  border-color: rgba(217, 118, 0, 0.3);
}
.brand-item img, .marquee-run img {
  height: clamp(28px, 4vw, 40px); width: auto;
  object-fit: contain;
  opacity: .95;
  filter: none !important;
  transition: opacity .3s var(--out), transform .3s var(--out);
}
.brand-item:hover img, .marquee-run img:hover { opacity: 1; transform: scale(1.05); }

/* -----------------------------------------------------------------------------
   9. SELOS TÉCNICOS
   -------------------------------------------------------------------------- */

.seals { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--rule); }
.seal {
  display: flex; align-items: center; gap: 16px;
  padding: 26px 22px;
  background: var(--ground);
  transition: background-color .3s var(--out);
}
.seal:hover { background: var(--ground-card); }
.seal img { width: 46px; height: auto; flex: none; object-fit: contain; }
.seal b { display: block; font-family: var(--font-text); font-size: .9375rem; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.seal span { font-size: .78125rem; color: var(--ink-mute); line-height: 1.45; }

/* -----------------------------------------------------------------------------
   10. ATO 2 — SHOWCASE DAS TELHAS (porte do scroll-tilted-grid)
   -----------------------------------------------------------------------------
   Cada peça sobe tombada para frente, trava em foco nítido no meio da tela e
   sai tombando para trás. É o `scroll-tilted-grid` do acervo, traduzido para
   `animation-timeline: view()` — reversível de graça, sem JS.
   -------------------------------------------------------------------------- */

.showcase { background: var(--ground-raised); position: relative; overflow: hidden; }

/* Showcase com Abas Dinâmicas para as 4 Linhas */
.showcase-sec {
  background: var(--ground-raised);
  padding-block: clamp(60px, 8vw, 100px);
}
.product-tabs {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
  margin-top: 24px;
}
.product-tab {
  background: var(--ground-card); color: var(--ink-body); border: 1px solid var(--rule);
  padding: 10px 22px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 700; font-size: .9375rem;
  cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: all .25s var(--out);
}
.product-tab:hover { border-color: var(--laranja); color: var(--ink); transform: translateY(-2px); }
.product-tab.is-active {
  background: var(--laranja); color: #FFFFFF; border-color: var(--laranja);
  box-shadow: 0 4px 16px rgba(217, 118, 0, 0.35);
}
.product-panels { margin-top: 36px; }
.product-panel {
  display: none; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  background: var(--ground-card); border: 1px solid var(--rule); border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 48px); box-shadow: 0 10px 30px -10px rgba(20, 17, 15, 0.06);
  animation: panelFade .4s var(--out);
}
.product-panel.is-active { display: grid; }
@keyframes panelFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.product-art {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center;
  background: radial-gradient(circle at center, rgba(217,118,0,0.06) 0%, transparent 70%);
  border-radius: var(--r-md); padding: 24px;
}
.product-art img {
  max-width: 100%; max-height: 320px; object-fit: contain;
  transition: transform .4s var(--out); filter: drop-shadow(0 16px 24px rgba(20,17,15,0.12));
}
.product-panel:hover .product-art img { transform: scale(1.05) translateY(-4px); }
.product-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--ground-high); color: var(--laranja-quiet);
  font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
  padding: 6px 12px; border-radius: var(--r-pill);
}
.product-details { display: flex; flex-direction: column; gap: 16px; }
.product-title {
  font-family: var(--font-display); font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800;
  color: var(--ink); line-height: 1.1; letter-spacing: -0.025em;
}
.product-desc { font-size: 1rem; color: var(--ink-body); line-height: 1.6; max-width: 48ch; }
.product-specs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 16px;
  background: var(--ground-raised); border: 1px solid var(--rule); border-radius: var(--r-md);
}
.spec-item { display: flex; flex-direction: column; gap: 3px; }
.spec-val { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; color: var(--ink); }
.spec-lbl { font-family: var(--font-mono); font-size: .625rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); }
.product-colors { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.colors-label { font-size: .8125rem; font-weight: 600; color: var(--ink-body); }
.product-acts { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 860px) {
  .product-panel { grid-template-columns: 1fr; }
  .product-specs { grid-template-columns: 1fr 1fr; }
}

.showcase::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 50% at 50% 0%, rgba(254,143,0,.09), transparent 70%);
  pointer-events: none;
}
.showcase .wrap { position: relative; }

.tiles { display: grid; gap: clamp(80px, 14vh, 180px); padding-block: clamp(40px, 8vh, 90px); }

.tile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  perspective: 1100px;
}
.tile:nth-child(even) .tile-art { order: 2; }

.tile-art {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ground-card);
  box-shadow: var(--lift-2);
  transform-style: preserve-3d;
}
.tile-art img { width: 100%; height: 100%; object-fit: contain; padding: 12%; }
.tile-art .swatchbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 5px; display: flex;
}
.tile-art .swatchbar i { flex: 1; }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .tile-art {
      animation: tiltPass both linear;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
      will-change: transform, filter;
    }
    .tile:nth-child(even) .tile-art { animation-name: tiltPassAlt; }

    .tile-copy > * {
      animation: rvUp both linear;
      animation-timeline: view();
      animation-range: entry 12% cover 42%;
    }
  }
}

@keyframes tiltPass {
  0%   { transform: translate3d(-9%, 46%, -220px) rotateX(34deg) rotate(-3deg) skewX(7deg);
         filter: blur(7px) brightness(.28) contrast(1.7); }
  50%  { transform: none; filter: none; }
  100% { transform: translate3d(-9%, -46%, -220px) rotateX(-34deg) rotate(3deg) skewX(-7deg);
         filter: blur(7px) brightness(.28) contrast(1.7); }
}
@keyframes tiltPassAlt {
  0%   { transform: translate3d(9%, 46%, -220px) rotateX(34deg) rotate(3deg) skewX(-7deg);
         filter: blur(7px) brightness(.28) contrast(1.7); }
  50%  { transform: none; filter: none; }
  100% { transform: translate3d(9%, -46%, -220px) rotateX(-34deg) rotate(-3deg) skewX(7deg);
         filter: blur(7px) brightness(.28) contrast(1.7); }
}

.tile-kicker {
  font-family: var(--font-mono);
  font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--laranja); margin-bottom: 14px;
}
.tile-name {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-stretch: 106%;
  margin-bottom: 14px;
}
.tile-desc { color: var(--ink-body); margin-bottom: 24px; max-width: 44ch; }

.spec-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-md); overflow: hidden;
  margin-bottom: 24px;
}
.spec-cell { background: var(--ground-card); padding: 14px 16px; }
.spec-cell b {
  display: block; font-family: var(--font-display);
  font-size: 1.125rem; font-stretch: 102%; font-weight: 700;
  color: var(--ink); line-height: 1; margin-bottom: 5px;
}
.spec-cell span {
  font-family: var(--font-mono);
  font-size: .625rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute);
}

.swatches { display: flex; align-items: center; gap: 9px; margin-bottom: 26px; flex-wrap: wrap; }
.swatch { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--ink-body); }
.swatch i {
  width: 15px; height: 15px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--swatch-ring);
  flex: none;
}
.sw-ceramica    { background: var(--ceramica); }
.sw-marfim      { background: #E9DFCE; }
.sw-concreto    { background: var(--concreto); }
.sw-branca      { background: #F2F2F0; }
.sw-translucida { background: linear-gradient(135deg, rgba(255,255,255,.85), rgba(255,255,255,.25)); }

.tile-acts { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 860px) {
  .tile { grid-template-columns: 1fr; gap: 26px; }
  .tile:nth-child(even) .tile-art { order: 0; }
  .tile-art { aspect-ratio: 16 / 11; }
  .spec-row { grid-template-columns: 1fr; }
  .spec-cell { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .spec-cell b { margin-bottom: 0; }
}


/* Bento Grid para Por que PVC */
.bento-sec { padding-block: clamp(60px, 8vw, 100px); background: var(--ground); }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.bento-card {
  background: var(--ground-card); border: 1px solid var(--rule); border-radius: var(--r-lg);
  padding: clamp(22px, 3.5vw, 32px); box-shadow: 0 4px 16px rgba(20, 17, 15, 0.04);
  transition: transform .35s var(--out), box-shadow .35s var(--out), border-color .35s var(--out);
  display: flex; flex-direction: column; justify-content: space-between;
}
.bento-card:hover {
  transform: translateY(-4px); box-shadow: 0 16px 36px -10px rgba(20, 17, 15, 0.10);
  border-color: rgba(217, 118, 0, 0.35);
}
.bento-card--large {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--ground-card) 0%, var(--ground-raised) 100%);
}
.bento-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.bento-pill {
  font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--laranja); font-weight: 700; background: rgba(217, 118, 0, 0.08);
  padding: 6px 12px; border-radius: var(--r-pill);
}
.bento-stat-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--laranja); line-height: 1; }
.bento-icon {
  width: 48px; height: 48px; border-radius: var(--r-md); background: rgba(217, 118, 0, 0.08);
  color: var(--laranja); display: grid; place-items: center; margin-bottom: 16px;
}
.bento-highlight {
  font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--laranja); font-weight: 700; margin-bottom: 8px; display: block;
}
.bento-title {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--ink);
  line-height: 1.25; margin-bottom: 10px;
}
.bento-desc { font-size: .9375rem; color: var(--ink-body); line-height: 1.6; }
.bento-bars { margin: 20px 0 16px 0; display: grid; gap: 12px; }
.bento-bar-row { display: grid; gap: 6px; }
.bento-bar-label { font-size: .8125rem; color: var(--ink-body); }
.bento-bar-track { height: 10px; background: var(--ground-high); border-radius: var(--r-pill); overflow: hidden; }
.bento-bar-fill--pvc { height: 100%; background: var(--zap); border-radius: var(--r-pill); }
.bento-bar-fill--clay { height: 100%; background: var(--ceramica); border-radius: var(--r-pill); }
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card--large { grid-column: span 1; }
}

/* -----------------------------------------------------------------------------
   11. RAZÕES — grade assimétrica
   -------------------------------------------------------------------------- */

.reasons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg); overflow: hidden;
}
.reason { background: var(--ground); padding: clamp(24px, 3vw, 38px); grid-column: span 2; }
.reason--wide { grid-column: span 4; }
.reason--tall { grid-column: span 3; }

.reason-fig {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-stretch: 110%; font-weight: 800;
  color: var(--laranja); line-height: .9;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}
.reason-fig sup { font-size: .38em; vertical-align: super; margin-left: .1em; letter-spacing: 0; }
.reason h3 { font-size: 1.1875rem; font-stretch: 100%; margin-bottom: 10px; }
.reason p { font-size: .9375rem; color: var(--ink-body); }
.reason-note {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute);
  width: 100%;
}
@media (max-width: 900px) {
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .reason, .reason--wide, .reason--tall { grid-column: span 1; }
}
@media (max-width: 560px) {
  .reasons { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------------------------
   12. CATÁLOGO
   -------------------------------------------------------------------------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 20px;
  margin-top: clamp(24px, 3.5vw, 44px);
}

.card {
  display: flex; flex-direction: column;
  background: var(--ground-card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .3s var(--out), transform .3s var(--out), box-shadow .3s var(--out);
}
.card:hover { border-color: var(--rule-accent); transform: translateY(-4px); box-shadow: var(--lift-2); }

.card-art {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--ground);
}
.card-art img { width: 100%; height: 100%; object-fit: contain; padding: 9%;
                transition: transform .5s var(--out); }
.card:hover .card-art img { transform: scale(1.05); }

.card-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 5px 11px; border-radius: var(--r-pill);
  background: rgba(8,7,6,.78);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: .625rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--laranja);
  box-shadow: inset 0 0 0 1px var(--rule-accent);
}

.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; gap: 12px; }
.card-vendor {
  font-family: var(--font-mono);
  font-size: .625rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute);
}
.card-name { font-size: 1.0625rem; font-stretch: 100%; }
.card-desc { font-size: .875rem; color: var(--ink-body); flex: 1; }

.card-foot {
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 14px; border-top: 1px solid var(--rule);
}
.card-price { display: flex; align-items: baseline; gap: 7px; }
.card-price small {
  font-family: var(--font-mono);
  font-size: .625rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute);
}
.card-price b {
  font-family: var(--font-display); font-size: 1.25rem; font-stretch: 102%;
  color: var(--ink); letter-spacing: -0.02em;
}
.card-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: center; }
.card-cta .btn {
  width: 100%; justify-content: center; padding: 8px 10px; font-size: .8125rem; white-space: nowrap;
}

.btn--details {
  background: var(--ground-high);
  color: var(--ink);
  border: 1px solid var(--rule);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--r-sm);
  transition: all .2s ease;
  text-decoration: none;
}
.btn--details:hover {
  background: var(--ground-card);
  border-color: var(--rule-accent);
  color: var(--laranja);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .card-body {
    padding: 12px 10px;
    gap: 8px;
  }
  .card-art {
    aspect-ratio: 1 / 1;
  }
  .card-art img {
    padding: 6%;
  }
  .card-vendor {
    font-size: .5625rem;
  }
  .card-name {
    font-size: .875rem;
    line-height: 1.25;
  }
  .card-desc {
    font-size: .75rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .card-foot {
    padding-top: 8px;
  }
  .card-cta {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .card-cta .btn {
    padding: 6px 4px;
    font-size: .75rem;
    height: 34px;
    gap: 4px;
  }
}

.cat-split { display: flex; align-items: baseline; gap: 16px; margin: 52px 0 22px; }
.cat-split h3 { font-size: 1.25rem; font-stretch: 102%; white-space: nowrap; }
.cat-split .rule { flex: 1; }

/* -----------------------------------------------------------------------------
   13. CALCULADORA
   -------------------------------------------------------------------------- */

.calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden;
  background: var(--ground-card);
}
.calc-in  { padding: clamp(26px, 3.4vw, 44px); display: grid; gap: 22px; align-content: start; }
.calc-out {
  padding: clamp(26px, 3.4vw, 44px);
  background: var(--panel);
  border-left: 1px solid var(--rule);
  display: grid; gap: 4px; align-content: start;
}

.field { display: grid; gap: 9px; }
.field label {
  font-family: var(--font-mono);
  font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute);
}
.input {
  width: 100%; padding: 14px 16px;
  background: var(--ground); color: var(--ink);
  border: 1px solid var(--rule); border-radius: var(--r-md);
  font-size: 1rem; font-variant-numeric: tabular-nums;
  transition: border-color .2s var(--out), box-shadow .2s var(--out);
  appearance: none;
}
.input:focus { border-color: var(--laranja); box-shadow: 0 0 0 3px rgba(254,143,0,.16); outline: none; }
select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237C736A' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
  padding-right: 42px;
}

.slider-row { display: flex; align-items: center; gap: 14px; }
.slider-row .input { flex: none; width: 116px; text-align: center; }
.range {
  flex: 1; appearance: none; height: 4px; background: var(--rule-strong); border-radius: 2px;
  touch-action: pan-x;
  -webkit-tap-highlight-color: transparent;
}
.range::-webkit-slider-thumb {
  appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--laranja); cursor: grab; border: 3px solid var(--ground-card);
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
  touch-action: pan-x;
  transition: transform .18s var(--out);
}
.range::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.18); }
.range::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--ground-card);
  background: var(--laranja); cursor: grab;
}

.calc-note { font-size: .8125rem; color: var(--ink-mute); line-height: 1.5; }

.out-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 15px 0; border-bottom: 1px solid var(--rule);
}
.out-row:last-of-type { border-bottom: 0; }
.out-row span { font-size: .875rem; color: var(--ink-body); }
.out-row b {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.625rem); font-stretch: 104%;
  color: var(--ink); letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  transition: color .2s var(--out);
}
.out-row--hero b { color: var(--laranja); }
.out-row b.is-bump { animation: bump .34s var(--out); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.075); } 100% { transform: scale(1); } }

.calc-out .btn { margin-top: 22px; }

@media (max-width: 820px) {
  .calc { grid-template-columns: 1fr; }
  .calc-out { border-left: 0; border-top: 1px solid var(--rule); }
}


/* -----------------------------------------------------------------------------
   14. IMAGENS REAIS APLICADAS (REVELAÇÃO POR SCROLL HORIZONTAL)
   -------------------------------------------------------------------------- */

.h-feat-sec {
  background: var(--ground);
  position: relative;
}

@media (min-width: 900px) {
  .h-feat-sec {
    min-height: 380vh;
    padding-block: 0;
  }
  .h-feat-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding-block: clamp(16px, 2.5vh, 32px);
  }
  .h-feat-sec .sec-hdr {
    margin-bottom: clamp(24px, 3.5vh, 40px);
  }
  .h-feat-sec .sec-hdr .eyebrow {
    margin-bottom: 18px;
  }
  .h-feat-sec .sec-hdr .sec-title {
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    font-stretch: 108%;
    margin-bottom: 18px;
  }
  .h-feat-sec .sec-hdr .sec-lede {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.55;
    color: var(--ink-body);
    max-width: 58ch;
  }
  .h-feat-viewport {
    width: 100%;
    overflow: hidden;
    padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
    padding-block: 8px 16px;
  }
  .h-feat-track {
    display: flex;
    gap: clamp(20px, 3vw, 40px);
    width: max-content;
    padding-right: clamp(40px, 5vw, 80px);
    will-change: transform;
    transition: transform 0.08s linear;
  }
}

@media (max-width: 899px) {
  .h-feat-sec {
    min-height: auto;
    padding-top: clamp(20px, 3.5vw, 36px);
    padding-bottom: clamp(48px, 8vw, 84px);
    overflow: hidden;
  }
  .h-feat-sticky {
    position: relative;
    height: auto;
  }
  .h-feat-viewport {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-inline: var(--gutter);
    padding-block: 20px 24px;
    scroll-snap-type: x mandatory;
  }
  .h-feat-viewport::-webkit-scrollbar { display: none; }
  .h-feat-track {
    display: flex;
    gap: 18px;
    width: max-content;
    padding-right: var(--gutter);
  }
  .h-feat-card {
    scroll-snap-align: center;
    width: clamp(300px, 86vw, 440px) !important;
    max-height: none !important;
    grid-template-columns: 1fr !important;
    border-radius: var(--r-lg) !important;
    overflow: hidden !important;
    padding: 0 !important;
  }
  .h-feat-media {
    aspect-ratio: 16 / 10 !important;
    min-height: 210px !important;
    height: auto !important;
    width: 100% !important;
    border-radius: 0 !important;
  }
  .h-feat-info {
    padding: 24px 24px 28px !important;
  }
}

.h-feat-card {
  width: clamp(480px, 58vw, 840px);
  max-height: min(440px, 58vh);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--ground-card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--lift-1);
  transition: transform .4s var(--out), box-shadow .4s var(--out), border-color .3s var(--out);
}
.h-feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lift-2);
  border-color: rgba(217, 118, 0, 0.35);
}
.h-feat-media {
  position: relative;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 0;
  overflow: hidden;
  background: var(--ground-high);
}
.h-feat-media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center;
  transition: transform .6s var(--out);
}
.h-feat-card:hover .h-feat-media img {
  transform: scale(1.05);
}
.h-feat-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(13, 11, 10, 0.82);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF; font-family: var(--font-mono); font-size: .6875rem;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--r-pill);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.h-feat-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 2.8vh, 32px) clamp(22px, 2.8vw, 36px);
  gap: clamp(8px, 1.4vh, 14px);
}
.h-feat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vh, 2.6rem);
  font-weight: 800;
  color: var(--laranja);
  opacity: 0.45;
  line-height: 1;
  margin-bottom: -4px;
}
.h-feat-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.h-feat-paras {
  display: flex; flex-direction: column; gap: 6px;
}
.h-feat-paras p {
  font-size: clamp(.9375rem, 1.1vw, 1rem);
  line-height: 1.55;
  color: var(--ink-body);
}
.h-feat-act {
  margin-top: clamp(6px, 1.2vh, 12px);
}

/* Notebooks e telas de altura reduzida (ex: 1366x768, 1440x900 com scaling do Windows) */
@media (min-width: 900px) and (max-height: 760px) {
  .h-feat-sticky {
    padding-block: 10px 14px;
  }
  .h-feat-sec .sec-hdr {
    margin-bottom: clamp(14px, 2vh, 22px);
  }
  .h-feat-sec .sec-hdr .eyebrow {
    margin-bottom: 12px;
  }
  .h-feat-sec .sec-hdr .sec-title {
    margin-bottom: 12px;
  }
  .h-feat-card {
    max-height: 52vh;
    width: clamp(460px, 52vw, 700px);
  }
  .h-feat-info {
    padding: 16px 22px;
    gap: 8px;
  }
  .h-feat-num {
    font-size: 1.6rem;
    margin-bottom: -4px;
  }
  .h-feat-act {
    margin-top: 4px;
  }
  .h-feat-act .btn {
    padding: 6px 14px;
  }
}

/* -----------------------------------------------------------------------------
   14b. BANNER HERO — TRANQUILIDADE & LONGEVIDADE
   -------------------------------------------------------------------------- */

.cta-telhado-sec {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
  margin-block: 0;
  padding: clamp(60px, 8vw, 100px) 0;
}
.cta-telhado-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.cta-telhado-img,
.cta-telhado-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  will-change: transform;
}
.cta-telhado-scrim {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(13, 11, 10, 0.42) 0%, rgba(13, 11, 10, 0.82) 75%, rgba(13, 11, 10, 0.95) 100%);
}
.cta-telhado-wrap {
  position: relative; z-index: 3;
  padding-block: clamp(50px, 8vw, 90px);
}
.cta-telhado-box {
  max-width: 54rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta-telhado-pill {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--laranja-lift);
  background: rgba(217, 118, 0, 0.2);
  border: 1px solid rgba(217, 118, 0, 0.45);
  padding: 6px 16px;
  border-radius: var(--r-pill);
}
.cta-telhado-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  text-wrap: balance;
}
.cta-telhado-lede {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 50ch;
  text-wrap: pretty;
}
.cta-telhado-act {
  margin-top: 10px;
}


.amb-sec { padding-block: clamp(60px, 8vw, 100px); background: var(--ground-raised); }
.amb-card {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 60px); align-items: center;
  background: var(--ground-card); border: 1px solid var(--rule); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: 0 10px 30px -10px rgba(20, 17, 15, 0.08);
}
.amb-photo-box { position: relative; height: 100%; min-height: 380px; overflow: hidden; background: #E88314; }
.amb-photo-box img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s var(--out); }
.amb-card:hover .amb-photo-box img { transform: scale(1.03); }
.amb-badge-overlay {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(13, 11, 10, 0.85); backdrop-filter: blur(12px); color: #FFFFFF;
  font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
  padding: 8px 14px; border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: 8px;
}
.amb-verified-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--zap); }
.amb-content { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.amb-quote {
  font-family: var(--font-text); font-size: clamp(1.0625rem, 1.8vw, 1.25rem); font-style: italic;
  color: var(--ink); line-height: 1.6; border-left: 3px solid var(--laranja); padding-left: 20px; margin: 4px 0;
}
.amb-author { display: flex; align-items: center; gap: 14px; }
.amb-name { display: block; font-family: var(--font-display); font-size: 1.125rem; color: var(--ink); }
.amb-handle { display: inline-flex; align-items: center; gap: 4px; font-size: .875rem; color: var(--laranja); text-decoration: none; font-weight: 600; }
.amb-handle:hover { text-decoration: underline; }
.amb-actions { margin-top: 8px; }
@media (max-width: 860px) {
  .amb-card { grid-template-columns: 1fr; }
  .amb-photo-box { min-height: 300px; }
}

/* -----------------------------------------------------------------------------
   15. EMBAIXADOR
   -------------------------------------------------------------------------- */

.amb {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch;
  border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden;
  background: var(--ground-card);
}
.amb-copy { padding: clamp(28px, 4vw, 56px); display: grid; align-content: center; gap: 22px; }
.amb-art { position: relative; min-height: 340px; overflow: hidden; background: var(--ground-high); }
.amb-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }

.quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-stretch: 102%; font-weight: 600;
  line-height: 1.28; letter-spacing: -0.02em;
  color: var(--ink);
  padding-left: 22px;
  border-left: 3px solid var(--laranja);
}
.amb-by { display: flex; align-items: center; gap: 13px; }
.amb-by-mark {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  background: var(--laranja); color: #14110F;
  font-family: var(--font-display); font-weight: 800; font-size: 1.0625rem;
}
.amb-by b { display: block; color: var(--ink); font-size: .9375rem; font-family: var(--font-text); }
.amb-by a { font-size: .8125rem; color: var(--ink-mute); transition: color .2s var(--out); }
.amb-by a:hover { color: var(--laranja); }

@media (max-width: 860px) {
  .amb { grid-template-columns: 1fr; }
  .amb-art { min-height: 300px; order: -1; }
}

/* -----------------------------------------------------------------------------
   16. LOJAS
   -------------------------------------------------------------------------- */

.stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }

.store {
  display: flex; flex-direction: column;
  background: var(--ground-card);
  border: 1px solid var(--rule); border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .3s var(--out), transform .3s var(--out);
}
.store:hover { border-color: var(--rule-accent); transform: translateY(-3px); }

.store-art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.store-art img { width: 100%; height: 100%; object-fit: cover; }
.store-art img[src*="loja-fachada"],
.store-art img[src*="loja-pilar"] { object-position: center 46%; }
.store-score {
  position: absolute; top: 12px; right: 12px;
  display: flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: var(--r-pill);
  background: rgba(8,7,6,.82);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(246,241,233,.16);
  font-size: .78125rem; font-weight: 700; color: #FFF;
  font-variant-numeric: tabular-nums;
}
.store-score .star { color: #FFC53D; }
.store-score em { font-style: normal; font-weight: 500; color: rgba(246,241,233,.6); font-size: .6875rem; }

.store-body { padding: 20px; display: grid; gap: 13px; flex: 1; align-content: start; }
.store-name { font-size: 1.125rem; font-stretch: 100%; }
.store-line { display: flex; align-items: flex-start; gap: 10px; font-size: .84375rem; color: var(--ink-body); }
.store-line svg { flex: none; margin-top: 2px; color: var(--ink-mute); }
.store-acts { display: grid; gap: 8px; padding: 0 20px 20px; }


.score-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(20px, 3vw, 32px); margin-bottom: 36px; border: 1px solid var(--rule);
  border-radius: var(--r-lg); background: var(--ground-card); box-shadow: 0 4px 20px rgba(20, 17, 15, 0.04);
}
.score-main { display: flex; align-items: center; gap: 18px; }
.score-num {
  font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 800;
  color: var(--ink); line-height: 1; letter-spacing: -0.04em;
}
.score-info { display: flex; flex-direction: column; gap: 6px; }
.score-stars-glow { display: inline-flex; gap: 4px; color: #FAB005; filter: drop-shadow(0 0 6px rgba(250, 176, 5, 0.35)); }
.score-sub { font-size: .875rem; color: var(--ink-mute); font-weight: 500; }
.score-filter-tabs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.score-tab {
  background: var(--ground-high); color: var(--ink-body); border: 1px solid transparent;
  padding: 8px 16px; border-radius: var(--r-pill); font-size: .8125rem; font-weight: 600;
  cursor: pointer; transition: all .25s var(--out);
}
.score-tab:hover { background: var(--ground-raised); color: var(--ink); border-color: var(--rule-strong); }
.score-tab.is-active {
  background: var(--laranja); color: #FFFFFF; border-color: var(--laranja);
  box-shadow: 0 2px 10px rgba(217, 118, 0, 0.28);
}
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.review-card {
  display: flex; flex-direction: column; justify-content: space-between; padding: 26px;
  background: var(--ground-card); border: 1px solid var(--rule); border-radius: var(--r-lg);
  box-shadow: 0 2px 12px rgba(20, 17, 15, 0.04);
  transition: transform .3s var(--out), box-shadow .3s var(--out), border-color .3s var(--out);
  position: relative; overflow: hidden;
}
.review-card::before {
  content: "“"; position: absolute; right: 18px; bottom: -10px; font-family: var(--font-display);
  font-size: 6.5rem; line-height: 1; color: var(--ink); opacity: 0.04; pointer-events: none;
}
.review-card:hover {
  transform: translateY(-4px); box-shadow: 0 16px 32px -8px rgba(20, 17, 15, 0.1);
  border-color: rgba(217, 118, 0, 0.3);
}
.review-card.is-hidden { display: none !important; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--laranja-lift), var(--laranja));
  color: #FFFFFF; display: grid; place-items: center; font-family: var(--font-display);
  font-weight: 800; font-size: 1.1rem; flex: none; box-shadow: 0 2px 8px rgba(217, 118, 0, 0.25);
}
.review-meta { flex: 1; min-width: 0; }
.review-name { display: block; font-family: var(--font-text); font-size: .9375rem; color: var(--ink); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-store { display: block; font-size: .78125rem; color: var(--ink-mute); }
.review-quote { font-size: .9375rem; color: var(--ink-body); line-height: 1.6; margin: 0 0 20px 0; flex: 1; font-style: normal; }
.review-footer { padding-top: 14px; border-top: 1px solid var(--rule); }
.review-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ok); font-weight: 600; }
.review-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

/* -----------------------------------------------------------------------------
   17. TECNOLOGIA DE PROTEÇÃO CONTRA SOL E UV (SHADER ANIMATION)
   -------------------------------------------------------------------------- */

/* -----------------------------------------------------------------------------
   17. TECNOLOGIA DE PROTEÇÃO CONTRA SOL E UV (HERO SHADER ANIMATION)
   -------------------------------------------------------------------------- */

.uv-shader-sec {
  position: relative;
  min-height: clamp(520px, 72vh, 680px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: clamp(64px, 9vw, 110px);
  background: #090706;
  color: #FFFFFF;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.uv-shader-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.2;
  transform: scale(0.96);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.uv-shader-sec.is-shader-active .uv-shader-bg {
  opacity: 1;
  transform: scale(1);
}
#uv-shader-canvas {
  width: 100%; height: 100%;
  display: block;
}
.uv-shader-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(9, 7, 6, 0.25) 0%, rgba(9, 7, 6, 0.78) 70%, #090706 100%);
}
.uv-shader-wrap {
  position: relative; z-index: 5;
}
.uv-hero-box {
  max-width: 54rem;
  margin-inline: auto;
  padding-inline: clamp(12px, 3vw, 24px);
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.uv-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: var(--r-pill);
  background: rgba(217, 118, 0, 0.22);
  border: 1px solid rgba(217, 118, 0, 0.45);
  color: var(--laranja-lift);
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 18px;
}
.uv-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 16px;
  text-wrap: balance;
}
.uv-lede {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  color: rgba(246, 241, 233, 0.9);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: 32px;
  text-wrap: pretty;
}
.uv-lede b { color: var(--laranja-lift); }
.uv-pills-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.5vw, 24px);
  flex-wrap: wrap;
  margin-bottom: 36px;
  width: 100%;
}
.uv-pill-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 24px;
  border-radius: var(--r-pill);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform .3s var(--out), border-color .3s var(--out), background-color .3s var(--out);
}
.uv-pill-item:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 118, 0, 0.5);
  background: rgba(217, 118, 0, 0.12);
}
.uv-pill-stat {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--laranja-lift);
  line-height: 1;
}
.uv-pill-txt {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 2px;
}
.uv-pill-txt b {
  font-size: .9375rem;
  color: #FFFFFF;
  line-height: 1.15;
}
.uv-pill-txt span {
  font-size: .6875rem;
  color: rgba(246, 241, 233, 0.7);
  font-family: var(--font-mono);
  letter-spacing: .02em;
}
.uv-acts {
  display: flex;
  justify-content: center;
  width: 100%;
}
.uv-acts .btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}
@media (max-width: 640px) {
  .uv-shader-sec {
    padding-block: clamp(48px, 9vw, 80px);
  }
  .uv-title {
    font-size: clamp(1.6rem, 5.8vw, 2.3rem);
    padding-inline: 8px;
  }
  .uv-lede {
    font-size: 0.95rem;
    padding-inline: 8px;
    margin-bottom: 26px;
  }
  .uv-pills-row {
    gap: 12px;
    margin-bottom: 28px;
    padding-inline: 6px;
  }
  .uv-pill-item {
    width: 100%;
    max-width: 320px;
    padding: 12px 18px;
    justify-content: center;
  }
  .uv-acts {
    padding-inline: 16px;
  }
  .uv-acts .btn {
    width: auto;
    max-width: 100%;
    font-size: 0.875rem;
    padding: 14px 20px;
  }
}

/* -----------------------------------------------------------------------------
   18. EXPANSÃO NACIONAL — FRANQUIA HERO
   -------------------------------------------------------------------------- */

.franchise-sec {
  padding-block: clamp(50px, 7vw, 90px);
  background: var(--ground-raised);
}
.franchise-hero {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  background: var(--ground-card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--lift-1);
}
.franchise-media {
  position: relative;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
  background: var(--ground-high);
}
.franchise-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--out);
}
.franchise-hero:hover .franchise-media img {
  transform: scale(1.04);
}
.franchise-chip {
  position: absolute; top: 18px; left: 18px;
  background: rgba(13, 11, 10, 0.85);
  backdrop-filter: blur(12px);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
  padding: 8px 14px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 8px;
}
.franchise-content {
  padding: clamp(26px, 4vw, 44px);
  display: flex; flex-direction: column; gap: 16px;
}
.franchise-title {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800; line-height: 1.15;
  color: var(--ink);
}
.franchise-lede {
  font-size: 1rem; line-height: 1.58;
  color: var(--ink-body);
}
.franchise-stats {
  display: flex; gap: clamp(16px, 3vw, 32px); flex-wrap: wrap;
  padding-block: 14px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.franchise-stat b {
  display: block; font-family: var(--font-display); font-size: 1.35rem;
  color: var(--laranja); font-weight: 800;
}
.franchise-stat span {
  font-size: .75rem; color: var(--ink-mute);
}
.franchise-actions { margin-top: 6px; }
@media (max-width: 860px) {
  .franchise-hero { grid-template-columns: 1fr; }
  .franchise-media { min-height: 260px; }
}

/* -----------------------------------------------------------------------------
   18b. AVALIAÇÕES GOOGLE — TRUST BADGE & DOUBLE ROW MARQUEE
   -------------------------------------------------------------------------- */

.reviews-sec {
  padding-block: clamp(50px, 7vw, 90px);
  background: var(--ground);
  overflow: hidden;
}

/* Trust badge inspirado em testimonial.tsx */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 10px 24px 10px 14px;
  background: #FFFFFF;
  border: 1px solid rgba(20, 17, 15, 0.12);
  border-radius: var(--r-pill);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
}
.avatar-face {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  object-fit: cover;
  margin-left: -10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  transition: transform .25s var(--out);
}
.avatar-face:first-child { margin-left: 0; }
.avatar-face:hover { transform: translateY(-3px) scale(1.14); z-index: 5; }
.avatar-stack {
  display: flex;
  align-items: center;
  margin-right: 2px;
}
.avatar-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: .8125rem; font-weight: 800; color: #FFFFFF;
  margin-left: -10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  transition: transform .25s var(--out);
}
.avatar-dot:first-child { margin-left: 0; }
.avatar-dot:hover { transform: translateY(-3px) scale(1.1); z-index: 10; }
.avatar-dot--1 { background: #D97600; }
.avatar-dot--2 { background: #128C7E; }
.avatar-dot--3 { background: #A03D22; }
.avatar-dot--4 { background: #5F6062; }

.trust-info {
  display: flex; flex-direction: column; gap: 3px; text-align: left;
}
.trust-stars-row {
  display: flex; align-items: center; gap: 8px;
}
.trust-score {
  font-weight: 800; font-size: 1rem; color: var(--ink);
}
.trust-meta {
  font-size: .84375rem; color: var(--ink); opacity: 0.88; margin: 0; font-weight: 500;
}
.trust-score {
  font-weight: 800; font-size: 1.0625rem; color: var(--ink);
}

/* Marquee infinito em 2 linhas inspirado em marquee-01.tsx */
.marquee-reviews-wrap {
  position: relative;
  width: 100%;
  display: flex; flex-direction: column; gap: 18px;
  overflow: hidden;
  margin-top: 36px;
  padding-block: 8px 16px;
}
.marquee-lane {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
}
.marquee-lane:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  will-change: transform;
}
.marquee-track--left {
  animation: marchLeft 42s linear infinite;
}
.marquee-track--right {
  animation: marchRight 42s linear infinite;
}
@keyframes marchLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marchRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.rev-card {
  width: clamp(280px, 30vw, 360px);
  flex: none;
  background: var(--ground-card);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 20px;
  box-shadow: var(--lift-1);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .3s var(--out), box-shadow .3s var(--out), border-color .3s var(--out);
}
.rev-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lift-2);
  border-color: rgba(217, 118, 0, 0.3);
}
.rev-top {
  display: flex; align-items: center; gap: 12px;
}
.rev-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ground-high); color: var(--laranja);
  font-family: var(--font-display); font-weight: 800; font-size: .9375rem;
  flex: none;
}
.rev-user {
  display: flex; flex-direction: column; gap: 2px;
}
.rev-user b {
  font-size: .875rem; color: var(--ink); line-height: 1.2;
}
.rev-user span {
  font-size: .75rem; color: var(--ink-mute);
}
.rev-badge {
  margin-left: auto; font-family: var(--font-mono); font-size: .625rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ok);
  display: inline-flex; align-items: center; gap: 4px; font-weight: 700;
}
.rev-stars {
  color: #FACC15; display: flex; gap: 3px;
}
.rev-stars svg { fill: #FACC15; stroke: #FACC15; }
.rev-body {
  font-size: .875rem; line-height: 1.55; color: var(--ink-body);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden;
}

.marquee-fade {
  position: absolute; top: 0; bottom: 0;
  width: clamp(40px, 12vw, 160px);
  pointer-events: none; z-index: 5;
}
.marquee-fade--left {
  left: 0;
  background: linear-gradient(to right, var(--ground), transparent);
}
.marquee-fade--right {
  right: 0;
  background: linear-gradient(to left, var(--ground), transparent);
}

/* -----------------------------------------------------------------------------
   19. FAQ
   -------------------------------------------------------------------------- */

.faq { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.1875rem); font-stretch: 100%; font-weight: 600;
  color: var(--ink);
  transition: color .2s var(--out);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q svg {
  flex: none; color: var(--ink-mute);
  transition: transform .32s var(--out), color .2s var(--out);
}
.faq-item[open] .faq-q svg {
  transform: rotate(45deg); color: var(--laranja);
}
.faq-q:hover { color: var(--laranja); }
.faq-q svg { flex: none; color: var(--ink-mute); transition: transform .32s var(--out), color .2s var(--out); }
.faq-item[open] .faq-q svg { transform: rotate(45deg); color: var(--laranja); }
.faq-a { padding: 0 4px 24px; max-width: 76ch; color: var(--ink-body); font-size: .9375rem; }
.faq-item[open] .faq-a { animation: faqIn .38s var(--out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* -----------------------------------------------------------------------------
   21. RODAPÉ
   -------------------------------------------------------------------------- */

.foot { background: var(--ground-raised); border-top: 1px solid var(--rule); padding-block: clamp(48px, 7vw, 84px) 30px; }
.foot-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: clamp(26px, 4vw, 52px);
  padding-bottom: 40px;
}
.foot-brand img { height: 32px; margin-bottom: 18px; }
.foot-brand p { font-size: .875rem; color: var(--ink-body); margin-bottom: 18px; max-width: 38ch; }
.foot-legal { font-size: .75rem; color: var(--ink-mute); line-height: 1.65; }
.foot-legal b { color: var(--ink-body); font-weight: 600; }

.foot-col h3 {
  font-family: var(--font-mono); font-size: .6875rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: 16px;
}
.foot-links { list-style: none; padding: 0; display: grid; gap: 10px; }
.foot-links a {
  font-size: .875rem; color: var(--ink-body);
  display: inline-flex; align-items: center; gap: 7px;
  transition: color .2s var(--out), gap .2s var(--out);
}
.foot-links a:hover { color: var(--laranja); gap: 11px; }

.foot-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid var(--rule);
  font-size: .78125rem; color: var(--ink-mute);
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* -----------------------------------------------------------------------------
   21b. FAIXA DE ASSINATURA
   -----------------------------------------------------------------------------
   Faixa da agência, fora do rodapé do cliente e depois dele. Escura de
   propósito: fecha a página no mesmo tom do palco do hero, e a separação de
   cor deixa claro que a assinatura não é da AgiliHome.
   -------------------------------------------------------------------------- */

.sign {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: clamp(48px, 6vw, 76px) var(--gutter);
  background: #F3EFE8;
  border-top: 1px solid var(--rule);
  text-align: center;
  position: relative;
}
.sign-top {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sign-logo {
  height: clamp(22px, 2.8vw, 30px);
  width: auto;
  filter: brightness(0);
  opacity: 0.85;
  transition: transform .3s var(--out), opacity .3s var(--out);
}
.sign-top a:hover .sign-logo {
  transform: scale(1.05);
  opacity: 1;
}
.sign-divider {
  width: min(220px, 50vw);
  height: 1px;
  background: var(--rule);
}
.sign-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: clamp(.65rem, 2.6vw, .8125rem);
  letter-spacing: .03em;
  color: var(--ink-mute);
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
  padding-inline: 8px;
  transition: color .2s var(--out);
}
.sign-link b,
.sign-link strong {
  color: var(--ink);
  font-weight: 700;
}
.sign-link:hover {
  color: var(--ink);
}
.sign-heart {
  color: #E03131;
  animation: heartBeat 2.2s var(--out) infinite;
  flex: none;
  width: clamp(11px, 2.4vw, 14px);
  height: clamp(11px, 2.4vw, 14px);
  margin-inline: 1px;
}
@keyframes heartBeat {
  0%, 72%, 100% { transform: scale(1); }
  78%           { transform: scale(1.24); }
  84%           { transform: scale(1); }
  90%           { transform: scale(1.14); }
}

/* -----------------------------------------------------------------------------
   22. WHATSAPP FLUTUANTE
   -------------------------------------------------------------------------- */

.zap-float {
  position: fixed; z-index: 70;
  right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px 14px 16px;
  background: var(--zap); color: #FFFFFF !important;
  border-radius: var(--r-pill);
  font-weight: 700; font-size: .875rem;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,.5), 0 2px 8px rgba(0,0,0,.3);
  transform: translateY(120%);
  transition: transform .5s var(--out), box-shadow .3s var(--out);
}
.zap-float.is-up { transform: none; }
.zap-float:hover { box-shadow: 0 16px 42px -10px rgba(37,211,102,.65), 0 2px 8px rgba(0,0,0,.3); }
.zap-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37,211,102,.55);
  animation: beacon 2.6s var(--calm) infinite;
}
@keyframes beacon {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 560px) { .zap-float .zap-label { display: none; } .zap-float { padding: 15px; } }

/* -----------------------------------------------------------------------------
   23. PÁGINAS INTERNAS
   -------------------------------------------------------------------------- */

.crumbs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .78125rem; color: var(--ink-mute); padding-block: 22px;
}
.crumbs a { transition: color .2s var(--out); }
.crumbs a:hover { color: var(--laranja); }
.crumbs span[aria-current] { color: var(--ink-body); }

.prod-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.prod-art {
  aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden;
  background: var(--ground-card); border: 1px solid var(--rule);
  display: grid; place-items: center;
}
.prod-art img { width: 100%; height: 100%; object-fit: contain; padding: 9%; }
.prod-title { font-size: clamp(2rem, 4.4vw, 3.1rem); font-stretch: 106%; margin-bottom: 16px; }
.prod-lede { color: var(--ink-body); font-size: 1.0625rem; margin-bottom: 26px; }
.prod-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 24px; }
.prod-price b { font-family: var(--font-display); font-size: 2rem; font-stretch: 104%; color: var(--laranja); letter-spacing: -0.03em; }
.prod-price small { font-size: .8125rem; color: var(--ink-mute); }
@media (max-width: 860px) { .prod-head { grid-template-columns: 1fr; } }

.spec-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.spec-table th { color: var(--ink-mute); font-weight: 500; width: 42%; font-size: .875rem; }
.spec-table td { color: var(--ink); font-variant-numeric: tabular-nums; }

/* Página de status (obrigado / 404) */
.status-page { min-height: 62svh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.status-card { max-width: 34rem; display: grid; gap: 18px; justify-items: center; }
.status-mark {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(37,211,102,.12); color: var(--zap);
  box-shadow: inset 0 0 0 1px rgba(37,211,102,.3);
}
.status-mark--warn { background: rgba(254,143,0,.12); color: var(--laranja); box-shadow: inset 0 0 0 1px var(--rule-accent); }
.status-card h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-stretch: 105%; }
.status-card p { color: var(--ink-body); }
.status-acts { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* -----------------------------------------------------------------------------
   24. IMPRESSÃO
   -------------------------------------------------------------------------- */

@media print {
  .topbar, .hdr, .zap-float, .prog, .dial, .scroll-hint, .marquee { display: none !important; }
  .act, .act--close { height: auto; }
  .act-stage { position: static; height: auto; }
  body { background: #fff; color: #000; }
  * { animation: none !important; transform: none !important; }
}

.zap-float svg { fill: #FFFFFF !important; color: #FFFFFF !important; }
.zap-float:hover { background: #2FE374; color: #FFFFFF !important; }

/* -----------------------------------------------------------------------------
   ACTION DOCK & TRANSIÇÃO HERO (Segunda Seção — Efeito Cortina)
   -------------------------------------------------------------------------- */
.action-dock-sec {
  position: relative;
  z-index: 20;
  margin-top: -110vh;
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(14px, 2vw, 24px);
  background: var(--ground);
  border-top: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -24px 60px -12px rgba(10, 12, 16, 0.35), 0 -4px 18px rgba(10, 12, 16, 0.14);
  clip-path: inset(-80px 0px 0px 0px);
}

.action-dock-hdr {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(16px, 2.2vw, 24px);
  gap: 8px;
}

.action-dock-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  margin-bottom: 4px;
}

.scroll-ind-vertical {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--laranja);
}

.scroll-mouse-icon {
  animation: scrollMouse 2.2s ease-in-out infinite;
}

.scroll-mouse-wheel {
  animation: scrollWheel 2.2s ease-in-out infinite;
}

.scroll-arrow-down {
  animation: arrowGlideDown 2.2s ease-in-out infinite;
}

@keyframes scrollMouse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(2px); }
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(4px); opacity: 0.8; }
  100% { transform: translateY(0); opacity: 0.2; }
}

@keyframes arrowGlideDown {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(3px); opacity: 1; }
}

.action-dock-sub {
  color: var(--ink-mute);
  font-family: var(--font-mono);
  font-size: .71875rem;
  letter-spacing: .08em;
  font-weight: 600;
  text-transform: uppercase;
}

.action-dock-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--ink-mute);
  margin: 0;
  text-transform: none;
}

.action-dock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.action-dock .btn {
  border-radius: var(--r-pill);
  height: 48px;
  display: inline-flex;
  align-items: center;
  padding-inline: 22px;
  border: none;
  box-shadow: var(--lift-1);
  transition: transform .25s var(--out), box-shadow .25s var(--out);
}

.action-dock .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--lift-2);
}

.btn--calc {
  background: #FFFFFF !important;
  color: #1A1917 !important;
  border: 1px solid #1A1917 !important;
  box-shadow: 0 2px 8px rgba(20, 17, 15, 0.06);
}

.btn--calc:hover {
  background: #F6F6F5 !important;
  border-color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 17, 15, 0.12);
}

.btn--franchise {
  --btn-bg: #1A1917;
  --btn-fg: #FFFFFF;
  --btn-ring: rgba(26, 25, 23, 0.25);
  background: var(--btn-bg);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: .875rem;
  gap: 8px;
  transition: all .25s var(--out);
}

.btn--franchise:hover {
  background: #2C2A26;
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

.btn--franchise svg {
  fill: currentColor;
}

.franchise-pill-tag {
  font-size: .625rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: var(--laranja);
  color: #FFFFFF;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  font-weight: 700;
  margin-left: 2px;
}

@media (max-width: 680px) {
  .action-dock-sec {
    margin-top: -110vh;
    padding-block: 54px 62px;
    border-radius: 20px 20px 0 0;
  }
  .action-dock-title {
    font-size: 1.05rem;
  }
  .action-dock {
    flex-direction: column;
    width: 100%;
    padding: 0;
    gap: 12px;
  }
  .action-dock .btn {
    width: 100%;
    justify-content: center;
  }
}

/* -----------------------------------------------------------------------------
   VITRINE COMPARATIVO FIXA EM DESTAQUE CENTRAL (3 Colunas / Bento Showcase)
   Imagem comparativo 100% visível no centro sem corte e sem rotação/animação
   -------------------------------------------------------------------------- */
.comp-sec {
  background: #FFFFFF;
  padding-block: clamp(64px, 8vw, 108px);
  position: relative;
  margin-top: -2px;
  z-index: 21;
}

/* Layout estável: sem content-visibility que provocava saltos repentinos de rolagem */
.comp-sec,
.why-sec,
.uv-sec,
.franchise-sec,
.calc-sec,
.rev-sec,
.lojas-sec,
.faq-sec {
  content-visibility: visible;
}

.comp-container {
  width: 100%;
  margin-top: clamp(28px, 4vw, 48px);
}

.comp-showcase {
  display: grid;
  grid-template-columns: 1fr 1.38fr 1fr;
  gap: clamp(16px, 2.2vw, 28px);
  align-items: stretch;
}

/* Colunas laterais: 2 cards empilhados verticalmente */
.comp-col-side {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.2vw, 24px);
}

.comp-card-side {
  flex: 1;
  background: var(--ground-card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 24px -6px rgba(10, 12, 16, 0.08);
  transition: transform .32s var(--out), box-shadow .32s var(--out), border-color .32s var(--out);
}

.comp-card-side:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(10, 12, 16, 0.16);
  border-color: rgba(217, 118, 0, 0.35);
}

.comp-side-media {
  width: 100%;
  height: clamp(140px, 14vw, 185px);
  position: relative;
  overflow: hidden;
  background: var(--stage);
}

.comp-side-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s var(--out);
}

.comp-card-side:hover .comp-side-media img {
  transform: scale(1.05);
}

.comp-side-body {
  padding: clamp(14px, 1.8vw, 18px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #FFFFFF;
}

.comp-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--laranja);
  background: rgba(217, 118, 0, 0.1);
  border: 1px solid rgba(217, 118, 0, 0.25);
  padding: 3px 8px;
  border-radius: var(--r-pill);
}

.comp-side-title {
  font-family: var(--font-display);
  font-size: clamp(.9375rem, 1.15vw, 1.0625rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}

/* Card Central de Destaque / Hero — mesmo formato dos blocos ao redor */
.comp-card-hero {
  flex: 1;
  background: var(--ground-card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 24px -6px rgba(10, 12, 16, 0.08);
  position: relative;
  transition: transform .32s var(--out), box-shadow .32s var(--out), border-color .32s var(--out);
}

.comp-card-hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(10, 12, 16, 0.16);
  border-color: rgba(217, 118, 0, 0.35);
}

/* Imagem encostando nas bordas com proporção total 1:1 */
.comp-hero-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--stage);
  padding: 0;
  display: block;
}

.comp-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform .45s var(--out);
}

.comp-card-hero:hover .comp-hero-media img {
  transform: scale(1.03);
}

.comp-hero-body {
  padding: clamp(14px, 1.8vw, 18px);
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.comp-hero-title {
  font-family: var(--font-display);
  font-size: clamp(.9375rem, 1.2vw, 1.125rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}

/* Responsividade */
@media (max-width: 980px) {
  .comp-showcase {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .comp-card-hero {
    order: -1;
  }
  .comp-col-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .comp-col-side {
    grid-template-columns: 1fr;
  }
  .comp-side-media {
    height: 180px;
  }
}

.reviews-trust-footer {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* -----------------------------------------------------------------------------
   SCROLL EXPAND MEDIA — O TELHADO É A ÚLTIMA COISA QUE VOCÊ QUER REFAZER
   Componente de expansão de vídeo em drone sincronizado ao scroll
   -------------------------------------------------------------------------- */
.scroll-expand-sec {
  position: relative;
  min-height: 220vh;
  background: var(--ground);
  contain: paint;
}

.expand-sticky-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.expand-bg-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.expand-bg-backdrop picture,
.expand-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  filter: contrast(1.02);
}

.expand-bg-scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 20, 0.05);
  pointer-events: none;
  z-index: 1;
}

.expand-media-box {
  position: relative;
  z-index: 2;
  width: var(--expand-w, clamp(340px, 48vw, 640px));
  height: var(--expand-h, clamp(280px, 34vw, 420px));
  max-width: 96vw;
  max-height: 88vh;
  border-radius: var(--expand-r, 24px);
  overflow: hidden;
  box-shadow: 0 24px 70px -10px rgba(0, 0, 0, 0.55), 0 8px 24px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
  will-change: width, height, border-radius;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s ease;
}

.expand-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.expand-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.28) 0%, rgba(10, 12, 16, 0.6) 100%);
  z-index: 1;
  pointer-events: none;
}

.expand-content {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  padding: clamp(24px, 4vw, 48px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 28px);
  pointer-events: none;
}

.expand-content a,
.expand-content button {
  pointer-events: auto;
}

.expand-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  color: #FFFFFF;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95), 0 6px 22px rgba(0, 0, 0, 0.85), 0 12px 35px rgba(0, 0, 0, 0.7);
  margin: 0;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.expand-title .expand-line {
  display: block;
  white-space: nowrap;
}

.expand-cta {
  display: inline-flex;
  transform: translateY(var(--cta-y, 0));
  opacity: var(--cta-op, 1);
  transition: transform 0.3s var(--out), opacity 0.3s ease;
}

.expand-cta .btn {
  box-shadow: 0 12px 32px -4px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.3);
}

@media (max-width: 680px) {
  .scroll-expand-sec {
    min-height: 180vh;
  }
  .expand-media-box {
    width: var(--expand-w, 90vw);
    height: var(--expand-h, 320px);
    max-height: 82vh;
  }
  .expand-title {
    font-size: clamp(1.18rem, 5.2vw, 1.7rem);
    line-height: 1.22;
  }
  .expand-content {
    padding: 20px 16px;
    gap: 16px;
  }
}


/* --- Upgraded Calculator Styles --- */

/* Segmented toggle for 1 Água / 2 Águas */
.calc-format-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: var(--ground);
  padding: 6px;
  border-radius: var(--r-md);
  border: 1px solid var(--rule);
}
.format-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  min-height: 54px;
  border-radius: calc(var(--r-md) - 3px);
  background: transparent;
  color: var(--ink-mute);
  font-family: var(--font-text);
  font-size: .875rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  transition: all .2s var(--out);
}
.format-btn * {
  pointer-events: none;
}
.format-btn svg {
  opacity: .75;
  flex: none;
  transition: transform .2s var(--out), opacity .2s var(--out);
}
.format-btn:hover {
  color: var(--ink);
  background: rgba(20, 17, 15, .03);
}
.format-btn.is-active {
  background: var(--laranja);
  color: #fff;
  border-color: var(--laranja);
  box-shadow: 0 4px 14px rgba(217, 118, 0, .32);
}
.format-btn.is-active svg {
  opacity: 1;
  transform: scale(1.08);
}
.format-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
  text-align: left;
}
.format-btn-text strong {
  font-size: .9375rem;
  font-weight: 700;
}
.format-btn-text small {
  font-size: .71875rem;
  font-weight: 500;
  opacity: .85;
}

@media (max-width: 480px) {
  .calc-dims-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .calc-format-toggle {
    gap: 6px;
    padding: 4px;
  }
  .format-btn {
    padding: 10px 8px;
    gap: 8px;
    min-height: 52px;
  }
  .format-btn-text strong {
    font-size: .875rem;
  }
  .format-btn-text small {
    font-size: .6875rem;
  }
}

.calc-dims-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.calc-inclinacao-row {
  display: grid;
  gap: 10px;
  background: rgba(255,255,255,.02);
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--rule);
}
.calc-inclinacao-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.calc-area-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8125rem;
  color: var(--ink-mute);
  padding-top: 6px;
  border-top: 1px dashed var(--rule);
}
.calc-area-badge strong {
  color: var(--laranja);
  font-family: var(--font-mono);
  font-size: .9375rem;
}
.out-row--badge {
  background: rgba(242,142,21,.08);
  border-radius: var(--r-sm);
  padding: 10px 14px;
}
.out-row--badge b { color: var(--laranja); }

/* Card "Rede Agilihome": texto + mapa de Alagoas com as 4 lojas pulsando. */
.bento-card--map { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.loja-map { width: 100%; height: auto; overflow: visible; }
.loja-map .uf { fill: rgba(217, 118, 0, 0.06); stroke: var(--laranja); stroke-width: 1.5; stroke-linejoin: round; }
.loja-map .pin { fill: var(--laranja); stroke: #FFFFFF; stroke-width: 1.5; }
.loja-map .pulse { fill: none; stroke: var(--laranja); stroke-width: 1.5; opacity: 0;
                   transform-box: fill-box; transform-origin: center; }
.loja-map .rotulo { font: 600 9px var(--font-mono); fill: var(--ink-mute); letter-spacing: .1em; text-transform: uppercase; }
@media (prefers-reduced-motion: no-preference) {
  .bento-card--map .uf { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .bento-card--map.is-in .uf { animation: ufDraw 2.2s var(--out) .3s forwards; }
  .bento-card--map.is-in .pulse { animation: pinPulse 2.4s ease-out 1.2s infinite; }
}
@keyframes ufDraw { to { stroke-dashoffset: 0; } }
@keyframes pinPulse { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(3.5); } }
@media (max-width: 860px) { .bento-card--map { grid-template-columns: 1fr; } }

/* Toque confortável no celular: botões e menu com no mínimo 44px de altura. */
@media (max-width: 860px) { .btn, .burger { min-height: 44px; } .burger { min-width: 44px; } }
