/* RAEGO — design system com a identidade visual da marca
   Cores e fontes vêm do site e da logo da RAEGO: azul-petróleo #1687AF, verde #3F9413,
   Didact Gothic nos textos e Montserrat nos rótulos. Fundos claros com toques de
   azul-água, faixas petróleo nas páginas de produto e palavras-chave em verde. */

:root {
  /* Cor (paleta oficial RAEGO) */
  --water: #1687af;
  --water-2: #3297b3;
  --water-ink: #0f6e90;
  --aqua: #4cadbd;
  --leaf: #3f9413;
  --leaf-ink: #2f6f0e;
  --mint: #e4f2da;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef7f9;
  --surface-3: #dbedf2;
  --stage: #ffffff;
  --line: #cfe4ea;
  --fg: #0e2329;
  --muted: #4d6971;
  --deep: #06303f;
  --deep-2: #0a4257;
  --on-deep: #eaf6f9;
  --on-deep-muted: #a9cbd5;
  --wa: #168044;
  --danger: #c2412d;
  --star: #f2a516;
  --brand-grad: linear-gradient(90deg, #4791a5, #57a0af 45%, #5f9848);
  --shadow-sm: 0 1px 2px rgb(6 48 63 / 0.06), 0 2px 6px rgb(6 48 63 / 0.05);
  --shadow-md: 0 4px 10px -2px rgb(6 48 63 / 0.08), 0 14px 30px -10px rgb(6 48 63 / 0.18);
  --shadow-lg: 0 26px 60px -20px rgb(6 48 63 / 0.4);
  --glass: rgb(255 255 255 / 0.94);

  /* Tipografia */
  --font-display: 'Didact Gothic', 'Didact Fallback', Arial, sans-serif;
  --font-body: 'Didact Gothic', 'Didact Fallback', Arial, sans-serif;
  --font-ui: 'Montserrat', 'Montserrat Fallback', Arial, sans-serif;
  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-lg: 1.1875rem;
  --t-xl: clamp(1.375rem, 1.15rem + 0.9vw, 1.75rem);
  --t-2xl: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  --t-3xl: clamp(2.375rem, 1.5rem + 3.6vw, 4rem);

  /* Forma e ritmo */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --maxw: 1200px;
  --section: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;

  color-scheme: light;
}

/* Fontes da marca hospedadas no próprio site (sem Google Fonts) */
@font-face {
  font-family: 'Didact Gothic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/didact-gothic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Didact Gothic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/didact-gothic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Fontes reserva com as mesmas medidas, para a página não "pular" enquanto a fonte carrega */
@font-face {
  font-family: 'Didact Fallback';
  src: local('Arial'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 95.25%;
  ascent-override: 110.23%;
  descent-override: 28.35%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Montserrat Fallback';
  src: local('Arial'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 106.67%;
  ascent-override: 90.94%;
  descent-override: 23.44%;
  line-gap-override: 0%;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgb(22 135 175 / 0.12);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  overflow-x: hidden;
  overflow-x: clip;
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.65;
  /* A Didact Gothic tem um par de kerning com defeito (espaço + maiúscula fica largo demais) */
  font-kerning: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--surface);
}
img,
video,
svg {
  max-width: 100%;
}
img {
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: rgba(63, 148, 19, 0.25);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--fg);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  transition: top 0.2s;
}
.skip:focus {
  top: calc(12px + env(safe-area-inset-top, 0px));
}
.ic {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

/* ---------- Tipografia ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
  color: inherit;
}
h1 {
  font-size: var(--t-3xl);
  letter-spacing: -0.02em;
}
h2 {
  font-size: var(--t-2xl);
  letter-spacing: -0.015em;
}
h3 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.35;
  letter-spacing: 0;
}
.detail__text h3,
.tl-item h3,
.job h3,
.compare__col h3 {
  font-family: var(--font-display);
  font-weight: 400;
}
p {
  margin: 0;
  text-wrap: pretty;
}
/* Palavras-chave em verde, como no site da RAEGO */
h1 em,
h2 em,
.pearl {
  font-style: normal;
  color: var(--leaf);
}
.section--deep h2 em,
.section--deep h1 em,
.hero--deep h1 em,
.cta h2 em {
  color: #8ad05f;
}
.lede {
  font-size: var(--t-lg);
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.6;
}
/* Selo em pílula verde-menta com letras espaçadas (padrão do site RAEGO) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
  padding: 6px 14px 6px 16px;
  border-radius: 999px;
  background: var(--mint);
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--leaf-ink);
}
.section-head--center .eyebrow {
  justify-self: center;
}
.section--deep .eyebrow,
.hero--deep .eyebrow,
.cta .eyebrow {
  background: rgb(138 208 95 / 0.16);
  color: #9fdc78;
}
.muted {
  color: var(--muted);
}
.mono {
  font-family: var(--font-ui);
  font-variant-numeric: tabular-nums;
}
.prose {
  max-width: 68ch;
  display: grid;
  gap: 1em;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--maxw) + 40px);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
.section {
  padding-block: var(--section);
  position: relative;
}
.section--tint {
  background: var(--surface-2);
}
/* Topo curvo, como a faixa de depoimentos do site RAEGO */
.section--wave {
  background: var(--surface-2);
  margin-top: 40px;
}
.section--wave::before {
  content: '';
  position: absolute;
  left: -10%;
  right: -10%;
  top: -40px;
  height: 80px;
  border-radius: 50%;
  background: var(--surface-2);
  z-index: 0;
}
.section--wave > * {
  position: relative;
  z-index: 1;
}
.section--deep {
  background: var(--deep);
  color: var(--on-deep);
}
.section--deep .lede,
.section--deep .muted {
  color: var(--on-deep-muted);
}
.section--tight {
  padding-block: clamp(48px, 6vw, 80px);
}
.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(32px, 5vw, 56px);
  max-width: 760px;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
.section-head--split {
  max-width: none;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px 48px;
}
@media (max-width: 760px) {
  .section-head--split {
    grid-template-columns: 1fr;
  }
}
.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1000px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}
.stack {
  display: grid;
  gap: 16px;
  align-content: start;
}
.stack-lg {
  display: grid;
  gap: 28px;
  align-content: start;
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--fg);
  --btn-bd: var(--line);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  padding-block: 10px;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background-color 0.25s,
    border-color 0.25s;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / 0.3) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
@media (hover: hover) {
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
}
@media (hover: hover) {
  .btn:hover::after {
    transform: translateX(120%);
  }
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
.btn .ic {
  transition: transform 0.35s var(--ease);
}
/* Seta dentro de um círculo, como nos botões do site RAEGO */
.btn .ic-move {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.24);
}
.btn--ghost .ic-move,
.btn--light .ic-move {
  background: rgba(22, 135, 175, 0.14);
}
@media (hover: hover) {
  .btn:hover .ic-move {
    transform: translateX(3px);
  }
}
.btn--primary {
  --btn-bg: var(--water);
  --btn-fg: #fff;
  --btn-bd: var(--water);
}
@media (hover: hover) {
  .btn--primary:hover {
    --btn-bg: var(--water-ink);
    --btn-bd: var(--water-ink);
  }
}
.btn--leaf {
  --btn-bg: var(--leaf);
  --btn-fg: #fff;
  --btn-bd: var(--leaf);
}
.btn--wa {
  --btn-bg: var(--wa);
  --btn-fg: #fff;
  --btn-bd: var(--wa);
}
.btn--ghost {
  --btn-bg: #e3f2f6;
  --btn-fg: var(--water-ink);
  --btn-bd: #b9dce6;
}
.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--deep);
  --btn-bd: #fff;
}
.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgb(255 255 255 / 0.45);
}
.btn--sm {
  min-height: 40px;
  padding: 0 14px;
}
.btn--lg {
  min-height: 54px;
  padding: 0 24px;
  font-size: 0.9375rem;
}
.btn--block {
  width: 100%;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  color: var(--water-ink);
  text-decoration: none;
}
.link-arrow .ic {
  transition: transform 0.3s var(--ease);
}
@media (hover: hover) {
  .link-arrow:hover .ic {
    transform: translateX(4px);
  }
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(22, 135, 175, 0.1);
  color: var(--water-ink);
  font-size: var(--t-xs);
  font-weight: 600;
}
.chip--leaf {
  background: rgba(63, 148, 19, 0.12);
  color: var(--leaf-ink);
}

