/* ==========================================================================
   Distribuidora Sinete — sistema visual
   Identidade, paleta, tipografia e composição preservadas.
   Esta camada trata só de acabamento: luz, profundidade, ritmo e hierarquia.
   ========================================================================== */

:root {
  /* Marca — valores originais, intocados */
  --brand: #03796e;
  --brand-dark: #025d54;
  --brand-light: #0aa092;
  --brand-soft: #6fd9ce;
  --brand-pale: #e6f4f2;

  --accent-red: #8c3a44;
  --accent-red-dark: #6b2a32;
  --accent-red-soft: rgba(140, 58, 68, 0.06);

  --ink: #0f2a27;
  --ink-dim: #3d5a56;
  --ink-mute: #6b817e;

  --surface: #f4f8f7;

  /* Papel: o fundo perde saturação para o conteúdo ganhar presença */
  --paper: #f6faf9;

  /* Vidro: menos blur e menos saturação — profundidade óptica, não plástica */
  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-bg-strong: rgba(255, 255, 255, 0.80);
  --glass-border: rgba(3, 121, 110, 0.12);
  --glass-blur: blur(14px) saturate(112%);

  /* Luz vindo de cima: aresta superior capta luz, inferior recebe sombra.
     É isso que impede a borda de parecer um contorno desenhado. */
  --edge-light: rgba(255, 255, 255, 0.72);
  --edge-shade: rgba(15, 42, 39, 0.08);

  /* Sombras em camadas, opacidade baixa, tom neutro — nunca glow colorido */
  --shadow-xs:
    0 1px 1px rgba(15, 42, 39, 0.035),
    0 1px 2px rgba(15, 42, 39, 0.03);
  --shadow-sm:
    0 1px 1px rgba(15, 42, 39, 0.03),
    0 2px 4px rgba(15, 42, 39, 0.035),
    0 4px 9px rgba(15, 42, 39, 0.025);
  --shadow-md:
    0 1px 1px rgba(15, 42, 39, 0.03),
    0 3px 6px rgba(15, 42, 39, 0.03),
    0 8px 17px rgba(15, 42, 39, 0.035),
    0 17px 33px rgba(15, 42, 39, 0.025);
  --shadow-lg:
    0 1px 1px rgba(15, 42, 39, 0.03),
    0 4px 9px rgba(15, 42, 39, 0.03),
    0 12px 25px rgba(15, 42, 39, 0.04),
    0 29px 56px rgba(15, 42, 39, 0.045);
  --glass-shadow: var(--shadow-md);

  /* Escala de raio coerente — cantos aninhados param de brigar entre si */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius: 18px;
  --radius-lg: 24px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  min-height: 100vh;
  background:
    radial-gradient(ellipse 92% 62% at 11% -8%, rgba(10, 160, 146, 0.055), transparent 62%),
    radial-gradient(ellipse 84% 56% at 89% 106%, rgba(3, 121, 110, 0.045), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 54%, #ffffff 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.6;
  letter-spacing: -0.002em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

::selection {
  background: rgba(3, 121, 110, 0.13);
  color: var(--ink);
}

/* Sistema de ícones: um único peso de traço para todo SVG lineado.
   Antes conviviam 2, 2.4 e 2.5 — três desenhos diferentes na mesma tela. */
svg[stroke="currentColor"] {
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Os ícones são glifos Unicode e a Poppins não os cobre, então cada um caía
   numa fonte de fallback diferente — o ⚡ chegava a vir colorido da fonte de
   emoji, no meio de símbolos monocromáticos. Fallback fixo e desenho de texto
   (nunca emoji) fazem os oito lerem como um conjunto só. */
.card .icon,
.mini-icon,
.chip-icon {
  font-family: 'Segoe UI Symbol', 'Apple Symbols', 'Noto Sans Symbols 2', system-ui, sans-serif;
  font-variant-emoji: text;
}

/* Foco visível — estado real de interface, não decorativo */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.nav :focus-visible,
.cta :focus-visible,
.footer :focus-visible,
.drawer :focus-visible,
.float-wa:focus-visible {
  outline-color: rgba(255, 255, 255, 0.9);
}

/* Fundo: campo tonal difuso, não bolhas coloridas */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.13;
}
.orb-1 { width: 480px; height: 480px; background: #6fd9ce; top: -120px; left: -80px; }
.orb-2 { width: 420px; height: 420px; background: #a8ebe2; top: 35%; right: -120px; opacity: 0.15; }
.orb-3 { width: 380px; height: 380px; background: #0aa092; bottom: -120px; left: 25%; opacity: 0.09; }

/* Vidro */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-top-color: var(--edge-light);
  border-bottom-color: var(--edge-shade);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  position: relative;
}

/* Em telas densas a borda vira hairline de verdade (0.5px).
   A espessura deixa de ser idêntica em todo dispositivo. */
@media (min-resolution: 2dppx) {
  .glass,
  .hero-chip,
  .mini,
  .brand-chip,
  .side-nav { border-width: 0.5px; }
}

/* Navegação */
.nav {
  position: fixed;
  top: 32px;
  left: 20px;
  right: 20px;
  z-index: 50;
  margin: 0 auto;
  max-width: 1200px;
  height: 58px;
  padding: 0 22px 0 12px;
  overflow: visible;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  border-radius: 999px;
  background: linear-gradient(172deg, rgba(10, 160, 146, 0.88), rgba(3, 121, 110, 0.93));
  backdrop-filter: blur(14px) saturate(115%);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.34);
  border-bottom-color: rgba(2, 60, 54, 0.16);
  box-shadow:
    0 1px 2px rgba(15, 42, 39, 0.05),
    0 6px 14px rgba(3, 121, 110, 0.11),
    0 18px 36px rgba(3, 121, 110, 0.09);
  color: #fff;
  transition: transform 0.4s var(--ease), opacity 0.28s ease;
}
.nav.nav-hidden {
  transform: translateY(-140%);
  opacity: 0;
  pointer-events: none;
}
.nav .brand { justify-self: start; transform: translateY(-22px); }
.nav .nav-links { justify-self: center; transform: translateY(-22px); font-size: 0.87rem; gap: 24px; }
.nav .nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateY(-22px);
}
.nav-actions .nav-wa { padding: 9px 17px 10px; font-size: 0.87rem; }
/* Desktop: CTA de WhatsApp visível, hambúrguer oculto */
.nav-toggle { display: none; }
.nav-wa { display: inline-flex; }

.nav .btn-primary {
  transition: background 0.22s ease, color 0.22s ease;
  box-shadow: none;
}
.nav .btn-primary:hover {
  background: #ffffff;
  color: var(--brand);
  box-shadow: none;
  transform: none;
}

/* Compensação do header fixo */
body { padding-top: 126px; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  margin-left: 8px;
}
.brand-logo {
  height: 96px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  display: block;
}
.brand-name {
  font-size: 1.04rem;
  letter-spacing: -0.008em;
  color: #fff;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: inherit;
  font-weight: 500;
  letter-spacing: -0.004em;
  transition: color 0.22s ease;
}
.nav-links a:hover { color: #fff; }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 21px 12px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: -0.004em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.26s var(--ease), background 0.22s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(176deg, var(--brand-light), var(--brand));
  color: #fff;
  box-shadow:
    0 1px 1px rgba(15, 42, 39, 0.06),
    0 2px 4px rgba(3, 121, 110, 0.12),
    0 6px 14px rgba(3, 121, 110, 0.13);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 1px rgba(15, 42, 39, 0.06),
    0 3px 7px rgba(3, 121, 110, 0.13),
    0 10px 22px rgba(3, 121, 110, 0.15);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(15, 42, 39, 0.1);
}
/* Ghost sobre o header escuro */
.nav .btn-ghost,
.nav .btn-primary { border: 1px solid rgba(255, 255, 255, 0.24); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand);
  border-color: rgba(3, 121, 110, 0.15);
  border-top-color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:active { transform: translateY(0); }
.btn-lg { padding: 15px 30px 16px; font-size: 1.01rem; }

/* Layout principal */
main {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero */
.hero {
  padding: 76px 0 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 120px);
  position: relative;
}

/* Chips laterais do hero */
.hero-float {
  position: absolute;
  top: 0;
  height: 100%;
  width: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  pointer-events: none;
  z-index: 2;
}
.hero-float-left { left: 0; align-items: flex-start; }
.hero-float-right { right: 0; align-items: flex-end; }

.hero-chip {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 16px 11px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(3, 121, 110, 0.1);
  border-top-color: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-sm);
  pointer-events: auto;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s ease;
  animation: chip-float 7.4s ease-in-out infinite;
}
.hero-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.93);
}
.chip-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
  line-height: 1;
  background: linear-gradient(172deg, var(--brand-light), var(--brand));
  color: #fff;
  box-shadow: 0 1px 2px rgba(3, 121, 110, 0.2);
}
.hero-chip:nth-child(even) .chip-icon {
  background: linear-gradient(172deg, var(--accent-red), var(--accent-red-dark));
  box-shadow: 0 1px 2px rgba(140, 58, 68, 0.22);
}
.chip-text {
  display: flex;
  flex-direction: column;
  line-height: 1.28;
}
.chip-text strong {
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.008em;
}
.chip-text span {
  font-size: 0.72rem;
  color: var(--ink-mute);
  font-weight: 400;
}

