/* ==========================================================================
   Seções — header, hero, sobre, produtos, depoimentos, diferenciais, FAQ,
   contato, footer, WhatsApp flutuante e páginas legais
   ========================================================================== */

/* ---------- 1. Header ---------- */
.hd {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: var(--header-bg); color: #fff;
  transition: box-shadow var(--d-3) var(--ease);
}
.hd.is-scrolled { box-shadow: 0 10px 30px rgba(0, 20, 60, .22); }
.hd-in { display: flex; align-items: center; gap: 24px; height: 100%; }
.hd-logo { display: inline-flex; flex: none; color: #fff; border-radius: 8px; }
.hd-logo .logo { height: 42px; }

.hd-nav { margin-left: auto; display: flex; align-items: center; }
.hd-nav ul { display: flex; gap: 2px; }
.hd-nav li > a {
  position: relative; display: block;
  padding: 8px 12px; border-radius: var(--r-pill);
  color: rgba(255, 255, 255, .82); font-size: .9375rem; font-weight: 500; white-space: nowrap;
  transition: color var(--d-1) var(--ease), background var(--d-1) var(--ease);
}
.hd-nav li > a:hover { color: #fff; background: rgba(255, 255, 255, .09); }
.hd-nav li > a[aria-current] { color: #fff; }
.hd-nav li > a[aria-current]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 1px;
  height: 2px; border-radius: 2px; background: var(--mm-ceu);
}
.hd-nav-foot { display: none; }

.hd-cta { flex: none; font-size: .8125rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.hd-cta .i { width: 18px; height: 18px; color: var(--wa); }
.hd-toggle { display: none; }

@media (max-width: 1080px) {
  .hd-logo .logo { height: 36px; }
  .hd-cta { margin-left: auto; }
  .hd-toggle {
    display: inline-grid; place-items: center; flex: none;
    width: 44px; height: 44px; border: 0; border-radius: 12px;
    background: rgba(255, 255, 255, .1); color: #fff;
    transition: background var(--d-1) var(--ease);
  }
  .hd-toggle:hover { background: rgba(255, 255, 255, .18); }
  .hd-burger { position: relative; width: 20px; height: 14px; }
  .hd-burger i {
    position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
    transition: transform var(--d-2) var(--ease), opacity var(--d-1) var(--ease);
  }
  .hd-burger i:nth-child(1) { top: 0; }
  .hd-burger i:nth-child(2) { top: 6px; }
  .hd-burger i:nth-child(3) { top: 12px; }
  .nav-open .hd-burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .hd-burger i:nth-child(2) { opacity: 0; }
  .nav-open .hd-burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .hd-nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0;
    flex-direction: column; align-items: stretch; justify-content: space-between;
    padding: 16px var(--gutter) calc(28px + env(safe-area-inset-bottom));
    background: var(--header-bg); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity var(--d-2) var(--ease), transform var(--d-2) var(--ease), visibility 0s linear var(--d-2);
  }
  .nav-open .hd-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .hd-nav ul { flex-direction: column; gap: 0; }
  .hd-nav li + li { border-top: 1px solid rgba(255, 255, 255, .1); }
  .hd-nav li > a { padding: 16px 4px; border-radius: 0; color: #fff; font-size: 1.375rem; font-weight: 600; }
  .hd-nav li > a:hover { background: none; color: var(--mm-ceu); }
  .hd-nav li > a[aria-current] { color: var(--mm-ceu); }
  .hd-nav li > a[aria-current]::after {
    left: auto; right: 6px; top: 50%; bottom: auto; width: 10px; height: 10px;
    border-radius: 2px; transform: translateY(-50%) skewX(-22deg);
  }
  .hd-nav-foot { display: grid; gap: 12px; margin-top: 32px; text-align: center; color: rgba(255, 255, 255, .72); font-size: var(--fs-sm); }
  .hd-nav-foot .i { color: var(--wa); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 480px) {
  .hd-in { gap: 10px; }
  .hd-logo .logo { height: 32px; }
  .hd-cta { width: 44px; min-height: 44px; padding: 0; }
  .hd-cta .i { width: 22px; height: 22px; }
  .hd-cta-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- 2. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(48px, 6.5vw, 96px) clamp(72px, 8vw, 120px);
  background: #fff;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-copy h1 { max-width: 14ch; }
.hero-copy .lead { max-width: 540px; }
.hero-copy .btns { margin-top: 4px; }
.hero-seals { width: 100%; margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); }

.hero-art { position: relative; width: 100%; aspect-ratio: 1 / .94; }
.hero-bars { position: absolute; top: 3%; right: -16%; width: 118%; height: auto; overflow: visible; }
.hero-bars .hb1 { fill: #DCE8FF; }
.hero-bars .hb2 { fill: #E8F0FF; }
.hero-bars .hb3 { fill: #F1F6FF; }
.hero-prod { position: absolute; margin: 0; }
.hero-prod img { width: 100%; filter: drop-shadow(0 26px 28px rgba(0, 30, 70, .16)) drop-shadow(0 4px 6px rgba(0, 30, 70, .08)); }
.hero-prod--dc { top: 12%; left: 0; width: 96%; }
.hero-prod--fx { right: -2%; bottom: 7%; width: 54%; }

.pill-float {
  position: absolute; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 14px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-card);
  line-height: 1.25; white-space: nowrap;
}
.pill-float b { display: block; font-size: .9375rem; color: var(--ink); }
.pill-float small { display: block; font-size: .8125rem; color: var(--muted); }
.dot { width: 12px; height: 12px; flex: none; border-radius: 3px; background: var(--b-600); transform: skewX(-22deg); }
.dot[data-brand="fix"] { background: var(--b-900); }
.pill-float--dc { top: -14%; left: 6%; }
.pill-float--fx { bottom: -30%; right: 10%; }

.hero-card {
  position: absolute; left: 2%; bottom: 3%;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-card);
  line-height: 1.25;
}
.hero-card small { display: block; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero-card b { display: block; font-size: 1rem; font-variant-numeric: tabular-nums; color: var(--ink); }

/* Entrada da composição do hero */
.js .hero-prod, .js .pill-float, .js .hero-card { opacity: 0; transform: translateY(18px); animation: hero-in 700ms var(--ease) forwards; }
.js .hero-prod--dc { animation-delay: 250ms; }
.js .hero-prod--fx { animation-delay: 420ms; }
.js .pill-float--dc { animation-delay: 700ms; }
.js .pill-float--fx { animation-delay: 820ms; }
.js .hero-card { animation-delay: 940ms; }
@keyframes hero-in { to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy h1 { max-width: 16ch; }
  .hero-art { max-width: 560px; margin: 24px auto 0; }
}
@media (max-width: 520px) {
  .hero-art { aspect-ratio: 1 / 1.02; }
  .hero-prod--dc { top: 16%; }
  .pill-float { padding: 8px 12px 8px 10px; }
  .pill-float b { font-size: .875rem; }
  .pill-float small { font-size: .75rem; }
  .pill-float--fx { bottom: -34%; right: 4%; }
  .hero-card { display: none; }
  .hero-seals { gap: 12px 20px; }
}

/* ---------- 3. Sobre ---------- */
.about-grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; border-radius: var(--r-xl); }
/* véu da cor profunda da marca (manual: 15–25%) */
.about-media::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--r-xl);
  background: var(--mm-marinho); opacity: .2; mix-blend-mode: multiply; pointer-events: none;
}
.about-badge {
  position: absolute; z-index: 1; right: -28px; bottom: 36px;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px 16px 18px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-card);
  line-height: 1.3;
}
.about-sym { width: 44px; height: auto; flex: none; }
.about-badge b { display: block; font-size: .9375rem; color: var(--ink); }
.about-badge small { display: block; font-size: .8125rem; color: var(--muted); }
.about-copy { display: grid; gap: 20px; justify-items: start; }
.about-copy > p:not(.tag) { max-width: 58ch; color: var(--muted); font-size: 1.0625rem; }
.about-copy .btns { margin-top: 8px; }

.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
  margin-top: clamp(56px, 7vw, 96px);
}
.stat {
  display: grid; gap: 6px; align-content: start;
  padding: 28px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-link);
}
.stat .ic { margin-bottom: 14px; }
.stat-val {
  font-size: clamp(2rem, 1.55rem + 1.2vw, 2.75rem); line-height: 1.05; font-weight: 800;
  letter-spacing: -0.03em; color: var(--b-700); font-variant-numeric: tabular-nums;
}
.stat-lbl { color: var(--muted); font-size: var(--fs-sm); font-weight: 500; line-height: 1.45; }