/* ---------- Barra de progresso de leitura ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto;
  top: env(safe-area-inset-top, 0px);
  height: 3px;
  z-index: 70;
  background: var(--brand-grad);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .progress {
    animation: progress linear both;
    animation-timeline: scroll(root);
  }
  @keyframes progress {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(1);
    }
  }
}

/* ---------- Cabeçalho (barra branca de largura total) ---------- */
.header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  /* Sem desfoque de fundo: com o branco 94% opaco ele quase não aparece e pesa na rolagem do Safari */
  background: var(--glass);
  border-bottom: 1px solid var(--line);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.3s;
  view-transition-name: header;
}
.header.is-hidden {
  transform: translateY(-110%);
}
.header.is-scrolled {
  box-shadow: 0 6px 24px -12px rgb(6 48 63 / 0.25);
}
.header__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.logo {
  display: inline-flex;
  flex: none;
}
.logo img {
  height: 38px;
  width: auto;
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  position: relative;
  padding: 10px 12px;
  white-space: nowrap;
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
  transition: color 0.2s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--leaf);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
@media (hover: hover) {
  .nav a:hover {
    color: var(--water);
  }
}
.nav a[aria-current='page']::after {
  transform: scaleX(1);
}
@media (hover: hover) {
  .nav a:hover::after {
    transform: scaleX(1);
  }
}
.nav a[aria-current='page'] {
  color: var(--water-ink);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--fg);
  transition:
    transform 0.3s var(--ease),
    background-color 0.2s;
}
@media (hover: hover) {
  .icon-btn:hover {
    background: var(--surface-2);
  }
}
.menu-btn {
  display: none;
}
@media (max-width: 1080px) {
  .nav,
  .header__cta {
    display: none;
  }
  .menu-btn {
    display: inline-grid;
  }
  .header__actions {
    margin-left: auto;
  }
  :root {
    --header-h: 68px;
  }
}

/* Menu mobile */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 88; /* acima do aviso de cookies (85): o aviso tampava o botão do WhatsApp do menu */
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  padding: calc(16px + env(safe-area-inset-top, 0px)) var(--gutter-r) calc(24px + env(safe-area-inset-bottom, 0px))
    var(--gutter);
  color: var(--on-deep);
  overscroll-behavior: contain;
  visibility: hidden;
  transition: visibility 0s 0.6s;
}
/* O fundo abre como um círculo a partir do botão do menu. Animar transform (e não clip-path)
   deixa o trabalho com a placa de vídeo: não redesenha a tela inteira a cada quadro */
.mnav::before {
  content: '';
  position: fixed;
  z-index: -1;
  top: calc(44px + env(safe-area-inset-top, 0px));
  left: calc(100% - 44px);
  width: 300vmax;
  height: 300vmax;
  border-radius: 50%;
  background: var(--deep);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s var(--ease);
}
.mnav > * {
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.mnav.is-open {
  visibility: visible;
  transition: visibility 0s;
}
.mnav.is-open::before {
  transform: translate(-50%, -50%) scale(1);
  transition-duration: 0.7s;
}
.mnav.is-open > * {
  opacity: 1;
  transition-delay: 0.1s;
}
.mnav__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mnav__top .icon-btn {
  background: transparent;
  color: inherit;
  border-color: rgb(255 255 255 / 0.2);
}
.mnav__links {
  display: grid;
  align-content: center;
  gap: 4px;
}
.mnav__links a {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 8vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
  padding: 6px 0;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease),
    color 0.2s;
}
.mnav__links a[aria-current='page'] {
  color: #8fd5ec;
}
@media (hover: hover) {
  .mnav__links a:hover {
    color: #8fd5ec;
  }
}
.mnav.is-open .mnav__links a {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.15s + var(--i) * 0.05s);
}
.mnav__foot {
  display: grid;
  gap: 12px;
}
.mnav__staff {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.mnav__staff .ic {
  width: 16px;
  height: 16px;
}

/* Área do colaborador (painel interno da equipe) */
.staff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--fg);
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    border-color 0.2s,
    color 0.2s,
    transform 0.3s var(--ease);
}
.staff-btn .ic {
  width: 16px;
  height: 16px;
  flex: none;
}
@media (hover: hover) {
  .staff-btn:hover {
    border-color: var(--water);
    color: var(--water);
  }
}
.staff-btn:active {
  transform: scale(0.96);
}
@media (max-width: 1240px) {
  .nav {
    gap: 0;
  }
  .nav a {
    padding: 10px 9px;
  }
  .nav a::after {
    left: 9px;
    right: 9px;
  }
}
@media (max-width: 1320px) {
  .staff-btn {
    padding: 0;
    width: 40px;
  }
  .staff-btn span {
    display: none;
  }
}
@media (max-width: 1080px) {
  .staff-btn {
    width: 44px;
    height: 44px;
  }
}

/* ---------- Hero (home): foto de ponta a ponta com cartão branco, como no site RAEGO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  min-height: clamp(560px, 78vh, 760px);
  display: grid;
  align-items: center;
  padding-block: clamp(32px, 5vw, 64px);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  animation: hero-zoom 2.2s var(--ease) both;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(6 48 63 / 0.35), rgb(6 48 63 / 0) 55%);
}
@keyframes hero-zoom {
  from {
    transform: scale(1.12);
  }
}
.hero__card {
  position: relative;
  display: grid;
  gap: 22px;
  max-width: 560px;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--r-xl);
  background: rgb(255 255 255 / 0.96);
  box-shadow: var(--shadow-lg);
  animation: card-in 1s 0.15s var(--ease) both;
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
}
.hero h1 {
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.hero .stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 18px;
}
.hero .stat__num {
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.625rem);
  white-space: nowrap;
}
.hero .stat__label {
  font-size: var(--t-xs);
  line-height: 1.35;
}
.hero__badges {
  position: absolute;
  right: max(20px, calc(50% - 600px));
  bottom: clamp(24px, 4vw, 48px);
  display: grid;
  gap: 12px;
  z-index: 1;
}
.hero__float {
  background: rgb(255 255 255 / 0.95);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  animation: float-in 1s var(--ease) both;
}
.hero__float:nth-child(1) {
  animation-delay: 0.6s;
}
.hero__float:nth-child(2) {
  animation-delay: 0.8s;
}
@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
}
@keyframes bob {
  50% {
    transform: translateY(-6px);
  }
}
.mini-stat {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mini-stat__ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--leaf-ink);
  flex: none;
}
.mini-stat strong {
  display: block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
}
.mini-stat span {
  font-size: var(--t-xs);
  color: var(--muted);
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}
.stat {
  display: grid;
  gap: 2px;
  text-align: left;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem);
  letter-spacing: -0.01em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--leaf-ink);
}
.section--deep .stat__num,
.hero--deep .stat__num {
  color: #8ad05f;
}
.stat__label {
  font-size: var(--t-sm);
  color: var(--muted);
}
.section--deep .stat__label,
.hero--deep .stat__label {
  color: var(--on-deep-muted);
}
@media (max-width: 900px) {
  .hero {
    min-height: 0;
    padding-top: 240px;
  }
  .hero__bg {
    bottom: auto;
    height: 340px;
  }
  .hero__bg::after {
    background: linear-gradient(180deg, rgb(6 48 63 / 0) 50%, rgb(255 255 255 / 0.9));
  }
  .hero__badges {
    display: none;
  }
}

/* Linha d'água: SVG que se desenha ao carregar */
.flow {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 220px;
  pointer-events: none;
  z-index: 0;
  color: var(--water);
  opacity: 0.55;
}
.flow path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.6s 0.3s var(--ease) forwards;
}
.flow path + path {
  stroke: var(--leaf);
  stroke-width: 1.5;
  animation-delay: 0.6s;
  opacity: 0.7;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* Título dividido em palavras com entrada escalonada */
.split-words .w {
  display: inline-block;
  animation: word-in 0.9s var(--ease) both;
  animation-delay: calc(0.08s * var(--i));
}
@keyframes word-in {
  from {
    opacity: 0;
    transform: translateY(0.45em) rotate(2deg);
  }
}
.fade-in {
  animation: fade-up 0.9s var(--ease) both;
  animation-delay: var(--d, 0.3s);
}
/* Fotos principais: aparecem na hora (sem esperar a animação) e só deslizam de leve */
.rise-in {
  animation: rise-up 0.9s var(--ease) both;
  animation-delay: var(--d, 0.1s);
}
@keyframes rise-up {
  from {
    transform: translateY(16px);
  }
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* ---------- Hero interno ---------- */
.page-hero {
  padding-block: clamp(32px, 5vw, 64px) clamp(48px, 7vw, 96px);
  position: relative;
  overflow: hidden;
  overflow: clip;
  background: linear-gradient(180deg, var(--surface-2), var(--bg));
}
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.page-hero__grid > .stack-lg {
  min-width: 0;
}
.page-hero--solo .page-hero__grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 820px;
}
.page-hero__img {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-lg);
  max-width: 100%;
}
.page-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-zoom 1.6s var(--ease) both;
}
.hero--deep {
  background: linear-gradient(120deg, var(--deep), var(--deep-2));
  color: var(--on-deep);
}
.hero--deep .lede {
  color: var(--on-deep-muted);
}
@media (max-width: 900px) {
  .page-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: var(--t-xs);
  color: var(--muted);
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero--deep .crumbs {
  color: var(--on-deep-muted);
}
.crumbs li + li::before {
  content: '/';
  margin-right: 6px;
  opacity: 0.5;
}
.crumbs a {
  text-decoration: none;
}
@media (hover: hover) {
  .crumbs a:hover {
    text-decoration: underline;
  }
}

/* ---------- Revelar ao rolar ----------
   Sem JS ou sem suporte, o conteúdo já aparece. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
    [data-reveal='scale'] {
      animation-name: reveal-scale;
    }
  }
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}
@keyframes reveal-scale {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
}
.io-reveal [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(32px);
}
.io-reveal [data-reveal]:not(.is-done) {
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}

/* ---------- Cartões de área ---------- */
.area-card {
  position: relative;
  display: grid;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  isolation: isolate;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
@media (hover: hover) {
  .area-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
  }
}
.area-card__img {
  aspect-ratio: 4 / 3.3;
  overflow: hidden;
}
.area-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
@media (hover: hover) {
  .area-card:hover .area-card__img img {
    transform: scale(1.08);
  }
}
.area-card__body {
  display: grid;
  gap: 10px;
  padding: 22px 24px 26px;
}
.area-card__body p {
  color: var(--muted);
  font-size: var(--t-sm);
}
.area-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--glass);
  font-size: var(--t-xs);
  font-weight: 650;
}