/* Durações não-harmônicas: os chips nunca voltam a sincronizar entre si.
   Ciclo idêntico é o que denuncia movimento gerado, não composto. */
.chip-a { margin-left: 4px;   animation-delay: 0s;    animation-duration: 7.4s; }
.chip-b { margin-left: 26px;  animation-delay: -1.8s; animation-duration: 8.6s; }
.chip-c { margin-left: 10px;  animation-delay: -3.6s; animation-duration: 6.9s; }
.chip-d { margin-right: 4px;  animation-delay: -0.9s; animation-duration: 8.1s; }
.chip-e { margin-right: 26px; animation-delay: -2.7s; animation-duration: 7.1s; }
.chip-f { margin-right: 10px; animation-delay: -4.5s; animation-duration: 9.3s; }

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 1100px) {
  .hero-float { display: none; }
}
.hero-card {
  padding: 66px 52px 58px;
  max-width: 920px;
  width: 100%;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--glass-bg-strong);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
/* Véu tonal atrás do conteúdo — estático e quase imperceptível */
.hero-card::before {
  content: "";
  position: absolute;
  inset: -80px;
  background:
    radial-gradient(ellipse 60% 55% at 32% 38%, rgba(10, 160, 146, 0.1), transparent 68%),
    radial-gradient(ellipse 55% 50% at 74% 66%, rgba(140, 58, 68, 0.05), transparent 70%);
  filter: blur(52px);
  z-index: -1;
  pointer-events: none;
}

