/* Massas Dominique · base · VISS Digital · viss.digital
   Escala proporcional no MODO ACESSÍVEL (raiz mista: parte fixa + parte proporcional),
   para o zoom do navegador continuar funcionando. Frames: 390 / 768 / 1440, onde 1rem = 1rem.
   Tudo em rem (px do original ÷ 16). Faixas do original (Elementor): celular até 767,
   tablet de 768 a 1024, desktop a partir de 1025. */

/* ---- fontes (latin, auto-hospedadas, variáveis limitadas aos pesos usados) ---- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('../fonts/inter-200-800.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 500 600; font-display: swap; src: url('../fonts/roboto-500-600.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 300 400; font-display: swap; src: url('../fonts/nunito-300-400.woff2') format('woff2'); }

/* ---- escala · modo acessível ---- */
:root { font-size: clamp(0.9375rem, calc(0.25rem + 100vw / 390 * 12), 1.09375rem); }
@media (min-width: 768px)  { :root { font-size: clamp(1rem, calc(0.25rem + 100vw / 768 * 12), 1.09375rem); } }
@media (min-width: 1025px) { :root { font-size: clamp(0.90625rem, calc(0.25rem + 100vw / 1440 * 12), 1.25rem); } }

html { overflow-x: clip; -webkit-text-size-adjust: 100%; }