/* ---------- Diferenciais / features ---------- */
.feature {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.5s var(--ease),
    border-color 0.3s;
}
.feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, -40%),
    rgba(22, 135, 175, 0.14),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
@media (hover: hover) {
  .feature:hover::before {
    opacity: 1;
  }
}
@media (hover: hover) {
  .feature:hover {
    transform: translateY(-4px);
    border-color: rgb(133, 191, 210);
  }
}
.feature p {
  color: var(--muted);
  font-size: var(--t-sm);
}
.feature__ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--mint);
  color: var(--leaf-ink);
  margin-bottom: 6px;
}
.feature__ic .ic {
  width: 26px;
  height: 26px;
}
.feature--leaf .feature__ic {
  background: rgba(22, 135, 175, 0.12);
  color: var(--water-ink);
}
.section--deep .feature {
  background: rgb(255 255 255 / 0.04);
  border-color: rgb(255 255 255 / 0.1);
}
.section--deep .feature p {
  color: var(--on-deep-muted);
}
.section--deep .feature__ic {
  background: rgb(143 213 236 / 0.14);
  color: #8fd5ec;
}

/* ---------- Depoimentos (marquee) ---------- */
.marquee {
  --gap: 20px;
  display: flex;
  overflow: hidden;
  gap: var(--gap);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: var(--gap);
  flex: none;
  min-width: 100%;
  animation: marquee var(--dur, 60s) linear infinite;
}
.marquee--reverse .marquee__track {
  animation-direction: reverse;
}
.marquee:focus-within .marquee__track,
.marquee.is-off .marquee__track {
  animation-play-state: paused;
}
@media (hover: hover) {
  .marquee:hover .marquee__track {
    animation-play-state: paused;
  }
}
@keyframes marquee {
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}
.review {
  color: var(--fg);
  flex: none;
  width: min(360px, 80vw);
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.review__stars {
  display: flex;
  gap: 2px;
  color: var(--star);
}
.review__stars .ic {
  width: 16px;
  height: 16px;
}
.review__stars .off {
  color: var(--line);
}
.review blockquote {
  margin: 0;
  font-size: var(--t-sm);
  line-height: 1.6;
}
.review__who {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--t-xs);
  color: var(--muted);
}
.review__who strong {
  display: block;
  color: var(--fg);
  font-size: var(--t-sm);
}
.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-grad);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  flex: none;
}
.review__reply {
  font-size: var(--t-xs);
  color: var(--muted);
  border-left: 2px solid var(--line);
  padding-left: 12px;
}

/* ---------- Bloco "sobre" com imagem ---------- */
.media-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
  max-width: 100%;
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--tall {
  aspect-ratio: 4 / 5;
}
.media-frame__badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--glass);
  font-size: var(--t-sm);
}

/* ---------- Produtos ---------- */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  font-weight: 600;
  font-size: var(--t-sm);
  transition:
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}
@media (hover: hover) {
  .filter:hover {
    border-color: var(--water);
  }
}
.filter[aria-pressed='true'] {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.filter .count {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  opacity: 0.6;
}
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(16px, 2vw, 24px);
}
@media (min-width: 1100px) {
  .products--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .products--5 .pcard__body p {
    font-size: var(--t-xs);
  }
}
.pcard {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  text-decoration: none;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    border-color 0.3s;
}
@media (hover: hover) {
  .pcard:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
  }
}
.pcard__stage {
  position: relative;
  aspect-ratio: 1;
  background: var(--stage);
  overflow: hidden;
}
.pcard__stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.6s var(--ease),
    transform 1s var(--ease);
}
.pcard__stage img + img {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.06);
}
@media (hover: hover) {
  .pcard:hover .pcard__stage img:first-child {
    transform: scale(1.04);
  }
}
@media (hover: hover) {
  .pcard:hover .pcard__stage img + img {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
  }
}
.pcard__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--leaf-ink);
  font-family: var(--font-ui);
  letter-spacing: 0.02em;
  font-size: 0.75rem;
  font-weight: 650;
}
.pcard__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
}
.pcard__body > p {
  margin-bottom: auto;
}
.pcard__body h3 {
  font-size: 1.125rem;
}
.pcard__body p {
  font-size: var(--t-sm);
  color: var(--muted);
  line-height: 1.5;
}
.pcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.pcard__price {
  font-size: var(--t-xs);
  color: var(--muted);
}
.pcard__price strong {
  display: block;
  font-size: 1.0625rem;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.pcard__go {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--water-ink);
  transition:
    transform 0.4s var(--ease),
    background-color 0.3s,
    color 0.3s;
}
@media (hover: hover) {
  .pcard:hover .pcard__go {
    background: var(--water);
    color: #fff;
    transform: rotate(-45deg);
  }
}
.pcard.is-hidden {
  display: none;
}
.line-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.line-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 20px;
  align-items: start;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}
.line-item .feature__ic {
  margin: 0;
}
.line-item p {
  color: var(--muted);
}
@media (max-width: 760px) {
  .line-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .line-item p {
    grid-column: 2;
  }
}

/* ---------- Slider genérico ---------- */
.slider {
  position: relative;
}
.slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--r-xl);
  overscroll-behavior-x: contain;
}
.slider__track::-webkit-scrollbar {
  display: none;
}
.slider__track > * {
  scroll-snap-align: start;
  min-width: 0;
}
.slider__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}
.dots {
  display: flex;
}
/* O ponto visível tem 8 px, mas a área de toque tem 24 px */
.dots button {
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  padding: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  background-clip: content-box;
  transition:
    width 0.4s var(--ease),
    background-color 0.3s;
}
.dots button[aria-current='true'] {
  width: 44px;
  background-color: var(--water);
}
/* ---------- Banners da página Produtos ----------
   Mesma linguagem do catálogo: "Linha" + nome na cor da seção, foto com cantos arredondados,
   detalhe em círculo, quartos de círculo atrás da foto e faixa em degradê azul → verde. */