/* Linha de ECG */
.ekg {
  position: absolute;
  top: 18px;
  left: 0;
  width: 100%;
  height: 42px;
  color: var(--accent-red);
  opacity: 0.24;
  pointer-events: none;
  overflow: visible;
}
.ekg path {
  stroke-width: 1.4;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: ekg-draw 9s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes ekg-draw {
  0%   { stroke-dashoffset: 1200; }
  60%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1200; }
}
.pill {
  display: inline-block;
  padding: 5px 13px 6px;
  border-radius: 999px;
  background: var(--accent-red-soft);
  border: 1px solid rgba(140, 58, 68, 0.14);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-red);
  margin-bottom: 20px;
  letter-spacing: 0.012em;
  line-height: 1.4;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.028em;
  margin-bottom: 22px;
  color: var(--ink);
  text-wrap: balance;
}
/* Duotom da marca, estático. O vermelho entra só no fim do trecho: como o
   gradiente é medido em % do span, virar cedo trocava a cor no meio de uma
   palavra dependendo do texto. */
.accent-text {
  background: linear-gradient(96deg, var(--brand-light) 0%, var(--brand) 40%, var(--brand-dark) 76%, var(--accent-red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 1.09rem;
  line-height: 1.62;
  color: var(--ink-dim);
  max-width: 616px;
  margin: 0 auto 34px;
  font-weight: 400;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  gap: 13px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 46px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid rgba(3, 121, 110, 0.1);
}
.hero-stats div { display: flex; flex-direction: column; gap: 3px; }
.hero-stats strong {
  font-size: 1.72rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.024em;
  line-height: 1.15;
  /* Dígitos de largura fixa: o contador anima sem o texto tremer */
  font-variant-numeric: tabular-nums;
}
.hero-stats div:nth-child(2) strong { color: var(--accent-red); }
.hero-stats span {
  font-size: 0.82rem;
  color: var(--ink-mute);
  font-weight: 400;
}

/* Seções — respiro assimétrico, o bloco fecha um pouco antes de abrir o próximo */
.section {
  padding: 88px 0 84px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#diferenciais,
#contato {
  min-height: auto;
  padding: 72px 0 76px;
}
.section-head {
  text-align: center;
  margin-bottom: 52px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.55rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.024em;
  margin-bottom: 12px;
  color: var(--ink);
  text-wrap: balance;
}
.section-head p {
  color: var(--ink-dim);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 608px;
  margin: 0 auto;
  font-weight: 400;
  text-wrap: pretty;
}

/* Grid / Cards — colunas e linhas com folgas diferentes, como se lê */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  column-gap: 20px;
  row-gap: 24px;
}
.products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 20px;
  row-gap: 24px;
}
.products-grid .card {
  flex: 1 1 260px;
  max-width: 300px;
}
.card {
  padding: 28px 28px 30px;
  transition: transform 0.34s var(--ease), box-shadow 0.34s var(--ease), background 0.34s ease;
}
.card:hover {
  transform: translateY(-2px);
  background: var(--glass-bg-strong);
  box-shadow: var(--shadow-lg);
}
.card:hover .icon {
  background: rgba(140, 58, 68, 0.06);
  border-color: rgba(140, 58, 68, 0.16);
  color: var(--accent-red);
}
.card .icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.32rem;
  line-height: 1;
  font-weight: 400;
  border-radius: var(--radius-sm);
  background: rgba(3, 121, 110, 0.055);
  border: 1px solid rgba(3, 121, 110, 0.12);
  margin-bottom: 20px;
  color: rgba(3, 121, 110, 0.88);
  transition: background 0.34s ease, border-color 0.34s ease, color 0.34s ease;
}
/* Correção óptica, ícone a ícone.
   Glifos sólidos (◆ ◉) pesam muito mais que vazados (◇ ✦ ❖) no mesmo corpo.
   Igualar o font-size deixa a fileira desigual; igualar a mancha é que faz
   os oito cards lerem como uma família. Ajustado no olho, não por fórmula. */
.products-grid .card:nth-child(1) .icon { font-size: 1.34rem; } /* ◎ */
.products-grid .card:nth-child(2) .icon { font-size: 1.26rem; } /* ◈ */
.products-grid .card:nth-child(3) .icon { font-size: 1.42rem; } /* ◇ */
.products-grid .card:nth-child(4) .icon { font-size: 1.16rem; } /* ◉ */
.products-grid .card:nth-child(5) .icon { font-size: 1.12rem; } /* ◆ */
.products-grid .card:nth-child(6) .icon { font-size: 1.44rem; } /* ✦ */
.products-grid .card:nth-child(7) .icon { font-size: 1.22rem; } /* ✚ */
.products-grid .card:nth-child(8) .icon { font-size: 1.38rem; } /* ❖ */

