@charset "utf-8";
/* =============================================================================
   LP  |  Espaço do Revendedor  -  Makertech Labs
   -----------------------------------------------------------------------------
   Tudo esta escopado em .er para nao vazar para o template de onde a pagina for
   publicada. O HTML e o bloco entre "INICIO" e "FIM" do index.html; o JS fica
   em script.js.

   Ideia visual: impressao 3D em resina. As coisas "nascem" camada por camada,
   de baixo para cima, com uma linha de luz UV (violeta) curando cada camada.
   Paleta e tipografia (Montserrat) vem da pagina original.

   Indice
   1. Base e tokens          5. Secoes e grade        9. Rodape
   2. Topo                   6. Cartoes               10. Movimento
   3. Botoes                 7. Ilustracoes           11. Movimento reduzido
   4. Hero                   8. Atendimento
   ============================================================================= */


/* =============================================================================
   1. BASE E TOKENS
   ============================================================================= */
html,
body {
  margin: 0;
  padding: 0;
  background: #030A20;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.er {
  /* cores da pagina original */
  --er-ink: #030A20;
  --er-navy: #001350;
  --er-royal: #011C8D;
  --er-cobalt: #023AF0;
  --er-violet: #8200DD;
  --er-leaf: #009011;
  --er-green: #30AA40;
  --er-green-hi: #3FCA66;
  /* apoio */
  --er-uv: #B45CFF;
  --er-violet-hi: #9B30FF;
  --er-coral: #FF3B4E;
  --er-white: #F2F5FF;
  --er-mute: rgba(242, 245, 255, .74);
  --er-line: rgba(242, 245, 255, .14);

  --er-font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --er-radius: 18px;
  --er-sheet: clamp(22px, 3vw, 40px);
  --er-pad: clamp(20px, 5vw, 72px);
  --er-max: 1280px;
  --er-top-h: 64px;
  --er-ease: cubic-bezier(.2, .7, .2, 1);

  position: relative;
  overflow-x: clip;
  background: var(--er-ink);
  color: var(--er-white);
  font-family: var(--er-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 900px) {
  .er { --er-top-h: 76px; }
}

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

.er h1,
.er h2,
.er h3,
.er p,
.er ul {
  margin: 0;
  padding: 0;
}

.er ul { list-style: none; }

.er img,
.er svg {
  display: block;
  max-width: 100%;
}

.er img { height: auto; }

.er a {
  color: inherit;
  text-decoration: none;
}

.er :focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  border-radius: 8px;
}

/* barra de progresso da rolagem */
.er-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: 3px;
  pointer-events: none;
}

.er-progress__bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--er-cobalt), var(--er-uv));
  transform: scaleX(var(--er-scroll, 0));
  transform-origin: 0 50%;
}


/* =============================================================================
   2. TOPO
   ============================================================================= */
.er-top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color .3s ease, box-shadow .3s ease;
}

.er-top.is-solid {
  background: rgba(3, 10, 32, .84);
  box-shadow: 0 1px 0 var(--er-line);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.er-top__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--er-top-h);
  max-width: 1584px;
  margin-inline: auto;
  padding-inline: var(--er-pad);
}

.er-top__logo {
  flex: none;
  border-radius: 6px;
}

.er-top__logo img {
  width: auto;
  height: 30px;
}

.er-top__nav {
  display: none;
  gap: 4px;
  margin-left: auto;
}

.er-top__nav a {
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--er-mute);
  font-size: .95rem;
  font-weight: 600;
  transition: color .2s ease, background-color .2s ease;
}

.er-top__nav a:hover,
.er-top__nav a.is-active {
  background: rgba(242, 245, 255, .09);
  color: #fff;
}

.er-top__cta {
  flex: none;
  margin-left: auto;
  padding: 10px 16px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1.5px rgba(242, 245, 255, .45);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.er-top__cta:hover {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px #fff;
  color: var(--er-ink);
}

.er-top__cta-long { display: none; }

@media (min-width: 560px) {
  .er-top__cta-long { display: inline; }
  .er-top__cta-short { display: none; }
}

@media (min-width: 900px) {
  .er-top__logo img { height: 36px; }
  .er-top__nav { display: flex; }
  .er-top__cta { margin-left: 8px; }
}


/* =============================================================================
   3. BOTOES
   ============================================================================= */
.er-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 48px;
  padding: 0 1.35em;
  border-radius: 12px;
  background: var(--er-green);
  color: #03122B;
  font-family: var(--er-font);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background-color .25s ease, box-shadow .25s ease, transform .2s var(--er-ease);
}

.er-btn:hover { background: var(--er-green-hi); }
.er-btn:active { transform: scale(.97); }

.er-btn__icon { flex: none; }

.er-btn--lg {
  min-height: 56px;
  padding-inline: 1.6em;
  border-radius: 14px;
  font-size: 1.05rem;
}

.er-btn--ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(242, 245, 255, .5);
  color: #fff;
}

.er-btn--ghost:hover {
  background: rgba(242, 245, 255, .12);
  box-shadow: inset 0 0 0 1.5px #fff;
}

.er-btn--royal {
  background: var(--er-royal);
  color: #fff;
}

.er-btn--royal:hover { background: #13277C; }


/* =============================================================================
   4. HERO
   ============================================================================= */
.er-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: calc(var(--er-top-h) + clamp(24px, 5vh, 56px)) var(--er-pad) calc(var(--er-sheet) + clamp(44px, 6.5vh, 84px));
}