.pbanner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  min-height: clamp(380px, 34vw, 470px);
  padding: clamp(32px, 4vw, 56px) clamp(28px, 4.5vw, 64px) clamp(40px, 4.6vw, 64px);
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--tint);
  color: var(--fg);
  text-decoration: none;
}
.pbanner::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -160px;
  left: -140px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.65);
}
.pbanner::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--water), var(--aqua) 45%, var(--leaf));
}
.pbanner__text {
  display: grid;
  justify-items: start;
  gap: 12px;
}
.pbanner__tag {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 700 0.8125rem / 1 var(--font-ui);
  letter-spacing: 0.02em;
}
.pbanner__name {
  display: grid;
  margin-top: 4px;
  font: 800 clamp(2.25rem, 4.3vw, 3.75rem) / 1 var(--font-ui);
  letter-spacing: -0.025em;
  color: var(--ink);
}
.pbanner__name small {
  margin-bottom: 4px;
  font: 500 clamp(1.0625rem, 1.5vw, 1.375rem) / 1.2 var(--font-ui);
  letter-spacing: 0;
  color: var(--fg);
}
.pbanner__hook {
  max-width: 24ch;
  font: 700 clamp(1.1875rem, 1.9vw, 1.625rem) / 1.25 var(--font-ui);
  letter-spacing: -0.01em;
  color: var(--fg);
}
.pbanner__hook em {
  font-style: normal;
  color: var(--ink);
}
.pbanner__lede {
  max-width: 46ch;
  color: var(--muted);
  font-size: var(--t-base);
  line-height: 1.55;
}
.pbanner__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 8px;
}
.pbanner .btn--primary {
  background: var(--ink);
  border-color: var(--ink);
}
.pbanner__rate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 0.875rem / 1.2 var(--font-ui);
  color: var(--fg);
}
.pbanner__rate b {
  font-weight: 800;
}
.pbanner__rate .ic {
  width: 18px;
  height: 18px;
  color: #f2a516;
}
.pbanner__media {
  position: relative;
  align-self: stretch;
  min-height: 300px;
}
.pbanner__frame {
  position: absolute;
  z-index: 1;
  inset: 2% 5% 2% 9%;
  overflow: hidden;
  border-radius: 28px 28px 28px 110px;
  background: #fff;
  box-shadow: 0 18px 40px -18px rgb(6 48 63 / 0.45);
}
.pbanner__photo,
.pbanner__detail-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease, ease);
}
/* Fotos DANFLOR/Kariris: aviso discreto de imagem ilustrativa */
.pbanner__note {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgb(14 35 41 / 0.6);
  color: #fff;
  font: 500 0.6875rem / 1.2 var(--font-ui);
}
.pbanner__detail {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: -2%;
  width: clamp(112px, 12.5vw, 176px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 6px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 28px rgb(6 48 63 / 0.22);
}
/* Rolo inteiro recortado, na frente da foto de uso */
.pbanner__pack {
  position: absolute;
  z-index: 3;
  right: -4%;
  bottom: -10%;
  width: 45%;
  max-height: 70%;
  height: auto;
  object-fit: contain;
  object-position: right bottom;
  /* A sombra já vem na imagem: filtro de sombra animado pesa no Safari */
  pointer-events: none;
}
.pbanner__q {
  position: absolute;
  width: clamp(64px, 7.5vw, 104px);
  aspect-ratio: 1;
}
/* A curva fica para fora da foto, como os recortes da capa do catálogo */
.pbanner__q--1 {
  top: -3%;
  right: 0;
  border-radius: 0 100% 0 0;
  background: var(--sec);
}
.pbanner__q--2 {
  right: 0;
  bottom: 6%;
  width: clamp(52px, 6vw, 84px);
  border-radius: 0 0 100% 0;
  background: var(--water);
}
.pbanner__q--3 {
  top: 12%;
  left: 2%;
  width: clamp(44px, 5vw, 68px);
  border-radius: 100% 0 0 0;
  background: #2f3e44;
}
.pbanner__brand {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  width: 112px;
  height: auto;
  padding: 6px 10px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 16px rgb(6 48 63 / 0.15);
}
@media (hover: hover) {
  .pbanner:hover .pbanner__photo {
    transform: scale(1.04);
  }
}
/* Entrada do slide: o texto sobe em sequência, a foto se ajeita e o círculo gira para o lugar.
   Só depois que o carrossel liga (sem JavaScript, tudo aparece normalmente). */
@media (prefers-reduced-motion: no-preference) {
  .is-live .pbanner__text > *,
  .is-live .pbanner__frame,
  .is-live .pbanner__detail,
  .is-live .pbanner__pack,
  .is-live .pbanner__q {
    transition:
      opacity 0.6s var(--ease),
      transform 0.8s var(--ease);
  }
  .is-live .pbanner:not(.is-current) .pbanner__text > * {
    opacity: 0;
    transform: translateY(18px);
  }
  .is-live .pbanner:not(.is-current) .pbanner__frame {
    transform: scale(0.94);
  }
  .is-live .pbanner:not(.is-current) .pbanner__detail {
    opacity: 0;
    transform: scale(0.5) rotate(-25deg);
  }
  .is-live .pbanner:not(.is-current) .pbanner__q {
    transform: scale(0.4);
  }
  .is-live .pbanner:not(.is-current) .pbanner__pack {
    opacity: 0;
    transform: translate(12%, 10%) scale(0.9);
  }
  .is-live .pbanner.is-current .pbanner__pack {
    transition-delay: 0.3s;
  }
  .is-live .pbanner.is-current .pbanner__text > :nth-child(2) {
    transition-delay: 0.06s;
  }
  .is-live .pbanner.is-current .pbanner__text > :nth-child(3) {
    transition-delay: 0.12s;
  }
  .is-live .pbanner.is-current .pbanner__text > :nth-child(4) {
    transition-delay: 0.18s;
  }
  .is-live .pbanner.is-current .pbanner__text > :nth-child(5) {
    transition-delay: 0.24s;
  }
  .is-live .pbanner.is-current .pbanner__detail {
    transition-delay: 0.2s;
  }
}
@media (max-width: 760px) {
  .pbanner {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 22px;
    min-height: 0;
    padding: 18px 18px 30px;
  }
  .pbanner__media {
    order: -1;
    /* Altura explícita: no Safari, aspect-ratio num item de grade só com filhos absolutos dá altura zero */
    height: clamp(190px, 64vw, 340px);
    min-height: 0;
  }
  .pbanner__frame {
    inset: 0 5% 0 6%;
    border-radius: 22px 22px 22px 72px;
  }
  .pbanner__detail {
    width: 96px;
    border-width: 4px;
    bottom: -6%;
  }
  .pbanner__brand {
    width: 88px;
  }
  .pbanner__pack {
    right: -3%;
    bottom: -12%;
    width: 48%;
  }
  .pbanner__text {
    gap: 10px;
  }
  .pbanner__name {
    font-size: 2.125rem;
  }
  .pbanner__lede {
    font-size: var(--t-sm);
  }
}

/* ---------- Página de produto ---------- */
.pd {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 960px) {
  .pd {
    grid-template-columns: minmax(0, 1fr);
  }
}
.gallery {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  display: grid;
  gap: 12px;
}
@media (max-width: 960px) {
  .gallery {
    position: static;
  }
}
.gallery__main {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--stage);
  border: 1px solid var(--line);
  cursor: zoom-in;
  padding: 0;
  max-width: 100%;
}
.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.35s var(--ease),
    transform 0.6s var(--ease);
}
.gallery__main img.is-swapping {
  opacity: 0;
  transform: scale(1.03);
}
.gallery__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.92);
  color: #0f252c;
  box-shadow: var(--shadow-sm);
}
.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 10px;
}
.gallery__thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--stage);
  aspect-ratio: 1;
  transition:
    border-color 0.25s,
    transform 0.3s var(--ease);
}
@media (hover: hover) {
  .gallery__thumbs button:hover {
    transform: translateY(-2px);
  }
}
.gallery__thumbs button[aria-current='true'] {
  border-color: var(--water);
}
.gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pd__info {
  display: grid;
  gap: 24px;
  min-width: 0;
}
.pd__info h1 {
  font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.5rem);
}
.pricebox {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.pricebox__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
.pricebox__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.pricebox__note {
  font-size: var(--t-sm);
  color: var(--muted);
}
.pricebox__actions {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 10px;
}
@media (max-width: 1180px) {
  .pricebox__actions {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 480px) {
  .pricebox__actions {
    grid-template-columns: minmax(0, 1fr);
  }
}
.secure {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--t-xs);
  color: var(--muted);
}
.perks {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.perks li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: var(--t-sm);
}
.perks .ic {
  color: var(--leaf-ink);
}
/* Cores disponíveis no topo da página: só as bolinhas (o nome aparece na escolha do pedido) */
.color-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.color-dots .swatch {
  width: 20px;
  height: 20px;
  margin: 0;
  vertical-align: 0;
}
.variants {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.variant {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: var(--t-xs);
  font-weight: 600;
  background: var(--surface);
}
.swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: -1px;
  border: 1px solid rgb(0 0 0 / 0.15);
}

/* Linhas alternadas de detalhes */
.details {
  display: grid;
  gap: clamp(48px, 7vw, 96px);
}
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.detail:nth-child(even) .detail__media {
  order: 2;
}
.detail__media {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--stage);
  max-width: 100%;
}
.detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail__text {
  display: grid;
  gap: 16px;
  max-width: 52ch;
}
.detail__text p {
  color: var(--muted);
  font-size: var(--t-lg);
  line-height: 1.6;
}
.detail__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--water-ink);
  font-weight: 650;
  font-size: var(--t-sm);
}
@media (max-width: 800px) {
  .detail {
    grid-template-columns: minmax(0, 1fr);
  }
  .detail:nth-child(even) .detail__media {
    order: 0;
  }
}