.card h3 {
  font-size: 1.14rem;
  line-height: 1.3;
  letter-spacing: -0.014em;
  margin-bottom: 7px;
  font-weight: 600;
  color: var(--ink);
}
.card p {
  color: var(--ink-dim);
  font-size: 0.93rem;
  line-height: 1.62;
  font-weight: 400;
  text-wrap: pretty;
}

/* Card de categoria — o card inteiro é o alvo do clique */
.card-cat {
  display: flex;
  flex-direction: column;
  padding: 0;
  text-decoration: none;
  color: inherit;
}
.card-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid rgba(3, 121, 110, 0.08);
}
/* Os slides são 16:9 exatos, então `cover` mostra a página inteira sem cortar */
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.card-cat:hover .card-media img { transform: scale(1.025); }
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}
.card-cat .icon { margin-bottom: 14px; }
/* Empurra o CTA para a base: todos alinham na mesma altura na fileira */
.card-cat p { flex: 1; margin-bottom: 16px; }
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.006em;
  color: var(--brand);
  transition: gap 0.28s var(--ease), color 0.24s ease;
}
.card-cta svg { flex: 0 0 auto; transition: transform 0.28s var(--ease); }
.card-cat:hover .card-cta { color: var(--accent-red); }
.card-cat:hover .card-cta svg { transform: translateX(3px); }

/* Sobre */
.about {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 44px;
  padding: 48px 52px 50px;
  border-radius: var(--radius-lg);
  align-items: center;
  background: var(--glass-bg-strong);
}
.about h2 {
  font-size: clamp(1.7rem, 3vw, 2.28rem);
  margin-bottom: 18px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}
.about p {
  color: var(--ink-dim);
  margin-bottom: 14px;
  font-size: 0.99rem;
  line-height: 1.66;
  font-weight: 400;
  text-wrap: pretty;
}
.about p:last-of-type { margin-bottom: 0; }
.about strong { color: var(--accent-red); font-weight: 600; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-top: 22px; }
.check-list li {
  color: var(--ink-dim);
  padding-left: 28px;
  position: relative;
  font-weight: 400;
  font-size: 0.97rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(140, 58, 68, 0.08);
  border: 1px solid rgba(140, 58, 68, 0.18);
  color: var(--accent-red);
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  height: 300px;
}
.mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  border-radius: var(--radius);
  font-size: 0.97rem;
  letter-spacing: -0.006em;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(3, 121, 110, 0.11);
  border-top-color: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s ease;
  cursor: default;
}
.mini::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(168deg, rgba(10, 160, 146, 0.09), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.mini:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.mini:hover::before { opacity: 1; }
.mini-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(3, 121, 110, 0.06);
  border: 1px solid rgba(3, 121, 110, 0.12);
  color: rgba(3, 121, 110, 0.88);
  font-size: 1.12rem;
  line-height: 1;
  transition: transform 0.4s var(--ease), background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}
.mini:hover .mini-icon {
  transform: scale(1.03);
  background: rgba(140, 58, 68, 0.06);
  color: var(--accent-red);
  border-color: rgba(140, 58, 68, 0.16);
}
.mini-1 .mini-icon { font-size: 1.16rem; } /* ◎ */
.mini-2 .mini-icon { font-size: 1rem; }    /* ⚡ */
.mini-3 .mini-icon { font-size: 1.24rem; } /* ✦ */
.mini-4 .mini-icon { font-size: 1.06rem; } /* ♥ */
.mini-2 { align-self: end; background: linear-gradient(168deg, rgba(111, 217, 206, 0.22), rgba(255, 255, 255, 0.86)); }
.mini-3 { align-self: start; background: rgba(255, 255, 255, 0.9); }
.mini-4 { background: linear-gradient(168deg, rgba(10, 160, 146, 0.13), rgba(255, 255, 255, 0.8)); }

