/* =============================================================================
   Palm · main.css
   Folha de estilo única do site.

   Linguagem visual: blocos de largura total, muito espaço em branco, tipografia
   forte e botões em pílula (medidas do briefing, seção 2.1), com a assinatura da
   Palm: o brilho infravermelho das veias.

   Convenções
   - Nomes de classe no padrão bloco / bloco-elemento / bloco--variação
     (ex.: .tile, .tile-title, .tile--dark).
   - Estados usam o prefixo "is-" e são ligados pelo JavaScript
     (ex.: .is-open, .is-in, .is-drawn, .is-active).
   - Cores, fontes e medidas repetidas vivem nas variáveis de :root.
   - Pontos de quebra: 1068px (notebook), 833px (tablet) e 734px (celular),
     todos na seção 12.

   Índice
    1. Variáveis
    2. Base
    3. Componentes comuns (pendências, botões, selos)
    4. Navegação global, mega-menu, menu mobile e busca
    5. Home: faixa de aviso e blocos de largura total
    6. Motivo das veias e animação de leitura
    7. Home: grade de tiles
    8. Home: carrossel "Palm em operação"
    9. Páginas de produto (navegação local, hero, seções)
   10. Páginas específicas (Sensores, Produtos, Care, Empresa, Segurança,
       Suporte, Contato, legais, 404)
   11. Rodapé e aviso de cookies
   12. Responsivo
   13. Movimento reduzido
   ============================================================================= */


/* =============================================================================
   1. Variáveis
   ============================================================================= */

:root {
  /* Superfícies */
  --bg: #ffffff;
  --bg-alt: #f5f5f7;                       /* "Névoa": blocos claros e rodapé */
  --bg-dark: #000000;

  /* Texto */
  --text: #1d1d1f;                         /* "Grafite" */
  --text-muted: #6e6e73;                   /* secundário sobre fundo claro */
  --text-muted-dark: #86868b;              /* secundário sobre fundo preto */

  /* Ação (botões e links) */
  --link: #0071e3;
  --link-hover: #0077ed;
  --link-dark: #2997ff;                    /* links sobre fundo preto */

  /* Cor-assinatura: só em veias, halos de luz e selos. Nunca em botões. */
  --palm-ir: #00d4a0;                      /* Verde Palm oficial (decisão de 23/09/2026) */
  --palm-ir-glow: rgba(0, 212, 160, .35);
  --palm-ir-dark: #008f6b;                 /* Verde Palm escuro: texto sobre branco (contraste AA) */
  --palm-clinic: #00a37b;                  /* verde da linha Palm Care sobre branco */

  --line: #d2d2d7;
  --nav-bg: rgba(250, 250, 252, .8);
  --gutter: 12px;                          /* margem branca entre blocos e tiles */
  --ease: cubic-bezier(.28, .11, .32, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;

  color-scheme: light;
}


/* =============================================================================
   2. Base
   ============================================================================= */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -.022em;
  font-weight: 400;
  font-feature-settings: "ss01", "cv11";   /* desenho mais geométrico da Inter */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }                       /* mantém a proporção com width/height no HTML */

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10000; background: var(--text); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.container { width: min(980px, 100% - 44px); margin-inline: auto; }
.container--narrow { width: min(692px, 100% - 44px); }

/* Revelar ao rolar: o JavaScript adiciona .js no <html> e .is-in em cada elemento. */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }


/* =============================================================================
   3. Componentes comuns
   ============================================================================= */

/* Botões em pílula. Primário azul; secundário com contorno (azul claro sobre fundo escuro). */
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 23px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 28px;
  font-size: 17px; line-height: 1.17648; font-weight: 400; letter-spacing: -.022em;
  padding: 11px 21px; border-radius: 980px; border: 1px solid transparent;
  text-align: center; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--link); color: #fff; }
.btn--primary:hover { background: var(--link-hover); }
.btn--secondary { border-color: var(--link); color: var(--link); background: transparent; }
.btn--secondary:hover { background: var(--link); color: #fff; }
.btn--sm { font-size: 14px; padding: 8px 16px; }
.btn--xs { font-size: 12px; padding: 4px 11px; line-height: 1.33; }
.btn--lg { font-size: 17px; padding: 14px 28px; min-width: 200px; }

.hero--dark .btn--secondary, .tile--dark .btn--secondary, .section--dark .btn--secondary,
.phero--dark .btn--secondary, .phero--purple .btn--secondary, .cta-band .btn--secondary {
  border-color: var(--link-dark); color: var(--link-dark);
}
.hero--dark .btn--secondary:hover, .tile--dark .btn--secondary:hover, .section--dark .btn--secondary:hover,
.phero--dark .btn--secondary:hover, .phero--purple .btn--secondary:hover, .cta-band .btn--secondary:hover {
  background: var(--link-dark); color: #000;
}

/* Link com seta: "Saiba mais ›" */
.more { font-size: inherit; }
.more::after { content: " ›"; }

/* Selos */
.badge { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 5px 12px; border-radius: 980px; margin-bottom: 14px; }
.badge--ir { color: #00795b; background: rgba(0, 212, 160, .14); }
.badge--dev { color: #b25000; background: #fff1e0; }        /* "Em desenvolvimento" */
.badge--lg { font-size: 17px; padding: 8px 18px; }
.hero-copy > .badge { display: table; margin: 0 auto 16px; }

/* Selo de confirmação: pílula translúcida com check verde ("Embarque liberado"). */
.ok-badge {
  position: absolute; right: 24px; top: 24px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 10px; border-radius: 980px;
  font-size: 15px; font-weight: 600; color: #fff;
  background: rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  animation: okPulse 3.6s var(--ease) infinite;
}
.ok-dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--palm-ir); color: #00140e; }
.ok-dot .icon { stroke-width: 2.6; }
@keyframes okPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 160, 0); }
  50% { box-shadow: 0 0 0 8px rgba(0, 212, 160, .18); }
}

/* Logo tipográfica de produto: símbolo + nome (Access/Pay em 600, Care em 400). */
.plockup { display: inline-flex; align-items: center; gap: .32em; line-height: 1; letter-spacing: -.01em; color: inherit; }
.plockup .palm-logo { height: 1em; width: auto; }
.plockup-word { font-size: .95em; }
.plockup--w600 .plockup-word { font-weight: 600; }
.plockup--w400 .plockup-word { font-weight: 400; }
.phero-lockup { display: flex; justify-content: center; font-size: 34px; margin-bottom: 14px; }
.is-care .plockup .palm-logo, .phero--white .plockup .palm-logo { color: var(--palm-clinic); }

/* Endosso "um produto Palm" (brandbook §2.4): Inter 400, 35% da altura da logo, à esquerda, embaixo. */
.endorse { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.endorse-logo { font-size: 40px; color: var(--text); }
.endorse-img { width: auto; }
.endorse-text { font-weight: 400; letter-spacing: 0; line-height: 1.2; color: var(--text-muted); }
.ft-endorse { padding: 24px 0 8px; }

/* Faixa de selos de conformidade (home). */
.seals { padding: 8px var(--gutter) 0; margin-bottom: var(--gutter); }
.seals-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 980px; margin: 0 auto; padding: 22px 0; }
.seals-list a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 980px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.seals-list a:hover { text-decoration: none; border-color: var(--palm-ir-dark); }
.seals-list .icon { color: var(--palm-ir-dark); }

/* Status do sistema (Suporte). */
.status-ok { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); margin-right: 6px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--palm-ir); box-shadow: 0 0 0 4px rgba(0, 212, 160, .18); }