/* Comparativo */
.compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.compare__col {
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 24px;
}
.compare__col--us {
  background: linear-gradient(160deg, rgb(222, 238, 244), var(--surface));
}
.compare__col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.compare__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.compare__col li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--t-sm);
}
.compare__col li .ic {
  margin-top: 2px;
}
.compare__col--us li .ic {
  color: var(--leaf-ink);
}
.compare__col--them {
  color: var(--muted);
}
.compare__col--them li .ic {
  color: var(--danger);
}
@media (max-width: 560px) {
  .compare {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Vídeo com carregamento sob demanda */
.lite-video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  padding: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #000;
  color: #fff;
  max-width: 100%;
}
.lite-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition:
    transform 0.8s var(--ease),
    opacity 0.4s;
}
@media (hover: hover) {
  .lite-video:hover img {
    transform: scale(1.04);
    opacity: 0.6;
  }
}
.lite-video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  font-weight: 650;
}
.lite-video__play span:first-child {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.95);
  color: var(--water);
  position: relative;
  isolation: isolate;
}
.lite-video__play span:first-child::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 50%;
  opacity: 0;
  background: rgb(255 255 255 / 0.5);
  animation: pulse 2.4s infinite;
}
.lite-video__play .ic {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}
.lite-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  70%,
  100% {
    transform: scale(1.52);
    opacity: 0;
  }
}

/* Caixa de compra */
.buy {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--deep-2), var(--deep));
  color: var(--on-deep);
  position: relative;
  overflow: hidden;
}
.buy::before {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  right: -160px;
  top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(61 176 214 / 0.35), transparent 65%);
  pointer-events: none;
}
.buy__imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.buy__imgs img {
  border-radius: var(--r-md);
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  background: var(--stage);
}
/* Foto da cor escolhida no pedido (macarrões): troca com um leve esmaecer */
.buy__pick {
  position: relative;
  margin: 0;
}
.buy__pick img {
  transition: opacity 0.25s var(--ease);
}
.buy__pick img.is-swapping {
  opacity: 0.25;
}
.buy__pick figcaption {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgb(6 48 63 / 0.82);
  color: #fff;
  font-size: var(--t-xs);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.buy__pick figcaption:empty {
  display: none;
}
.buy__card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.12);
}
.buy__card .pricebox__note {
  color: var(--on-deep-muted);
}
.yampi-slot {
  min-height: 0;
}
.yampi-slot:empty {
  display: none;
}
@media (max-width: 860px) {
  .buy {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Pedido pelo WhatsApp */
.pricebox__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  font-weight: 600;
  color: #167c42;
}
.pricebox__title .ic {
  width: 22px;
  height: 22px;
}
.order {
  display: grid;
  gap: 16px;
}
.buy__card .field > label,
.buy__card legend {
  color: var(--on-deep);
  font-size: var(--t-sm);
  font-weight: 600;
  margin-bottom: 8px;
  padding: 0;
}
.buy__card .pill span {
  min-height: 40px;
  padding: 0 14px;
  gap: 8px;
  font-size: 0.875rem;
  text-align: left;
  line-height: 1.25;
}
.buy__card .pill .swatch {
  margin: 0;
  flex: none;
  border-color: rgb(255 255 255 / 0.5);
}
.buy__card .input {
  background: #fff;
  color: var(--fg);
  border-color: transparent;
}
.buy__card .pill span {
  border-color: rgb(255 255 255 / 0.3);
  color: var(--on-deep);
}
.buy__card .pill input:checked + span {
  background: #fff;
  border-color: #fff;
  color: var(--deep);
}
.buy__card .secure {
  color: var(--on-deep-muted);
}
/* Escolha por amostra de cor: o nome da cor escolhida aparece no título */
.buy__card legend strong {
  font-weight: 700;
}
.buy__card legend span {
  font-weight: 400;
  color: var(--on-deep-muted);
}
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sw {
  position: relative;
  cursor: pointer;
}
.sw input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sw span {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgb(255 255 255 / 0.35);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.sw input:checked + span {
  border-color: var(--deep);
  box-shadow: 0 0 0 3px #fff;
}
.sw input:focus-visible + span {
  outline: 3px solid var(--leaf);
  outline-offset: 4px;
}
@media (hover: hover) {
  .sw:hover span {
    transform: scale(1.08);
  }
}
/* Opção única (ex.: Kariris só em rolo de 100 m): só informa */
.opt--fixed {
  margin: 0;
  color: var(--on-deep);
  font-size: var(--t-sm);
}
.opt--fixed span {
  color: var(--on-deep-muted);
}
.buy__card select.input {
  min-height: 48px;
  font-weight: 600;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230f6e90' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
select.input {
  appearance: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230f6e90' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.qty {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  gap: 8px;
  max-width: 220px;
}
.qty .input {
  text-align: center;
  font-family: var(--font-ui);
  font-weight: 600;
  -moz-appearance: textfield;
}
.qty .input::-webkit-outer-spin-button,
.qty .input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty__btn {
  border-radius: var(--r-sm);
  border: 1.5px solid rgb(255 255 255 / 0.3);
  background: transparent;
  color: var(--on-deep);
  font-size: 1.375rem;
  line-height: 1;
  transition: background-color 0.2s;
}
@media (hover: hover) {
  .qty__btn:hover {
    background: rgb(255 255 255 / 0.12);
  }
}
.order__code {
  margin: -4px 0 0;
  font-family: var(--font-ui);
  font-size: var(--t-xs);
  color: #9fdc78;
  min-height: 1.2em;
}

/* Especificações */
.table-hint {
  display: none;
  font-size: var(--t-xs);
  color: var(--muted);
  margin: -12px 0 0;
}
@media (max-width: 760px) {
  .table-hint {
    display: block;
  }
}
.table-wrap {
  /* sombra indicando que dá para rolar para o lado */
  background:
    linear-gradient(90deg, var(--surface) 30%, transparent) left / 24px 100% no-repeat local,
    linear-gradient(-90deg, var(--surface) 30%, transparent) right / 24px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgb(6 48 63 / 0.18), transparent) left / 12px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgb(6 48 63 / 0.18), transparent) right / 12px 100% no-repeat scroll,
    var(--surface);
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-sm);
}
.table--wide {
  min-width: 560px;
}
.table th,
.table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table thead th {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
  font-weight: 500;
}
.table tbody tr {
  transition: background-color 0.2s;
}
@media (hover: hover) {
  .table tbody tr:hover {
    background: rgba(22, 135, 175, 0.05);
  }
}
.table tr:last-child td {
  border-bottom: 0;
}
.table .code {
  font-family: var(--font-ui);
  font-variant-numeric: tabular-nums;
  color: var(--water-ink);
}
.uses {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.uses li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: var(--t-sm);
  font-weight: 550;
}
.uses .ic {
  color: var(--leaf-ink);
}