@media (max-width: 960px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-media { max-width: 560px; }
  .about-badge { right: 16px; bottom: 16px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .stats { gap: 12px; }
  .stat { padding: 20px; }
  .stat .ic { margin-bottom: 8px; }
}

/* ---------- 4/5. Produtos ---------- */
.prod-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.prod-copy { display: grid; gap: 22px; justify-items: start; }
.prod-copy h2 { max-width: 18ch; }
.prod-copy .lead { max-width: 54ch; }

.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; width: 100%; margin-block: 10px 2px; }
.feat { display: grid; gap: 14px; align-content: start; }
.feat h3 { margin-bottom: 4px; font-size: 1.0625rem; color: var(--b-ink); }
.feat p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.55; }

.prod-art { position: relative; width: 100%; }
.prod-stage {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: end center;
  aspect-ratio: 1 / 1.06; border-radius: var(--r-xl);
  background: var(--b-50);
}
.prod--fx .prod-stage { background: #fff; border: 1px solid var(--b-100); }
.prod-stage-logo { position: absolute; z-index: 2; top: 28px; left: 30px; width: auto; height: 30px; }
.prod-photo {
  position: relative; z-index: 1;
  width: auto; max-width: 88%; height: 90%; object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(51, 0, 102, .14));
}
.prod--fx .prod-photo { height: 122%; max-width: none; margin-right: 4%; }
.sec--brand .ic { background: #fff; box-shadow: inset 0 0 0 1px var(--b-100); }
.prod-bars { position: absolute; z-index: 0; left: -6%; bottom: -4%; width: 112%; height: auto; }
.prod-bars use:nth-child(1) { fill: var(--b-100); }
.prod-bars use:nth-child(2) { fill: var(--b-50); }
.prod-bars use:nth-child(3) { fill: var(--b-100); opacity: .7; }

.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px 14px 14px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-card);
  line-height: 1.25;
}
.float-card b { display: block; font-size: .9375rem; color: var(--b-ink); }
.float-card small { display: block; font-size: .8125rem; color: var(--muted); }
.float-card img { width: 76px; height: auto; flex: none; }
.float-card--a { top: 16%; right: -24px; }
.float-card--b { bottom: 12%; left: -24px; }
.prod--fx .float-card--a { top: 22%; right: auto; left: -24px; }
.prod--fx .float-card--b { bottom: 10%; left: auto; right: -24px; }
.prod--dc .float-card--b { flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px 20px; }
.float-num { font-size: 1.875rem !important; line-height: 1; letter-spacing: -.02em; color: var(--b-600) !important; }