/* Link cruzado Access ↔ Ponto no hero de produto. */
.cross-link { margin-top: 22px; font-size: 17px; color: var(--text-muted); }
.phero--dark .cross-link { color: var(--text-muted-dark); }

/* Botão flutuante de WhatsApp: só no celular (seção 12). */
.wa-fab { display: none; }

/* Número de nota de rodapé (¹ ² ³), ligado às notas no fim da página. */
sup.fn { font-size: .45em; vertical-align: super; line-height: 0; margin-left: 1px; }
sup.fn a { color: inherit; }


/* =============================================================================
   4. Navegação global
   ============================================================================= */

.gn {
  position: sticky; top: 0; z-index: 9999; height: 44px;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  transition: background-color .3s var(--ease);
}
.gn-content { max-width: 1024px; margin: 0 auto; padding: 0 22px; height: 100%; }
.gn-list { display: flex; justify-content: space-between; align-items: center; height: 44px; }
.gn-item { height: 100%; display: flex; align-items: center; }
.gn-link {
  display: flex; align-items: center; height: 44px; padding: 0 8px;
  font-size: 12px; line-height: 1; letter-spacing: -.01em;
  color: rgba(29, 29, 31, .8); transition: color .3s;
}
.gn-link:hover, .gn-link.is-current, .gn-item.is-open > .gn-link { color: var(--text); text-decoration: none; }
.gn-item--logo .gn-link { padding: 0 8px 0 0; color: var(--text); }
.gn-item--logo .palm-logo { width: auto; height: 20px; }
.gn-btn { height: 44px; }
.gn-item--menu { display: none; }            /* hambúrguer: só no celular */

/* Mega-menu: desce ocupando a largura toda; o resto da página desfoca (.gn-curtain). */
.gn-flyout {
  position: absolute; left: 0; right: 0; top: 44px; z-index: 1;
  background: rgba(250, 250, 252, .98);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  max-height: 0; overflow: hidden; visibility: hidden;
  transition: max-height .32s var(--ease), visibility 0s linear .32s;
}
.gn-item.is-open .gn-flyout { max-height: 420px; visibility: visible; transition: max-height .4s var(--ease), visibility 0s; }
.gn-fly-inner {
  max-width: 1024px; margin: 0 auto; padding: 40px 22px 84px 40px;
  display: flex; gap: 88px;
  opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .3s var(--ease);
}
.gn-item.is-open .gn-fly-inner { opacity: 1; transform: none; transition-delay: .08s; }
.gn-fly-title { font-size: 12px; font-weight: 400; color: var(--text-muted); margin-bottom: 14px; letter-spacing: -.01em; }
.gn-fly-col li + li { margin-top: 8px; }
.gn-fly-col a { font-size: 12px; font-weight: 600; color: var(--text); }
.gn-fly-col--big a { font-size: 24px; line-height: 1.17; font-weight: 600; letter-spacing: .009em; }
.gn-fly-col--big li + li { margin-top: 10px; }

.gn-curtain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: 0; visibility: hidden;
  background: rgba(232, 232, 237, .4);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
body.fly-open .gn-curtain { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }

/* Menu mobile em tela cheia, com os itens entrando em cascata. */
.gn-mobile { position: fixed; top: 44px; left: 0; right: 0; bottom: 0; background: var(--bg); overflow-y: auto; padding: 20px 48px 60px; }
.gn-mobile li { opacity: 0; transform: translateY(-12px); }
.gn.is-menu-open .gn-mobile li { animation: cascade .45s var(--ease) forwards; animation-delay: calc(var(--i) * 30ms + 60ms); }
.gn-mobile a { display: block; font-size: 28px; line-height: 1.14; font-weight: 600; letter-spacing: .007em; color: var(--text); padding: 6px 0; }
@keyframes cascade { to { opacity: 1; transform: none; } }

.gn-burger { width: 44px; justify-content: center; flex-direction: column; gap: 6px; }
.gn-burger span { display: block; width: 16px; height: 1.2px; background: var(--text); transition: transform .3s var(--ease); }
.gn.is-menu-open .gn-burger span:first-child { transform: translateY(3.6px) rotate(45deg); }
.gn.is-menu-open .gn-burger span:last-child { transform: translateY(-3.6px) rotate(-45deg); }

/* Busca: painel que desce do topo, com sugestões filtradas em tempo real. */
.search {
  position: fixed; inset: 0; z-index: 10001;
  background: rgba(232, 232, 237, .5);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.search-inner { background: rgba(250, 250, 252, .98); padding: 40px 22px 64px; animation: dropIn .35s var(--ease); }
.search-inner > * { max-width: 692px; margin-inline: auto; }
.search-form { display: flex; align-items: center; gap: 12px; color: var(--text-muted); }
.search-form input {
  flex: 1; font: inherit; font-size: 24px; font-weight: 600; letter-spacing: .009em;
  border: 0; background: none; color: var(--text); outline: none; padding: 8px 0;
}
.search-close { color: var(--text-muted); padding: 8px; border-radius: 50%; }
.search-label { font-size: 12px; color: var(--text-muted); margin-top: 28px; margin-bottom: 10px; }
.search-results a { display: flex; gap: 10px; align-items: baseline; padding: 7px 0; font-size: 14px; font-weight: 600; color: var(--text); }
.search-results a::before { content: "→"; color: var(--text-muted); font-weight: 400; }
.search-results small { font-weight: 400; color: var(--text-muted); font-size: 12px; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-16px); } }


/* =============================================================================
   5. Home: faixa de aviso e blocos de largura total
   ============================================================================= */

.ribbon { background: var(--bg); text-align: center; padding: 16px 22px; font-size: 14px; line-height: 1.43; letter-spacing: -.016em; }
.ribbon p { max-width: 980px; margin: 0 auto; }

/* Bloco de largura total: título a 80px do topo, altura mínima de 692px. */
.hero {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  min-height: 692px; padding-top: 80px; margin-bottom: var(--gutter);
  text-align: center;
}
.hero--dark { background: var(--bg-dark); color: #f5f5f7; }
.hero--light { background: var(--bg-alt); }
.hero--clinic { background: linear-gradient(180deg, #ffffff 0%, #f2f8f6 100%); color: var(--text); }   /* linha Palm Care */
.hero--page { min-height: 560px; justify-content: center; padding-bottom: 80px; }                     /* abertura de páginas internas */
.hero--page.hero--clinic { justify-content: flex-start; padding-bottom: 60px; }

.hero-copy { position: relative; z-index: 2; padding: 0 22px; }
.hero-copy--after { padding-bottom: 60px; }
.hero-eyebrow { font-size: 21px; font-weight: 600; letter-spacing: .011em; color: var(--text-muted-dark); margin-bottom: 6px; }
.hero-title { font-size: 56px; line-height: 1.07143; font-weight: 600; letter-spacing: -.005em; }
.hero-title--xl { font-size: 80px; line-height: 1.05; letter-spacing: -.015em; }
.hero-sub { font-size: 28px; line-height: 1.14286; font-weight: 400; letter-spacing: .007em; margin-top: 6px; }
.hero-support { font-size: 21px; line-height: 1.38; letter-spacing: .011em; color: var(--text-muted); margin-top: 12px; }
.hero--dark .hero-support { color: var(--text-muted-dark); }
.hero-headline { font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: 0; max-width: 1000px; margin: 0 auto; }

/* Bloco 1 · Palm Sensor: a palavra PALM em metal com veias, e o sensor à frente. */
.hero--palm { padding-bottom: 0; }
.palm-stage { position: relative; flex: 1; display: flex; align-items: flex-end; justify-content: center; width: min(1180px, 94vw); margin-top: 48px; }
.palm-word { width: 100%; height: auto; margin-bottom: 120px; overflow: visible; }
.pw-text { font-family: var(--font); font-weight: 700; font-size: 390px; letter-spacing: -.02em; }
.palm-sensor { position: absolute; left: 50%; bottom: 14px; z-index: 2; width: min(440px, 38%); transform: translateX(-50%); }
.palm-sensor img { position: relative; z-index: 2; width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .8)); }

/* Feixe de luz infravermelha que sobe do sensor. */
.palm-beam {
  position: absolute; left: 20%; right: 20%; bottom: 55%; z-index: 1; height: 260px;
  background: linear-gradient(to top, var(--palm-ir-glow), transparent 85%);
  clip-path: polygon(22% 100%, 78% 100%, 100% 0, 0 0);
  filter: blur(6px); mix-blend-mode: screen;
  opacity: 0; transition: opacity 1.4s var(--ease) .6s;
}
.palm-beam::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(0, 212, 160, .45) 22px 23px);
  -webkit-mask: linear-gradient(to top, #000, transparent); mask: linear-gradient(to top, #000, transparent);
}
.hero--palm.is-in .palm-beam { opacity: 1; }