/* ---- tokens (cores medidas no original) ---- */
:root {
  --font-inter: 'Inter', sans-serif;
  --font-roboto: 'Roboto', sans-serif;
  --font-sistema: -apple-system, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --color-red: #AB0C16;           /* cabeçalho, faixa do rodapé, menu do celular */
  --color-red-2: #B6111B;         /* fim do degradê do rodapé */
  --color-pink: #FFB3B3;          /* menu e links do rodapé */
  --color-gold: #E7A61E;          /* etiquetas, números, SABER MAIS */
  --color-title: #343840;
  --color-text: #262525;
  --color-page: #F7F7F9;
  --color-highlight: #C9141A;
  --gradient-btn: linear-gradient(76deg, #FABE41 0%, #F0B947 100%);
  --content: 71.25rem;
}

/* ---- reset enxuto ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
body {
  min-height: 100vh;
  background: var(--color-page);
  color: #333;
  font-family: var(--font-sistema);
  font-size: 1rem;
  line-height: 1.5;
  /* o tema do original (Hello Elementor) liga a suavização em escala de cinza no corpo: mantido igual */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg, iframe { max-width: 100%; }
img { height: auto; vertical-align: middle; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4, p { font-weight: inherit; font-size: inherit; line-height: inherit; }
b, strong { font-weight: bolder; }

/* foco visível: some só para quem clica com o mouse */
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 0.125rem solid #343840; outline-offset: 0.1875rem; }
.topo :focus-visible, .rodape :focus-visible, .menu-cel :focus-visible, .amor :focus-visible { outline-color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -0.0625rem; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pular { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 1001; padding: 0.75rem 1rem; background: #fff; color: #000; font: 500 1rem/1 var(--font-inter); transform: translateY(-300%); }
.pular:focus { transform: none; }

/* ---- cabeçalho (logo pendurado sobre a seção seguinte) ---- */
.topo { position: relative; z-index: 20; background: var(--color-red); }
.topo__in { display: grid; grid-template-columns: 40% 20% 40%; max-width: var(--content); margin: 0 auto; }
.topo__lista { display: flex; align-items: center; gap: 0.9375rem; }
.topo__lista a { display: block; color: var(--color-pink); font: 300 0.875rem/1.3125rem var(--font-inter); text-transform: uppercase; transition: color .3s; }
.topo__lista a:hover, .topo__lista a:focus-visible { color: #fff; }
.topo__lista--esq { align-self: center; }
.topo__logo { position: relative; z-index: 999; display: block; margin-bottom: -3.75rem; }
.topo__logo img { display: block; width: 100%; aspect-ratio: 279 / 211; }
.topo__dir { display: flex; align-items: center; justify-content: flex-end; gap: 0.9375rem; }
.topo__fone { display: block; margin-right: 0.9375rem; }
.topo__fone img { display: block; width: 2.5rem; height: 2.5rem; }
.topo__abrir { display: none; }

/* ---- menu do celular (popup do original: painel vermelho à direita) ---- */
.menu-cel { position: fixed; inset: 0 0 0 auto; width: 20rem; max-width: 100%; height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 3.125rem; border: 0; background: var(--color-red); color: #fff; overflow-y: auto; }
.menu-cel[open] { display: flex; flex-direction: column; justify-content: center; align-items: center; animation: entra-direita 1.2s both; }
.menu-cel::backdrop { background: rgba(0, 0, 0, .8); }
@keyframes entra-direita { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: none; } }
.menu-cel__fechar { position: absolute; top: 1.6%; right: 83.2%; display: flex; align-items: center; justify-content: center; width: 1.25rem; height: 1.25rem; background: rgba(225, 222, 222, .15); color: #fff; }
.menu-cel__fechar::before { content: ''; position: absolute; inset: -0.25rem; }
.menu-cel__fechar svg { width: 1.25rem; height: 1.25rem; }
.menu-cel__simbolo { display: block; width: 6.25rem; height: 6.25rem; flex: none; }
.menu-cel__filete { width: 100%; height: 1px; margin-top: 1.3125rem; background: rgba(255, 255, 255, .13); flex: none; }
.menu-cel__lista { width: 100%; margin: 4.3125rem 0 4.375rem; }
.menu-cel__lista a { display: block; padding: 0.625rem 0; color: #CA8D8D; font: 400 0.75rem/0.75rem 'Nunito', sans-serif; text-align: center; text-transform: uppercase; transition: color .3s; }
.menu-cel__lista a:hover, .menu-cel__lista a:focus-visible, .menu-cel__lista a[aria-current='page'] { color: #fff; }
.menu-cel__lista + .menu-cel__filete { margin-top: 0; }
.menu-cel__fone { display: inline-flex; align-items: center; margin-top: 1.125rem; padding: 0.3125rem 0.9375rem 0.3125rem 0.3125rem; border-radius: 6.25rem; background: rgba(255, 255, 255, .07); color: #fff; font: 300 0.8125rem/1.21875rem 'Nunito', sans-serif; flex: none; }
.menu-cel__fone img { width: 1.875rem; height: 1.875rem; margin-right: 0.46875rem; }

/* ---- botões ---- */
.botao-amarelo, .botao-branco { display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem; padding: 0.75rem 1.5rem; border-radius: 6.25rem; font-family: var(--font-inter); font-weight: 500; text-transform: uppercase; transition: filter .3s; }
.botao-amarelo { background-image: var(--gradient-btn); color: #fff; font-size: 1rem; line-height: 1.5rem; }
.botao-amarelo img { width: 1rem; height: 0.509375rem; }
.botao-branco { background: #fff; color: #383737; font-size: 0.875rem; line-height: 1.3125rem; }
.botao-branco img { width: 0.875rem; height: 0.458125rem; }
.botao-amarelo:hover, .botao-branco:hover { filter: brightness(1.04); }

/* ---- título de seção: etiqueta dourada + título fino com parte em negrito ---- */
.chamada { max-width: 51.25rem; margin: 0 auto; padding: 0.625rem; text-align: center; }
.chamada__etiqueta { color: var(--color-gold); font: 600 0.875rem/0.875rem var(--font-inter); }
.chamada__titulo { margin-top: 0.375rem; color: var(--color-title); font: 200 2.375rem/2.375rem var(--font-inter); }
.chamada__titulo b { font-weight: 800; }
/* rótulo amarelo dentro do h1 (SEO): mesmo visual do antigo <p> + título; o ponto .sr-only separa os dois na leitura */
.chamada__titulo--rotulo { margin-top: 0; }
.chamada__titulo .rotulo { display: block; margin-bottom: 0.375rem; color: var(--color-gold); font: 600 0.875rem/0.875rem var(--font-inter); }

/* ---- grade de produtos (WooCommerce do original) ---- */
.grade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 1.25rem; max-width: var(--content); margin: 0 auto; text-align: center; }
.cartao__link { display: block; }
.cartao__foto { display: block; width: 100%; aspect-ratio: 1; margin-bottom: 1rem; border-radius: 1.25rem; }
.cartao__nome { padding: 0.5rem 0; color: var(--color-title); font: 600 1rem/1.2 var(--font-inter); }
.cartao__botao { display: inline-block; margin-top: 1rem; padding: 0.75rem 1.875rem; border-radius: 6.25rem; background: var(--color-gold); color: #fff; font: 500 1rem/1 var(--font-roboto); text-transform: uppercase; transition: filter .3s; }
.cartao__botao:hover { filter: brightness(1.06); }

/* ---- contadores ---- */
.contadores { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; max-width: var(--content); margin: 0 auto; padding: 0.625rem 0; }
.contador { display: flex; flex-direction: column-reverse; justify-content: center; padding: 1.875rem 0.625rem 1.875rem 0; border-radius: 1.25rem; background: #fff; }
.contador__numero { display: flex; color: var(--color-gold); font: 600 4.3125rem/1 var(--font-roboto); }
.contador__prefixo { flex-grow: 1; text-align: end; white-space: pre-wrap; }
.contador__sufixo { flex-grow: 1; text-align: start; white-space: pre-wrap; }
.contador__titulo { display: flex; align-items: center; justify-content: center; color: #6B6B6B; font: 400 0.75rem/2.5 var(--font-inter); text-align: center; }

/* ---- carrossel "Em todos os lugares" (5 por vez no desktop, 4 no tablet, 3 no celular) ---- */
.lugares { --por-vez: 5; margin-top: 3.125rem; padding: 1.25rem 0 3.4875rem; overflow: hidden; }
.lugares__vista { margin: 0 -5rem; }
.lugares__trilha { display: flex; gap: 1.25rem; transition: transform .5s ease; will-change: transform; }
.lugares__item { flex: 0 0 calc((100% - (var(--por-vez) - 1) * 1.25rem) / var(--por-vez)); }
.lugares__item img { display: block; width: 100%; aspect-ratio: 1; border-radius: 1.25rem; object-fit: cover; }

/* ---- rodapé (curva no topo, selo ao fundo, faixa da assinatura) ---- */
.rodape { background: var(--color-page); }
.rodape__corpo { position: relative; isolation: isolate; padding: 9.375rem 0 3.125rem; background-image: linear-gradient(180deg, var(--color-red) 0%, var(--color-red-2) 100%); }
.rodape__corpo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('../img/selo-rodape-454.webp') bottom center / 20.8125rem auto no-repeat; opacity: .5; mix-blend-mode: overlay; }
.rodape__corpo::after { content: ''; position: absolute; left: 0; right: 0; top: -0.0625rem; height: 6.25rem; transform: rotate(180deg); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath fill='%23F7F7F9' d='M500,97C126.7,96.3,0.8,19.8,0,0v100l1000,0V1C1000,19.4,873.3,97.8,500,97z'/%3E%3C/svg%3E") center / calc(150% + 0.08125rem) 100% no-repeat; pointer-events: none; }
.rodape__in { display: flex; max-width: var(--content); margin: 0 auto; }
.rodape__col { flex: 0 1 25%; align-self: center; min-width: 0; }
.rodape__col--logo { flex-basis: 50%; }
.rodape__col--logo img { display: block; width: 50%; margin: 0 auto; aspect-ratio: 642 / 442; }
.rodape__col--redes, .rodape__col--atend { display: flex; flex-direction: column; align-items: flex-start; padding-left: 3.125rem; }
.rodape__titulo { color: #fff; font: 500 1rem/1rem var(--font-inter); }
.rodape__espaco { display: block; height: 1rem; }
.rodape__lista { margin-top: 1.25rem; }
.rodape__lista li { width: fit-content; color: var(--color-pink); font: 300 0.875rem/1.3125rem var(--font-inter); }
.rodape__lista li + li { margin-top: 0.9375rem; }
.rodape__lista a { transition: color .3s; }
.rodape__lista a:hover, .rodape__lista a:focus-visible { color: #fff; }
.rodape__base { display: flex; align-items: center; min-height: 3.125rem; padding: 0.625rem 0; background: var(--color-red); }
.rodape__base-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; max-width: var(--content); margin: 0 auto; }
.rodape__copy { flex: 0 0 50%; color: var(--color-pink); font: 300 0.75rem/0.75rem var(--font-inter); }
.assinatura-viss { display: inline-flex; margin: -0.375rem 0; opacity: .5; transition: opacity .2s ease; }
.assinatura-viss:hover, .assinatura-viss:focus-visible { opacity: 1; }
.assinatura-viss img { width: 1.5rem; height: 1.5rem; }

/* ---- botão do WhatsApp (fixo, redondo, amarelo, pulsando) ---- */
.whats { position: fixed; right: 1.875rem; top: 38.75rem; z-index: 50; display: flex; align-items: center; justify-content: center; width: 4.75rem; height: 4.75rem; border-radius: 50%; background: linear-gradient(96deg, #E7A61E -61.61%, #FFC959 100%); color: #fff; animation: pulso 1.2s infinite; }
.whats svg { width: 2.078125rem; height: 2.375rem; fill: currentColor; }
@keyframes pulso { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }

/* ---- movimento reduzido ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .whats { animation: none; }
}

/* =========================================================================
   TABLET · 768 a 1024
   ========================================================================= */
@media (max-width: 1024px) {
  .topo { padding: 0 1.25rem; }
  .topo__in { min-height: 5rem; }
  .topo__lista { gap: 0.3125rem; }
  .topo__lista a { font-size: 0.75rem; line-height: 1.125rem; }
  .topo__logo { width: 80%; justify-self: center; }
  .topo__dir { gap: 0.3125rem; }
  .topo__fone { margin-right: 0.75rem; }
  .topo__fone img { width: 1.875rem; height: 1.875rem; }
  .botao-amarelo { font-size: 0.875rem; line-height: 1.3125rem; }
  .botao-amarelo img { width: 0.875rem; height: 0.445625rem; }
  .chamada__titulo { font-size: 2rem; line-height: 2rem; }
  .grade { padding: 0; }
  .cartao__nome { padding: 0.4375rem 0; font-size: 0.875rem; }
  .cartao__botao { margin-top: 0.75rem; font-size: 0.75rem; }
  .contadores { padding: 1.25rem; max-width: none; }
  .contador { padding: 1.875rem 0; }
  .contador--clientes { padding: 1.875rem 0.625rem 1.875rem 0; }
  .contador__numero { font-size: 1.875rem; }
  .contador__titulo { font-size: 0.625rem; }
  .lugares { --por-vez: 4; }
  .rodape__corpo { padding: 4.375rem 1.25rem 3.125rem; }
  .rodape__corpo::before { background-size: 15.625rem auto; opacity: .19; }
  .rodape__corpo::after { height: 2.5rem; }
  .rodape__col--logo img { width: 60%; }
  .rodape__col--redes { padding-left: 1.25rem; }
  .rodape__col--atend { padding-left: 0; }
  .rodape__titulo { font-size: 0.875rem; line-height: 0.875rem; }
  .rodape__lista li { font-size: 0.75rem; line-height: 1.125rem; }
  .rodape__lista li + li { margin-top: 0.3125rem; }
  .rodape__base { padding: 0.625rem 1.25rem; }
  .whats { top: 13.75rem; }
}

/* =========================================================================
   CELULAR · até 767
   ========================================================================= */
@media (max-width: 767px) {
  .topo__in { grid-template-columns: 20% 60% 20%; align-items: start; }
  .topo__lista { display: none; }
  .topo__logo { grid-column: 2; grid-row: 1; width: 70%; }
  .topo__dir { display: contents; }
  .topo__fone { grid-column: 1; grid-row: 1; align-self: center; margin: 0; }
  .topo__fone img { width: 2.5rem; height: 2.5rem; }
  .topo__abrir { grid-column: 3; grid-row: 1; justify-self: end; align-self: center; display: flex; align-items: center; justify-content: flex-end; width: 2.75rem; height: 2.75rem; color: #fff; }
  .topo__abrir svg { width: 1.5625rem; height: 1.5625rem; opacity: .73; }
  .chamada__titulo { font-size: 1.375rem; line-height: 1.375rem; }
  .grade { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .cartao__nome { padding: 0.375rem 0; font-size: 0.75rem; }
  .contadores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contador--produtos { display: none; }
  .lugares { --por-vez: 3; }
  .rodape__corpo { padding: 3.125rem 1.25rem; }
  .rodape__corpo::before { background-position: top center; }
  .rodape__corpo::after { height: 1.25rem; }
  .rodape__in { flex-wrap: wrap; }
  .rodape__col { flex: 0 0 50%; }
  .rodape__col--links1, .rodape__col--links2 { padding-bottom: 1.5625rem; }
  .rodape__col--logo { order: -1; flex-basis: 100%; padding-bottom: 1.25rem; }
  .rodape__col--logo img { width: 50%; }
  .rodape__col--redes, .rodape__col--atend { padding-left: 0; }
  .rodape__lista li { font-size: 0.8125rem; line-height: 1.21875rem; }
  .rodape__base { min-height: 0; padding: 1.25rem; }
  .rodape__copy { flex-basis: 60%; }
  .botao-branco { font-size: 0.75rem; line-height: 1.125rem; }
  .botao-branco img { width: 0.75rem; height: 0.393125rem; }
  .whats { top: 32.5rem; }
}