/* FAQ */
.faq {
  display: grid;
  gap: 10px;
}
.faq details {
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  interpolate-size: allow-keywords;
}
.faq details[open] {
  border-color: rgb(124, 186, 207);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .ic {
  transition: transform 0.4s var(--ease);
  color: var(--water-ink);
}
.faq details[open] summary .ic {
  transform: rotate(180deg);
}
.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition:
    block-size 0.45s var(--ease),
    content-visibility 0.45s allow-discrete;
}
.faq details[open]::details-content {
  block-size: auto;
}
.faq__a {
  padding: 0 22px 20px;
  color: var(--muted);
  max-width: 75ch;
}
.notes {
  display: grid;
  gap: 6px;
  font-size: var(--t-xs);
  color: var(--muted);
  max-width: 90ch;
  list-style: none;
  padding: 0;
  margin: 0;
}
.notes sup {
  font-family: var(--font-ui);
  color: var(--water-ink);
  margin-right: 4px;
}

/* Barra fixa de compra no celular */
.buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px var(--gutter-r) calc(12px + env(safe-area-inset-bottom, 0px)) var(--gutter);
  background: var(--glass);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.45s var(--ease);
}
.buybar.is-on {
  transform: none;
}
.buybar__txt {
  min-width: 0;
  flex: 1;
  font-size: var(--t-xs);
  color: var(--muted);
  line-height: 1.3;
}
.buybar__txt strong {
  display: block;
  font-size: var(--t-base);
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 760px) {
  .buybar {
    display: flex;
  }
  .has-buybar .wa-float {
    display: none;
  }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  /* Linha com altura limitada: sem isso a foto grande passava da borda de baixo da tela */
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  overscroll-behavior: contain;
  touch-action: pan-y pinch-zoom;
  padding: calc(56px + env(safe-area-inset-top, 0px)) var(--gutter-r) calc(56px + env(safe-area-inset-bottom, 0px))
    var(--gutter);
  background: rgb(4 16 20 / 0.92);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s,
    visibility 0s 0.35s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s;
}
.lightbox img {
  max-height: 100%;
  max-width: min(100%, 1100px);
  width: auto;
  border-radius: var(--r-md);
  object-fit: contain;
  transform: scale(0.96);
  transition: transform 0.45s var(--ease);
  touch-action: pan-y;
}
.lightbox.is-open img {
  transform: none;
}
.lightbox .icon-btn {
  position: absolute;
  background: rgb(255 255 255 / 0.1);
  color: #fff;
  border-color: rgb(255 255 255 / 0.2);
}
.lightbox__close {
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: calc(12px + env(safe-area-inset-right, 0px));
}
.lightbox__prev {
  left: calc(12px + env(safe-area-inset-left, 0px));
  top: 50%;
}
.lightbox__next {
  right: calc(12px + env(safe-area-inset-right, 0px));
  top: 50%;
}
.lightbox__count {
  position: absolute;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: var(--font-ui);
  font-size: var(--t-xs);
}

/* ---------- Linha do tempo (Sobre) ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: clamp(48px, 7vw, 96px);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--water), var(--leaf));
  transform: translateX(-50%);
  border-radius: 2px;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .timeline::before {
      transform-origin: top;
      animation: grow linear both;
      animation-timeline: view();
      animation-range: entry 20% cover 70%;
    }
  }
  @keyframes grow {
    from {
      transform: translateX(-50%) scaleY(0);
    }
  }
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 8vw, 120px);
  align-items: center;
}
.tl-item::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 4px solid var(--water);
  transform: translate(-50%, -50%);
}
.tl-item:nth-child(even) .tl-item__media {
  order: 2;
}
.tl-item__media {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  max-width: 100%;
}
.tl-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tl-item__year {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2rem + 4vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--water);
  opacity: 0.9;
}
@media (max-width: 800px) {
  .timeline::before,
  .tl-item::after {
    left: 10px;
  }
  .tl-item {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 40px;
    gap: 20px;
  }
  .tl-item:nth-child(even) .tl-item__media {
    order: 0;
  }
  .tl-item::after {
    top: 0;
    transform: translate(-50%, 0);
  }
}

/* Valores */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  border-top: 1px solid rgb(255 255 255 / 0.12);
}
.value {
  display: grid;
  gap: 4px;
  padding: 24px 24px 24px 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
}
.value strong {
  font-family: var(--font-display);
  font-size: var(--t-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.value span {
  color: var(--on-deep-muted);
}

/* ---------- Contato e formulários ---------- */
.contact-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  transition:
    transform 0.4s var(--ease),
    border-color 0.3s,
    box-shadow 0.4s;
  min-width: 0;
}
@media (hover: hover) {
  a.contact-card:hover {
    transform: translateY(-3px);
    border-color: rgb(124, 186, 207);
    box-shadow: var(--shadow-md);
  }
}
.contact-card__ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(22, 135, 175, 0.12);
  color: var(--water-ink);
  flex: none;
}
.contact-card--wa .contact-card__ic {
  background: rgba(22, 128, 68, 0.15);
  color: var(--wa);
}
.contact-card small {
  display: block;
  color: var(--muted);
  font-size: var(--t-xs);
}
.contact-card strong {
  display: block;
  overflow-wrap: anywhere;
}
.form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 36px);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
@media (max-width: 560px) {
  .form__row {
    grid-template-columns: minmax(0, 1fr);
  }
}
.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.field label,
.field legend {
  font-size: var(--t-sm);
  font-weight: 600;
}
.field .opt {
  font-weight: 400;
  color: var(--muted);
}
.input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: var(--bg);
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background-color 0.2s;
}
textarea.input {
  min-height: 130px;
  resize: vertical;
}
@media (hover: hover) {
  .input:hover {
    border-color: rgb(133, 191, 210);
  }
}
.input:focus {
  outline: none;
  border-color: var(--water);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(22, 135, 175, 0.18);
}
.field.is-invalid .input {
  border-color: var(--danger);
}
.field__err {
  font-size: var(--t-xs);
  color: var(--danger);
  min-height: 0;
}
.field__hint {
  font-size: var(--t-xs);
  color: var(--muted);
}
fieldset.field {
  border: 0;
  padding: 0;
  margin: 0;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pill span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: var(--t-sm);
  font-weight: 550;
  cursor: pointer;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.pill input:checked + span {
  background: var(--water);
  border-color: var(--water);
  color: #fff;
}
.pill input:focus-visible + span {
  outline: 3px solid var(--water);
  outline-offset: 2px;
}
.drop {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 22px;
  border-radius: var(--r-md);
  border: 1.5px dashed var(--line);
  background: var(--bg);
  text-align: center;
  font-size: var(--t-sm);
  color: var(--muted);
  transition:
    border-color 0.2s,
    background-color 0.2s;
}
.drop .ic {
  width: 28px;
  height: 28px;
  color: var(--water-ink);
}
.drop strong {
  color: var(--fg);
}
.drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.drop.is-over {
  border-color: var(--water);
  background: rgb(241, 248, 250);
}
@media (hover: hover) {
  .drop:hover {
    border-color: var(--water);
    background: rgb(241, 248, 250);
  }
}
.drop:focus-within {
  border-color: var(--water);
  box-shadow: 0 0 0 4px rgba(22, 135, 175, 0.18);
}
.files {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.files li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: var(--t-xs);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.form__foot {
  display: grid;
  gap: 10px;
}
.form__legal {
  font-size: var(--t-xs);
  color: var(--muted);
}
.form.is-sent .form__body {
  display: none;
}
.form__done {
  display: none;
  gap: 14px;
  justify-items: start;
  padding-block: 24px;
}
.form.is-sent .form__done {
  display: grid;
  animation: fade-up 0.6s var(--ease);
}
.form__done .feature__ic {
  background: rgba(63, 148, 19, 0.14);
  color: var(--leaf-ink);
}
.btn.is-loading {
  pointer-events: none;
  opacity: 0.75;
}

/* Representantes */
.rep {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s;
}
@media (hover: hover) {
  .rep:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}
.rep__head {
  display: flex;
  gap: 14px;
  align-items: center;
}
.rep__logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--line);
  flex: none;
}
.rep__logo--txt {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--water-ink);
  background: var(--surface-2);
}
.rep__links {
  display: grid;
  gap: 8px;
  font-size: var(--t-sm);
}
.rep__links a {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}
@media (hover: hover) {
  .rep__links a:hover {
    color: var(--water-ink);
  }
}
.rep__links .ic {
  color: var(--water-ink);
}
.rep.is-hidden {
  display: none;
}
.condition {
  display: grid;
  gap: 8px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.12);
}
.condition strong {
  font-family: var(--font-display);
  font-size: var(--t-xl);
  font-weight: 600;
}
.condition p {
  color: var(--on-deep-muted);
  font-size: var(--t-sm);
}