.prod .badges { margin-top: 4px; }
.prod .note { max-width: 60ch; }

@media (max-width: 960px) {
  .prod-grid { grid-template-columns: minmax(0, 1fr); }
  .prod-art { max-width: 520px; }
  .prod-grid--rev .prod-art { order: -1; }
  .float-card--a { right: 12px; }
  .float-card--b { left: 12px; }
  .prod--fx .float-card--a { right: auto; left: 12px; }
  .prod--fx .float-card--b { left: auto; right: 12px; }
}
@media (max-width: 560px) {
  .feats { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .feat { grid-template-columns: auto 1fr; gap: 16px; }
  .float-card { padding: 10px 14px 10px 10px; }
  .float-card img { width: 56px; }
  .float-card--a { top: 64px; right: 10px; }
  .float-card--b { bottom: 14px; left: 10px; }
  .prod--fx .float-card--a { top: 64px; left: 10px; }
  .prod--fx .float-card--b { bottom: 14px; right: 10px; }
  .prod--fx .prod-photo { height: 108%; margin-right: 0; }
  .prod-stage-logo { top: 22px; left: 22px; height: 24px; }
}

/* ---------- 6. Depoimentos ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quote {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 32px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-link);
  transition: transform var(--d-2) var(--ease), box-shadow var(--d-2) var(--ease);
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--sh-card); }
.quote-mark { display: block; height: 40px; font-size: 5.5rem; line-height: .9; font-weight: 800; color: var(--b-300); }
.quote-prod {
  position: absolute; top: 28px; right: 28px;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--b-50); border: 1px solid var(--b-100); color: var(--b-700);
  font-size: .75rem; font-weight: 700; letter-spacing: .02em;
}
.quote blockquote { flex: 1; margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); }
.quote-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); line-height: 1.35; }
.avatar {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--b-100); color: var(--b-700); font-weight: 700; font-size: .9375rem;
}
.quote cite { display: block; font-style: normal; font-weight: 700; color: var(--ink); }
.quote-author small { display: block; color: var(--muted); font-size: .875rem; }

@media (max-width: 960px) {
  .quotes {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(84%, 380px);
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 20px;
    scrollbar-width: none;
  }
  .quotes::-webkit-scrollbar { display: none; }
  .quote { scroll-snap-align: start; }
  .quote:hover { transform: none; }
}

/* ---------- 7. Por que a Médica Materials ---------- */
.why { overflow: hidden; }
.why .wrap { position: relative; }
.why-bars {
  position: absolute; top: -26%; right: -22%; width: min(72vw, 940px); height: auto;
  fill: none; stroke: rgba(140, 186, 255, .12); stroke-width: .35; pointer-events: none;
}
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.why-card {
  display: grid; gap: 12px; align-content: start;
  padding: 32px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12);
  transition: background var(--d-2) var(--ease), border-color var(--d-2) var(--ease), transform var(--d-2) var(--ease);
}
.why-card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(140, 186, 255, .42); transform: translateY(-4px); }
.why-card .ic { margin-bottom: 8px; background: rgba(140, 186, 255, .12); color: var(--mm-ceu); }
.why-card h3 { color: #fff; }
.why-card p { color: rgba(255, 255, 255, .74); font-size: var(--fs-sm); line-height: 1.6; }
.why-cta { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }

@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .why-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .why-card { padding: 24px; grid-template-columns: auto 1fr; column-gap: 16px; }
  .why-card .ic { grid-row: span 2; margin: 0; }
  .why-card:hover { transform: none; }
}