/* CTA do catálogo */
.catalog-cta {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.catalog-hint {
  font-size: 0.83rem;
  color: var(--ink-mute);
  font-weight: 400;
  letter-spacing: 0.002em;
}

/* Diferenciais — 4 itens, uma fileira cheia.
   Com auto-fit a faixa de tablet abria 3 colunas e deixava o "04" sozinho. */
.diff-grid { grid-template-columns: repeat(4, 1fr); }

/* FAQ: seis perguntas fecham exatamente em 3 × 2.
   O auto-fit da .diff-grid abria 4 colunas e deixava uma fileira órfã de 2 —
   aqui a contagem é fixa para a grade sempre fechar cheia. */
#faq .grid { grid-template-columns: repeat(3, 1fr); }
.diff { padding: 26px 26px 28px; }
.diff-num {
  font-size: 1.9rem;
  font-weight: 700;
  color: rgba(140, 58, 68, 0.82);
  margin-bottom: 8px;
  letter-spacing: -0.032em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* CTA */
.cta {
  padding: 60px 48px 62px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(168deg, var(--brand-light) 0%, var(--brand) 58%, var(--brand-dark) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  box-shadow:
    0 1px 2px rgba(15, 42, 39, 0.05),
    0 8px 20px rgba(3, 121, 110, 0.13),
    0 24px 52px rgba(3, 121, 110, 0.13);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 180%;
  background:
    radial-gradient(circle at 22% 28%, rgba(140, 58, 68, 0.2), transparent 48%),
    radial-gradient(circle at 78% 72%, rgba(111, 217, 206, 0.16), transparent 52%);
  filter: blur(46px);
  z-index: -1;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.16;
  pointer-events: none;
  z-index: -1;
}
.cta .pill {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
}
.cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.28rem);
  margin-bottom: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.022em;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
  text-wrap: balance;
}
.cta .accent-text {
  background: linear-gradient(96deg, #ffffff, var(--brand-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta p {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 32px;
  max-width: 552px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.62;
  text-wrap: pretty;
}
.cta .btn-primary {
  background: #fff;
  color: var(--brand);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 1px 2px rgba(2, 40, 36, 0.1),
    0 4px 10px rgba(2, 40, 36, 0.11),
    0 12px 28px rgba(2, 40, 36, 0.13);
}
.cta .btn-primary:hover {
  background: var(--brand-pale);
  color: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow:
    0 1px 2px rgba(2, 40, 36, 0.1),
    0 6px 14px rgba(2, 40, 36, 0.12),
    0 18px 36px rgba(2, 40, 36, 0.15);
}
.cta .btn-primary:active { transform: translateY(0); }

/* ---------- Página de categoria ---------- */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--ink-mute);
  margin-bottom: 26px;
}
.breadcrumb a { color: var(--ink-dim); text-decoration: none; transition: color 0.22s ease; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span[aria-current] { color: var(--ink); font-weight: 500; }
.breadcrumb .sep { color: rgba(15, 42, 39, 0.28); }

.cat-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}
.cat-head h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  margin-bottom: 16px;
}
.cat-head p {
  color: var(--ink-dim);
  font-size: 1.05rem;
  line-height: 1.64;
  margin: 0 auto;
  text-wrap: pretty;
}

.cat-gallery {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}
.cat-slide {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--glass-border);
  border-top-color: var(--edge-light);
  border-bottom-color: var(--edge-shade);
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cat-slide img { width: 100%; height: auto; display: block; }
.cat-slide:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
/* Os slides trazem texto miúdo — a lupa avisa que dá para abrir maior */
.cat-slide::after {
  content: "⤢";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(3, 121, 110, 0.12);
  color: var(--brand);
  font-size: 0.94rem;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.28s ease, transform 0.28s var(--ease);
}
.cat-slide:hover::after { opacity: 1; transform: translateY(0); }

/* Faixa de orçamento, repetida ao fim da galeria */
.cat-cta {
  max-width: 1000px;
  margin: 52px auto 0;
  padding: 40px 40px 42px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(168deg, var(--brand-light) 0%, var(--brand) 58%, var(--brand-dark) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  box-shadow:
    0 1px 2px rgba(15, 42, 39, 0.05),
    0 8px 20px rgba(3, 121, 110, 0.13),
    0 24px 52px rgba(3, 121, 110, 0.13);
}
.cat-cta h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: #fff;
  text-wrap: balance;
}
.cat-cta p {
  color: rgba(255, 255, 255, 0.86);
  margin: 0 auto 26px;
  max-width: 520px;
  line-height: 1.6;
  text-wrap: pretty;
}
.cat-cta .btn-primary {
  background: #fff;
  color: var(--brand);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 1px 2px rgba(2, 40, 36, 0.1),
    0 4px 10px rgba(2, 40, 36, 0.11),
    0 12px 28px rgba(2, 40, 36, 0.13);
}
.cat-cta .btn-primary:hover {
  background: var(--brand-pale);
  color: var(--brand-dark);
  transform: translateY(-1px);
}

/* Volta para a grade de categorias */
.cat-back {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.cat-back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.22s ease, gap 0.28s var(--ease);
}
.cat-back a:hover { color: var(--brand); gap: 11px; }

@media (max-width: 640px) {
  .cat-gallery { gap: 14px; }
  .cat-slide { border-radius: var(--radius); }
  .cat-cta { padding: 32px 22px 34px; margin-top: 40px; border-radius: var(--radius); }
  .cat-cta .btn-lg { width: 100%; max-width: 320px; justify-content: center; }
  .breadcrumb { margin-bottom: 20px; font-size: 0.8rem; }
}

/* Rodapé.
   Retângulo, não pílula: o `border-radius: 999px` anterior era desenhado para
   uma barra de uma linha e comia ~50px úteis de cada ponta. */
.footer {
  max-width: 1200px;
  margin: 80px auto 26px;
  padding: 38px 44px 24px;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  background: linear-gradient(168deg, var(--brand-light) 0%, var(--brand) 62%, var(--brand-dark) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(255, 255, 255, 0.3);
  border-bottom-color: rgba(2, 60, 54, 0.16);
  box-shadow:
    0 1px 2px rgba(15, 42, 39, 0.05),
    0 6px 14px rgba(3, 121, 110, 0.1),
    0 18px 36px rgba(3, 121, 110, 0.09);
  color: #fff;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 28px;
}
.footer-name {
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.014em;
  margin-bottom: 9px;
}
.footer-tag {
  font-size: 0.86rem;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.7);
  max-width: 350px;
  text-wrap: pretty;
}
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
/* Rótulo da coluna: hierarquia por peso e opacidade, sem caixa-alta —
   o resto do site não usa versal em lugar nenhum */