/* Passos (garantia) */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--water-ink);
  letter-spacing: 0.08em;
}
.step p {
  color: var(--muted);
  font-size: var(--t-sm);
}
@media (max-width: 800px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}
.callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: rgb(236, 245, 249);
  border: 1px solid rgb(161, 205, 219);
  font-size: var(--t-sm);
}
.callout .ic {
  color: var(--water-ink);
  margin-top: 2px;
}
.callout--leaf {
  background: rgb(240, 246, 236);
  border-color: rgb(171, 208, 180);
}
.callout--leaf .ic {
  color: var(--leaf-ink);
}
.big-num {
  font-family: var(--font-display);
  font-size: clamp(4rem, 2.5rem + 6vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.85;
}

/* Vagas */
.job {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.job__ic {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  background: var(--brand-grad);
  color: #fff;
}
.job__ic .ic {
  width: 44px;
  height: 44px;
}
.job ul {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: var(--t-sm);
}
@media (max-width: 560px) {
  .job {
    grid-template-columns: minmax(0, 1fr);
  }
  .job__ic {
    width: 72px;
  }
}

/* Textos legais */
.legal {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.toc {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: grid;
  gap: 4px;
  font-size: var(--t-sm);
}
.toc a {
  padding: 8px 12px;
  border-radius: var(--r-sm);
  color: var(--muted);
  text-decoration: none;
  border-left: 2px solid var(--line);
  border-radius: 0;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.toc a.is-active {
  color: var(--water-ink);
  border-left-color: var(--water);
}
@media (hover: hover) {
  .toc a:hover {
    color: var(--water-ink);
    border-left-color: var(--water);
  }
}
.legal__body {
  display: grid;
  gap: 40px;
  max-width: 72ch;
}
.legal__body section {
  display: grid;
  gap: 12px;
}
.legal__body h2 {
  font-size: var(--t-xl);
}
.legal__body p,
.legal__body li {
  color: var(--muted);
}
.legal__body ul {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 8px;
}
.legal__body strong {
  color: var(--fg);
}
.summary {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: rgb(240, 246, 236);
  border: 1px solid rgb(171, 208, 180);
}
.summary ul {
  list-style: none;
  padding: 0;
}
.summary li {
  display: flex;
  gap: 10px;
  color: var(--fg);
}
.summary li .ic {
  color: var(--leaf-ink);
  margin-top: 3px;
}
@media (max-width: 900px) {
  .legal {
    grid-template-columns: minmax(0, 1fr);
  }
  .toc {
    position: static;
    display: none;
  }
}

/* ---------- CTA final ---------- */
.cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 24px 48px;
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--r-xl);
  background: var(--deep);
  color: var(--on-deep);
}
.cta::before {
  content: '';
  position: absolute;
  inset: auto -10% -60% 30%;
  height: 120%;
  background: radial-gradient(closest-side, rgb(116 194 74 / 0.28), transparent);
  pointer-events: none;
}
.cta p {
  color: var(--on-deep-muted);
}
.cta > * {
  position: relative;
}
@media (max-width: 760px) {
  .cta {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Rodapé (azul-claro, como no site RAEGO) ---------- */
.footer {
  position: relative;
  background: var(--surface-3);
  color: var(--fg);
  padding-block: clamp(56px, 8vw, 88px) calc(24px + env(safe-area-inset-bottom, 0px));
  margin-top: var(--section);
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--brand-grad);
}
.footer a {
  text-decoration: none;
}
@media (hover: hover) {
  .footer a:hover {
    color: var(--water);
  }
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
}
.footer h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer ul a {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(63, 148, 19, 0.35);
}
.footer__brand {
  display: grid;
  gap: 18px;
  align-content: start;
}
.footer__brand img {
  height: 48px;
  width: auto;
}
.footer__brand p {
  color: var(--muted);
  max-width: 34ch;
}
.socials {
  display: flex;
  gap: 8px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--leaf-ink);
  transition:
    background-color 0.3s,
    transform 0.3s var(--ease);
}
@media (hover: hover) {
  .socials a:hover {
    background: var(--leaf);
    color: #fff;
    transform: translateY(-3px);
  }
}
.footer__contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  overflow-wrap: anywhere;
}
.footer__contact a {
  border: 0 !important;
  padding: 0 !important;
}
.footer__contact .ic {
  color: var(--leaf);
  margin-top: 4px;
}
.map {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgb(22 135 175 / 0.07) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgb(22 135 175 / 0.07) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--surface-2);
  max-width: 100%;
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map__btn {
  display: grid;
  justify-items: center;
  gap: 8px;
  background: none;
  border: 0;
  color: var(--fg);
  font-size: var(--t-sm);
  text-align: center;
  padding: 16px;
}
.map__btn .ic {
  width: 32px;
  height: 32px;
  color: var(--water);
  animation: bob 3s ease-in-out infinite;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: var(--t-xs);
  color: var(--muted);
}
.footer__legal {
  display: grid;
  gap: 4px;
}
.footer__legal strong {
  color: var(--fg);
  font-weight: 400;
}
.footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
@media (max-width: 1000px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 18px 0 16px;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  box-shadow: 0 10px 30px -8px rgb(28 159 85 / 0.6);
  transition: transform 0.4s var(--ease);
  animation: float-in 0.8s 1.2s var(--ease) both;
}
.wa-float .ic {
  width: 28px;
  height: 28px;
}
@media (hover: hover) {
  .wa-float:hover {
    transform: translateY(-3px) scale(1.03);
  }
}
.wa-float::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: rgb(28 159 85 / 0.5);
  /* Pulso só com transform e opacidade: roda na placa de vídeo, sem redesenhar a página a cada quadro */
  animation: pulse-wa 2.8s 2s infinite;
}
@keyframes pulse-wa {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  70%,
  100% {
    transform: scale(1.18, 1.55);
    opacity: 0;
  }
}
@media (max-width: 640px) {
  .wa-float span {
    display: none;
  }
  .wa-float {
    width: 58px;
    padding: 0;
    justify-content: center;
  }
}

/* ---------- Aviso de cookies ---------- */
.cookie {
  position: fixed;
  left: calc(16px + env(safe-area-inset-left, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 85;
  width: min(420px, calc(100% - 32px));
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  font-size: var(--t-sm);
  animation: float-in 0.6s 0.8s var(--ease) both;
}
.cookie p {
  color: var(--muted);
}
@media (max-width: 640px) {
  .cookie {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    padding: 14px 16px;
    gap: 10px;
    font-size: var(--t-xs);
  }
}
.cookie .row {
  gap: 8px;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  top: calc(20px + env(safe-area-inset-top, 0px));
  z-index: 95;
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-size: var(--t-sm);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -150%);
  transition: transform 0.5s var(--ease);
}
.toast.is-on {
  transform: translate(-50%, 0);
}

/* ---------- Transição entre páginas ---------- */
/* Quem pede menos movimento no aparelho troca de página sem deslizar */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}
::view-transition-old(root) {
  animation: vt-out 0.35s var(--ease) both;
}
::view-transition-new(root) {
  animation: vt-in 0.55s var(--ease) both;
}
@keyframes vt-out {
  to {
    opacity: 0;
    transform: translateY(-12px);
  }
}
@keyframes vt-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
/* Filtros de produtos e revendedores: só um esmaecer rápido (sem deslizar a página inteira) */
.vt-filter::view-transition-old(root) {
  animation: vt-fade 0.2s reverse both;
}
.vt-filter::view-transition-new(root) {
  animation: vt-fade 0.2s both;
}
@keyframes vt-fade {
  from {
    opacity: 0;
  }
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .marquee__track {
    animation: none !important;
  }
  .marquee {
    overflow-x: auto;
  }
}