/* ---------- 8. FAQ ---------- */
.faq-grid {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.faq-side { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 20px; justify-items: start; }
.faq-help {
  display: grid; gap: 14px; justify-items: start; width: 100%;
  margin-top: 12px; padding: 24px; border-radius: var(--r-lg);
  background: var(--canvas); border: 1px solid var(--line);
}
.faq-help p { color: var(--muted); font-size: var(--fs-sm); }
.faq-help b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 1rem; }

@media (max-width: 960px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-side { position: static; }
}

/* ---------- 9. Contato ---------- */
.contact-grid {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 88px); align-items: start;
}
.contact-side { display: grid; gap: 20px; justify-items: start; }
.wa-card {
  display: flex; align-items: center; gap: 16px; width: 100%;
  margin-top: 12px; padding: 18px 20px; border-radius: var(--r-lg);
  background: var(--wa); color: #fff; box-shadow: var(--sh-btn);
  transition: background var(--d-2) var(--ease), transform var(--d-2) var(--ease);
}
.wa-card:hover { background: var(--wa-hover); transform: translateY(-2px); }
.wa-card-ic { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .16); }
.wa-card-ic .i { width: 28px; height: 28px; }
.wa-card-txt { line-height: 1.35; }
.wa-card-txt b { display: block; font-size: 1.0625rem; }
.wa-card-txt small { display: block; font-size: .875rem; opacity: .9; }
.wa-card-go { width: 22px; height: 22px; margin-left: auto; }