/* Bloco 2 · Bilhetagem: foto em moldura arredondada saindo pela borda inferior. */
.hero--bilhetagem { padding-bottom: 0; }
.hero--bilhetagem .hero-copy { margin-bottom: 52px; }
.bil-media {
  position: relative; overflow: hidden;
  width: min(880px, 100% - 44px); height: 400px; margin-top: auto;
  border-radius: 28px 28px 0 0; box-shadow: 0 -2px 60px rgba(0, 0, 0, .08);
}
.bil-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }

/* Bloco 3 · Palm Care: assinatura da linha e as duas fotos do Fleboscópio. */
.hero--care { justify-content: space-between; }
.care-lockup { display: inline-flex; align-items: center; gap: 14px; font-size: 64px; line-height: 1; font-weight: 400; letter-spacing: -.01em; }
.care-lockup b { font-weight: 700; }
.care-lockup .palm-logo { color: var(--palm-clinic); }
.care-duo { display: flex; justify-content: center; align-items: center; gap: 2%; width: min(1040px, 100% - 44px); margin: 24px auto 8px; }
.care-duo img { width: 46%; mix-blend-mode: multiply; }   /* multiply: o fundo branco da foto some */
.care-duo img + img { width: 44%; }

/* Bloco OEM: módulo do sensor dentro dos contornos de luz infravermelha. */
.hero--oem { min-height: 720px; padding-bottom: 40px; }
.oem-stage { position: relative; flex: 1; display: grid; place-items: center; width: min(620px, 92%); min-height: 420px; margin-top: 64px; }
.oem-stage .ir-art { position: absolute; width: 100%; max-width: 520px; }
.oem-stage img {
  position: relative; width: 62%; max-width: 340px;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, .35)) drop-shadow(0 0 36px rgba(0, 212, 160, .35));
}


/* =============================================================================
   6. Motivo das veias e animação de leitura
   Os <path class="vein"> usam pathLength="1": o traço vai de 0 a 1, e o
   stroke-dashoffset anima o "desenho". O JavaScript adiciona .is-drawn ao SVG
   quando ele entra na tela.
   ============================================================================= */

.vein {
  stroke: var(--palm-ir);
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.2s cubic-bezier(.5, 0, .2, 1) var(--d, 0s);   /* --d: atraso por ramo */
}
.vein--d1 { stroke-opacity: .85; }
.vein--d2 { stroke-opacity: .65; }
.vein--d3 { stroke-opacity: .5; }
.palm-word .vein { stroke-opacity: .8; }
.is-drawn .vein { stroke-dashoffset: 0; }

/* Fundo decorativo de veias (slides e aberturas). */
.vein-bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.vein-bg--dim { opacity: .3; }
.vein-bg--purple .vein { stroke: #a855f7; }

/* Contornos coloridos da luz infravermelha (bloco OEM). */
.ir-ring { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) var(--d, 0s); }
.is-drawn .ir-ring { stroke-dashoffset: 0; }

/* Mão estilizada: as veias se desenham e um anel de confirmação fecha em volta. */
.hand-art { overflow: visible; }
.scan-ring {
  stroke: var(--palm-ir); stroke-width: 3;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transform: rotate(-90deg); transform-origin: 120px 175px;
  transition: stroke-dashoffset .9s var(--ease) 1.2s;
  filter: drop-shadow(0 0 6px var(--palm-ir));
}
.is-drawn .scan-ring { stroke-dashoffset: 0; }
.scan-check { opacity: 0; transform-box: fill-box; transition: opacity .4s 2s; }
.scan-check circle { fill: var(--palm-ir); }
.scan-check path { stroke: #00140e; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.is-drawn .scan-check { opacity: 1; }


/* =============================================================================
   7. Home: grade de tiles (2 colunas, 580px de altura, 12px de espaço)
   ============================================================================= */

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding: 0 var(--gutter); margin-bottom: var(--gutter); }

.tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  height: 580px; padding-top: 52px;
  text-align: center; background: var(--bg-alt);
}
.tile--dark { background: #000; color: #f5f5f7; }
.tile--bottom { justify-content: flex-end; padding: 0 0 48px; }    /* texto embaixo, sobre a imagem */

.tile-copy { position: relative; z-index: 2; padding: 0 24px; }
.tile-title { font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: 0; }
.tile-title--logo { display: flex; justify-content: center; line-height: 0; padding: 6px 0 10px; }
.tile-logo { height: 34px; width: auto; }
.tile-sub { font-size: 21px; line-height: 1.19; letter-spacing: .011em; margin-top: 6px; }
.tile-support { font-size: 17px; color: var(--text-muted-dark); margin-top: 8px; }
.tile .cta-row { margin-top: 17px; }
.tile .btn { font-size: 17px; padding: 8px 18px; }
.tile-media { position: relative; flex: 1; display: flex; justify-content: center; align-items: flex-end; width: 100%; min-height: 0; }

/* Palm Access */
.tile--acesso { background: radial-gradient(60% 50% at 50% 85%, #0d2a22 0%, #000 70%); }
.tile-media--terminal img { width: 190px; margin-bottom: -60px; transform: perspective(900px) rotateY(-18deg); filter: drop-shadow(0 0 60px rgba(0, 212, 160, .35)); }
.tile-media--terminal::before {
  content: ""; position: absolute; bottom: 70px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(var(--palm-ir-glow), transparent 70%); filter: blur(10px);
}

/* Ponto Biométrico (fim de tarde) */
.tile--sunset { background: linear-gradient(160deg, #2f2a57 0%, #7d4f73 45%, #f09a5b 100%); color: #fff; }
.tile--sunset .btn--secondary { border-color: #fff; color: #fff; }
.tile--sunset .btn--secondary:hover { background: #fff; color: #1d1d1f; }
.tile--ponto .tile-copy { text-shadow: 0 1px 20px rgba(0, 0, 0, .25); }
.tile--ponto .tile-support { color: rgba(255, 255, 255, .8); }
.tile-media--ponto { align-items: center; padding-top: 36px; }
.tile-media--ponto img { width: 150px; transform: perspective(900px) rotateY(16deg); filter: drop-shadow(0 30px 40px rgba(20, 10, 40, .45)); }
.ok-badge--ponto { top: auto; right: auto; left: 50%; bottom: 18%; transform: translateX(-10%); white-space: nowrap; animation: none; }

/* Palm Pay */
.tile--pay { background: linear-gradient(180deg, #e8f1f8 0%, #ffffff 100%); }
.tile-media--pos { padding: 22px 0 26px; }
.tile-media--pos img { max-height: 100%; width: auto; max-width: 92%; mix-blend-mode: multiply; }

.tile .badge { margin-bottom: 10px; }
.tile-support--light { color: var(--text-muted); }

/* Palm Mobile (degradê verde-água, como o iPad Air): três celulares em leque */
.tile--mobile { background: linear-gradient(180deg, #d6eef0 0%, #bfe3e6 100%); }
.tile-media--mobile { align-items: flex-end; padding: 10px 0 0; }
.tile-media--mobile .art { width: min(400px, 80%); height: auto; margin-bottom: -70px; }
.tile-media--mobile img { max-height: 100%; width: auto; max-width: 92%; }

/* Palm Sensor OEM em tile: módulo dentro dos contornos de luz */
.tile-media--oem { align-items: center; padding: 10px 0 20px; }
.tile-media--oem .ir-art { position: absolute; width: 74%; max-width: 360px; }
.tile-media--oem img { position: relative; width: 44%; max-width: 230px; filter: drop-shadow(0 0 1px rgba(255, 255, 255, .35)) drop-shadow(0 0 36px rgba(0, 212, 160, .35)); }

/* Vamo Ai (luz de bar) */
.tile--vamo { background: radial-gradient(70% 55% at 50% 100%, #3b1466 0%, #12041f 55%, #000 100%); }
.tile--vamo::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(168, 85, 247, 0) 0 60px, rgba(168, 85, 247, .08) 60px 62px);
}
.tile-media--vamo img { width: 180px; margin-bottom: -170px; transform: rotate(-6deg); filter: drop-shadow(0 0 50px rgba(139, 92, 246, .55)); transition: transform .8s var(--ease); }
.tile--vamo:hover .tile-media--vamo img { transform: rotate(-3deg) translateY(-12px); }


/* =============================================================================
   8. Home: carrossel "Palm em operação"
   Slides de ~88% da largura com os vizinhos aparecendo. O JavaScript move o
   trilho (.carousel-track) e marca o slide atual com .is-active.
   ============================================================================= */

.carousel { padding: 0 0 22px; overflow: hidden; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; gap: var(--gutter); transition: transform 1s var(--ease); will-change: transform; }

.slide { position: relative; overflow: hidden; flex: 0 0 88vw; max-width: 1560px; max-height: 760px; aspect-ratio: 16 / 8.6; background: #111; color: #fff; }
.slide-media { position: absolute; inset: 0; }
.slide-media > img { width: 100%; height: 100%; object-fit: cover; }
.slide-media > .art { width: 100%; height: 100%; }
.art .vein-clinic .vein { stroke: var(--palm-clinic); }

/* Fundos de cada slide */
.slide--night { background: radial-gradient(80% 90% at 70% 40%, #12305a 0%, #050b1a 70%); }
.slide--gym { background: linear-gradient(135deg, #1b1b1d, #2c3e3a); }
.slide--bar { background: radial-gradient(70% 90% at 60% 60%, #4c1d95 0%, #1a0633 55%, #07010f 100%); }
.slide--care { background: linear-gradient(135deg, #eaf6f2, #cfe7ee); color: #1d1d1f; }
.slide--lab { background: radial-gradient(80% 80% at 50% 60%, #26262a, #0a0a0b); }

/* Elementos dentro dos slides */
.slide-grid {
  position: absolute; inset: 0; background-size: 48px 48px;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  -webkit-mask: radial-gradient(circle at 50% 55%, #000, transparent 70%); mask: radial-gradient(circle at 50% 55%, #000, transparent 70%);
}
.slide-product { position: absolute; right: 12%; top: 50%; transform: translateY(-50%); display: flex; align-items: center; height: 82%; }
.slide-product img { height: 100%; width: auto; filter: drop-shadow(0 0 60px rgba(0, 212, 160, .25)); }
.slide-product--wide { right: 50%; transform: translate(50%, -50%); height: auto; width: 46%; }
.slide-product--wide img { height: auto; width: 100%; }
.slide--bar .slide-product img { filter: drop-shadow(0 0 60px rgba(168, 85, 247, .5)); transform: rotate(-8deg); }
.slide-icon { position: absolute; right: 16%; top: 50%; transform: translateY(-50%); color: var(--palm-ir); opacity: .9; filter: drop-shadow(0 0 20px var(--palm-ir-glow)); }
.slide-icon .icon { width: 180px; height: 180px; stroke-width: 1; }
.slide-hand { position: absolute; right: 14%; top: 8%; height: 84%; }
.slide-hand svg { height: 100%; width: auto; }
.slide--care .hand-fill { fill: #d6e6e2; }
.slide--care .vein { stroke: var(--palm-clinic); }

/* Legenda: botão de vidro + texto, no canto inferior esquerdo. */
.slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: center; gap: 22px;
  padding: 60px 48px 44px;
  background: linear-gradient(to top, rgba(0, 0, 0, .45), transparent);
}
.slide-caption p { font-size: 21px; line-height: 1.2; letter-spacing: .011em; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.slide--care .slide-caption { background: linear-gradient(to top, rgba(255, 255, 255, .6), transparent); }
.slide--care .slide-caption p { text-shadow: none; }
.slide:not(.is-active) .slide-caption { opacity: 0; transition: opacity .4s; }
.slide.is-active .slide-caption { opacity: 1; transition: opacity .6s .4s; }

.pill-glass {
  flex: none; display: inline-block;
  font-size: 17px; padding: 11px 22px; border-radius: 980px; color: #1d1d1f;
  background: rgba(232, 232, 237, .72);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  transition: background .2s;
}
.pill-glass:hover { background: rgba(255, 255, 255, .92); text-decoration: none; }

/* Controles: pontos de paginação + pausar/reproduzir. */
.carousel-controls { position: relative; display: flex; justify-content: center; align-items: center; height: 36px; margin-top: 22px; }
.carousel-dots {
  display: flex; align-items: center; gap: 14px; height: 36px; padding: 0 20px; border-radius: 980px;
  background: rgba(210, 210, 215, .64); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.carousel-dots button { width: 8px; height: 8px; border-radius: 980px; background: rgba(0, 0, 0, .42); transition: width .4s var(--ease), background .3s; }
.carousel-dots button[aria-selected="true"] { width: 44px; background: rgba(0, 0, 0, .8); }
.carousel-play { position: absolute; right: 22px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(210, 210, 215, .64); color: rgba(0, 0, 0, .75); }
.carousel-play .i-play, .carousel-play[data-playing="true"] .i-pause { display: block; }
.carousel-play .i-pause, .carousel-play[data-playing="true"] .i-play { display: none; }


/* =============================================================================
   9. Páginas de produto
   Modelo: navegação local → hero → benefícios → como funciona → (incluído)
   → especificações → onde usar → chamada para contato.
   ============================================================================= */

/* Navegação local fixa (nome do produto + âncoras + botão). */
.has-localnav .gn { position: relative; }
.localnav {
  position: sticky; top: 0; z-index: 9000; height: 52px;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.localnav-inner { display: flex; align-items: center; gap: 24px; max-width: 980px; height: 100%; margin: 0 auto; padding: 0 22px; }
.localnav-title { font-size: 21px; font-weight: 600; letter-spacing: .011em; color: var(--text); margin-right: auto; }
.localnav-title:hover { text-decoration: none; }
.localnav-links { display: flex; gap: 22px; font-size: 12px; }
.localnav-links a { color: rgba(29, 29, 31, .8); }
.localnav-links a:hover { color: var(--link); text-decoration: none; }

/* Hero de produto (temas: light, white, dark, purple). */
.phero { overflow: hidden; padding: 80px 0 0; text-align: center; }
.phero--light { background: var(--bg-alt); }
.phero--white { background: var(--bg); }
.phero--dark { background: #000; color: #f5f5f7; }
.phero--purple { background: radial-gradient(90% 70% at 50% 100%, #3b1466 0%, #0d0318 60%, #000 100%); color: #f5f5f7; }
.phero--mint { background: linear-gradient(180deg, #d6eef0 0%, #eef8f8 100%); }
.media-art { width: min(620px, 100% - 44px); padding-bottom: 20px; }
.media-art .art { width: 100%; height: auto; }
.media-art img { max-height: 560px; width: auto; margin: 0 auto; }
.phero-copy { max-width: 900px; margin: 0 auto; padding: 0 22px; }
.phero-eyebrow { font-size: 21px; font-weight: 600; letter-spacing: .011em; color: var(--text-muted); margin-bottom: 8px; }
.phero--dark .phero-eyebrow, .phero--purple .phero-eyebrow, .section--dark .phero-eyebrow, .hero--dark .phero-eyebrow { color: var(--text-muted-dark); }
.phero-title { font-size: 80px; line-height: 1.05; font-weight: 700; letter-spacing: -.015em; }
.phero-intro { max-width: 700px; margin: 22px auto 0; font-size: 21px; line-height: 1.38; letter-spacing: .011em; color: var(--text-muted); }
.phero--dark .phero-intro, .phero--purple .phero-intro { color: var(--text-muted-dark); }
.phero-media { display: flex; justify-content: center; margin-top: 60px; }

/* Mídia do hero: foto em moldura, ou produto recortado. */
.media-frame { position: relative; overflow: hidden; width: min(980px, 100% - 44px); height: 520px; border-radius: 28px 28px 0 0; }
.media-frame--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }
.media-product { position: relative; display: flex; justify-content: center; width: min(760px, 100% - 44px); padding-bottom: 60px; }
.media-product img { max-height: 560px; width: auto; }
.media-product .ok-badge { top: 38%; right: 8%; }
.media-product--glow::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(var(--palm-ir-glow), transparent 65%); filter: blur(20px);
}
.media-product--glow img { position: relative; }
.media-product--multiply img { mix-blend-mode: multiply; max-height: 520px; }
.media-product--vamo { padding-bottom: 0; }
.media-product--vamo img { max-height: 620px; margin-bottom: -140px; filter: drop-shadow(0 0 80px rgba(139, 92, 246, .5)); }

/* Seções */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: #000; color: #f5f5f7; }
.section-title { font-size: 48px; line-height: 1.08; font-weight: 600; letter-spacing: -.003em; text-align: center; margin-bottom: 56px; }
.section-title--left { text-align: left; margin-bottom: 24px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.section-head .section-title { margin-bottom: 0; }
.lead { font-size: 21px; line-height: 1.43; letter-spacing: .011em; }
.prose p { font-size: 19px; line-height: 1.5; color: #333336; }
.prose p + p { margin-top: 1.1em; }
.prose .lead { font-size: 24px; line-height: 1.38; color: var(--text); font-weight: 600; letter-spacing: .009em; }

/* Benefícios: cards com ícone em quadrado preto. */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.features--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.feature { background: var(--bg-alt); border-radius: 28px; padding: 34px 30px 38px; }
.section--alt .feature { background: var(--bg); }
.feature-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #000; color: var(--palm-ir); margin-bottom: 22px; }
.feature h3 { font-size: 21px; line-height: 1.19; font-weight: 600; letter-spacing: .011em; margin-bottom: 8px; }
.feature p { font-size: 17px; color: var(--text-muted); }

/* Como funciona: passos numerados ligados por uma linha verde. */
.steps { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.step { position: relative; padding-top: 70px; }
.step::before { content: ""; position: absolute; top: 22px; left: 52px; right: -32px; height: 2px; background: linear-gradient(90deg, var(--palm-ir), rgba(0, 212, 160, .15)); }
.step:last-child::before { display: none; }
.step-n {
  position: absolute; top: 0; left: 0; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--palm-ir);
  font-weight: 700; font-size: 19px; color: #00795b; background: var(--bg);
  box-shadow: 0 0 0 6px var(--palm-ir-glow);
}
.step h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; letter-spacing: .011em; }
.step p { color: var(--text-muted); }

/* O que está incluído */
.included { display: grid; gap: 28px; }
.included li { display: flex; gap: 20px; align-items: flex-start; }
.included .icon { flex: none; color: var(--link); margin-top: 3px; }
.included h3 { font-size: 21px; font-weight: 600; letter-spacing: .011em; }
.included p { color: var(--text-muted); }

/* Especificações técnicas */
.specs { border-top: 1px solid var(--line); }
.spec { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 600; }
.spec dd { color: #333336; }
.spec dd a { color: var(--link); }
.specs--mt { margin-top: 32px; }
.certs-note { margin-top: 20px; font-size: 15px; color: var(--text-muted); }

/* Onde usar (fundo preto; variação clara na linha Care) */
.uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.use { border-radius: 24px; padding: 32px 24px; background: #111113; text-align: center; }
.use .icon { margin: 0 auto 16px; color: var(--palm-ir); }
.use h3 { font-size: 19px; font-weight: 600; letter-spacing: .012em; }
.use p { color: var(--text-muted-dark); font-size: 15px; margin-top: 6px; }
.uses--light .use { background: var(--bg); }
.uses--light .use .icon { color: var(--palm-clinic); }
.uses-note { text-align: center; margin-top: 40px; font-size: 19px; color: var(--text-muted-dark); }
.uses-note strong { color: #f5f5f7; }

/* Chamada final para contato, com a mão e o anel de confirmação. */
.cta-band { background: #000; color: #f5f5f7; text-align: center; padding: 90px 0 100px; }
.cta-band h2 { font-size: 48px; line-height: 1.08; font-weight: 600; margin-top: 8px; }
.cta-band p { font-size: 21px; color: var(--text-muted-dark); margin-top: 10px; }
.cta-hand { width: 170px; margin: 0 auto; }


/* =============================================================================
   10. Páginas específicas
   ============================================================================= */

/* --- Sensores: seção OEM --------------------------------------------------- */
.oem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.oem-copy p { font-size: 19px; color: var(--text-muted-dark); }
.oem-copy .cta-row { justify-content: flex-start; }
.oem-media { position: relative; display: grid; place-items: center; min-height: 460px; }
.oem-media .ir-art { position: absolute; width: 100%; max-width: 460px; }
.oem-media img { position: relative; width: 58%; filter: drop-shadow(0 0 1px rgba(255, 255, 255, .35)) drop-shadow(0 0 36px rgba(0, 212, 160, .35)); }

/* --- Produtos: vitrine no estilo "Loja" ------------------------------------ */
.store-head { padding: 64px 0 20px; }
.store-title { max-width: 700px; font-size: 48px; line-height: 1.08; font-weight: 600; }
.store-title span { color: var(--text-muted); }

.chipnav { display: flex; gap: 28px; overflow-x: auto; padding: 40px 0 10px; scrollbar-width: none; }
.chipnav::-webkit-scrollbar { display: none; }
.chipnav a { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 88px; font-size: 14px; font-weight: 600; color: var(--text); }
.chipnav a:hover { text-decoration: none; color: var(--link); }
.chip-img { display: grid; place-items: center; overflow: hidden; width: 88px; height: 64px; }
.chip-img img { max-height: 64px; width: auto; object-fit: contain; }

.store-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 30px 0 100px; }
.store-card a {
  display: flex; flex-direction: column; overflow: hidden;
  height: 520px; border-radius: 28px; color: var(--text);
  box-shadow: 2px 4px 12px rgba(0, 0, 0, .08);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.store-card a:hover { text-decoration: none; transform: scale(1.012); box-shadow: 2px 4px 24px rgba(0, 0, 0, .14); }
.store-card-copy { padding: 34px 32px 0; }
.store-card h2 { font-size: 28px; font-weight: 600; letter-spacing: .007em; }
.store-card p { font-size: 17px; color: var(--text-muted); margin: 6px 0 8px; }
.store-card .more { color: var(--link); }
.store-card-media { position: relative; flex: 1; min-height: 0; display: flex; align-items: flex-end; justify-content: center; padding-top: 20px; }
.store-card-media img { max-height: 100%; width: auto; max-width: 86%; object-fit: contain; }

.store-card--dark a { background: #000; color: #f5f5f7; }
.store-card--dark .store-card-media { align-items: center; }
.store-card--dark .store-card-media img { filter: drop-shadow(0 0 40px rgba(0, 212, 160, .3)); }
.store-card--dark .store-card-media img[src*="sensor-persp"] { max-width: 56%; filter: drop-shadow(0 0 1px rgba(255, 255, 255, .35)) drop-shadow(0 0 40px rgba(0, 212, 160, .35)); }
.store-card--purple a { background: radial-gradient(90% 70% at 50% 100%, #3b1466 0%, #0d0318 70%); color: #f5f5f7; }
.store-card--purple .store-card-media img { margin-bottom: -80px; max-height: 130%; }
.store-card--dark p, .store-card--purple p { color: var(--text-muted-dark); }
.store-card--dark .more, .store-card--purple .more { color: var(--link-dark); }
.store-card--light a, .store-card--white a { background: #fff; }
.store-card--light img, .store-card--white img { mix-blend-mode: multiply; }
.store-card--white .store-card-media { align-items: center; padding-bottom: 30px; }
.store-card--white .store-card-media img { max-width: 70%; }
.store-card--mint a { background: linear-gradient(180deg, #d6eef0 0%, #eef8f8 100%); }
.store-card--mint .store-card-media .art { width: 78%; height: auto; margin-bottom: -30px; }
.chip-img .art { width: 88px; height: 64px; }
.store-card--sunset a { background: linear-gradient(160deg, #2f2a57 0%, #7d4f73 45%, #f09a5b 100%); color: #fff; }
.store-card--sunset p { color: rgba(255, 255, 255, .8); }
.store-card--sunset .more { color: #fff; }
.store-card--sunset .store-card-media img { max-width: 34%; filter: drop-shadow(0 20px 30px rgba(20, 10, 40, .4)); }
.store-card--photo .store-card-media { padding: 0; margin-top: 20px; }
.store-card--photo .store-card-media img { width: 100%; max-width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

/* --- Palm Care (visual clínico) --------------------------------------------- */
.care-hero { padding: 80px 0 0; text-align: center; }
.care-title { display: inline-flex; align-items: center; gap: 14px; font-size: 80px; line-height: 1; font-weight: 700; letter-spacing: -.015em; }
.care-title span { font-weight: 400; }
.care-title .palm-logo { color: var(--palm-ir); }
.care-sub { font-size: 28px; margin-top: 14px; color: var(--text-muted); }
.care-hero-media img { width: min(340px, 80%); margin: 48px auto 0; filter: drop-shadow(0 40px 36px rgba(0, 0, 0, .18)); }
.care-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.care-card { overflow: hidden; padding: 0 36px 40px; border-radius: 28px; background: var(--bg-alt); }
.care-card-media { display: grid; place-items: center; height: 280px; margin: 0 -36px 28px; background: #fff; }
.care-card-media img { max-height: 240px; width: auto; mix-blend-mode: multiply; }
.care-card h2 { font-size: 28px; font-weight: 600; letter-spacing: .007em; margin-bottom: 10px; }
.care-card p { color: var(--text-muted); margin-bottom: 12px; }
/* Aviso regulatório obrigatório (Anvisa) nas páginas da linha Care. */
.care-notice { margin-bottom: 24px; padding: 20px 24px; border-left: 3px solid var(--palm-ir); border-radius: 12px; font-size: 14px; line-height: 1.5; color: var(--text-muted); background: var(--bg-alt); }
.care-notice strong { color: var(--text); }
.is-care .section .cta-row { justify-content: flex-start; }

/* --- Empresa ------------------------------------------------------------------ */
.hero--about { min-height: 600px; }
.hero--about .vein-bg { opacity: .45; }
.about-lockup { display: flex; justify-content: center; margin-bottom: 36px; color: #f5f5f7; }
.about-lockup svg { height: 150px; width: auto; }

/* Linha do tempo com rolagem horizontal e botões de navegação. */
.scroller-btns { display: flex; gap: 12px; }
.round-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(210, 210, 215, .64); color: rgba(0, 0, 0, .7); transition: background .2s; }
.round-btn:hover { background: rgba(210, 210, 215, .9); }
.timeline { position: relative; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 2px 24px; scrollbar-width: none; }
.timeline::-webkit-scrollbar { display: none; }
.tl-item { position: relative; flex: 0 0 280px; scroll-snap-align: start; padding: 28px 28px 32px; border-radius: 24px; background: var(--bg); }
.tl-year { display: block; font-size: 40px; font-weight: 700; letter-spacing: -.01em; background: linear-gradient(90deg, var(--palm-clinic), var(--link)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl-dot { position: relative; display: block; width: 100%; height: 2px; margin: 14px 0 16px; background: linear-gradient(90deg, var(--palm-ir), transparent); }
.tl-dot::before { content: ""; position: absolute; left: 0; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--palm-ir); box-shadow: 0 0 10px var(--palm-ir); }
.tl-item p { font-size: 17px; color: #333336; }

/* Missão, visão e valores */
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mvv li { padding: 36px 30px; border-radius: 28px; background: #000; color: #f5f5f7; }
.mvv h2 { font-size: 28px; font-weight: 600; margin-bottom: 12px; color: var(--palm-ir); }
.mvv p { font-size: 19px; line-height: 1.42; }

/* Liderança: monograma (iniciais em Inter 600, 40px) num círculo grafite com anel fino verde. Foto = lideranca-<slug>.webp. */
.leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.leader { padding: 36px 24px 32px; border-radius: 28px; background: var(--bg); text-align: center; }
.leader-avatar { display: grid; place-items: center; width: 120px; height: 120px; margin: 0 auto 20px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--palm-ir); overflow: hidden; }
.leader-avatar img { width: 100%; height: 100%; object-fit: cover; }
.monogram { font-size: 40px; font-weight: 600; letter-spacing: -.01em; color: #f5f5f7; }
.leader-name { font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: .011em; }
.leader-role { margin-top: 4px; font-size: 15px; color: var(--text-muted); }

/* --- Segurança ------------------------------------------------------------------ */
.shield-art { width: 72px; margin: 0 auto 24px; color: var(--palm-ir); filter: drop-shadow(0 0 20px var(--palm-ir-glow)); }
.shield-art .icon { stroke-width: 1.2; }
.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sec-item { padding: 36px 36px 40px; border-radius: 28px; background: var(--bg-alt); }
.sec-item .icon { color: var(--palm-clinic); margin-bottom: 18px; }
.sec-item h2 { font-size: 24px; font-weight: 600; letter-spacing: .009em; margin-bottom: 10px; }
.sec-item p { color: #333336; }
.doc-links li { border-bottom: 1px solid var(--line); }
.doc-links a { display: block; padding: 18px 0; font-size: 21px; }
.doc-links a::after { content: " ›"; }

/* --- Suporte -------------------------------------------------------------------- */
.support-hero { padding: 80px 0 20px; text-align: center; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.support-card { display: flex; flex-direction: column; gap: 10px; padding: 34px 30px 36px; border-radius: 28px; background: var(--bg-alt); }
.support-card .icon { color: var(--link); }
.support-card h2 { font-size: 21px; font-weight: 600; letter-spacing: .011em; }
.support-card p { color: var(--text-muted); }

/* --- Contato: formulário com rótulos flutuantes ---------------------------------- */
.contact { padding: 72px 0 100px; }
.contact-head { text-align: center; margin-bottom: 56px; }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field--area, .field--select, .form .check, .form .btn, .form-error, .captcha { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 56px; padding: 26px 16px 8px;
  font: inherit; font-size: 17px; color: var(--text); background: #fff;
  border: 1px solid #86868b; border-radius: 12px; outline: none;
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field--select::after {   /* seta do <select> */
  content: ""; position: absolute; right: 18px; top: 24px; width: 8px; height: 8px; pointer-events: none;
  border-right: 1.5px solid var(--text-muted); border-bottom: 1.5px solid var(--text-muted); transform: rotate(45deg);
}
.field label {
  position: absolute; left: 17px; top: 17px; pointer-events: none;
  font-size: 17px; color: var(--text-muted);
  transform-origin: left top; transition: transform .15s var(--ease), font-size .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--link); box-shadow: 0 0 0 4px rgba(0, 113, 227, .15); }
/* Rótulo sobe quando o campo tem foco ou valor (placeholder=" " no HTML permite o :placeholder-shown). */
.field input:not(:placeholder-shown) + label, .field input:focus + label,
.field textarea:not(:placeholder-shown) + label, .field textarea:focus + label,
.field select:focus + label, .field select.has-value + label { transform: translateY(-10px); font-size: 12px; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #e30000; background: #fff5f5; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* honeypot anti-spam */
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #333336; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--link); }
.check.is-invalid span { color: #e30000; }
.form-error { color: #e30000; font-size: 14px; }
.form .btn { justify-self: start; margin-top: 8px; }
.form.is-sending .btn { opacity: .6; pointer-events: none; }

.form-success { padding: 40px 20px; border-radius: 28px; text-align: center; background: #000; color: #f5f5f7; }
.form-success h2 { font-size: 32px; font-weight: 600; margin-top: 8px; }
.form-success p { font-size: 19px; margin-top: 8px; color: var(--text-muted-dark); }
.success-hand { width: 190px; margin: 0 auto; }

.contact-info ul { display: grid; gap: 26px; margin-bottom: 30px; }
.contact-info li { display: flex; gap: 16px; }
.contact-info .icon { flex: none; color: var(--link); margin-top: 2px; }
.contact-info h2 { font-size: 14px; font-weight: 600; color: var(--text-muted); margin-bottom: 2px; }
.contact-info p, .contact-info a { font-size: 17px; }
.map { overflow: hidden; aspect-ratio: 4 / 3; border-radius: 20px; background: var(--bg-alt); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4); }

/* --- Páginas legais ---------------------------------------------------------------- */
.legal { padding: 72px 0 100px; }
.legal h1 { font-size: 48px; font-weight: 600; line-height: 1.08; }
.legal h2 { font-size: 24px; font-weight: 600; margin: 36px 0 8px; }
.legal-date { color: var(--text-muted); margin-top: 10px; }
.legal p, .legal li { font-size: 17px; line-height: 1.53; color: #333336; }
.legal p + p { margin-top: 12px; }
.legal-lead { margin-top: 24px; }
.legal-list { list-style: disc; padding-left: 22px; }
.legal-list li + li { margin-top: 8px; }
.legal-ol { counter-reset: legal; }
.legal-ol li { counter-increment: legal; }
.legal-ol h2::before { content: counter(legal) ". "; }
.legal-table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 15px; }
.legal-table th, .legal-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table th { font-weight: 600; color: var(--text); background: var(--bg-alt); }
.legal .cta-row { justify-content: flex-start; margin-top: 32px; }
.legal .btn--secondary { margin-top: 12px; }

/* --- 404 ----------------------------------------------------------------------------- */
.hero--404 { min-height: 70vh; }
.nf-hand { width: 150px; margin: 0 auto 24px; }


/* =============================================================================
   11. Rodapé e aviso de cookies
   ============================================================================= */

.ft { background: var(--bg-alt); font-size: 12px; line-height: 1.33337; letter-spacing: -.01em; color: var(--text-muted); }
.ft-inner { max-width: 980px; margin: 0 auto; padding: 17px 22px 21px; }
.ft a { color: #424245; }

/* Notas de rodapé numeradas (¹ ² ³). */
.ft-notes { padding: 12px 0 17px; border-bottom: 1px solid var(--line); }
.ft-notes p, .ft-notes li { margin-bottom: 10px; }
.ft-notes-list { counter-reset: fn; }
.ft-notes-list li { list-style: none; counter-increment: fn; }
.ft-notes-list li[value="2"] { counter-reset: fn 1; }
.ft-notes-list li::before { content: counter(fn) ". "; }
.ft-notes-list li:target { color: var(--text); }

/* Mapa do site em 5 colunas (acordeão no celular, ver seção 12). */
.ft-directory { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 22px; padding: 20px 0 10px; }
.ft-group { margin-bottom: 24px; }
.ft-title { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 9px; }
.ft-title button { cursor: default; text-align: left; font-weight: 600; letter-spacing: -.01em; }
.ft-group li { margin-bottom: 10px; line-height: 1.33; }

.ft-more { padding: 10px 0 12px; }
.ft-more a { color: var(--link); text-decoration: underline; }
.ft-legal { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 30px; margin-top: 8px; padding: 8px 0 0; border-top: 1px solid var(--line); }
.ft-legal-links { display: flex; flex-wrap: wrap; }
.ft-legal-links li + li { border-left: 1px solid var(--line); padding-left: 8px; margin-left: 8px; }
.ft-locale { margin-left: auto; }

/* Aviso de cookies (o Analytics só carrega depois do aceite). */
.cookie {
  position: fixed; left: 50%; bottom: 16px; z-index: 9990; transform: translateX(-50%);
  width: min(760px, 100% - 24px); padding: 16px 18px 16px 22px; border-radius: 18px;
  font-size: 14px; line-height: 1.43;
  background: rgba(250, 250, 252, .92);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .15);
  animation: dropUp .5s var(--ease);
}
.cookie-main { display: flex; gap: 18px; align-items: center; }
.cookie-actions { display: flex; gap: 10px; flex: none; flex-wrap: wrap; justify-content: flex-end; }
.cookie-config { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.cookie-config[hidden] { display: none; }
.cookie-opt { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #333336; }
.cookie-opt input { margin-top: 3px; accent-color: var(--link); }
@keyframes dropUp { from { opacity: 0; transform: translate(-50%, 20px); } }


/* =============================================================================
   12. Responsivo
   ============================================================================= */

/* Notebook */
@media (max-width: 1068px) {
  .gn-fly-inner { gap: 56px; }
  .hero-title { font-size: 48px; }
  .hero-headline { font-size: 32px; }
  .tile-title { font-size: 34px; }
  .phero-title { font-size: 64px; }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet: menu vira hambúrguer; grades de duas colunas viram uma. */
@media (max-width: 833px) {
  .gn-list { justify-content: flex-start; }
  .gn-item:not(.gn-item--logo):not(.gn-item--icon):not(.gn-item--menu) { display: none; }
  .gn-item--logo { margin-right: auto; }
  .gn-item--menu { display: flex; }
  .gn-link { padding: 0 10px; }
  .gn.is-menu-open { background: var(--bg); }

  .localnav-links { display: none; }

  .oem-grid, .contact-grid, .care-cards { grid-template-columns: 1fr; }
  .oem-copy { text-align: center; }
  .oem-copy .cta-row { justify-content: center; }
  .oem-copy .section-title--left { text-align: center; }
  .mvv, .sec-grid, .store-grid { grid-template-columns: 1fr; }
  .leaders { grid-template-columns: repeat(2, 1fr); }
  .ft-directory { grid-template-columns: repeat(3, 1fr); }
}

/* Celular: tiles em 1 coluna (500px), títulos 32px, subtítulos 19px. */
@media (max-width: 734px) {
  .container { width: calc(100% - 32px); }
  .cta-row { gap: 12px; margin-top: 18px; }
  .btn { font-size: 15px; padding: 9px 17px; }

  /* Home: blocos de largura total */
  .ribbon { font-size: 12px; padding: 12px 16px; }
  .hero { min-height: 580px; padding-top: 52px; }
  .hero-title { font-size: 40px; line-height: 1.1; }
  .hero-title--xl { font-size: 48px; }
  .hero-sub { font-size: 21px; line-height: 1.19; }
  .hero-support { font-size: 17px; }
  .hero-headline { font-size: 28px; }
  .palm-stage { width: 100%; margin-top: 60px; }
  .palm-word { width: 100%; margin-bottom: 64px; }
  .palm-sensor { width: 58%; bottom: 8px; }
  .bil-media { width: calc(100% - 32px); height: 320px; border-radius: 22px 22px 0 0; }
  .ok-badge { right: 12px; top: 12px; font-size: 13px; padding: 7px 14px 7px 7px; }
  .care-lockup { font-size: 40px; gap: 10px; }
  .care-lockup .palm-logo { width: 34px; height: 34px; }
  .care-duo { width: calc(100% - 16px); }
  .hero--oem { min-height: 600px; }
  .oem-stage { min-height: 320px; margin-top: 40px; }

  /* Home: tiles */
  .tiles { grid-template-columns: 1fr; }
  .tile { height: 500px; padding-top: 44px; }
  .tile--bottom { padding: 0 0 36px; }
  .tile-title { font-size: 32px; }
  .tile-logo { height: 28px; }
  .tile-sub { font-size: 19px; }
  .tile-media--terminal img, .tile-media--vamo img { width: 150px; }
  .tile-media--mobile .art { width: 80%; margin-bottom: -20px; }
  .tile-media--oem .ir-art { width: 60%; }
  .tile-media--oem img { width: 38%; }
  .seals-list { gap: 8px; padding: 16px 0; }
  .seals-list a { font-size: 13px; padding: 8px 14px; }
  .tile-media--ponto img { width: 120px; }
  .ok-badge--ponto { top: auto; right: auto; bottom: 12%; transform: translateX(-30%); }   /* repete top/right: o .ok-badge do celular (acima) os redefine */

  /* Home: carrossel (slides em pé) */
  .slide { flex-basis: 88vw; aspect-ratio: 3 / 4; max-height: 560px; }
  .slide-caption { flex-direction: column; align-items: flex-start; gap: 12px; padding: 60px 20px 24px; }
  .slide-caption p { font-size: 17px; }
  .pill-glass { font-size: 15px; padding: 9px 18px; }
  .slide-product { right: 50%; transform: translate(50%, -60%); height: 55%; }
  .slide-product--wide { width: 80%; height: auto; }
  .slide-icon { right: 50%; transform: translate(50%, -70%); }
  .slide-hand { right: 50%; transform: translateX(50%); height: 60%; }
  .carousel-play { right: 16px; }

  /* Páginas de produto */
  .localnav-title { font-size: 17px; }
  .phero { padding-top: 56px; }
  .phero-title { font-size: 44px; line-height: 1.08; }
  .phero-eyebrow { font-size: 17px; }
  .phero-intro { font-size: 19px; }
  .phero-media { margin-top: 40px; }
  .media-frame { width: calc(100% - 32px); height: 380px; border-radius: 22px 22px 0 0; }
  .section { padding: 72px 0; }
  .section-title { font-size: 32px; margin-bottom: 36px; }
  .features, .steps { grid-template-columns: 1fr; }
  .step { padding: 0 0 0 66px; min-height: 46px; }   /* passos na vertical, linha à esquerda */
  .step::before { top: 50px; bottom: -32px; left: 22px; right: auto; width: 2px; height: auto; background: linear-gradient(var(--palm-ir), rgba(0, 212, 160, .15)); }
  .spec { grid-template-columns: 1fr; gap: 4px; }
  .uses { grid-template-columns: repeat(2, 1fr); }
  .cta-band h2 { font-size: 32px; }

  /* Páginas específicas */
  .store-title { font-size: 32px; }
  .store-card a { height: 460px; }
  .care-title { font-size: 48px; }
  .care-title .palm-logo { width: 34px; height: 34px; }
  .care-sub { font-size: 21px; }
  .care-card { padding: 0 24px 32px; }
  .care-card-media { margin: 0 -24px 24px; height: 220px; }
  .about-lockup svg { height: 110px; }
  .leaders { grid-template-columns: 1fr; }
  .phero-lockup { font-size: 26px; }
  .endorse-logo { font-size: 32px; }
  .legal-table { display: block; overflow-x: auto; }

  /* Botão flutuante de WhatsApp: só no celular (pendências v2, §1.2) */
  .wa-fab {
    position: fixed; right: 16px; bottom: 16px; z-index: 9980;
    display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  }
  .wa-fab:hover { text-decoration: none; }
  .wa-fab .icon { stroke-width: 1.8; }
  .cookie ~ .wa-fab, body:has(.cookie:not([hidden])) .wa-fab { bottom: 16px; }
  .support-grid { grid-template-columns: 1fr; }
  .contact { padding-top: 48px; }
  .form { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
  .legal h1 { font-size: 36px; }

  /* Cookies (deixa espaço para o botão do WhatsApp à direita) */
  .cookie { bottom: 84px; }
  .cookie-main { flex-direction: column; align-items: stretch; }
  .cookie-actions .btn { flex: 1; }

  /* Rodapé em acordeão */
  .ft-directory { display: block; padding-top: 10px; }
  .ft-group { margin: 0; border-bottom: 1px solid var(--line); }
  .ft-title { margin: 0; }
  .ft-title button { cursor: pointer; display: flex; justify-content: space-between; width: 100%; padding: 12px 0; font-weight: 400; color: var(--text); }
  .ft-title button::after {
    content: ""; width: 7px; height: 7px; margin: 2px 4px 0 0;
    border-right: 1.3px solid var(--text-muted); border-bottom: 1.3px solid var(--text-muted);
    transform: rotate(45deg); transition: transform .3s var(--ease);
  }
  .ft-title button[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 6px; }
  .ft-group ul { display: none; padding: 0 0 10px 14px; }
  .ft-group.is-open ul { display: block; }
  .ft-legal { flex-direction: column; }
  .ft-locale { margin-left: 0; order: -1; }
}


/* =============================================================================
   13. Movimento reduzido
   Respeita a preferência do sistema: sem animações, veias já desenhadas.
   ============================================================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .vein, .scan-ring, .ir-ring { stroke-dashoffset: 0 !important; }
  .scan-check, .palm-beam { opacity: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
}