.er-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(52% 58% at 82% 60%, rgba(2, 58, 240, .5), transparent 70%),
    radial-gradient(72% 46% at 50% 112%, rgba(130, 0, 221, .62), transparent 72%),
    var(--er-ink);
}

/* linhas de camada */
.er-hero__bg::after {
  content: "";
  position: absolute;
  inset: -16px 0;
  background: repeating-linear-gradient(180deg, rgba(242, 245, 255, .05) 0 1px, transparent 1px 8px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 28%, #000 72%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 28%, #000 72%, transparent);
}

.er-hero__inner {
  container-type: inline-size;
  max-width: 1440px;
  margin-inline: auto;
}

.er-hero__title {
  font-weight: 800;
  line-height: 1;
}

.er-hero__pre {
  display: block;
  margin: 0 0 clamp(8px, 1.5vw, 20px) .03em;
  font-size: clamp(1rem, 2.4vw, 2.2rem);
  font-weight: 300;
  letter-spacing: .4em;
  text-transform: uppercase;
}

/* a palavra ocupa a largura toda; o script.js ajusta o tamanho exato */
.er-hero__word {
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  /* alinha oticamente o "R" com o texto de baixo */
  margin-left: -.055em;
  padding-block: .03em;
  font-size: 12.2vw;
  line-height: .8;
  letter-spacing: -.012em;
  text-transform: uppercase;
  white-space: nowrap;
}

@supports (font-size: 1cqi) {
  .er-hero__pre {
    margin-bottom: clamp(8px, 1.5cqi, 20px);
    font-size: clamp(1rem, 2.5cqi, 2.2rem);
  }

  .er-hero__word { font-size: 13.4cqi; }
}

/* contorno = o modelo fatiado, antes de imprimir */
.er-hero__ghost {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(242, 245, 255, .3);
}

/* preenchimento = a peca impressa, com as linhas de camada */
.er-hero__fill {
  position: absolute;
  inset: 0;
  display: block;
  padding-block: inherit;
  background: repeating-linear-gradient(180deg, #fff 0, #fff .036em, #c6d2ff .036em, #c6d2ff .042em);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.er-hero__uv {
  position: absolute;
  right: -3%;
  bottom: 0;
  left: -3%;
  height: max(3px, .026em);
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--er-uv) 12%, #fff 50%, var(--er-uv) 88%, transparent);
  box-shadow: 0 0 28px 6px rgba(180, 92, 255, .75), 0 0 80px 18px rgba(130, 0, 221, .5);
  opacity: 0;
  pointer-events: none;
}

.er-hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 8vw, 56px);
  margin-top: clamp(22px, 3.4vw, 52px);
}

.er-hero__lead {
  max-width: 31ch;
  font-size: clamp(1.1rem, .95rem + .9vw, 1.5rem);
  line-height: 1.45;
  text-wrap: pretty;
}

.er-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 2.6vw, 36px);
}

@media (max-width: 479px) {
  .er-hero__actions .er-btn { flex: 1 1 100%; }
}

.er-hero__stage {
  position: relative;
  width: min(84%, 400px);
  margin-inline: auto;
  transform: translate3d(calc(var(--px, 0) * -18px), calc(var(--py, 0) * -12px + var(--sy, 0) * 1px), 0);
}

.er-hero__float { position: relative; }

.er-hero__bottles {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 28px 34px rgba(0, 4, 24, .55));
}

/* faixa de luz que sobe pelos frascos */
.er-hero__scan {
  position: absolute;
  inset: 0;
  width: 100%;
  clip-path: inset(100% 0 0 0);
  filter: brightness(1.5) sepia(1) hue-rotate(215deg) saturate(5);
  mix-blend-mode: screen;
  opacity: .85;
  pointer-events: none;
}

.er-hero__plate {
  position: absolute;
  right: 4%;
  bottom: -7%;
  left: 4%;
  height: 22%;
  background: radial-gradient(closest-side, rgba(180, 92, 255, .78), rgba(130, 0, 221, .3) 55%, transparent 76%);
  filter: blur(8px);
}

@container (min-width: 820px) {
  .er-hero__row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 35cqi);
    align-items: start;
  }

  .er-hero__copy { padding-top: clamp(8px, 2cqi, 32px); }

  .er-hero__stage {
    width: 100%;
    margin: -6.5cqi 0 0;
  }
}


/* =============================================================================
   5. SECOES E GRADE
   Cada secao e uma "folha" de cantos arredondados que sobe sobre a anterior.
   ============================================================================= */
.er-sec {
  position: relative;
  margin-top: calc(-1 * var(--er-sheet));
  padding: clamp(52px, 8vw, 108px) var(--er-pad) calc(var(--er-sheet) + clamp(56px, 8vw, 112px));
  border-radius: var(--er-sheet) var(--er-sheet) 0 0;
  scroll-margin-top: calc(var(--er-top-h) - 20px);
}

.er-sec--royal {
  --er-tile: var(--er-navy);
  --er-tile-hover: var(--er-ink);
  background: var(--er-royal);
}

.er-sec--ink {
  --er-tile: var(--er-navy);
  --er-tile-hover: #06207A;
  background: #040C28;
}