.channels { display: grid; width: 100%; }
.channels li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--n-100); line-height: 1.45; }
.channels li:last-child { border-bottom: 0; }
.channels small { display: block; margin-bottom: 2px; font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--n-500); }
.channels a { font-weight: 600; overflow-wrap: anywhere; transition: color var(--d-1) var(--ease); }
.channels a:hover { color: var(--b-600); }

.contact-card {
  padding: clamp(24px, 4vw, 44px); border-radius: var(--r-xl);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-card);
}
.form-note { font-size: .8125rem; color: var(--n-500); text-align: center; }

@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 10. Footer ---------- */
.ft {
  padding-block: clamp(56px, 7vw, 88px) 32px;
  background: var(--mm-marinho); color: rgba(255, 255, 255, .74);
  font-size: var(--fs-sm);
}
.ft-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: clamp(40px, 6vw, 88px); }
.ft-brand { display: grid; gap: 20px; align-content: start; justify-items: start; }
.ft-brand > a { color: #fff; border-radius: 8px; }
.ft-brand .logo { height: 46px; }
.ft-brand p { max-width: 40ch; line-height: 1.65; }
.ft-social { display: flex; gap: 10px; }
.ft-social a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2); color: #fff;
  transition: background var(--d-1) var(--ease), border-color var(--d-1) var(--ease);
}
.ft-social a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .45); }
.ft-social .i { width: 20px; height: 20px; }

.ft-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(250px, 1.5fr); gap: 32px; }
.ft-contact a { white-space: nowrap; }
.ft-h { margin-bottom: 16px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mm-ceu); }
.ft-cols ul { display: grid; gap: 10px; }
.ft-cols a { color: rgba(255, 255, 255, .84); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color var(--d-1) var(--ease), text-decoration-color var(--d-1) var(--ease); }
.ft-cols a:hover { color: #fff; text-decoration-color: currentColor; }

.ft-seals { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .12); }
.ft-seals li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, .14);
  font-size: .8125rem; color: rgba(255, 255, 255, .8);
}
.ft-seals .i { width: 18px; height: 18px; color: var(--mm-ceu); }
.ft-seals a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 24px; font-size: .8125rem; color: rgba(255, 255, 255, .62); }
.ft-bottom b { color: rgba(255, 255, 255, .88); font-weight: 600; }