.footer-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.52);
  letter-spacing: 0.004em;
  margin-bottom: 2px;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.89rem;
  font-weight: 500;
  letter-spacing: -0.004em;
  transition: color 0.22s ease;
}
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; display: contents; }
.footer-phone {
  font-size: 1.02rem !important;
  font-weight: 600 !important;
  color: #fff !important;
  letter-spacing: -0.012em;
}
.footer-wa { display: inline-flex; align-items: center; gap: 7px; }
.footer-wa svg { flex: 0 0 auto; opacity: 0.85; }

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.81rem;
  color: rgba(255, 255, 255, 0.6);
}

/* História / +25 anos */
.history-section {
  min-height: auto;
  padding: 56px 0 88px;
}
.history-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}
.history-hero {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(168deg, var(--brand-light), var(--brand));
  position: relative;
}
.history-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top-color: rgba(255, 255, 255, 0.28);
  pointer-events: none;
  z-index: 3;
}
.history-glass {
  height: 72px;
  flex-shrink: 0;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.13) 55%,
    rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(10px) saturate(110%);
  -webkit-backdrop-filter: blur(10px) saturate(110%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.history-img {
  display: block;
  width: 100%;
  height: auto;
  flex-shrink: 0;
}
.history-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.history-stack .card {
  padding: 20px 22px 21px;
}
.history-stack .card h3 {
  color: var(--brand-dark);
  font-size: 1.06rem;
  letter-spacing: -0.014em;
  margin-bottom: 6px;
}
.history-stack .card p {
  font-size: 0.89rem;
  line-height: 1.58;
}
.history-stack .card .icon {
  width: 38px;
  height: 38px;
  font-size: 1.15rem;
  border-radius: var(--radius-sm);
  margin-bottom: 13px;
  background: rgba(140, 58, 68, 0.06);
  border-color: rgba(140, 58, 68, 0.14);
  color: rgba(140, 58, 68, 0.88);
}
/* Mesma correção óptica da grade de produtos */
.history-stack .card:nth-child(1) .icon { font-size: 1.04rem; } /* ✚ */
.history-stack .card:nth-child(2) .icon { font-size: 1rem; }    /* ◉ */
.history-stack .card:nth-child(3) .icon { font-size: 1.18rem; } /* ❖ */
@media (max-width: 900px) {
  .history-layout { grid-template-columns: 1fr; gap: 22px; }
  .history-hero { max-width: 520px; margin: 0 auto; min-height: 280px; }
  .history-stack .card { padding: 22px; }
  .history-stack .card h3 { font-size: 1.12rem; }
  .history-stack .card p { font-size: 0.93rem; }
}

/* Hambúrguer — mesmo peso de traço dos ícones SVG */
.nav-toggle {
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6.5px;
  transition: opacity 0.2s ease;
  justify-self: end;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.4s var(--ease), opacity 0.25s ease, background 0.2s ease;
  transform-origin: center;
}
.nav-toggle:hover span { background: rgba(255, 255, 255, 0.75); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.4s;
}
.drawer.open {
  pointer-events: auto;
  visibility: visible;
  transition: visibility 0s linear 0s;
}
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 40, 36, 0.42);
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 86vw);
  background: linear-gradient(168deg, var(--brand-light) 0%, var(--brand) 62%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow:
    -1px 0 2px rgba(2, 40, 36, 0.06),
    -8px 0 24px rgba(2, 40, 36, 0.1),
    -24px 0 60px rgba(2, 40, 36, 0.13);
  padding: 70px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transform: translateX(100%);
  transition: transform 0.44s var(--ease);
  overflow-y: auto;
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, transform 0.3s var(--ease);
}
.drawer-close:hover { background: #fff; color: var(--brand); transform: rotate(90deg); }
.drawer-brand {
  display: flex;
  justify-content: center;
  padding: 4px 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.drawer-brand img {
  height: 70px;
  width: auto;
}
.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.drawer-links a {
  display: block;
  padding: 11px 14px 12px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: -0.006em;
  border-radius: var(--radius-sm);
  transition: background 0.22s ease, color 0.22s ease, padding 0.26s var(--ease);
  position: relative;
}
.drawer-links a::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translate(-10px, -50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.26s var(--ease);
}
.drawer-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  padding-left: 27px;
}
.drawer-links a:hover::before {
  opacity: 1;
  transform: translate(0, -50%);
}
.drawer-cta {
  margin-top: auto;
  width: 100%;
  background: #fff !important;
  color: var(--brand) !important;
  border: none;
  padding: 13px 18px 14px !important;
  font-size: 0.98rem !important;
  box-shadow: 0 1px 2px rgba(2, 40, 36, 0.1), 0 6px 16px rgba(2, 40, 36, 0.12);
}
.drawer-cta:hover {
  background: var(--brand-pale) !important;
  transform: translateY(-1px);
}

/* Barra de progresso de leitura */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-light), var(--brand) 55%, var(--accent-red));
  z-index: 100;
  transition: width 0.08s linear;
}