.er-sec--deep { background: #01061A; }

.er-sec--royal::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(180deg, rgba(242, 245, 255, .04) 0 1px, transparent 1px 10px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 420px);
  mask-image: linear-gradient(180deg, #000, transparent 420px);
  pointer-events: none;
}

.er-sec__inner {
  position: relative;
  max-width: var(--er-max);
  margin-inline: auto;
}

.er-sec__head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(28px, 4vw, 56px);
}

.er-sec__title {
  font-size: clamp(1.9rem, 1.1rem + 3.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.er-sec__lead {
  max-width: 44ch;
  color: var(--er-mute);
  font-size: clamp(1rem, .94rem + .35vw, 1.2rem);
  line-height: 1.5;
  text-wrap: pretty;
}

@media (min-width: 900px) {
  .er-sec__head {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: end;
    gap: 48px;
  }

  .er-sec__lead { justify-self: end; }
}

.er-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 20px);
}


/* =============================================================================
   6. CARTOES
   ============================================================================= */
.er-tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  grid-column: 1 / -1;
  overflow: hidden;
  border-radius: var(--er-radius);
  background: var(--er-tile);
  box-shadow: inset 0 0 0 1px rgba(242, 245, 255, .08);
  transition: background-color .4s var(--er-ease), box-shadow .4s var(--er-ease);
}

/* luz que acompanha o cursor (--mx / --my vem do script.js) */
.er-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 0%), rgba(2, 58, 240, .6), rgba(130, 0, 221, .22) 42%, transparent 66%);
  opacity: 0;
  transition: opacity .4s ease;
}

.er-tile:hover,
.er-tile:focus-within {
  background: var(--er-tile-hover);
  box-shadow: inset 0 0 0 1px rgba(242, 245, 255, .2);
}

.er-tile:hover::before,
.er-tile:focus-within::before { opacity: 1; }

.er-tile__art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 8.8;
  min-height: 190px;
  padding: 22px 22px 4px;
  overflow: hidden;
}

/* linhas de camada atras da ilustracao */
.er-tile__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(242, 245, 255, .055) 0 1px, transparent 1px 7px);
  -webkit-mask-image: radial-gradient(70% 78% at 50% 58%, #000, transparent);
  mask-image: radial-gradient(70% 78% at 50% 58%, #000, transparent);
}

/* linha UV que cura a ilustracao */
.er-tile__art::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--er-uv) 20%, #fff 50%, var(--er-uv) 80%, transparent);
  box-shadow: 0 0 18px 3px rgba(180, 92, 255, .7);
  opacity: 0;
  pointer-events: none;
}

.er-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.er-tile__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(18px, 2vw, 28px);
}

.er-tile__title {
  font-size: clamp(1.3rem, 1.05rem + .9vw, 1.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.er-tile__tag {
  display: inline-block;
  padding: .28em .7em;
  border-radius: 999px;
  background: rgba(242, 245, 255, .14);
  font-size: .5em;
  font-weight: 700;
  letter-spacing: .02em;
  vertical-align: .32em;
}

.er-tile__text {
  max-width: 44ch;
  margin-bottom: 10px;
  color: var(--er-mute);
  line-height: 1.5;
  text-wrap: pretty;
}

/* o botao fica no pe do cartao */
.er-tile__body > .er-btn { margin-top: auto; }

/* o cartao inteiro clica no botao (o botao nao pode ser "position: relative") */
.er-tile .er-btn::after,
.er-panel .er-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.er-tile:hover .er-btn { background: var(--er-green-hi); }

/* cartoes altos (foto de produto) */
.er-tile--tall .er-tile__art {
  flex: 1;
  aspect-ratio: auto;
  min-height: 360px;
}

.er-tile--tall .er-tile__body { flex: none; }

@media (min-width: 680px) {
  .er-tile { grid-column: span 6; }

  .er-tile--feature {
    flex-direction: row-reverse;
    grid-column: 1 / -1;
  }

  .er-tile--feature .er-tile__art {
    flex: 0 0 46%;
    aspect-ratio: auto;
    min-height: 330px;
  }

  .er-tile--feature .er-tile__body {
    justify-content: center;
    gap: 14px;
    padding: clamp(24px, 3.4vw, 48px);
  }

  .er-tile--feature .er-tile__body .er-btn { margin-top: 12px; }

  .er-tile--feature .er-tile__title { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); }

  .er-tile--feature .er-tile__text { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); }
}

@media (min-width: 1100px) {
  .er-grid--materiais .er-tile--catalogo { grid-column: span 7; }
  .er-grid--materiais .er-tile--videos { grid-column: span 5; }

  .er-grid--materiais .er-tile--logo,
  .er-grid--materiais .er-tile--banners,
  .er-grid--materiais .er-tile--midias,
  .er-grid--materiais .er-tile--campanhas { grid-column: span 4; }

  .er-grid--materiais .er-tile--embalagens {
    grid-column: span 4;
    grid-row: span 2;
  }

  /* no cartao alto do desktop o frasco tem espaco para crescer */
  .er-grid--materiais .er-tile--embalagens .er-pack__img { width: clamp(150px, 48%, 210px); }

  .er-grid--tecnico .er-tile--ebooks {
    grid-column: span 4;
    grid-row: span 2;
  }

  .er-grid--tecnico .er-tile--casos { grid-column: span 8; }

  .er-grid--tecnico .er-tile--artigos,
  .er-grid--tecnico .er-tile--fichas { grid-column: span 4; }

  .er-tile--row { flex-direction: row; }

  .er-tile--row .er-tile__art {
    flex: 0 0 42%;
    aspect-ratio: auto;
    min-height: 250px;
  }

  .er-tile--row .er-tile__body {
    justify-content: center;
    padding: clamp(24px, 3vw, 40px);
  }

  .er-tile--row .er-tile__body .er-btn { margin-top: 12px; }
}