@media (max-width: 1080px) { .ft-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .ft-cols > div:last-child { grid-column: 1 / -1; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 55;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 10px 24px rgba(0, 40, 20, .28);
  transition: opacity var(--d-3) var(--ease), transform var(--d-3) var(--ease), background var(--d-1) var(--ease);
}
.wa-float:hover { background: var(--wa-hover); }
.wa-float .i { width: 30px; height: 30px; }
/* Sempre visível em todas as seções; só some com o menu mobile aberto (que tem o próprio botão de WhatsApp) */
.nav-open .wa-float { opacity: 0 !important; pointer-events: none !important; }

/* ---------- Páginas legais ---------- */
.legal-hero { padding-block: clamp(48px, 6vw, 80px); background: var(--tint); }
.legal-hero .wrap { display: grid; gap: 16px; justify-items: start; }
.legal-hero h1 { font-size: clamp(2.25rem, 1.7rem + 2.2vw, 3.25rem); }
.legal-meta { color: var(--muted); font-size: var(--fs-sm); }
.legal-warn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--r-md);
  background: var(--warn-bg); color: var(--warn); font-size: var(--fs-sm); font-weight: 600;
}
.legal-warn .i { width: 20px; height: 20px; }
.legal-grid {
  display: grid; grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px); align-items: start;
  padding-block: clamp(48px, 6vw, 88px);
}
.legal-toc { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 2px; }
.legal-toc p { margin-bottom: 10px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--n-500); }
.legal-toc a {
  display: block; padding: 6px 12px; border-left: 2px solid var(--line);
  color: var(--muted); font-size: var(--fs-sm); line-height: 1.4;
  transition: color var(--d-1) var(--ease), border-color var(--d-1) var(--ease);
}
.legal-toc a:hover { color: var(--b-600); border-color: var(--b-300); }
.legal-body { max-width: 72ch; }
.legal-body h2 { margin: 48px 0 14px; font-size: 1.5rem; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--n-700); line-height: 1.7; }
.legal-body p + p, .legal-body ul + p { margin-top: 12px; }
.legal-body ul { display: grid; gap: 6px; margin-top: 12px; padding-left: 22px; list-style: disc; }
.legal-body a { color: var(--b-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 860px) {
  .legal-grid { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; }
}

/* ==========================================================================
   12. Movimento extra — flutuação, deriva no scroll e micro-interações
   Só transform/opacity (camada de composição). Desligado em telas pequenas,
   com prefers-reduced-motion e no modo ?estatico (base.css).
   ========================================================================== */
@keyframes mm-float    { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes mm-float-sm { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes mm-drift    { from { transform: translateY(24px); } to { transform: translateY(-24px); } }

@media (hover: hover) and (min-width: 961px) {
  /* Cards flutuantes: respiro lento, depois da entrada */
  .js .float-card--a { animation: mm-float 7s var(--ease-inout) 1.2s infinite; }
  .js .float-card--b { animation: mm-float-sm 8s var(--ease-inout) 2s infinite; }
  .js .pill-float--dc { animation: hero-in 700ms var(--ease) 700ms forwards, mm-float 7s var(--ease-inout) 2.2s infinite; }
  .js .pill-float--fx { animation: hero-in 700ms var(--ease) 820ms forwards, mm-float-sm 8s var(--ease-inout) 2.6s infinite; }
  .js .hero-card      { animation: hero-in 700ms var(--ease) 940ms forwards, mm-float-sm 9s var(--ease-inout) 3s infinite; }

  /* Foto do produto: leve aproximação ao passar o mouse pelo palco */
  .prod-photo { transition: transform var(--d-4) var(--ease); }
  .prod-stage:hover .prod-photo { transform: scale(1.03); }
}

/* Deriva das barras decorativas conforme a seção passa pela tela.
   animation-timeline roda fora da thread principal; sem suporte, nada muda. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 961px) {
    .js .hero-bars, .js .prod-bars, .js .why-bars {
      animation: mm-drift linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
  }
}

/* ==========================================================================
   Seção azul institucional (#003399) — páginas de produto e Sobre nós
   ========================================================================== */
.sec--blue { background: var(--header-bg); color: #fff; overflow: hidden; }
.sec--blue h2, .sec--blue h3 { color: #fff; }
.sec--blue .lead { color: rgba(255, 255, 255, .84); }
.sec--blue .seal { color: #fff; }
.sec--blue .seal .i { color: var(--mm-ceu); }
.sec--blue .why-card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.sec--blue .why-card:hover { background: rgba(255, 255, 255, .1); }
.sec--blue .why-card p { color: rgba(255, 255, 255, .82); }
.sec--blue .why-bars { stroke: rgba(140, 186, 255, .18); }
.sec--blue :focus-visible { outline-color: var(--mm-ceu); }
.sec--blue .contact-card :focus-visible { outline-color: var(--b-500); }


/* ---------- Página 404 ---------- */
.nf .wrap { display: grid; gap: 20px; justify-items: center; text-align: center; max-width: 880px; }
.nf h1 { font-size: clamp(2.25rem, 1.7rem + 2.2vw, 3.25rem); }
.nf .lead { max-width: 60ch; }
.nf .btns { justify-content: center; }
.nf-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; margin-top: 28px; padding: 0; list-style: none; text-align: left; }
.nf-links a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 16px; border: 1px solid var(--b-100); border-radius: 16px; color: inherit; text-decoration: none; transition: border-color .2s, background-color .2s; }
.nf-links a:hover { border-color: var(--mm-medio); background: var(--tint); }
.nf-links .ic { flex: none; }
.nf-links b, .nf-links small { display: block; }
.nf-links small { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 760px) { .nf-links { grid-template-columns: minmax(0, 1fr); } }