/* Navegação lateral por pontos */
.side-nav {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 13px 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(10px) saturate(110%);
  -webkit-backdrop-filter: blur(10px) saturate(110%);
  border: 1px solid rgba(3, 121, 110, 0.1);
  border-top-color: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
}
.side-nav a {
  position: relative;
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.side-nav a span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(3, 121, 110, 0.26);
  transition: background 0.26s ease, transform 0.26s var(--ease), box-shadow 0.26s ease;
}
.side-nav a:hover span { background: var(--brand); transform: scale(1.18); }
.side-nav a.active span {
  background: var(--accent-red);
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(140, 58, 68, 0.12);
}
.side-nav a::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 13px);
  top: 50%;
  transform: translateY(-50%) translateX(5px);
  background: var(--brand-dark);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: -0.004em;
  padding: 5px 9px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--shadow-sm);
  transition: opacity 0.22s ease, transform 0.22s var(--ease);
}
.side-nav a:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Decoração de borda — presença mínima, sem movimento */
.bg-deco {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.deco { position: absolute; opacity: 0.06; }
.deco-plus { color: var(--brand); }
.deco-plus.deco-1 { top: 12%; left: 3%; width: 38px; height: 38px; color: var(--accent-red); opacity: 0.055; }
.deco-plus.deco-2 { top: 38%; right: 4%; width: 46px; height: 46px; opacity: 0.05; }
.deco-plus.deco-3 { top: 68%; left: 5%; width: 30px; height: 30px; color: var(--accent-red); opacity: 0.06; }
.deco-plus.deco-4 { top: 85%; right: 6%; width: 36px; height: 36px; opacity: 0.045; }
.deco-plus.deco-5 { top: 22%; right: 8%; width: 24px; height: 24px; color: var(--accent-red); opacity: 0.065; }

.deco-ring {
  border-radius: 50%;
  border: 1px solid rgba(3, 121, 110, 0.5);
  opacity: 0.09;
}
.deco-ring-1 { width: 160px; height: 160px; top: 55%; left: -50px; }
.deco-ring-2 { width: 220px; height: 220px; bottom: 10%; right: -90px; border-color: rgba(140, 58, 68, 0.5); opacity: 0.07; }

.deco-dots {
  width: 140px;
  height: 140px;
  background-image: radial-gradient(rgba(3, 121, 110, 0.35) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.12;
}
.deco-dots-1 { top: 28%; right: 2%; }
.deco-dots-2 { bottom: 18%; left: 2%; background-image: radial-gradient(rgba(140, 58, 68, 0.35) 1px, transparent 1px); opacity: 0.1; }

/* ---------- Componentes interativos ---------- */

/* Entrada ao rolar — deslocamento curto, sem chamar atenção para si */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Luz que acompanha o cursor — clarão branco fraco, não brilho colorido */
.card { overflow: hidden; isolation: isolate; }
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%),
              rgba(255, 255, 255, 0.5), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
  z-index: -1;
}
.card:hover::before { opacity: 1; }

/* Marquise de marcas */
.brands-section { min-height: auto; padding: 64px 0 68px; }
.marquee {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 68s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.brand-chip {
  flex: 0 0 auto;
  padding: 12px 24px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(3, 121, 110, 0.11);
  border-top-color: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-xs);
  color: var(--ink-dim);
  font-weight: 500;
  font-size: 0.94rem;
  letter-spacing: 0.004em;
  white-space: nowrap;
  transition: background 0.26s ease, color 0.26s ease, border-color 0.26s ease, transform 0.26s var(--ease);
}
.brand-chip:hover {
  background: rgba(140, 58, 68, 0.055);
  color: var(--accent-red);
  border-color: rgba(140, 58, 68, 0.2);
  transform: translateY(-1px);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Botão flutuante do WhatsApp */
.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(168deg, #25d366, #128c7e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow:
    0 1px 2px rgba(15, 42, 39, 0.08),
    0 4px 10px rgba(18, 140, 126, 0.18),
    0 12px 28px rgba(18, 140, 126, 0.2);
  z-index: 60;
  transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease);
}
.float-wa:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 1px 2px rgba(15, 42, 39, 0.08),
    0 6px 14px rgba(18, 140, 126, 0.2),
    0 18px 38px rgba(18, 140, 126, 0.22);
}
.float-wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.26);
  animation: wa-pulse 3.4s ease-out infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.34; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* Voltar ao topo */
.float-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-red);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 1px 2px rgba(15, 42, 39, 0.08),
    0 4px 10px rgba(140, 58, 68, 0.18),
    0 10px 22px rgba(140, 58, 68, 0.16);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.26s ease, transform 0.26s var(--ease), background 0.22s ease;
  z-index: 59;
}
.float-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.float-top:hover { background: var(--accent-red-dark); }

/* Responsivo */
/* Tablet / mobile: CTA dá lugar ao hambúrguer */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-wa { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    grid-template-columns: 1fr auto;
  }
  .nav .nav-actions { transform: translateY(-14px); gap: 0; }
}