/* =============================================================================
   7. ILUSTRACOES
   ============================================================================= */
.er-ill {
  width: min(74%, 270px);
  height: auto;
  overflow: visible;
  transition: transform .5s var(--er-ease);
}

.er-tile:hover .er-ill { transform: translateY(-4px) scale(1.05); }

.er-ill .a-soft { fill: rgba(242, 245, 255, .07); }
.er-ill .a-solid { fill: #F2F5FF; }
.er-ill .a-dim { opacity: .42; }
.er-ill .a-cobalt { fill: var(--er-cobalt); }
.er-ill .a-violet { fill: var(--er-violet-hi); }
.er-ill .a-green { fill: var(--er-green); }
.er-ill .a-ink { fill: var(--er-ink); }
.er-ill .a-track { fill: rgba(242, 245, 255, .16); }

.er-ill .a-line {
  fill: none;
  stroke: rgba(242, 245, 255, .9);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.er-ill .a-plate {
  fill: #0A2478;
  stroke: rgba(242, 245, 255, .35);
  stroke-width: 1.5;
}

/* video */
.er-ill--video .a-ring {
  fill: none;
  stroke: var(--er-cobalt);
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.er-ill--video .a-bar {
  transform: scaleX(.42);
  transform-box: fill-box;
  transform-origin: 0 50%;
}

.er-ill--video .a-knob { transform: translateX(77px); }

/* logo */
.er-ill--logo {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(82%, 290px);
}

.er-sel {
  position: relative;
  width: 100%;
  padding: 16px 18px;
  border: 1.5px dashed rgba(242, 245, 255, .5);
  background: conic-gradient(rgba(242, 245, 255, .06) 25%, transparent 0 50%, rgba(242, 245, 255, .06) 0 75%, transparent 0) 0 0 / 14px 14px;
}

.er-sel img { width: 100%; }

.er-sel i {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid var(--er-cobalt);
  background: #fff;
}

.er-sel i:nth-of-type(1) { top: -6px; left: -6px; }
.er-sel i:nth-of-type(2) { top: -6px; right: -6px; }
.er-sel i:nth-of-type(3) { bottom: -6px; left: -6px; }
.er-sel i:nth-of-type(4) { right: -6px; bottom: -6px; }

.er-fmt {
  display: flex;
  gap: 8px;
}

.er-fmt li {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(242, 245, 255, .12);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .03em;
}

/* banners */
.er-ill--banners .a-b {
  transform-box: fill-box;
  transform-origin: center;
}

/* midias digitais */
.er-ill--social .a-post,
.er-ill--social .a-like {
  transform-box: fill-box;
  transform-origin: center;
}

.er-ill--social .a-like { transform-origin: 0 100%; }
.er-ill--social .a-like--2 { transform-origin: 100% 100%; }
.er-ill--social .a-heart { fill: var(--er-coral); }

/* campanhas */
.er-ill--campaign .a-days circle { fill: rgba(242, 245, 255, .22); }

.er-ill--campaign .a-days .a-day-on {
  fill: var(--er-green);
  transform-box: fill-box;
  transform-origin: center;
}

.er-ill--campaign .a-tag { transform-origin: 162px 97px; }

.er-ill--campaign .a-tag__txt {
  fill: #fff;
  font-family: var(--er-font);
  font-size: 23px;
  font-weight: 800;
}

/* casos clinicos */
.er-ill--case .a-toothfill {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

.er-ill--case .a-layers {
  fill: none;
  stroke: rgba(1, 19, 80, .3);
  stroke-width: 1.5;
}

.er-ill--case .a-plateline {
  fill: none;
  stroke: rgba(242, 245, 255, .5);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 2 7;
}

.er-ill--case .a-spark {
  fill: var(--er-uv);
  transform-box: fill-box;
  transform-origin: center;
}

/* artigos cientificos */
.er-ill--paper .a-chart {
  fill: none;
  stroke: #8FB0FF;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
}

.er-ill--paper .a-dot {
  transform-box: fill-box;
  transform-origin: center;
}

.er-ill--paper .a-lens__glass {
  fill: rgba(180, 92, 255, .22);
  stroke: #F2F5FF;
  stroke-width: 4;
}

.er-ill--paper .a-lens__grip {
  fill: none;
  stroke: #F2F5FF;
  stroke-width: 6;
  stroke-linecap: round;
}

/* fichas de seguranca */
.er-ill--sds .a-rule {
  fill: none;
  stroke: rgba(242, 245, 255, .3);
  stroke-width: 1.5;
}

.er-ill--sds .a-ghs { transform-origin: 172px 74px; }

.er-ill--sds .a-ghs__frame {
  fill: #fff;
  stroke: var(--er-coral);
  stroke-width: 5.5;
}

/* catalogo */
.er-tile--catalogo .er-tile__art {
  aspect-ratio: auto;
  min-height: 310px;
}

.er-art--catalogo { perspective: 1100px; }

.er-book {
  position: relative;
  width: clamp(150px, 52%, 250px);
  aspect-ratio: 560 / 782;
  transform: rotateY(calc(-24deg + var(--tx, 0) * 12deg)) rotateX(calc(7deg + var(--ty, 0) * -9deg)) rotateZ(3deg);
  transform-style: preserve-3d;
  transition: transform .5s var(--er-ease);
}

.er-book__cover {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px 8px 8px 3px;
  box-shadow: inset 2px 0 0 rgba(255, 255, 255, .22), 22px 26px 44px rgba(0, 3, 20, .55);
  transform-origin: 0 50%;
  transition: transform .6s var(--er-ease);
}

.er-book__page {
  position: absolute;
  inset: 1.4% 0;
  border-radius: 2px 6px 6px 2px;
  background: linear-gradient(90deg, #b9c4ea, #fff 22%);
  transform-origin: 0 50%;
  transition: transform .6s var(--er-ease);
}

.er-book__page--2 { transform: translate3d(5px, 0, -5px); }
.er-book__page--3 { transform: translate3d(10px, 0, -10px); }

.er-tile:hover .er-book__cover { transform: rotateY(-30deg); }
.er-tile:hover .er-book__page--2 { transform: translate3d(5px, 0, -5px) rotateY(-16deg); }
.er-tile:hover .er-book__page--3 { transform: translate3d(10px, 0, -10px) rotateY(-5deg); }

/* embalagens e e-books (fotos) */
.er-art--pack,
.er-art--ebook { padding-block: 10px 14px; }

.er-pack__plate {
  position: absolute;
  right: 18%;
  bottom: 8%;
  left: 18%;
  height: 16%;
  background: radial-gradient(closest-side, rgba(180, 92, 255, .62), rgba(130, 0, 221, .2) 60%, transparent 78%);
  filter: blur(5px);
}

.er-pack__img {
  position: relative;
  width: clamp(120px, 40%, 150px);
  filter: drop-shadow(0 20px 22px rgba(0, 3, 20, .55));
  transform: rotate(calc(var(--tx, 0) * 5deg));
  transition: transform .5s var(--er-ease);
}

.er-ebook__img {
  position: relative;
  width: clamp(160px, 62%, 250px);
  filter: drop-shadow(0 22px 26px rgba(0, 3, 20, .6));
  transform: rotate(calc(-3deg + var(--tx, 0) * 5deg));
  transition: transform .5s var(--er-ease);
}

/* marcas de corte em volta do frasco */
.er-crop {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(242, 245, 255, .55);
}

.er-crop--tl { top: 5%; left: 14%; border-right: 0; border-bottom: 0; }
.er-crop--tr { top: 5%; right: 14%; border-bottom: 0; border-left: 0; }
.er-crop--bl { bottom: 5%; left: 14%; border-top: 0; border-right: 0; }
.er-crop--br { right: 14%; bottom: 5%; border-top: 0; border-left: 0; }


/* =============================================================================
   8. ATENDIMENTO
   ============================================================================= */
.er-help {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 20px);
}

.er-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  grid-column: 1 / -1;
  min-height: clamp(240px, 26vw, 340px);
  padding: clamp(24px, 3.4vw, 48px);
  overflow: hidden;
  border-radius: var(--er-radius);
  transition: background-color .4s var(--er-ease);
}

.er-panel--blue { background: var(--er-cobalt); }
.er-panel--blue:hover { background: #0832B9; }
.er-panel--violet { background: var(--er-violet); }
.er-panel--violet:hover { background: #6B04B3; }
.er-panel--green { background: var(--er-leaf); }
.er-panel--green:hover { background: #048012; }

.er-panel__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 100%;
}

.er-panel__title {
  font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.025em;
}

.er-panel__title--xl {
  max-width: 11ch;
  font-size: clamp(2.2rem, 1rem + 5vw, 4.8rem);
  line-height: .98;
  text-wrap: balance;
}

.er-panel__text {
  max-width: 25ch;
  font-size: clamp(1rem, .95rem + .3vw, 1.2rem);
  line-height: 1.45;
  text-wrap: pretty;
}

.er-panel .er-btn { margin-top: 10px; }
.er-panel:hover .er-btn { background: var(--er-green-hi); }
.er-panel:hover .er-btn--royal { background: #13277C; }

.er-panel__glyph {
  position: absolute;
  top: 50%;
  right: -7%;
  z-index: -1;
  width: min(44%, 270px);
  height: auto;
  overflow: visible;
  transform: translateY(-50%) rotate(-8deg);
}

.er-panel__glyph .g-line {
  fill: none;
  stroke: rgba(255, 255, 255, .32);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.er-panel__glyph .g-check {
  stroke: rgba(255, 255, 255, .85);
  stroke-width: 9;
  stroke-dasharray: 100;
}

.er-panel__glyph .g-dash { stroke-dasharray: 4 18; }

.er-panel__glyph .g-dash,
.er-panel__glyph .g-star {
  transform-box: fill-box;
  transform-origin: center;
}

.er-panel__glyph .g-star { fill: rgba(255, 255, 255, .85); }

.er-panel__glyph .g-dot {
  fill: rgba(255, 255, 255, .8);
  transform-box: fill-box;
  transform-origin: center;
}

.er-panel__glyph--day { right: -13%; }

.er-panel__glyph--chat {
  right: 2%;
  width: min(46%, 330px);
  transform: translateY(-50%) rotate(-5deg);
}

/* em paineis estreitos o icone sobe para o canto, para nao ficar atras do texto */
@media (max-width: 1099px) {
  .er-panel__glyph--cal,
  .er-panel__glyph--day {
    top: 18px;
    right: -6%;
    width: min(36%, 150px);
    transform: rotate(-8deg);
  }

  .er-panel__glyph--day { right: -9%; }
}

@media (max-width: 759px) {
  .er-panel__glyph--chat {
    top: 18px;
    right: -6%;
    width: min(36%, 150px);
    transform: rotate(-5deg);
  }
}

@media (min-width: 760px) {
  .er-panel { grid-column: span 6; }
  .er-panel--wide { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  .er-panel--wide { align-items: center; }

  .er-panel--wide .er-panel__body {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
  }

  .er-panel--wide .er-btn { margin-top: 0; }

  .er-panel__glyph--chat {
    right: 24%;
    width: min(30%, 330px);
  }
}


/* =============================================================================
   9. RODAPE
   ============================================================================= */
.er-foot {
  position: relative;
  margin-top: calc(-1 * var(--er-sheet));
  padding: clamp(36px, 5vw, 64px) var(--er-pad);
  border-radius: var(--er-sheet) var(--er-sheet) 0 0;
  background: #000;
}

.er-foot__inner {
  display: grid;
  gap: 18px;
  max-width: var(--er-max);
  margin-inline: auto;
}

.er-foot__logo {
  width: 168px;
  height: auto;
}

.er-foot__text {
  max-width: 42ch;
  color: var(--er-mute);
}

.er-foot__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  color: var(--er-mute);
  font-size: .92rem;
}

.er-foot__meta a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.er-foot__meta a:hover { color: var(--er-green-hi); }

@media (min-width: 900px) {
  .er-foot__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 40px;
  }

  .er-foot__meta {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }
}


/* =============================================================================
   10. MOVIMENTO
   Tudo aqui dentro so vale para quem nao pediu movimento reduzido, e os estados
   "escondidos" so existem quando o script esta ativo (.er-js).
   ============================================================================= */
@media (prefers-reduced-motion: no-preference) {

  html { scroll-behavior: smooth; }

  /* ---- hero: a palavra e impressa camada por camada ---- */
  .er-js .er-hero__fill { clip-path: inset(100% 0 0 0); }

  .er-js.is-ready .er-hero__fill {
    animation:
      er-print 1.9s steps(26, end) .3s both,
      er-flash 1.1s ease-out 2.15s both;
  }

  .er-js.is-ready .er-hero__uv {
    animation:
      er-uv-move 1.9s steps(26, end) .3s both,
      er-uv-fade .45s linear 2.2s forwards;
  }

  .er-js .er-hero__pre,
  .er-js .er-hero__lead,
  .er-js .er-hero__actions,
  .er-js .er-hero__float,
  .er-js .er-hero__plate { opacity: 0; }

  .er-js.is-ready .er-hero__pre { animation: er-fade-up .8s var(--er-ease) .1s both; }
  .er-js.is-ready .er-hero__lead { animation: er-fade-up .8s var(--er-ease) .6s both; }
  .er-js.is-ready .er-hero__actions { animation: er-fade-up .8s var(--er-ease) .76s both; }

  .er-js.is-ready .er-hero__float {
    animation:
      er-rise 1.1s var(--er-ease) .5s both,
      er-float 7s ease-in-out 1.6s infinite;
  }

  .er-js.is-ready .er-hero__plate {
    animation:
      er-fade 1.2s ease .9s both,
      er-plate 7s ease-in-out 1.6s infinite;
  }

  .er-js.is-ready .er-hero__scan { animation: er-scan 6s cubic-bezier(.45, 0, .55, 1) 2.6s infinite; }

  .er-hero__bg::after { animation: er-layers 1.4s linear infinite; }

  /* ---- cartoes: a ilustracao e "curada" de baixo para cima ---- */
  .er-js .er-reveal .er-art { clip-path: inset(100% 0 0 0); }

  .er-js .er-reveal.is-in .er-art { animation: er-cure .85s steps(13, end) calc(var(--i, 0) * 110ms + 80ms) both; }

  .er-js .er-reveal.is-in .er-tile__art::after {
    animation:
      er-uv-move .85s steps(13, end) calc(var(--i, 0) * 110ms + 80ms) both,
      er-uv-fade .35s linear calc(var(--i, 0) * 110ms + 930ms) forwards;
  }

  .er-js .er-reveal .er-tile__body > *,
  .er-js .er-reveal .er-panel__body > * { opacity: 0; }

  .er-js .er-reveal.is-in .er-tile__body > *,
  .er-js .er-reveal.is-in .er-panel__body > * { animation: er-fade-up .7s var(--er-ease) calc(var(--i, 0) * 110ms + 260ms) both; }

  .er-js .er-reveal.is-in .er-tile__body > :nth-child(2),
  .er-js .er-reveal.is-in .er-panel__body > :nth-child(2) { animation-delay: calc(var(--i, 0) * 110ms + 340ms); }

  .er-js .er-reveal.is-in .er-tile__body > :nth-child(3),
  .er-js .er-reveal.is-in .er-panel__body > :nth-child(3) { animation-delay: calc(var(--i, 0) * 110ms + 420ms); }

  .er-js .er-panel.er-reveal .er-panel__glyph { opacity: 0; }
  .er-js .er-panel.er-reveal.is-in .er-panel__glyph { animation: er-fade 1s ease calc(var(--i, 0) * 110ms + 200ms) both; }

  /* passar o cursor: a linha UV varre a ilustracao de novo */
  .er-js .er-reveal.is-in:hover .er-tile__art::after { animation: er-sweep .9s var(--er-ease) both; }

  /* ---- icones dos botoes ---- */
  .er-tile:hover .i-arrow,
  .er-btn:hover .i-arrow,
  .er-btn:focus-visible .i-arrow { animation: er-drop .9s var(--er-ease) infinite; }

  .er-btn:hover .er-btn__icon--down { animation: er-drop .9s var(--er-ease) infinite; }

  .er-tile:hover .er-btn__icon--play,
  .er-panel:hover .er-btn__icon--cal,
  .er-panel:hover .er-btn__icon--wa { animation: er-nudge .9s var(--er-ease) infinite; }

  /* ---- ilustracoes (rodam depois que o cartao aparece) ---- */
  .is-in .er-ill--video .a-ring { animation: er-ring 2.6s ease-out infinite; }
  .is-in .er-ill--video .a-bar { animation: er-bar 9s linear infinite; }
  .is-in .er-ill--video .a-knob { animation: er-knob 9s linear infinite; }

  .is-in .er-sel i { animation: er-handle 3.2s ease-in-out infinite; }
  .is-in .er-sel i:nth-of-type(2) { animation-delay: .2s; }
  .is-in .er-sel i:nth-of-type(4) { animation-delay: .4s; }
  .is-in .er-sel i:nth-of-type(3) { animation-delay: .6s; }
  .is-in .er-fmt li { animation: er-chip 6s ease-in-out infinite; }
  .is-in .er-fmt li:nth-child(2) { animation-delay: 2s; }
  .is-in .er-fmt li:nth-child(3) { animation-delay: 4s; }

  .is-in .er-ill--banners .a-b { animation: er-bob 6s ease-in-out infinite; }
  .er-ill--banners .a-b1 { --bob-y: -5px; --bob-r: -1.6deg; }
  .er-ill--banners .a-b2 { --bob-y: 4px; --bob-r: 1.2deg; animation-delay: -2s !important; }
  .er-ill--banners .a-b3 { --bob-y: -4px; --bob-r: -1.2deg; animation-delay: -4s !important; }

  .is-in .er-ill--social .a-post { animation: er-post 4.8s ease-in-out infinite; }
  .er-ill--social .a-post:nth-of-type(5) { animation-delay: .25s; }
  .er-ill--social .a-post:nth-of-type(6) { animation-delay: .5s; }
  .er-ill--social .a-post:nth-of-type(7) { animation-delay: .75s; }
  .er-ill--social .a-post:nth-of-type(8) { animation-delay: 1s; }
  .er-ill--social .a-post:nth-of-type(9) { animation-delay: 1.25s; }
  .is-in .er-ill--social .a-like { animation: er-pop 4.8s var(--er-ease) infinite; }
  .is-in .er-ill--social .a-like--2 { animation-delay: 2.4s; }

  .is-in .er-ill--campaign .a-tag { animation: er-swing 3.6s ease-in-out infinite; }
  .is-in .er-ill--campaign .a-day-on { animation: er-pulse 1.8s ease-in-out infinite; }

  .is-in .er-ill--case .a-toothfill { animation: er-tooth 6.5s steps(13, end) infinite; }
  .is-in .er-ill--case .a-spark { animation: er-twinkle 2.6s ease-in-out infinite; }
  .is-in .er-ill--case .a-spark--2 { animation-delay: 1.3s; }

  .is-in .er-ill--paper .a-chart { animation: er-draw 5.5s ease-in-out infinite; }
  .is-in .er-ill--paper .a-dot { animation: er-dot 5.5s ease-in-out infinite; }
  .is-in .er-ill--paper .a-lens { animation: er-lens 7s ease-in-out infinite; }

  .is-in .er-ill--sds .a-ghs { animation: er-pulse 2.8s ease-in-out infinite; }

  .is-in .er-book { animation: er-hover 6s ease-in-out infinite; }
  .is-in .er-pack__img { animation: er-hover 6.5s ease-in-out infinite; }
  .is-in .er-ebook__img { animation: er-hover 7s ease-in-out -2s infinite; }
  .is-in .er-pack__plate { animation: er-plate 6.5s ease-in-out infinite; }
  .is-in .er-crop { animation: er-crop 3.4s ease-in-out infinite; }

  .is-in .er-panel__glyph .g-check { animation: er-check 4.5s ease-in-out infinite; }
  .is-in .er-panel__glyph .g-dash { animation: er-spin 26s linear infinite; }
  .is-in .er-panel__glyph .g-dash--rev { animation-duration: 18s; animation-direction: reverse; }
  .is-in .er-panel__glyph .g-star { animation: er-pulse 2.6s ease-in-out infinite; }
  .is-in .er-panel__glyph .g-dot { animation: er-typing 1.5s ease-in-out infinite; }
  .is-in .er-panel__glyph .g-dot--2 { animation-delay: .18s; }
  .is-in .er-panel__glyph .g-dot--3 { animation-delay: .36s; }

  /* ---- keyframes ---- */
  @keyframes er-print {
    from { clip-path: inset(100% 0 0 0); }
    to { clip-path: inset(0 0 0 0); }
  }

  @keyframes er-cure {
    from { clip-path: inset(100% 0 0 0); }
    to { clip-path: inset(0 0 0 0); }
  }

  @keyframes er-uv-move {
    from { bottom: 0; opacity: 1; }
    to { bottom: 100%; opacity: 1; }
  }

  @keyframes er-uv-fade {
    to { opacity: 0; }
  }

  @keyframes er-sweep {
    0% { bottom: 0; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { bottom: 100%; opacity: 0; }
  }

  @keyframes er-flash {
    0% { filter: drop-shadow(0 0 0 rgba(180, 92, 255, 0)); }
    25% { filter: drop-shadow(0 0 34px rgba(180, 92, 255, .95)); }
    100% { filter: drop-shadow(0 0 0 rgba(180, 92, 255, 0)); }
  }

  @keyframes er-fade {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes er-fade-up {
    from { opacity: 0; transform: translate3d(0, 14px, 0); }
    to { opacity: 1; transform: none; }
  }

  @keyframes er-rise {
    from { opacity: 0; transform: translate3d(0, 46px, 0) scale(.95); }
    to { opacity: 1; transform: none; }
  }

  @keyframes er-float {
    0%, 100% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0); }
    50% { opacity: 1; transform: translate3d(0, -16px, 0) rotate(-1.4deg); }
  }

  @keyframes er-plate {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .62; transform: scale(.86); }
  }

  @keyframes er-scan {
    0% { clip-path: inset(99.6% 0 -1.6% 0); }
    46%, 100% { clip-path: inset(-1.6% 0 99.6% 0); }
  }

  @keyframes er-layers {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(0, -8px, 0); }
  }

  @keyframes er-drop {
    0%, 100% { transform: translateY(0); }
    45% { transform: translateY(3.5px); }
  }

  @keyframes er-nudge {
    0%, 100% { transform: scale(1); }
    45% { transform: scale(1.18); }
  }

  @keyframes er-ring {
    0% { opacity: .9; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.75); }
  }

  @keyframes er-bar {
    from { transform: scaleX(.06); }
    to { transform: scaleX(1); }
  }

  @keyframes er-knob {
    from { transform: translateX(11px); }
    to { transform: translateX(184px); }
  }

  @keyframes er-handle {
    0%, 100% { transform: scale(1); }
    12% { transform: scale(1.5); }
    24% { transform: scale(1); }
  }

  @keyframes er-chip {
    0%, 30%, 100% { background-color: rgba(242, 245, 255, .12); }
    6%, 24% { background-color: var(--er-cobalt); }
  }

  @keyframes er-bob {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(var(--bob-y, -4px)) rotate(var(--bob-r, 1deg)); }
  }

  @keyframes er-post {
    0%, 18%, 100% { opacity: 1; transform: scale(1); }
    8% { opacity: .55; transform: scale(.86); }
  }

  @keyframes er-pop {
    0%, 8% { opacity: 0; transform: scale(.4); }
    16% { opacity: 1; transform: scale(1.08); }
    22%, 62% { opacity: 1; transform: scale(1); }
    72%, 100% { opacity: 0; transform: scale(.8); }
  }

  @keyframes er-swing {
    0%, 100% { transform: rotate(-7deg); }
    50% { transform: rotate(7deg); }
  }

  @keyframes er-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
  }

  @keyframes er-tooth {
    0% { opacity: 1; transform: scaleY(0); }
    46% { opacity: 1; transform: scaleY(1); }
    92% { opacity: 1; transform: scaleY(1); }
    100% { opacity: 0; transform: scaleY(1); }
  }

  @keyframes er-twinkle {
    0%, 100% { opacity: .25; transform: scale(.5) rotate(0); }
    50% { opacity: 1; transform: scale(1) rotate(45deg); }
  }

  @keyframes er-draw {
    0% { stroke-dashoffset: 100; }
    45%, 88% { opacity: 1; stroke-dashoffset: 0; }
    100% { opacity: 0; stroke-dashoffset: 0; }
  }

  @keyframes er-dot {
    0%, 40% { transform: scale(0); }
    48% { transform: scale(1.4); }
    54%, 88% { transform: scale(1); }
    100% { transform: scale(0); }
  }

  @keyframes er-lens {
    0%, 100% { transform: translate(0, 0); }
    35% { transform: translate(-34px, -12px); }
    70% { transform: translate(-12px, 8px); }
  }

  @keyframes er-hover {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -9px; }
  }

  @keyframes er-crop {
    0%, 100% { opacity: .55; scale: 1; }
    50% { opacity: 1; scale: .82; }
  }

  @keyframes er-check {
    0%, 12% { stroke-dashoffset: 100; }
    38%, 86% { opacity: 1; stroke-dashoffset: 0; }
    100% { opacity: 0; stroke-dashoffset: 0; }
  }

  @keyframes er-spin {
    to { transform: rotate(360deg); }
  }

  @keyframes er-typing {
    0%, 60%, 100% { opacity: .55; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-12px); }
  }
}


/* =============================================================================
   11. MOVIMENTO REDUZIDO
   ============================================================================= */
@media (prefers-reduced-motion: reduce) {
  .er *,
  .er *::before,
  .er *::after {
    animation: none !important;
    transition: none !important;
  }

  .er-hero__stage { transform: none; }
}