/* Valores: introdução fixa só em telas largas */
@media (min-width: 901px) {
  .values-intro {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}
.tl-item .stack p strong {
  color: var(--fg);
}

/* Ajustes finais para celulares (ficam no fim para valer sobre as regras acima) */
@media (max-width: 640px) {
  .eyebrow {
    letter-spacing: 0.12em;
    font-size: 0.625rem;
    padding: 6px 12px;
  }
  .hero .stats {
    padding: 14px;
    gap: 8px;
  }
  .hero .stat__num {
    font-size: 1.05rem;
  }
}
@media (max-width: 480px) {
  .hero .stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 12px 14px;
  }
  .hero .stat {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-width: 0;
  }
  .hero .stat__label {
    flex: 1;
    min-width: 0;
  }
  .hero .stat__num {
    font-size: 1.25rem;
    flex: none;
    min-width: 5.6em !important;
  }
}

/* Vitrine compacta no celular: 2 produtos por linha */
@media (max-width: 560px) {
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .pcard__body {
    padding: 12px 12px 14px;
    gap: 6px;
  }
  .pcard__body h3 {
    font-size: 0.875rem;
    line-height: 1.3;
  }
  .pcard__body p {
    display: none;
  }
  .pcard__foot {
    margin-top: 4px;
    padding-top: 10px;
  }
  .pcard__price {
    font-size: 0.6875rem;
  }
  .pcard__price strong {
    font-size: 0.8125rem;
  }
  .pcard__go {
    width: 32px;
    height: 32px;
  }
  .pcard__cat {
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 0.625rem;
  }
  .table th,
  .table td {
    padding: 12px 14px;
  }
}

/* Link secundário no menu do celular (catálogo digital) */
.mnav__links .mnav__sub {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: #8fd5ec;
}
.mnav__links .mnav__sub .ic {
  width: 20px;
  height: 20px;
}

/* Marca DANFLOR na página do produto */
.brand-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 12px;
  padding: 6px 16px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #3e3f97;
}
.brand-tag img {
  width: auto;
  height: 32px;
}
/* Aviso abaixo das fotos (ex.: fotos reais ilustrativas) */
.photo-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  font-size: var(--t-xs);
  color: var(--muted);
}
.photo-note .ic {
  width: 16px;
  height: 16px;
  flex: none;
}
/* Tamanho indisponível para o modelo escolhido */
.pill.is-off {
  opacity: 0.4;
  cursor: not-allowed;
}
.pill.is-off span {
  text-decoration: line-through;
}

/* Bitola do produto, logo abaixo do texto de apresentação */
.pd__bitola {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  justify-self: start;
  gap: 8px;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--leaf-ink);
  font-family: var(--font-ui);
  font-size: 0.875rem;
}
.pd__bitola .ic {
  width: 16px;
  height: 16px;
}

/* ---------- Avaliações da Shopee (página do produto) ---------- */
.pd__rating {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  justify-self: start;
  color: var(--fg);
  font-size: var(--t-sm);
  text-decoration: none;
}
.pd__rating strong {
  font-family: var(--font-ui);
}
.pd__rating span {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
@media (hover: hover) {
  .pd__rating:hover span {
    color: var(--fg);
  }
}
.rv {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.rv__summary {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 18px;
  justify-items: start;
}
.rv__score {
  display: flex;
  align-items: center;
  gap: 14px;
}
.rv__score strong {
  font: 700 3rem/1 var(--font-ui);
  color: var(--fg);
}
.rv__score > div {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: var(--t-sm);
}
.rv__bars {
  display: grid;
  gap: 6px;
  width: 100%;
  max-width: 320px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--t-xs);
  color: var(--muted);
}
.rv__bars li {
  display: grid;
  grid-template-columns: 34px 1fr 40px;
  align-items: center;
  gap: 10px;
}
.rv__bars li > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.rv__bars .ic {
  width: 12px;
  height: 12px;
  color: var(--star);
}
.rv__bars i {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: var(--surface-3);
  overflow: hidden;
}
.rv__bars i::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: var(--star);
}
.rv__bars li > span:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.rv__note {
  margin: 0;
  font-size: var(--t-xs);
  color: var(--muted);
}
.rv__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.rv-card {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.rv-card[hidden] {
  display: none;
}
.rv-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--t-xs);
  color: var(--muted);
}
.rv-card blockquote {
  display: grid;
  gap: 4px;
  margin: 0;
  color: var(--fg);
  font-size: var(--t-sm);
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.rv-card blockquote strong {
  font-weight: 600;
}
.rv-card__var {
  justify-self: start;
  margin: 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: var(--t-xs);
}
.rv__more {
  margin-top: 20px;
}
@media (max-width: 900px) {
  .rv {
    grid-template-columns: minmax(0, 1fr);
  }
  .rv__summary {
    position: static;
  }
}
@media (max-width: 640px) {
  .rv__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Nota da Shopee no cartão da vitrine */
.pcard__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--t-xs);
  color: var(--muted);
}
.pcard__rating .ic {
  width: 13px;
  height: 13px;
  color: var(--star);
}
.pcard__rating strong {
  color: var(--fg);
  font-weight: 600;
}

/* Safari: sem isto, a foto que cresce no hover ou na animação escapa dos cantos
   arredondados enquanto anima (a camada da imagem ignora o recorte do pai) */
.area-card__img,
.page-hero__img,
.pcard,
.pcard__stage,
.lite-video,
.gallery__main,
.pbanner__frame,
.pbanner__detail {
  isolation: isolate;
}

/* Produto com linhas (Macarrão para cadeira): linhas agrupadas por tipo e formato */
.fam-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 clamp(28px, 4vw, 44px);
}
.fam-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}
.fam-nav a:hover {
  border-color: var(--water);
  background: var(--surface-2);
}
.fam-nav span {
  font-size: var(--t-xs);
  font-weight: 500;
  color: var(--muted);
}
.fam-group {
  scroll-margin-top: 96px;
}
.fam-group + .fam-group {
  margin-top: clamp(40px, 6vw, 64px);
}
.fam-group__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-xl);
}
.fam-group__title small {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--muted);
}
.fam-lines {
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
}
.fline {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: clamp(14px, 2vw, 20px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 96px;
}
.fline:target {
  border-color: var(--water);
  box-shadow: 0 0 0 3px rgb(22 135 175 / 0.18), var(--shadow-md);
}
@media (min-width: 640px) {
  .fline {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: clamp(18px, 3vw, 36px);
  }
}
@media (min-width: 1000px) {
  .fline {
    grid-template-columns: 360px minmax(0, 1fr);
  }
}
.fline__media {
  display: grid;
  gap: 8px;
}
.fline__main,
.fline__thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--stage);
  cursor: zoom-in;
  isolation: isolate;
}
.fline__main {
  aspect-ratio: 1;
}
.fline__main img,
.fline__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.fline__thumb {
  aspect-ratio: 1;
  border-radius: var(--r-md);
}
@media (hover: hover) {
  .fline__main:hover img,
  .fline__thumb:hover img {
    transform: scale(1.04);
  }
}
.fline__main .gallery__zoom {
  width: 36px;
  height: 36px;
  right: 10px;
  bottom: 10px;
}
.fline__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.fline__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.fline__body h4 {
  margin: 0;
  font-size: var(--t-lg);
}
.fline__body p {
  margin: 0;
  color: var(--muted);
  font-size: var(--t-sm);
}
.fline__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fline__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--water-ink);
}
.fline__tag--mat {
  background: var(--mint);
  color: var(--leaf-ink);
}
.fline__tag .ic {
  width: 14px;
  height: 14px;
}
.fline__rate {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--t-xs);
  color: var(--muted);
}
.fline__rate .ic {
  width: 15px;
  height: 15px;
  color: var(--star);
  fill: currentColor;
}
.fline__rate strong {
  color: var(--fg);
}
.fline__perks {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--t-sm);
}
.fline__perks li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.fline__perks .ic {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--leaf);
}
.fline__colors {
  width: 100%;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.fline__count {
  display: block;
  margin-bottom: 8px;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.fline__colors ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 6px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--t-xs);
}
.fline__colors li {
  display: flex;
  align-items: center;
  min-width: 0;
}
.fline__colors .swatch {
  flex: none;
  width: 16px;
  height: 16px;
}
.fline__colors small {
  display: block;
  font-size: 0.6875rem;
  line-height: 1.2;
  color: var(--muted);
}
.fline .btn {
  margin-top: 4px;
}
.pill span small {
  margin-left: 8px;
  font-size: var(--t-xs);
  font-weight: 500;
  opacity: 0.75;
}