@media (max-width: 900px) {
  .nav {
    height: 56px;
    padding: 0 12px 0 6px;
    top: 20px;
  }
  body { padding-top: 104px; }

  .nav .brand { transform: translateY(-14px); margin-left: 2px; }
  .brand-logo { height: 82px; max-width: 260px; }

  .about { grid-template-columns: 1fr; padding: 34px 26px 36px; gap: 28px; }
  .about-visual { height: 220px; }
  .hero-card { padding: 48px 28px 42px; }
  /* Em corpo menor o tracking negativo fecha demais — afrouxa junto com o tamanho */
  h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); letter-spacing: -0.02em; }
  .lead { font-size: 1rem; }
  .hero-stats { gap: 26px; }
  .hero-stats strong { font-size: 1.4rem; letter-spacing: -0.02em; }
  .cta { padding: 46px 28px 48px; }
  /* A marca ocupa a linha inteira; navegação e contato dividem a de baixo */
  .footer { padding: 32px 28px 22px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-tag { max-width: 460px; }
  .section { padding: 64px 0 60px; min-height: auto; }
  .hero { padding: 40px 0; }
  .history-section { padding: 40px 0 64px; }

  /* 6 perguntas em 2 colunas = 3 fileiras cheias; 4 diferenciais = 2 × 2 */
  #faq .grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }

  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: clamp(1.6rem, 5vw, 2.1rem); letter-spacing: -0.02em; }
  .about h2 { font-size: clamp(1.5rem, 5vw, 2rem); letter-spacing: -0.018em; }

  .ekg { top: 12px; height: 34px; }

  .deco-ring { display: none; }
  .deco-dots { width: 90px; height: 90px; opacity: 0.08; }
  .deco-plus { opacity: 0.04; }
}

@media (max-width: 640px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding-top: 24px;
  }
  .hero-stats div { align-items: center; }

  .hero-actions { flex-direction: column; gap: 10px; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .products-grid { column-gap: 12px; row-gap: 14px; }
  .products-grid .card { flex: 1 1 100%; max-width: 100%; padding: 22px 22px 24px; }

  .catalog-cta .btn-lg { width: 100%; max-width: 320px; justify-content: center; }
  .cta .btn-lg { width: 100%; max-width: 320px; justify-content: center; padding: 14px 22px 15px; font-size: 0.95rem; }

  .about-visual { grid-template-columns: 1fr 1fr; height: auto; gap: 10px; }
  .about-visual .mini { min-height: 96px; padding: 14px 10px; font-size: 0.9rem; }
  .mini-icon { width: 34px; height: 34px; font-size: 1rem; border-radius: 9px; }

  .marquee-track { gap: 11px; }
  .brand-chip { padding: 10px 18px 11px; font-size: 0.87rem; }

  #faq .grid { grid-template-columns: 1fr; }

  .diff { padding: 22px 20px 24px; }
  .diff-num { font-size: 1.55rem; }

  .cta h2 { font-size: clamp(1.3rem, 5vw, 1.7rem); letter-spacing: -0.018em; }
  .cta p { font-size: 0.91rem; }

  .history-stack .card { padding: 18px; }
  .history-stack .card h3 { font-size: 1.03rem; }
  .history-stack .card p { font-size: 0.9rem; }
}

@media (max-width: 520px) {
  .nav {
    padding: 0 10px 0 4px;
    height: 50px;
    top: 16px;
  }
  body { padding-top: 92px; }
  .brand-logo { height: 70px; max-width: 220px; }
  .nav .brand { transform: translateY(-10px); margin-left: 0; }
  .nav > .nav-toggle { transform: translateY(-10px); }
  .nav > .nav-toggle {
    width: 38px;
    height: 38px;
    gap: 5px;
  }
  .nav-toggle span { width: 16px; }
  /* O X precisa acompanhar o novo espaçamento entre as barras */
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .btn { padding: 10px 16px 11px; font-size: 0.88rem; }
  .hero { padding: 28px 0 24px; }
  .hero-card { padding: 42px 20px 36px; border-radius: 20px; }
  .hero-card .pill { margin-bottom: 16px; }
  h1 { font-size: 1.75rem; line-height: 1.14; letter-spacing: -0.016em; }

  .section { padding: 50px 0 46px; }
  .section-head { margin-bottom: 32px; }

  .float-wa { width: 52px; height: 52px; bottom: 14px; right: 14px; }
  .float-top { width: 38px; height: 38px; bottom: 74px; right: 18px; }

  .brand-chip { padding: 9px 16px 10px; font-size: 0.83rem; }

  .footer { padding: 28px 22px 20px; border-radius: var(--radius); }
  .footer-top { grid-template-columns: 1fr; gap: 24px; padding-bottom: 22px; }
  .footer-base { justify-content: flex-start; font-size: 0.78rem; }

  .catalog-hint { font-size: 0.77rem; }
}

@media (max-width: 1100px) {
  .side-nav { display: none; }
}

/* Ponto em que o auto-fit original já empilhava (2 × 220px + gap não cabiam).
   Mantido para os diferenciais não apertarem em telas estreitas. */
@media (max-width: 480px) {
  .diff-grid { grid-template-columns: 1fr; }
}

/* Movimento reduzido: respeita a preferência do sistema em toda a página */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
